]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Add missing __mach_host_self_ symbol in Versions
[thirdparty/glibc.git] / ChangeLog
1 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2
3 * mach/Versions (__mach_host_self_): Add symbol.
4
5 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
6
7 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
8 vm_page_size.
9
10 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11
12 Really fix sysdeps/i386/fpu/s_scalbn.S build
13
14 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15 (libc: GLIBC_2_22): Remove unused version set.
16
17 2015-09-18 Mike Frysinger <vapier@gentoo.org>
18
19 * config.make.in (enable-timezone-tools): New variable.
20 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
21 (enable_timezone_tools): Export to generated files.
22 * configure: Regenerate.
23 * INSTALL: Regenerate.
24 * manual/install.texi (--disable-timezone-tools): Document new flag.
25 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
26 ifeq ($(enable-timezone-tools),yes) check.
27
28 2015-09-18 Joseph Myers <joseph@codesourcery.com>
29
30 * timezone/Makefile: Revert previous change.
31
32 [BZ #18980]
33 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
34 (DEFINE_DBL_MIN): Likewise.
35 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
36 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
37 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
38 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
39 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
40 (dbl_min): Replace with use of DEFINE_DBL_MIN.
41 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
42 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
43 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
44 (dbl_min): Replace with use of DEFINE_DBL_MIN.
45 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
46 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
47 (flt_min): Replace with use of DEFINE_FLT_MIN.
48 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
49 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
50 (dbl_min): Replace with use of DEFINE_DBL_MIN.
51 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
52 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
53 (flt_min): Replace with use of DEFINE_FLT_MIN.
54 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
55 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
56 (flt_min): Replace with use of DEFINE_FLT_MIN.
57 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
58 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
59 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
60 (__ieee754_hypot): Use DBL_NARROW_EVAL.
61 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
62 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
63 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
64 (__ieee754_pow): Use DBL_NARROW_EVAL.
65 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
66 (__ieee754_powf): Use FLT_NARROW_EVAL.
67 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
68 (__ieee754_expf_sse2): Convert double-precision result to single
69 precision.
70 * sysdeps/i386/fpu/libm-test-ulps: Update.
71
72 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
73
74 * timezone/Makefile: Ignore unused variable errors due to private.h
75 (time_t_min) and (time_t_max).
76 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
77 Likewise.
78
79 2015-09-18 Joseph Myers <joseph@codesourcery.com>
80
81 [BZ #18981]
82 * sysdeps/i386/fpu/i386-math-asm.h: New file.
83 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
84 (__ieee754_scalb): Use DBL_NARROW_EVAL.
85 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
86 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
87 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
88 (__scalbn): Use DBL_NARROW_EVAL.
89 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
90 (__scalbnf): Use FLT_NARROW_EVAL.
91
92 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
93
94 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
95 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
96 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
97 * stdio-common/printf_fp.c (___printf_fp):
98 Use signbit to get the sign. Use isinf macro to allow inlining.
99 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
100 * stdio-common/printf_size.c (__printf_size): Likewise.
101
102 2015-09-18 Mike Frysinger <vapier@gentoo.org>
103
104 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
105
106 2015-09-18 Joseph Myers <joseph@codesourcery.com>
107
108 [BZ #18980]
109 * sysdeps/generic/math_private.h: Include <float.h>.
110 (math_narrow_eval): New macro.
111 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
112 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
113 math_narrow_eval on overflowing return value.
114 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
115 Likewise.
116 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
117 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
118 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
119 Likewise.
120 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
121
122 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
123
124 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
125 * math/Makefile: Remove isinf_ns.c.
126 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
127 * math/multc3.c (__multc3): Likewise.
128 * math/s_casin.c (__casin): Likewise.
129 * math/s_casinf.c (__casinf): Likewise.
130 * math/s_casinl.c (__casinl): Likewise.
131 * math/s_cproj.c (__cproj): Likewise.
132 * math/s_cprojf.c (__cprojf): Likewise.
133 * math/s_cprojl.c (__cprofl): Likewise.
134 * math/s_ctan.c (__ctan): Likewise.
135 * math/s_ctanf.c (__ctanf): Likewise.
136 * math/s_ctanh.c (__ctanh): Likewise.
137 * math/s_ctanhf.c (__ctanhf): Likewise.
138 * math/s_ctanhl.c (__ctanhl): Likewise.
139 * math/s_ctanl.c (__ctanl): Likewise.
140 * math/w_fmod.c (__fmod): Likewise.
141 * math/w_fmodf.c (__fmodf): Likewise.
142 * math/w_fmodl.c (_fmodl): Likewise.
143 * math/w_remainder.c (__remainder): Likewise.
144 * math/w_remainderf.c (__remainderf): Likewise.
145 * math/w_remainderl.c (__remainderl): Likewise.
146 * math/w_scalb.c (__scalb): Likewise.
147 * math/w_scalbf.c (__scalbf): Likewise.
148 * math/w_scalbl.c (__scalbl): Likewise.
149 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
150 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
151 with isinf.
152 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
154 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
155 __isinf_nsf with isinf.
156 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
157 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
158 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
159 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
160 with isinf.
161 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
162 __isinf_nsl with isinf.
163 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
164 with isinf.
165 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
166 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
167 __isinf_nsl with isinf.
168 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
169 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
170 with isinf.
171
172 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
173
174 * resolv/base64.c (rcsid): Remove unused static.
175 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
176 static. (tqpi1): Likewise.
177 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
178 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
179 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
180 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
181 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
182 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
183 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
184 * timezone/private.h (time_t_min): Likewise. (time_t_max):
185 Likewise.
186
187 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
188
189 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
190 <nptl/pthreadP.h>.
191 (_longjmp_unwind): Use __libc_ptf_call.
192 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
193
194 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
195
196 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
197 * sysdeps/arm/__longjmp.S: Likewise
198
199 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
200
201 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
202 Use __builtin_signbit.
203 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
204 Use __builtin_signbitf.
205 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
206 Use __builtin_signbitl.
207 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
208 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
209
210 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
211
212 [BZ #15367]
213 [BZ #17441]
214
215 * math/Makefile: Build test-snan.c with -fsignaling-nans.
216 * math/math.h (fpclassify): Use __builtin_fpclassify when
217 available. (signbit): Use __builtin_signbit(f/l).
218 (isfinite): Use__builtin_isfinite. (isnormal): Use
219 __builtin_isnormal. (isnan): Use __builtin_isnan.
220 (isinf): Use __builtin_isinf_sign.
221
222 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
223
224 * benchtests/Makefile: Add bench-math-inlines, link with libm.
225 * benchtests/bench-math-inlines.c: New benchmark.
226 * benchtests/bench-util.h: New file.
227 * benchtests/bench-util.c: New file.
228 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
229
230 2015-09-18 Carlos O'Donell <carlos@redhat.com>
231
232 * elf/tst-dlmopen1.c: Define TEST_SO.
233 (do_test): Use TEST_SO.
234
235 * elf/dl-load.c: Include libc-internal.h.
236 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
237
238 2015-09-18 Vincent Bernat <vincent@bernat.im>
239
240 [BZ #17887]
241 * time/strptime_l.c (__strptime_internal): Make %z accept
242 [+-]HH:MM time zones.
243
244 2015-09-18 Vincent Bernat <vincent@bernat.im>
245
246 [BZ #17886]
247 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
248 valid time zone.
249
250 2015-09-17 Mike Frysinger <vapier@gentoo.org>
251
252 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
253 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
254 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
255 (__ASSUME_FDATASYNC): Delete.
256
257 2015-09-17 Joseph Myers <joseph@codesourcery.com>
258
259 * conform/linknamespace.pl: Require weak undefined symbols to be
260 in the standard namespace.
261 (%strong_syms): Rename to %seen_syms.
262 (%strong_seen): Rename to %seen_where.
263
264 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
265
266 [BZ #18970]
267 * misc/error.c (error): Replace pthread_setcancelstate with
268 __pthread_setcancelstate.
269 (error_at_line): Likewise.
270 * posix/wordexp.c (parse_comm): Likewise.
271 * stdlib/fmtmsg.c (fmtmsg): Likewise.
272 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
273 (__pthread_setcancelstate): This.
274 (pthread_setcancelstate): Add an alias.
275 * nptl/nptl-init.c (pthread_functions): Replace
276 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
277 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
278 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
279 hidden_proto.
280 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
281 it with hidden_def.
282 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
283 (pthread_setcancelstate): Renamed to ...
284 (__pthread_setcancelstate): This.
285 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
286 __libc_ptf_call with __pthread_setcancelstate.
287
288 2015-09-17 Joseph Myers <joseph@codesourcery.com>
289 Andreas Schwab <schwab@suse.de>
290
291 [BZ #17118]
292 * math/s_ctan.c (__ctan): Determine sign of zero real part of
293 result when imaginary part of argument is infinite using sine and
294 cosine.
295 * math/s_ctanf.c (__ctanf): Likewise.
296 * math/s_ctanl.c (__ctanl): Likewise.
297 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
298 of result when real part of argument is infinite using sine and
299 cosine.
300 * math/s_ctanhf.c (__ctanhf): Likewise.
301 * math/s_ctanhl.c (__ctanhl): Likewise.
302 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
303 (ctanh_test_data): Add more tests of ctanh.
304
305 2015-09-17 Joseph Myers <joseph@codesourcery.com>
306
307 [BZ #15384]
308 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
309 bit-mask as in subtraction.
310 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
311 Likewise.
312 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
313 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
314 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
315
316 [BZ #18951]
317 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
318 underflow exception for small results.
319 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
320 Likewise.
321 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
322 Likewise.
323 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
324 Likewise.
325 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
326 Likewise.
327 * math/auto-libm-test-in: Add more tests of tgamma.
328 * math/auto-libm-test-out: Regenerated.
329
330 2015-09-17 Andreas Schwab <schwab@suse.de>
331
332 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
333
334 2015-09-16 Joseph Myers <joseph@codesourcery.com>
335
336 [BZ #18977]
337 * math/bits/mathcalls.h
338 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
339 not declare.
340 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
341 Likewise.
342 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
343 Likewise.
344 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
345 Likewise.
346 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
347 Likewise.
348 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
349 Likewise.
350 * conform/data/math.h-data
351 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
352 function.
353 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
354 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
355 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
356 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
357 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
358 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
359 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
360 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
361 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
362 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
363 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
364
365 [BZ #6803]
366 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
367 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
368 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
369 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
370 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
371 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
372 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
373 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
374 [NO_LONG_DOUBLE] (scalbnl): Likewise.
375 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
376 Likewise.
377 [NO_LONG_DOUBLE] (scalbnl): Likewise.
378 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
380 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
381 long_double_symbol calls.
382 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
383 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
384 strong alias of __ldexpl.
385 (scalbnl): Define using long_double_symbol.
386 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
387 Remove alias.
388 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
389 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
390 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
391 (scalbln_test_data): Add more errno expectations.
392
393 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
394
395 Cache the host port like we cache the task port. This way we do not
396 need to call the kernel just to get the port. Furthermore, we no
397 longer increase the reference count on every invocation of
398 `mach_host_self'.
399
400 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
401 Protect declarations against the macro expansion.
402 * mach/mach_init.c (__mach_host_self_): New variable.
403 (mach_init): Initialize `__mach_host_self_'.
404 * mach/mach_init.h (__mach_host_self_): New declaration.
405 (__mach_host_self, mach_host_self): New macros.
406 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
407 Release reference.
408
409 2015-09-16 Joseph Myers <joseph@codesourcery.com>
410
411 [BZ #4404]
412 * po/de.po: Update from Translation Project.
413
414 [BZ #16415]
415 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
416 (__expm1l): Remove code to handle positive infinity and overflow.
417 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
418 variable.
419 (__expm1l): Remove code to handle positive infinity and overflow.
420
421 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
422 Paul Pluzhnikov <ppluzhnikov@google.com>
423
424 [BZ #18872]
425 * stdio-common/Makefile (tst-printf-bz18872): New test.
426 (tst-printf-bz18872-mem.out): Likewise.
427 * stdio-common/tst-printf-bz18872.sh: Generate new test.
428 * stdio-common/vfprintf.c: Fix memory leaks.
429
430 2015-09-16 Andreas Schwab <schwab@suse.de>
431
432 [BZ #17244]
433 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
434 Remove extra va_start/va_end calls.
435
436 [BZ #17243]
437 * posix/execl.c (execl): Add missing va_end.
438 * posix/execle.c (execle): Likewise.
439 * posix/execlp.c (execlp): Likewise.
440
441 2015-09-15 Roland McGrath <roland@hack.frob.com>
442
443 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
444 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
445
446 2015-09-15 Joseph Myers <joseph@codesourcery.com>
447
448 [BZ #18967]
449 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
450 undefine around includes of <bits/mathcalls.h>.
451 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
452 not declare function.
453 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
454 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
455 (scalb): Likewise.
456 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
457 not define macro.
458 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
459 variable.
460 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
461 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
462 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
463
464 [BZ #18857]
465 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
466 return non-finite argument without doing ordered comparisons on
467 it.
468
469 [BZ #16296]
470 * math/fenv.h (fegetround): Use __attribute_pure__.
471 * include/fenv.h (__fegetround): Likewise.
472
473 [BZ #18595]
474 * math/s_ctan.c (__ctan): Force underflow exception for results
475 whose real or imaginary part has small absolute value.
476 * math/s_ctanf.c (__ctanf): Likewise.
477 * math/s_ctanh.c (__ctanh): Likewise.
478 * math/s_ctanhf.c (__ctanhf): Likewise.
479 * math/s_ctanhl.c (__ctanhl): Likewise.
480 * math/s_ctanl.c (__ctanl): Likewise.
481 * math/auto-libm-test-in: Do not allow missing underflow for ctan
482 and ctanh. Add more tests of ctan and ctanh.
483
484 [BZ #15918]
485 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
486 handling of cases where one argument is an infinity.
487
488 [BZ #18875]
489 [BZ #18966]
490 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
491 (MO): New macro.
492 (__ieee754_exp10): For small results, force underflow exception
493 and remove excess range and precision from return value.
494 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
495 (MO): New macro.
496 (__ieee754_exp10f): For small results, force underflow exception
497 and remove excess range and precision from return value.
498 * math/auto-libm-test-in: Add more tests of exp10.
499 * math/auto-libm-test-out: Regenerated.
500
501 2015-09-14 Joseph Myers <joseph@codesourcery.com>
502
503 [BZ #18875]
504 [BZ #18961]
505 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
506 (MO): New macro.
507 (__ieee754_exp): For small results, force underflow exception and
508 remove excess range and precision from return value.
509 (__exp_finite): Likewise.
510 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
511 (MO): New macro.
512 (__ieee754_expf): For small results, force underflow exception and
513 remove excess range and precision from return value.
514 (__expf_finite): Likewise.
515 * math/auto-libm-test-in: Add more tests of exp.
516 * math/auto-libm-test-out: Regenerated.
517
518 [BZ #16521]
519 [BZ #18875]
520 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
521 small results.
522 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
523 (MO): New macro.
524 (__ieee754_exp2): For small results, force underflow exception and
525 remove excess range and precision from return value.
526 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
527 (MO): New macro.
528 (__ieee754_exp2f): For small results, force underflow exception
529 and remove excess range and precision from return value.
530 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
531 (MO): New macro.
532 (__ieee754_exp2l): Force underflow exception for small results.
533 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
534 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
535 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
536 (MO): New macro.
537 (__ieee754_exp2l): Force underflow exception for small results.
538 * math/auto-libm-test-in: Add more tests or exp2.
539 * math/auto-libm-test-out: Regenerated.
540
541 2015-09-14 Carlos O'Donell <carlos@redhat.com>
542
543 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
544
545 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
546 /dev/null.
547
548 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
549
550 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
551 io fs process)): Drop spurious backslash.
552
553 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
554
555 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
556 Use sysinfo system call instead of parsing /proc/meminfo.
557 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
558 Likewise.
559
560 2015-09-11 Mike Frysinger <vapier@gentoo.org>
561
562 [BZ #16985]
563 * programs/localedef.c (main): Display argv[remaining] when
564 output_path is NULL.
565
566 2015-09-11 Joseph Myers <joseph@codesourcery.com>
567
568 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
569 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
570 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
571 tanh.
572 * math/auto-libm-test-out: Regenerated.
573 * sysdeps/i386/fpu/libm-test-ulps: Update.
574 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
575 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
577
578 2015-09-11 Roland McGrath <roland@hack.frob.com>
579
580 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
581 Use 'override' keyword to freeze the value here, preventing
582 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
583
584 2015-09-11 Joseph Myers <joseph@codesourcery.com>
585
586 [BZ #14912]
587 * sysdeps/aarch64/bits/atomic.h: Move to ...
588 * sysdeps/aarch64/atomic-machine.h: ...here.
589 (_AARCH64_BITS_ATOMIC_H): Rename macro to
590 _AARCH64_ATOMIC_MACHINE_H.
591 * sysdeps/alpha/bits/atomic.h: Move to ...
592 * sysdeps/alpha/atomic-machine.h: ...here.
593 * sysdeps/arm/bits/atomic.h: Move to ...
594 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
595 * bits/atomic.h: Move to ...
596 * sysdeps/generic/atomic-machine.h: ...here.
597 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
598 * sysdeps/i386/bits/atomic.h: Move to ...
599 * sysdeps/i386/atomic-machine.h: ...here.
600 * sysdeps/ia64/bits/atomic.h: Move to ...
601 * sysdeps/ia64/atomic-machine.h: ...here.
602 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
603 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
604 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
605 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
606 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
607 * sysdeps/microblaze/bits/atomic.h: Move to ...
608 * sysdeps/microblaze/atomic-machine.h: ...here.
609 * sysdeps/mips/bits/atomic.h: Move to ...
610 * sysdeps/mips/atomic-machine.h: ...here.
611 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
612 * sysdeps/powerpc/bits/atomic.h: Move to ...
613 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
614 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
615 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
616 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
617 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
618 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
619 <atomic-machine.h> instead of <bits/atomic.h>.
620 * sysdeps/s390/bits/atomic.h: Move to ...
621 * sysdeps/s390/atomic-machine.h: ...here.
622 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
623 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
624 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
625 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
626 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
627 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
628 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
629 * sysdeps/tile/bits/atomic.h: Move to ...
630 * sysdeps/tile/atomic-machine.h: ...here.
631 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
632 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
633 <sysdeps/tile/atomic-machine.h> instead of
634 <sysdeps/tile/bits/atomic.h>.
635 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
636 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
637 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
638 <sysdeps/tile/atomic-machine.h> instead of
639 <sysdeps/tile/bits/atomic.h>.
640 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
641 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
642 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
643 <sysdeps/arm/atomic-machine.h> instead of
644 <sysdeps/arm/bits/atomic.h>.
645 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
646 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
647 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
648 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
649 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
650 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
651 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
652 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
653 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
654 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
655 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
656 * sysdeps/x86_64/bits/atomic.h: Move to ...
657 * sysdeps/x86_64/atomic-machine.h: ...here.
658 * include/atomic.h: Include <atomic-machine.h> instead of
659 <bits/atomic.h>.
660
661 * sysdeps/mips/mips32/libm-test-ulps: Update.
662 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
663
664 [BZ #18952]
665 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
666 not convert non-integer negative arguments to int to determine the
667 value of signgam.
668 * math/auto-libm-test-in: Add more tests of lgamma.
669 * math/auto-libm-test-out: Regenerated.
670
671 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
672 cosh, csqrt, erfc, expm1 and lgamma.
673 * math/auto-libm-test-out: Regenerated.
674 * sysdeps/i386/fpu/libm-test-ulps: Update.
675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
676
677 2015-09-10 Joseph Myers <joseph@codesourcery.com>
678
679 [BZ #2542]
680 [BZ #2543]
681 [BZ #2558]
682 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
683 __lgamma_neg for arguments from -28.0 to -2.0.
684 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
685 __lgamma_negf for arguments from -15.0 to -2.0.
686 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
687 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
688 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
689 Call __lgamma_negl for arguments from -33.0 to -2.0.
690 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
691 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
692 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
693 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
694 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
695 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
696 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
697 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
698 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
699 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
700 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
701 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
702 (__lgamma_neg): Likewise.
703 (__lgamma_negl): Likewise.
704 (__lgamma_product): Likewise.
705 (__lgamma_productl): Likewise.
706 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
707 * math/auto-libm-test-in: Add more tests of lgamma.
708 * math/auto-libm-test-out: Regenerated.
709 * sysdeps/i386/fpu/libm-test-ulps: Update.
710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
711
712 2015-09-09 Justin Maggard <jmaggard@netgear.com>
713
714 [BZ #18675]
715 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
716
717 2015-09-08 Joseph Myers <joseph@codesourcery.com>
718
719 [BZ #14912]
720 * bits/libc-lock.h: Move to ...
721 * sysdeps/generic/libc-lock.h: ...here.
722 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
723 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
724 * sysdeps/mach/hurd/libc-lock.h: ...here.
725 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
726 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
727 * sysdeps/mach/bits/libc-lock.h: Move to ...
728 * sysdeps/mach/libc-lock.h: ...here.
729 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
730 * sysdeps/nptl/bits/libc-lock.h: Move to ...
731 * sysdeps/nptl/libc-lock.h: ...here.
732 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
733 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
734 * sysdeps/nptl/libc-lockP.h: ...here.
735 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
736 * crypt/crypt_util.c: Include <libc-lock.h> instead of
737 <bits/libc-lock.h>.
738 * dirent/scandir-tail.c: Likewise.
739 * dlfcn/dlerror.c: Likewise.
740 * elf/dl-close.c: Likewise.
741 * elf/dl-iteratephdr.c: Likewise.
742 * elf/dl-lookup.c: Likewise.
743 * elf/dl-open.c: Likewise.
744 * elf/dl-support.c: Likewise.
745 * elf/dl-writev.h: Likewise.
746 * elf/rtld.c: Likewise.
747 * grp/fgetgrent.c: Likewise.
748 * gshadow/fgetsgent.c: Likewise.
749 * gshadow/sgetsgent.c: Likewise.
750 * iconv/gconv_conf.c: Likewise.
751 * iconv/gconv_db.c: Likewise.
752 * iconv/gconv_dl.c: Likewise.
753 * iconv/gconv_int.h: Likewise.
754 * iconv/gconv_trans.c: Likewise.
755 * include/link.h: Likewise.
756 * inet/getnameinfo.c: Likewise.
757 * inet/getnetgrent.c: Likewise.
758 * inet/getnetgrent_r.c: Likewise.
759 * intl/bindtextdom.c: Likewise.
760 * intl/dcigettext.c: Likewise.
761 * intl/finddomain.c: Likewise.
762 * intl/gettextP.h: Likewise.
763 * intl/loadmsgcat.c: Likewise.
764 * intl/localealias.c: Likewise.
765 * intl/textdomain.c: Likewise.
766 * libidn/idn-stub.c: Likewise.
767 * libio/libioP.h: Likewise.
768 * locale/duplocale.c: Likewise.
769 * locale/freelocale.c: Likewise.
770 * locale/newlocale.c: Likewise.
771 * locale/setlocale.c: Likewise.
772 * login/getutent_r.c: Likewise.
773 * login/getutid_r.c: Likewise.
774 * login/getutline_r.c: Likewise.
775 * login/utmp-private.h: Likewise.
776 * login/utmpname.c: Likewise.
777 * malloc/mtrace.c: Likewise.
778 * misc/efgcvt.c: Likewise.
779 * misc/error.c: Likewise.
780 * misc/fstab.c: Likewise.
781 * misc/getpass.c: Likewise.
782 * misc/mntent.c: Likewise.
783 * misc/syslog.c: Likewise.
784 * nis/nis_call.c: Likewise.
785 * nis/nis_callback.c: Likewise.
786 * nis/nss-default.c: Likewise.
787 * nis/nss_compat/compat-grp.c: Likewise.
788 * nis/nss_compat/compat-initgroups.c: Likewise.
789 * nis/nss_compat/compat-pwd.c: Likewise.
790 * nis/nss_compat/compat-spwd.c: Likewise.
791 * nis/nss_nis/nis-alias.c: Likewise.
792 * nis/nss_nis/nis-ethers.c: Likewise.
793 * nis/nss_nis/nis-grp.c: Likewise.
794 * nis/nss_nis/nis-hosts.c: Likewise.
795 * nis/nss_nis/nis-network.c: Likewise.
796 * nis/nss_nis/nis-proto.c: Likewise.
797 * nis/nss_nis/nis-pwd.c: Likewise.
798 * nis/nss_nis/nis-rpc.c: Likewise.
799 * nis/nss_nis/nis-service.c: Likewise.
800 * nis/nss_nis/nis-spwd.c: Likewise.
801 * nis/nss_nisplus/nisplus-alias.c: Likewise.
802 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
803 * nis/nss_nisplus/nisplus-grp.c: Likewise.
804 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
805 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
806 * nis/nss_nisplus/nisplus-network.c: Likewise.
807 * nis/nss_nisplus/nisplus-proto.c: Likewise.
808 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
809 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
810 * nis/nss_nisplus/nisplus-service.c: Likewise.
811 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
812 * nis/ypclnt.c: Likewise.
813 * nptl/libc_pthread_init.c: Likewise.
814 * nss/getXXbyYY.c: Likewise.
815 * nss/getXXent.c: Likewise.
816 * nss/getXXent_r.c: Likewise.
817 * nss/nss_db/db-XXX.c: Likewise.
818 * nss/nss_db/db-netgrp.c: Likewise.
819 * nss/nss_db/nss_db.h: Likewise.
820 * nss/nss_files/files-XXX.c: Likewise.
821 * nss/nss_files/files-alias.c: Likewise.
822 * nss/nsswitch.c: Likewise.
823 * posix/regex_internal.h: Likewise.
824 * posix/wordexp.c: Likewise.
825 * pwd/fgetpwent.c: Likewise.
826 * resolv/res_hconf.c: Likewise.
827 * resolv/res_libc.c: Likewise.
828 * shadow/fgetspent.c: Likewise.
829 * shadow/lckpwdf.c: Likewise.
830 * shadow/sgetspent.c: Likewise.
831 * socket/opensock.c: Likewise.
832 * stdio-common/reg-modifier.c: Likewise.
833 * stdio-common/reg-printf.c: Likewise.
834 * stdio-common/reg-type.c: Likewise.
835 * stdio-common/vfprintf.c: Likewise.
836 * stdio-common/vfscanf.c: Likewise.
837 * stdlib/abort.c: Likewise.
838 * stdlib/cxa_atexit.c: Likewise.
839 * stdlib/fmtmsg.c: Likewise.
840 * stdlib/random.c: Likewise.
841 * stdlib/setenv.c: Likewise.
842 * string/strsignal.c: Likewise.
843 * sunrpc/auth_none.c: Likewise.
844 * sunrpc/bindrsvprt.c: Likewise.
845 * sunrpc/create_xid.c: Likewise.
846 * sunrpc/key_call.c: Likewise.
847 * sunrpc/rpc_thread.c: Likewise.
848 * sysdeps/arm/backtrace.c: Likewise.
849 * sysdeps/generic/ldsodefs.h: Likewise.
850 * sysdeps/generic/stdio-lock.h: Likewise.
851 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
852 * sysdeps/i386/backtrace.c: Likewise.
853 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
854 * sysdeps/m68k/backtrace.c: Likewise.
855 * sysdeps/mach/hurd/cthreads.c: Likewise.
856 * sysdeps/mach/hurd/dirstream.h: Likewise.
857 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
858 * sysdeps/nptl/malloc-machine.h: Likewise.
859 * sysdeps/nptl/stdio-lock.h: Likewise.
860 * sysdeps/posix/dirstream.h: Likewise.
861 * sysdeps/posix/getaddrinfo.c: Likewise.
862 * sysdeps/posix/system.c: Likewise.
863 * sysdeps/pthread/aio_suspend.c: Likewise.
864 * sysdeps/s390/s390-32/backtrace.c: Likewise.
865 * sysdeps/s390/s390-64/backtrace.c: Likewise.
866 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
867 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
868 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
869 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
870 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
871 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
872 * sysdeps/unix/sysv/linux/system.c: Likewise.
873 * sysdeps/x86_64/backtrace.c: Likewise.
874 * time/alt_digit.c: Likewise.
875 * time/era.c: Likewise.
876 * time/tzset.c: Likewise.
877 * wcsmbs/wcsmbsload.c: Likewise.
878 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
879 instead of <bits/libc-lock.h> in comment.
880
881 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
882
883 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
884 Only use .set mips2 if the current ISA is below mips2.
885 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
886 Likewise.
887 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
888 mips32r2 if the current ISA is below mips32r2.
889 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
890 (TLS_IE): Updated to use the TLD_RDHWR macro.
891 (TLS_LE): Likewise.
892 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
893 __ASSEMBLER__ condition.
894
895 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
896
897 Fix parallel build of before-compile targets.
898
899 * sysdeps/mach/Makefile ($(patsubst
900 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
901 mach-before-compile target.
902 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
903 io fs process)): Move rule to dedicated hurd-before-compile target.
904
905 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
906
907 Fix rules generating headers in hurd/ and mach/ when initial make call
908 has subdir= explicitly set.
909
910 * sysdeps/mach/Makefile ($(patsubst
911 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
912 calling $(MAKE).
913 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
914 io fs process)): Force subdir to hurd when calling $(MAKE).
915 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
916 subdir to mach when calling $(MAKE).
917
918 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
919
920 Check sysheaders when looking for Mach and Hurd headers
921
922 * sysdeps/mach/configure.ac: Add sysheaders check.
923 * sysdeps/mach/configure: Regenerate.
924 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
925 * sysdeps/mach/hurd/configure: Regenerate.
926
927 2015-09-04 Roland McGrath <roland@hack.frob.com>
928
929 [BZ #18921]
930 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
931 Fix inverted sense of test of 'o_directory_works' value.
932 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
933 Bernhard Voelker <mail@bernhard-voelker.de>.
934
935 2015-09-04 Joseph Myers <joseph@codesourcery.com>
936
937 [BZ #14912]
938 * bits/linkmap.h: Move to ...
939 * sysdeps/generic/linkmap.h: ...here.
940 * sysdeps/aarch64/bits/linkmap.h: Move to ...
941 * sysdeps/aarch64/linkmap.h: ...here.
942 * sysdeps/arm/bits/linkmap.h: Move to ...
943 * sysdeps/arm/linkmap.h: ...here.
944 * sysdeps/hppa/bits/linkmap.h: Move to ...
945 * sysdeps/hppa/linkmap.h: ...here.
946 * sysdeps/ia64/bits/linkmap.h: Move to ...
947 * sysdeps/ia64/linkmap.h: ...here.
948 * sysdeps/mips/bits/linkmap.h: Move to ...
949 * sysdeps/mips/linkmap.h: ...here.
950 * sysdeps/s390/bits/linkmap.h: Move to ...
951 * sysdeps/s390/linkmap.h: ...here.
952 * sysdeps/sh/bits/linkmap.h: Move to ...
953 * sysdeps/sh/linkmap.h: ...here.
954 * sysdeps/x86/bits/linkmap.h: Move to ...
955 * sysdeps/x86/linkmap.h: ...here.
956 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
957
958 2015-09-04 Andreas Schwab <schwab@suse.de>
959
960 [BZ #18635]
961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
962 (__makecontext): Terminate FDE before return label.
963 (__novec_makecontext): Likewise.
964
965 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
966
967 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
968 first member of struct sv in syscall macro.
969
970 2015-09-04 Joseph Myers <joseph@codesourcery.com>
971
972 [BZ #14912]
973 * bits/stdio-lock.h: Move to ...
974 * sysdeps/generic/stdio-lock.h: ...here.
975 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
976 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
977 * sysdeps/nptl/stdio-lock.h: ...here.
978 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
979 * include/libio.h: Include <stdio-lock.h> instead of
980 <bits/stdio-lock.h>.
981 * sysdeps/nptl/fork.c: Likewise.
982 * sysdeps/pthread/flockfile.c: Likewise.
983 * sysdeps/pthread/ftrylockfile.c: Likewise.
984 * sysdeps/pthread/funlockfile.c: Likewise.
985
986 [BZ #14912]
987 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
988 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
989 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
990 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
991 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
992 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
993 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
994
995 2015-09-03 Roland McGrath <roland@hack.frob.com>
996
997 * elf/Makefile (test-xfail-tst-protected1a): New variable.
998 (test-xfail-tst-protected1b): New variable.
999
1000 2015-09-03 Joseph Myers <joseph@codesourcery.com>
1001
1002 [BZ #14912]
1003 * bits/libc-tsd.h: Move to ...
1004 * sysdeps/generic/libc-tsd.h: ...here.
1005 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1006 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1007 * sysdeps/mach/hurd/libc-tsd.h: ...here.
1008 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1009 * include/ctype.h: Include <libc-tsd.h> instead of
1010 <bits/libc-tsd.h>.
1011 * include/rpc/rpc.h: Likewise.
1012 * locale/localeinfo.h: Likewise.
1013 * sunrpc/rpc_thread.c: Likewise.
1014 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1015 * sysdeps/nptl/malloc-machine.h: Likewise.
1016
1017 * Makefile (headers): Remove bits/libc-lock.h.
1018 * libio/Makefile (headers): Remove bits/stdio-lock.h.
1019
1020 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1021 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1022 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1023 <bits/stdio-lock.h>.
1024 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1025 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1026
1027 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1028
1029 [BZ #18757]
1030 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1031 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1032 BZ #18757.
1033
1034 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1035
1036 * malloc/mtrace.pl: Filter out NULL entries.
1037
1038 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1039
1040 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1041 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1042 macro.
1043
1044 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1045 (TCP_CC_INFO): Likewise.
1046 (TCP_SAVE_SYN): Likewise.
1047 (TCP_SAVED_SYN): Likewise.
1048
1049 2015-08-31 Brett Neumeier <brett@neumeier.us>
1050
1051 [BZ #18870]
1052 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1053
1054 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1055
1056 [BZ #18873]
1057 Fix broken overflow check in posix_fallocate
1058 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1059 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1060 Fix parenthesization typo.
1061
1062 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1063
1064 [BZ #18887]
1065 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1066 tst-mntent-blank-passno.
1067 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1068 * misc/tst-mntent-blank-corrupt.c: New test.
1069 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1070 * misc/tst-mntent.c (do_test): ... here.
1071
1072 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1073
1074 [BZ #4404]
1075 * po/de.po: Fix SIGALRM typo.
1076
1077 2015-08-28 James Perkins <james@loowit.net>
1078
1079 * time/tst-strptime2.c (tests): Replace short list of test
1080 strings for strptime %z specifier with code which exhaustively
1081 tests every combination of sign and 0 to 5 digits. Tests for
1082 rejection of invalid strings.
1083
1084 2015-08-28 James Perkins <james@loowit.net>
1085
1086 [BZ #16141]
1087 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1088 calculation, removing incorrect decimal time rounding, so that
1089 all minute values result in a valid seconds value.
1090 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1091 offset range limits to UTC-99:59 through UTC+99:59 to parse
1092 current and historical use cases.
1093 * time/tst-strptime2.c (tests): Modify and add tests for the
1094 strptime %z input field descriptor, specifically conversion of
1095 minutes to seconds and validating an offset range of -9959 to
1096 +9959.
1097
1098 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1099 Dmitry V. Levin <ldv@altlinux.org>
1100
1101 [BZ #18877]
1102 * posix/Makefile (tests): Add tst-mmap-offset.
1103 * posix/tst-mmap.c: New file.
1104 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1105 offset calculation for negative values.
1106
1107 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1108
1109 * sysdeps/i386/init-arch.h: New file.
1110 * sysdeps/i386/i586/init-arch.h: Likewise.
1111 * sysdeps/i386/i686/init-arch.h: Likewise.
1112 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1113 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1114 * sysdeps/x86/cpu-features.h (bit_I586): New.
1115 (bit_I686): Likewise.
1116 (bit_CX8): Likewise.
1117 (bit_CMOV): Likewise.
1118 (index_CX8): Likewise.
1119 (index_CMOV): Likewise.
1120 (index_I586): Likewise.
1121 (index_I686): Likewise.
1122 (reg_CX8): Likewise.
1123 (reg_CMOV): Likewise.
1124 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1125 available at compile-time.
1126 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1127 available at compile-time.
1128 * sysdeps/x86/init-arch.h (USE_I586): New macro.
1129 (USE_I686): Likewise.
1130
1131 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1132
1133 * sysdeps/i386/bcopy.S: New file.
1134 * sysdeps/i386/bzero.S: Likewise.
1135 * sysdeps/i386/memcpy.S: Likewise.
1136 * sysdeps/i386/memmove.S: Likewise.
1137 * sysdeps/i386/mempcpy.S: Likewise.
1138 * sysdeps/i386/memset.S: Likewise.
1139 * sysdeps/i386/bzero.c: Removed.
1140 * sysdeps/i386/memset.c: Likewise.
1141 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1142 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1143 * sysdeps/i386/i586/memset_chk.S: Likewise.
1144 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1145 * sysdeps/i386/memcpy_chk.S: Here.
1146 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1147 * sysdeps/i386/memmove_chk.S: Here.
1148 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1149 * sysdeps/i386/mempcpy_chk.S: Likewise.
1150 * sysdeps/i386/i686/memset_chk.S: Moved to ...
1151 * sysdeps/i386/memset_chk.S: Likewise.
1152
1153 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
1154
1155 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1156 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1157 file, move DIAG_POP_NEEDS_COMMENT to end of file.
1158 * soft-fp/fmadf4.c: Ditto.
1159 * soft-fp/fmatf4.c: Ditto.
1160
1161 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1162
1163 * sysdeps/i386/i586/Implies: Removed.
1164 * sysdeps/i386/i686/Implies: Likewise.
1165
1166 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1167
1168 * sysdeps/i386/i486/strlen.S: Moved to ...
1169 * sysdeps/i386/strlen.S: Here.
1170
1171 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1172
1173 * sysdeps/i386/i486/strcat.S: Moved to ...
1174 * sysdeps/i386/strcat.S: Here.
1175
1176 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1177
1178 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1179 * sysdeps/i386/pthread_spin_trylock.S: Here.
1180 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1181 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1182
1183 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1184
1185 * sysdeps/i386/i486/string-inlines.c: Moved to ...
1186 * sysdeps/i386/string-inlines.c: Here.
1187
1188 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1189
1190 * sysdeps/i386/i486/htonl.S: Moved ...
1191 * sysdeps/i386/htonl.S: here.
1192
1193 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1196 * sysdeps/i386/bits/atomic.h: Here.
1197
1198 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1199
1200 * sysdeps/i386/i486/Versions: Removed.
1201
1202 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1203
1204 [BZ #2898]
1205 * misc/mktemp.c: Add mkdtemp to the link_warning message.
1206 Based on patch by Aurelien Jarno.
1207
1208 2015-08-26 Stan Shebs <stanshebs@google.com>
1209
1210 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1211 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1212
1213 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1214
1215 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1216 * sysdeps/powerpc/dl-procinfo.c:
1217 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1218 feature so it shows when LD_SHOW_AUXV=1.
1219
1220 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1221
1222 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1223 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1224 definition. ISA 2.07B no longer requires full sync.
1225
1226 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1227
1228 [BZ #18863]
1229 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1230 (si_call_addr): Define.
1231 (si_syscall): Define.
1232 (si_arch): Define.
1233
1234 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1235
1236 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1237 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1238 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1239 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1240 (__memset_zero_constant_len_parameter): New.
1241 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1242 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1243 (__memset_zero_constant_len_parameter): Don't define if
1244 __memset_chk or USE_AS_BZERO are defined.
1245
1246 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1247 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1248 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1249
1250 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1251 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1252 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1253 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1254 comments.
1255 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1256 -mno-mmx for $(all-rtld-routines).
1257 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1258 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1259 i386.
1260
1261 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1262
1263 * sysdeps/generic/unwind.h
1264 (_Unwind_Word): Use __mode__(__unwind_word__)
1265 instead of __mode__(__word__).
1266 (_Unwind_Sword): Likewise.
1267
1268 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1269 (MAX_NEEDED_INPUT): New define.
1270 (MAX_NEEDED_OUTPUT): New define.
1271
1272 * NEWS: New item for IBM z13 string optimizations.
1273
1274 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1275 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1276 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1277 * sysdeps/s390/multiarch/Makefile
1278 (sysdep_routines): Add memrchr functions.
1279 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1280 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1281
1282 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1283 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1284 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1285 * sysdeps/s390/multiarch/Makefile
1286 (sysdep_routines): Add wmemcmp functions.
1287 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1288 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1289 * benchtests/bench-wmemcmp.c: New File.
1290 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1291
1292 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1293 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1294 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1295 * sysdeps/s390/multiarch/Makefile
1296 (sysdep_routines): Add wmemset functions.
1297 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1298 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1299 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1300 * string/test-memset.c: Add wmemset support.
1301 * wcsmbs/test-wmemset.c: New File.
1302 * wcsmbs/Makefile (strop-tests): Add wmemset.
1303 * benchtests/bench-memset.c: Add wmemset support.
1304 * benchtests/bench-wmemset.c: New File.
1305 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1306
1307 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1308 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1309 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1310 * sysdeps/s390/multiarch/Makefile
1311 (sysdep_routines): Add memccpy functions.
1312 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1313 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1314 * string/memccpy.c: Use MEMCCPY if defined.
1315
1316 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1317 * sysdeps/s390/multiarch/memchr.c: Likewise.
1318 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1319 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1320 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1321 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1322 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1323 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1324 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1325 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1326 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1327 and rawmemchr functions.
1328 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1329 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1330 and wmemchr.
1331 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1332 * string/test-memchr.c: Add wmemchr support.
1333 * wcsmbs/test-wmemchr.c: New File.
1334 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1335 * benchtests/bench-memchr.c: Add wmemchr support.
1336 * benchtests/bench-wmemchr.c: New File.
1337 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1338
1339 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1340 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1341 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1342 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1343 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1344 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1345 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1346 wcscspn functions.
1347 * sysdeps/s390/multiarch/ifunc-impl-list.c
1348 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1349 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1350 * string/test-strcspn.c: Add wcscspn support.
1351 * wcsmbs/test-wcscspn.c: New File.
1352 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1353 * benchtests/bench-strcspn.c: Add wcscspn support.
1354 * benchtests/bench-wcscspn.c: New File.
1355 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1356
1357 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1358 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1359 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1360 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1361 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1362 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1363 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1364 wcspbrk functions.
1365 * sysdeps/s390/multiarch/ifunc-impl-list.c
1366 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1367 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1368 * string/test-strpbrk.c: Add wcspbrk support.
1369 * wcsmbs/test-wcspbrk.c: New File.
1370 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1371 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1372 * benchtests/bench-wcspbrk.c: New File.
1373 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1374
1375 * sysdeps/s390/multiarch/strspn-c.c: New File.
1376 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1377 * sysdeps/s390/multiarch/strspn.c: Likewise.
1378 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1379 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1380 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1381 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1382 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1383 wcsspn functions.
1384 * sysdeps/s390/multiarch/ifunc-impl-list.c
1385 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1386 * string/test-strspn.c: Add wcsspn support.
1387 * wcsmbs/test-wcsspn.c: New File.
1388 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1389 * benchtests/bench-strspn.c: Add wcsspn support.
1390 * benchtests/bench-wcsspn.c: New File.
1391 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1392
1393 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1394 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1395 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1396 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1397 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1398 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1399 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1400 wcsrchr functions.
1401 * sysdeps/s390/multiarch/ifunc-impl-list.c
1402 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1403 * benchtests/bench-wcsrchr.c: New File.
1404 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1405
1406 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1407 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1408 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1409 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1410 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1411 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1412 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1413 wcschrnul functions.
1414 * sysdeps/s390/multiarch/ifunc-impl-list.c
1415 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1416 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1417 * string/test-strchr.c: Add wcschrnul support.
1418 * wcsmbs/test-wcschrnul.c: New File.
1419 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1420 * benchtests/bench-strchr.c: Add wcschrnul support.
1421 * benchtests/bench-wcschrnul.c: New File.
1422 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1423
1424 * sysdeps/s390/multiarch/strchr-c.c: New File.
1425 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1426 * sysdeps/s390/multiarch/strchr.c: Likewise.
1427 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1428 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1429 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1430 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1431 wcschr functions.
1432 * sysdeps/s390/multiarch/ifunc-impl-list.c
1433 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1434 * string/strchr.c (STRCHR): Define and use macro.
1435 * benchtests/bench-wcschr.c: New File.
1436 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1437
1438 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1439 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1440 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1441 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1442 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1443 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1444 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1445 wcsncmp functions.
1446 * sysdeps/s390/multiarch/ifunc-impl-list.c
1447 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1448 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1449 * benchtests/bench-strncmp.c: Add wcsncmp support.
1450 * benchtests/bench-wcsncmp.c: New File.
1451 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1452
1453 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1454 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1455 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1456 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1457 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1458 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1459 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1460 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1461 wcscmp functions.
1462 * sysdeps/s390/multiarch/ifunc-impl-list.c
1463 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1464 * string/strcmp.c (STRCMP): Define and use macro.
1465 * benchtests/bench-wcscmp.c: New File.
1466 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1467 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1468 instead of _HAVE_STRING_ARCH_memchr.
1469
1470 * sysdeps/s390/multiarch/strncat-c.c: New File.
1471 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1472 * sysdeps/s390/multiarch/strncat.c: Likewise.
1473 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1474 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1475 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1476 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1477 wcsncat functions.
1478 * sysdeps/s390/multiarch/ifunc-impl-list.c
1479 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1480 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1481 * string/test-strncat.c: Add wcsncat support.
1482 * wcsmbs/test-wcsncat.c: New File.
1483 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1484 * benchtests/bench-strncat.c: Add wcsncat support.
1485 * benchtests/bench-wcsncat.c: New File.
1486 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1487
1488 * sysdeps/s390/multiarch/strcat-c.c: New File.
1489 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1490 * sysdeps/s390/multiarch/strcat.c: Likewise.
1491 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1492 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1493 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1494 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1495 wcscat functions.
1496 * sysdeps/s390/multiarch/ifunc-impl-list.c
1497 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1498 * string/strcat.c (STRCAT): Define and use macro.
1499 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1500 * string/test-strcat.c: Add wcscat support.
1501 * wcsmbs/test-wcscat.c: New File.
1502 * wcsmbs/Makefile (strop-tests): Add wcscat.
1503 * benchtests/bench-strcat.c: Add wcscat support.
1504 * benchtests/bench-wcscat.c: New File.
1505 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1506
1507 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1508 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1509 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1510 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1511 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1512 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1513 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1514 wcpncpy functions.
1515 * sysdeps/s390/multiarch/ifunc-impl-list.c
1516 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1517 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1518 * string/test-stpncpy.c: Add wcpncpy support.
1519 * wcsmbs/test-wcpncpy.c: New File.
1520 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1521 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1522 * benchtests/bench-wcpncpy.c: New File.
1523 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1524
1525 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1526 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1527 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1528 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1529 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1530 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1531 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1532 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1533 wcsncpy functions.
1534 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1535 * sysdeps/s390/multiarch/ifunc-impl-list.c
1536 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1537 * string/test-strncpy.c: Add wcsncpy support.
1538 * wcsmbs/test-wcsncpy.c: New File.
1539 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1540 * benchtests/bench-strncpy.c: Add wcsncpy support.
1541 * benchtests/bench-wcsncpy.c: New File.
1542 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1543
1544 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1545 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1546 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1547 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1548 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1549 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1550 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1551 wcpcpy functions.
1552 * string/stpcpy.c: Use STPCPY if defined.
1553 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1554 * sysdeps/s390/multiarch/ifunc-impl-list.c
1555 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1556 * string/test-stpcpy.c: Add wcpcpy support.
1557 * wcsmbs/test-wcpcpy.c: New File.
1558 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1559 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1560 * benchtests/bench-wcpcpy.c: New File.
1561 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1562
1563 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1564 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1565 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1566 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1567 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1568 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1569 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1570 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1571 wcscpy functions.
1572 * sysdeps/s390/multiarch/ifunc-impl-list.c
1573 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1574 * benchtests/bench-wcscpy.c: New File.
1575 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1576
1577 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1578 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1579 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1580 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1581 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1582 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1583 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1584 wcsnlen functions.
1585 * sysdeps/s390/multiarch/ifunc-impl-list.c
1586 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1587 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1588 * string/test-strnlen.c: Add wcsnlen support.
1589 * wcsmbs/test-wcsnlen.c: New File.
1590 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1591 * benchtests/bench-strnlen.c: Add wcsnlen support.
1592 * benchtests/bench-wcsnlen.c: New File.
1593 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1594
1595 * sysdeps/s390/multiarch/Makefile: New File.
1596 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1597 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1598 * sysdeps/s390/multiarch/strlen.c: Likewise.
1599 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1600 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1601 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1602 * string/strlen.c (STRLEN): Define and use macro.
1603 * sysdeps/s390/multiarch/ifunc-impl-list.c
1604 (IFUNC_VX_IMPL): New macro function.
1605 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1606 * benchtests/Makefile (wcsmbs-bench): New variable.
1607 (string-bench-all): Added wcsmbs-bench.
1608 * benchtests/bench-wcslen.c: New File.
1609
1610 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1611 s390_vx_libc_ifunc2): New macro function.
1612
1613 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1614 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1615 assembler support.
1616 * sysdeps/s390/configure: Regenerated.
1617
1618 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1619 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1620
1621 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1622 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1623 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1624
1625 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1626 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1627 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1628 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1629 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1630 (memcmp, bcmp): Use __memcmp_default as alias source.
1631 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1632 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1633 Rename to __memcmp_default.
1634 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1635 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1636 (memcpy): Use __memcpy_default as alias source.
1637 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1638 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1639 Rename to __memcpy_default.
1640 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1641 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1642 (memset): Use __memset_default as alias source.
1643 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1644 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1645 Rename to __memset_default.
1646 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1647 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1648 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1649 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1650 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1651 (memcmp, bcmp): Use __memcmp_default as alias source.
1652 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1653 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1654 Rename to __memcmp_default.
1655 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1656 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1657 (memcpy): Use __memcpy_default as alias source.
1658 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1659 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1660 Rename to __memcpy_default.
1661 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1662 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1663 (memset): Use __memset_default as alias source.
1664 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1665 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1666 Rename to __memset_default.
1667 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1668 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1669
1670 [BZ #18610]
1671 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1672 __ieee_instruction_pointer to __unused.
1673 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1674 __ieee_instruction_pointer.
1675 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1676 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1677 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1678 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1679 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1680 Mark dxc-field as reserved.
1681
1682 2015-08-25 Roland McGrath <roland@hack.frob.com>
1683
1684 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1685 if the weak reference is not null.
1686
1687 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1688
1689 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1690
1691 [BZ #11214]
1692 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1693
1694 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1695
1696 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1697 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1698 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1699 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1700 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1701 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1702 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1703 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1704 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1705 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1706 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1707 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1708 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1709 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1710 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1711 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1712 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1713 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1714
1715 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1716
1717 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1718 register other than r0 for tabort, it has special meaning.
1719 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1720 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1721 transaction before starting syscall.
1722
1723 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1724
1725 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1726
1727 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1728
1729 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1730
1731 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1732 * sysdeps/x86_64/rtld-memset.S: Likewise.
1733 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1734 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1735 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1736 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1737
1738 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1739
1740 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1741
1742 * debug/strcpy_chk.c: Improve performance.
1743 * debug/stpcpy_chk.c: Likewise.
1744 * sysdeps/x86_64/strcpy_chk.S: Remove.
1745 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1746
1747 [BZ #18240]
1748 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1749
1750 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1751
1752 [BZ #15128]
1753 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1754 ifuncmain8.
1755 (modules-names): Add ifuncmod8.
1756 ($(objpfx)ifuncmain8): New rule.
1757 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1758 <cpuid.h>.
1759 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1760 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1761 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1762 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1763 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1764 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1765 * sysdeps/x86_64/ifuncmain8.c: New file.
1766 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1767 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1768 Removed.
1769 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1770 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1771 Change rtld_savespace_sse to __glibc_unused2.
1772 (RTLD_CHECK_FOREIGN_CALL): Removed.
1773 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1774 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1775 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1776
1777 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1778
1779 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1780
1781 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1782
1783 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1784 Unconditionally set __fpcr to avoid uninialized warning.
1785 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1786
1787 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1788
1789 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1790 is corrupt.
1791
1792 * malloc/arena.c (arena_get2): Drop unused argument.
1793 (arena_lock): Adjust.
1794 (arena_get_retry): Likewise.
1795
1796 2015-08-24 Andreas Schwab <schwab@suse.de>
1797
1798 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1799 Don't define.
1800 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1801 (__ASSUME_IPC64): Don't undef.
1802 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1803 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1804 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1805 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1806 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1807 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1808 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1809 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1810 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1811 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1812 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1813 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1814 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1815 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1816 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1817 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1818 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1819 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1820 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1821 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1822 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1823
1824 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1825
1826 * manual/Makefile (install): Only build manual when perl is available.
1827
1828 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1829
1830 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1831 '#undef memcpy' by '#undef memchr'.
1832
1833 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1834
1835 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1836 memchr not point to the internal __GI_memchr implementation.
1837
1838 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1839
1840 * timezone/Makefile (CFLAGS-zdump.c): Remove
1841 -Wno-strict-prototypes.
1842 (CFLAGS-zic.c): Likewise.
1843 (CFLAGS-ialloc.c): Likewise.
1844 (CFLAGS-scheck.c): Likewise.
1845
1846 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1847 -Wno-error=undef.
1848
1849 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1850
1851 * i386/i686/multiarch/strcasestr-c.c: Removed.
1852 * x86_64/multiarch/strcasestr.c: Likewise.
1853 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1854 Remove strcasestr.
1855
1856 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1857
1858 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1859
1860 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1861 variables for high and low parts before possibly modifying them.
1862
1863 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1864
1865 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1866 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1867 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1868 of "multiarch/init-arch.h".
1869 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1870 * sysdeps/x86/init-arch.h: This.
1871
1872 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1873
1874 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1875 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1876
1877 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1878
1879 [BZ #17787]
1880 * manual/macros.texi: Add twoexp macro.
1881 * manual/filesys.texi: Fix exponents.
1882 * manual/llio.texi: Likewise.
1883 * manual/stdio.texi: Likewise.
1884
1885 2015-08-20 Florian Weimer <fweimer@redhat.com>
1886
1887 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1888 incorrect use.
1889
1890 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1891
1892 [BZ #18370]
1893 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1894 whose real or imaginary part has small absolute value.
1895 * math/s_csqrtf.c (__csqrtf): Likewise.
1896 * math/s_csqrtl.c (__csqrtl): Likewise.
1897 * math/auto-libm-test-in: Add more tests of csqrt.
1898 * math/auto-libm-test-out: Regenerated.
1899 * sysdeps/i386/fpu/libm-test-ulps: Update.
1900
1901 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1902
1903 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1904 __ppc_set_ppr_very_low): New functions.
1905 * manual/platform.texi: Add documentation about
1906 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1907
1908 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1909
1910 * string/stpncpy.c (stpncpy): Improve performance using
1911 __strnlen/memcpy/memset.
1912
1913 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1914
1915 [BZ #18796]
1916 * scripts/test-installation.pl: Don't add -lmvec to build options if
1917 libmvec wasn't built.
1918
1919 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1920
1921 [BZ #14341]
1922 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1923 case when there is a gap between DT_REL and DT_JMPREL sections.
1924 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1925 (LDFLAGS-tst-split-dynreloc): New.
1926 (tst-split-dynreloc-ENV): Likewise.
1927 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1928 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1929
1930 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1931
1932 [BZ #18822]
1933 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1934 attribute_hidden.
1935 (__xstat64_conv): Likewise.
1936 (__xstat32_conv): Likewise.
1937
1938 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1939
1940 [BZ #18822]
1941 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1942 Don't load %ebx when calling __setcontext. Call __setcontext
1943 with HIDDEN_JUMPTARGET.
1944 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1945 libc_hidden_def.
1946
1947 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1948
1949 * sysdeps/i386/i686/Makefile
1950 [$(subdir) == string] (sysdep_routines): Moved to ...
1951 * sysdeps/i386/Makefile: Here.
1952 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1953 * sysdeps/i386/cacheinfo.c: Here.
1954 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1955 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1956 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1957 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1958
1959 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1960
1961 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1962 __i586__ is defined.
1963 (HAS_I686): Defined to 1 if __i686__ is defined.
1964
1965 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1966
1967 * elf/Makefile [$(have-z-execstack) = yes]
1968 (CPPFLAGS-tst-execstack.c): New variable.
1969
1970 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1971 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1972 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1973 UTMPX || _HAVE_UT_TV].
1974 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1975 UTMPX || _HAVE_UT_TV - 0].
1976
1977 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1978
1979 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1980 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1981 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1982
1983 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1984
1985 * sysdeps/powerpc/dl-procinfo.c:
1986 (_dl_powerpc_cap_flags): Added missing strings for some
1987 hwcap features.
1988 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1989
1990 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1991
1992 Port the 0x7efe...feff pattern to GCC 6.
1993 See Steve Ellcey's bug report in:
1994 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1995 * string/memrchr.c (MEMRCHR):
1996 * string/rawmemchr.c (RAWMEMCHR):
1997 * string/strchr.c (strchr):
1998 * string/strchrnul.c (STRCHRNUL):
1999 Rewrite code to avoid issues with signed shift overflow.
2000
2001 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
2002
2003 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2004 whether cpuid is available only if HAS_CPUID is 0.
2005 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2006 (HAS_I586): Likewise.
2007 (HAS_I686): Likewise.
2008
2009 2015-08-18 Zack Weinberg <zackw@panix.com>
2010
2011 * misc/Versions (libc): Add GLIBC_2.23.
2012
2013 2015-08-18 Alan Modra <amodra@gmail.com>
2014
2015 [BZ #18421]
2016 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2017 .Lp__global.
2018 (_start): Load %dp via .Lp__global.
2019 [!SHARED]: Use .section .rodata.
2020
2021 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2022
2023 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2024 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2025
2026 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2027
2028 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2029 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2030
2031 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2032
2033 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2034 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2035
2036 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2037
2038 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2039 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2040
2041 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2042
2043 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2044 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2045
2046 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2047
2048 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2049 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2050
2051 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2052
2053 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2054
2055 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2056
2057 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2058 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2059 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2060 (__ASSUME_LWS_CAS): Delete.
2061
2062 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2063
2064 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2065 * sysdeps/hppa/configure: Regenerated.
2066 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2067 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2068 * sysdeps/hppa/nptl/tls.h: Likewise.
2069
2070 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2071
2072 [BZ #18823]
2073 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2074 for scaling up small arguments.
2075 * math/s_csqrtf.c (__csqrtf): Likewise.
2076 * math/s_csqrtl.c (__csqrtl): Likewise.
2077 * math/auto-libm-test-in: Add more tests of csqrt.
2078 * math/auto-libm-test-out: Regenerated.
2079
2080 2015-08-17 Andreas Schwab <schwab@suse.de>
2081
2082 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2083 version set GLIBC_2.19.
2084
2085 2015-08-16 Zack Weinberg <zackw@panix.com>
2086
2087 [BZ #18681]
2088 * misc/regexp.h: This interface is no longer supported.
2089 Remove all contents, leaving only an #error directive.
2090 * misc/regexp.c (loc1, loc2, locs, step, advance):
2091 Demote to compatibility symbols.
2092
2093 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2094
2095 [BZ #18084]
2096 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2097 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2098 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2099 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2100 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2101 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2102 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2103 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2104 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2105
2106 2015-08-15 Zack Weinberg <zackw@panix.com>
2107
2108 [BZ #18795]
2109 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2110 buffer length is known to be too large, not if it's known to be
2111 small enough.
2112 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2113 overflow at runtime, involving a length parameter, twice: once
2114 with a compile-time constant length parameter, once without.
2115
2116 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2117
2118 [BZ #18824]
2119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2120 scaling x * y up instead of down.
2121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2122 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2123 * math/auto-libm-test-in: Add more tests of fma.
2124 * math/auto-libm-test-out: Regenerated.
2125
2126 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2127
2128 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2129
2130 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2131
2132 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2133 unnecessary movq.
2134 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2135 Likewise.
2136
2137 2015-08-13 Joseph Myers <joseph@codesourcery.com>
2138
2139 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2140 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2141 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2142 and tgamma.
2143 * math/auto-libm-test-out: Regenerated.
2144 * sysdeps/i386/fpu/libm-test-ulps: Update.
2145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2146
2147 [BZ #16520]
2148 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2149 (__tanh): Force underflow exception for arguments with small
2150 absolute value.
2151 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2152 (__tanhf): Force underflow exception for arguments with small
2153 absolute value.
2154 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2155 (__tanhl): Force underflow exception for arguments with small
2156 absolute value.
2157 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2158 (__tanhl): Force underflow exception for arguments with small
2159 absolute value.
2160 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2161 (__tanhl): Force underflow exception for arguments with small
2162 absolute value.
2163 * math/auto-libm-test-in: Add more tests of tanh.
2164 * math/auto-libm-test-out: Regenerated.
2165 * sysdeps/i386/fpu/libm-test-ulps: Update.
2166
2167 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2168
2169 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2170 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2171
2172 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2173
2174 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2175 <cpuid.h>.
2176
2177 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2178
2179 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2180 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2181
2182 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2183
2184 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2185 Remove $(objpfx)init-arch.o.
2186 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2187 init-arch.
2188 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2189 (INIT_ARCH_EXT): Defined as empty.
2190 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2191 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2192 __init_cpu_features call. Replace HAS_XXX with
2193 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2194 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2195 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2196 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2197 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2198 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2199 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2200 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2201 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2202 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2203 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2204 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2205 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2206 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2207 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2208 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2209 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2210 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2211 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2212 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2213 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2214 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2215 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2216 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2217 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2218 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2219 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2220 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2221 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2222 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2223 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2224 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2225 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2226 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2227 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2228 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2229
2230 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2231
2232 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2233 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2234 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2235 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2236 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2237 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2238 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2239 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2240 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2241 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2242 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2243 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2244 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2245 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2246 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2247 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2248 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2249 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2250 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2251 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2252 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2253 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2254 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2255 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2256 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2257 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2258 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2259 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2260 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2261 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2262 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2263 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2264 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2265 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2266 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2267 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2268 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2269 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2270 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2271 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2272 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2273 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2274 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2275
2276 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2277
2278 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2279 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2280 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2281 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2282 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2283 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2284 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2285 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2286 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2287 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2288 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2289 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2290 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2291 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2292 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2293 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2294 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2295 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2296 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2297 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2298 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2299 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2300 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2301 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2302 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2303 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2304 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2305 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2306 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2307 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2308 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2309 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2310 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2311 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2312 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2313 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2314 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2315 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2316 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2317 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2318 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2319 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2320 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2321
2322 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2323
2324 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2325 (dl_platform_init): Call init_cpu_features.
2326 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2327 * sysdeps/i386/i686/cacheinfo.c
2328 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2329 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2330 * sysdeps/i386/i686/multiarch/Versions: Removed.
2331 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2332 Removed.
2333 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2334 * sysdeps/unix/sysv/linux/x86/Makefile
2335 (libpthread-sysdep_routines): Remove init-arch.
2336 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2337 <sysdeps/x86_64/dl-procinfo.c> instead of
2338 sysdeps/generic/dl-procinfo.c>.
2339 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2340 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2341 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2342 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2343 [$(subdir) == elf] (tests-static): Add
2344 tst-get-cpu-features-static.
2345 * sysdeps/x86/Versions: New file.
2346 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2347 * sysdeps/x86/cpu-features.c: Likewise.
2348 * sysdeps/x86/cpu-features.h: Likewise.
2349 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2350 * sysdeps/x86/libc-start.c: Likewise.
2351 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2352 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2353 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2354 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2355 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2356 Assume USE_MULTIARCH is defined and don't check it.
2357 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2358 (is_amd): Likewise.
2359 (max_cpuid): Likewise.
2360 (intel_check_word): Likewise.
2361 (__cache_sysconf): Don't call __init_cpu_features.
2362 (__x86_preferred_memory_instruction): Removed.
2363 (init_cacheinfo): Don't call __init_cpu_features. Replace
2364 __cpu_features with GLRO(dl_x86_cpu_features).
2365 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2366 (dl_platform_init): Call init_cpu_features.
2367 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2368 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2369 * sysdeps/x86_64/multiarch/Versions: Removed.
2370 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2371 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2372 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2373 Removed.
2374 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2375
2376 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2377
2378 [BZ #18820]
2379 * libio/Makefile (test-fmemopen-mem): New test.
2380 * libio/test-fmemopen.c (do_bz18820): New test.
2381 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2382 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2383
2384 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2385
2386 [BZ #16734]
2387 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2388 (FREE_BUF): Delete.
2389 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2390 * libio/genops.c (_IO_setb): Use malloc and free directly.
2391 (_IO_default_doallocate, _IO_default_finish): Likewise.
2392 ( _IO_unbuffer_all): Likewise.
2393 ( libc_freeres_fn): Likewise.
2394 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2395 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2396 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2397 (_IO_wdefault_doallocate): Likewise.
2398
2399 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2400
2401 [BZ #18086]
2402 * sysdeps/posix/nice.c (nice): Restore old errno.
2403 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2404
2405 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2406
2407 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2408
2409 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2410
2411 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2412 __bcopy and add a weak_alias to bcopy.
2413 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2414 for static build.
2415
2416 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2417 cleanup macro usage.
2418 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2419 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2420 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2421 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2422 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2423 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2424 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2425 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2426 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2427 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2428 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2429 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2430 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2431 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2432 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2433 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2434 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2435 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2436 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2437
2438 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2439 libc_hidden_def.
2440 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2441
2442 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2443 (sysdep_routines): Add strstr-ppc64.
2444 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2445
2446 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2447
2448 [BZ #18778]
2449 * elf/Makefile (tests): Add Add tst-nodelete2.
2450 (modules-names): Add tst-nodelete2mod.
2451 (tst-nodelete2mod.so-no-z-defs): New.
2452 ($(objpfx)tst-nodelete2): Likewise.
2453 ($(objpfx)tst-nodelete2.out): Likewise.
2454 (LDFLAGS-tst-nodelete2): Likewise.
2455 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2456 out of loop through all loaded libraries.
2457 * elf/tst-nodelete2.c: New file.
2458 * elf/tst-nodelete2mod.c: Likewise.
2459 * elf/tst-znodelete-zlib.cc: Delete.
2460
2461 2015-08-11 Andreas Schwab <schwab@suse.de>
2462
2463 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2464 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2465 (__openat64_nocancel): Likewise.
2466
2467 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2468
2469 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2470 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2471 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2472 * math/auto-libm-test-out: Regenerated.
2473 * sysdeps/i386/fpu/libm-test-ulps: Update.
2474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2475
2476 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2477
2478 [BZ #18790]
2479 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2480 threshold for returning +/- 1.
2481 * math/auto-libm-test-in: Add more tests of tanh.
2482 * math/auto-libm-test-out: Regenerated.
2483 * sysdeps/i386/fpu/libm-test-ulps: Update.
2484
2485 2015-08-10 Andreas Schwab <schwab@suse.de>
2486
2487 [BZ #18781]
2488 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2489 MORE_OFLAGS to oflag.
2490 * io/test-lfs.c (do_test): Test openat64.
2491
2492 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2493
2494 [BZ #18789]
2495 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2496 smaller threshold for returning the argument.
2497 * math/auto-libm-test-in: Add more tests of sinh.
2498 * math/auto-libm-test-out: Regenerated.
2499 * sysdeps/i386/fpu/libm-test-ulps: Update.
2500
2501 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2502
2503 [BZ #18674]
2504 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2505 break.
2506
2507 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2508
2509 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2510 (generated): Don't add $(addprefix z.,$(tzfiles)).
2511
2512 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2513
2514 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2515 * scripts/sysd-rules.awk: Likewise.
2516
2517 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2518
2519 * iconvdata/tst-tables.sh: Change echo -n to printf.
2520 * nss/db-Makefile: Likewise.
2521 * posix/tst-getconf.sh: Likewise.
2522 * stdio-common/tst-unbputc.sh: Likewise.
2523
2524 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2525
2526 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2527 MADV_*_PAGES defines behind this feature check.
2528
2529 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2530
2531 [BZ #18480]
2532 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2533 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2534 Define.
2535 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2536 LOAD_REGS_5, LOAD_REGS_6): Update.
2537 (INTERNAL_SYSCALL): Update using new LOAD defines.
2538 (INTERNAL_SYSCALL_NCS): Likewise.
2539 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2540
2541 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2542
2543 [BZ #16734]
2544 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2545
2546 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2547
2548 [BZ #17905]
2549 * catgets/Makefile (tst-catgets-mem): New test.
2550 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2551 * catgets/open_catalog.c (__open_catalog): Likewise.
2552 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2553
2554 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2555
2556 [BZ #18787]
2557 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2558 clobber registers.
2559 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2560 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2561 Cast return to __typeof (oldval).
2562
2563 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2564
2565 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2566 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2567 and delete sys/syscall.h include.
2568
2569 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2570
2571 [BZ #16517]
2572 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2573 (tan): Force underflow exception for arguments with small absolute
2574 value.
2575 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2576 (__kernel_tanf): Force underflow exception for arguments with
2577 small absolute value.
2578 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2579 (__kernel_tanl): Force underflow exception for arguments with
2580 small absolute value.
2581 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2582 (__kernel_tanl): Force underflow exception for arguments with
2583 small absolute value.
2584 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2585 (__kernel_tanl): Force underflow exception for arguments with
2586 small absolute value.
2587 * math/auto-libm-test-in: Add more tests of tan.
2588 * math/auto-libm-test-out: Regenerated.
2589
2590 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2591
2592 Fix sysdeps/i386/fpu/s_scalbn.S build
2593
2594 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2595
2596 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2597
2598 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2599
2600 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2601
2602 Fix gcrt0.o compilation
2603
2604 When static-start-installed-name is different from
2605 start-installed-name, we must not use the shared objects.
2606
2607 * csu/Makefile
2608 (extra-objs): Add gmon-start.o when building shared library and
2609 $(static-start-installed-name) is different from
2610 $(start-installed-name).
2611 $(objpfx)g$(static-start-installed-name): When building shared
2612 library and $(static-start-installed-name) is different from
2613 $(static-start-installed-name), revert to non-shared rule,
2614 i.e. using $(objpfx)% and gmon-start.o.
2615
2616 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2617
2618 [BZ #16519]
2619 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2620 (__ieee754_sinh): Force underflow exception for arguments with
2621 small absolute value.
2622 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2623 (__ieee754_sinhf): Force underflow exception for arguments with
2624 small absolute value.
2625 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2626 (__ieee754_sinhl): Force underflow exception for arguments with
2627 small absolute value.
2628 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2629 (__ieee754_sinhl): Force underflow exception for arguments with
2630 small absolute value.
2631 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2632 (__ieee754_sinhl): Force underflow exception for arguments with
2633 small absolute value.
2634 * math/auto-libm-test-in: Add more tests of sinh.
2635 * math/auto-libm-test-out: Regenerated.
2636 * sysdeps/i386/fpu/libm-test-ulps: Update.
2637
2638 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2639
2640 * libio/oldfileops.c: Include unistd.h.
2641
2642 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2643
2644 * stdlib/isomac.c: Include ctype.h.
2645
2646 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2647
2648 * dirent/tst-seekdir.c (main): Converted to ...
2649 (do_test): ... this.
2650 (TEST_FUNCTION): New macro.
2651 Include test-skeleton.c.
2652 * elf/tst-dlmodcount.c (main): Converted to ...
2653 (do_test): ... this.
2654 (TEST_FUNCTION): New macro.
2655 Include test-skeleton.c.
2656 * elf/tst-order-main.c (main): Converted to ...
2657 (do_test): ... this.
2658 (TEST_FUNCTION): New macro.
2659 Include test-skeleton.c.
2660 * elf/tst-pie2.c (main): Converted to ...
2661 (do_test): ... this.
2662 (TEST_FUNCTION): New macro.
2663 Include test-skeleton.c.
2664 * inet/tst-ether_aton.c (main): Converted to ...
2665 (do_test): ... this.
2666 (TEST_FUNCTION): New macro.
2667 Include test-skeleton.c.
2668 * misc/tst-mntent.c (main): Converted to ...
2669 (do_test): ... this.
2670 (TEST_FUNCTION): New macro.
2671 Include test-skeleton.c.
2672 * misc/tst-tsearch.c (main): Converted to ...
2673 (do_test): ... this.
2674 (TEST_FUNCTION): New macro.
2675 Include test-skeleton.c.
2676 * posix/tst-regexloc.c (main): Converted to ...
2677 (do_test): ... this.
2678 (TEST_FUNCTION): New macro.
2679 Include test-skeleton.c.
2680 * resolv/tst-aton.c (main): Converted to ...
2681 (do_test): ... this.
2682 (TEST_FUNCTION): New macro.
2683 Include test-skeleton.c.
2684 * stdio-common/test-fwrite.c (main): Converted to ...
2685 (do_test): ... this.
2686 (TEST_FUNCTION): New macro.
2687 Include test-skeleton.c.
2688 * stdio-common/tst-ferror.c (main): Converted to ...
2689 (do_test): ... this.
2690 (TEST_FUNCTION): New macro.
2691 Include test-skeleton.c.
2692 * stdio-common/tst-printf.c (main): Converted to ...
2693 (do_test): ... this.
2694 (TEST_FUNCTION): New macro.
2695 Include test-skeleton.c.
2696 * stdio-common/tst-printfsz.c (main): Converted to ...
2697 (do_test): ... this.
2698 (TEST_FUNCTION): New macro.
2699 Include test-skeleton.c.
2700 * stdlib/tst-strtod.c (main): Converted to ...
2701 (do_test): ... this.
2702 (TEST_FUNCTION): New macro.
2703 Include test-skeleton.c.
2704 * string/tst-strlen.c (main): Converted to ...
2705 (do_test): ... this.
2706 (TEST_FUNCTION): New macro.
2707 Include test-skeleton.c.
2708 * string/tst-svc.c (main): Converted to ...
2709 (do_test): ... this.
2710 (TEST_FUNCTION): New macro.
2711 Include test-skeleton.c.
2712 * time/tst-strptime.c (main): Converted to ...
2713 (do_test): ... this.
2714 (TEST_FUNCTION): New macro.
2715 Include test-skeleton.c.
2716 * timezone/tst-timezone.c (main): Converted to ...
2717 (do_test): ... this.
2718 (TEST_FUNCTION): New macro.
2719 Include test-skeleton.c.
2720
2721 2015-08-05 Zack Weinberg <zackw@panix.com>
2722
2723 * misc/regexp.h: Update comments.
2724
2725 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2726
2727 [BZ #18635]
2728 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2729 before return label.
2730
2731 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2732
2733 [BZ #18661]
2734 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2735 when calling __errno_location.
2736 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2737 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2738
2739 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2740
2741 [BZ #18661]
2742 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2743 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2744 __gettimeofday.
2745
2746 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2747
2748 [BZ #18661]
2749 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2750 (__start_context): Don't use pop to restore %rdi so that stack
2751 is aligned to 16 bytes when calling __setcontext.
2752
2753 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2754
2755 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2756 only for libc.
2757 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2758
2759 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2760
2761 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2762 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2763 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2764
2765 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2766
2767 * string/memccpy.c (memccpy):
2768 Improve performance by using memchr/memcpy/__mempcpy.
2769
2770 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2771
2772 * string/strncpy.c (strncpy):
2773 Improve performance by using __strnlen/memcpy.
2774
2775 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2776
2777 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2778 Optimize to avoid an unnecessary FPCR read.
2779
2780 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2781
2782 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2783 Optimize to reduce FPCR/FPSR accesses.
2784
2785 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2786
2787 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2788 dead->data[category] != NULL.
2789
2790 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2791
2792 [BZ #18647]
2793 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2794 and |x| close to 1, use absolute value of x when computing log.
2795 * math/auto-libm-test-in: Add more tests of pow.
2796 * math/auto-libm-test-out: Regenerated.
2797
2798 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2799
2800 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2801 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2802 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2803
2804 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2805
2806 [BZ #18525]
2807 * locales/km_KH: Remove timezone definition.
2808 * locales/lo_LA: Likewise.
2809 * locales/my_MM: Likewise.
2810 * locales/nan_TW@latin: Likewise.
2811 * locales/th_TH: Likewise.
2812 * locales/uk_UA: Likewise.
2813
2814 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2815
2816 [BZ #18265]
2817 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2818 (wcsncat): Likewise.
2819 (wcscmp): Likewise.
2820 (wcsncmp): Likewise.
2821
2822 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2823
2824 * test-skeleton.c (usage): New function.
2825 (main): Call usage when opt is '?'.
2826
2827 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2828
2829 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2830 before first use.
2831
2832 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2833
2834 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2835 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2836 in there too.
2837
2838 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2839
2840 * version.h (RELEASE): Set to "development".
2841 (VERSION): Set to "2.22.90"
2842
2843 * version.h (RELEASE): Set to "stable".
2844 (VERSION): Set to "2.22"
2845 * include/features.h (__GLIBC_MINOR__): Set to 22.
2846
2847 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2848
2849 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2850 Restructure macro to avoid "value computed is not used" warning.
2851 (atomic_compare_and_exchange_val_acq): Likewise.
2852
2853 2015-08-04 Andreas Schwab <schwab@suse.de>
2854
2855 [BZ #18635]
2856 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2857 ret.
2858 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2859
2860 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2861
2862 * po/pl.po: Updated translation.
2863 * po/uk.po: Likewise.
2864 * po/fi.po: Likewise.
2865 * po/ko.po: Likewise.
2866 * po/ru.po: Likewise.
2867 * po/vi.po: Likewise.
2868
2869 2015-07-31 Zack Weinberg <zackw@panix.com>
2870
2871 [BZ #18681]
2872 * regexp.h: Add unconditional #warning stating that this header
2873 will be removed soon. Revise banner comment to match.
2874 (compile): Consistently use ERROR instead of RETURN to report
2875 errors (partial fix for bz#18681).
2876 * regexp.c: Don't include regexp.h. Remove some unnecessary
2877 declarations.
2878
2879 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2880
2881 * po/libc.pot: Regenerated.
2882
2883 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2884
2885 [BZ #18740]
2886 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2887 float-vlen4-arch-ext-cflags): Removed.
2888 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2889 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2890
2891 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2892
2893 [BZ #14113]
2894 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2895 aligned to __aligned__.
2896 (pthread_cond_t, pthread_rwlock_t): Likewise.
2897
2898 2015-07-30 Torvald Riegel <triegel@redhat.com>
2899
2900 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2901
2902 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2903
2904 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2905 (struct sigaction): Change sa_flags from a long to an int, and add
2906 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2907
2908 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2909
2910 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2911 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2912 sysdeps/generic/sysdep.h include.
2913 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2914 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2915 sysdeps/hppa/sysdep.h.
2916 (ENTRY, PSEUDO): Undefine before defining.
2917
2918 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2919
2920 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2921 from scratch to use INTERNAL_SYSCALL.
2922
2923 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2924
2925 [BZ #18078]
2926 * scripts/check-localplt.awk: Support alternate relocations.
2927 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2928 sections.
2929 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2930 malloc entries with + REL R_386_GLOB_DAT.
2931 * sysdeps/x86_64/localplt.data: New file.
2932
2933 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2934
2935 [BZ #18731]
2936 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2937 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2938 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2939
2940 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2941
2942 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2943
2944 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2945
2946 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2947 directly in terms of __sync_fetch_and_add and delete (int) cast.
2948
2949 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2950
2951 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2952 the -D_ASM_IA64_CURRENT_H flag.
2953
2954 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2955
2956 [BZ #18641]
2957 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2958
2959 2015-07-27 Andreas Schwab <schwab@suse.de>
2960
2961 * conform/conformtest.pl (checknamespace): Filter out string
2962 literals while tokenizing.
2963
2964 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2965
2966 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2967 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2968 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2969
2970 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2971
2972 * nptl/tst-join7mod.c: Add #include <string.h>.
2973
2974 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2975
2976 * sysdeps/nios2/libm-test-ulps: Update.
2977
2978 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2979
2980 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2981 Fix order of arguments to the rt_sigprocmask syscall.
2982 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2983 Likewise.
2984
2985 2015-07-24 Roland McGrath <roland@hack.frob.com>
2986
2987 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2988
2989 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2990
2991 [BZ #18457]
2992 * nptl/Makefile (tests): New test case tst-join7.
2993 (modules-names): New test case module tst-join7mod.
2994 * nptl/tst-join7.c: New file.
2995 * nptl/tst-join7mod.c: New file.
2996 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2997 all translation units in libc.so, libpthread.so and rtld.
2998
2999 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3000
3001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3002
3003 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
3004
3005 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3006 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3007 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3008 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3009 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3010 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3011 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3012 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3013 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3014 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3015 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3016 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3017 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3018 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3019 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3020 implementation.
3021
3022 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3023
3024 [BZ #17711]
3025 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3026 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3027 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3028 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3029 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3030 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3031
3032 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3033
3034 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3035 instead of just saying load lock in the comments.
3036
3037 2015-07-23 Roland McGrath <roland@hack.frob.com>
3038
3039 * sysdeps/unix/Subdirs: Moved ...
3040 * sysdeps/posix/Subdirs: ... here.
3041 * login/pty.h (struct termios, struct winsize): Add forward decls.
3042 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3043 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3044 * sysdeps/arm/nacl/libc.abilist: Updated.
3045 * sysdeps/nacl/libutil.abilist: New file.
3046
3047 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3048 (SIGWINCH): New macro.
3049
3050 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3051 * sysdeps/arm/nacl/libc.abilist: Add it.
3052
3053 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3054
3055 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3056
3057 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3058
3059 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3060 Swap __glibc_reserved0 and sa_flags order.
3061
3062 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3063
3064 [BZ #18657]
3065 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3066 are pending TLS destructor calls.
3067 * include/link.h (struct link_map): Add concurrency note for
3068 L_TLS_DTOR_COUNT.
3069 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3070 Don't touch the link map flag. Atomically increment
3071 l_tls_dtor_count.
3072 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3073 Avoid taking the load lock and don't touch the link map flag.
3074 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3075 * stdlib/Makefile (tests): Use it.
3076 * stdlib/tst-tls-atexit.c (do_test): dlopen
3077 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3078 to allow tst-tls-atexit-nodelete test case to use it.
3079
3080 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3081
3082 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3083 to bits/types.h.
3084 (msgqnum_t): New typedef.
3085 (msglen_t): Likewise.
3086 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3087 and msg_qbytes type to msglen_t.
3088
3089 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3090
3091 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3092 pad0 to __glibc_reserved0.
3093 (struct stat64): Likewise.
3094
3095 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3096
3097 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3098 Change sa_flags from a long to an int and add __glibc_reserved0 before
3099 it for padding.
3100
3101 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3102
3103 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3104 anonymous by deleting "siginfo" name.
3105
3106 2015-07-21 Roland McGrath <roland@hack.frob.com>
3107
3108 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3109 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3110 rather than __nacl_irt_filename.
3111 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3112
3113 * NEWS: New item for arm-nacl port.
3114 * sysdeps/arm/nacl/libc.abilist: New file.
3115 * sysdeps/nacl/ld.abilist: New file.
3116 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3117 * sysdeps/nacl/libanl.abilist: New file.
3118 * sysdeps/nacl/libcrypt.abilist: New file.
3119 * sysdeps/nacl/libdl.abilist: New file.
3120 * sysdeps/nacl/libm.abilist: New file.
3121 * sysdeps/nacl/libpthread.abilist: New file.
3122 * sysdeps/nacl/libresolv.abilist: New file.
3123 * sysdeps/nacl/librt.abilist: New file.
3124
3125 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
3126
3127 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3128 __startcontext to initialize the new context.
3129 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3130 up CFI directive to forbid further backtracing.
3131
3132 2015-07-21 Marko Myllynen <myllynen@redhat.com>
3133
3134 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3135 reference.
3136 * charmaps/ANSI_X3.4-1968: Likewise.
3137 * charmaps/BS_4730: Likewise.
3138 * charmaps/BS_VIEWDATA: Likewise.
3139 * charmaps/CP1250: Likewise.
3140 * charmaps/CP1251: Likewise.
3141 * charmaps/CP1252: Likewise.
3142 * charmaps/CP1253: Likewise.
3143 * charmaps/CP1254: Likewise.
3144 * charmaps/CP1255: Likewise.
3145 * charmaps/CP1256: Likewise.
3146 * charmaps/CSN_369103: Likewise.
3147 * charmaps/EBCDIC-DK-NO: Likewise.
3148 * charmaps/GB_1988-80: Likewise.
3149 * charmaps/GREEK-CCITT: Likewise.
3150 * charmaps/GREEK7: Likewise.
3151 * charmaps/INIS-8: Likewise.
3152 * charmaps/ISIRI-3342: Likewise.
3153 * charmaps/ISO_2033-1983: Likewise.
3154 * charmaps/ISO_5427-EXT: Likewise.
3155 * locales/POSIX: Likewise.
3156 * locales/ar_SA: Likewise.
3157 * locales/be_BY: Likewise.
3158 * locales/be_BY@latin: Likewise.
3159 * locales/ca_ES: Likewise.
3160 * locales/cs_CZ: Likewise.
3161 * locales/da_DK: Likewise.
3162 * locales/de_BE: Likewise.
3163 * locales/de_CH: Likewise.
3164 * locales/de_LU: Likewise.
3165 * locales/en_AU: Likewise.
3166 * locales/en_BW: Likewise.
3167 * locales/en_CA: Likewise.
3168 * locales/en_DK: Likewise.
3169 * locales/en_GB: Likewise.
3170 * locales/en_IE: Likewise.
3171 * locales/en_NZ: Likewise.
3172 * locales/en_ZA: Likewise.
3173 * locales/en_ZW: Likewise.
3174 * locales/es_AR: Likewise.
3175 * locales/es_BO: Likewise.
3176 * locales/es_CL: Likewise.
3177 * locales/es_CO: Likewise.
3178 * locales/es_DO: Likewise.
3179 * locales/es_EC: Likewise.
3180 * locales/es_ES: Likewise.
3181 * locales/es_HN: Likewise.
3182 * locales/es_MX: Likewise.
3183 * locales/es_PA: Likewise.
3184 * locales/es_PE: Likewise.
3185 * locales/es_PY: Likewise.
3186 * locales/es_SV: Likewise.
3187 * locales/es_US: Likewise.
3188 * locales/es_UY: Likewise.
3189 * locales/es_VE: Likewise.
3190 * locales/et_EE: Likewise.
3191 * locales/fa_IR: Likewise.
3192 * locales/fo_FO: Likewise.
3193 * locales/fr_CA: Likewise.
3194 * locales/fr_CH: Likewise.
3195 * locales/gv_GB: Likewise.
3196 * locales/he_IL: Likewise.
3197 * locales/hr_HR: Likewise.
3198 * locales/id_ID: Likewise.
3199 * locales/is_IS: Likewise.
3200 * locales/it_CH: Likewise.
3201 * locales/iw_IL: Likewise.
3202 * locales/kl_GL: Likewise.
3203 * locales/ko_KR: Likewise.
3204 * locales/kw_GB: Likewise.
3205 * locales/lg_UG: Likewise.
3206 * locales/lt_LT: Likewise.
3207 * locales/lv_LV: Likewise.
3208 * locales/mi_NZ: Likewise.
3209 * locales/nhn_MX: Likewise.
3210 * locales/nl_BE: Likewise.
3211 * locales/pl_PL: Likewise.
3212 * locales/sk_SK: Likewise.
3213 * locales/sl_SI: Likewise.
3214 * locales/sv_FI: Likewise.
3215 * locales/tl_PH: Likewise.
3216 * locales/tr_TR: Likewise.
3217 * locales/vi_VN: Likewise.
3218
3219 2015-07-21 Khem Raj <raj.khem@gmail.com>
3220
3221 [BZ #17475]
3222 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3223 of tu_IN and bh_IN.
3224
3225 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3226
3227 [BZ #18694]
3228 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3229 bits/wordsize.h.
3230 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3231
3232 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3233
3234 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3235 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3236 (spawn_thread): New function.
3237 (load): Rename to reg_dtor_and_close. Move dlopen to...
3238 (do_test): ... here. Use IS_LOADED to test for its
3239 availability.
3240
3241 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3242
3243 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3244
3245 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3246
3247 [BZ #18696]
3248 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3249 si_addr_bnd.
3250 (si_lower): New.
3251 (si_upper): Likewise.
3252
3253 2015-07-16 David S. Miller <davem@davemloft.net>
3254
3255 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3256
3257 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3258
3259 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3260 buffer.
3261 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3262 fail output information.
3263
3264 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3265
3266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3267 and strstr-ppc64..
3268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3269 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3270 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3271 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3272 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3273
3274 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3275
3276 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3277 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3278 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3279 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3280
3281 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3282
3283 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3284 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3285 rtld_hidden_proto.
3286 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3287
3288 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3289
3290 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3291 the test can fail.
3292
3293 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3294
3295 [BZ #18676]
3296 * elf/tst-nodelete-opened.c: New test case.
3297 * elf/tst-nodelete-opened-lib.c: New test case module.
3298 * elf/Makefile (tests, modules-names): Use them.
3299 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3300 early.
3301
3302 2015-07-15 David S. Miller <davem@davemloft.net>
3303
3304 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3305 futex-intenal.h
3306 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3307 * sysdeps/sparc/sparc64/Makefile: Likewise.
3308 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3309 Remove space from macro define.
3310 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3311
3312 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3313
3314 [BZ #17475]
3315 * locale/iso-639.def: Update Bhili and Tulu language codes as
3316 per iso639-3.
3317
3318 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3319
3320 * elf/tst-leaks1.c (main): Converted to ...
3321 (do_test): ... this.
3322 (TEST_FUNCTION): New macro.
3323 Include test-skeleton.c.
3324 * localedata/tst-langinfo.c (main): Converted to ...
3325 (do_test): ... this.
3326 (TEST_FUNCTION): New macro.
3327 Include test-skeleton.c.
3328 * math/test-fpucw.c (main): Converted to ...
3329 (do_test): ... this.
3330 (TEST_FUNCTION): New macro.
3331 Include test-skeleton.c.
3332 * math/test-tgmath.c (main): Converted to ...
3333 (do_test): ... this.
3334 (TEST_FUNCTION): New macro.
3335 Include test-skeleton.c.
3336 * math/test-tgmath2.c (main): Converted to ...
3337 (do_test): ... this.
3338 (TEST_FUNCTION): New macro.
3339 Include test-skeleton.c.
3340 * setjmp/tst-setjmp.c (main): Converted to ...
3341 (do_test): ... this.
3342 (TEST_FUNCTION): New macro.
3343 Include test-skeleton.c.
3344 * stdio-common/tst-sscanf.c (main): Converted to ...
3345 (do_test): ... this.
3346 (TEST_FUNCTION): New macro.
3347 Include test-skeleton.c.
3348 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3349 (do_test): ... this.
3350 (TEST_FUNCTION): New macro.
3351 Include test-skeleton.c.
3352
3353 * elf/tst-audit9.c (main): Converted to ...
3354 (do_test): ... this.
3355 (TEST_FUNCTION): New macro.
3356 Include test-skeleton.c.
3357
3358 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3359
3360 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3361
3362 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3363
3364 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3365 New variable.
3366
3367 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3368
3369 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3370
3371 2015-07-14 Roland McGrath <roland@hack.frob.com>
3372
3373 * sysdeps/generic/dl-fileid.h: New file.
3374 * sysdeps/posix/dl-fileid.h: New file.
3375 * sysdeps/nacl/dl-fileid.h: New file.
3376 * include/link.h: Include <dl-fileid.h>.
3377 (struct link_map): Replace l_dev and l_ino with l_file_id.
3378 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3379 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3380 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3381
3382 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3383
3384 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3385
3386 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3387
3388 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3389 Add iff $CXX is set.
3390 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3391 Likewise.
3392 (tst-nodelete-zmodiff): Likewise.
3393 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3394
3395 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3396
3397 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3398
3399 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3400
3401 * sysdeps/aarch64/fpu/math_private.h
3402 (define math_opt_barrier): Add AArch64 version.
3403 (math_force_eval): Likewise.
3404
3405 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3406
3407 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3408
3409 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3410
3411 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3412 %ld with %jd and cast to intmax_t.
3413 (do_test_length_zero): Likewise.
3414
3415 2015-07-10 Roland McGrath <roland@hack.frob.com>
3416
3417 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3418
3419 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3420
3421 * sysdeps/tile/libm-test-ulps: Regenerated.
3422
3423 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3424 Comment out the whole function, not just its body.
3425
3426 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3427
3428 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3429 locks.
3430
3431 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3432
3433 2015-07-10 Torvald Riegel <triegel@redhat.com>
3434
3435 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3436 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3437
3438 2015-07-10 Torvald Riegel <triegel@redhat.com>
3439
3440 * sysdeps/nptl/futex-internal.h: New file.
3441 * sysdeps/nacl/futex-internal.h: New file.
3442 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3443 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3444 error checking.
3445 (setxid_unmark_thread): Likewise.
3446 (__nptl_setxid): Likewise.
3447 (__wait_lookup_done): Likewise.
3448 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3449 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3450 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3451 * nptl/pthread_once.c (clear_once_control): Likewise.
3452 (__pthread_once_slow): Likewise.
3453 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3454 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3455 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3456 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3457 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3458 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3459 Likewise.
3460 (__pthread_rwlock_rdlock): Likewise.
3461 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3462 Likewise.
3463 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3464 Likewise.
3465 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3466 Likewise.
3467 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3468 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3469 Likewise.
3470 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3471 __ASSUME_PRIVATE_FUTEX check.
3472 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3473 Check that shared futexes are supported.
3474 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3475 wrappers with error checking.
3476 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3477 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3478 * nptl/pthread_barrierattr_setpshared.c
3479 (pthread_barrierattr_setpshared): Check that shared futexes are
3480 supported.
3481 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3482 Likewise.
3483 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3484 Likewise.
3485 * nptl/sem_init.c (futex_private_if_supported): Remove.
3486 (__new_sem_init): Adapt and check that shared futexes are supported.
3487 * nptl/sem_open.c (sem_open): Likewise.
3488 * nptl/sem_post.c (futex_wake): Remove.
3489 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3490 (do_futex_wait): Use futex wrappers with error checking.
3491 * nptl/sem_wait.c: Include lowlevellock.h.
3492 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3493 Use futex_supports_pshared.
3494 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3495 Use futex wrappers with error checking.
3496 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3497 Likewise.
3498 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3499 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3500 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3501 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3502 (futex_wake): Likewise.
3503 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3504 (do_futex_wait): Use futex wrappers with error checking.
3505 (__new_sem_wait_slow): Update EINTR handling.
3506 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3507
3508 2015-07-09 Martin Sebor <msebor@redhat.com>
3509
3510 [BZ #18435]
3511 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3512 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3513 * nptl/Makefile (test-xfail-tst-once5): Define.
3514
3515 2015-07-09 Roland McGrath <roland@hack.frob.com>
3516
3517 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3518 * elf/dl-minimal.c: For readability, reorder some definitions and
3519 introduce more page breaks. Include <stdio.h>.
3520 (__libc_fatal): New function.
3521
3522 * include/unistd.h: Add rtld_hidden_proto for _exit.
3523 * posix/_exit.c: Add rtld_hidden_def.
3524 * sysdeps/mach/hurd/_exit.c: Likewise.
3525 * sysdeps/nacl/_exit.c: Likewise.
3526 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3527 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3528
3529 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3530
3531 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3532 bndmov encoding with zero displacement.
3533
3534 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3535 H.J. Lu <hongjiu.lu@intel.com>
3536
3537 [BZ #18134]
3538 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3539 * sysdeps/i386/configure: Regenerated.
3540 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3541 (_dl_runtime_profile): Save and restore Intel MPX return bound
3542 registers when calling _dl_call_pltexit. Add
3543 PRESERVE_BND_REGS_PREFIX before return.
3544 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3545 (LRV_BND1_OFFSET): Likewise.
3546 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3547 lrv_bnd1.
3548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3549 typo in bndmov encoding.
3550 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3551 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3552 branch instructions to preserve bounds.
3553
3554 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3555
3556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3557 [GLIBC_2.22]: Add fmemopen.
3558
3559 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3560
3561 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3562 returns an error, also try to use host port from __mach_host_self for
3563 the __vm_wire call.
3564 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3565
3566 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3567
3568 [BZ #18400]
3569 [BZ #18648]
3570 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3571 Fix pr_uid and pr_gid members.
3572 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3573 definition to elf_greg_t.
3574
3575 2015-07-08 Roland McGrath <roland@hack.frob.com>
3576
3577 [BZ #18383]
3578 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3579 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3580 * sysdeps/arm/configure: Regenerated.
3581 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3582 (test-xfail-tst-tlsalign-static): Variable removed.
3583
3584 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3585 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3586 rather than explicit 'ln -s'.
3587
3588 * resolv/rpc/netdb.h: New file.
3589 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3590
3591 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3592
3593 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3594 length buffers.
3595 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3596 test-skeleton.c.
3597
3598 [BZ #6544]
3599 [BZ #11216]
3600 [BZ #12836]
3601 [BZ #13151]
3602 [BZ #13152]
3603 [BZ #14292]
3604 * include/stdio.h (fmemopen): Remove hidden prototype.
3605 (__fmemopen): Add new hidden prototype.
3606 * libio/Makefile: Add oldfmemopen object.
3607 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3608 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3609 compliance.
3610 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3611 symbol compatibility.
3612 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3613 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3614 fmemopen.
3615 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3616 on append and read mode.
3617 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3618 fmemopen.
3619 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3620 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3621 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3622 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3623 Likewise.
3624 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3625 [GLIBC_2.22]: Likewise.
3626 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3627 Likewise.
3628 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3629 Likewise.
3630 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3631 [GLIBC_2.22]: Likewise.
3632 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3633 [GLIBC_2.22]: Likewise.
3634 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3635 [GLIBC_2.22]: Likewise.
3636 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3637 [GLIBC_2.22]: Likewise.
3638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3639 [GLIBC_2.22]: Likewise.
3640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3641 [GLIBC_2.22]: Likewise.
3642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3643 [GLIBC_2.22]: Likewise.
3644 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3645 Likewise.
3646 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3647 Likewise.
3648 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3649 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3650 [GLIBC_2.22]: Likewise.
3651 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3652 [GLIBC_2.22]: Likewise.
3653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3654 [GLIBC_2.22]: Likewise.
3655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3656 [GLIBC_2.22]: Likewise.
3657 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3658 Likewise.
3659 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3660 Likewise.
3661 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3662 Likewise.
3663 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3664 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3665
3666 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3667
3668 [BZ #18643]
3669 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3670 IPV6_PATHMTU, and IPV6_DONTFRAG.
3671
3672 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3673
3674 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3675 and _IO_UNBUFFERED.
3676 * libio/oldfileops.c: Likewise.
3677 * libio/wfileops.c: Likewise.
3678
3679 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3680
3681 * nscd/selinux.c: Delete selinux/flask.h include.
3682
3683 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3684
3685 [BZ #18641]
3686 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3687 (putpwent): Likewise.
3688 (getpwnam): Likewise.
3689 (getpwent_r): Likewise.
3690 (getpwuid_r): Likewise.
3691 (getpwnam_r): Likewise.
3692 (fgetpwent_r): Likewise.
3693
3694 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3695
3696 [BZ #18557]
3697 * inet/rcmd.c (__validuser2_sa): Check user first to
3698 short-circuit host check.
3699
3700 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3701 Mikhail Ilin <m.ilin@samsung.com>
3702
3703 [BZ #17833]
3704 * elf/Makefile (tests): Add tst-nodelete.
3705 (modules-names): Add tst-nodelete-uniquemod.
3706 (tst-nodelete-uniquemod.so-no-z-defs): New.
3707 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3708 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3709 ($(objpfx)tst-nodelete): Likewise.
3710 ($(objpfx)tst-nodelete.out): Likewise.
3711 (LDFLAGS-tst-nodelete): Likewise.
3712 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3713 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3714 implement forced object deletion.
3715 (_dl_close): Pass false to _dl_close_worker.
3716 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3717 * elf/tst-nodelete.cc: New file.
3718 * elf/tst-nodeletelib.cc: Likewise.
3719 * elf/tst-znodeletelib.cc: Likewise.
3720 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3721
3722 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3723
3724 [BZ #18508]
3725 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3726 Depend on $(libdl).
3727 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3728 is not called infinitely times.
3729 (backtrace_helper): New function.
3730 (trace_arg): New struct.
3731 (st1): Enlarge stack size.
3732 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3733 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3734 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3735 Likewise.
3736
3737 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3738
3739 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3740
3741 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3742
3743 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3744 Include sys/types.h instead of bits/types.h.
3745 Remove inclusion of bits/wordsize.h.
3746
3747 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3748
3749 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3750 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3751 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3752 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3753 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3754 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3755
3756 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3757
3758 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3759 link-defines.sym.
3760 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3761 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3762 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3763 and LR_SIZE.
3764 * sysdeps/i386/link-defines.sym: New file.
3765
3766 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3767
3768 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3769 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3770 ($(objpfx)tst-audit3): New rule.
3771 ($(objpfx)tst-audit3.out): Likewise.
3772 * sysdeps/i386/tst-audit3.c: New file.
3773 * sysdeps/i386/tst-audit3.h: Likewise.
3774 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3775 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3776
3777 2015-07-07 Torvald Riegel <triegel@redhat.com>
3778
3779 [BZ #18633]
3780 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3781 pointer in C code.
3782 (__strcat_c): Likewise.
3783 (__strcat_g): Likewise.
3784
3785 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3786
3787 [BZ #18592]
3788 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3789
3790 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3791
3792 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3793 New function. (__ieee754_sqrtf): New function.
3794 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3795 New function.
3796 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3797 New function.
3798
3799 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3800
3801 * sysdeps/ieee754/support.c: Remove unused file.
3802
3803 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3804
3805 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3806 registers instead of d ones so the layout is kernel abi compatible.
3807 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3808 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3809 Likewise.
3810
3811 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3812
3813 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3814
3815 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3816
3817 [BZ #18619]
3818 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3819 and return argument in case of subnormal argument.
3820
3821 2015-07-01 Martin Sebor <msebor@redhat.com>
3822
3823 [BZ #18435]
3824 * nptl/Makefile: Add tst-once5.cc.
3825 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3826 Remove macro redefinitions.
3827 * nptl/tst-once5.cc: New test.
3828
3829 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3830
3831 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3832
3833 * sysdeps/arm/libm-test-ulps: Regenerated.
3834
3835 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3836 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3837
3838 2015-06-30 Torvald Riegel <triegel@redhat.com>
3839
3840 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3841 lll_lock_wait_private and lll_futex_wake probes.
3842
3843 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3844 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3845 Likewise.
3846 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3847 atomic_spin_nop.
3848 * sysdeps/x86_64/bits/atomic.h: Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3850 to atomic_spin_nop and move ...
3851 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3852 ... here and ...
3853 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3854 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3855 atomic_spin_nop instead of BUSY_WAIT_NOP.
3856 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3857 Likewise.
3858 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3859 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3860 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3861 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3862 instead of atomic_delay.
3863
3864 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3865
3866 [BZ #18613]
3867 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3868 X_ADJ not X when adjusting exponent.
3869 (__ieee754_gamma_r): Do intermediate computations in
3870 round-to-nearest then adjust overflowing and underflowing results
3871 as needed.
3872 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3873 of X_ADJ not X when adjusting exponent.
3874 (__ieee754_gammaf_r): Do intermediate computations in
3875 round-to-nearest then adjust overflowing and underflowing results
3876 as needed.
3877 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3878 log of X_ADJ not X when adjusting exponent.
3879 (__ieee754_gammal_r): Do intermediate computations in
3880 round-to-nearest then adjust overflowing and underflowing results
3881 as needed. Use 1.0L not 1.0f as numerator of division.
3882 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3883 log of X_ADJ not X when adjusting exponent.
3884 (__ieee754_gammal_r): Do intermediate computations in
3885 round-to-nearest then adjust overflowing and underflowing results
3886 as needed. Use 1.0L not 1.0f as numerator of division.
3887 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3888 of X_ADJ not X when adjusting exponent.
3889 (__ieee754_gammal_r): Do intermediate computations in
3890 round-to-nearest then adjust overflowing and underflowing results
3891 as needed. Use 1.0L not 1.0f as numerator of division.
3892 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3893 to auto-libm-test-in.
3894 (tgamma_test): Use ALL_RM_TEST.
3895 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3896 tests of tgamma with spurious-overflow.
3897 * math/auto-libm-test-out: Regenerated.
3898 * math/gen-libm-have-vector-test.sh: Do not check for START.
3899 * sysdeps/i386/fpu/libm-test-ulps: Update.
3900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3901
3902 [BZ #18612]
3903 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3904 arguments, just return 0.5 times the argument, with underflow
3905 forced as needed.
3906 * math/auto-libm-test-in: Add more tests of j1.
3907 * math/auto-libm-test-out: Regenerated.
3908
3909 [BZ #16559]
3910 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3911 (__ieee754_j1): Force underflow exception for small results.
3912 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3913 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3914 (__ieee754_j1f): Force underflow exception for small results.
3915 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3916 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3917 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3918 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3919 (__ieee754_j1l): Force underflow exception for small results.
3920 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3921 * math/auto-libm-test-in: Add more tests of j1 and jn.
3922 * math/auto-libm-test-out: Regenerated.
3923
3924 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3925 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3926 (PF_MPLS): Likewise.
3927 (AF_IB): Likewise.
3928 (AF_MPLS): Likewise.
3929 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3930 value and macro.
3931 (MS_RMT_MASK): Include MS_LAZYTIME.
3932
3933 2015-06-26 Mel Gorman <mgorman@suse.de>
3934
3935 [BZ #18502]
3936 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3937 already minimal.
3938
3939 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3940
3941 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3942 (DT_MIPS_NUM): Update.
3943 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3944 DT_MIPS_RLD_MAP_REL.
3945
3946 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3947
3948 [BZ #16559]
3949 [BZ #18602]
3950 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3951 round-to-nearest internally then recompute results that
3952 underflowed to zero in the original rounding mode.
3953 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3954 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3956 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3957 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3958 * sysdeps/i386/fpu/libm-test-ulps: Update.
3959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3960
3961 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3962
3963 * NEWS: Fixed description of link with vector math library.
3964
3965 2015-06-25 Andreas Schwab <schwab@suse.de>
3966
3967 [BZ #18549]
3968 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3969 * libio/test-fmemopen.c (do_test): Add test for it.
3970
3971 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3972
3973 [BZ #17841]
3974 * Makeconfig (no-pie-ldflag): New.
3975 (+link): Set to $(+link-pie) if default to PIE.
3976 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3977 * config.make.in (build-pie-default): New.
3978 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3979 is default. AC_SUBST.
3980 * configure: Regenerated.
3981 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3982
3983 2015-06-24 Roland McGrath <roland@hack.frob.com>
3984
3985 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3986 to 'unsigned int'.
3987
3988 * resolv/gai_misc.h (struct waitlist): Change type of field
3989 counterp to 'volatile unsigned int *'.
3990 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3991 FUTEXADDR and OLDVAL.
3992 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3993 Give local variable TOTAL type 'volatile unsigned int'.
3994 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3995 * resolv/gai_suspend.c (gai_suspend):
3996 Give local variable CNTR type 'unsigned int'.
3997
3998 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3999 counterp to 'volatile unsigned int *'.
4000 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4001 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4002 (aio_suspend): Give local variable CNTR type 'unsigned int'.
4003 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4004 Give local variable TOTAL type 'volatile unsigned int'.
4005 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4006
4007 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4008
4009 [BZ #18383]
4010 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4011 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
4012 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4013 comment for i386/x86-64.
4014 (test-xfail-tst-tlsalign-extern-static): Removed.
4015
4016 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4017
4018 * math/test-double.h: New file.
4019 * math/test-float.h: Likewise.
4020 * math/test-ldouble.h: Likewise.
4021 * math/test-math-inline.h: Likewise.
4022 * math/test-math-no-inline.h: Likewise.
4023 * math/test-math-scalar.h: Likewise.
4024 * math/test-math-vector.h: Likewise.
4025 * math/test-vec-loop.h: Remove file. Contents moved into
4026 test-math-vector.h.
4027 * math/libm-test.inc (MATHCONST): Do not document macro.
4028 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4029 and test-math-scalar.h.
4030 (FUNC): Remove macro.
4031 (FUNC_TEST): Likewise.
4032 (FLOAT): Likewise.
4033 (MATHCONST): Likewise.
4034 (PRINTF_EXPR): Likewise.
4035 (PRINTF_XEXPR): Likewise.
4036 (PRINTF_NEXPR): Likewise.
4037 (TEST_DOUBLE): Likewise.
4038 (TEST_MATHVEC): Likewise.
4039 (__NO_MATH_INLINES): Likewise.
4040 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4041 and test-math-scalar.h.
4042 (FUNC): Remove macro.
4043 (FUNC_TEST): Likewise.
4044 (FLOAT): Likewise.
4045 (MATHCONST): Likewise.
4046 (PRINTF_EXPR): Likewise.
4047 (PRINTF_XEXPR): Likewise.
4048 (PRINTF_NEXPR): Likewise.
4049 (TEST_FLOAT): Likewise.
4050 (TEST_MATHVEC): Likewise.
4051 (__NO_MATH_INLINES): Likewise.
4052 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4053 and test-math-scalar.h.
4054 (FUNC): Remove macro.
4055 (FUNC_TEST): Likewise.
4056 (FLOAT): Likewise.
4057 (MATHCONST): Likewise.
4058 (PRINTF_EXPR): Likewise.
4059 (PRINTF_XEXPR): Likewise.
4060 (PRINTF_NEXPR): Likewise.
4061 (TEST_DOUBLE): Likewise.
4062 (TEST_MATHVEC): Likewise.
4063 (TEST_INLINE): Likewise.
4064 (__NO_MATH_INLINES): Likewise.
4065 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4066 test-math-scalar.h.
4067 (FUNC): Remove macro.
4068 (FUNC_TEST): Likewise.
4069 (FLOAT): Likewise.
4070 (MATHCONST): Likewise.
4071 (PRINTF_EXPR): Likewise.
4072 (PRINTF_XEXPR): Likewise.
4073 (PRINTF_NEXPR): Likewise.
4074 (TEST_FLOAT): Likewise.
4075 (TEST_MATHVEC): Likewise.
4076 (TEST_INLINE): Likewise.
4077 (__NO_MATH_INLINES): Likewise.
4078 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4079 and test-math-scalar.h.
4080 (FUNC): Remove macro.
4081 (FUNC_TEST): Likewise.
4082 (FLOAT): Likewise.
4083 (MATHCONST): Likewise.
4084 (PRINTF_EXPR): Likewise.
4085 (PRINTF_XEXPR): Likewise.
4086 (PRINTF_NEXPR): Likewise.
4087 (TEST_LDOUBLE): Likewise.
4088 (TEST_MATHVEC): Likewise.
4089 (TEST_INLINE): Likewise.
4090 (__NO_MATH_INLINES): Likewise.
4091 * math/test-ldouble.c: Include test-ldouble.h,
4092 test-math-no-inline.h and test-math-scalar.h.
4093 (FUNC): Remove macro.
4094 (FUNC_TEST): Likewise.
4095 (FLOAT): Likewise.
4096 (MATHCONST): Likewise.
4097 (PRINTF_EXPR): Likewise.
4098 (PRINTF_XEXPR): Likewise.
4099 (PRINTF_NEXPR): Likewise.
4100 (TEST_LDOUBLE): Likewise.
4101 (TEST_MATHVEC): Likewise.
4102 (__NO_MATH_INLINES): Likewise.
4103 * math/test-double-vlen2.h: Include test-double.h,
4104 test-math-no-inline.h and test-math-vector.h.
4105 (FLOAT): Remove macro.
4106 (FUNC): Likewise.
4107 (MATHCONST): Likewise.
4108 (PRINTF_EXPR): Likewise.
4109 (PRINTF_XEXPR): Likewise.
4110 (PRINTF_NEXPR): Likewise.
4111 (TEST_DOUBLE): Likewise.
4112 (TEST_MATHVEC): Likewise.
4113 (__NO_MATH_INLINES): Likewise.
4114 (CNCT): Likewise.
4115 (CONCAT): Likewise.
4116 (WRAPPER_NAME): Likewise.
4117 (WRAPPER_DECL): Likewise.
4118 (WRAPPER_DECL_ff): Likewise.
4119 (WRAPPER_DECL_fFF): Likewise.
4120 (VECTOR_WRAPPER): Likewise.
4121 (VECTOR_WRAPPER_ff): Likewise.
4122 (VECTOR_WRAPPER_fFF): Likewise.
4123 (VEC_LEN): New macro.
4124 * math/test-double-vlen4.h: Include test-double.h,
4125 test-math-no-inline.h and test-math-vector.h.
4126 (FLOAT): Remove macro.
4127 (FUNC): Likewise.
4128 (MATHCONST): Likewise.
4129 (PRINTF_EXPR): Likewise.
4130 (PRINTF_XEXPR): Likewise.
4131 (PRINTF_NEXPR): Likewise.
4132 (TEST_DOUBLE): Likewise.
4133 (TEST_MATHVEC): Likewise.
4134 (__NO_MATH_INLINES): Likewise.
4135 (CNCT): Likewise.
4136 (CONCAT): Likewise.
4137 (WRAPPER_NAME): Likewise.
4138 (WRAPPER_DECL): Likewise.
4139 (WRAPPER_DECL_ff): Likewise.
4140 (WRAPPER_DECL_fFF): Likewise.
4141 (VECTOR_WRAPPER): Likewise.
4142 (VECTOR_WRAPPER_ff): Likewise.
4143 (VECTOR_WRAPPER_fFF): Likewise.
4144 (VEC_LEN): New macro.
4145 * math/test-double-vlen8.h: Include test-double.h,
4146 test-math-no-inline.h and test-math-vector.h.
4147 (FLOAT): Remove macro.
4148 (FUNC): Likewise.
4149 (MATHCONST): Likewise.
4150 (PRINTF_EXPR): Likewise.
4151 (PRINTF_XEXPR): Likewise.
4152 (PRINTF_NEXPR): Likewise.
4153 (TEST_DOUBLE): Likewise.
4154 (TEST_MATHVEC): Likewise.
4155 (__NO_MATH_INLINES): Likewise.
4156 (CNCT): Likewise.
4157 (CONCAT): Likewise.
4158 (WRAPPER_NAME): Likewise.
4159 (WRAPPER_DECL): Likewise.
4160 (WRAPPER_DECL_ff): Likewise.
4161 (WRAPPER_DECL_fFF): Likewise.
4162 (VECTOR_WRAPPER): Likewise.
4163 (VECTOR_WRAPPER_ff): Likewise.
4164 (VECTOR_WRAPPER_fFF): Likewise.
4165 (VEC_LEN): New macro.
4166 * math/test-float-vlen4.h: Include test-float.h,
4167 test-math-no-inline.h and test-math-vector.h.
4168 (FLOAT): Remove macro.
4169 (FUNC): Likewise.
4170 (MATHCONST): Likewise.
4171 (PRINTF_EXPR): Likewise.
4172 (PRINTF_XEXPR): Likewise.
4173 (PRINTF_NEXPR): Likewise.
4174 (TEST_FLOAT): Likewise.
4175 (TEST_MATHVEC): Likewise.
4176 (__NO_MATH_INLINES): Likewise.
4177 (CNCT): Likewise.
4178 (CONCAT): Likewise.
4179 (WRAPPER_NAME): Likewise.
4180 (WRAPPER_DECL): Likewise.
4181 (WRAPPER_DECL_ff): Likewise.
4182 (WRAPPER_DECL_fFF): Likewise.
4183 (VECTOR_WRAPPER): Likewise.
4184 (VECTOR_WRAPPER_ff): Likewise.
4185 (VECTOR_WRAPPER_fFF): Likewise.
4186 (VEC_LEN): New macro.
4187 * math/test-float-vlen8.h: Include test-float.h,
4188 test-math-no-inline.h and test-math-vector.h.
4189 (FLOAT): Remove macro.
4190 (FUNC): Likewise.
4191 (MATHCONST): Likewise.
4192 (PRINTF_EXPR): Likewise.
4193 (PRINTF_XEXPR): Likewise.
4194 (PRINTF_NEXPR): Likewise.
4195 (TEST_FLOAT): Likewise.
4196 (TEST_MATHVEC): Likewise.
4197 (__NO_MATH_INLINES): Likewise.
4198 (CNCT): Likewise.
4199 (CONCAT): Likewise.
4200 (WRAPPER_NAME): Likewise.
4201 (WRAPPER_DECL): Likewise.
4202 (WRAPPER_DECL_ff): Likewise.
4203 (WRAPPER_DECL_fFF): Likewise.
4204 (VECTOR_WRAPPER): Likewise.
4205 (VECTOR_WRAPPER_ff): Likewise.
4206 (VECTOR_WRAPPER_fFF): Likewise.
4207 (VEC_LEN): New macro.
4208 * math/test-float-vlen16.h: Include test-float.h,
4209 test-math-no-inline.h and test-math-vector.h.
4210 (FLOAT): Remove macro.
4211 (FUNC): Likewise.
4212 (MATHCONST): Likewise.
4213 (PRINTF_EXPR): Likewise.
4214 (PRINTF_XEXPR): Likewise.
4215 (PRINTF_NEXPR): Likewise.
4216 (TEST_FLOAT): Likewise.
4217 (TEST_MATHVEC): Likewise.
4218 (__NO_MATH_INLINES): Likewise.
4219 (CNCT): Likewise.
4220 (CONCAT): Likewise.
4221 (WRAPPER_NAME): Likewise.
4222 (WRAPPER_DECL): Likewise.
4223 (WRAPPER_DECL_ff): Likewise.
4224 (WRAPPER_DECL_fFF): Likewise.
4225 (VECTOR_WRAPPER): Likewise.
4226 (VECTOR_WRAPPER_ff): Likewise.
4227 (VECTOR_WRAPPER_fFF): Likewise.
4228 (VEC_LEN): New macro.
4229 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4230 test-vec-loop.h.
4231 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4232 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4233 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4234 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4235 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4236 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4237 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4238
4239 2015-06-24 Roland McGrath <roland@hack.frob.com>
4240
4241 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4242 (__getlogin_r): ... this.
4243
4244 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4245
4246 [BZ #18594]
4247 * math/s_ccosh.c (__ccosh): Compare with least normal value
4248 instead of comparing class with FP_SUBNORMAL.
4249 * math/s_ccoshf.c (__ccoshf): Likewise.
4250 * math/s_ccoshl.c (__ccoshl): Likewise.
4251 * math/s_cexp.c (__cexp): Likewise.
4252 * math/s_cexpf.c (__cexpf): Likewise.
4253 * math/s_cexpl.c (__cexpl): Likewise.
4254 * math/s_csin.c (__csin): Likewise.
4255 * math/s_csinf.c (__csinf): Likewise.
4256 * math/s_csinh.c (__csinh): Likewise.
4257 * math/s_csinhf.c (__csinhf): Likewise.
4258 * math/s_csinhl.c (__csinhl): Likewise.
4259 * math/s_csinl.c (__csinl): Likewise.
4260 * math/s_ctan.c (__ctan): Likewise.
4261 * math/s_ctanf.c (__ctanf): Likewise.
4262 * math/s_ctanh.c (__ctanh): Likewise.
4263 * math/s_ctanhf.c (__ctanhf): Likewise.
4264 * math/s_ctanhl.c (__ctanhl): Likewise.
4265 * math/s_ctanl.c (__ctanl): Likewise.
4266 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4267 csin, csinh, ctan and ctanh.
4268 * math/auto-libm-test-out: Regenerated.
4269 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4270 * sysdeps/i386/fpu/libm-test-ulps: Update.
4271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4272
4273 2015-06-24 Roland McGrath <roland@hack.frob.com>
4274
4275 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4276 return value is wrong, print the expected value too.
4277
4278 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4279
4280 [BZ #18585]
4281 * elf/readlib.c (is_gdb_python_file): New.
4282 (process_file): Don't issue errors on filenames with -gdb.py
4283 suffix.
4284
4285 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4286
4287 * math/auto-libm-test-in: Add more tests of csin and csinh.
4288 * math/auto-libm-test-out: Regenerated.
4289 * math/libm-test.inc (csin_test_data): Remove tests moved to
4290 auto-libm-test-in.
4291 (csinh_test_data): Likewise.
4292
4293 [BZ #18593]
4294 * math/s_csin.c (__csin): Negate before rather than after possibly
4295 overflowing multiplication.
4296 * math/s_csinf.c (__csinf): Likewise.
4297 * math/s_csinh.c (__csinh): Likewise.
4298 * math/s_csinhf.c (__csinhf): Likewise.
4299 * math/s_csinhl.c (__csinhl): Likewise.
4300 * math/s_csinl.c (__csinl): Likewise.
4301 * math/auto-libm-test-in: Add some tests of csin and csinh.
4302 * math/auto-libm-test-out: Regenerated.
4303 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4304 (csinh_test_data): Likewise.
4305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4306
4307 [BZ #18586]
4308 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4309 underflow exception for small results.
4310
4311 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4312
4313 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4314 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4315 variable and included header.
4316 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4317 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4318 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4319 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4320 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4321 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4322 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4323 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4324 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4325 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4326 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4327 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4328 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4329 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4330 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4331 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4332
4333 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4334
4335 [BZ #16526]
4336 [BZ #16538]
4337 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4338 (__sin): Force underflow exception for arguments with small
4339 absolute value.
4340 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4341 (__kernel_sinf): Force underflow exception for arguments with
4342 small absolute value.
4343 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4344 (__kernel_sincosl): Force underflow exception for arguments with
4345 small absolute value.
4346 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4347 (__kernel_sinl): Force underflow exception for arguments with
4348 small absolute value.
4349 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4350 (__kernel_sincosl): Force underflow exception for arguments with
4351 small absolute value.
4352 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4353 (__kernel_sinl): Force underflow exception for arguments with
4354 small absolute value.
4355 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4356 (__kernel_sinl): Force underflow exception for arguments with
4357 small absolute value.
4358 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4359 (__kernel_sinf): Force underflow exception for arguments with
4360 small absolute value.
4361 * math/auto-libm-test-in: Add more tests of sin and sincos.
4362 * math/auto-libm-test-out: Regenerated.
4363
4364 [BZ #18245]
4365 [BZ #18583]
4366 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4367 (__kernel_standard_l): Use feholdexcept and fesetenv around
4368 conversion to double instead of special-casing overflow and
4369 underflow.
4370 * math/libm-test.inc (fmod_test_data): Add more tests.
4371 (remainder_test_data): Likewise.
4372 (sqrt_test_data): Likewise.
4373
4374 2015-06-23 Torvald Riegel <triegel@redhat.com>
4375
4376 [BZ #17403]
4377 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4378 atomic_read_barrier, atomic_write_barrier): Define.
4379 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4380 atomic_read_barrier, atomic_write_barrier): Define.
4381
4382 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4383
4384 * math/Makefile [$(PERL) != no]
4385 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4386 dependency on libm-test.stmp below the inclusion of Rules.
4387
4388 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4389
4390 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4391 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4392 and included header.
4393 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4394 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4395 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4396 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4397 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4398 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4399 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4400 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4401 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4402 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4403 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4404 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4405 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4406 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4407 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4408 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4409 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4410 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4411 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4412
4413 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4414
4415 [BZ #18371]
4416 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4417 intermediate but not final result might underflow.
4418 * math/s_csqrtf.c (__csqrtf): Likewise.
4419 * math/s_csqrtl.c (__csqrtl): Likewise.
4420 * math/auto-libm-test-in: Add more tests of csqrt.
4421 * math/auto-libm-test-out: Regenerated.
4422 * sysdeps/i386/fpu/libm-test-ulps: Update.
4423
4424 [BZ #18219]
4425 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4426 threshold on absolute value of exponent for which scaling is used.
4427 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4428 * math/auto-libm-test-in: Add more tests of exp2.
4429 * math/auto-libm-test-out: Regenerated.
4430
4431 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4432
4433 [BZ #17977]
4434 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4435 when initializing interface list, based on the bug analysis
4436 and the patch proposed by Eric Newton.
4437 * resolv/tst-res_hconf_reorder.c: New test.
4438 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4439 tst-res_hconf_reorder.
4440 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4441 and $(shared-thread-library).
4442 (tst-res_hconf_reorder-ENV): New variable.
4443
4444 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4445 in comment.
4446
4447 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4448
4449 [BZ #16353]
4450 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4451 (__expm1): Force underflow exception for arguments with small
4452 absolute value.
4453 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4454 (__expm1f): Force underflow exception for arguments with small
4455 absolute value.
4456 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4457 (__expm1): Force underflow exception for arguments with small
4458 absolute value.
4459 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4460 (__expm1f): Force underflow exception for arguments with small
4461 absolute value.
4462 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4463 Check for small arguments before calling __expm1.
4464 * math/auto-libm-test-in: Do not mark underflow exceptions as
4465 possibly missing for bug 16353.
4466 * math/auto-libm-test-out: Regenerated.
4467
4468 2015-06-22 Andreas Schwab <schwab@suse.de>
4469
4470 [BZ #18513]
4471 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4472 PTR queries.
4473
4474 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4475
4476 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4477
4478 * string/strcoll_l.c: Remove unused struct element idxnow.
4479
4480 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4481
4482 [BZ #18569]
4483 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4484 underflow and return argument in case of subnormal argument.
4485 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4486 Likewise.
4487 * math/auto-libm-test-in: Add more tests of expm1.
4488 * math/auto-libm-test-out: Regenerated.
4489
4490 [BZ #16361]
4491 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4492 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4493 tiny results.
4494 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4495 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4496 tiny results.
4497 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4498 mark underflow exceptions as possibly missing for bug 16361.
4499 * math/auto-libm-test-out: Regenerated.
4500
4501 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4502
4503 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4504 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4505 Remove variable.
4506 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4507 (test-xfail-XOPEN2K8/utmpx.h/conform).
4508
4509 * conform/conformtest.pl ($xerrors): New variable.
4510 (note_error): New function.
4511 (compiletest): New argument $xfail. Use not_error.
4512 (runtest): Likewise.
4513 (top level): Handle xfail- lines. Update calls to compiletest and
4514 runtest. Handle xfail- and optional- in headers listed with
4515 allow-header.
4516 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4517 (O_EXEC): Likewise.
4518 (O_SEARCH): Likewise.
4519 * conform/data/stropts.h-data (ioctl): Likewise.
4520 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4521 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4522 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4523 (msghdr.msg_controllen): Likewise.
4524 (cmsghdr.cmsg_len): Likewise.
4525 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4526 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4527 variable.
4528 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4529 (test-xfail-XPG4/stropts.h/conform): Likewise.
4530 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4531 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4532 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4533 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4534 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4535 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4536 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4537 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4538 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4539 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4540 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4541 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4542 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4543 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4544 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4545 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4546 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4547 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4548 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4549
4550 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4551
4552 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4553 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4554 definitions for proper unfolding of __MATHDECL_VEC.
4555
4556 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4557
4558 * benchtests/bench-strcoll.c:
4559 Include string.h.
4560 (main): Remove unused variable res.
4561
4562 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4563
4564 * timezone/Makefile (%/UTC %/Universal):
4565 Generate test-result files for UTC and Universal.
4566
4567 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4568
4569 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4570
4571 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4572
4573 [BZ #16350]
4574 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4575 for arguments with small absolute value.
4576 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4577 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4578 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4579 (__asinh): Force underflow exception for arguments with small
4580 absolute value.
4581 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4582 (__asinhf): Force underflow exception for arguments with small
4583 absolute value.
4584 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4585 (__asinhl): Force underflow exception for arguments with small
4586 absolute value.
4587 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4588 (__asinhl): Force underflow exception for arguments with small
4589 absolute value.
4590 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4591 (__asinhl): Force underflow exception for arguments with small
4592 absolute value.
4593 * math/auto-libm-test-in: Do not mark underflow exceptions as
4594 possibly missing for bug 16350.
4595 * math/auto-libm-test-out: Regenerated.
4596
4597 * include/bits/ipc.h: Remove file.
4598 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4599 variable.
4600 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4601 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4602 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4603 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4604 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4605 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4606 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4607 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4608 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4609
4610 * math/auto-libm-test-in: Remove spurious underflow allowance for
4611 tests of cexp.
4612 * math/auto-libm-test-out: Regenerated.
4613
4614 [BZ #18558]
4615 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4616 unconditional definition.
4617 (MCAST_BLOCK_SOURCE): Likewise.
4618 (MCAST_UNBLOCK_SOURCE): Likewise.
4619 (MCAST_LEAVE_GROUP): Likewise.
4620 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4621 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4622 (MCAST_MSFILTER): Likewise.
4623 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4624 Remove variable.
4625 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4626 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4627 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4628 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4629 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4630
4631 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4632
4633 * NEWS: Mention addition of x86_64 vector sincosf.
4634 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4635 * math/test-float-vlen4.h: Likewise.
4636 * math/test-float-vlen8.h: Likewise.
4637 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4638 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4639 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4640 * sysdeps/x86_64/fpu/Versions: New versions added.
4641 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4642 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4643 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4644 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4645 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4646 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4647 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4648 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4649 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4650 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4651 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4652 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4653 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4654 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4655 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4656 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4657 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4658 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4659 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4660 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4661 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4662 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4663 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4664 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4665
4666 * NEWS: Mention addition of x86_64 vector sincos.
4667 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4668 * math/math.h (__MATHDECL_VEC): New macro.
4669 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4670 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4671 declaration under condition.
4672 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4673 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4674 TEST_VEC_LOOP change.
4675 * math/test-double-vlen4.h: Likewise.
4676 * math/test-double-vlen8.h: Likewise.
4677 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4678 * math/test-float-vlen4.h: Likewise.
4679 * math/test-float-vlen8.h: Likewise.
4680 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4681 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4682 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4683 * sysdeps/x86_64/fpu/Versions: New versions added.
4684 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4685 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4686 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4687 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4688 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4689 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4690 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4691 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4692 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4693 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4694 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4695 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4696 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4697 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4698 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4699 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4700 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4701 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4702 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4703 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4704 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4705 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4706 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4707 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4708
4709 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4710 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4711 redirections for powf.
4712 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4713 * sysdeps/x86_64/fpu/Versions: New versions added.
4714 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4715 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4716 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4717 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4718 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4719 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4720 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4721 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4722 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4723 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4724 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4725 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4726 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4727 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4728 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4729 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4730 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4731 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4732 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4733 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4734 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4735 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4736 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4737 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4738 * math/test-float-vlen16.h: Fixed 2 argument macro.
4739 * math/test-float-vlen4.h: Likewise.
4740 * math/test-float-vlen8.h: Likewise.
4741 * NEWS: Mention addition of x86_64 vector powf.
4742
4743 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4744
4745 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4746 and redefine.
4747 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4748 and redefine.
4749 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4750 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4751 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4752
4753 [BZ #18553]
4754 * resource/getpriority.c (getpriority): Rename to __getpriority
4755 and define as weak alias of __getpriority.
4756 * resource/setpriority.c (setpriority): Rename to __setpriority
4757 and define as weak alias of __setpriority.
4758 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4759 __getpriority and define as weak alias of __getpriority.
4760 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4761 __setpriority and define as weak alias of __setpriority.
4762 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4763 strong name.
4764 (setpriority): Use __setpriority as strong name.
4765 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4766 __getpriority and define as weak alias of __getpriority.
4767 * include/sys/resource.h (__getpriority): Declare. Use
4768 libc_hidden_proto.
4769 (__setpriority): Likewise.
4770 (getpriority): Don't use libc_hidden_proto.
4771 (setpriority): Likewise.
4772 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4773 getpriority. Call __setpriority instead of setpriority.
4774 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4775 Remove variable.
4776
4777 [BZ #18547]
4778 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4779 as weak alias of __getttynam. Use prototype function definition.
4780 Call __setttyent, __getttyent and __endttyent instead of
4781 setttyent, getttyent and endttyent.
4782 (getttyent): Rename to __getttyent and define as weak alias of
4783 __getttyent. Call __setttyent instead of setttyent. Call
4784 __fgets_unlocked instead of fgets_unlocked.
4785 (setttyent): Rename to __setttyent and define as weak alias of
4786 __setttyent.
4787 (endttyent): Rename to __endttyent and define as weak alias of
4788 __endttyent.
4789 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4790 (__setttyent): Likewise.
4791 (__endttyent): Likewise.
4792 (getttyent): Don't use libc_hidden_proto.
4793 (setttyent): Likewise.
4794 (endttyent): Likewise.
4795 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4796 __endttyent instead of setttyent, getttyent and endttyent.
4797 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4798 Remove variable.
4799
4800 [BZ #18546]
4801 * socket/recv.c (__recv): Use libc_hidden_def.
4802 * socket/socket.c (__socket): Likewise.
4803 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4804 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4805 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4806 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4807 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4808 libc_hidden_def.
4809 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4810 libc_hidden_weak.
4811 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4812 Use libc_hidden_proto.
4813 (__recv): Likewise.
4814 * socket/Versions (libc): Export __recv and __socket at version
4815 GLIBC_PRIVATE.
4816 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4817 instead of recv.
4818 (init_mq_netlink): Call __socket instead of socket.
4819 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4820 Remove variable.
4821
4822 [BZ #18545]
4823 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4824 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4825 hidden_weak.
4826 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4827 define as alias of __mq_timedsend. Use hidden_weak.
4828 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4829 __mq_timedsend as strong name.
4830 (mq_timedreceive): Use __mq_timedreceive as strong name.
4831 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4832 (__mq_timedreceive): Likewise.
4833 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4834 __mq_timedreceive instead of mq_timedreceive.
4835 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4836 instead of mq_timedsend.
4837 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4838 Remove variable.
4839
4840 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4841 hidden_def and hidden_weak instead of libc_hidden_def and
4842 libc_hidden_weak.
4843 (top level): Refer to hidden_def in comment.
4844 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4845 macro. Use it instead of libc_hidden_def.
4846 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4847 specify __GI_* name explicitly.
4848 (mq_timedreceive): Likewise.
4849 (mq_setattr): Likewise.
4850
4851 [BZ #18544]
4852 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4853 __pthread_barrier_init and define as weak alias of
4854 __pthread_barrier_init.
4855 * sysdeps/sparc/nptl/pthread_barrier_init.c
4856 (pthread_barrier_init): Likewise.
4857 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4858 __pthread_barrier_wait and define as weak alias of
4859 __pthread_barrier_wait.
4860 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4861 (pthread_barrier_wait): Likewise.
4862 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4863 (pthread_barrier_wait): Likewise.
4864 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4865 (pthread_barrier_wait): Likewise.
4866 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4867 (pthread_barrier_wait): Likewise.
4868 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4869 __pthread_barrier_wait at version GLIBC_PRIVATE.
4870 * include/pthread.h (__pthread_barrier_init): Declare.
4871 (__pthread_barrier_wait): Likewise.
4872 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4873 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4874 (helper_thread): Likewise.
4875 (init_mq_netlink): Call __pthread_barrier_init instead of
4876 pthread_barrier_init.
4877
4878 [BZ #18542]
4879 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4880 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4881 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4882 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4883 vswscanf.
4884 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4885 Remove variable.
4886
4887 [BZ #18540]
4888 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4889 strong alias of _IO_fflush. Use libc_hidden_def.
4890 * libio/iofflush_u.c (fflush_unlocked): Rename to
4891 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4892 Use libc_hidden_weak.
4893 * include/stdio.h (__fflush_unlocked): Declare. Use
4894 libc_hidden_proto.
4895 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4896 fflush_unlocked.
4897 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4898 Remove variable.
4899
4900 [BZ #18539]
4901 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4902 define as weak alias of __addseverity.
4903 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4904 Remove variable.
4905 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4906 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4907 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4908
4909 [BZ #18536]
4910 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4911 (__tfind): Likewise.
4912 (__tdelete): Likewise.
4913 (__twalk): Likewise.
4914 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4915 __twalk to GLIBC_PRIVATE.
4916 * include/search.h (__tsearch): Use libc_hidden_proto.
4917 (__tfind): Likewise.
4918 (__tdelete): Likewise.
4919 (__twalk): Likewise.
4920 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4921 Call __tdelete instead of tdelete.
4922 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4923 tfind. Call __tsearch instead of tsearch.
4924 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4925 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4926 Remove variable.
4927 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4928
4929 [BZ #18534]
4930 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4931 (dprintf): Define as a weak alias of __dprintf, not a strong
4932 alias.
4933 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4934 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4935 dprintf.
4936 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4937 Remove variable.
4938 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4939 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4940
4941 [BZ #18533]
4942 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4943 not a strong alias.
4944 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4945 Remove variable.
4946
4947 [BZ #18532]
4948 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4949 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4950 (in6addr_loopback): Rename to __in6addr_loopback and define as
4951 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4952 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4953 libc_hidden_proto.
4954 (__in6addr_any): Likewise.
4955 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4956 in6addr_any.
4957 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4958 variable.
4959 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4960
4961 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4962
4963 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4964 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4965 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4966 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4967 redirections for pow.
4968 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4969 * sysdeps/x86_64/fpu/Versions: New versions added.
4970 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4971 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4972 build of SSE, AVX2 and AVX512 IFUNC versions.
4973 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4974 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4975 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4976 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4977 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4978 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4979 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4980 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4981 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4982 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4983 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4984 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4985 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4986 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4987 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4988 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4989 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4990 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4991 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4992 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4993 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4994 * NEWS: Mention addition of x86_64 vector pow.
4995
4996 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4997 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4998 redirections for expf.
4999 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5000 * sysdeps/x86_64/fpu/Versions: New versions added.
5001 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5002 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5003 build of SSE, AVX2 and AVX512 IFUNC versions.
5004 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5005 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5006 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5007 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5008 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5009 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5010 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5011 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5012 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5013 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5014 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5015 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5016 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5017 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5018 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5019 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5020 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5021 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5022 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5023 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5024 * NEWS: Mention addition of x86_64 vector expf.
5025
5026 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5027 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5028 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5029 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5030 redirections for exp.
5031 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5032 * sysdeps/x86_64/fpu/Versions: New versions added.
5033 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5034 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5035 build of SSE, AVX2 and AVX512 IFUNC versions.
5036 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5037 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5038 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5039 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5040 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5041 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5042 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5043 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5044 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5045 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5046 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5047 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5048 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5049 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5050 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5051 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5052 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5053 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5054 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5055 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5056 * NEWS: Mention addition of x86_64 vector exp.
5057
5058 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5059 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5060 redirections for logf.
5061 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5062 * sysdeps/x86_64/fpu/Versions: New versions added.
5063 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5064 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5065 build of SSE, AVX2 and AVX512 IFUNC versions.
5066 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5067 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5068 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5069 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5070 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5071 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5072 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5073 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5074 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5075 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5076 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5077 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5078 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5079 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5080 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5081 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5082 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5083 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5084 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5085 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5086 * NEWS: Mention addition of x86_64 vector logf.
5087
5088 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5089 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5090 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5091 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5092 redirections for log.
5093 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5094 * sysdeps/x86_64/fpu/Versions: New versions added.
5095 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5096 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5097 build of SSE, AVX2 and AVX512 IFUNC versions.
5098 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5099 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5100 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5101 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5102 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5103 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5104 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5105 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5106 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5107 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5108 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5109 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5110 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5111 test.
5112 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5113 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5114 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5115 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5116 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5117 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5118 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5119 * NEWS: Mention addition of x86_64 vector log.
5120
5121 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5122
5123 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5124 cfi_adjust_cfa_offset argument.
5125 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5126 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5127
5128 [BZ #18034]
5129 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5130 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5131 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5132 ordering using ldar.
5133 (_dl_tlsdesc_dynamic): Likewise.
5134 (_dl_tlsdesc_return_lazy): Likewise.
5135 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5136 relaxed atomics instead of volatile and synchronize with release store.
5137 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5138 volatile.
5139 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5140
5141 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
5142
5143 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5144 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5145 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5146 * sysdeps/x86_64/fpu/Versions: New versions added.
5147 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5148 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5149 build of SSE, AVX2 and AVX512 IFUNC versions.
5150 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5151 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5152 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5153 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5154 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5155 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5156 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5157 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5158 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5159 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5160 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5161 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5162 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5163 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5164 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5165 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5166 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5167 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5168 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5169 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5170 * NEWS: Mention addition of x86_64 vector sinf.
5171
5172 2015-06-14 Joseph Myers <joseph@codesourcery.com>
5173
5174 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5175 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5176 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5177 Remove variable.
5178 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5179 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5180
5181 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5182
5183 [BZ #18530]
5184 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5185 strong alias of _IO_fputs. Use libc_hidden_def.
5186 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5187 and define as weak alias of __fputs_unlocked. Use
5188 libc_hidden_weak.
5189 * include/stdio.h (__fputs_unlocked): Declare. Use
5190 libc_hidden_proto.
5191 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5192 fputs_unlocked.
5193
5194 [BZ #18529]
5195 * resolv/netdb.h [__USE_POSIX]: Change condition to
5196 [__USE_XOPEN2K].
5197 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5198 not expect.
5199 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5200 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5201 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5202 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5203 [XPG4 || UNIX98] (AI_ALL): Likewise.
5204 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5205 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5206 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5207 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5208 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5209 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5210 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5211 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5212 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5213 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5214 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5215 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5216 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5217 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5218 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5219 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5220 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5221 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5222 [XPG4 || UNIX98] (gai_strerror): Likewise.
5223 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5224 [XPG4 || UNIX98] (getnameinfo): Likewise.
5225
5226 [BZ #18528]
5227 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5228 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5229 __USE_XOPEN2K8].
5230 (getgrent): Likewise.
5231 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5232 expect.
5233 [XPG3 || POSIX2008] (endgrent): Likewise.
5234 [XPG3] (setgrent): Likewise.
5235 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5236 variable.
5237 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5238
5239 [BZ #18527]
5240 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5241 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5242 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5243 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5244 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5245 * include/unistd.h (__getlogin_r): Declare. Use
5246 libc_hidden_proto.
5247 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5248 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5249 variable.
5250 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5251 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5252 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5253
5254 2015-06-12 Martin Sebor <msebor@redhat.com>
5255
5256 [BZ #18512]
5257 * Makerules (check-install-supported): New target.
5258 (install): Add check-install-supported as a dependency.
5259 * manual/install.texi (Installing the C Library): Document
5260 that overriding prefix and exec_prefix is not supported.
5261 Mention DESTDIR.
5262 * INSTALL: Regenerate from the above.
5263
5264 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5265
5266 [BZ #18519]
5267 * posix/Versions (libc): Export __libc_pread at version
5268 GLIBC_PRIVATE.
5269 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5270 instead of pread.
5271 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5272 variable.
5273
5274 [BZ #18522]
5275 * misc/efgcvt_r.c
5276 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5277 (cvt_symbol): Use weak_alias instead of strong_alias.
5278 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5279 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5280 Remove variable.
5281 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5282 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5283
5284 [BZ #18520]
5285 * inet/herrno.c (h_errno): Rename to __h_errno.
5286 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5287 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5288 to __h_errno instead of h_errno.
5289 * nptl/herrno.c (h_errno): Rename to __h_errno.
5290 (__h_errno_location): Refer to __h_errno not h_errno.
5291 * resolv/Versions (h_errno): Rename to __h_errno.
5292 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5293 Remove variable.
5294 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5295
5296 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5297
5298 * configure.ac: More strict check for AVX512 assembler support.
5299 * configure: Regenerated.
5300
5301 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5302 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5303 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5304 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5305 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5306 * sysdeps/x86_64/fpu/Versions: New versions added.
5307 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5308 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5309 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5310 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5311 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5312 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5313 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5314 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5315 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5316 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5317 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5318 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5319 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5320 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5321 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5322 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5323 test.
5324 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5325 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5326 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5327 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5328 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5329 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5330 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5331 * NEWS: Mention addition of x86_64 vector sin.
5332
5333 2015-06-11 Florian Weimer <fweimer@redhat.com>
5334
5335 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5336 comment.
5337
5338 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5339
5340 [BZ #18479]
5341 * nptl/pt-interp.c: New file.
5342 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5343 Add pt-interp.
5344 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5345 $(common-objpfx)runtime-linker.h.
5346
5347 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5348
5349 * Makeconfig (+interp): Remove unused variable.
5350 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5351 only. Depend on $(common-objpfx)runtime-linker.h instead of
5352 $(elf-objpfx)runtime-linker.h.
5353 ($(elf-objpfx)runtime-linker.h): Rename to
5354 $(common-objpfx)runtime-linker.h and move ...
5355 * Makerules [$(build-shared) = yes]: ... here.
5356 * elf/interp.c: Include <runtime-linker.h> instead of
5357 <elf/runtime-linker.h>.
5358
5359 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5360
5361 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5362 (__gettimeofday_syscall): Remove vsyscall fallback.
5363 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5364 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5365 Add syscall fallback function.
5366 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5367 if vDSO is not present.
5368 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5369 fallback function.
5370 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5371 present.
5372 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5373 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5374
5375 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5376
5377 [BZ #18497]
5378 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5379 of wcscmp.
5380 (wcscmp): Define as weak alias of WCSCMP.
5381 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5382 wcscoll.
5383 (USE_HIDDEN_DEF): Define.
5384 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5385 __wcscoll. Don't use libc_hidden_weak.
5386 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5387 wcscmp.
5388 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5389 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5390 __GI_wcscmp.
5391 (weak_alias): Undefine and redefine.
5392 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5393 __wcscmp and define as weak alias of __wcscmp.
5394 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5395 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5396 (__wcscoll): Likewise.
5397 (wcscmp): Don't use libc_hidden_proto.
5398 (wcscoll): Likewise.
5399 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5400 wcscoll.
5401 * posix/regexec.c (check_node_accept_bytes): Likewise.
5402 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5403 variable.
5404 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5405 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5406
5407 [BZ #18507]
5408 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5409 __fstatvfs and define as weak alias of __fstatvfs. Use
5410 libc_hidden_weak.
5411 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5412 and define as weak alias of __statvfs. Use libc_hidden_weak.
5413 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5414 Define as alias of __fstatvfs, not fstatvfs.
5415 (fstatvfs64): Likewise.
5416 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5417 Define as alias of __statvfs, not statvfs.
5418 (statvfs64): Likewise.
5419 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5420 Remove variable.
5421
5422 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5423
5424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5425 (HAVE_GETCPU_VSYSCALL): Define.
5426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5427 (HAVE_GETCPU_VSYSCALL): Likewise.
5428 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5429 * sysdeps/unix/sysv/linux/sched_getcpu.c
5430 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5431 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5432 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5433 prototype.
5434 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5435 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5436 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5438 Define.
5439 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5440 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5441 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5442 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5443
5444 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5445
5446 * sysdeps/x86_64/fpu/Makefile: New file.
5447 * sysdeps/x86_64/fpu/Versions: New file.
5448 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5449 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5450 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5451 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5452 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5453 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5454 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5455 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5456 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5457 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5458 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5459 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5460 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5461 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5462 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5463 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5464 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5465 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5466 * sysdeps/x86_64/configure: Regenerated.
5467 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5468 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5469 * manual/install.texi (Configuring and compiling): Document
5470 --disable-mathvec.
5471 * INSTALL: Regenerated.
5472 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5473
5474 * math/Makefile: Added rules for vector tests.
5475 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5476 declaration under condition.
5477 * math/test-double-vlen2.h: New file.
5478 * math/test-double-vlen4.h: New file.
5479 * math/test-double-vlen8.h: New file.
5480 * math/test-vec-loop.h: Added initialization macro.
5481 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5482 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5483 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5484 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5485 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5486 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5487 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5488 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5489 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5490 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5491 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5492
5493 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5494 * sysdeps/x86_64/fpu/Versions: New versions added.
5495 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5496 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5497 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5498 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5499 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5500 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5501 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5502 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5503 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5504 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5505 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5506 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5507 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5508 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5509 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5510 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5511 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5512 * NEWS: Mention addition of x86_64 vector cosf.
5513
5514 * math/Makefile: Added CFLAGS for new tests.
5515 * math/test-float-vlen16.h: New file.
5516 * math/test-float-vlen4.h: New file.
5517 * math/test-float-vlen8.h: New file.
5518 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5519 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5520 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5521 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5522 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5523 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5524 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5525 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5526 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5527 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5528 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5529
5530 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5531
5532 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5533 * locale/programs/ld-ctype.c: Likewise.
5534
5535 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5536
5537 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5538 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5539 bit_ZMM16_31_state): New macro.
5540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5541 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5542
5543 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5544
5545 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5546
5547 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5548
5549 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5550
5551 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5552
5553 [BZ #18498]
5554 * libio/memstream.c (open_memstream): Rename to __open_memstream
5555 and define as weak alias of __open_memstream.
5556 * include/stdio.h (__open_memstream): Declare. Use
5557 libc_hidden_proto.
5558 (open_memstream): Don't use libc_hidden_proto.
5559 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5560 open_memstream.
5561 * posix/getopt.c (_getopt_internal_r): Likewise.
5562 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5563 variable.
5564 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5565 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5566 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5567
5568 [BZ #18496]
5569 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5570 instead of wcrtomb.
5571
5572 [BZ #18483]
5573 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5574 [__USE_XOPEN2K8]. Remove redundant #endif.
5575 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5576 Remove redundant #if.
5577 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5578 Remove variable.
5579 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5580 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5581
5582 [BZ #18495]
5583 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5584 (__iswlower): Likewise.
5585 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5586 (__iswlower): Likewise.
5587 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5588 instead of towlower.
5589 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5590 instead of iswlower. Call __towupper instead of towupper.
5591 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5592 instead of iswalnum.
5593
5594 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5595
5596 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5597 errors to stderr.
5598
5599 2015-06-05 Florian Weimer <fweimer@redhat.com>
5600
5601 [BZ #15661]
5602 [BZ #17322]
5603 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5604 Check for overflow properly. Check for O_APPEND. Ignore large
5605 file system block sizes. Add comments about problems.
5606 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5607 * manual/filesys.texi (Storage Allocation): New node.
5608
5609 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5610
5611 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5612 cancellable syscalls.
5613 (SYS_ify): Add guard to no redefine it.
5614 (INLINE_SYSCALL): Likewise.
5615 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5616 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5617 SYSCALL_CANCEL instead.
5618 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5619 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5620 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5621 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5622 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5623 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5624 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5625 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5626 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5627 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5628 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5629 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5630 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5631 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5632 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5633 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5634 Likewise.
5635 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5636 (__libc_pread64): Likewise.
5637 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5638 (__libc_preadv): Likewise.
5639 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5640 (__libc_readv64): Likewise.
5641 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5642 (__libc_pwrite): Likewise.
5643 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5644 (__libc_pwrite64): Likewise.
5645 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5646 (__libc_pwritev): Likewise.
5647 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5648 (__libc_pwritev64): Likewise.
5649 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5650 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5651 (sync_file_range): Likewise.
5652 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5653 Likewise.
5654 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5655 Likewise.
5656 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5657 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5658 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5659 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5660 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5661 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5662 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5663 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5665 Likewise.
5666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5667 (__libc_read64): Likewise.
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5669 Likewise.
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5671 Likewise.
5672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5673 Likewise.
5674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5675 Likewise.
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5677 (__libc_pread64): Likewise.
5678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5679 Likewise.
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5681 (__libc_pwrite64): Likewise.
5682 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5683 (sync_file_range): Likewise.
5684 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5685 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5686 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5687 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5688 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5689 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5690 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5691 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5692 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5693 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5694 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5695 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5696 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5697 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5698 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5699 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5700 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5701 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5702 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5703 Likewise.
5704 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5705 Likewise.
5706 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5707 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5708 Likewise.
5709 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5710 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5711 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5712 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5713 Likewise.
5714 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5715 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5716 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5717 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5718 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5719
5720 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5721
5722 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5723 Include dl-vdso.
5724 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5725 Use VDSO routines for gettimeofday, clock_gettime if
5726 available.
5727 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5728 Declare VDSO symbols.
5729 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5730 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5731 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5732 * sysdeps/unix/sysv/linux/arm/Versions: Add
5733 __vdso_clock_gettime.
5734
5735 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5736
5737 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5738 be an inline implementation regardless of library is built within.
5739 (open_not_cancel_2): Likewise.
5740 (__read_nocancel): Likewise.
5741 (__write_nocancel): Likewise.
5742 (openat_not_cancel): Likewise.
5743 (openat_not_cancel_3): Likewise.
5744 (openat64_not_cancel): Likewise.
5745 (openat64_not_cancel_3): Likewise.
5746 (__close_nocancel): Likewise.
5747 (pause_not_cancel): Likewise.
5748 (nanosleep_not_cancel): Likewise.
5749 (sigsuspend_not_cancel): Likewise.
5750
5751 2015-06-04 Torvald Riegel <triegel@redhat.com>
5752
5753 [BZ #14958]
5754 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5755 wake-up.
5756 (__pthread_rwlock_rdlock_slow): Likewise.
5757 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5758 Likewise.
5759 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5760 Likewise.
5761 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5762 * nptl/tst-rwlock16.c: New file.
5763 * nptl/Makefile (tests): Add new test.
5764
5765 2015-06-04 Torvald Riegel <triegel@redhat.com>
5766
5767 [BZ #18324]
5768 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5769 missing wake-up of readers.
5770 * nptl/tst-rwlock15.c: New file.
5771 * nptl/Makefile (tests): Add new test.
5772
5773 2015-06-03 Roland McGrath <roland@hack.frob.com>
5774
5775 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5776 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5777 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5778 and __nacl_supply_interface_rtld.
5779 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5780 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5781 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5782 Add __nacl_supply_interface_rtld.
5783 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5784
5785 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5786
5787 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5788 isfinite.
5789 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5790 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5791
5792 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5793
5794 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5795 __signbit* with standard C99 macros.
5796 * math/e_exp10l.c: Likewise.
5797 * math/e_exp2l.c: Likewise.
5798 * math/e_scalb.c: Likewise.
5799 * math/e_scalbf.c: Likewise.
5800 * math/e_scalbl.c: Likewise.
5801 * math/s_ldexp.c: Likewise.
5802 * math/s_ldexpf.c: Likewise.
5803 * math/s_ldexpl.c: Likewise.
5804 * math/w_atan2.c: Likewise.
5805 * math/w_atan2f.c: Likewise.
5806 * math/w_atan2l.c: Likewise.
5807 * math/w_cosh.c: Likewise.
5808 * math/w_coshf.c: Likewise.
5809 * math/w_coshl.c: Likewise.
5810 * math/w_exp10.c: Likewise.
5811 * math/w_exp10f.c: Likewise.
5812 * math/w_exp10l.c: Likewise.
5813 * math/w_exp2.c: Likewise.
5814 * math/w_exp2f.c: Likewise.
5815 * math/w_exp2l.c: Likewise.
5816 * math/w_fmod.c: Likewise.
5817 * math/w_fmodf.c: Likewise.
5818 * math/w_fmodl.c: Likewise.
5819 * math/w_hypot.c: Likewise.
5820 * math/w_hypotf.c: Likewise.
5821 * math/w_hypotl.c: Likewise.
5822 * math/w_jnl.c: Likewise.
5823 * math/w_lgamma.c: Likewise.
5824 * math/w_lgamma_r.c: Likewise.
5825 * math/w_lgammaf.c: Likewise.
5826 * math/w_lgammaf_r.c: Likewise.
5827 * math/w_lgammal.c: Likewise.
5828 * math/w_lgammal_r.c: Likewise.
5829 * math/w_pow.c: Likewise.
5830 * math/w_powf.c: Likewise.
5831 * math/w_powl.c: Likewise.
5832 * math/w_remainder.c: Likewise.
5833 * math/w_remainderf.c: Likewise.
5834 * math/w_remainderl.c: Likewise.
5835 * math/w_scalb.c: Likewise.
5836 * math/w_scalbf.c: Likewise.
5837 * math/w_scalbl.c: Likewise.
5838 * math/w_scalbln.c: Likewise.
5839 * math/w_scalblnf.c: Likewise.
5840 * math/w_scalblnl.c: Likewise.
5841 * math/w_sinh.c: Likewise.
5842 * math/w_sinhf.c: Likewise.
5843 * math/w_sinhl.c: Likewise.
5844 * math/w_tgamma.c: Likewise.
5845 * math/w_tgammaf.c: Likewise.
5846 * math/w_tgammal.c: Likewise.
5847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5848 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5849 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5850 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5851 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5853 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5854 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5855 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5856 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5857 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5858 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5859 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5860 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5861 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5862 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5863 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5864 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5865 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5867 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5868 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5869 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5870 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5871 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5872 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5873 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5874 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5875 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5876 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5877 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5878 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5879 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5880 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5881 * stdio-common/printf_fp.c: Likewise.
5882 * stdio-common/printf_fphex.c: Likewise.
5883 * stdio-common/printf_size.c: Likewise.
5884
5885 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5886
5887 [BZ #18470]
5888 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5889 strnlen.
5890 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5891 Remove variable.
5892 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5893 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5894 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5895 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5896 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5897 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5898 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5899 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5900 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5901 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5902
5903 [BZ #18468]
5904 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5905 weak alias of __wmemchr. Use libc_hidden_weak.
5906 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5907 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5908 instead of wmemchr.
5909
5910 2015-06-02 Roland McGrath <roland@hack.frob.com>
5911
5912 [BZ #18383]
5913 * elf/tst-tlsalign-extern.c: New file.
5914 * elf/tst-tlsalign-extern-static.c: New file.
5915 * elf/tst-tlsalign-vars.c: New file.
5916 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5917 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5918 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5919 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5920 (test-xfail-tst-tlsalign-extern-static): New variable.
5921
5922 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5923
5924 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5925 Use variable name _sc_err instead of err.
5926 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5927 instead of ret.
5928 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5929 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5930 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5931 (INLINE_SYSCALL): Likewise.
5932
5933 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5934 * include/string.h (__strnlen): Use libc_hidden_proto.
5935 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5936 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5937 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5938 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5939 (libc_hidden_def): Undefine and redefine.
5940 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5941 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5942 __GI_strnlen.
5943 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5944 libc_hidden_def.
5945 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5946
5947 [BZ #18469]
5948 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5949 weak alias of __towlower. Use libc_hidden_weak.
5950 (towupper): Rename to __towupper and define as weak alias of
5951 __towupper. Use libc_hidden_weak.
5952 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5953 (__towupper): Likewise.
5954 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5955 __towlower instead of towlower.
5956
5957 2015-06-02 Roland McGrath <roland@hack.frob.com>
5958
5959 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5960 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5961
5962 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5963
5964 * sysdeps/aarch64/libm-test-ulps: Update.
5965
5966 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5967
5968 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5969 Define.
5970 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5972 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5973 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5974 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5975 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5976 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5977
5978 2015-06-01 Martin Sebor <msebor@redhat.com>
5979
5980 [BZ #18116]
5981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5982 (__setcontext): Use extended four-operand version of mtsf whenever
5983 possible.
5984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5985 (__novec_swapcontext): Likewise.
5986
5987 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5988
5989 * benchtests/scripts/compare_bench.py: New file.
5990 * benchtests/scripts/import_bench.py (mean): New function.
5991 (split_list): Likewise.
5992 (do_for_all_timings): Likewise.
5993 (compress_timings): Likewise.
5994
5995 * benchtests/scripts/import_bench.py: New file.
5996 * benchtests/scripts/validate_benchout.py: Import import_bench
5997 instead of jsonschema.
5998 (validate_bench): Remove function.
5999 (main): Use import_bench.
6000
6001 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
6002
6003 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6004 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6005
6006 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6007
6008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6009
6010 2015-05-28 Roland McGrath <roland@hack.frob.com>
6011
6012 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6013 set THREAD_SELF->tid to a magic value and futex-wake it.
6014 Pass its address to the thread_exit system call.
6015 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6016 bit is clear.
6017 * sysdeps/nacl/lowlevellock.h: New file.
6018 * sysdeps/nacl/lll_timedwait_tid.c: New file.
6019
6020 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6021 Add TIMEOUT to current time, don't subtract it.
6022
6023 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
6024
6025 [BZ #2981]
6026 [BZ #18422]
6027 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6028 ($(objpfx)tst-audit2.out): Also depend on
6029 $(objpfx)tst-auditmod9b.so.
6030 * elf/tst-audit2.c: Include <dlfcn.h>.
6031 (calloc_called): New.
6032 (calloc): Allow to be called more than once.
6033 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6034
6035 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6036
6037 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6038 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6039
6040 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6041
6042 * stdlib/monetary.h: Fix comment.
6043
6044 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6045
6046 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6047 Avoid using variables in #defines that might cause shadowing.
6048 (INTERNAL_VSYSCALL_CALL): Likewise.
6049
6050 2015-05-26 Roland McGrath <roland@hack.frob.com>
6051
6052 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6053
6054 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6055 * nptl/lll_timedlock_wait.c: ... to this new file.
6056 * nptl/Makefile (libpthread-routines): Add it.
6057 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6058 * nptl/lll_timedwait_tid.c: ... to this new file.
6059 * nptl/Makefile (libpthread-routines): Add it.
6060 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6061 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6062 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6063 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6064 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6065 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6066 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6067 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6068 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6069 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6070
6071 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6072
6073 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6074 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6075 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6076 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6077 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6078 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6079 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6080 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6081 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6082 * sysdeps/unix/sysv/linux/tile/sysdep.h
6083 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6084 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6085 using vDSO syscall macro.
6086
6087 2015-05-26 Andriy Rysin <arysin@gmail.com>
6088
6089 [BZ #17293]
6090 * uk_UA: Fix sorting order for Ukrainian locale
6091
6092 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6093
6094 * stdlib/monetary.h: Fix comment.
6095
6096 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6097
6098 [BZ #18234]
6099 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6100 st_mtim and st_ctim members.
6101 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6102 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6103 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6104 (struct stat64): Likewise.
6105 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6106 (struct stat64): Likewise.
6107 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6108 (struct stat64): Likewise.
6109
6110 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6111
6112 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6113 Define and include sysdep-vdso.h.
6114 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6115 Likewise.
6116 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6117 Likewise.
6118 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6119 Define with VDSO_SYMBOL and use PTR_MANGLE.
6120 (__vdso_clock_gettime): Likewise.
6121 (__vdso_clock_getres): Likewise.
6122 (_libc_vdso_platform_setup): Likewise.
6123 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6124 Likewise.
6125 (_libc_vdso_platform_setup): Likewise.
6126 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6127 Likewise.
6128 (__vdso_clock_gettime): Likewise.
6129 (__vdso_clock_getres): Likewise.
6130 (__vdso_get_tbfreq): Likewise.
6131 (__vdso_getcpu): Likewise.
6132 (__vdso_time): Likewise.
6133 (__vdso_sigtramp_rt64): Likewise.
6134 (__vdso_signtramp32): Likewise.
6135 (__vdso_sigtramp_rt32): Likewise.
6136 (_libc_vdso_platform_setup): Likewise.
6137 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6138 Likewise.
6139 (__vdso_clock_gettime): Likewise.
6140 (__vdso_clock_getres): Likewise.
6141 (_libc_vdso_platform_setup): Likewise.
6142 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6143 Likewise.
6144 (__vdso_clock_gettime): Likewise.
6145 (_libc_vdso_platform_setup): Likewise.
6146 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6147 Likewise.
6148 (__vdso_getcpu): Likewise.
6149 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6150 Use VDSO_SYMBOL macro to define.
6151 (__vdso_clock_gettime): Likewise.
6152 (__vdso_clock_getres): Likewise.
6153 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6154 Likewise.
6155 (__vdso_clock_gettime): Likewise.
6156 (__vdso_clock_getres): Likewise.
6157 (__vdso_get_tbfreq): Likewise.
6158 (__vdso_getcpu): Likewise.
6159 (__vdso_time): Likewise.
6160 (__vdso_sigtramp_rt64): Likewise.
6161 (__vdso_signtramp32): Likewise.
6162 (__vdso_sigtramp_rt32): Likewise.
6163 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6164 Likewise.
6165 (__vdso_clock_gettime): Likewise.
6166 (__vdso_clock_getres): Likewise.
6167 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6168 Likewise.
6169 (__vdso_clock_gettime): Likewise.
6170 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6171 Likewise.
6172 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
6173 macro.
6174 (INTERNAL_VSYSCALL): Likewise.
6175 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6176 Remove macro.
6177 (INTERNAL_VSYSCALL): Likewise.
6178 (INTERNAL_VSYSCALL_NCS): Likewise.
6179 (INTERNAL_VSYSCALL_CALL): New macro.
6180 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6182 Likewise.
6183 (INTERNAL_VSYSCALL): Likewise.
6184 (INTERNAL_VSYSCALL_NCS): Likewise.
6185 (INTERNAL_VSYSCALL_CALL): New macro.
6186 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6188 (INLINE_VSYSCALL): Remove macro.
6189 (INTERNAL_VSYSCALL): Remove macro.
6190 (INTERNAL_VSYSCALL_NCS): Remove macro.
6191 (INTERNAL_VSYSCALL_CALL): New macro.
6192 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6193 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6194 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6195 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6196 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6198 (INLINE_VSYSCALL): Remove macro.
6199 (INTERNAL_VSYSCALL): Likewise.
6200 (INTERNAL_VSYSCALL_NCS): Likewise.
6201 (INTERNAL_VSYSCALL_CALL): New macro.
6202 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6203 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6204 PTR_DEMANGLE on vDSO pointer.
6205 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6206 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6207 macro.
6208 (INTERNAL_SYSCALL): Likewise.
6209 (INTERNAL_VSYSCALL_NCS): Remove macro.
6210 (INTERNAL_VSYSCALL_CALL): New macro.
6211 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6212 Remove macro.
6213 (INTERNAL_VSYSCALL): Likewise.
6214 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6215 sysdep-vdso.h instead of libc-vdso.h.
6216 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6217 definition.
6218 (INLINE_VSYSCALL): Likewise.
6219 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6220 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6221 definition.
6222 (INLINE_VSYSCALL): Likewise.
6223 (INTERNAL_VSYSCALL): Likewise.
6224 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6225 * sysdeps/unix/sysv/linux/timespec_get.c
6226 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6227 (timespec_get): Use ANSI prototype.
6228 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6229 and definition for Linux.
6230
6231 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6232
6233 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6234 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6235
6236 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6237
6238 [BZ #2981]
6239 [BZ #18410]
6240 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6241 for missing DT_PLTRELSZ.
6242
6243 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6244
6245 Remove obsolete aliases that broke 'locale -a'
6246 [BZ #18412]
6247 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6248 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6249 breaking some applications that use 'locale -a' output.
6250 Change the encoding of this file from Latin-1 to ASCII to avoid
6251 other potential problems with people grepping this file.
6252
6253 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6254
6255 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6256 -fasynchronous-unwind-tables.
6257 (CFLAGS-sendto.c): Likewise.
6258 (CFLAGS-sendmsg.c): Likewise.
6259 (CFLAGS-connect.c): Likewise.
6260 (CFLAGS-recvmsg.c): Likewise.
6261 (CFLAGS-recvfrom.c): Likewise.
6262 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6263 (SOCKETCALL): New macro: non-cancellable socketcall.
6264 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6265 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6266 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6267 * sysdeps/unix/sysv/linux/accept.c: New file.
6268 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6269 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6270 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6271 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6272 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6273 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6274 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6275 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6276 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6277 * sysdeps/unix/sysv/linux/send.c: Likewise.
6278 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6279 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6280 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6281 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6282 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6283 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6284 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6285 prototype.
6286 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6287 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6288 instead of __internal_xxx function.
6289 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6290 prototype.
6291 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6292 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6293 instead of __internal_xxx function.
6294 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6295 prototype.
6296 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6297 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6298 instead of __internal_xxx function.
6299 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6300 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6301 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6302 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6303 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6304 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6305 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6306 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6307 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6308 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6309 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6310 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6311 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6312 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6313 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6314 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6315 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6316 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6317 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6318 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6321 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6322 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6323 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6324 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6325 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6326 * sysdeps/unix/sysv/linux/send.S: Likewise.
6327 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6328 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6329 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6330 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6331 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6332 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6333 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6334 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6335 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6336 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6337 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6338 socketcall is implemented in GLIBC.
6339
6340 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6341
6342 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6343 (__fma): Ignore uninitialized warnings around packing.
6344 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6345 (__fmaf): Ignore uninitialized warnings around packing.
6346 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6347 (__fmal): Ignore uninitialized warnings around packing.
6348
6349 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6350 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6351 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6352 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6353
6354 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6355 switch statement into default case.
6356 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6357
6358 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6359 a conditional in forcing "inexact".
6360 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6361 Likewise.
6362
6363 2015-05-22 Roland McGrath <roland@hack.frob.com>
6364
6365 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6366 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6367 for each INTERNAL_SYSCALL use.
6368
6369 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6370
6371 [BZ #438]
6372 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6373 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6374 variable.
6375
6376 [BZ #18444]
6377 * string/basename.c (basename): Rename to __basename and define as
6378 weak alias of __basename. Use libc_hidden_weak.
6379 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6380 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6381 __basename instead of basename.
6382 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6383 Remove variable.
6384 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6385
6386 2015-05-18 Florian Weimer <fweimer@redhat.com>
6387
6388 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6389 (_IO_JUMPS_FILE_plus): New.
6390 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6391 _IO_CAST_FIELD_ACCESS.
6392 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6393 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6394 * libio/freopen.c (freopen): Likewise.
6395 * libio/freopen64.c (freopen64): Likewise.
6396 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6397 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6398 * libio/iofwide.c (_IO_fwide): Likewise.
6399 * libio/memstream.c (open_memstream): Likewise.
6400 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6401 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6402 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6403
6404 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6405
6406 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6407 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6408 NADJ.
6409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6410 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6411 NADJ.
6412 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6413 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6414 NADJ.
6415
6416 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6417 (p == 4) case.
6418
6419 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6420 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6421 Remove variable.
6422 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6423 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6424 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6425
6426 2015-05-21 Florian Weimer <fweimer@redhat.com>
6427
6428 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6429 Adjust jump table label generation macros.
6430
6431 2015-05-21 Florian Weimer <fweimer@redhat.com>
6432
6433 * stdio-common/vfprintf.c (vfprintf): Move local variables
6434 args_malloced, specs, specs_malloced, and the code after
6435 do_positional to the printf_positional function.
6436 (printf_positional): New function.
6437
6438 2015-05-21 Florian Weimer <fweimer@redhat.com>
6439
6440 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6441 function.
6442 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6443 STEP4_TABLE, process_arg): Move macro definitions
6444 out of the vfprintf function. (Cosmetic change only.)
6445
6446 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6447
6448 * benchtests/Makefile (stdio-common-bench): Define.
6449 (benchset): Add stdio-common-bench.
6450 * sprintf-inputs: New file.
6451 * sprintf-source.c: New file.
6452
6453 2015-05-21 Andreas Schwab <schwab@suse.de>
6454
6455 [BZ #13028]
6456 [BZ #17053]
6457 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6458 of struct __res_state.
6459 * resolv/res_send.c (__libc_res_nsend): Likewise.
6460 (get_nsaddr): New function.
6461 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6462 statp directly.
6463
6464 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6465
6466 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6467 -D_POSIX_C_SOURCE=199506L.
6468
6469 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6470
6471 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6472 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6473 Do not mention otherwise.
6474 [POSIX] (_XOPEN_VERSION): Do not expect.
6475 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6476 [POSIX] (_POSIX2_C_BIND): Likewise.
6477 [POSIX] (_POSIX2_VERSION): Likewise.
6478 [POSIX] (_XOPEN_XPG2): Likewise.
6479 [POSIX] (_XOPEN_XPG3): Likewise.
6480 [POSIX] (_XOPEN_XPG4): Likewise.
6481 [POSIX] (_XOPEN_UNIX): Likewise.
6482 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6483 [POSIX] (_POSIX_BARRIERS): Likewise.
6484 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6485 [POSIX] (_POSIX_CPUTIME): Likewise.
6486 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6487 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6488 [POSIX] (_POSIX_SHELL): Likewise.
6489 [POSIX] (_POSIX_SPAWN): Likewise.
6490 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6491 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6492 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6493 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6494 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6495 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6496 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6497 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6498 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6499 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6500 [POSIX] (_POSIX2_PBS): Likewise.
6501 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6502 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6503 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6504 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6505 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6506 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6507 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6508 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6509 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6510 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6511 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6512 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6513 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6514 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6515 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6516 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6517 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6518 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6519 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6520 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6521 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6522 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6523 [POSIX] (_SC_2_C_BIND): Likewise.
6524 [POSIX] (_SC_2_C_VERSION): Likewise.
6525 [POSIX] (_SC_2_PBS): Likewise.
6526 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6527 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6528 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6529 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6530 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6531 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6532 [POSIX] (_SC_BARRIERS): Likewise.
6533 [POSIX] (_SC_BASE): Likewise.
6534 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6535 [POSIX] (_SC_DEVICE_IO): Likewise.
6536 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6537 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6538 [POSIX] (_SC_FD_MGMT): Likewise.
6539 [POSIX] (_SC_FIFO): Likewise.
6540 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6541 [POSIX] (_SC_FILE_LOCKING): Likewise.
6542 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6543 [POSIX] (_SC_IOV_MAX): Likewise.
6544 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6545 [POSIX] (_SC_NETWORKING): Likewise.
6546 [POSIX] (_SC_PAGE_SIZE): Likewise.
6547 [POSIX] (_SC_PASS_MAX): Likewise.
6548 [POSIX] (_SC_PIPE): Likewise.
6549 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6550 [POSIX] (_SC_REGEXP): Likewise.
6551 [POSIX] (_SC_SHELL): Likewise.
6552 [POSIX] (_SC_SIGNALS): Likewise.
6553 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6554 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6555 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6556 [POSIX] (_SC_USER_GROUPS): Likewise.
6557 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6558 [POSIX] (_SC_STREAMS): Likewise.
6559 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6560 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6561 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6562 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6563 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6564 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6565 [POSIX] (_PC_FILESIZEBITS): Likewise.
6566 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6567 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6568 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6569 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6570 [POSIX] (uid_t): Likewise.
6571 [POSIX] (gid_t): Likewise.
6572 [POSIX] (off_t): Likewise.
6573 [POSIX] (pid_t): Likewise.
6574 [POSIX] (cuserid): Allow.
6575 (_SC_2_CHAR_TERM): Require constant.
6576 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6577 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6578 variable.
6579
6580 2015-05-20 Roland McGrath <roland@hack.frob.com>
6581
6582 * sysdeps/nacl/pthread-pids.h: New file.
6583 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6584 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6585
6586 * nptl/pthread-pids.h: New file.
6587 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6588 * nptl/nptl-init.c: Include <pthread-pids.h>.
6589 (__pthread_initialize_minimal_internal):
6590 Call __pthread_initialize_pids instead of set_tid_address syscall.
6591
6592 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6593 * sysdeps/posix/usleep.c: ... here.
6594
6595 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6596
6597 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6598 call_pselect6 object.
6599 [$(subdir) = io]: Remove call_sync_file_range object.
6600 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6601 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6602 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6603 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6604
6605 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6606
6607 * math/s_cproj.c: Add include "math_private.h".
6608 * math/s_cprojf.c: Likewise.
6609 * math/s_cprojl.c: Likewise.
6610
6611 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6612
6613 [BZ #18244]
6614 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6615 high mantissa bit when testing whether P is a NaN.
6616 * math/libm-test.inc (remainder_test_data): Add more tests.
6617 (remquo_test_data): Likewise.
6618
6619 [BZ #18049]
6620 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6621 below -32, return the argument, with underflow if subnormal.
6622 * math/auto-libm-test-in: Add more tests of atanh.
6623 * math/auto-libm-test-out: Regenerated.
6624
6625 2015-05-19 Roland McGrath <roland@hack.frob.com>
6626
6627 [BZ #18434]
6628 * nptl/tst-sem15.c: New file.
6629 * nptl/Makefile (tests): Add it.
6630 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6631 s/<</>>/ to fix typo in EOVERFLOW check.
6632 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6633
6634 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6635
6636 * manual/strings.texi (envz_remove): Fix typo in safety
6637 annotations.
6638
6639 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6640 Steve Ellcey <sellcey@imgtec.com>
6641
6642 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6643 in order to avoid strict alias warnings.
6644 (iruserok_af): Ditto for ra.
6645
6646 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6647
6648 [BZ #17581]
6649 * malloc/hooks.c
6650 (magicbyte): Convert to a function and avoid returning 0x01.
6651 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6652 (mem2chunk_check): Fix unsigned comparisons to zero.
6653 Hoist defs of sz and magic.
6654
6655 2015-05-19 Richard Henderson <rth@redhat.com>
6656
6657 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6658
6659 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6660
6661 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6662
6663 [BZ #16159]
6664 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6665 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6666 (reused_arena): Find a non-corrupt arena.
6667 (heap_trim): Pass arena to unlink.
6668 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6669 malloc_printerr.
6670 (top_check): Likewise.
6671 (free_check): Likewise.
6672 (realloc_check): Likewise.
6673 * malloc/malloc.c (malloc_printerr): Add arena argument.
6674 (unlink): Likewise.
6675 (munmap_chunk): Adjust.
6676 (ARENA_CORRUPTION_BIT): New macro.
6677 (arena_is_corrupt): Likewise.
6678 (set_arena_corrupt): Likewise.
6679 (sysmalloc): Use mmap if there are no usable arenas.
6680 (_int_malloc): Likewise.
6681 (__libc_malloc): Don't fail if arena_get returns NULL.
6682 (_mid_memalign): Likewise.
6683 (__libc_calloc): Likewise.
6684 (__libc_realloc): Adjust for additional argument to
6685 malloc_printerr.
6686 (_int_free): Likewise.
6687 (malloc_consolidate): Likewise.
6688 (_int_realloc): Likewise.
6689 (_int_memalign): Don't touch corrupt arenas.
6690 * malloc/tst-malloc-backtrace.c: New test case.
6691
6692 * Makefile (summarize-tests): Fix return value on success.
6693
6694 * manual/string.texi (Envz Functions): Add envz_remove.
6695
6696 2015-05-18 Roland McGrath <roland@hack.frob.com>
6697
6698 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6699 (invalid_name): New function, broken out of ...
6700 (__opendirat): ... here. Call it.
6701 (need_isdir_precheck): New function, broken out of ...
6702 (__opendirat): ... here. Call it.
6703 Use __fxstatat64, not __xstatat64.
6704 (opendir_oflags): New function, broken out of ...
6705 (__opendirat): ... here. Call it.
6706 (opendir_tail): New function, broken out of ...
6707 (__opendirat): ... here. Call it.
6708 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6709 opendir_tail, rather than punting to __opendirat.
6710 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6711
6712 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6713
6714 * .gitignore: Ignore generated *.pyc.
6715
6716 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6717
6718 * include/stdio.h: Define __need_wint_t.
6719 * test-skeleton.c: Avoid `for' loop initial declaration.
6720 * nptl/tst-initializers1.c: Use test-skeleton.c.
6721
6722 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6723
6724 [BZ #18418]
6725 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6726
6727 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6728
6729 [BZ #16352]
6730 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6731 (__ieee754_atanh): Force underflow exception for results with
6732 small absolute value.
6733 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6734 (__ieee754_atanhf): Force underflow exception for results with
6735 small absolute value.
6736 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6737 (__ieee754_atanh): Force underflow exception for results with
6738 small absolute value.
6739 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6740 (__ieee754_atanhf): Force underflow exception for results with
6741 small absolute value.
6742 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6743 (__ieee754_atanhl): Force underflow exception for results with
6744 small absolute value.
6745 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6746 (__ieee754_atanhl): Force underflow exception for results with
6747 small absolute value.
6748 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6749 (__ieee754_atanhl): Force underflow exception for results with
6750 small absolute value.
6751 * math/auto-libm-test-in: Do not allow missing underflow
6752 exceptions from atanh.
6753 * math/auto-libm-test-out: Regenerated.
6754
6755 [BZ #18221]
6756 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6757 2**-28 as threshold for returning x or +/- 1/x.
6758 * math/auto-libm-test-in: Add more tests of tan.
6759 * math/auto-libm-test-out: Regenerated.
6760
6761 [BZ #18220]
6762 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6763 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6764 * math/auto-libm-test-in: Add another test of lgamma.
6765 * math/auto-libm-test-out: Regenerated.
6766
6767 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6768
6769 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6770 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6771 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6772 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6773 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6774 (ADD2A): Use fabs. (SUB2A): Use fabs.
6775 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6776 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6777 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6778 (log1): Use fabs. (my_log2): Use fabs.
6779 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6780 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6781 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6782 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6784 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6785 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6786 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6787 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6788 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6789 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6790
6791 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6792
6793 [BZ #18217]
6794 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6795 as threshold for returning 1 - x.
6796 * math/auto-libm-test-in: Add more tests of erfc.
6797 * math/auto-libm-test-out: Regenerated.
6798
6799 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6800
6801 [BZ #18196]
6802 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6803 threshold for large arguments.
6804 * math/auto-libm-test-in: Add another test of atan.
6805 * math/auto-libm-test-out: Regenerated.
6806
6807 [BZ #16339]
6808 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6809 (__log1p): Force underflow exception for results with small
6810 absolute value.
6811 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6812 (__log1pf): Force underflow exception for results with small
6813 absolute value.
6814 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6815 (__log1p): Force underflow exception for results with small
6816 absolute value.
6817 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6818 (__log1pf): Force underflow exception for results with small
6819 absolute value.
6820 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6821 (__log1pl): Force underflow exception for results with small
6822 absolute value.
6823 * math/auto-libm-test-in: Do not allow missing underflow
6824 exceptions from log1p.
6825 * math/auto-libm-test-out: Regenerated.
6826
6827 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6828 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6829
6830 [BZ #16704]
6831 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6832
6833 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6834
6835 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6836 (libmvec): New variable.
6837 * configure.ac: Added option for mathvec build.
6838 * configure: Regenerated.
6839 * mathvec/Depend: New file.
6840 * mathvec/Makefile: New file.
6841 * shlib-versions: Added libmvec.
6842 * math/Makefile: Added rule for libm.so installation.
6843
6844 * bits/math-vector.h: New file.
6845 * bits/libm-simd-decl-stubs.h: New header.
6846 * math/Makefile (headers): Added new header
6847 libm-simd-decl-stubs.h.
6848 * math/math.h (__MATHCALL_VEC): New macro.
6849
6850 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6851 for conditions in testing functions.
6852 * math/Makefile: Added call of libm-have-vector-test.sh.
6853 * math/libm-test.inc (HAVE_VECTOR): New macros.
6854
6855 * math/libm-test.inc: START refactored.
6856 * math/test-double.c (TEST_MATHVEC): Add define.
6857 * math/test-float.c: Likewise.
6858 * math/test-idouble.c: Likewise.
6859 * math/test-ifloat.c: Likewise.
6860 * math/test-ildoubl.c: Likewise.
6861 * math/test-ldouble.c: Likewise.
6862 * sysdeps/generic/math-tests-arch.h
6863 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6864 architecture check.
6865
6866 * math/test-double.c (FUNC_TEST): New macro.
6867 * math/test-float.c: Likewise.
6868 * math/test-idouble.c: Likewise.
6869 * math/test-ifloat.c: Likewise.
6870 * math/test-ildoubl.c: Likewise.
6871 * math/test-ldouble.c: Likewise.
6872 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6873
6874 2015-05-13 Roland McGrath <roland@hack.frob.com>
6875
6876 * sysdeps/nacl/fdopendir.c: New file.
6877
6878 * dirent/scandir-tail.c: New file.
6879 * dirent/scandir64-tail.c: New file.
6880 * dirent/Makefile (routines): Add them.
6881 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6882 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6883 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6884 [!SCANDIR] (SCANDIR_TAIL): New macro.
6885 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6886 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6887 (SCANDIRAT): Macro removed.
6888 (SCANDIR_TAIL): New macro.
6889 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6890 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6891 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6892 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6893 (READDIR): Macro removed.
6894 (SCANDIR_TAIL): New macro.
6895 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6896 (SCANDIR_TAIL): New macro.
6897
6898 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6899 * dirent/scandir-cancel.c: ... to this new file.
6900 * dirent/Makefile (routines): Add it.
6901 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6902 * sysdeps/unix/sysv/linux/i386/scandir64.c
6903 (SKIP_SCANDIR_CANCEL): Macro removed.
6904 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6905
6906 * dirent/tst-scandir.c: New file.
6907 * dirent/tst-scandir64.c: New file.
6908 * dirent/Makefile (tests): Add them.
6909
6910 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6911
6912 [BZ #18409]
6913 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6914
6915 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6916
6917 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6918 list.
6919
6920 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6921
6922 * benchtests/bench-strcoll.c: New benchmark.
6923 * benchtests/Makefile: Generate locales and run benchmark.
6924 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6925 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6926 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6927 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6928 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6929 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6930 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6931 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6932 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6933 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6934 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6935 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6936 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6937 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6938 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6939 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6940 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6941 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6942 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6943 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6944 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6945 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6946 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6947 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6948
6949 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6950
6951 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6952 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6953
6954 2015-05-12 Roland McGrath <roland@hack.frob.com>
6955
6956 * posix/uname-values.h: New file.
6957 * posix/uname.c: Include that instead of <config-name.h>.
6958 * sysdeps/nacl/uname-values.h: New file.
6959 * sysdeps/arm/nacl/uname-values.h: New file.
6960
6961 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6962
6963 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6964 splitting into fields.
6965
6966 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6967
6968 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6969 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6970 * locale/localeinfo.h: Add enum collation_encoding_type.
6971 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6972 * programs/ld-collate.c (collate_output): Add encoding type info.
6973 * string/strcoll_l.c (STRDIFF): New function.
6974 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6975 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6976
6977 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6978
6979 [BZ #18397]
6980 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6981 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6982 <fpu_control.h> instead of <math/fpu_control.c>.
6983 * sysdeps/mips/mips32/fpu/Makefile: New file.
6984
6985 2015-05-11 Andreas Schwab <schwab@suse.de>
6986
6987 [BZ #18007]
6988 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6989 nss_endgrent.
6990 (_nss_compat_endgrent): Call nss_endgrent.
6991 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6992 nss_endpwent.
6993 (_nss_compat_endpwent): Call nss_endpwent.
6994 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6995 needent, call nss_setspent only if non-zero.
6996 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6997 (internal_endspent): Don't call nss_endspent.
6998 (_nss_compat_endspent): Call nss_endspent.
6999 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7000 Remove. All uses removed.
7001 (internal_setent): Remove parameter stayopen, add parameter
7002 stream. Use it instead of global variable.
7003 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7004 (internal_endent, internal_getent): Add parameter stream. Use it
7005 instead of global variable.
7006 (CONCAT(_nss_files_end,ENTNAME))
7007 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7008 (_nss_files_get##name##_r): Pass local stream. Remove locking.
7009 * nss/nss_files/files-alias.c (position, last_use): Remove. All
7010 uses removed.
7011 (internal_setent, internal_endent): Add parameter stream. Use it
7012 instead of global variable.
7013 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7014 stream.
7015 (get_next_alias): Add parameter stream.
7016 (_nss_files_getaliasent_r): Pass global stream.
7017 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
7018 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7019 (_nss_files_gethostbyname4_r): Pass local stream to
7020 internal_setent, internal_getent and internal_endent. Remove
7021 locking.
7022
7023 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7024
7025 * tst-strfmon1.c (tests): Update expected currency symbol.
7026
7027 2015-05-08 Roland McGrath <roland@hack.frob.com>
7028
7029 * sysdeps/nacl/gethostname.c: New file.
7030
7031 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7032
7033 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7034 and sinh.
7035 * math/auto-libm-test-out: Regenerated.
7036 * sysdeps/i386/fpu/libm-test-ulps: Update.
7037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7038
7039 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7040
7041 [BZ #18125]
7042 * stdlib/tst-setcontext3.c: New file.
7043 * stdlib/tst-setcontext3.sh: New file.
7044 * stdlib/Makefile (tests): Add tst-setcontext3.
7045 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7046 to verify test program created output file.
7047 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7048 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7049 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7050 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7051
7052 2015-05-06 Roland McGrath <roland@hack.frob.com>
7053
7054 [BZ #18383]
7055 * elf/tst-tlsalign.c: New file.
7056 * elf/tst-tlsalign-static.c: New file.
7057 * elf/tst-tlsalign-lib.c: New file.
7058 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7059 (tests-static): Add tst-tlsalign-static.
7060 (modules-names): Add tst-tlsalign-lib.
7061 (test-xfail-tst-tlsalign): New variable.
7062 (test-xfail-tst-tlsalign-static): New variable.
7063
7064 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7065 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7066
7067 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7068
7069 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7070 csqrt, erfc, sin and sincos.
7071 * math/auto-libm-test-out: Regenerated.
7072 * sysdeps/i386/fpu/libm-test-ulps: Update.
7073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7074
7075 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7076
7077 * sysdeps/aarch64/libm-test-ulps: Update.
7078
7079 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7080
7081 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7082 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7083 * math/auto-libm-test-out: Regenerated.
7084 * sysdeps/i386/fpu/libm-test-ulps: Update.
7085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7086
7087 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7088
7089 [BZ #18265]
7090 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7091 (wcsncpy): Likewise.
7092
7093 2015-05-05 Florian Weimer <fweimer@redhat.com>
7094
7095 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7096 Assume __ASSUME_FALLOCATE is always true.
7097 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7098 (__posix_fallocate64_l64): Likweise.
7099 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7100 (posix_fallocate): Likewise.
7101 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7102 (__posix_fallocate64_l64): Likewise.
7103 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7104 [!__ASSUME_FALLOCATE]: Add comment.
7105
7106 2015-05-05 Florian Weimer <fweimer@redhat.com>
7107
7108 * sysdeps/unix/sysv/linux/i386/Makefile
7109 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7110 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7111 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7112 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7113 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7114 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7115 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7116
7117 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7118
7119 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7120 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7121 tgamma.
7122 * math/auto-libm-test-out: Regenerated.
7123 * sysdeps/i386/fpu/libm-test-ulps: Update.
7124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7125
7126 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7127
7128 * math/auto-libm-test-in: Add more tests of tgamma.
7129 * math/auto-libm-test-out: Regenerated.
7130 * sysdeps/i386/fpu/libm-test-ulps: Update.
7131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7132
7133 * math/auto-libm-test-in: Add more tests of tanh.
7134 * math/auto-libm-test-out: Regenerated.
7135 * sysdeps/i386/fpu/libm-test-ulps: Update.
7136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7137
7138 * math/auto-libm-test-in: Add more tests of tan.
7139 * math/auto-libm-test-out: Regenerated.
7140 * sysdeps/i386/fpu/libm-test-ulps: Update.
7141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7142
7143 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7144 * math/auto-libm-test-out: Regenerated.
7145 * sysdeps/i386/fpu/libm-test-ulps: Update.
7146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7147
7148 * math/auto-libm-test-in: Add another test of pow.
7149 * math/auto-libm-test-out: Regenerated.
7150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7151
7152 * math/auto-libm-test-in: Add more tests of lgamma.
7153 * math/auto-libm-test-out: Regenerated.
7154 * sysdeps/i386/fpu/libm-test-ulps: Update.
7155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7156
7157 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7158 log1p.
7159 * math/auto-libm-test-out: Regenerated.
7160 * sysdeps/i386/fpu/libm-test-ulps: Update.
7161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7162
7163 2015-05-01 Mark Wielaard <mjw@redhat.com>
7164
7165 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7166 Elf64_Chdr structs and ELFCOMPRESS constants.
7167
7168 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7169
7170 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7171 expm1.
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 erf and erfc.
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 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7182
7183 * config.h.in (HAVE_AARCH64_BE): Add.
7184
7185 2015-04-30 Joseph Myers <joseph@codesourcery.com>
7186
7187 * math/auto-libm-test-in: Add more tests of csqrt.
7188 * math/auto-libm-test-out: Regenerated.
7189 * sysdeps/i386/fpu/libm-test-ulps: Update.
7190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7191
7192 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7193 * math/auto-libm-test-out: Regenerated.
7194 * sysdeps/i386/fpu/libm-test-ulps: Update.
7195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7196
7197 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7198
7199 2015-04-29 Roland McGrath <roland@hack.frob.com>
7200
7201 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7202 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7203
7204 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7205 (euidaccess, eaccess): Define as weak aliases.
7206
7207 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7208 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
7209 but __suseconds_t is often 'long int' so some sources assume that
7210 type is being used (e.g. they use %ld to print tv_usec).
7211
7212 2015-04-29 Florian Weimer <fweimer@redhat.com>
7213
7214 [BZ #18007]
7215 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7216 (CVE-2014-8121)
7217 * nss/tst-nss-getpwent.c: New file.
7218 * nss/Makefile (tests): Add new test.
7219
7220 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7221
7222 [BZ #18346]
7223 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7224 exponents less than 48 as cases where high part of mantissa needs
7225 examining to determine whether argument is integral.
7226 * math/libm-test.inc (round_test_data): Add more tests.
7227
7228 2015-04-28 Mark Wielaard <mjw@redhat.com>
7229
7230 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7231
7232 2015-04-27 David S. Miller <davem@davemloft.net>
7233
7234 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7235 __tls_get_addr.
7236 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7237
7238 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7239
7240 [BZ#18333]
7241 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7242
7243 2015-04-27 Florian Weimer <fweimer@redhat.com>
7244
7245 [BZ#18333]
7246 * time/tzset.c (parse_tzname): Return error on memory allocation
7247 failure.
7248 * test-skeleton.c (struct temp_name_list): Change type of name
7249 member to non-const.
7250 (add_temp_file): Create a copy of the file name.
7251 (delete_temp_files): Deallocate memory.
7252 (create_temp_file): Add comment.
7253
7254 2015-04-24 Florian Weimer <fweimer@redhat.com>
7255
7256 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7257 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7258
7259 2015-04-24 Roland McGrath <roland@hack.frob.com>
7260
7261 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7262 * sysdeps/arm/configure: Regenerated.
7263
7264 2015-04-24 Florian Weimer <fweimer@redhat.com>
7265
7266 [BZ #17715]
7267 * time/tzfile.c (__tzfile_read): Check for large values of
7268 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7269 * time/tzset.c (__tzstring_len): New function, based on the old
7270 __tzstring function.
7271 (__tzstring): Call __tzstring_len.
7272 (parse_tzname): New helper function extracted from
7273 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7274 the input string.
7275 (parse_offset): New helper function extracted from
7276 __tzset_parse_tz. Replace switch with fallthrough with
7277 initialization before sscanf.
7278 (parse_rule): Likewise.
7279 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7280 new-style function definition.
7281 * timezone/Makefile (tests): Add tst-tzset.
7282 (tst-tzset.out): Dependencies on time zone files.
7283 (tst-tzset-ENV): Set TZDIR.
7284 (testdata/XT%): Copy crafted time zone files.
7285 * timezone/README: Mention crafted time zone files.
7286 * timezone/testdata/XT1, timezone/testdata/XT2,
7287 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7288 files.
7289 * timezone/tst-tzset.c: New test.
7290
7291 2015-04-24 Florian Weimer <fweimer@redhat.com>
7292
7293 * Makeconfig (+gccwarn): Remove -Winline.
7294
7295 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7296
7297 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7298
7299 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7300
7301 * NEWS: Mention sysconf() cache information support for s390.
7302 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7303
7304 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7305
7306 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7307 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7308 (__nearbyint): Likewise.
7309 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7310 (copysignl): Likewise.
7311
7312 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7313
7314 [BZ #18287]
7315 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7316 based on padding. (CVE-2015-1781)
7317
7318 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7319
7320 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7321 libc-vdso.h.
7322 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7323 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7324 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7325 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7326 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7327 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7328 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7329 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7330 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7331 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7332 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7333 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7334 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7335 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7336 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7337 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7338 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7339 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7340 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7341 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7342 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7343 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7344 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7345
7346 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7347
7348 * stdlib/setenv.c (__add_to_environ):
7349 Dump core quickly if setenv (..., NULL, ...) is called.
7350 This time, do it the right way, and pacify GCC with a pragma.
7351
7352 2015-04-17 Roland McGrath <roland@hack.frob.com>
7353
7354 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7355 IMAP->l_prev cannot be null, and #if out the code for the contrary
7356 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7357 believe that NS (&_dl_ns[NSID]) could point outside the array.
7358
7359 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7360 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7361 before using NSID as an index.
7362
7363 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7364
7365 [BZ #17825]
7366 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7367 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7368 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7369
7370 2015-04-17 Roland McGrath <roland@hack.frob.com>
7371
7372 Add preliminary port to Google Native Client on ARM.
7373 * abi-tags (.*-.*-nacl.*): New entry.
7374 * sysdeps/arm/nacl: New directory.
7375 * sysdeps/nacl: New directory.
7376
7377 2015-04-16 David S. Miller <davem@davemloft.net>
7378
7379 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7380 lowlevellock-futex.h
7381
7382 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7383
7384 * sysdeps/tile/configure.ac: New file.
7385 * sysdeps/tile/configure: Regenerated.
7386
7387 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7388
7389 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7390 conditionals for weak_alias and libc_hidden_weak.
7391 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7392 libc_hidden_weak and weak_alias.
7393 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7394 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7395 and weak_alias for static one.
7396
7397 2015-04-15 David S. Miller <davem@davemloft.net>
7398
7399 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7400
7401 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7402
7403 [BZ #18206]
7404 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7405 Use signed comparision instead of substraction to avoid
7406 overflow bug.
7407 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7408 Take the sign of ret.
7409 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7410 Do not expect precise return values. Only the sign matters.
7411 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7412 * wcsmbs/test-wcsncmp.c: New File.
7413 * string/test-strncmp.c: Add wcsncmp support.
7414
7415 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7416
7417 [BZ #6792]
7418 * math/w_log1p.c: New file.
7419 * math/w_log1pf.c: Likewise.
7420 * math/w_log1pl.c: Likewise.
7421 * math/Makefile (libm-calls): Add w_log1p.
7422 * math/s_log1pl.c (log1pl): Remove weak_alias.
7423 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7424 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7425 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7426 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7427 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7428 [NO_LONG_DOUBLE] (log1pl): Likewise.
7429 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7430 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7431 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7432 (log1p): Remove long_double_symbol.
7433 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7434 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7435 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7436 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7437 remove weak_alias for corresponding log1p function.
7438 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7439 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7440 * sysdeps/ia64/fpu/w_log1p.c: New file.
7441 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7442 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7443 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7444
7445 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7446
7447 [BZ #18247]
7448 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7449 decimal exponent by 1.
7450 * stdlib/tst-strtod-round-data: Add more tests.
7451 * stdlib/tst-strtod-round.c (tests): Regenerated.
7452
7453 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7454
7455 * math/auto-libm-test-in: Add more tests of clog and clog10.
7456 * math/auto-libm-test-out: Regenerated.
7457 * sysdeps/i386/fpu/libm-test-ulps: Update.
7458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7459
7460 2015-04-09 Roland McGrath <roland@hack.frob.com>
7461
7462 * Makeconfig (module-cppflags): Exclude all .v.i files.
7463 (skip-module-cppflags): Variable removed.
7464
7465 * configure.ac (libc_config_ok): Initialize before reading
7466 preconfigure scripts, not after.
7467 * configure: Regenerated.
7468
7469 * test-skeleton.c (TIMEOUT): Move #define to top level.
7470 (main): Grok environment variable TEST_DIRECT. If set, print
7471 test expectation details into that file and then behave as if
7472 given --direct.
7473
7474 2015-04-09 Florian Weimer <fweimer@redhat.com>
7475
7476 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7477 warning on 32-bit.
7478
7479 2015-04-08 David S. Miller <davem@davemloft.net>
7480
7481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7482
7483 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7484
7485 * math/auto-libm-test-in: Add more tests of atanh.
7486 * math/auto-libm-test-out: Regenerated.
7487 * sysdeps/i386/fpu/libm-test-ulps: Update.
7488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7489
7490 * math/auto-libm-test-in: Add more tests of atan.
7491 * math/auto-libm-test-out: Regenerated.
7492 * sysdeps/i386/fpu/libm-test-ulps: Update.
7493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7494
7495 2015-04-08 Florian Weimer <fweimer@redhat.com>
7496
7497 * elf/pldd.c (main): Rewrite to use struct
7498 scratch_buffer instead of extend_alloca.
7499 * elf/pldd-xx.c (find_maps): Likewise.
7500 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7501 <alloca.h>.
7502 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7503 scratch_buffer instead of extend_alloca.
7504 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7505 grp/compat-initgroups.c.
7506 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7507 Rewrite to use struct scratch_buffer instead of extend_alloca.
7508 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7509 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7510
7511 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7512
7513 * math/auto-libm-test-in: Add more tests of cbrt.
7514 * math/auto-libm-test-out: Regenerated.
7515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7516
7517 * math/auto-libm-test-in: Add more tests of cabs.
7518 * math/auto-libm-test-out: Regenerated.
7519 * sysdeps/i386/fpu/libm-test-ulps: Update.
7520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7521
7522 [BZ #18210]
7523 [BZ #18211]
7524 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7525 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7526 computations.
7527 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7528 clog10.
7529 * math/auto-libm-test-out: Regenerated.
7530 * sysdeps/i386/fpu/libm-test-ulps: Update.
7531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7532
7533 [BZ #18197]
7534 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7535 (atan): Set FE_TONEAREST mode for internal computations.
7536 * math/auto-libm-test-in: Add more tests of atan.
7537 * math/auto-libm-test-out: Regenerated.
7538
7539 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7540
7541 [BZ #17930]
7542 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7543
7544 2015-04-07 Florian Weimer <fweimer@redhat.com>
7545
7546 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7547
7548 2015-04-07 Florian Weimer <fweimer@redhat.com>
7549
7550 * include/scratch_buffer.h: New file.
7551 * malloc/scratch_buffer_grow.c: Likewise.
7552 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7553 * malloc/scratch_buffer_set_array_size.c: Likewise.
7554 * malloc/tst-scratch_buffer.c: Likewise.
7555 * malloc/Makefile (routines): Add scratch_buffer_grow.
7556 (tests): Add test case.
7557 * malloc/Versions (GLIBC_PRIVATE): Export
7558 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7559 __libc_scratch_buffer_set_array_size.
7560
7561 2015-04-06 Richard Henderson <rth@redhat.com>
7562
7563 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7564 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7565
7566 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7567 unsigned int before printing.
7568
7569 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7570
7571 [BZ #17596]
7572 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7573 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7574
7575 2015-04-02 Florian Weimer <fweimer@redhat.com>
7576
7577 * include/libc-internal.h (libc_max_align_t): Define.
7578
7579 2015-04-02 Andreas Schwab <schwab@suse.de>
7580
7581 [BZ #16850]
7582 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7583
7584 2015-04-02 Mel Gorman <mgorman@suse.de>
7585
7586 [BZ #17195]
7587 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7588 as well as the main arena.
7589
7590 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7591
7592 [BZ #18185]
7593 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7594 sharing L2 cache to 2 for Silvermont/Knights Landing.
7595
7596 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7597
7598 [BZ #17711]
7599 * config.make.in (have-protected-data): New.
7600 * configure.ac: Check linker support for protected data symbol.
7601 * configure: Regenerated.
7602 * elf/Makefile (modules-names): Add tst-protected1moda and
7603 tst-protected1modb if $(have-protected-data) is yes.
7604 (tests): Add tst-protected1a and tst-protected1b if
7605 $(have-protected-data) is yes.
7606 ($(objpfx)tst-protected1a): New.
7607 ($(objpfx)tst-protected1b): Likewise.
7608 (tst-protected1modb.so-no-z-defs): Likewise.
7609 * elf/tst-protected1a.c: New file.
7610 * elf/tst-protected1b.c: Likewise.
7611 * elf/tst-protected1mod.h: Likewise.
7612 * elf/tst-protected1moda.c: Likewise.
7613 * elf/tst-protected1modb.c: Likewise.
7614
7615 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7616
7617 [BZ #17711]
7618 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7619 indicates it is called from do_lookup_x on relocation against
7620 protected data, skip the data definion in the executable from
7621 copy reloc.
7622 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7623 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7624 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7625 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7626 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7627 otherwise to 0.
7628 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7629 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7630 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7631 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7632 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7633 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7634
7635 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7636
7637 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7638 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7639
7640 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7641
7642 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7643 THREAD_SETMEM_NC.
7644 * sysdeps/x86_64/nptl/tls.h: Ditto.
7645
7646 2015-03-27 Roland McGrath <roland@hack.frob.com>
7647
7648 * dlfcn/tststatic.c (main): Converted to ...
7649 (do_test): ... this.
7650 (TEST_FUNCTION): New macro.
7651 Include test-skeleton.c.
7652
7653 2015-03-26 Alan Modra <amodra@gmail.com>
7654
7655 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7656 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7657 zero for undefined weak.
7658 (elf_machine_plt_conflict): Similarly.
7659
7660 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7661
7662 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7663 atanh.
7664 * math/auto-libm-test-out: Regenerated.
7665 * sysdeps/i386/fpu/libm-test-ulps: Update.
7666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7667
7668 * math/auto-libm-test-in: Add another test of asin.
7669 * math/auto-libm-test-out: Regenerated.
7670 * sysdeps/i386/fpu/libm-test-ulps: Update.
7671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7672
7673 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7674 Remove macro.
7675 (LLL_EBX_REG): Likewise.
7676 (LLL_ENTER_KERNEL): Likewise.
7677
7678 * math/auto-libm-test-in: Add more tests of asin.
7679 * math/auto-libm-test-out: Regenerated.
7680 * sysdeps/i386/fpu/libm-test-ulps: Update.
7681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7682
7683 [BZ #18138]
7684 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7685 libc_do_syscall_args): New structure.
7686 (INTERNAL_SYSCALL_MAIN_0): New macro.
7687 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7688 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7689 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7690 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7691 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7692 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7693 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7694 Replace conditional definitions by conditional definitions of ....
7695 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7696 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7697 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7698 (libpthread-sysdep_routines): Add libc-do-syscall.
7699 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7700 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7701 to __NR_futex not 240.
7702
7703 2015-03-25 Alan Modra <amodra@gmail.com>
7704
7705 * NEWS: Advertise TLS optimization.
7706 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7707 (DT_PPC_NUM): Increment.
7708 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7709 (CHECK_STATIC_TLS): Use here.
7710 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7711 TLS descriptors.
7712 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7713 * sysdeps/powerpc/dl-tls.c: New file.
7714 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7715 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7716 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7717 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7721
7722 2015-03-25 Alan Modra <amodra@gmail.com>
7723
7724 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7725 for overlapping .opd entries" to "support...".
7726 * sysdeps/powerpc/powerpc64/configure: Regenerate
7727
7728 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7729
7730 * math/auto-libm-test-in: Add more tests of acos.
7731 * math/auto-libm-test-out: Regenerated.
7732 * sysdeps/i386/fpu/libm-test-ulps: Update.
7733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7734
7735 * math/auto-libm-test-in: Add more tests of expm1.
7736 * math/auto-libm-test-out: Regenerated.
7737 * sysdeps/i386/fpu/libm-test-ulps: Update.
7738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7739
7740 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7741
7742 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7743 * math/auto-libm-test-out: Regenerated.
7744 * sysdeps/i386/fpu/libm-test-ulps: Update.
7745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7746
7747 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7749
7750 * math/auto-libm-test-in: Add more tests of log2.
7751 * math/auto-libm-test-out: Regenerated.
7752 * sysdeps/i386/fpu/libm-test-ulps: Update.
7753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7754
7755 2015-03-23 Roland McGrath <roland@hack.frob.com>
7756
7757 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7758 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7759 _IO_IS_APPENDING bit in READ_WRITE instead.
7760
7761 2015-03-23 Florian Weimer <fweimer@redhat.com>
7762
7763 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7764 (__determine_cpumask_size): Replace extend_alloca with a
7765 variable-length array. Do not treat res == 0 as an error.
7766
7767 2015-03-23 Florian Weimer <fweimer@redhat.com>
7768
7769 [BZ #18100]
7770 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7771 and integer overflow.
7772 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7773 (main): Add integer overflow tests.
7774 * manual/pattern.texi (Calling Wordexp): Document additional use
7775 for WRDE_SYNTAX.
7776
7777 2015-03-23 Alan Modra <amodra@gmail.com>
7778
7779 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7780 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7781 and false branch of conditional.
7782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7783 Likewise.
7784
7785 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7786
7787 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7788 libc-modules.h
7789 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7790 unused declaration of _hurd_intr_rpc_msg_in_trap.
7791 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7792 defined instead of whether it is non-zero.
7793 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7794 input constraint instead of both input and output constraint. Use ecx
7795 clobber instead of %ecx.
7796 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7797 mutex_unlock): Use a statement expression instead of an expression list.
7798 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7799 type to vm_size_t instead of vm_address_t.
7800 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7801 defined instead of whether it is non-zero.
7802 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7803 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7804 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7805 comparisons with mapaddr.
7806 * nscd/nscd-client.h: Include <time.h>.
7807 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7808 9th parameter to __vm_region instead of int.
7809 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7810 * scripts/check-local-headers.sh (exclude): Add device/,
7811 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7812 cthreads.h.
7813
7814 2015-03-19 Roland McGrath <roland@hack.frob.com>
7815
7816 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7817 to account for alignment padding.
7818 * sysdeps/arm/memmove.S: Likewise.
7819
7820 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7821
7822 * sysdeps/unix/sysv/linux/generic/README: New file.
7823
7824 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7825
7826 [BZ #18138]
7827 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7828 (futex_abstimed_wait)
7829 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7830 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7831 of lll_futex_timed_wait.
7832
7833 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7834
7835 [BZ #17542]
7836 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7837
7838 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7839
7840 [BZ #17090]
7841 [BZ #17620]
7842 [BZ #17621]
7843 [BZ #17628]
7844 * NEWS: Update.
7845 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7846 entries with Static TLS too. Skip entries past the end of the
7847 allocated DTV, from Alan Modra.
7848 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7849 Static TLS DTV entry set up from...
7850 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7851 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7852 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7853 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7854 for Static TLS.
7855 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7856 that the slot we find is associated with the given map before
7857 using its generation count.
7858 * nptl_db/db_info.c: Include ldsodefs.h.
7859 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7860 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7861 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7862 (link_map::l_tls_offset): New struct field.
7863 (dtv_t::counter): Likewise.
7864 (rtld_global): New struct.
7865 (_rtld_global): New rtld variable.
7866 (dl_tls_dtv_slotinfo_list): New rtld global field.
7867 (dtv_slotinfo_list): New struct.
7868 (dtv_slotinfo): Likewise.
7869 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7870 (td_lookup): Rename to...
7871 (td_mod_lookup): ... this. Use new mod parameter instead of
7872 LIBPTHREAD_SO.
7873 * nptl_db/td_thr_tlsbase.c: Include link.h.
7874 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7875 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7876 addresses even if the DTV is out of date or missing them.
7877 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7878 index zero-length arrays.
7879 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7880 (td_lookup): Make it a macro implemented in terms of...
7881 (td_mod_lookup): ... this declaration.
7882 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7883 (DB_MAIN_VARIABLE): Likewise.
7884
7885 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7886
7887 [BZ #18134]
7888 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7889
7890 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7891
7892 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7893
7894 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7895
7896 [BZ #18128]
7897 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7898 (atomic_add, atomic_increment_and_test)
7899 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7900
7901 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7902
7903 * stdlib/setenv.c (__add_to_environ):
7904 Dump core quickly if setenv (..., NULL, ...) is called.
7905
7906 2015-03-13 Roland McGrath <roland@hack.frob.com>
7907
7908 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7909 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7910 all the necessary asm magic in one place.
7911 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7912 using those.
7913
7914 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7915
7916 [BZ #14906]
7917 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7918 traced file mtime. Use consistent log message.
7919 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7920 (register_traced_file): Call install_watches. Always set mtime.
7921 (invalidate_cache): Iterate over all trace files. Call install_watches.
7922 (inotify_check_files): Don't inline. Handle watching parent
7923 directories and configuration file movement in and out.
7924 (handle_inotify_events): New function.
7925 (main_loop_poll): Call handle_inotify_events.
7926 (main_loop_epoll): Likewise.
7927 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7928 (struct traced_file): Use array of inotify fds. Add parent directory,
7929 and basename.
7930 (struct database_dyn): Remove unused file_mtime.
7931 (init_traced_file): New inline function.
7932 (define_traced_file): New macro.
7933 * nss/nss_db/db-init.c: Use define_traced_file.
7934 (_nss_db_init): Use init_traced_file.
7935 * nss/nss_files/files-init.c: Use define_traced_file.
7936 (_nss_files_init): Use init_traced_file.
7937
7938 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7939
7940 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7941 [_LIBC]: Do not include <stdlib.h>.
7942 [!_LIBC] (abort): Remove declaration.
7943 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7944 _FP_STATIC_ASSERT instead of conditionally calling abort.
7945 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7946 (_FP_EXTEND_CNAN): Likewise.
7947 (FP_TRUNC): Likewise.
7948 (__FP_CLZ): Likewise.
7949 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7950
7951 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7952
7953 * manual/string.texi (XPG basename): Fix prototype.
7954
7955 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7956
7957 [BZ #18080]
7958 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7959 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7960 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7961 (__setcontext): Likewise.
7962 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7963 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7964 Call rt_sigprocmask syscall one time to set new signal mask
7965 and retrieve the current signal mask instead of two calls.
7966 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7967 (__swapcontext): Likewise.
7968 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7969 * stdlib/tst-setcontext2.c: New file.
7970
7971 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7972
7973 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7974
7975 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7976
7977 [BZ #18093]
7978 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7979 the wrong size.
7980
7981 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7982
7983 [BZ #18043]
7984 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7985
7986 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7987
7988 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7989 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7990 Remove define.
7991 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7992 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7993 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7994 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7995 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7996 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7997 define.
7998 * nptl_db/td_symbol_list.c (td_lookup): Remove
7999 HAVE_ASM_GLOBAL_DOT_NAME code.
8000 * sysdeps/powerpc/powerpc64/configure.ac: Remove
8001 HAVE_ASM_GLOBAL_DOT_NAME check.
8002 * sysdeps/powerpc/powerpc64/configure: Regenerate.
8003 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8004 (DOT_LABEL): Remove define.
8005 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8006 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8007 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8008 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8009 (__TLS_GET_ADDR): Likewise.
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8011 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8012
8013 2015-03-11 Carlos O'Donell <carlos@redhat.com>
8014
8015 [BZ #18111]
8016 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8017 (_FPU_SETCW): Initialize cw from fpsr before storing.
8018 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8019 (fesetexceptflag): Rewrite using fpu_control.h.
8020 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8021
8022 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
8023
8024 [BZ #18110]
8025 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8026 asms.
8027 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8028
8029 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8030
8031 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8032 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8033 abort.
8034 (_FP_FMA): Likewise.
8035 (_FP_DIV): Likewise.
8036
8037 2015-03-10 Roland McGrath <roland@hack.frob.com>
8038
8039 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8040 with 0 in that case.
8041 * Makefile (summarize-tests): New canned sequence, factored out of
8042 commands for targets tests and xtests. Display summary lines that
8043 don't start with PASS: or XFAIL: rather than ones that do start with
8044 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8045 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8046 do start with ERROR: or FAIL:.
8047 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8048 (except for [$(build-shared) = yes]).
8049 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8050 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8051 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8052 * nptl/Makefile: Revert 2015-03-04 changes.
8053 [$(CXX) empty] (tests-unsupported): New variable.
8054 * debug/Makefile: Likewise.
8055
8056 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8057 gnulib file. Replace __attribute with __attribute__ throughout.
8058
8059 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8060
8061 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8062
8063 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8064
8065 [BZ #18104]
8066 * math/auto-libm-test-in: Add another test of pow.
8067 * math/auto-libm-test-out: Regenerated.
8068
8069 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8070
8071 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8072 $(config-cflags-nofma).
8073
8074 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8075
8076 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8077 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8078 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8079 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8080 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8081 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8082 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8083 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8084 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8085 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8086 Add comment on closing #endif.
8087
8088 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8089
8090 * posix/wordexp.c (CHAR_IN_SET): New macro.
8091 (parse_param): Use it.
8092
8093 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8094
8095 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8096
8097 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8098
8099 [BZ #18043]
8100 * posix/wordexp.c (parse_param): Fix buffer overflow.
8101 * posix/wordexp-test.c (test_case): Add test case.
8102
8103 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8104
8105 [BZ #18042]
8106 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8107 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8108
8109 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8110
8111 [BZ #18043]
8112 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8113 (do_bz18043): Delete.
8114 (at_page_end): New.
8115 (testit): Refactor to have words at the edge of unreadable page.
8116
8117 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8118
8119 [BZ #16734]
8120 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8121 Cleanup read-only streams as well.
8122 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8123
8124 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8125
8126 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8127 <bits/libc-lockP.h>
8128
8129 2015-03-07 Joseph Myers <joseph@codesourcery.com>
8130
8131 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
8132 on [__KERNEL__].
8133 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8134 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8135 * soft-fp/op-common.h (_FP_DECL): Likewise.
8136
8137 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
8138
8139 * elf/ifuncdep2.c (global): Replace
8140 __attribute__((visibility("protected"))) with
8141 asm (".protected global").
8142 * elf/ifuncmod1.c (global): Likewise.
8143 * elf/ifuncmod5.c (global): Likewise.
8144
8145 2015-03-06 Joseph Myers <joseph@codesourcery.com>
8146
8147 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8148 <asm/sfp-machine.h> instead of <sfp-machine.h>.
8149
8150 2015-03-06 Roland McGrath <roland@hack.frob.com>
8151
8152 * manual/install.texi (Configuring and compiling):
8153 Document test-wrapper-env-only.
8154 * INSTALL: Regenerated.
8155
8156 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8157
8158 [BZ #18043]
8159 * posix/wordexp.c (parse_param): Fix buffer overflow.
8160 * posix/wordexp-test.c (do_bz18043): Add test case.
8161
8162 2015-03-06 Vincent Bernat <vincent@bernat.im>
8163
8164 * time/tst-strptime2.c (do_test): Ensure failing tests are
8165 reported correctly.
8166 * time/tst-strptime3.c (do_test): Likewise.
8167
8168 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
8169
8170 Fix aio_error thread-safety.
8171 * sysdeps/pthread/aio_error.c: New file
8172 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8173 synchronization.
8174
8175 2015-03-06 Florian Weimer <fweimer@redhat.com>
8176
8177 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8178 (group_number, vfprintf): Use it.
8179 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8180 (JUMP, REF): Use it.
8181 (WORK_BUFFER_SIZE): New enum constant.
8182 (process_arg, vfprintf): Use it.
8183
8184 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
8185
8186 * manual/errno.texi (Error Messages): Complete example function
8187 by adding missing #define.
8188 (program_invocation_name): Add statement indicating GNU
8189 extension and reference which header file declares the variable.
8190 (program_invocation_short_name): Likewise.
8191
8192 2015-03-06 Mike Frysinger <vapier@gentoo.org>
8193
8194 * manual/errno.texi (Error Messages): Delete strerror ISO C89
8195 compatibility note.
8196
8197 2015-03-05 Roland McGrath <roland@hack.frob.com>
8198
8199 * Makeconfig (test-wrapper-env-only): New variable.
8200 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8201 then use that with $(test-wrapper-env-only) rather than using
8202 $(test-wrapper-env) $(run-program-env) $($*-ENV).
8203
8204 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
8205
8206 [BZ #18082]
8207 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8208 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8209 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8210 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8211 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8212 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8213 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8214 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8215 Likewise.
8216 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8217 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8218 Likewise.
8219 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8220 Likewise.
8221 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8222 Likewise.
8223 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8224 Likewise.
8225 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8226 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8227 Likewise.
8228 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8229 Likewise.
8230 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8231 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8232
8233 2015-03-04 Roland McGrath <roland@hack.frob.com>
8234
8235 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8236 (ETH_ALEN): New macro.
8237 (struct ether_addr): Use it for length of ether_addr_octet.
8238
8239 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8240 (setdb): Don't call __nss_configure_lookup for "rpc".
8241 (do_test): Don't call test_rpc.
8242 (output_rpcent, test_rpc): Functions moved ...
8243 * sunrpc/test-rpcent.c: ... to this new file.
8244 * sunrpc/Makefile (tests): Add it.
8245
8246 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8247 __xpg_sigpause.
8248 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8249 * nptl/tst-signal6.c: Likewise.
8250 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8251 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8252
8253 * configure.ac (libc_cv_cxx_link_ok): New check.
8254 Reset CXX to empty if it fails to link.
8255 * configure: Regenerated.
8256 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8257 bug-atexit3-lib only if $(CXX) is nonempty.
8258 * nptl/Makefile (tests): Likewise for tst-cancel24.
8259 (tests, tests-static): Likewise for tst-cancel24-static.
8260 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8261 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8262 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8263 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8264
8265 2015-03-04 Andreas Schwab <schwab@suse.de>
8266
8267 [BZ #17631]
8268 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8269 for non-GCC compilers.
8270 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8271 Likewise.
8272
8273 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8274
8275 [BZ #17776]
8276 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8277 integer before bitwise and assembly operations.
8278 (feclearexcept): Likewise.
8279 * math/test-fenvinline.c: New file.
8280 * math/Makefile: Add test-fenvinline test.
8281
8282 2015-03-03 Alan Modra <amodra@gmail.com>
8283
8284 [BZ #16512]
8285 * scripts/localplt.awk: Strip off symbol version.
8286 * NEWS: Mention bug fix.
8287
8288 2015-03-02 Roland McGrath <roland@hack.frob.com>
8289
8290 * sysdeps/pthread/timer_routines.c
8291 (timer_free_list, thread_free_list, thread_active_list): Make static.
8292
8293 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8294
8295 [BZ #17779]
8296 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8297 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8298 Undefine.
8299 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8300 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8301 Likewise.
8302 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8303 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8304 Likewise.
8305
8306 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8307
8308 [BZ #18036]
8309 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8310 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8311
8312 2015-03-02 Andreas Schwab <schwab@suse.de>
8313
8314 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8315 variable name.
8316
8317 2015-03-02 Florian Weimer <fweimer@redhat.com>
8318
8319 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8320 Return error status.
8321
8322 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8323
8324 [BZ #15969]
8325 * locale/findlocale.c (_nl_find_locale): Introduce const
8326 version of loc_name and drop unsafe type casts.
8327
8328 2015-02-27 Roland McGrath <roland@hack.frob.com>
8329
8330 * dlfcn/tststatic2.c (main): Converted to ...
8331 (do_test): ... this.
8332 (TEST_FUNCTION): New macro.
8333 Include test-skeleton.c.
8334
8335 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8336
8337 [BZ #17711]
8338 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8339 (tests-pie): Add vismain.
8340 (CFLAGS-vismain.c): New.
8341 * elf/vismain.c: Add comments for PIE requirement.
8342
8343 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8344
8345 [BZ #18046]
8346 [BZ #18047]
8347 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8348 0x1p-56L as threshold for just returning the argument.
8349 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8350 0x1p-32L as threshold for just returning the argument.
8351 * math/auto-libm-test-in: Add more tests of atanh.
8352 * math/auto-libm-test-out: Regenerated.
8353 * sysdeps/i386/fpu/libm-test-ulps: Update.
8354 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8355
8356 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8357
8358 * string/bcopy.c (bcopy): Call memmove for performance.
8359
8360 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8361
8362 * string/bzero.c (__bzero): Call memset for performance.
8363
8364 2015-02-27 John David Anglin <dave.anglin@bell.net>
8365
8366 [BZ #18068]
8367 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8368 to 00100000.
8369
8370 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8371
8372 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8373
8374 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8375
8376 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8377 (__kernel_standard): Use CSTR macro when setting exc.name.
8378 * sysdeps/ieee754/Makefile [$(subdir) = math]
8379 (CFLAGS-k_standard.c): Remove variable.
8380
8381 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8382 setting p and q from "else if" to "else".
8383 (qzero): Likewise.
8384 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8385 (qone): Likewise.
8386 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8387 (qzerof): Likewise.
8388 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8389 (qonef): Likewise.
8390 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8391 (qzero): Likewise.
8392 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8393 (qone): Likewise.
8394
8395 [BZ #18038]
8396 [BZ #18039]
8397 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8398 return pi/2 for arguments below 0x1p-113L.
8399 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8400 return pi/2 for arguments below 0x1p-106L.
8401 * math/auto-libm-test-in: Add more tests of acos.
8402 * math/auto-libm-test-out: Regenerated.
8403
8404 [BZ #16351]
8405 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8406 (MO): New macro.
8407 (__ieee754_asin): Force underflow exception for results with small
8408 absolute value.
8409 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8410 (MO): New macro.
8411 (__ieee754_asinf): Force underflow exception for results with
8412 small absolute value.
8413 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8414 (__ieee754_asin): Force underflow exception for results with small
8415 absolute value.
8416 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8417 (__ieee754_asinf): Force underflow exception for results with
8418 small absolute value.
8419 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8420 (__ieee754_asinl): Force underflow exception for results with
8421 small absolute value.
8422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8423 (__ieee754_asinl): Force underflow exception for results with
8424 small absolute value.
8425 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8426 (__ieee754_asinl): Force underflow exception for results with
8427 small absolute value.
8428 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8429 Include <math.h>.
8430 * math/auto-libm-test-in: Do not mark underflow exceptions as
8431 possibly missing for bug 16351.
8432 * math/auto-libm-test-out: Regenerated.
8433
8434 [BZ #18030]
8435 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8436 of power of 2 down when low part has opposite sign.
8437 * math/libm-test.inc (logb_test_data): Add more tests.
8438
8439 2015-02-26 Andreas Schwab <schwab@suse.de>
8440
8441 [BZ #18032]
8442 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8443 over collating symbol inside a bracket expression. Minor cleanup.
8444 * posix/tst-fnmatch3.c (do_test): Add test case.
8445
8446 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8447
8448 [BZ #18029]
8449 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8450 Adjust exponent of power of 2 down when low part has opposite
8451 sign.
8452 * math/libm-test.inc (ilogb_test_data): Add more tests.
8453
8454 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8455
8456 [BZ #15969]
8457 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8458 the previous change.
8459
8460 [BZ #15969]
8461 * locale/findlocale.c (_nl_find_locale): Retry archive search
8462 after alias expansion.
8463
8464 2015-02-25 Roland McGrath <roland@hack.frob.com>
8465
8466 * iconv/tst-iconv3.c (main): Converted to ...
8467 (do_test): ... this.
8468 (TEST_FUNCTION): New macro.
8469 Include test-skeleton.c.
8470
8471 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8472 (convert): Make function static.
8473 (test_unalign): Likewise. Add const to argument pointee types.
8474 (main): Replace with static function do_test.
8475 Print "Succeeded." only if RET is zero.
8476 (TEST_FUNCTION): New macro.
8477 Include test-skeleton.c.
8478
8479 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8480 returns a null pointer.
8481
8482 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8483
8484 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8485 to __memcpy_ppc only for static builds.
8486
8487 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8488
8489 [BZ #18020]
8490 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8491 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8492 * math/auto-libm-test-in: Add more tests of asinh.
8493 * math/auto-libm-test-out: Regenerated.
8494 * sysdeps/i386/fpu/libm-test-ulps: Update.
8495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8496
8497 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8498
8499 [BZ #15850]
8500 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8501 and ip6_mtuinfo definitions here.
8502 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8503 in this define too. Update comment.
8504
8505 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8506
8507 * elf/sprof.c (load_shobj): Tweak error message to match others.
8508
8509 2015-02-24 Kevin Easton <kevin@guarana.org>
8510
8511 [BZ #16145] (partial fix)
8512 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8513 to reduce lock contention.
8514
8515 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8516
8517 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8518 (struct timex): Update time comment.
8519 (ADJ_SETOFFSET): Define.
8520
8521 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8522
8523 [BZ #18019]
8524 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8525 2**56 not 2**28 as threshold for log (2x) formula.
8526 * math/auto-libm-test-in: Add more tests of acosh.
8527 * math/auto-libm-test-out: Regenerated.
8528 * sysdeps/i386/fpu/libm-test-ulps: Update.
8529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8530
8531 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8532
8533 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8534 parenthesis around the buf assignment.
8535 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8536
8537 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8538
8539 [BZ #16783]
8540 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8541 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8542 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8543 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8544 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8545 * math/libm-test.inc (scalb_test_data): Add more tests.
8546
8547 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8548
8549 [BZ #17916]
8550 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8551 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8552
8553 2015-02-24 Eric Rannaud <e@nanocritical.com>
8554
8555 [BZ #17523]
8556 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8557 * io/bits/fcntl2.h (open): Use it.
8558 (openat): Likewise.
8559 * io/open.c (__libc_open): Likewise.
8560 * io/open64.c (__libc_open64): Likewise.
8561 * io/open64_2.c (__open64_2): Likewise.
8562 * io/open_2.c (__open_2): Likewise.
8563 * io/openat.c (__openat): Likewise.
8564 * io/openat64.c (__openat64): Likewise.
8565 * io/openat64_2.c (__openat64_2): Likewise.
8566 * io/openat_2.c (__openat_2): Likewise.
8567 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8568 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8569 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8570 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8571 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8572 (__open_nocancel): Likewise.
8573 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8574 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8575 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8576
8577 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8578
8579 [BZ #14841]
8580 * resolv/gethnamaddr.c (getanswer): Skip logging if
8581 RES_USE_DNSSEC is set.
8582 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8583
8584 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8585
8586 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8587
8588 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8589
8590 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8591 201304L, for Unicode 7.
8592
8593 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8594
8595 [BZ #17836]
8596 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8597 shared library. Add gmon-start.os otherwise.
8598 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8599 $(objpfx)gmon-start.os if builing shared library.
8600 ($(objpfx)g$(static-start-installed-name)): Likewise.
8601
8602 2015-02-23 Andreas Schwab <schwab@suse.de>
8603
8604 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8605
8606 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8607
8608 [BZ #17269]
8609 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8610 (enlarge_userbuf): Likewise.
8611
8612 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8613
8614 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8615 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8616 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8617 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8618
8619 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8620
8621 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8622 expression inside statement expression.
8623
8624 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8625
8626 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8627 <sysdeps/nptl/lowlevellock.h> and remove macros and
8628 functions that are now defined there.
8629 (SYS_futex): Remove.
8630 (lll_compare_and_swap): Remove.
8631 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8632
8633 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8634
8635 [BZ #17999]
8636 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8637 instead of scandirat.
8638 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8639 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8640 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8641 __scandirat.
8642 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8643 (__scandirat): Declare. Use libc_hidden_proto.
8644 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8645 Remove variable.
8646 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8647
8648 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8649
8650 [BZ #15319]
8651 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8652 (MO): New macro.
8653 (__ieee754_atan2): For results with small absolute value, force
8654 underflow exception and remove excess range and precision from
8655 return value.
8656 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8657 (MO): New macro.
8658 (__ieee754_atan2f): For results with small absolute value, force
8659 underflow exception and remove excess range and precision from
8660 return value.
8661 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8662 (MO): New macro.
8663 (__atan): For results with small absolute value, force underflow
8664 exception and remove excess range and precision from return value.
8665 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8666 (MO): New macro.
8667 (__atanf): For results with small absolute value, force underflow
8668 exception and remove excess range and precision from return value.
8669 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8670 <math.h>.
8671 (__ieee754_atan2): Force underflow exception for results with
8672 small absolute value.
8673 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8674 <math_private.h>.
8675 (atan): Force underflow exception for results with small absolute
8676 value.
8677 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8678 (__atanf): Force underflow exception for results with small
8679 absolute value.
8680 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8681 <math.h>.
8682 (__atanl): Force underflow exception for results with small
8683 absolute value.
8684 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8685 (__atanl): Force underflow exception for results with small
8686 absolute value.
8687 * sysdeps/x86/fpu/bits/mathinline.h
8688 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8689 (__ieee754_atan2): Only define inline for long double.
8690 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8691 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8692 * math/auto-libm-test-in: Do not mark underflow exceptions as
8693 possibly missing for bug 15319. Add more tests of atan2.
8694 * math/auto-libm-test-out: Regenerated.
8695 * math/libm-test.inc (casin_test_data): Do not mark underflow
8696 exceptions as possibly missing for bug 15319.
8697 (casinh_test_data): Likewise.
8698 * sysdeps/i386/fpu/libm-test-ulps: Update.
8699
8700 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8701
8702 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8703 * sysdeps/mips/bits/endian.h: Fix comments.
8704
8705 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8706
8707 [BZ #17996]
8708 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8709 (hdestroy_r): Likewise.
8710 (hsearch_r): Likewise.
8711 (__hcreate_r): Declare and use libc_hidden_proto.
8712 (__hdestroy_r): Likewise.
8713 (__hsearch_r): Likewise.
8714 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8715 (hcreate): Call __hcreate_r instead of hcreate_r.
8716 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8717 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8718 as weak alias of __hcreate_r.
8719 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8720 __hdestroy_r.
8721 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8722 __hsearch_r.
8723 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8724 Remove variable.
8725 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8726 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8727 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8728 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8729
8730 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8731
8732 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8733 arena_lock into a single arena_get.
8734
8735 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8736
8737 * dl-reloc.c: Inlucde libc-internal.h.
8738 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8739 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8740 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8741 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8742 (grow_heap): Likewise.
8743 * malloc/malloc.c: Include libc-internal.h.
8744 (do_check_malloc): Call powerof2.
8745 (sysmalloc): Use pagesize. Call ALIGN_UP.
8746 (systrim): Use pagesize.
8747 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8748 (__libc_valloc): Use pagesize.
8749 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8750
8751 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8752
8753 [BZ #17991]
8754 * include/sys/resource.h (__getrlimit64): Declare. Use
8755 libc_hidden_proto.
8756 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8757 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8758 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8759 getrlimit64.
8760 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8761 __getrlimit64.
8762 [!getrlimit64] (getrlimit64): Define as weak alias of
8763 __getrlimit64. Use libc_hidden_weak.
8764 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8765 using __getrlimit64 not __new_getrlimit64.
8766 (__GI_getrlimit64): Likewise.
8767 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8768 Likewise.
8769 (__GI_getrlimit64): Likewise.
8770 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8772 (getrlimit): Add __getrlimit64 alias.
8773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8774 Likewise.
8775 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8776 Remove variable.
8777 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8778 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8779
8780 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8781
8782 * libio/fileops.c: Add missing sys/mman.h
8783 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8784
8785 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8786
8787 * manual/math.texi (Errors in Math Functions): Clarify goals
8788 regarding inexact and underflow exceptions.
8789
8790 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8791
8792 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8793 * sysdeps/mips/memset.S: Ditto.
8794
8795 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8796
8797 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8798
8799 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8800
8801 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8802 (__v1longjmp): Remove versioned symbol.
8803 (__v1siglongjmp): Remove alias and versioned symbol.
8804 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8805 (__v2siglongjmp): Likewise.
8806
8807 2015-02-16 Torvald Riegel <triegel@redhat.com>
8808
8809 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8810
8811 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8812
8813 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8814
8815 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8816
8817 [BZ #17987]
8818 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8819 zero result does not depend on the sign resulting from
8820 subtraction.
8821 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8822 Likewise.
8823 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8824 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8825 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8826 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8827 * math/libm-test.inc (remquo_test_data): Add more tests.
8828
8829 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8830
8831 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8832 Problem reported by J William Piggott.
8833
8834 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8835
8836 [BZ #17978]
8837 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8838 products 4 * y and 2 * y where those would overflow.
8839 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8840 Likewise.
8841 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8842 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8843 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8844 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8845 * math/libm-test.inc (remquo_test_data): Add more tests.
8846
8847 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8848
8849 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8850 [defined _COMPILING_NEWLIB].
8851 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8852 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8853
8854 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8855 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8856
8857 2015-02-16 Torvald Riegel <triegel@redhat.com>
8858
8859 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8860 acquired.
8861
8862 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8863
8864 [BZ #17792]
8865 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8866 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8867 HOST_STACK_END_ADDR): Likewise.
8868
8869 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8870
8871 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8872 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8873 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8874
8875 2015-02-13 Roland McGrath <roland@hack.frob.com>
8876
8877 * sysdeps/generic/c++-types.data: New file.
8878 * sysdeps/generic/ld.abilist: New file.
8879 * sysdeps/generic/libBrokenLocale.abilist: New file.
8880 * sysdeps/generic/libanl.abilist: New file.
8881 * sysdeps/generic/libc.abilist: New file.
8882 * sysdeps/generic/libcrypt.abilist: New file.
8883 * sysdeps/generic/libdl.abilist: New file.
8884 * sysdeps/generic/libm.abilist: New file.
8885 * sysdeps/generic/libpthread.abilist: New file.
8886 * sysdeps/generic/libresolv.abilist: New file.
8887 * sysdeps/generic/librt.abilist: New file.
8888
8889 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8890
8891 [BZ #17569]
8892 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8893 Compute absolute value of x as modified by fmod, not original
8894 value of x.
8895 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8896 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8897 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8898 RUN_TEST_ffI_f1_mod8.
8899 (remquo_test_data): Add more tests.
8900
8901 2015-02-13 Roland McGrath <roland@hack.frob.com>
8902
8903 * sysdeps/init_array/pt-crti.S: New file.
8904
8905 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8906
8907 [BZ #17967]
8908 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8909 __builtin_fmaf instead of relying on contraction of a * b + c.
8910
8911 2015-02-12 J William Piggott <elseifthen@gmx.com>
8912
8913 [BZ #17969]
8914 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8915 node.
8916
8917 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8918
8919 [BZ #17964]
8920 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8921 __builtin_fma instead of relying on contraction of a * b + c.
8922
8923 2015-02-12 Roland McGrath <roland@hack.frob.com>
8924
8925 * Makeconfig (ASFLAGS): Add -Werror=undef.
8926 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8927 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8928 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8929
8930 * Makeconfig (after-link): New variable.
8931 (+link-pie, +link-pie-tests): Use it.
8932 (+link-static, +link-static-tests): Likewise.
8933 (+link, +link-tests): Likewise.
8934 * Makerules (build-module, build-module-asneeded): Likewise.
8935 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8936 Likewise.
8937 * elf/Makefile ($(objpfx)ld.so): Likewise.
8938
8939 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8940
8941 [BZ #17965]
8942 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8943 both struct timeval and struct timespec.
8944
8945 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8946
8947 [BZ #16560]
8948 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8949 and redefine.
8950 (__ieee754_exp2l): Do not multiply small fractional parts by
8951 M_LN2l.
8952 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8953 small argument.
8954 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8955 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8956 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8957 * math/auto-libm-test-in: Add more tests of exp2.
8958 * math/auto-libm-test-out: Regenerated.
8959
8960 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8961
8962 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8963 unaligned path.
8964
8965 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8966
8967 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8968 little endian.
8969
8970 2015-02-12 Andreas Schwab <schwab@suse.de>
8971
8972 [BZ #15790]
8973 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8974 Filter out elision flags from value returned in kind.
8975 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8976 * nptl/tst-pthread-mutexattr.c: New file.
8977
8978 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8979
8980 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8981 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8982 into gnu-gnu, and update comment to refer to abi-tags.
8983
8984 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8985
8986 [BZ #15467]
8987 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8988 (__sincos): Set errno to EDOM for infinite argument.
8989 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8990 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8991 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8992 (__sincosl): Set errno to EDOM for infinite argument.
8993 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8994 (__sincosl): Set errno to EDOM for infinite argument.
8995 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8996 (__sincosl): Set errno to EDOM for infinite argument.
8997 * math/libm-test.inc (sincos_test_data): Test errno setting.
8998
8999 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
9000
9001 * string/strxfrm_l.c: Remove #define STRCMP.
9002 * string/strcoll_l.c: Remove #define STRLEN.
9003 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9004 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9005
9006 2015-02-10 Joseph Myers <joseph@codesourcery.com>
9007
9008 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9009 * sysdeps/mips/mips32/sfp-machine.h: ... here.
9010 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9011 * sysdeps/mips/mips64/Makefile: ... here.
9012 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9013 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9014 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9015 * sysdeps/mips/mips64/sfp-machine.h: ... here.
9016 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9017 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9018 * sysdeps/mips/mips64/n64/Implies: Likewise.
9019
9020 2015-02-10 Roland McGrath <roland@hack.frob.com>
9021
9022 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9023 <sys/time.h>, <string.h>, and <errno.h>.
9024 (dest_offset, dest_address, value, zero): Remove unused variables.
9025 (ldouble): Remove typedef.
9026 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9027 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
9028 1). Fix code style.
9029 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9030 (check): Function removed.
9031 (CHECK): New macro.
9032 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9033 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9034 Don't call set_sigaction_FP and remove_sigaction_FP here.
9035 (ldouble_test): Just use 'long double' as macro argument, no need for
9036 the 'ldouble' typedef.
9037 (do_test): Set up SIGFPE handler at start, using plain signal rather
9038 than sigaction. Fix code style.
9039
9040 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9041
9042 [BZ #17949]
9043 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9044 jump label.
9045
9046 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9047
9048 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9049 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9050
9051 * sysdeps/powerpc/configure.ac: Remove file.
9052 * sysdeps/powerpc/configure: Likewise.
9053
9054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9055 [sysdep_routines]: Remove wordcopy-power6 object.
9056 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9057 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9058 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9059 (__memmove_ppc32): Likewise.
9060 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9061 file.
9062 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9063 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9064 Remove preprocessor.
9065
9066 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9067 [sysdep_routines]: Remove wide chars objects.
9068 [wcsmbs]: New rule for wide char objects.
9069
9070 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9071 Remove wordcopy-power6 obejct.
9072 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9073 Use local call for wordcopy and memcpy symbols.
9074 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9075 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9076 implementation for loader.
9077 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9078
9079 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9080 Remove wordcopy-power7 object.
9081 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9082 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9083 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9084 (_wordcopy_fwd_dest_aligned): Likewise.
9085 (_wordcopy_bwd_aligned): Likewise.
9086 (_wordcopy_bwd_dest_aligned): Likewise.
9087
9088 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9089 Rewrite to call __memmove_ppc instead of include default
9090 implementation.
9091
9092 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9093 Remove wide chars objects.
9094 [wcsmbs]: New rule for wide char objects.
9095
9096 2015-02-09 Andreas Schwab <schwab@suse.de>
9097
9098 [BZ #17912]
9099 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9100 in terms of __O_DIRECTORY.
9101
9102 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9103
9104 * time/getdate.c: Include <stdbool.h>.
9105 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9106 call PTR_MANGLE.
9107 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9108 PTR_DEMANGLE.
9109
9110 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9111
9112 Add ersatz _Static_assert on older C hosts
9113 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9114 pre-C11 C platform that is not known to support _Static_assert.
9115
9116 2015-02-07 Richard Braun <rbraun@sceen.net>
9117
9118 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9119 sigstate.
9120 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9121
9122 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9123
9124 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9125 priority against unexistent AIO_PRIO_DELTA_MAX.
9126 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9127 instead of int.
9128 * misc/fchflags.c (fchflags): Likewise.
9129 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9130 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9131 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9132 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9133 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9134 Declare macros.
9135 [__USE_MISC] (chflags, fchflags): Declare functions.
9136 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9137 EINVAL when nfds is greater than FD_SETSIZE.
9138 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9139 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9140 45.
9141 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9142 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9143 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9144 MACH_RCV_TIMED_OUT.
9145 * hurd/hurd/signal.h (_hurd_self_sigstate,
9146 _hurd_critical_section_lock, _hurd_critical_section_unlock):
9147 Explicit casts from void *.
9148 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9149 * abi-tags: Rename gnu-gnu os into gnu.
9150
9151 [BZ #4719]
9152 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9153 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9154 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9155 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9156 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9157 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9158
9159 [BZ #17944]
9160 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9161 duplicates ADDR->sun_path with sockaddr LEN limitation.
9162 * sysdeps/mach/hurd/connect.c: Include <string.h>
9163 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9164 * sysdeps/mach/hurd/sendmsg.c: Likewise.
9165 * sysdeps/mach/hurd/sendto.c: Likewise.
9166 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9167 implementing it by hand.
9168
9169 2015-02-06 Roland McGrath <roland@hack.frob.com>
9170
9171 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9172 Use sfi_breg on ldr.
9173 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9174 Likewise.
9175
9176 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9177 it's defined.
9178 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9179 Test SIGSETXID only if it's defined.
9180
9181 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9182
9183 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9184 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
9185
9186 * nptl/tst-align2.c: Moved ...
9187 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9188 * nptl/Makefile (tests): Remove tst-align2.
9189 * sysdeps/unix/sysv/linux/Makefile
9190 [$(subdir) = nptl] (tests): Add tst-align-clone.
9191 * nptl/tst-getpid1.c: Moved ...
9192 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9193 * nptl/tst-getpid2.c: Moved ...
9194 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9195 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9196 * sysdeps/unix/sysv/linux/Makefile
9197 [$(subdir) = nptl] (tests): ... here.
9198 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9199 * sysdeps/unix/sysv/linux/Makefile
9200 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9201
9202 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9203 Drop trailing \n from perror argument. Use return rather than exit.
9204
9205 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9206 on [SA_SIGINFO].
9207 * nptl/tst-cancel21.c (do_test): Likewise.
9208 * debug/tst-backtrace6.c: Include <signal.h> first thing.
9209 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9210 [!SA_SIGINFO]: Make it a stub test.
9211
9212 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9213 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9214
9215 * posix/tst-getlogin.c: Move to ...
9216 * login/tst-getlogin.c: ... here.
9217 * posix/Makefile (tests): Move tst-getlogin to ...
9218 * login/Makefile (tests): ... here.
9219
9220 * libio/tst-atime.c (do_test): Move local variables SV and E
9221 inside [ST_NOATIME] conditional.
9222
9223 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9224
9225 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9226
9227 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9228 (wait_code): New function replaces macro.
9229 Call nanosleep rather than syscall.
9230
9231 * nptl/pt-system.c: Rewritten. Put everything under
9232 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9233 Use IFUNC to redirect when possible.
9234
9235 * nptl/pt-longjmp.c: Rewritten. Put everything under
9236 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9237 Use IFUNC to redirect when possible.
9238
9239 * nptl/pt-fork.c: Rewritten. Put everything under
9240 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9241 Use IFUNC to redirect when possible.
9242 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9243
9244 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9245 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9246 unconditionally nowadays. This included the only reference to
9247 __vdso_clock_gettime that appears outside libc proper.
9248 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9249 Remove version set (containing only __vdso_clock_gettime).
9250 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9251 Add attribute_hidden.
9252 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9253 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9254 libc_hidden_data_def.
9255 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9256 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9257
9258 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9259 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9260 setrpcent, and getrpcport to ...
9261 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9262 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9263 getrpcbynumber_r, and getrpcent_r to ...
9264 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9265 * inet/getrpcbyname.c: Moved ...
9266 * sunrpc/getrpcbyname.c: ... here.
9267 * inet/getrpcbyname_r.c: Moved ...
9268 * sunrpc/getrpcbyname_r.c: ... here.
9269 * inet/getrpcbynumber.c: Moved ...
9270 * sunrpc/getrpcbynumber.c: ... here.
9271 * inet/getrpcbynumber_r.c: Moved ...
9272 * sunrpc/getrpcbynumber_r.c: ... here.
9273 * inet/getrpcent.c: Moved ...
9274 * sunrpc/getrpcent.c: ... here.
9275 * inet/getrpcent_r.c: Moved ...
9276 * sunrpc/getrpcent_r.c: ... here.
9277 * inet/Makefile (routines): Move those to ...
9278 * sunrpc/Makefile (routines): ... here.
9279 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9280 the $(subdirs) list.
9281 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9282 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9283 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9284 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9285
9286 * elf/Makefile (routines): Include $(all-dl-routines), not just
9287 $(dl-routines).
9288 (rtld-routines): Likewise. Use = rather than :=.
9289 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9290 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9291 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9292 * sysdeps/arm/Makefile: Likewise.
9293 * sysdeps/i386/Makefile: Likewise.
9294 * sysdeps/x86_64/Makefile: Likewise.
9295 * sysdeps/hppa/Makefile [$(subdir) = elf]
9296 (sysdep_routines, sysdep-rtld-routines): Don't add
9297 $(sysdep-dl-routines) to these.
9298 * sysdeps/ia64/Makefile: Likewise.
9299 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9300 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9301 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9302 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9303 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9304 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9305 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9306 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9307 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9308 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9309 these; sysdep-dl-routines alone is enough.
9310
9311 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9312
9313 [BZ #17932]
9314 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9315 where multiplication results in zero and third argument is finite
9316 and nonzero.
9317 * math/auto-libm-test-in: Add more tests of fma.
9318 * math/auto-libm-test-out: Regenerated.
9319
9320 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9321 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9322 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9323 (_FP_CMP_EQ): Likewise.
9324 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9325
9326 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9327 extra argument CHECK_NAN. Redefine as wrapper around
9328 _FP_EXTEND_CNAN.
9329
9330 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9331
9332 * version.h (RELEASE): Set to "stable".
9333 (VERSION): Set to "2.21"
9334 * include/features.h (__GLIBC_MINOR__): Set to 21.
9335
9336 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9337
9338 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9339 Paul Eggert <eggert@cs.ucla.edu>
9340
9341 [BZ #16618]
9342 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9343 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9344 size in bytes. Store needed elements in wpmax. Use needed size
9345 in bytes for extend_alloca.
9346
9347 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9348
9349 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9350 binutls 2.25, and texinfo 5.2.
9351 * INSTALL: Regenerate.
9352 * sysdeps/nios2/configure: Regenerate.
9353 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9354 * manual/contrib.texi: Update.
9355 * po/be.po: Update.
9356 * po/bg.po: Update.
9357 * po/ca.po: Update.
9358 * po/cs.po: Update.
9359 * po/da.po: Update.
9360 * po/de.po: Update.
9361 * po/el.po: Update.
9362 * po/eo.po: Update.
9363 * po/es.po: Update.
9364 * po/fi.po: Update.
9365 * po/fr.po: Update.
9366 * po/gl.po: Update.
9367 * po/hr.po: Update.
9368 * po/hu.po: Update.
9369 * po/ia.po: Update.
9370 * po/id.po: Update.
9371 * po/it.po: Update.
9372 * po/ja.po: Update.
9373 * po/ko.po: Update.
9374 * po/lt.po: Update.
9375 * po/nb.po: Update.
9376 * po/nl.po: Update.
9377 * po/pl.po: Update.
9378 * po/pt_BR.po: Update.
9379 * po/ru.po: Update.
9380 * po/rw.po: Update.
9381 * po/sk.po: Update.
9382 * po/sl.po: Update.
9383 * po/sv.po: Update.
9384 * po/tr.po: Update.
9385 * po/uk.po: Update.
9386 * po/vi.po: Update.
9387 * po/zh_CN.po: Update.
9388 * po/zh_TW.po: Update.
9389
9390 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9391 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9392 * sysdeps/hppa/dl-irel.h: Remove #warning.
9393 * sysdeps/hppa/entry.h: Provide prototype for
9394 __canonicalize_funcptr_for_compare and cast argument.
9395 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9396 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9397 * sysdeps/hppa/sotruss-lib.c: New file.
9398 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9399 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9400 (atomic_compare_and_exchange_bool_acq): Likewise.
9401 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9402 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9403
9404 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9405 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9406 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9407
9408 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9409
9410 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9411 called function in non-PIC case.
9412
9413 2015-01-31 David S. Miller <davem@davemloft.net>
9414
9415 * sysdeps/sparc/sparc32/bits/atomic.h
9416 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9417 unlock not after it.
9418 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9419 volatile register usage warnings from the compiler.
9420
9421 * sysdeps/sparc/nptl/sem_init.c: Delete.
9422 * sysdeps/sparc/nptl/sem_post.c: Delete.
9423 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9424 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9425 * sysdeps/sparc/sparc32/sem_init.c: New file.
9426 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9427 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9428 padding explicitly initialized.
9429 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9430 padding for in-semaphore spinlock.
9431 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9432 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9433 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9434 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9435 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9436 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9437 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9438 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9439 version.
9440 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9441 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9442
9443 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9444
9445 [BZ #17801]
9446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9447 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9448 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9449 New.
9450 (index_AVX_Fast_Unaligned_Load): Likewise.
9451 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9452 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9453 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9454 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9455 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9456 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9457 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9458 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9459 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9460
9461 2015-01-29 Andreas Schwab <schwab@suse.de>
9462
9463 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9464
9465 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9466
9467 [BZ #17892]
9468 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9469
9470 2015-01-28 Martin Sebor <msebor@redhat.com>
9471
9472 * math/README.libm-test: Clarify. Add "How to read the test output."
9473
9474 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9475
9476 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9477 Define to 0.
9478
9479 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9480
9481 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9482 (__HAVE_64B_ATOMICS): Define to 0.
9483
9484 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9485
9486 [BZ #17885]
9487 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9488 value to set as new flag.
9489
9490 [BZ #16576]
9491 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9492 and use _ARCH_PPCSQ instead.
9493 (__ieee754_sqrt): Likewise.
9494 (__ieee754_sqrtf): Likewise.
9495 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9496 _ARCH_PPCSQ is defined.
9497 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9498 fsqrt instruction.
9499 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9500 _ARCH_PPCSQ is defined.
9501 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9502 fsqrts instruction.
9503 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9504
9505 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9506
9507 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9508 bug (GCC BZ #64739).
9509
9510 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9511
9512 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9513 Mark _retval as used.
9514 (lll_futex_wake_unlock): Likewise.
9515 (lll_futex_timed_wait_requeue_pi): Likewise.
9516
9517 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9518 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9519 register variables.
9520
9521 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9522 libm_hidden_def.
9523
9524 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9525 (__bswap_64): Mark as __always_inline.
9526
9527 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9528
9529 [BZ #15378]
9530 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9531 when none of the search directories exist.
9532
9533 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9534
9535 [BZ #17869]
9536 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9537 power8 in .machine directive.
9538
9539 [BZ #17868]
9540 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9541 set dependency from opd value.
9542
9543 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9544
9545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9546 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9547 architecture.
9548
9549 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9550
9551 [BZ #17870]
9552 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9553 with uint64_t.
9554 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9555 (uint64_t) 1.
9556 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9557 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9558 Replace 1UL with (uint64_t) 1.
9559 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9560 int with uint64_t.
9561
9562 2015-01-23 Roland McGrath <roland@hack.frob.com>
9563
9564 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9565 (if_freenameindex): Likewise.
9566
9567 * resource/getrlimit64.c: Add missing libc_hidden_def.
9568
9569 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9570
9571 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9572 __label__.
9573 (_FP_FMA): Likewise.
9574 (_FP_TO_INT_ROUND): Likewise.
9575 (_FP_FROM_INT): Likewise.
9576
9577 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9578
9579 [BZ #16418]
9580 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9581 Make code racy and cancel safe.
9582
9583 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9584
9585 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9586 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9587 attribution.
9588
9589 * pwd/tst-getpw.c: Rewrite.
9590
9591 [BZ #17702]
9592 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9593 (modules-names): Add moddummy1 and moddummy2.
9594 ($(objpfx)tst-rec-dlopen): Define.
9595 * dlfcn/moddummy1.c: New file.
9596 * dlfcn/moddummy2.c: New file.
9597 * dlfcn/tst-rec-dlopen.c: New file.
9598 * elf/dl-cache.c (_dl_load_cache_lookup):
9599 Return char*. Copy result with alloca/strcpy/strdup.
9600 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9601 returns char*. Free cached. If not saving realname
9602 free cached.
9603 * elf/dl-open.c (dl_open_worker): Do not assert that
9604 _r_debug->r_state is RT_CONSISTENT.
9605 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9606 returns char*.
9607
9608 2015-01-21 Torvald Riegel <triegel@redhat.com>
9609 Carlos O'Donell <carlos@redhat.com>
9610
9611 [BZ #12674]
9612 * nptl/sem_waitcommon.c: New file.
9613 * nptl/sem_wait.c: Include sem_waitcommon.c.
9614 (__sem_wait_cleanup, do_futex_wait): Remove.
9615 (__new_sem_wait): Adapt.
9616 (__new_sem_trywait): New function.
9617 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9618 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9619 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9620 (sem_timedwait): Adapt.
9621 * nptl/sem_post.c (__new_sem_post): Adapt.
9622 (futex_wake): New function.
9623 (__old_sem_post): Add release MO fence.
9624 * nptl/sem_open.c (sem_open): Adapt.
9625 * nptl/sem_init.c (__new_sem_init): Adapt.
9626 (futex_private_if_supported): New function.
9627 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9628 (__old_sem_getvalue): Add using previous code.
9629 * sysdeps/nptl/internaltypes.h: Adapt.
9630 * nptl/tst-sem13.c (do_test): Adapt.
9631 * nptl/tst-sem11.c (main): Adapt.
9632 * nptl/sem_trywait.c: Remove.
9633 * nptl/DESIGN-sem.txt: Remove.
9634 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9635 (gen-as-const-headers): Remove structsem.sym.
9636 * nptl/structsem.sym: Remove.
9637 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9638 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9639 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9640 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9641 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9642 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9643 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9644 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9645 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9646 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9647 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9648 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9649 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9650 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9651 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9652 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9653 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9654 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9655 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9656 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9657 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9658 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9659
9660 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9661
9662 * INSTALL: Regenerated.
9663
9664 * po/libc.pot: Regenerated.
9665
9666 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9667 Sandra Loosemore <sandra@codesourcery.com>
9668 Andrew Jenner <andrew@codesourcery.com>
9669 Joseph Myers <joseph@codesourcery.com>
9670 Nathan Sidwell <nathan@codesourcery.com>
9671
9672 * NEWS: Mention new Nios II port.
9673 * sysdeps/nios2/Implies: New file.
9674 * sysdeps/nios2/Makefile: New file.
9675 * sysdeps/nios2/Subdirs: New file.
9676 * sysdeps/nios2/Versions: New file.
9677 * sysdeps/nios2/__longjmp.S: New file.
9678 * sysdeps/nios2/abort-instr.h: New file.
9679 * sysdeps/nios2/backtrace.c: New file.
9680 * sysdeps/nios2/bits/endian.h: New file.
9681 * sysdeps/nios2/bits/fenv.h: New file.
9682 * sysdeps/nios2/bits/link.h: New file.
9683 * sysdeps/nios2/bits/setjmp.h: New file.
9684 * sysdeps/nios2/bsd-_setjmp.S: New file.
9685 * sysdeps/nios2/bsd-setjmp.S: New file.
9686 * sysdeps/nios2/configure: New generated file.
9687 * sysdeps/nios2/configure.ac: New file.
9688 * sysdeps/nios2/crti.S: New file.
9689 * sysdeps/nios2/crtn.S: New file.
9690 * sysdeps/nios2/dl-init.c: New file.
9691 * sysdeps/nios2/dl-machine.h: New file.
9692 * sysdeps/nios2/dl-sysdep.h: New file.
9693 * sysdeps/nios2/dl-tls.h: New file.
9694 * sysdeps/nios2/dl-trampoline.S: New file.
9695 * sysdeps/nios2/gccframe.h: New file.
9696 * sysdeps/nios2/gmp-mparam.h: New file.
9697 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9698 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9699 * sysdeps/nios2/ldsodefs.h: New file.
9700 * sysdeps/nios2/libc-tls.c: New file.
9701 * sysdeps/nios2/libm-test-ulps: New file.
9702 * sysdeps/nios2/machine-gmon.h: New file.
9703 * sysdeps/nios2/math-tests.h: New file.
9704 * sysdeps/nios2/math_private.h: New file.
9705 * sysdeps/nios2/memusage.h: New file.
9706 * sysdeps/nios2/nptl/Makefile: New file.
9707 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9708 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9709 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9710 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9711 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9712 * sysdeps/nios2/nptl/tls.h: New file.
9713 * sysdeps/nios2/preconfigure: New file.
9714 * sysdeps/nios2/s_fma.c: New file.
9715 * sysdeps/nios2/s_fmaf.c: New file.
9716 * sysdeps/nios2/setjmp.S: New file.
9717 * sysdeps/nios2/sfp-machine.h: New file.
9718 * sysdeps/nios2/sotruss-lib.c: New file.
9719 * sysdeps/nios2/stackguard-macros.h: New file.
9720 * sysdeps/nios2/stackinfo.h: New file.
9721 * sysdeps/nios2/start.S: New file.
9722 * sysdeps/nios2/sysdep.h: New file.
9723 * sysdeps/nios2/tls-macros.h: New file.
9724 * sysdeps/nios2/tst-audit.h: New file.
9725 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9726 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9727 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9728 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9729 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9730 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9731 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9732 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9733 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9734 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9735 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9736 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9737 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9738 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9739 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9740 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9741 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9742 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9743 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9744 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9745 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9746 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9747 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9748 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9749 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9750 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9751 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9752 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9753 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9754 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9755 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9756 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9757 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9758 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9759 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9760 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9761 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9762 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9763 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9764 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9765 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9766 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9767 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9768 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9769
9770 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9771
9772 [BZ #17844]
9773 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9774 (getutent): Use weak_alias in non SHARED case
9775 and default_symbol_version in SHARED case.
9776 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9777 (getutent_r, pututline): Likewise.
9778 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9779 (getutid): Likewise.
9780 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9781 (getutid_r): Likewise.
9782 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9783 (getutline): Likewise.
9784 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9785 (getutline_r): Likewise.
9786 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9787 (updwtmp): Likewise.
9788
9789 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9790
9791 [BZ #17848]
9792 * sysdeps/s390/s390-32/memcmp.S
9793 (memcmp_g5): Rename to __memcmp_g5.
9794 * sysdeps/s390/s390-32/memcpy.S
9795 (memcpy_g5): Rename to __memcpy_g5.
9796 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9797 (memcpy_mvcle) Rename to __memcpy_mvcle.
9798 * sysdeps/s390/s390-32/memset.S
9799 (memset_g5): Rename to __memset_g5.
9800 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9801 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9802 and use prefixed functions.
9803 * sysdeps/s390/s390-32/multiarch/memcmp.S
9804 (memcmp_z196): Rename to __memcmp_z196.
9805 (memcmp_z10): Rename to __memcmp_z10.
9806 (memcmp): Set alias to __memcmp_g5.
9807 (bcmp): Set alias to __memcmp_g5.
9808 * sysdeps/s390/s390-32/multiarch/memcpy.S
9809 (memcpy_z196): Rename to __memcpy_z196.
9810 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9811 (memcpy_z10): Rename to __memcpy_z10.
9812 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9813 (memcpy): Set alias to __memcpy_g5.
9814 * sysdeps/s390/s390-32/multiarch/memset.S
9815 (memset_z196): Rename to __memset_z196.
9816 Jump to __memset_mvcle instead of memset_mvcle.
9817 (memset_z10): Rename to __memset_z10.
9818 Jump to __memset_mvcle instead of memset_mvcle.
9819 (memset_mvcle) Rename to __memset_mvcle.
9820 (memset): Set alias to __memset_g5.
9821 * sysdeps/s390/s390-64/memcmp.S
9822 (memcmp_z900): Rename to __memcmp_z900.
9823 * sysdeps/s390/s390-64/memcpy.S
9824 (memcpy_z900): Rename to __memcpy_z900.
9825 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9826 (memcpy_mvcle) Rename to __memcpy_mvcle.
9827 * sysdeps/s390/s390-64/memset.S
9828 (memset_z900): Rename to __memset_z900.
9829 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9830 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9831 and use prefixed functions.
9832 * sysdeps/s390/s390-64/multiarch/memcmp.S
9833 (memcmp_z196): Rename to __memcmp_z196.
9834 (memcmp_z10): Rename to __memcmp_z10.
9835 (memcmp): Set alias to __memcmp_z900.
9836 (bcmp): Set alias to __memcmp_z900.
9837 * sysdeps/s390/s390-64/multiarch/memcpy.S
9838 (memcpy_z196): Rename to __memcpy_z196.
9839 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9840 (memcpy_z10): Rename to __memcpy_z10.
9841 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9842 (memcpy): Set alias to __memcpy_z900.
9843 * sysdeps/s390/s390-64/multiarch/memset.S
9844 (memset_z196): Rename to __memset_z196.
9845 Jump to __memset_mvcle instead of memset_mvcle.
9846 (memset_z10): Rename to __memset_z10.
9847 Jump to __memset_mvcle instead of memset_mvcle.
9848 (memset_mvcle) Rename to __memset_mvcle.
9849 (memset): Set alias to __memset_z900.
9850
9851 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9852
9853 [BZ #17748]
9854 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9855 __fesetenv instead of fesetenv.
9856
9857 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9858
9859 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9860 macro.
9861
9862 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9863
9864 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9865 regression on LE.
9866
9867 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9868 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9869 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9870 strncmp-power8 object.
9871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9872 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9873 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9874 * NEWS: Update.
9875
9876 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9877 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9878
9879 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9880 trailing byte check.
9881
9882 2015-01-13 David S. Miller <davem@davemloft.net>
9883
9884 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9885
9886 2015-01-13 Roland McGrath <roland@hack.frob.com>
9887
9888 * login/logout.c (logout): Use memset rather than bzero.
9889 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9890 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9891 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9892 (_gethtbyaddr): Likewise.
9893 * locale/programs/simple-hash.c (bcopy): Macro removed.
9894
9895 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9896
9897 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9898 Add strcmp-power8 object.
9899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9900 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9901 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9902 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9903 __strcmp_power8 implementation.
9904 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9905 * NEWS: Update.
9906
9907 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9908 Add strncpy-power8 and stpncpy-power8 objects.
9909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9910 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9911 implementations.
9912 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9913 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9914 __stpncpy_power8 implementation.
9915 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9916 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9917 __strncpy_power8 implementation.
9918 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9919 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9920 * NEWS: Update.
9921
9922 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9923 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9924 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9925
9926 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9927 strncat-power8 object.
9928 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9929 __strcat_power8 implementation.
9930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9931 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9932 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9933 optimized strcat for power8.
9934
9935 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9936 strcpy-power8 and stpcpy-power8 objects.
9937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9938 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9939 implementations.
9940 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9941 multiarch stpcpy implementation for POWER8.
9942 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9943 multiarch strcpy implementation for POWER8.
9944 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9945 __strcpy_power8 function.
9946 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9947 stpcpy for POWER8.
9948 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9949 strcpy for POWER8.
9950 * NEWS: Update.
9951
9952 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9953
9954 [BZ #16009]
9955 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9956 weights and rules. Use do_xfrm_cached if data fits in cache,
9957 do_xfrm otherwise. Moved former main loop to...
9958 * (do_xfrm_cached): New function.
9959 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9960 find_idx, find_position and stack_push.
9961 * (find_idx): New function.
9962 * (find_position): Likewise.
9963 * localedata/sort-test.sh: Added test run for do_xfrm.
9964 * localedata/xfrm-test.c (main): Added command line option
9965 -nocache to run the test with strings that are too large for
9966 the STRXFRM cache.
9967
9968 2015-01-13 Torvald Riegel <triegel@redhat.com>
9969
9970 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9971 variable to lll_futex_wake call, not the value itself.
9972
9973 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9974
9975 [BZ #17803]
9976 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9977 twom64. Adjust value to 0x1p-64L.
9978 (__scalblnl): Only return standard underflowing result for K <=
9979 -64 not K <= -63; adjust exponent for underflowing result by 64
9980 not 63.
9981 * math/libm-test.inc (scalbn_test_data): Add more tests.
9982 (scalbln_test_data): Likewise.
9983
9984 [BZ #17834]
9985 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9986 0x1p63L.
9987 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9988 not HX.
9989 * math/libm-test.inc (scalbn_test_data): Add more tests.
9990 (scalbln_test_data): Likewise.
9991
9992 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9993 Stefani Seibold <stefani@seibold.net>
9994
9995 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9996 (sysdep_routines): Add dl-vdso here, ...
9997 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9998 (sysdep_routines): ... not here.
9999 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10000 fallback when vDSO is not presented.
10001 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10002 Define with libc_hidden_proto/libc_hidden_data_def definitions.
10003 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10004 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10005 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10006 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10007 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10008 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10009 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10010 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10011 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
10012 fallback configurable symbol when vDSO is not available.
10013 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10014 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
10015 be able to redefine fallback symbol when vDSO is not available.
10016 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10017 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10018
10019 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10020
10021 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10022 (TLS_INIT_TP): Add tm_capable initialization.
10023 (TLS_DEFINE_INIT_TP): Likewise.
10024 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10025 TCB.
10026 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10027 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10028 calculation.
10029 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10030 transactoion is lock elision is built and TCB tm_capable is set.
10031 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10033 (INTERNAL_SYSCALL_NCS): Likewise.
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10035 (INTERNAL_SYSCALL_NCS): Likewise.
10036 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10037
10038 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10039 for powerpc.
10040 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10041 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10042 and remove it for 32 bits case.
10043 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10044 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10045 initialization.
10046 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10047 Disable lock elision with rdlocks if elision is not available.
10048
10049 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10050 (sysdep_routines): Add lock elision objects.
10051 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10052 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10053 [pthread_mutex_t] (__elision): Add field.
10054 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10055 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10056 elision definitions for powerpc.
10057 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10058 implementation of lock elision for powerpc.
10059 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10060 implementation of timed lock elision for powerpc.
10061 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10062 implementation of trylock with lock elision for powerpc.
10063 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10064 implementaion of unlock for lock elision for powerpc.
10065 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10066 automatic enable lock elision for mutexes.
10067 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10068 transaction execution definitions for powerpc.
10069 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10070 definitions.
10071 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10072 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10073 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10074 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10075 * NEWS: Update.
10076
10077 2015-01-09 Roland McGrath <roland@hack.frob.com>
10078
10079 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10080 for #include of <shm-directory.h>.
10081
10082 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10083
10084 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10085 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10086
10087 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10088
10089 [BZ #17791]
10090 * NEWS: Mention bug fix.
10091 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10092 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10093 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10094
10095 2015-01-09 Torvald Riegel <triegel@redhat.com>
10096
10097 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10098
10099 2015-01-09 Torvald Riegel <triegel@redhat.com>
10100
10101 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10102
10103 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10104
10105 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10106 pointer and cast to uintptr_t.
10107
10108 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10109
10110 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10111 removed.
10112 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10113
10114 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10115
10116 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10117 of 0.
10118
10119 2015-01-08 Roland McGrath <roland@hack.frob.com>
10120
10121 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10122 <nptl/pthreadP.h> instead.
10123 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10124
10125 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10126 already defined.
10127 [__SIGRTMIN] (init): Function removed.
10128 [__SIGRTMIN] (initialized): Variable removed.
10129 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10130 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10131 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10132 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10133 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10134 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10135 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10136 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10137 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10138 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10139 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10140 * sysdeps/nptl/allocrtsig.c: New file.
10141 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10142 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10143 * sysdeps/generic/testrtsig.h: File removed.
10144
10145 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10146 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10147
10148 * nptl/nptl-init.c (pthread_functions): Conditionalize
10149 .ptr__nptl_setxid initialization on [SIGSETXID].
10150
10151 * sysdeps/nptl/sys/procfs.h: New file.
10152 * nptl_db/Makefile (headers): Add it.
10153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10154
10155 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10156 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10157 * nptl/pthread_attr_setaffinity.c: Include it.
10158 * nptl/pthread_setattr_default_np.c: Likewise.
10159 * nptl/check-cpuset.h: New file.
10160
10161 2015-01-08 Richard Henderson <rth@redhat.com>
10162
10163 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10164 (CFLAGS-tst-execstack-prog.c): Likewise.
10165 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10166
10167 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
10168 Sandra Loosemore <sandra@codesourcery.com>
10169 Andrew Jenner <andrew@codesourcery.com>
10170 Joseph Myers <joseph@codesourcery.com>
10171 Nathan Sidwell <nathan@codesourcery.com>
10172
10173 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10174 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10175 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10176 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10177 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10178 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10179 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10180 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10181 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10182 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10183 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10184 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10185 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10186 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10187 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10188 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10189 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10190
10191 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10192
10193 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10194 timespec struct member in syscall macro.
10195 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10196 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10197 first timeval struct member in syscall macro.
10198 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10199
10200 2015-01-07 Joseph Myers <joseph@codesourcery.com>
10201
10202 [BZ #17748]
10203 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10204 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10205 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10206 __feupdateenv and define as weak alias of __feupdateenv. Use
10207 libm_hidden_weak.
10208 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10209 libm_hidden_def.
10210 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10211 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
10212 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10213 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10214 libm_hidden_def.
10215 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10216 __feupdateenv and define as weak alias of __feupdateenv. Use
10217 libm_hidden_weak.
10218 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10219 libm_hidden_def.
10220 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10221 __feupdateenv and define as weak alias of __feupdateenv. Use
10222 libm_hidden_weak.
10223 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10224 libm_hidden_def.
10225 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10226 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10227 (__feupdateenv): Likewise.
10228 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10229 __feupdateenv and define as weak alias of __feupdateenv. Use
10230 libm_hidden_weak.
10231 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10232 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10233 libm_hidden_def.
10234 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10235 function.
10236 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10237 libm_hidden_def.
10238 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10239 __feupdateenv instead of feupdateenv.
10240 (default_libc_feupdateenv_test): Likewise.
10241 (libc_feresetround_ctx): Likewise.
10242
10243 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10244
10245 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10246 prototype.
10247
10248 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10249
10250 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10251 COLL_SYM in a couple of places to avoid uninitialized variable
10252 wanings on tilegx gcc 4.8.2.
10253
10254 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10255
10256 * sysdeps/aarch64/strcpy.S: New file.
10257 * sysdeps/aarch64/stpcpy.S: New file.
10258 * NEWS: Updated.
10259
10260 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10261
10262 * sysdeps/aarch64/strrchr.S: New file.
10263 * NEWS: Updated.
10264
10265 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10266
10267 [BZ #17658]
10268 * stdlib/setenv.c: Fix memory leak when setting large,
10269 duplicate string.
10270
10271 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10272
10273 [BZ #17273]
10274 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10275 and tabs from buffer before parsing fstab entry.
10276 * misc/tst-mntent.c (main): Add test for mount entry with
10277 trailing spaces and tabs.
10278
10279 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10280
10281 [BZ #17748]
10282 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10283 * math/fesetround.c (fesetround): Rename to __fesetround and
10284 define as weak alias of __fesetround. Use libm_hidden_weak.
10285 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10286 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10287 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10288 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10289 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10290 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10291 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10292 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10293 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10294 __fesetround_inline.
10295 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10296 __fesetround_inline instead of __fesetround.
10297 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10298 __fesetround and define as weak alias of __fesetround. Use
10299 libm_hidden_weak. Call __fesetround_inline instead of
10300 __fesetround.
10301 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10302 __fesetround and define as weak alias of __fesetround. Use
10303 libm_hidden_weak.
10304 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10305 Likewise.
10306 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10307 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10308 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10309 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10310 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10311 __fesetround and define as weak alias of __fesetround. Use
10312 libm_hidden_weak.
10313 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10314 __fesetround instead of fesetround.
10315 (default_libc_feholdexcept_setround): Likewise.
10316 (libc_feholdsetround_ctx): Likewise.
10317 (libc_feholdsetround_noex_ctx): Likewise.
10318
10319 [BZ #17748]
10320 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10321 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10322 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10323 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10324 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10325 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10326 define as weak alias of __fesetenv. Use libm_hidden_weak.
10327 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10328 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10329 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10330 define as weak alias of __fesetenv. Use libm_hidden_weak.
10331 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10332 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10333 define as weak alias of __fesetenv. Use libm_hidden_weak.
10334 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10335 libm_hidden_def.
10336 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10337 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10338 Likewise.
10339 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10340 define as weak alias of __fesetenv. Use libm_hidden_weak.
10341 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10342 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10343 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10344 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10345 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10346 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10347 __fesetenv instead of fesetenv.
10348 (libc_feresetround_noex_ctx): Likewise.
10349 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10350 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10351 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10352 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10353 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10354 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10355 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10356 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10357 (__feupdateenv): Likewise.
10358 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10359 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10360 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10361 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10362
10363 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10364
10365 [BZ #17806]
10366 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10367 addresses have been freed.
10368
10369 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10370
10371 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10372 and nservall.
10373
10374 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10375
10376 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10377 Clean up check_pf allocation pattern. addresses
10378
10379 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10380
10381 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10382 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10383 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10384 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10385 * nptl/pthread_join.c (pthread_join): Likewise.
10386 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10387 * sysdeps/posix/waitid.c (__waitid): Likewise.
10388 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10389 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10390 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10391 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10392 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10393 Likewise.
10394 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10395 (__libc_pread64): Likewise.
10396 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10397 (__libc_pwrite): Likewise.
10398 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10399 (__libc_pwrite64): Likewsie.
10400 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10401 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10402 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10403 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10404 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10405 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10406 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10408 Likewise.
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10410 (__libc_pread64): Likewise.
10411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10412 Likewise.
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10414 (__libc_pwrite64): Likewise.
10415 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10416 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10417 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10418 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10419 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10420 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10421 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10422 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10423 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10424 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10425 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10426 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10427 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10428 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10429 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10430 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10431 Likewise.
10432
10433 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10434
10435 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10436 (CFLAGS-test-double.c): Likewise.
10437 (CFLAGS-test-ldouble.c): Likewise.
10438 (CPPFLAGS-test-ifloat.c): Likewise.
10439 (CPPFLAGS-test-idouble.c): Likewise.
10440 (CPPFLAGS-test-ildoubl.c): Likewise.
10441 (CFLAGS-test-test-fenv.c): Remove variable.
10442 (CFLAGS-test-misc.c): Likewise.
10443
10444 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10445
10446 [BZ #17797]
10447 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10448 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10449 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10450 CLOCKS_PER_SEC == 1000000.
10451 * time/clocktest.c (main): Replace %ld with %jd and cast to
10452 intmax_t.
10453
10454 2015-01-05 Roland McGrath <roland@hack.frob.com>
10455
10456 * sysdeps/generic/unwind-resume.h: New file.
10457 * sysdeps/gnu/unwind-resume.c: Include it.
10458 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10459 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10460 argument list.
10461 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10462 global rather than static.
10463 (_Unwind_Resume): Update user.
10464 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10465 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10466 rather than static. Add __attribute__ ((cold)).
10467 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10468 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10469 * sysdeps/arm/arm-unwind-resume.S: New file.
10470 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10471 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10472 * sysdeps/arm/Makefile [$(subdir) = csu]
10473 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10474 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10475 Add rt-arm-unwind-resume.
10476 [$(subdir) = nptl]
10477 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10478 Add pt-arm-unwind-resume.
10479 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10480 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10481
10482 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10483
10484 [BZ #17748]
10485 * include/fenv.h (__feholdexcept): Declare. Use
10486 libm_hidden_proto.
10487 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10488 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10489 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10490 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10491 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10492 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10493 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10494 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10495 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10496 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10497 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10498 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10499 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10500 (feholdexcept): Likewise.
10501 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10502 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10503 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10504 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10505 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10506 __feholdexcept instead of feholdexcept.
10507 (default_libc_feholdexcept_setround): Likewise.
10508
10509 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10510
10511 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10512 to avoid using stl/str to align destination.
10513
10514 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10515
10516 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10517
10518 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10519
10520 [BZ #17796]
10521 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10522 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10523 Define as weak alias not strong alias.
10524
10525 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10526
10527 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10528 bltzal with addiupc.
10529 (RTLD_START): Ditto.
10530
10531 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10532
10533 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10534 for __vdso_* functions in declarations.
10535 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10536 definitions.
10537 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10538 INTERNAL_VSYSCALL): Use struct return types to check for error.
10539
10540 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10541 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10542 function with cast from llround().
10543 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10544 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10545 Define.
10546
10547 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10548
10549 [BZ #17793]
10550 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10551 Define as weak alias not strong alias.
10552
10553 [BZ #17635]
10554 * ctype/ctype-c99.c: New file. isblank implementation moved from
10555 ...
10556 * ctype/ctype-extn.c: ... here.
10557 (__isblank_l): Move to ...
10558 * ctype/ctype-c99_l.c: ... here. New file.
10559 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10560 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10561 Remove variable.
10562 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10563 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10564 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10565 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10566 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10567
10568 [BZ #17777]
10569 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10570 (posix_fadvise64): Define as weak alias not strong alias.
10571 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10572 (posix_fallocate64): Likewise.
10573 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10574 Remove variable.
10575 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10576 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10577 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10578 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10579 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10580
10581 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10582
10583 [BZ #16191]
10584 * NEWS: Mention bug fix.
10585 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10586 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10587 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10588 (HOST_STACK_END_ADDR): Likewise.
10589
10590 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10591
10592 [BZ #17748]
10593 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10594 * math/fegetround.c (fegetround): Rename to __fegetround and
10595 define as weak alias of __fegetround. Use libm_hidden_weak.
10596 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10597 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10598 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10599 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10600 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10601 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10602 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10603 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10604 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10605 Undefine after rather than before function definition; use
10606 parentheses around function name in definition.
10607 (__fegetround): Also undefine macro after function definition.
10608 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10609 __fegetround and define as weak alias of __fegetround. Use
10610 libm_hidden_weak. Do not undefine as macro.
10611 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10612 Likewise.
10613 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10614 __fegetround and define as weak alias of __fegetround. Use
10615 libm_hidden_weak.
10616 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10617 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10618 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10619 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10620 __fegetround and define as weak alias of __fegetround. Use
10621 libm_hidden_weak.
10622 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10623 __fegetround instead of fegetround.
10624
10625 [BZ #17782]
10626 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10627 Condition macro definition on [__USE_MISC].
10628
10629 [BZ #17781]
10630 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10631 (struct sigaction): Change type of sa_flags field to int.
10632
10633 [BZ #17780]
10634 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10635 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10636 __glibc_reserved0.
10637
10638 * nptl/version.c (banner): Use single year in copyright notice.
10639
10640 * NEWS: Update copyright dates.
10641 * catgets/gencat.c (print_version): Likewise.
10642 * csu/version.c (banner): Likewise.
10643 * debug/catchsegv.sh: Likewise.
10644 * debug/pcprofiledump.c (print_version): Likewise.
10645 * debug/xtrace.sh (do_version): Likewise.
10646 * elf/ldconfig.c (print_version): Likewise.
10647 * elf/ldd.bash.in: Likewise.
10648 * elf/pldd.c (print_version): Likewise.
10649 * elf/sotruss.sh: Likewise.
10650 * elf/sprof.c (print_version): Likewise.
10651 * iconv/iconv_prog.c (print_version): Likewise.
10652 * iconv/iconvconfig.c (print_version): Likewise.
10653 * locale/programs/locale.c (print_version): Likewise.
10654 * locale/programs/localedef.c (print_version): Likewise.
10655 * login/programs/pt_chown.c (print_version): Likewise.
10656 * malloc/memusage.sh (do_version): Likewise.
10657 * malloc/memusagestat.c (print_version): Likewise.
10658 * malloc/mtrace.pl: Likewise.
10659 * manual/libc.texinfo: Likewise.
10660 * nptl/version.c (banner): Likewise.
10661 * nscd/nscd.c (print_version): Likewise.
10662 * nss/getent.c (print_version): Likewise.
10663 * nss/makedb.c (print_version): Likewise.
10664 * posix/getconf.c (main): Likewise.
10665 * scripts/test-installation.pl: Likewise.
10666 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10667
10668 2015-01-02 Will Newton <will.newton@linaro.org>
10669
10670 * sysdeps/arm/armv7/configure: Removed.
10671 * sysdeps/arm/armv7/configure.ac: Likewise.
10672
10673 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10674
10675 * All files with FSF copyright notices: Update copyright dates
10676 using scripts/update-copyrights.
10677 * intl/plural.c: Regenerated.
10678 * locale/programs/charmap-kw.h: Likewise.
10679 * locale/programs/locfile-kw.h: Likewise.
10680
10681 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10682
10683 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10684
10685 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10686
10687 [BZ #17748]
10688 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10689 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10690 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10691 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10692 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10693 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10694 define as weak alias of __fegetenv. Use libm_hidden_weak.
10695 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10696 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10697 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10698 define as weak alias of __fegetenv. Use libm_hidden_weak.
10699 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10700 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10701 define as weak alias of __fegetenv. Use libm_hidden_weak.
10702 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10703 libm_hidden_def.
10704 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10705 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10706 Likewise.
10707 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10708 define as weak alias of __fegetenv. Use libm_hidden_weak.
10709 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10710 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10711 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10712 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10713 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10714 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10715 __fegetenv instead of fegetenv.
10716 (libc_feholdsetround_noex_ctx): Likewise.
10717
10718 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10719
10720 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10721 (Elf_MIPS_ABIFlags_v0): New structure.
10722 (EF_MIPS_FP64): Define.
10723 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10724 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10725 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10726 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10727 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10728 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10729 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10730 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10731 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10732 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10733 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10734 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10735 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10736 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10737 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10738 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10739 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10740 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10741 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10742 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10743 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10744 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10745 field.
10746 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10747 EF_MIPS_FP64.
10748 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10749 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10750 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10751 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10752 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10753 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10754 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10755 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10756 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10757 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10758 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10759 record the current FP ABI extension.
10760 (mips-mode-switch): Define to show if kernel headers support mode
10761 switching.
10762 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10763 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10764 supported SYSV ABI version to 3.
10765 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10766 feature.
10767
10768 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10769 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10770
10771 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10772 path.
10773 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10774
10775 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10776
10777 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10778 __fegetround and redefine to call __fegetround. Remove condition
10779 on [!__NO_MATH_INLINES].
10780 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10781 function.
10782 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10783 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10784 Remove macro.
10785 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10786 instead of <fenv_libc.h>.
10787 (__llrintl): Call fegetround instead of __fegetround.
10788 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10789 instead of <fenv_libc.h>.
10790 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10791 (__lrintl): Call fegetround instead of __fegetround.
10792 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10793 instead of <fenv_libc.h>.
10794 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10795 (__rintl): Call fegetround instead of __fegetround.
10796
10797 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10798
10799 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10800 arrays.
10801
10802 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10803
10804 [BZ #17775]
10805 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10806 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10807 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10808
10809 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10810
10811 * sysdeps/i386/tls-macros.h: Include <features.h>.
10812 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10813 (TLS_IE): Likewise.
10814 (TLS_LD): Likewise.
10815 (TLS_GD): Likewise.
10816 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10817 define for GCC >= 5.0.
10818
10819 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10820
10821 * math/test-fenv.c (test_single_exception, set_single_exc,
10822 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10823 feexcp_mask_test, feenable_test, fe_single_test): Add
10824 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10825 case where they are not used.
10826 * math/libm-test.inc: Likewise.
10827 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10828 unused in the absence of FP rounding/exception support.
10829 * stdio-common/tst-printf-round.c: Likewise.
10830 * stdlib/tst-strtod-round.c: Likewise.
10831 * stdlib/tst-strtod-underflow.c: Likewise.
10832
10833 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10834
10835 [BZ #17723]
10836 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10837 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10838 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10839 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10840 libm_hidden_weak.
10841 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10842 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10843 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10844 libm_hidden_def.
10845 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10846 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10847 libm_hidden_weak.
10848 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10849 Likewise.
10850 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10851 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10852 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10853 libm_hidden_weak.
10854 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10855 libm_hidden_def.
10856 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10857 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10858 (__feraiseexcept): Likewise.
10859 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10860 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10861 libm_hidden_weak.
10862 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10863 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10864 libm_hidden_def.
10865 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10866 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10867 Use libm_hidden_def.
10868 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10869 libm_hidden_def.
10870 (feraiseexcept): Define as weak not strong alias. Use
10871 libm_hidden_weak.
10872 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10873 New inline function. Factored out of ...
10874 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10875 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10876 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10877 feraiseexcept.
10878 * math/w_acos.c (__acos): Likewise.
10879 * math/w_asin.c (__asin): Likewise.
10880 * math/w_ilogb.c (__ilogb): Likewise.
10881 * math/w_j0.c (y0): Likewise.
10882 * math/w_j1.c (y1): Likewise.
10883 * math/w_jn.c (yn): Likewise.
10884 * math/w_log.c (__log): Likewise.
10885 * math/w_log10.c (__log10): Likewise.
10886 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10887 * sysdeps/aarch64/fpu/math_private.h
10888 (libc_feupdateenv_test_aarch64): Likewise.
10889 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10890 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10891 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10892 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10893 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10894 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10895 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10896 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10897 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10898 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10899
10900 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10901
10902 [BZ #17732]
10903 * io/test-utime.c (main): Replace %ld with %jd and cast to
10904 intmax_t.
10905 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10906 * nptl/tst-mutex5.c: Include <stdint.h>.
10907 (do_test): Replace %ld with %jd and cast to intmax_t.
10908 * posix/tst-regex.c (run_test): Likewise.
10909 (run_test_backwards): Likewise.
10910 * rt/tst-clock.c: Include <stdint.h>.
10911 (clock_test): Replace %ld with %jd and cast to intmax_t.
10912 * rt/tst-cpuclock1.c: Include <stdint.h>.
10913 (do_test): Replace %lu with %ju and cast to uintmax_t.
10914 * rt/tst-cpuclock2.c: Include <stdint.h>.
10915 (do_test): Replace %lu with %ju and cast to uintmax_t.
10916 * rt/tst-mqueue1.c: Include <stdint.h>.
10917 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10918 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10919 intmax_t.
10920 * rt/tst-mqueue4.c (do_test): Likewise.
10921 * rt/tst-timer4.c: Include <stdint.h>.
10922 (check_ts): Replace %ld with %jd and cast to intmax_t.
10923 (do_test): Likewise.
10924 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10925 and cast to intmax_t.
10926 * sysdeps/pthread/tst-timer.c (main): Likewise.
10927 * time/clocktest.c (main): Likewise.
10928 * time/tst-posixtz.c (do_test): Likewise.
10929 * timezone/tst-timezone.c (main): Likewise.
10930
10931 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10932 H.J. Lu <hongjiu.lu@intel.com>
10933
10934 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10935 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10936 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10937 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10938 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10939 version if bit_Fast_Unaligned_Load is set.
10940 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10941 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10942 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10943 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10944 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10945 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10947 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10948 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10949 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10950 to 4.
10951 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10952 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10953 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10954 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10955
10956 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10957
10958 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10959 instead of #if to avoid a Wundef warning.
10960 * stdlib/tst-limits.c (do_test): Likewise.
10961
10962 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10963 parallel other exception macros.
10964 (fegetenv): Convert from macro to extern inline so that it applies
10965 retroactively to inline functions already seen by the compiler.
10966 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10967
10968 * posix/Makefile (before-compile): Use $(objpfx) for
10969 posix-conf-vars-def.h.
10970
10971 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10972
10973 * posix/getconf.c (main): Use size_t for type of I.
10974 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10975 NSPEC.
10976
10977 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10978 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10979 * posix/posix-envs.def: Likewise.
10980 * sysdeps/posix/sysconf.c: Likewise.
10981 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10982 (specs): Remove array.
10983 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10984 array.
10985
10986 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10987 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10988 (__sysconf): Use CONF_IS_* macros.
10989
10990 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10991 ($(objpfx)posix-conf-vars-def.h): New target.
10992 * posix/posix-conf-vars.list: New file.
10993 * posix/posix-conf-vars.h: New file.
10994 * posix/confstr.c: Include posix-conf-vars.h.
10995 (confstr): Use CONF_IS_* macros.
10996 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10997 CONF_IS_* macros.
10998 * scripts/gen-posix-conf-vars.awk: New file.
10999
11000 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
11001
11002 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11003 fegetround): Add no-op macros to avoid linknamespace issues.
11004
11005 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11006 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11007
11008 * sysdeps/unix/sysv/linux/tile/sysdep.h
11009 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11010 assembly-specific section to avoid a redefinition warning.
11011
11012 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11013 long before casting to pointer to avoid a cast warning.
11014
11015 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
11016
11017 * sysdeps/tile/tilegx/Implies: New file.
11018
11019 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
11020
11021 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11022
11023 2014-12-23 Florian Weimer <fweimer@redhat.com>
11024
11025 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11026
11027 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11028
11029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11030 not define.
11031 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11032 <kernel-features.h>.
11033 (__utimes) [__NR_utimes]: Make code unconditional.
11034 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11035 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11036 (__ASSUME_UTIMES): Do not undefine.
11037 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11038 (__ASSUME_UTIMES): Likewise.
11039 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11040 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11041 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11042 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11043
11044 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11045
11046 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11047
11048 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11049
11050 [BZ #17747]
11051 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11052 alias to weak alias for j0l, y0l.
11053 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11054 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11055
11056 [BZ #17746]
11057 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11058 conversion.
11059
11060 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11061
11062 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11063 to zero if not already defined.
11064
11065 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11066
11067 [BZ #17724]
11068 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11069 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11070 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11071 (char *) casts added.
11072 * sysdeps/ieee754/k_standardf.c: New file.
11073 * sysdeps/ieee754/k_standardl.c: Likewise.
11074 * math/Makefile (libm-support): Remove k_standard.
11075 (libm-calls): Add k_standard.
11076
11077 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11078
11079 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11080 Optimize to avoid an unnecessary FPCR read.
11081
11082 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11083
11084 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11085 Optimize to reduce FPCR/FPSR accesses.
11086
11087 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11088
11089 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11090 Call libc_fetestexcept_aarch64.
11091
11092 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11093
11094 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11095 Call libc_fesetround_aarch64.
11096
11097 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11098
11099 [BZ #17733]
11100 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11101 (__bind): Do not define as weak alias.
11102 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11103 define.
11104 (__getsockname): Do not define as weak alias.
11105
11106 2014-12-22 Will Newton <will.newton@linaro.org>
11107
11108 * manual/install.texi: Document that we require bison 2.7
11109 or above.
11110 * INSTALL: Regenerate.
11111 * configure.ac: Use AC_CHECK_PROG_VER instead of
11112 AC_PATH_PROG when checking for bison and check for
11113 version 2.7 or above.
11114 * configure: Regenerate.
11115
11116 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11117
11118 [BZ #17745]
11119 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11120 * sysdeps/tile/ffsll.c (ffsll): To here.
11121
11122 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11123
11124 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11125
11126 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11127 if not defined.
11128 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11129 definition.
11130 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11131 hidden ___tls_get_addr.
11132 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11133 hidden __tls_get_addr.
11134 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11135 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11136 Likewise.
11137
11138 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
11139
11140 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11141 _dl_init call.
11142
11143 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11144
11145 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11146 from "call _dl_init@PLT".
11147 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11148
11149 2014-12-21 Anders Kaseorg <andersk@mit.edu>
11150
11151 * manual/search.texi: (Array Sort Function): Clarify stable sorting
11152 guarantees.
11153
11154 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
11155
11156 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11157
11158 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11159
11160 [BZ #17744]
11161 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11162 strnlen.
11163
11164 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11165
11166 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11167 of multu on MIPSr6.
11168 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11169 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11170 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11171 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11172 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11173
11174 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11175
11176 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11177 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11178 (PTR_SUBU): Use subu for mips32r6/mips64r6.
11179 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11180 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11181 mips32r6/mips64r6.
11182 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11183
11184 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
11185
11186 * string/strncat.c (STRNCAT): Simplify implementation.
11187
11188 2014-12-19 David S. Miller <davem@davemloft.net>
11189
11190 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11191 access the quad as both a long double and as a series of 4 words.
11192
11193 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11194 link_map->l_info array access.
11195
11196 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11197
11198 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11199
11200 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11201 * math/atest-exp2.c (TIMEOUT): Likewise.
11202 * math/atest-sincos.c (TIMEOUT): Likewise.
11203
11204 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11205
11206 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11207 -Wno-error with -fno-builtin-lround.
11208
11209 2014-12-19 Torvald Riegel <triegel@redhat.com>
11210
11211 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11212 Contains futex constants and functions moved over from ...
11213 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
11214 <lowlevellock-futex.h>.
11215 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11216 (lll_timedwait_tid): Add comments and parentheses around macro
11217 arguments.
11218
11219 2014-12-19 Torvald Riegel <triegel@redhat.com>
11220
11221 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11222 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11223 (__lll_private_flag): Remove.
11224 (lll_futex_wait): Likewise.
11225 (lll_futex_timed_wait): Likewise.
11226 (lll_futex_wake): Likewise.
11227 (lll_futex_requeue): Likewise.
11228 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11229 (__lll_timedwait_tid): Spell out argument names.
11230 (lll_timedwait_tid): Add comments and parentheses around macro
11231 arguments.
11232 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11233 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11234
11235 2014-12-19 Torvald Riegel <triegel@redhat.com>
11236
11237 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11238 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11239 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11240 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11241 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11242 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11243 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11244 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11245 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11246 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11247 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11248 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11249 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11250 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11251 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11252 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11253 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11254 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11255 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11256
11257 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11258
11259 * sysdeps/x86_64/x32/Makefile: New file.
11260
11261 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11262
11263 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11264 1L with (mp_limb_t) 1.
11265
11266 2014-12-17 Roland McGrath <roland@hack.frob.com>
11267
11268 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11269 * nptl/libc_pthread_init.c: ... here.
11270 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11271 * nptl/register-atfork.c: ... here.
11272
11273 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11274 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11275 Use assert_perror to check its return value.
11276 (__gai_create_helper_thread): Likewise.
11277
11278 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11279
11280 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11281
11282 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11283
11284 [BZ #17725]
11285 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11286 __profil_counter.
11287 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11288 Likewise.
11289 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11290 Likewise.
11291 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11292 Likewise.
11293 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11294 (profil_counter): Likewise.
11295 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11296 (profil_counter): Likewise.
11297 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11298 Likewise.
11299 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11300 Likewise.
11301 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11302 (profil_counter): Likewise.
11303 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11304 Likewise.
11305 [!__profil_counter] (profil_counter): Define as weak alias of
11306 __profil_counter.
11307 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11308 (profil_counter): Rename to __profil_counter.
11309 [!__profil_counter] (profil_counter): Define as weak alias of
11310 __profil_counter.
11311 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11312 (profil_counter): Rename to __profil_counter.
11313 [!__profil_counter] (profil_counter): Define as weak alias of
11314 __profil_counter.
11315 * sysdeps/posix/profil.c: Update comment referring to
11316 profil_counter.
11317 (__profil): Use __profil_counter instead of profil_counter.
11318 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11319 __profil_counter. Use __profil_counter_ushort and
11320 __profil_counter_uint in definitions.
11321 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11322 instead of profil_counter_uint and profil_counter_ushort.
11323
11324 [BZ #17722]
11325 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11326 define as weak alias of __inet_makeaddr.
11327 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11328 as weak alias of __inet_addr.
11329 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11330 as weak alias of __inet_pton. Use libc_hidden_weak.
11331 * include/arpa/inet.h (__inet_pton): Declare. Use
11332 libc_hidden_proto.
11333 (inet_makeaddr): Don't use libc_hidden_proto.
11334 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11335 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11336 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11337 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11338 Remove variable.
11339 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11340 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11341
11342 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11343
11344 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11345
11346 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11347
11348 * stdio-common/bug-vfprintf-nargs.c (do_test):
11349 Cast value to intptr_t to avoid format warning
11350 for usage with PRIdPTR printing macro.
11351
11352 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11353
11354 * libio/tst-widetext.c (do_test):
11355 Use format type %td instead of %Zd for ptrdiff_t
11356 in order to avoid format warning.
11357
11358 2014-12-17 Andreas Schwab <schwab@suse.de>
11359
11360 * nscd/mem.c (gc): Add size_t cast to match printf format.
11361
11362 2014-12-16 Roland McGrath <roland@hack.frob.com>
11363
11364 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11365 (init): Apply PTR_MANGLE to pointers before storing them.
11366 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11367 before using them.
11368
11369 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11370
11371 [BZ #17719]
11372 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11373 define as weak alias of __memrchr.
11374 (__memrchr): Do not define as strong alias of memrchr.
11375 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11376 Remove variable.
11377 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11378 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11379 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11380
11381 [BZ #17717]
11382 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11383 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11384 (if_indextoname): Rename to __if_indextoname and define as weak
11385 alias of __if_indextoname. Use libc_hidden_weak.
11386 (if_freenameindex): Rename to __if_freenameindex and define as
11387 weak alias of __if_freenameindex.
11388 (if_nameindex): Rename to __if_nameindex and define as weak alias
11389 of __if_nameindex.
11390 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11391 __if_nametoindex and define as weak alias of __if_nametoindex.
11392 Use libc_hidden_weak.
11393 (if_freenameindex): Rename to __if_freenameindex and define as
11394 weak alias of __if_freenameindex.
11395 (if_nameindex): Rename to __if_nameindex and define as weak alias
11396 of __if_nameindex.
11397 (if_indextoname): Rename to __if_indextoname and define as weak
11398 alias of __if_indextoname. Use libc_hidden_weak.
11399 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11400 __if_nametoindex and define as weak alias of __if_nametoindex.
11401 Use libc_hidden_weak.
11402 (if_freenameindex): Rename to __if_freenameindex and define as
11403 weak alias of __if_freenameindex. Use libc_hidden_weak.
11404 (if_nameindex_netlink): Use __if_freenameindex instead of
11405 if_freenameindex.
11406 (if_nameindex): Rename to __if_nameindex and define as weak alias
11407 of __if_nameindex. Use libc_hidden_weak.
11408 (if_indextoname): Rename to __if_indextoname and define as weak
11409 alias of __if_indextoname. Use libc_hidden_weak.
11410 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11411 libc_hidden_proto.
11412 [!_ISOMAC] (__if_freenameindex): Likewise.
11413 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11414 if_nametoindex.
11415 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11416 variable.
11417 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11418 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11419 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11420 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11421 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11422 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11423 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11424
11425 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11426 Remove variable.
11427 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11428 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11429
11430 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11431
11432 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11433 subscript above bounds'
11434
11435 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11436 bounds.
11437
11438 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11439
11440 * libio/tst-fopenloc.c: Use test-skeleton.c.
11441
11442 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11443 (entry): Rename to ITEM.
11444 (do_test, comp): Adjust.
11445
11446 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11447
11448 2014-12-16 Torvald Riegel <triegel@redhat.com>
11449
11450 * string/tester.c: Include <libc-internal.h>.
11451 (test_memset): Ignore -Wmemset-transposed-args.
11452
11453 2014-12-16 Torvald Riegel <triegel@redhat.com>
11454
11455 * misc/tst-mntent2.c (do_test): Fix warning.
11456
11457 2014-12-16 Torvald Riegel <triegel@redhat.com>
11458
11459 * elf/tst-unique4lib.cc(a): Mark as used.
11460
11461 2014-12-16 Florian Weimer <fweimer@redhat.com>
11462
11463 [BZ #17630]
11464 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11465 names.
11466
11467 2014-12-16 Allan McRae <allan@archlinux.org>
11468
11469 * stdio-common/Makefile (tests): Re-add bug26.
11470
11471 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11472
11473 [BZ #17657]
11474 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11475 static array.
11476
11477 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11478
11479 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11480 (__lll_lock_wait): Likewise.
11481 (__lll_timedlock_wait): Likewise.
11482 (__lll_timedwait_tid): Likewise.
11483 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11484 (__lll_robust_timedlock_wait): Likewise.
11485 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11486 (lll_cond_trylock): Likewise.
11487 (__lll_lock): Likewise.
11488 (__lll_robust_lock): Likewise.
11489 (__lll_cond_lock): Likewise.
11490 (lll_robust_cond_lock): Likewise.
11491 (__lll_timedlock): Likewise.
11492 (__lll_robust_timedlock): Likewise.
11493 (__lll_unlock): Likewise.
11494 (__lll_robust_unlock): Likewise.
11495 (lll_wait_tid): Likewise.
11496 (lll_timedwait_tid): Likewise.
11497
11498 2014-12-15 Torvald Riegel <triegel@redhat.com>
11499
11500 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11501
11502 2014-12-15 Torvald Riegel <triegel@redhat.com>
11503
11504 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11505
11506 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11507
11508 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11509 * stdio-common/tst-sprintf.c: Likewise.
11510
11511 2014-12-15 Torvald Riegel <triegel@redhat.com>
11512
11513 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11514
11515 2014-12-15 Jeff Law <law@redhat.com>
11516
11517 [BZ #16617]
11518 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11519 on the heap. (CVE-2012-3406)
11520 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11521 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11522 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11523
11524 2014-12-15 Will Newton <will.newton@linaro.org>
11525
11526 * manual/install.texi: Bump required version of texinfo
11527 to 4.7 from 4.5.
11528 * INSTALL: Regenerated.
11529 * configure.ac: Check for makeinfo version 4.7 and above.
11530 * configure: Regenerated.
11531
11532 2014-12-12 Roland McGrath <roland@hack.frob.com>
11533
11534 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11535 PREFIX, string constant to insert between directory and name.
11536 * sysdeps/posix/shm_open.c: Update caller.
11537 * sysdeps/posix/shm_unlink.c: Likewise.
11538 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11539 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11540 (SEM_SHM_PREFIX): New macro.
11541 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11542 [$(have-thread-library) = no].
11543 * nptl/Makefile (libpthread-routines): Add shm-directory.
11544 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11545 * sysdeps/nptl/shm-directory.h: New file.
11546 * sysdeps/posix/shm-directory.c
11547 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11548 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11549 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11550 INTERNAL_SYSCALL.
11551 (__where_is_shmfs): Function removed.
11552 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11553 Variables removed.
11554 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11555 Use SHM_GET_NAME.
11556 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11557
11558 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11559 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11560 unconditional for use inside libpthread.
11561 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11562
11563 2014-12-12 Roland McGrath <roland@hack.frob.com>
11564
11565 * nptl/pthread_getaffinity.c: New file.
11566 * nptl/pthread_setaffinity.c: New file.
11567 * nptl/pthread_getname.c: New file.
11568 * nptl/pthread_setname.c: New file.
11569
11570 * nptl/pthread_create.c (START_THREAD_DEFN)
11571 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11572
11573 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11574 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11575
11576 * resolv/res_send.c (send_vc): Disable warning resplen may
11577 be used uninitialized.
11578
11579 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11580
11581 * nptl/tst-mutex6.c
11582 (ATTR_NULL): New define checks ATTR against NULL.
11583 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11584 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11585
11586 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11587
11588 [BZ #17581]
11589 * malloc/hooks.c
11590 (mem2mem_check): Revert my previous change.
11591 (malloc_check_get_size): Revert my previous change.
11592 (mem2chunk_check): Revert my previous change.
11593
11594 2014-12-11 Roland McGrath <roland@hack.frob.com>
11595
11596 * sysdeps/posix/shm-directory.c: New file.
11597 * sysdeps/posix/shm-directory.h: New file.
11598 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11599 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11600 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11601 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11602 Transmute EPERM to EACCES.
11603 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11604 from ...
11605 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11606 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11607
11608 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11609
11610 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11611 pointer and cast to uintptr_t.
11612 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11613 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11614 Add cast to avoid warning.
11615 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11616
11617 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11618
11619 * nptl/semaphore.h: Move to ...
11620 * sysdeps/pthread/semaphore.h: ... here.
11621 * Makefile (installed-headers): Change nptl/semaphore.h to
11622 sysdeps/pthread/semaphore.h.
11623
11624 2014-12-11 Roland McGrath <roland@hack.frob.com>
11625
11626 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11627 generated error format strings.
11628
11629 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11630 -Wformat-extra-args warnings for scanf formats.
11631 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11632 test of zero-length format (duh).
11633 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11634 corner-case scanf format test.
11635 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11636 generated fprintf format string.
11637 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11638 corner-case sprintf format tests.
11639 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11640 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11641 -Wformat-extra-args warnings throughout.
11642 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11643 (CFLAGS-scanf4.c): Likewise.
11644 (CFLAGS-scanf7.c): Likewise.
11645 (CFLAGS-tst-sprintf.c): Likewise.
11646 (CFLAGS-tst-printf.c): Likewise.
11647 (CFLAGS-tst-printfsz.c): Likewise.
11648
11649 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11650
11651 * include/cpio.h: New file.
11652 * include/fmtmsg.h: Likewise.
11653
11654 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11655 corresponding format argument to size_t.
11656 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11657 arguments.
11658 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11659 corresponding format argument to size_t.
11660 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11661 arguments.
11662 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11663 corresponding format argument to size_t.
11664 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11665 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11666 (CFLAGS-tst-mbswcs2.c): Likewise.
11667 (CFLAGS-tst-mbswcs3.c): Likewise.
11668 (CFLAGS-tst-mbswcs4.c): Likewise.
11669 (CFLAGS-tst-mbswcs5.c): Likewise.
11670 (CFLAGS-tst-trans.c): Likewise
11671
11672 2014-12-11 Roland McGrath <roland@hack.frob.com>
11673
11674 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11675 rather than assuming they won't contain any '%'s.
11676
11677 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11678
11679 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11680 inhibit_loop_to_libcall to avoid recursive calls.
11681 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11682 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11683
11684 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11685
11686 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11687 prototype.
11688
11689 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11690
11691 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11692 integer value instead of boolean.
11693
11694 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11695
11696 * malloc/malloc.c: Fix powerof2 check.
11697
11698 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11699
11700 * locale/programs/locfile.h (maybe_swap_uint32):
11701 Remove inline and add unused attribute.
11702
11703 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11704
11705 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11706 Truncating assembler expression to a .long expression.
11707
11708 2014-12-11 Andreas Schwab <schwab@suse.de>
11709
11710 * elf/rtld.c (struct map_args): Constify str member.
11711 (do_preload): Constify fname argument.
11712
11713 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11714
11715 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11716 constants definition.
11717
11718 2014-12-11 Andreas Schwab <schwab@suse.de>
11719
11720 [BZ #16657]
11721 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11722 FORCE_ELISION instead of DO_ELISION.
11723 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11724 Remove.
11725 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11726 Likewise.
11727
11728 * iconvdata/gconv-modules: Remove duplicate entry.
11729
11730 2014-12-11 Will Newton <will.newton@linaro.org>
11731
11732 Merge gettext 0.19.3 into intl/.
11733
11734 This involves a number of cosmetic changes to comments
11735 and ANSI function definitions and prototypes throughout
11736 all the files. The gettext copyright header is used but
11737 with the date ranges taken from the glibc copy.
11738
11739 * NEWS: Add gettext merge to 2.21.
11740 * intl/bindtextdom.c: Switch to gettext copyright.
11741 Use ANSI definitions and prototypes.
11742 Use gl_* locking primitives rather than __libc_* ones.
11743 Use __builtin_expect rather than __glibc_likely/unlikely.
11744 * intl/dcgettext.c: Switch to gettext copyright.
11745 Use ANSI definitions and prototypes.
11746 * intl/dcigettext.c: Switch to gettext copyright.
11747 Use ANSI definitions and prototypes.
11748 (INTDIV0_RAISES_SIGFPE): New define.
11749 Use gl_* locking primitives rather than __libc_* ones.
11750 Include eval-plural.h instead of plural-eval.c.
11751 Use __builtin_expect rather than __glibc_likely/unlikely.
11752 * intl/dcngettext.c: Switch to gettext copyright.
11753 Use ANSI definitions and prototypes.
11754 * intl/dgettext.c: Likewise.
11755 * intl/dngettext.c: Likewise.
11756 * intl/plural-eval.c: Renamed to...
11757 * intl/eval-plural.h: ...this.
11758 * intl/explodename.c: Switch to gettext copyright.
11759 Use ANSI definitions and prototypes.
11760 (_nl_explode_name): Use strchr instead of __rawmemchr.
11761 * intl/finddomain.c: Switch to gettext copyright.
11762 Use ANSI definitions and prototypes.
11763 Use gl_* locking primitives rather than __libc_* ones.
11764 (_nl_find_domain): Use malloc rather than alloca for
11765 allocation of temporary locale name.
11766 * intl/gettext.c: Switch to gettext copyright.
11767 Use ANSI definitions and prototypes.
11768 * intl/gettextP.h: Switch to gettext copyright.
11769 Use ANSI definitions and prototypes.
11770 Use gl_* locking primitives rather than __libc_* ones.
11771 * intl/gmo.h: Switch to gettext copyright.
11772 (struct sysdep_string): Move struct segment_pair outside of
11773 struct definition.
11774 * intl/hash-string.c: Use ANSI definitions and prototypes.
11775 * intl/hash-string.h: Switch to gettext copyright.
11776 Use ANSI definitions and prototypes.
11777 * intl/l10nflist.c: Switch to gettext copyright.
11778 Use ANSI definitions and prototypes.
11779 (_nl_normalize_codeset): Avoid integer overflow.
11780 * intl/loadinfo.h: Switch to gettext copyright.
11781 Use ANSI definitions and prototypes.
11782 (LIBINTL_DLL_EXPORTED): New define.
11783 (PATH_SEPARATOR): New define.
11784 * intl/loadmsgcat.c: Switch to gettext copyright.
11785 * intl/localealias.c: Switch to gettext copyright.
11786 Use ANSI definitions and prototypes.
11787 (_nl_expand_alias): Use PATH_SEPARATOR.
11788 * intl/ngettext.c: Switch to gettext copyright.
11789 Use ANSI definitions and prototypes.
11790 * intl/plural-exp.c: Likewise.
11791 * intl/plural-exp.h: Switch to gettext copyright.
11792 Use ANSI definitions and prototypes.
11793 (struct expression): Move definition of enum operator outside
11794 of struct definition.
11795 * intl/plural.c: Regenerate.
11796 * intl/plural.y: Switch to gettext copyright.
11797 Use ANSI definitions and prototypes.
11798 Port to bison 3.0.
11799 * intl/textdomain.c: Switch to gettext copyright.
11800 Use ANSI definitions and prototypes.
11801 Use gl_* locking primitives rather than __libc_* ones.
11802
11803 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11804
11805 * debug/warning-nop.c: Add used atrribute.
11806
11807 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11808
11809 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11810
11811 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11812 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11813 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11814
11815 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11816 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11817
11818 [BZ #17634]
11819 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11820 Undefine after defining function. Define as weak alias of
11821 __wcschr. Use libc_hidden_weak.
11822 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11823 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11824 (libc_hidden_def): Also define __GI___wcschr alias.
11825 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11826 __wcschr and define as weak alias of __wcschr.
11827 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11828 __wcschr.
11829 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11830 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11831 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11832 libc_hidden_weak. Do not use libc_hidden_def.
11833 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11834 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11835 __GI___wcschr alias.
11836 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11837 [IS_IN (libc)] (wcschr): Define as macro expanding to
11838 __redirect_wcschr.
11839 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11840 [IS_IN (libc)] (__wcschr_power6): Likewise.
11841 [IS_IN (libc)] (__wcschr_power7): Likewise.
11842 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11843 instead of wcschr.
11844 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11845 __libc_wcschr.
11846 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11847 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11848 __wcschr and define as weak alias of __wcschr. Use
11849 libc_hidden_builtin_def.
11850 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11851 as weak alias of __wcschr. Use libc_hidden_weak.
11852 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11853 wcschr.
11854 * time/era.c (_nl_init_era_entries): Likewise.
11855 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11856 variable.
11857 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11858 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11859
11860 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11861
11862 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11863 format for long int variable.
11864
11865 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11866
11867 [BZ #10672]
11868 * manual/search.texi: (Array Sort Function): Remove claim how to make
11869 qsort stable.
11870
11871 2014-12-10 Andreas Schwab <schwab@suse.de>
11872
11873 [BZ #12847]
11874 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11875 user-controlled locks.
11876
11877 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11878
11879 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11880 register.
11881
11882 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11883
11884 * configure.ac (--disable-werror): New configure option.
11885 (enable_werror): New AC_SUBST.
11886 * configure: Regenerated.
11887 * config.make.in (enable-werror): New variable.
11888 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11889 -Wno-error=undef.
11890 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11891 * manual/install.texi (Configuring and compiling): Document
11892 --disable-werror.
11893 * INSTALL: Regenerated.
11894 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11895 (CFLAGS-tst-chk2.c): Likewise.
11896 (CFLAGS-tst-chk3.c): Likewise.
11897 (CFLAGS-tst-chk4.cc): Likewise.
11898 (CFLAGS-tst-chk5.cc): Likewise.
11899 (CFLAGS-tst-chk6.cc): Likewise.
11900 (CFLAGS-tst-lfschk1.c): Likewise.
11901 (CFLAGS-tst-lfschk2.c): Likewise.
11902 (CFLAGS-tst-lfschk3.c): Likewise.
11903 (CFLAGS-tst-lfschk4.cc): Likewise.
11904 (CFLAGS-tst-lfschk5.cc): Likewise.
11905 (CFLAGS-tst-lfschk6.cc): Likewise.
11906
11907 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11908 (main): Disable -Wdeprecated-declarations around calls to
11909 register_printf_function.
11910
11911 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11912 (do_test): Disable -Wdiv-by-zero around some calls to
11913 fwrite_unlocked and fread_unlocked.
11914
11915 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11916 (DIAG_POP_NEEDS_COMMENT): Likewise.
11917 (_DIAG_STR1): Likewise.
11918 (_DIAG_STR): Likewise.
11919 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11920 * stdio-common/bug21.c: Include <libc-internal.h>.
11921 (do_test): Disable -Wformat around call to sscanf.
11922 * stdio-common/scanf14.c: Include <libc-internal.h>.
11923 (main): Disable -Wformat around some calls to scanf functions.
11924
11925 2014-12-09 Torvald Riegel <triegel@redhat.com>
11926
11927 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11928
11929 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11930
11931 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11932 stack variable alignment.
11933
11934 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11935
11936 [BZ #17682]
11937 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11938 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11939 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11940 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11941 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11942 __getrlimit instead of getrlimit.
11943 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11944 __gettimeofday instead of gettimeofday.
11945 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11946 Likewise.
11947 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11948 Likewise.
11949 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11950 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11951 Remove variable.
11952 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11953 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11954
11955 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11956
11957 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11958 for wide-character tests.
11959
11960 2014-12-04 Roland McGrath <roland@hack.frob.com>
11961
11962 * io/openat64.c: #include <libc-internal.h>
11963 (__openat64): Prototypify. Use ignore_value on MODE.
11964 * io/openat.c: Likewise.
11965 * misc/reboot.c: #include <libc-internal.h>
11966 (reboot): Prototypify. Use ignore_value on HOWTO.
11967 * misc/ptrace.c: #include <libc-internal.h>
11968 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11969
11970 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11971
11972 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11973 XPG4, UNIX98 and XOPEN2K.
11974 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11975 Remove variable.
11976 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11977
11978 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11979
11980 * libio/fileops.c: Use ISO C style for function definitions.
11981 * libio/iofopen.c: Likewise.
11982 * libio/wfileops.c: Likewise.
11983
11984 [BZ #17653]
11985 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11986 offset on EOF.
11987 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11988 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11989 (fgets_func): Function pointer to fgets and fgetws.
11990 (do_ftell_test): Add test to verify ftell value after read
11991 EOF.
11992 (do_test): Set fgets_func.
11993
11994 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11995 O_TRUNC flag for w and w+ modes.
11996 (do_rewind_test): Likewise.
11997 (do_ftell_test): Likewise.
11998 (do_write_test): Likewise.
11999
12000 [BZ #17647]
12001 * libio/fileops.c (do_ftell): Seek only when there are
12002 unflushed writes.
12003 * libio/wfileops.c (do_ftell_wide): Likewise.
12004 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12005 test case.
12006 (do_one_test): Call it.
12007
12008 2014-12-03 Joseph Myers <joseph@codesourcery.com>
12009
12010 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12011 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12012 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12013 Remove variable.
12014 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12015 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12016 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12017
12018 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12019
12020 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12021 Remove variable.
12022 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12023
12024 [BZ #17668]
12025 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12026 as weak alias of __getifaddrs. Use libc_hidden_weak.
12027 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12028 __freeifaddrs. Use libc_hidden_weak.
12029 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12030 define as weak alias of __getifaddrs. Use libc_hidden_weak.
12031 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12032 __freeifaddrs. Use libc_hidden_weak.
12033 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12034 __getifaddrs and define as weak alias of __getifaddrs. Use
12035 libc_hidden_weak.
12036 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12037 __freeifaddrs. Use libc_hidden_weak.
12038 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12039 Remove variable.
12040 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12041 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12042
12043 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12044
12045 [BZ #17601]
12046 * sysdeps/mips/start.S (__start): Use indirect jump to call
12047 __libc_start_main.
12048
12049 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12050
12051 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12052
12053 * nptl/tst-mutex1.c: Include <stdbool.h>.
12054 [!ATTR] (ATTR_NULL): New macro.
12055 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12056 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12057 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12058
12059 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12060 to char *.
12061
12062 [BZ #17665]
12063 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12064 Change conditional to [__USE_MISC].
12065
12066 [BZ #17664]
12067 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12068 fgets_unlocked.
12069 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12070 __fgets_unlocked.
12071 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12072 fgets_unlocked.
12073 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12074 Remove variable.
12075 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12076 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12077 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12078 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12079 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12080 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12081 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12082 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12083 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12084
12085 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12086
12087 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12088
12089 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12090 Remove strpbrk objects.
12091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12092 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12093 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12094 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12095 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12096 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12097
12098 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12099 Remove strcspn objects.
12100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12101 (__libc_ifunc_impl_list): Remove strcspn implementation.
12102 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12103 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12104 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12105 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12106
12107 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12108 Remove strspn objetcs.
12109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12110 (__libc_ifunc_impl_list): Remove strspn implementation.
12111 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12112 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12113 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12114 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12115
12116 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12117
12118 [BZ #17581]
12119 * malloc/hooks.c
12120 (mem2mem_check): Add a terminator to the chain of checking blocks.
12121 (malloc_check_get_size): Use it here.
12122 (mem2chunk_check): Ditto.
12123
12124 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12125
12126 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12127 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12128
12129 2014-11-29 Carlos O'Donell <carlos@redhat.com>
12130
12131 * bits/ioctl-types.h: Indent preprocessor directives correctly.
12132
12133 * nptl/nptl-init.c: Include libc-internal.h.
12134 (__pthread_initialize_minimal_internal): Use ROUND_UP.
12135
12136 * elf/ldconfig.c (search_dir): Expand comment.
12137
12138 2014-11-29 Joseph Myers <joseph@codesourcery.com>
12139
12140 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12141 variable.
12142 (linknamespace-symlist-stdlibs-tests): Likewise.
12143 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12144 instead of $(objpfx)symlist-stdlibs.
12145 (linknamespace-libs-isoc): New variable.
12146 (linknamespace-libs): Use $(linknamespace-libs-isoc).
12147 (linknamespace-libs-ISO): New variable.
12148 (linknamespace-libs-ISO99): Likewise.
12149 (linknamespace-libs-ISO11): Likewise.
12150 (linknamespace-libs-XPG3): Likewise.
12151 (linknamespace-libs-XPG4): Likewise.
12152 (linknamespace-libs-POSIX): Likewise.
12153 (linknamespace-libs-UNIX98): Likewise.
12154 (linknamespace-libs-XOPEN2K): Likewise.
12155 (linknamespace-libs-POSIX2008): Likewise.
12156 (linknamespace-libs-XOPEN2K8): Likewise.
12157 ($(objpfx)symlist-stdlibs): Replace by
12158 $(linknamespace-symlist-stdlibs-tests). Use
12159 $(linknamespace-libs-$*) as set of libraries.
12160 ($(linknamespace-header-tests)): Update dependencies. Use
12161 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12162 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12163 * conform/linknamespace.pl: Remove comment about considering
12164 definitions of symbols from irrelevant libraries.
12165
12166 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
12167
12168 [BZ #13862]
12169 * elf/dl-tls.c: Include <atomic.h>.
12170 (oom): Remove #ifdef SHARED/#endif.
12171 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12172 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
12173 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12174 big enough.
12175 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12176 * nptl/Makefile (tests): Add tst-stack4.
12177 (modules-names): Add tst-stack4mod.
12178 ($(objpfx)tst-stack4): New.
12179 (tst-stack4mod.sos): Likewise.
12180 ($(objpfx)tst-stack4.out): Likewise.
12181 ($(tst-stack4mod.sos)): Likewise.
12182 (clean): Likewise.
12183 * nptl/tst-stack4.c: New file.
12184 * nptl/tst-stack4mod.c: Likewise.
12185
12186 2014-11-27 J. Brown <jb999@gmx.de>
12187
12188 * sysdeps/x86/bits/string.h: Add recent CPUs.
12189
12190 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12191
12192 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12193 sigblock.
12194
12195 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12196 feof.
12197
12198 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12199 variable.
12200
12201 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12202
12203 * nscd/connections.c: Include libc-internal.h because of macro
12204 usage ignore_value.
12205
12206 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12207
12208 * string/bits/string3.h (__warn_memset_zero_len): Don't
12209 declare for gcc newer than 5.0.
12210 (memset): Don't test for zero-length __LEN for gcc newer than
12211 5.0.
12212
12213 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12214
12215 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12216 size_t for %zu format.
12217
12218 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12219 difference, not %ju.
12220
12221 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12222
12223 * include/libc-internal.h (ignore_value): New macro.
12224 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12225 with ignore_value.
12226
12227 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12228 definition.
12229
12230 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12231 pthread_cleanup_push to void *.
12232
12233 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12234 Undefine.
12235
12236 [BZ #16619]
12237 [BZ #16740]
12238 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12239 instead of 1L << 52.
12240
12241 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12242 * libio/bug-rewind2.c (do_test): Likewise.
12243
12244 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12245 * debug/test-strcpy_chk-ifunc.c: Likewise.
12246 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12247 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12248 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12249 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12250 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12251 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12252 * Rules [$(multi-arch) = no] (tests): Do not filter out
12253 $(tests-ifunc).
12254 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12255 * debug/Makefile (tests-ifunc): Remove variable.
12256 (tests): Do not add $(tests-ifunc).
12257 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12258 (tests): Do not add $(tests-ifunc).
12259 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12260 [TEST_IFUNC]: Remove conditionals.
12261 * string/test-string.h (TEST_IFUNC): Remove macro.
12262 [TEST_IFUNC]: Remove conditionals.
12263
12264 * string/test-strchr.c [!WIDE] (L): New macro.
12265 [WIDE] (L): Likewise.
12266 (check1): Use CHAR instead of char. Use L on string and character
12267 constants.
12268
12269 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12270
12271 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12272 tests.
12273 * sysdeps/powerpc/bits/atomic.h
12274 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12275 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12276 (atomic_exchange_and_add_acq): Likewise.
12277 (atomic_exchange_and_add_rel): Likewise.
12278 * sysdeps/powerpc/powerpc32/bits/atomic.h
12279 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12280 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12281 * sysdeps/powerpc/powerpc64/bits/atomic.h
12282 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12283 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12284
12285 2014-11-26 Torvald Riegel <triegel@redhat.com>
12286
12287 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12288 Change synchronization of __sched_fifo_min_prio and
12289 __sched_fifo_max_prio.
12290 * nptl/pthread_mutexattr_getprioceiling.c
12291 (pthread_mutexattr_getprioceiling): Likewise.
12292 * nptl/pthread_mutexattr_setprioceiling.c
12293 (pthread_mutexattr_setprioceiling): Likewise.
12294 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12295 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12296 Likewise.
12297
12298 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12299
12300 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12301 void.
12302
12303 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12304
12305 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12306 third argument const.
12307
12308 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12309
12310 fnmatch: work around GCC compiler warning bug with uninit var
12311 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12312 This works around a bug with x86-64 GCC 4.9.2 and earlier
12313 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12314 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12315 used uninitialized in this function [-Wmaybe-uninitialized]".
12316
12317 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12318
12319 * posix/bug-regex31.c (main): Return RES not 0.
12320
12321 2014-11-25 Anton Blanchard <anton@samba.org>
12322
12323 * sysdeps/powerpc/bits/atomic.h
12324 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12325
12326 2014-11-24 Sterling Augustine <saugustine@google.com>
12327
12328 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12329
12330 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12331
12332 [BZ #17608]
12333 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12334
12335 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12336
12337 [BZ #17633]
12338 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12339 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12340 variable.
12341 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12342 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12343
12344 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12345
12346 * string/strncpy.c (strncpy): Improve performance by using memset.
12347
12348 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12349
12350 * string/strcpy.c (strcpy):
12351 Improve performance by using strlen and memcpy.
12352
12353 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12354
12355 * string/strcoll_l.c (get_next_seq): __always_inline.
12356 * string/strcoll_l.c (do_compare): __always_inline.
12357
12358 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12359
12360 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12361 defined.
12362 * include/mqueue.h: Likewise.
12363 * include/stdlib.h: Likewise.
12364
12365 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12366 (get_null_defines): Adjust.
12367 * sunrpc/Makefile: Adjust comment.
12368 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12369 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12370 (CFLAGS-interp.c): Likewise.
12371 (CFLAGS-ldconfig.c): Likewise.
12372 (CPPFLAGS-.os): Likewise.
12373 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12374 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12375 * extra-modules.mk (extra-modules.mk): Likewise.
12376 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12377 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12378 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12379 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12380 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12381 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12382 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12383 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12384 * iconvdata/Makefile (CPPFLAGS): Likewise.
12385 (cpp-srcs-left): Add libof for all iconvdata routines.
12386 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12387 * include/assert.h: Likewise.
12388 * include/ctype.h: Likewise.
12389 * include/errno.h: Likewise.
12390 * include/libc-symbols.h: Likewise.
12391 * include/math.h: Likewise.
12392 * include/netdb.h: Likewise.
12393 * include/resolv.h: Likewise.
12394 * include/stdio.h: Likewise.
12395 * include/stdlib.h: Likewise.
12396 * include/string.h: Likewise.
12397 * include/sys/stat.h: Likewise.
12398 * include/wctype.h: Likewise.
12399 * intl/l10nflist.c: Likewise.
12400 * libidn/idn-stub.c: Likewise.
12401 * libio/libioP.h: Likewise.
12402 * nptl/libc_multiple_threads.c: Likewise.
12403 * nptl/pthreadP.h: Likewise.
12404 * posix/regex_internal.h: Likewise.
12405 * resolv/res_hconf.c: Likewise.
12406 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12407 * sysdeps/arm/memmove.S: Likewise.
12408 * sysdeps/arm/sysdep.h: Likewise.
12409 * sysdeps/generic/_itoa.h: Likewise.
12410 * sysdeps/generic/symbol-hacks.h: Likewise.
12411 * sysdeps/gnu/errlist.awk: Likewise.
12412 * sysdeps/gnu/errlist.c: Likewise.
12413 * sysdeps/i386/i586/memcpy.S: Likewise.
12414 * sysdeps/i386/i586/memset.S: Likewise.
12415 * sysdeps/i386/i686/memcpy.S: Likewise.
12416 * sysdeps/i386/i686/memmove.S: Likewise.
12417 * sysdeps/i386/i686/mempcpy.S: Likewise.
12418 * sysdeps/i386/i686/memset.S: Likewise.
12419 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12420 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12421 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12422 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12423 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12424 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12425 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12426 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12427 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12429 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12430 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12431 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12432 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12433 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12434 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12435 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12436 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12437 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12438 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12439 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12440 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12441 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12442 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12443 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12444 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12445 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12446 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12447 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12448 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12449 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12450 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12452 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12455 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12456 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12457 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12458 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12459 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12460 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12461 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12462 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12463 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12464 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12465 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12466 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12467 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12468 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12469 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12470 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12471 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12472 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12473 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12474 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12475 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12476 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12477 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12478 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12479 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12480 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12481 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12482 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12483 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12484 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12485 * sysdeps/posix/closedir.c: Likewise.
12486 * sysdeps/posix/opendir.c: Likewise.
12487 * sysdeps/posix/readdir.c: Likewise.
12488 * sysdeps/posix/rewinddir.c: Likewise.
12489 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12490 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12491 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12492 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12493 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12494 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12495 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12496 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12497 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12499 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12500 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12501 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12502 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12503 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12504 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12505 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12506 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12507 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12508 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12509 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12510 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12511 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12512 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12513 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12514 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12515 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12516 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12517 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12518 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12520 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12522 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12524 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12525 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12526 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12527 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12528 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12529 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12530 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12531 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12532 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12533 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12534 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12535 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12536 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12537 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12538 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12539 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12540 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12541 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12542 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12543 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12544 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12545 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12546 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12547 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12548 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12549 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12550 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12551 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12552 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12553 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12554 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12555 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12556 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12557 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12558 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12559 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12560 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12561 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12562 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12563 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12564 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12565 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12566 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12567 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12568 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12569 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12570 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12571 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12572 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12573 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12574 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12575 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12576 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12577 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12578 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12579 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12580 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12581 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12582 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12583 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12584 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12585 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12587 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12588 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12589 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12590 * sysdeps/unix/alpha/sysdep.S: Likewise.
12591 * sysdeps/unix/alpha/sysdep.h: Likewise.
12592 * sysdeps/unix/make-syscalls.sh: Likewise.
12593 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12594 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12595 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12596 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12597 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12598 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12599 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12600 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12601 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12602 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12603 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12604 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12605 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12606 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12607 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12608 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12609 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12610 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12611 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12612 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12613 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12614 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12615 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12616 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12617 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12618 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12619 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12622 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12623 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12624 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12625 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12627 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12628 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12631 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12632 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12633 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12634 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12635 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12636 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12637 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12639 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12640 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12641 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12642 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12643 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12644 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12645 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12646 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12647 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12648 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12649 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12651 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12652 * sysdeps/x86_64/memcpy.S: Likewise.
12653 * sysdeps/x86_64/memmove.c: Likewise.
12654 * sysdeps/x86_64/memset.S: Likewise.
12655 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12656 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12657 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12658 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12659 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12661 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12662 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12663 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12664 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12665 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12666 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12667 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12668 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12669 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12670 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12671 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12672 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12673 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12674 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12675 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12676 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12677 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12678 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12679 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12680 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12681 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12682 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12683 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12684 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12685 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12686 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12687 * sysdeps/x86_64/strcmp.S: Likewise.
12688
12689 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12690
12691 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12692 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12693 * elf/rtld-Rules: Likewise.
12694 * elf/setup-vdso.h: Likewise.
12695 * include/assert.h: Likewise.
12696 * include/bits/stdlib-float.h: Likewise.
12697 * include/errno.h: Likewise.
12698 * include/sys/stat.h: Likewise.
12699 * include/unistd.h: Likewise.
12700 * sysdeps/aarch64/setjmp.S: Likewise.
12701 * sysdeps/alpha/setjmp.S: Likewise.
12702 * sysdeps/arm/__longjmp.S: Likewise.
12703 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12704 * sysdeps/arm/setjmp.S: Likewise.
12705 * sysdeps/arm/sysdep.h: Likewise.
12706 * sysdeps/generic/_itoa.h: Likewise.
12707 * sysdeps/generic/dl-sysdep.h: Likewise.
12708 * sysdeps/generic/ldsodefs.h: Likewise.
12709 * sysdeps/i386/dl-tls.h: Likewise.
12710 * sysdeps/i386/setjmp.S: Likewise.
12711 * sysdeps/m68k/setjmp.c: Likewise.
12712 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12713 * sysdeps/mach/hurd/opendir.c: Likewise.
12714 * sysdeps/posix/getcwd.c: Likewise.
12715 * sysdeps/posix/opendir.c: Likewise.
12716 * sysdeps/posix/profil.c: Likewise.
12717 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12718 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12719 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12720 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12721 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12722 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12723 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12724 * sysdeps/s390/dl-tls.h: Likewise.
12725 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12726 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12727 * sysdeps/sh/sh3/setjmp.S: Likewise.
12728 * sysdeps/sh/sh4/setjmp.S: Likewise.
12729 * sysdeps/unix/alpha/sysdep.h: Likewise.
12730 * sysdeps/unix/arm/sysdep.S: Likewise.
12731 * sysdeps/unix/i386/sysdep.S: Likewise.
12732 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12733 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12734 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12735 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12736 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12737 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12738 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12739 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12740 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12741 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12742 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12743 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12744 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12747 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12748 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12749 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12750 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12751 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12752 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12753 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12755 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12756 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12757 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12759 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12760 * sysdeps/x86_64/setjmp.S: Likewise.
12761
12762 * include/math.h: Use IS_IN instead of IS_IN_libm.
12763 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12764 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12766 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12767 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12768 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12769 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12770 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12772 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12773 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12774 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12775 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12776 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12777 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12778 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12780 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12781 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12782 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12783 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12784 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12785 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12786 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12787 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12788 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12789 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12790 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12791 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12792 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12793 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12794 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12795 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12797 Likewise.
12798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12799 Likewise.
12800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12801 Likewise.
12802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12803 Likewise.
12804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12805 Likewise.
12806 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12807 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12808 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12809 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12810 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12811 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12817 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12818 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12819 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12820 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12821 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12822 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12823 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12824 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12825 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12826 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12827 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12828 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12829 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12830 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12832 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12833
12834 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12835 * nptl/pthreadP.h: Likewise.
12836 * nptl_db/structs.def: Likewise.
12837 * sysdeps/arm/sysdep.h: Likewise.
12838 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12839 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12840 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12841 * sysdeps/unix/alpha/sysdep.h: Likewise.
12842 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12843 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12844 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12845 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12846 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12847 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12848 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12849 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12850 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12851 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12852 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12853 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12854 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12855 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12859 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12860 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12863 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12864 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12865 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12866 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12867 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12868
12869 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12870 * nptl/pthreadP.h: Likewise.
12871 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12872 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12873 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12874 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12875 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12876 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12877 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12878 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12879 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12880 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12881 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12882 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12884 Likewise.
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12886 Likewise.
12887 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12888 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12889 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12890 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12892 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12893 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12894 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12895
12896 * dlfcn/dladdr.c: Use IS_IN.
12897 * dlfcn/dladdr1.c: Likewise.
12898 * dlfcn/dlclose.c: Likewise.
12899 * dlfcn/dlerror.c: Likewise.
12900 * dlfcn/dlinfo.c: Likewise.
12901 * dlfcn/dlmopen.c: Likewise.
12902 * dlfcn/dlopen.c: Likewise.
12903 * dlfcn/dlsym.c: Likewise.
12904 * dlfcn/dlvsym.c: Likewise.
12905
12906 * include/ifaddrs.h: Use IS_IN.
12907 * inet/check_pf.c: Likewise.
12908 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12909 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12910
12911 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12912 IS_IN_ldconfig.
12913 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12914 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12915
12916 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12917 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12918 IS_IN (libc).
12919
12920 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12921
12922 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12923 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12924 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12925 * include/libc-symbols.h (IS_IN_LIB): New macro.
12926 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12927 * include/netdb.h: Likewise.
12928 * include/stap-probe.h: Remove all uses of IN_LIB.
12929
12930 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12931 instead of IN_MODULE.
12932 * include/libc-symbols.h (IN_MODULE): Define using
12933 MODULE_NAME.
12934 (PASTE_NAME, PASTE_NAME1): New macros.
12935 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12936 of IN_LIB.
12937 (STAP_PROBE_ASM): Likewise.
12938
12939 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12940
12941 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12942 __mach_init in dlopened libc.
12943
12944 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12945
12946 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12947 * sysdeps/arm/preconfigure: Regenerate.
12948
12949 2014-11-21 Roland McGrath <roland@hack.frob.com>
12950
12951 * nptl/pthread_create.c (__pthread_create_2_1): Set
12952 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12953 when copying values from IATTR into PD.
12954
12955 2014-11-21 Will Newton <will.newton@linaro.org>
12956 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12957
12958 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12959 Refactor inline-asm. Also add comment.
12960
12961 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12962 ElfW macro instead of hardcoded Elf64 types.
12963 (la_aarch64_gnu_pltenter): Likewise.
12964 * sysdeps/aarch64/dl-machine.h
12965 (elf_machine_runtime_setup): Use ElfW(Addr).
12966
12967 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12968 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12969 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12970 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12971 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12972 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12973 (R_AARCH64_TLS_DTPMOD): This.
12974 (R_AARCH64_TLS_DTPREL64): Rename to ...
12975 (R_AARCH64_TLS_DTPREL): This.
12976 (R_AARCH64_TLS_TPREL64): Rename to ...
12977 (R_AARCH64_TLS_TPREL): This.
12978 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12979 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12980 R_AARCH64_TLS_TPREL64.
12981 (elf_machine_rela): Likewise.
12982
12983 2014-11-21 Torvald Riegel <triegel@redhat.com>
12984
12985 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12986 by setting it to 0. 64b atomics are not supported currently.
12987
12988 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12989
12990 [BZ #16469]
12991 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12992 search domain names.
12993
12994 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12995
12996 [BZ #16469]
12997 * NEWS: Update.
12998 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12999 trailing dot.
13000 * posix/tst-getaddrinfo5.c: New.
13001 * posix/Makefile (tests): Add it.
13002
13003 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13004
13005 [BZ #14498]
13006 * NEWS: Fixed.
13007 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13008 after parsing line but before break_if_match.
13009 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13010 if there is a protocol mismatch.
13011
13012 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13013
13014 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13015 because the potential race is on the user-supplied stream.
13016
13017 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13018
13019 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13020 string literal if not passed a buffer.
13021 * manual/job.texi (ctermid): Update reasoning, note deviation
13022 from posix, suggest mtasurace when not passed a buffer, for
13023 future non-preliminary safety notes.
13024
13025 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13026
13027 * manual/users.texi (cuserid): Fix MT-Safety note for the case
13028 of not passing it a buffer.
13029 Reported by Peng Haitao.
13030
13031 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13032
13033 * manual/Makefile ($(objpfx)stamp-summary): Require
13034 check-safety.sh to pass.
13035 * manual/check-safety.sh: Wish for verification that every
13036 @deftypefn and @deftypefun is followed by a @safety remark.
13037
13038 2014-11-20 Roland McGrath <roland@hack.frob.com>
13039
13040 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13041
13042 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13043 PTHREAD_CANCEL_ASYNCHRONOUS.
13044 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13045 send SIGCANCEL.
13046
13047 * nptl/default-sched.h: New file.
13048 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13049 * nptl/pthread_create.c: Include it.
13050 (__pthread_create_2_1): Use collect_default_sched instead of making
13051 Linux syscalls here directly.
13052
13053 2014-11-20 Torvald Riegel <triegel@redhat.com>
13054
13055 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13056 __pthread_once): Use C11 atomics.
13057
13058 2014-11-20 Torvald Riegel <triegel@redhat.com>
13059
13060 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13061
13062 2014-11-20 Torvald Riegel <triegel@redhat.com>
13063
13064 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13065 atomic_thread_fence_acquire, atomic_thread_fence_release,
13066 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13067 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13068 atomic_compare_exchange_weak_relaxed,
13069 atomic_compare_exchange_weak_acquire,
13070 atomic_compare_exchange_weak_release,
13071 atomic_exchange_acquire, atomic_exchange_release,
13072 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13073 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13074 atomic_fetch_and_acquire,
13075 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13076
13077 2014-11-20 Torvald Riegel <triegel@redhat.com>
13078
13079 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13080 USE_ATOMIC_COMPILER_BUILTINS): Define.
13081 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13082 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13083 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13084 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13085 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13086 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13087 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13088 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13089 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13090 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13091 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13092 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13093 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13094 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13095 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13096 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13097 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13098 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13099 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13100 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13101 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13102 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13103 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13104 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13105 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13106 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13107 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13108 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13109 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13110 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13111 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13112 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13113 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13114 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13115 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13116 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13117 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13118 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13119 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13120 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13121
13122 2014-11-19 Roland McGrath <roland@hack.frob.com>
13123
13124 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13125 the sched_priority value here. It was already checked when the user
13126 called pthread_attr_setschedparam.
13127
13128 * nptl/tst-bad-schedattr.c: New file.
13129 * nptl/Makefile (tests): Add it.
13130
13131 2014-11-19 Carlos O'Donell <carlos@redhat.com>
13132 Florian Weimer <fweimer@redhat.com>
13133 Joseph Myers <joseph@codesourcery.com>
13134 Adam Conrad <adconrad@0c3.net>
13135 Andreas Schwab <schwab@suse.de>
13136 Brooks <bmoses@google.com>
13137
13138 [BZ #17625]
13139 * wordexp-test.c (__dso_handle): Add prototype.
13140 (__register_atfork): Likewise.
13141 (__app_register_atfork): New function.
13142 (registered_forks): New global.
13143 (register_fork): New function.
13144 (test_case): Add 3 new tests for WRDE_CMDSUB.
13145 (main): Call __app_register_atfork.
13146 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13147 fork count is non-zero fail the test.
13148 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13149 is set.
13150 (parse_dollars): Remove check for WRDE_NOCMD.
13151 (parse_dquote): Likewise.
13152
13153 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13154
13155 * Makeconfig (built-modules): List non-library modules to be
13156 built.
13157 (module-cppflags): Include libc-modules.h for
13158 everything except shlib-versions.v.i.
13159 (CPPFLAGS): Use it.
13160 (before-compile): Add libc-modules.h.
13161 ($(common-objpfx)libc-modules.h,
13162 $(common-objpfx)libc-modules.stmp): New targets.
13163 (common-generated): Add libc-modules.h and libc-modules.stmp.
13164 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13165 * include/libc-symbols.h: Don't include libc-modules.h.
13166 * include/libc-modules.h: Remove file.
13167 * scripts/gen-libc-modules.awk: New script to generate
13168 libc-modules.h.
13169 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13170 Depend on libc-modules.stmp.
13171
13172 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13173
13174 * Makeconfig (in-module): Get value of libof set for the
13175 translation unit.
13176 (CPPFLAGS): Use $(in-module).
13177 * Makerules: Don't suffix routine names for nonlib.
13178 * include/libc-modules.h: New file.
13179 * include/libc-symbols.h: Include libc-modules.h
13180 (IS_IN): New macro to replace IS_IN_* macros.
13181 * elf/Makefile: Set libof-* for each routine.
13182 * elf/rtld-Rules: Likewise.
13183 * extra-modules.mk: Likewise.
13184 * iconv/Makefile: Likewise.
13185 * iconvdata/Makefile: Likewise.
13186 * locale/Makefile: Likewise.
13187 * malloc/Makefile: Likewise.
13188 * nss/Makefile: Likewise.
13189 * sysdeps/gnu/Makefile: Likewise.
13190 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13191 * sysdeps/unix/sysv/linux/Makefile: Likewise.
13192 * sysdeps/s390/s390-64/Makefile: Likewise.
13193 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
13194 CPPFLAGS for nscd instead of nonlib.
13195
13196 2014-11-18 Roland McGrath <roland@hack.frob.com>
13197
13198 * nptl/createthread.c: New file.
13199
13200 * nptl/createthread.c: Moved ...
13201 * sysdeps/unix/sysv/linux/createthread.c: ... here.
13202
13203 * nptl/createthread.c: Add proper top-line comment.
13204 (do_clone): Folded into ...
13205 (create_thread): ... here. Take new arguments STOPPED_START and
13206 THREAD_RAN. Always set PD->stopped_start to something here. Don't
13207 increment __nptl_threads, do event-reporting logic, do
13208 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13209 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13210 resource cleanup if sched_setaffinity or sched_setscheduler fails,
13211 just send SIGCANCEL.
13212 * nptl/pthread_create.c: Forward-declare create_thread before
13213 including createthread.c.
13214 (start_thread): Use new macro START_THREAD_DEFN to replace defining
13215 declaration, and new macro START_THREAD_SELF to replace argument.
13216 Remove return statement.
13217 (report_thread_creation): New function.
13218 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
13219 synchronization logic, and __nptl_nthreads increment here, around
13220 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13221 PD->parent_cancelhandling here, before create_thread. When
13222 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13223 __deallocate_stack, and ENOMEM translation here.
13224
13225 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13226
13227 [BZ #17616]
13228 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13229 (mptwo): Rename to __mptwo.
13230 (__inv): Use __mptwo instead of mptwo.
13231 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13232 (mptwo): Rename to __mptwo.
13233 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13234 of mpone and __mptwo instead of mptwo.
13235 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13236 instead of mpone.
13237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13238 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13239 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13240 of mpone and __mptwo instead of mptwo.
13241 (__mpranred): Use __mpone instead of mpone.
13242 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13243 variable.
13244 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13245 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13246 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13247 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13248 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13249 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13250 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13251 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13252 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13253 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13254 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13255 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13256 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13257 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13258 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13259 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13260 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13261 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13262 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13263
13264 2014-11-18 Tom de Vries <tom@codesoucery.com>
13265
13266 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13267 replace BSD Handler xref with BSD Signal Handling.
13268
13269 2014-11-17 Richard Henderson <rth@redhat.com>
13270
13271 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13272 (_FP_PACK_RAW_2): Remove.
13273 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13274 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13275 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13276 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13277 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13278 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13279 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13280 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13281 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13282 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13283 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13284 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13285 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13286 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13287 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13288 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13289
13290 2014-11-14 Roland McGrath <roland@hack.frob.com>
13291
13292 * signal/signal.h [__USE_MISC]
13293 (struct sigvec): Remove type.
13294 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13295 (sigvec): Remove declaration.
13296 * sysdeps/posix/sigvec.c: Moved ...
13297 * signal/sigvec.c: ... here, replacing old file.
13298 (struct sigvec): New type, copied from old signal.h definition.
13299 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13300 (__sigvec): Convert definition to prototype.
13301 (sigvec): Replace weak_alias with compat_symbol.
13302 * signal/Versions (libc: GLIBC_2.21): New version set.
13303 * include/signal.h: Remove __sigvec declaration.
13304 * sysdeps/unix/bsd/sigvec.c: Remove file.
13305 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13306 * manual/signal.texi (BSD Handler): Remove subsection.
13307 Move siginterrupt up to ...
13308 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13309 (Blocking in BSD): Fold subsection into its parent.
13310 * NEWS: Mention sigvec removal.
13311
13312 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13313
13314 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13315 (DLA_FMS): Make definition conditional only on [__FMA4__].
13316 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13317 definition.
13318
13319 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13320 Make definition conditional only on [PROF].
13321 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13322 definition.
13323 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13324 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13325
13326 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13327 !__GNUC__].
13328 * include/signal.h (__sigpause): Move declaration above call to
13329 libc_hidden_proto.
13330 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13331 variable.
13332 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13333 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13334
13335 2014-11-14 David S. Miller <davem@davemloft.net>
13336
13337 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13338 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13339
13340 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13341
13342 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13343 * configure: Regenerated.
13344 * manual/install.texi (Tools for Compilation): Document a
13345 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13346 compiler verified to work.
13347 * INSTALL: Regenerated.
13348
13349 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13350 redeclare with asm name.
13351 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13352 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13353 including <string.h>.
13354 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13355 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13356 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13357 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13358 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13359 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13360 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13361
13362 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13363
13364 * stdlib/strtol.c (__strtol): Use prototype definition.
13365
13366 [BZ #17594]
13367 * stdlib/strtol.c (SYM__): New macro.
13368 (SYM__1): Likewise.
13369 (__strtol): Likewise.
13370 (strtol): Rename to __strtol and define as weak alias of
13371 __strtol. Use libc_hidden_weak.
13372
13373 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13374
13375 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13376 Use numbered labels in inline assembly.
13377
13378 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13379
13380 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13381 Add setjmp LIBC_PROBE.
13382 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13383 Likewise.
13384 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13385 Add longjmp, longjmp_target LIBC_PROBE.
13386 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13387 Likewise.
13388
13389 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13390
13391 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13392 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13393 to get rid of unused variable warning.
13394
13395 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13396
13397 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13398 Check for unwind_backtrace == NULL only in SHARED case.
13399 (__backchain_backtrace): Compile only in SHARED case.
13400 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13401 Likewise.
13402 (__backchain_backtrace): Declare as static.
13403
13404 2014-11-12 Roland McGrath <roland@hack.frob.com>
13405
13406 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13407 (__libc_multiple_threads_ptr): Variable moved ...
13408 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13409
13410 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13411
13412 * conform/GlibcConform.pm: New file.
13413 * conform/conformtest.pl: Use GlibcConform module.
13414 * conform/linknamespace.pl: New file.
13415 * conform/list-header-symbols.pl: Likewise.
13416 * conform/Makefile (linknamespace-symlists-base): New variable.
13417 (linknamespace-symlists-tests): Likewise.
13418 (linknamespace-header-base): Likewise.
13419 (linknamespace-header-tests): Likewise.
13420 (tests-special): Add new tests.
13421 ($(linknamespace-symlists-tests)): New rule.
13422 (linknamespace-libs): New variable.
13423 ($(objpfx)symlist-stdlibs): New rule.
13424 ($(linknamespace-header-tests)): Likewise.
13425 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13426 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13427 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13428 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13429 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13430 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13431 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13432 (test-xfail-ISO/math.h/linknamespace): Likewise.
13433 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13434 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13435 (test-xfail-ISO/time.h/linknamespace): Likewise.
13436 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13437 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13438 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13439 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13440 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13441 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13442 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13443 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13444 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13445 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13446 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13447 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13448 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13449 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13450 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13451 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13452 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13453 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13454 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13455 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13456 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13457 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13458 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13459 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13460 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13461 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13462 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13463 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13464 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13465 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13466 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13467 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13468 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13469 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13470 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13471 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13472 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13473 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13474 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13475 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13476 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13477 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13478 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13479 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13480 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13481 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13482 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13483 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13484 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13485 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13486 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13487 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13488 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13489 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13490 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13491 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13492 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13493 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13494 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13495 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13496 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13497 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13498 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13499 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13500 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13501 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13502 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13503 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13504 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13505 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13506 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13507 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13508 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13509 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13510 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13511 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13512 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13513 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13514 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13515 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13516 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13517 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13518 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13519 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13520 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13521 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13522 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13523 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13524 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13525 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13526 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13527 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13528 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13529 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13530 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13531 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13532 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13533 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13534 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13535 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13536 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13537 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13538 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13539 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13540 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13541 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13542 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13543 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13544 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13545 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13546 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13547 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13548 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13549 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13550 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13551 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13552 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13553 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13554 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13555 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13556 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13557 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13558 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13559 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13560 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13561 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13562 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13563 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13564 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13565 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13566 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13567 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13568 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13569 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13570 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13571 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13572 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13573 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13574 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13575 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13576 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13577 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13578 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13579 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13580 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13581 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13582 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13583 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13584 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13585 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13586
13587 [BZ #17589]
13588 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13589 of fgets_unlocked.
13590
13591 [BZ #17585]
13592 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13593 (memmem): Rename to __memmem and define as weak alias of
13594 __memmem. Use libc_hidden_weak.
13595 (__memmem): Use libc_hidden_def.
13596 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13597 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13598 memmem.
13599
13600 [BZ #17582]
13601 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13602 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13603 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13604 and define as weak alias of __fgets_unlocked. Use
13605 libc_hidden_weak.
13606 (__fgets_unlocked): Use libc_hidden_def.
13607 * include/stdio.h (__fgets_unlocked): Declare. Use
13608 libc_hidden_proto.
13609 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13610 __fgets_unlocked instead of fgets_unlocked.
13611 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13612 (GET_NPROCS_CONF_PARSER): Likewise.
13613 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13614 (GET_NPROCS_CONF_PARSER): Likewise.
13615
13616 [BZ #17574]
13617 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13618 weak alias of __wmemset. Use libc_hidden_weak.
13619 (__wmemset): Use libc_hidden_def.
13620 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13621 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13622 of wmemset.
13623
13624 [BZ #17573]
13625 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13626 with asm name __mempcpy.
13627 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13628
13629 [BZ #17572]
13630 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13631 and define as weak alias of __rawmemchr.
13632 (__rawmemchr): Do not define as strong alias of rawmemchr.
13633
13634 [BZ #17571]
13635 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13636 alias of __qsort_r.
13637 (qsort): Call __qsort_r instead of qsort_r.
13638 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13639 (__qsort_r): Declare. Call libc_hidden_proto.
13640 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13641 instead of qsort_r.
13642 * nscd/gai.c (__qsort_r): Define to qsort_r.
13643 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13644 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13645 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13646
13647 [BZ #17570]
13648 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13649 define as weak alias of __malloc_info.
13650
13651 [BZ #17584]
13652 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13653 as weak alias of __rewinddir. Don't use libc_hidden_def.
13654 (__rewinddir): Use libc_hidden_def.
13655 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13656 as weak alias of __rewinddir. Don't use libc_hidden_def.
13657 (__rewinddir): Use libc_hidden_def.
13658 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13659 weak alias of __rewinddir. Don't use libc_hidden_def.
13660 (__rewinddir): Use libc_hidden_def.
13661 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13662 (__rewinddir): Use libc_hidden_proto.
13663 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13664 rewinddir.
13665 (__getcwd): Use __rewinddir instead of rewinddir.
13666
13667 [BZ #17583]
13668 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13669 alias of __fileno. Use libc_hidden_weak.
13670 (__fileno): Use libc_hidden_def.
13671 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13672 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13673 alias of __ftello.
13674 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13675 __ftello.
13676 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13677 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13678 libc_hidden_def.
13679 (fread_unlocked): Don't use libc_hidden_ver.
13680 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13681 and define as weak alias of __fread_unlocked. Don't use
13682 libc_hidden_def.
13683 (__fread_unlocked): Use libc_hidden_def.
13684 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13685 (ftello): Don't use libc_hidden_proto.
13686 (__ftello): Declare. Use libc_hidden_proto.
13687 (fread_unlocked): Don't use libc_hidden_proto.
13688 (__fread_unlocked): Declare. Use libc_hidden_proto.
13689 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13690 and __ftello instead of fileno, fread_unlocked and ftello.
13691
13692 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13693
13694 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13695 GOT12.
13696 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13697 Likewise.
13698 (_dl_start_user): Likewise.
13699 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13700
13701 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13702 Siddhesh Poyarekar <siddhesh@redhat.com>
13703
13704 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13705 Move argv and envp down instead of moving argc up.
13706 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13707
13708 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13709
13710 [BZ #17506]
13711 * test-skeleton.c (main): Return successful if one of
13712 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13713 * string/tst-strcoll-overflow.c: Define expected status.
13714
13715 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13716
13717 [BZ #17475]
13718 * locale/iso-639.def: Define Bhili and Tulu language codes.
13719
13720 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13721
13722 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13723
13724 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13725
13726 [BZ #17555]
13727 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13728
13729 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13730
13731 * configure.ac: Updated check of minimal required version to
13732 2.22.
13733 * manual/install.texi (Tools for Compilation): Updated version
13734 number.
13735 * configure: Regenerated.
13736 * INSTALL: Likewise.
13737
13738 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13739
13740 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13741 __tls_get_addr.
13742
13743 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13744
13745 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13746 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13747 (__waitpid): Don't define as alias. Use libc_hidden_def not
13748 libc_hidden_weak.
13749 (waitpid): Define as alias of __waitpid.
13750 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13751 __waitpid.
13752 (__waitpid): Don't define as alias. Use libc_hidden_def not
13753 libc_hidden_weak.
13754 (waitpid): Define as alias of __waitpid.
13755 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13756 __libc_waitpid alias.
13757 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13758 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13759 Likewise.
13760 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13761 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13762 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13763 alias.
13764 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13765 __waitpid.
13766 (__waitpid): Don't define as alias. Use libc_hidden_def not
13767 libc_hidden_weak.
13768 (waitpid): Define as alias of __waitpid.
13769
13770 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13771
13772 * manual/llio.texi: Add comment that write safety has been
13773 fixed in Linux.
13774
13775 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13776 (localplt-build-dso): Add elf/ld.so.
13777 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13778 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13779 and free for ld.so.
13780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13781 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13783 Likewise.
13784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13785 Likewise.
13786 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13787 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13788 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13789 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13790 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13791 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13792 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13793 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13794 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13795 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13796 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13797
13798 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13799
13800 [BZ #14132]
13801 * include/libc-symbols.h (INTUSE): Remove macro.
13802 (INTDEF): Likewise.
13803 (INTVARDEF): Likewise.
13804 (_INTVARDEF): Likewise.
13805 (INTDEF2): Likewise.
13806 (INTVARDEF2): Likewise.
13807 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13808 rtld_hidden_def instead of INTVARDEF.
13809 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13810 (_dl_starting_up_internal): Remove declaration.
13811 (_dl_starting_up): Use rtld_hidden_proto.
13812 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13813 declaration.
13814 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13815 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13816 _dl_starting_up.
13817 * elf/dl-writev.h (_dl_writev): Likewise.
13818 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13819 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13820 _dl_starting_up_internal.
13821
13822 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13823
13824 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13825 test-skeleton.c.
13826
13827 2014-11-05 Will Newton <will.newton@linaro.org>
13828
13829 * benchtests/Makefile: (bench-malloc): Add malloc thread
13830 scalability benchmark.
13831 * benchtests/bench-malloc-threads.c: New file.
13832
13833 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13834
13835 * sysdeps/aarch64/strchrnul.S: New file.
13836
13837 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13838
13839 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13840 definition.
13841 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13842 Likwise.
13843 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13844 Likewise.
13845 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13846 Likewise.
13847 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13848 Likewise.
13849 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13850 Likewise.
13851
13852 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13853
13854 * catgets/test-gencat.c: Use test-skeleton.c.
13855 * catgets/tst-catgets.c: Likewise.
13856 * csu/tst-empty.c: Likewise.
13857 * elf/tst-audit2.c: Likewise.
13858 * elf/tst-global1.c: Likewise.
13859 * elf/tst-pathopt.c: Likewise.
13860 * elf/tst-piemod1.c: Likewise.
13861 * elf/tst-tls10.c: Likewise.
13862 * elf/tst-tls11.c: Likewise.
13863 * elf/tst-tls12.c: Likewise.
13864 * gnulib/tst-gcc.c: Likewise.
13865 * iconvdata/tst-e2big.c: Likewise.
13866 * iconvdata/tst-loading.c: Likewise.
13867 * iconv/tst-iconv1.c: Likewise.
13868 * iconv/tst-iconv2.c: Likewise.
13869 * inet/test-inet6_opt.c: Likewise.
13870 * inet/tst-gethnm.c: Likewise.
13871 * inet/tst-network.c: Likewise.
13872 * inet/tst-ntoa.c: Likewise.
13873 * intl/tst-codeset.c: Likewise.
13874 * intl/tst-gettext2.c: Likewise.
13875 * intl/tst-gettext3.c: Likewise.
13876 * intl/tst-ngettext.c: Likewise.
13877 * intl/tst-translit.c: Likewise.
13878 * io/test-stat.c: Likewise.
13879 * libio/test-fmemopen.c: Likewise.
13880 * libio/tst-freopen.c: Likewise.
13881 * libio/tst-sscanf.c: Likewise.
13882 * libio/tst-ungetwc1.c: Likewise.
13883 * libio/tst-ungetwc2.c: Likewise.
13884 * libio/tst-widetext.c: Likewise.
13885 * localedata/tst-ctype.c: Likewise.
13886 * localedata/tst-digits.c: Likewise.
13887 * localedata/tst-leaks.c: Likewise.
13888 * localedata/tst-mbswcs1.c: Likewise.
13889 * localedata/tst-mbswcs2.c: Likewise.
13890 * localedata/tst-mbswcs3.c: Likewise.
13891 * localedata/tst-mbswcs4.c: Likewise.
13892 * localedata/tst-mbswcs5.c: Likewise.
13893 * localedata/tst-setlocale.c: Likewise.
13894 * localedata/tst-trans.c: Likewise.
13895 * localedata/tst-wctype.c: Likewise.
13896 * localedata/tst-xlocale1.c: Likewise.
13897 * login/tst-grantpt.c: Likewise.
13898 * malloc/tst-calloc.c: Likewise.
13899 * malloc/tst-malloc.c: Likewise.
13900 * malloc/tst-mallocstate.c: Likewise.
13901 * malloc/tst-mcheck.c: Likewise.
13902 * malloc/tst-mtrace.c: Likewise.
13903 * malloc/tst-obstack.c: Likewise.
13904 * math/atest-exp2.c: Likewise.
13905 * math/atest-exp.c: Likewise.
13906 * math/atest-sincos.c: Likewise.
13907 * math/test-matherr.c: Likewise.
13908 * math/test-misc.c: Likewise.
13909 * math/test-powl.c: Likewise.
13910 * math/tst-definitions.c: Likewise.
13911 * misc/tst-dirname.c: Likewise.
13912 * misc/tst-efgcvt.c: Likewise.
13913 * misc/tst-fdset.c: Likewise.
13914 * misc/tst-hsearch.c: Likewise.
13915 * misc/tst-mntent2.c: Likewise.
13916 * nptl/tst-sem7.c: Likewise.
13917 * nptl/tst-sem8.c: Likewise.
13918 * nptl/tst-sem9.c: Likewise.
13919 * nss/test-netdb.c: Likewise.
13920 * posix/tst-fnmatch.c: Likewise.
13921 * posix/tst-getlogin.c: Likewise.
13922 * posix/tst-gnuglob.c: Likewise.
13923 * posix/tst-mmap.c: Likewise.
13924 * pwd/tst-getpw.c: Likewise.
13925 * resolv/tst-inet_ntop.c: Likewise.
13926 * rt/tst-timer.c: Likewise.
13927 * stdio-common/test-fseek.c: Likewise.
13928 * stdio-common/test-popen.c: Likewise.
13929 * stdio-common/test-vfprintf.c: Likewise.
13930 * stdio-common/tst-cookie.c: Likewise.
13931 * stdio-common/tst-fileno.c: Likewise.
13932 * stdio-common/tst-gets.c: Likewise.
13933 * stdio-common/tst-obprintf.c: Likewise.
13934 * stdio-common/tst-perror.c: Likewise.
13935 * stdio-common/tst-sprintf2.c: Likewise.
13936 * stdio-common/tst-sprintf3.c: Likewise.
13937 * stdio-common/tst-sprintf.c: Likewise.
13938 * stdio-common/tst-swprintf.c: Likewise.
13939 * stdio-common/tst-tmpnam.c: Likewise.
13940 * stdio-common/tst-unbputc.c: Likewise.
13941 * stdio-common/tst-wc-printf.c: Likewise.
13942 * stdlib/tst-environ.c: Likewise.
13943 * stdlib/tst-fmtmsg.c: Likewise.
13944 * stdlib/tst-limits.c: Likewise.
13945 * stdlib/tst-rand48-2.c: Likewise.
13946 * stdlib/tst-rand48.c: Likewise.
13947 * stdlib/tst-random2.c: Likewise.
13948 * stdlib/tst-random.c: Likewise.
13949 * stdlib/tst-strtol.c: Likewise.
13950 * stdlib/tst-strtoll.c: Likewise.
13951 * stdlib/tst-tls-atexit.c: Likewise.
13952 * stdlib/tst-xpg-basename.c: Likewise.
13953 * string/test-ffs.c: Likewise.
13954 * string/tst-bswap.c: Likewise.
13955 * string/tst-inlcall.c: Likewise.
13956 * string/tst-strtok.c: Likewise.
13957 * string/tst-strxfrm.c: Likewise.
13958 * sysdeps/x86_64/tst-audit10.c: Likewise.
13959 * sysdeps/x86_64/tst-audit3.c: Likewise.
13960 * sysdeps/x86_64/tst-audit4.c: Likewise.
13961 * sysdeps/x86_64/tst-audit5.c: Likewise.
13962 * time/tst-ftime_l.c: Likewise.
13963 * time/tst-getdate.c: Likewise.
13964 * time/tst-mktime3.c: Likewise.
13965 * time/tst-mktime.c: Likewise.
13966 * time/tst-posixtz.c: Likewise.
13967 * time/tst-strptime2.c: Likewise.
13968 * time/tst-strptime3.c: Likewise.
13969 * wcsmbs/tst-btowc.c: Likewise.
13970 * wcsmbs/tst-mbrtowc.c: Likewise.
13971 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13972 * wcsmbs/tst-wchar-h.c: Likewise.
13973 * wcsmbs/tst-wcpncpy.c: Likewise.
13974 * wcsmbs/tst-wcrtomb.c: Likewise.
13975 * wcsmbs/tst-wcsnlen.c: Likewise.
13976 * wcsmbs/tst-wcstof.c: Likewise.
13977
13978 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13979
13980 [BZ #14132]
13981 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13982 INTDEF.
13983 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13984 declaration.
13985 (_dl_mcount): Use rtld_hidden_proto.
13986 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13987 _dl_mcount.
13988 * elf/rtld.c (_rtld_global_ro): Likewise.
13989
13990 [BZ #14132]
13991 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13992 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13993 of _dl_init_internal.
13994 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13995 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13996 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13997 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13998 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13999 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14000 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14001 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14002 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14003 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14004 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14005 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14006 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14007 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14008 * sysdeps/tile/dl-start.S (_start): Likewise.
14009 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14010 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14011
14012 [BZ #14132]
14013 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14014 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14015 (rtld_progname): Make macro definition unconditional.
14016 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14017 INTDEF.
14018 (dlmopen_doit): Do not use INTUSE with _dl_argv.
14019 (dl_main): Likewise.
14020 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14021 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14022 instead of _dl_argv_internal.
14023 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14024 __GI__dl_argv instead of INTUSE(_dl_argv).
14025 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14026 __GI__dl_argv instead of _dl_argv_internal.
14027
14028 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14029 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14030 macro.
14031 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14032 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14033 New macro.
14034 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14035 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14036 macro.
14037 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14038 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14039
14040 2014-11-04 Andreas Schwab <schwab@suse.de>
14041
14042 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14043
14044 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14045
14046 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14047 mtvsrd instruction in binary form.
14048
14049 2014-11-03 Andreas Schwab <schwab@suse.de>
14050
14051 [BZ #17522]
14052 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14053 for less than MB_LEN_MAX use a local buffer of that size.
14054 * libio/tst-fputws.c: New file.
14055 * libio/Makefile (tests): Add tst-fputws.
14056
14057 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14058
14059 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14060 the size of the fpu_fr.fpu_dregs[] array.
14061
14062 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14063
14064 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14065 (__nanosleep): Do not define as alias.
14066 (nanosleep): Define as alias of __nanosleep.
14067 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14068 __libc_nanosleep name.
14069
14070 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14071
14072 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14073 install.texi in comment.
14074
14075 2014-10-31 Torvald Riegel <triegel@redhat.com>
14076
14077 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14078 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14079 ... add here and use lwsync or sync ...
14080 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14081 ... and add here using lwsync.
14082
14083 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14084
14085 * elf/dl-machine-reject-phdr.h: New file.
14086 * elf/dl-load.c: #include that.
14087 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14088 if that returned true.
14089
14090 2014-10-31 Roland McGrath <roland@hack.frob.com>
14091
14092 [BZ #17496]
14093 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14094 gen-as-const-headers chunk. Add a big scare comment after the last
14095 safe place to touch before-compile.
14096
14097 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14098
14099 * manual/install.texi (Tools for Compilation): Update autoconf
14100 version requirements.
14101 * INSTALL: Regenerated.
14102
14103 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14104 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14105 (__libc_pselect): Likewise.
14106
14107 [BZ #14138]
14108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14112
14113 2014-10-31 Torvald Riegel <triegel@redhat.com>
14114
14115 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14116 correct barrier instruction.
14117 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14118 Likewise.
14119 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14120 Likewise.
14121
14122 2014-10-30 Roland McGrath <roland@hack.frob.com>
14123
14124 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14125 after defining inlines. Instead, just use parens to defeat macro
14126 expansion of __isctype in its declaration.
14127
14128 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14129
14130 * include/sys/uio.h (__libc_readv): Remove declaration.
14131 (__libc_writev): Likewise.
14132 * misc/readv.c (__libc_readv): Rename to __readv.
14133 (__readv): Do not define as alias.
14134 (readv): Define as alias of __readv.
14135 * misc/writev.c (__libc_writev): Rename to __writev.
14136 (__writev): Do not define as alias.
14137 (writev): Define as alias of __writev.
14138 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14139 (__readv): Do not define as alias.
14140 (readv): Define unconditionally as alias of __readv.
14141 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14142 (__writev): Do not define as alias.
14143 (writev): Define unconditionally as alias of __writev.
14144 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14145 name.
14146 (writev): Do not define __libc_writev name.
14147
14148 2014-10-30 Roland McGrath <roland@hack.frob.com>
14149
14150 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14151 (convert_charseq): New function, broken out of ...
14152 (use_from_charmap): ... here. Call it.
14153 (use_to_charmap): Use convert_charseq and free instead of duplicating
14154 its code with a variable-length stack struct.
14155
14156 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14157
14158 * include/fcntl.h (__libc_creat): Remove declaration.
14159 * io/creat.c (__libc_creat): Rename to creat.
14160 (creat): Do not define as alias.
14161 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14162 of creat instead of __libc_creat.
14163 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14164 to creat.
14165 (creat): Do not define as alias.
14166 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14167 __libc_creat.
14168 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14169 __libc_creat name.
14170 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14171 Likewise.
14172
14173 2014-10-29 Carlos O'Donell <carlos@redhat.com>
14174
14175 * manual/llio.texi: Add comments discussing why write() may be
14176 considered MT-unsafe on Linux.
14177
14178 2014-10-28 Carlos O'Donell <carlos@redhat.com>
14179
14180 * dl-load.c (local_strdup): Remove.
14181 (expand_dynamic_string_token): Use __strdup.
14182 (decompose_rpath): Likewise.
14183 (_dl_map_object): Likewise.
14184
14185 2014-10-28 Joseph Myers <joseph@codesourcery.com>
14186
14187 [BZ #14132]
14188 * sysdeps/generic/unwind-dw2-fde.c
14189 (__register_frame_info_bases_internal): Do not declare.
14190 (__register_frame_info_table_bases_internal): Likewise.
14191 (__deregister_frame_info_bases_internal): Likewise.
14192 (__register_frame_info_bases): Declare and use hidden_proto before
14193 definition. Use hidden_def instead of INTDEF.
14194 (__register_frame_info_table_bases): Likewise.
14195 (__deregister_frame_info_bases): Likewise.
14196 (__register_frame_info): Do not use INTUSE.
14197 (__register_frame): Likewise.
14198 (__register_frame_info_table): Likewise.
14199 (__register_frame_table): Likewise.
14200 (__deregister_frame_info): Likewise.
14201 (__deregister_frame): Likewise.
14202
14203 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
14204
14205 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14206 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14207 not undefine.
14208 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14209 Likewise.
14210 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14211 Likewise.
14212
14213 2014-10-27 Joseph Myers <joseph@codesourcery.com>
14214
14215 [BZ #14138]
14216 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14217 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14218 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14219 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14220 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14221 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14222 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14223 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14224 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14225 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14226 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14227 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14228 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14229 syscall.
14230 (setfsuid): Likewise.
14231 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14232 (setfsuid): Likewise.
14233 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14234 (setfsuid): Likewise.
14235 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14236 Likewise.
14237 (setfsuid): Likewise.
14238 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14239 (setfsuid): Likewise.
14240 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14241 Likewise.
14242 (setfsuid): Likewise.
14243
14244 2014-10-27 Andreas Schwab <schwab@suse.de>
14245
14246 [BZ #17501]
14247 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14248 check for Slow_SSE4_2 feature bit.
14249 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14250 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14251 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14252 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14253
14254 2014-10-24 Roland McGrath <roland@hack.frob.com>
14255
14256 * configure.ac: Validate compiler version with a empirical test of
14257 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14258 $CC -v output.
14259 * configure: Regenerated.
14260
14261 * inet/htons.c (htons): Prototypify.
14262 * inet/htonl.c (htonl): Likewise.
14263
14264 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14265
14266 * string/strncat.c (strncat): Improve performance by using strlen.
14267
14268 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14269
14270 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14271
14272 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14273
14274 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14275 Call libc_fetestexcept_aarch64.
14276
14277 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14278
14279 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14280 Call libc_feholdexcept_aarch64.
14281
14282 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14283
14284 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14285 Call get_rounding_mode.
14286
14287 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14288
14289 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14290 Simplify logic.
14291
14292 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14293
14294 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14295 Simplify logic.
14296
14297 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14298
14299 [BZ #14138]
14300 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14301 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14302 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14303 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14304 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14305 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14306 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14307 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14308 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14309 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14310 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14311 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14312 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14313 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14314 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14315 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14316 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14317 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14318 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14319 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14320 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14321 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14322 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14323 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14324 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14325 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14326 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14327 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14328 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14329 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14330 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14331 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14332 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14333 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14334 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14335 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14336 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14337 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14338 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14339 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14340 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14341 syscall.
14342 (geteuid): Likewise.
14343 (getgid): Likewise.
14344 (getuid): Likewise.
14345 (getresgid): Likewise.
14346 (getresuid): Likewise.
14347 (getgroups): Likewise.
14348 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14349 (geteuid): Likewise.
14350 (getgid): Likewise.
14351 (getuid): Likewise.
14352 (getresgid): Likewise.
14353 (getresuid): Likewise.
14354 (getgroups): Likewise.
14355 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14356 (geteuid): Likewise.
14357 (getgid): Likewise.
14358 (getuid): Likewise.
14359 (getresgid): Likewise.
14360 (getresuid): Likewise.
14361 (getgroups): Likewise.
14362 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14363 Likewise.
14364 (geteuid): Likewise.
14365 (getgid): Likewise.
14366 (getuid): Likewise.
14367 (getresgid): Likewise.
14368 (getresuid): Likewise.
14369 (getgroups): Likewise.
14370 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14371 (geteuid): Likewise.
14372 (getgid): Likewise.
14373 (getuid): Likewise.
14374 (getresgid): Likewise.
14375 (getresuid): Likewise.
14376 (getgroups): Likewise.
14377 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14378 Likewise.
14379 (geteuid): Likewise.
14380 (getgid): Likewise.
14381 (getuid): Likewise.
14382 (getgroups): Likewise.
14383
14384 [BZ #14138]
14385 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14386 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14387 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14388 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14389 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14390 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14391 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14392 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14393 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14394 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14395 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14396 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14397 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14398 __chown.
14399 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14400 (lchown): Likewise.
14401 (fchown): Likewise.
14402 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14403 Likewise.
14404 (lchown): Likewise.
14405 (fchown): Likewise.
14406 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14407 (lchown): Likewise.
14408 (fchown): Likewise.
14409 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14410 Likewise.
14411 (lchown): Likewise.
14412 (fchown): Likewise.
14413
14414 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14415
14416 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14417 Simplify logic.
14418
14419 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14420
14421 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14422 Cleanup logic.
14423
14424 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14425
14426 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14427 Remove unused include.
14428
14429 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14430
14431 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14432 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14433 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14434 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14435
14436 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14437 Helge Deller <deller@gmx.de>
14438
14439 [BZ #17508]
14440 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14441 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14442 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14443
14444 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14445
14446 [BZ #14132]
14447 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14448 Remove macro definition.
14449 (__ashrdi3_v_glibc20): Likewise.
14450 (__lshrdi3_v_glibc20): Likewise.
14451 (__cmpdi2_v_glibc20): Likewise.
14452 (__ucmpdi2_v_glibc20): Likewise.
14453 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14454 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14455 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14456 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14457 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14458 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14459
14460 2014-10-22 Roland McGrath <roland@hack.frob.com>
14461
14462 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14463 old GNU extension [0] syntax.
14464 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14465 alloca rather than an array member with variable length.
14466 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14467 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14468 (parse_opt): ... here. Likewise use alloca there.
14469 Validate the -i argument before checking for rootness.
14470 (send_shutdown): New function, broken out of ...
14471 (parse_opt): ... here.
14472
14473 2014-10-22 Roland McGrath <roland@hack.frob.com>
14474
14475 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14476 macro to get at the _rt_local_ro field.
14477 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14478 ([PIC] case) or _dl_hwcap ([!PIC] case).
14479 * sysdeps/arm/setjmp.S: Likewise.
14480
14481 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14482 * sysdeps/arm/configure.ac: New check to define it.
14483 * sysdeps/arm/configure: Regenerated.
14484 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14485 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14486 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14487 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14488 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14489 Use move/movt pair instead of a load.
14490 (LDST_GLOBAL): Macro removed.
14491 (LDR_GLOBAL): New macro replaces it.
14492 (LDR_HIDDEN): New macro.
14493 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14494 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14495
14496 * setjmp/tst-setjmp-static.c: New file.
14497 * setjmp/Makefile (tests): Add it.
14498 (tests-static): New variable.
14499
14500 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14501
14502 [BZ #17485]
14503 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14504
14505 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14506
14507 [BZ #14132]
14508 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14509
14510 2014-10-21 Roland McGrath <roland@hack.frob.com>
14511
14512 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14513
14514 2014-10-20 Roland McGrath <roland@hack.frob.com>
14515
14516 * io/fts.c (dirent_not_directory): New function.
14517 (fts_build): Call it.
14518
14519 2014-10-20 Roland McGrath <roland@hack.frob.com>
14520
14521 * nptl/version.c (__nptl_main): Use normal __write rather than
14522 INTERNAL_SYSCALL.
14523 (banner): Update copyright years.
14524
14525 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14526 gettimeofday.
14527 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14528 * nptl/pthread_cond_timedwait.c: Likewise.
14529 * nptl/pthread_mutex_timedlock.c: Likewise.
14530 * nptl/sem_timedwait.c: Likewise.
14531
14532 * sysdeps/nptl/bits/libc-lock.h
14533 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14534 (__libc_lock_init_recursive): Return void, not 0.
14535 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14536 (__libc_rwlock_init): Likewise.
14537 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14538
14539 2014-10-20 Torvald Riegel <triegel@redhat.com>
14540
14541 [BZ #15215]
14542 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14543 (__pthread_once_slow): ... here.
14544 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14545 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14546
14547 2014-10-20 Torvald Riegel <triegel@redhat.com>
14548
14549 [BZ #15215]
14550 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14551 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14552 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14553 * nptl/pthread_once.c (__pthread_once): Likewise.
14554 Update comments.
14555
14556 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14557
14558 [BZ #14138]
14559 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14560 name.
14561 (writev): Use __libc_writev as strong name.
14562 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14563 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14564
14565 2014-10-17 Roland McGrath <roland@hack.frob.com>
14566
14567 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14568
14569 * sysdeps/i386/nptl/tls.h
14570 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14571 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14572 New macros.
14573 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14574 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14575 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14576 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14577 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14578 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14579
14580 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14581 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14582 on [__NR_futex].
14583 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14584 broken out of ...
14585 (__pthread_mutex_init): ... here. Call it.
14586 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14587 Conditionalize PI cases on [__NR_futex].
14588 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14589 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14590 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14591
14592 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14593 conditional on [SIGSETXID].
14594 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14595 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14596 is defined. Likewise for SIGSETXID.
14597 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14598 Conditionalize definitions on [SIGSETXID].
14599 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14600 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14601 unblocking on [SIGCANCEL].
14602
14603 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14604 [__NR_set_robust_list].
14605
14606 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14607
14608 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14609 (do_compare): Likewise.
14610
14611 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14612
14613 [BZ #15884]
14614 * string/strcoll_l.c: Don't include stdio.h.
14615 (coll_seq): Remove members idxarr and rulearr.
14616 (get_next_seq_cached): Remove function.
14617 (get_next_seq): Likewise.
14618 (get_next_seq_nocache): Rename to get_next_seq.
14619 (do_compare): Remove function.
14620 (do_compare_nocache): Rename to do_compare.
14621 (STRCOLL): Remove weight and rules cache.
14622
14623 2014-10-16 Roland McGrath <roland@hack.frob.com>
14624
14625 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14626 * sysdeps/arm/sfp-machine.h: ... to here.
14627 * sysdeps/arm/Implies: Remove arm/soft-fp.
14628
14629 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14630
14631 * conform/data/sys/utsname.h-data (*_t): Allow.
14632 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14633 [POSIX] (WEXITED): Do not expect constant.
14634 [POSIX] (WSTOPPED): Likewise.
14635 [POSIX] (WNOHANG): Likewise.
14636 [POSIX] (WNOWAIT): Likewise.
14637 [POSIX] (siginfo_t): Do not expect type or elements.
14638 [POSIX] (pid_t): Do not expect type.
14639 [POSIX] (signal.h): Do not allow header.
14640 [POSIX] (sys/resource.h): Likewise.
14641 [POSIX] (si_*): Do not allow pattern.
14642 [POSIX] (W*): Likewise.
14643 [POSIX] (P_*): Likewise.
14644 [POSIX] (BUS_*): Likewise.
14645 [POSIX] (CLD_*): Likewise.
14646 [POSIX] (FPE_*): Likewise.
14647 [POSIX] (ILL_*): Likewise.
14648 [POSIX] (POLL_*): Likewise.
14649 [POSIX] (SEGV_*): Likewise.
14650 [POSIX] (SI_*): Likewise.
14651 [POSIX] (TRAP_*): Likewise.
14652 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14653 variable.
14654
14655 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14656
14657 [BZ #12926]
14658 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14659 infinite loop when __recvmsg returns 0.
14660
14661 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14662
14663 * CANCEL-FCT-WAIVE: Remove file.
14664 * CANCEL-FILE-WAIVE: Likewise.
14665
14666 [BZ #14132]
14667 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14668 instead of INTVARDEF.
14669 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14670 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14671 rtld_hidden_data_def instead of INTVARDEF.
14672 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14673 * elf/dl-deps.c (expand_dst): Likewise.
14674 * elf/dl-load.c (_dl_dst_count): Likewise.
14675 (_dl_dst_substitute): Likewise.
14676 (decompose_rpath): Likewise.
14677 (_dl_init_paths): Likewise.
14678 (open_path): Likewise.
14679 (_dl_map_object): Likewise.
14680 * elf/rtld.c (dl_main): Likewise.
14681 (process_dl_audit): Likewise.
14682 (process_envvars): Likewise.
14683 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14684 Remove declaration.
14685 (__libc_enable_secure): Use rtld_hidden_proto.
14686
14687 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14688
14689 * elf/dl-load.c
14690 (add_path): New function broken out of _dl_rtld_di_serinfo.
14691 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14692
14693 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14694
14695 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14696 parentheses around macro arguments.
14697 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14698 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14699 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14700 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14701 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14702 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14703 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14704 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14705 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14706 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14707 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14708 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14709 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14710 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14711 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14712 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14713 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14714 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14715 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14716 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14717 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14718 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14719 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14720 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14721 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14722 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14723 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14724 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14725 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14726 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14727 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14728 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14729 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14730 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14731 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14732 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14733 Likewise.
14734 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14735 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14736 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14737 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14738 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14739 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14740 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14741 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14742 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14743 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14744 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14745 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14746 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14747 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14748 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14749 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14750 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14751 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14752 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14753 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14754 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14755 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14756 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14757 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14758 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14759 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14760 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14761 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14762 (_FP_FRAC_SRS_1): Likewise.
14763 (_FP_FRAC_CLZ_1): Likewise.
14764 (_FP_MUL_MEAT_1_imm): Likewise.
14765 (_FP_MUL_MEAT_1_wide): Likewise.
14766 (_FP_MUL_MEAT_1_hard): Likewise.
14767 (_FP_SQRT_MEAT_1): Likewise.
14768 (_FP_FRAC_ASSEMBLE_1): Likewise.
14769 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14770 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14771 (__FP_CLZ_2): Likewise.
14772 (_FP_MUL_MEAT_2_wide): Likewise.
14773 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14774 (_FP_MUL_MEAT_2_gmp): Likewise.
14775 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14776 (_FP_SQRT_MEAT_2): Likewise.
14777 (_FP_FRAC_ASSEMBLE_2): Likewise.
14778 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14779 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14780 (_FP_FRAC_CLZ_4): Likewise.
14781 (_FP_MUL_MEAT_4_wide): Likewise.
14782 (_FP_MUL_MEAT_4_gmp): Likewise.
14783 (_FP_SQRT_MEAT_4): Likewise.
14784 (_FP_FRAC_ASSEMBLE_4): Likewise.
14785 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14786 * soft-fp/op-common.h (_FP_CMP): Likewise.
14787 (_FP_CMP_EQ): Likewise.
14788 (_FP_CMP_UNORD): Likewise.
14789 (_FP_TO_INT): Likewise.
14790 (_FP_FROM_INT): Likewise.
14791 [!__FP_CLZ] (__FP_CLZ): Likewise.
14792 (_FP_DIV_HELP_imm): Likewise.
14793 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14794 Likewise.
14795 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14796 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14797 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14798 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14799 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14800 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14801 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14802 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14803 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14804 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14805 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14806 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14807 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14808 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14809 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14810 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14811 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14812 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14813 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14814 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14815 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14816 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14817 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14818 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14819 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14820 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14821 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14822 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14823 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14824 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14825 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14826 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14827 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14828 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14829 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14830 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14831 (FP_UNPACK_RAW_SP): Likewise.
14832 (FP_PACK_RAW_S): Likewise.
14833 (FP_PACK_RAW_SP): Likewise.
14834 (FP_UNPACK_S): Likewise.
14835 (FP_UNPACK_SP): Likewise.
14836 (FP_UNPACK_SEMIRAW_S): Likewise.
14837 (FP_UNPACK_SEMIRAW_SP): Likewise.
14838 (FP_PACK_S): Likewise.
14839 (FP_PACK_SP): Likewise.
14840 (FP_PACK_SEMIRAW_S): Likewise.
14841 (FP_PACK_SEMIRAW_SP): Likewise.
14842 (_FP_SQRT_MEAT_S): Likewise.
14843 (FP_CMP_S): Likewise.
14844 (FP_CMP_EQ_S): Likewise.
14845 (FP_CMP_UNORD_S): Likewise.
14846 (FP_TO_INT_S): Likewise.
14847 (FP_FROM_INT_S): Likewise.
14848
14849 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14850
14851 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14852 (FP_EX_INVALID_IMZ): Likewise.
14853 (FP_EX_INVALID_IMZ_FMA): Likewise.
14854 (FP_EX_INVALID_ISI): Likewise.
14855 (FP_EX_INVALID_ZDZ): Likewise.
14856 (FP_EX_INVALID_IDI): Likewise.
14857 (FP_EX_INVALID_SQRT): Likewise.
14858 (FP_EX_INVALID_CVI): Likewise.
14859 (FP_EX_INVALID_VC): Likewise.
14860 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14861 "invalid" exceptions.
14862 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14863 (_FP_ADD_INTERNAL): Likewise.
14864 (_FP_MUL): Likewise.
14865 (_FP_FMA): Likewise.
14866 (_FP_DIV): Likewise.
14867 (_FP_CMP_CHECK_NAN): Likewise.
14868 (_FP_SQRT): Likewise.
14869 (_FP_TO_INT): Likewise.
14870 (FP_EXTEND): Likewise.
14871
14872 2014-10-09 Allan McRae <allan@archlinux.org>
14873
14874 * po/fr.po: Update French translation from translation project.
14875
14876 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14877
14878 [BZ #14132]
14879 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14880 of INTDEF.
14881 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14882 (__cxa_atexit): Use libc_hidden_proto.
14883 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14884
14885 [BZ #14132]
14886 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14887 declaration.
14888 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14889 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14890 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14891 [!_ISOMAC] (__iswctype_internal): Likewise.
14892 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14893 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14894 alias.
14895 (fcntl): Remove __fcntl_internal alias.
14896 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14897 __connect_internal alias.
14898 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14899 Likewise.
14900
14901 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14902 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14903 FP_DENORM_ZERO.
14904 (_FP_CHECK_FLUSH_ZERO): New macro.
14905 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14906 (_FP_CMP): Likewise.
14907 (_FP_CMP_EQ): Likewise.
14908 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14909 FP_DENORM_ZERO.
14910 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14911 (FP_TRUNC): Likewise.
14912
14913 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14914 treated as invalid conversion, not as normal exponent.
14915
14916 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14917 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14918 (_FP_CMP_EQ): Likewise.
14919 (_FP_CMP_UNORD): Likewise.
14920 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14921 (FP_CMP_EQ_D): Likewise.
14922 (FP_CMP_UNORD_D): Likewise.
14923 * soft-fp/extended.h (FP_CMP_E): Likewise.
14924 (FP_CMP_EQ_E): Likewise.
14925 (FP_CMP_UNORD_E): Likewise.
14926 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14927 (FP_CMP_EQ_Q): Likewise.
14928 (FP_CMP_UNORD_Q): Likewise.
14929 * soft-fp/single.h (FP_CMP_S): Likewise.
14930 (FP_CMP_EQ_S): Likewise.
14931 (FP_CMP_UNORD_S): Likewise.
14932 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14933 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14934 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14935 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14936 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14937 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14938 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14939 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14940 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14941 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14942 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14943 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14944 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14945 to FP_CMP_Q.
14946 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14947 FP_CMP_Q.
14948 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14949 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14950 FP_CMP_EQ_Q.
14951 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14952 FP_CMP_Q.
14953 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14954 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14955 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14956 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14957 FP_CMP_EQ_Q.
14958 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14959 FP_CMP_Q.
14960 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14961 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14962 FP_CMP_EQ_Q.
14963 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14964 FP_CMP_Q.
14965 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14966 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14967 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14968 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14969 FP_CMP_EQ_Q.
14970
14971 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14972 a subnormal result, set the underflow exception if trapping on
14973 underflow is enabled.
14974 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14975 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14976 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14977 redefine to 0.
14978 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14979 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14980 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14981 * soft-fp/extendxftf2.c (__extendxftf2): Use
14982 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14983
14984 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14985 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14986 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14987 FP_HANDLE_EXCEPTIONS.
14988 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14989 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14990 FP_HANDLE_EXCEPTIONS.
14991 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14992 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14993 FP_HANDLE_EXCEPTIONS.
14994 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14995 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14996 FP_HANDLE_EXCEPTIONS.
14997
14998 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14999
15000 [BZ #14132]
15001 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15002 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15003 use INTUSE.
15004 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15005 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15006 Remove alias.
15007 (__adjtimex): Define using libc_hidden_ver.
15008 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15009 Remove declaration.
15010 (ntp_gettime): Call __adjtimex directly.
15011 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15012 Remove declaration.
15013 (ntp_gettimex): Call __adjtimex directly.
15014 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15015 __adjtimex_internal alias.
15016
15017 2014-10-08 Roland McGrath <roland@hack.frob.com>
15018
15019 [BZ #17460]
15020 * nscd/nscd.c (more_help): Rewrite list of tables collection
15021 using xstrdup and asprintf.
15022
15023 * nscd/nscd_conf.c: Remove local xstrdup declaration.
15024
15025 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15026 Roland McGrath <roland@hack.frob.com>
15027
15028 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15029 (do_lookup_unique): ... local function 'enter' here; update callers.
15030
15031 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15032
15033 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15034 compat_symbol calls on [SHARED].
15035 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15036 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15037 Remove.
15038 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15039 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15040 (oldsetrlimit): Remove.
15041 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15043 (lchown): New syscall entry.
15044 (oldsetrlimit): Remove.
15045 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15046 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15047 (oldsetrlimit): Remove.
15048 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15049
15050 [BZ #14138]
15051 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15052 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15053 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15054 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15055 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15056 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15057 (fchown): Likewise.
15058 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15059 (fchown): Likewise.
15060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15061 Likewise.
15062
15063 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15064
15065 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15066 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15067 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15068 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15069 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15070 Likewise.
15071 (__old_sem_post): Likewise.
15072
15073 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15074
15075 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15076 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15077 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15078 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15079 Use INLINE_VSYSCALL macro.
15080 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15081 __vdso_clock_gettime.
15082 * sysdeps/unix/sysv/linux/tile/init-first.c
15083 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15084 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15085 __vdso_clock_gettime.
15086
15087 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15088 to set up frame more cleanly.
15089
15090 * sysdeps/tile/memcmp.c: New file.
15091
15092 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15093
15094 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15095 * sysdeps/tile/tilegx/strcasestr.c: New file.
15096 * sysdeps/tile/tilegx/strnlen.c: New file.
15097 * sysdeps/tile/tilegx/strstr.c: New file.
15098
15099 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15100
15101 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15102
15103 * nptl/tst-setuid3.c: Write errors to stdout.
15104
15105 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15106
15107 * elf/dl-deps.c
15108 (preload): New functions broken out of _dl_map_object_deps.
15109 (_dl_map_object_deps): Remove a nested function. Update call sites.
15110
15111 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15112
15113 [BZ #14138]
15114 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15115 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15116
15117 2014-10-01 Steve Ellcey <sellcey@mips.com>
15118
15119 * sysdeps/mips/strcmp.S: New.
15120
15121 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15122
15123 [BZ #14138]
15124 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15125 (linkat): Likewise.
15126 (mkdirat): Likewise.
15127 (readlinkat): Likewise.
15128 (renameat): Likewise.
15129 (symlinkat): Likewise.
15130 (unlinkat): Likewise.
15131 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15132 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15133 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15134 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15135 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15136 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15137 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15138
15139 2014-09-30 Will Newton <will.newton@linaro.org>
15140
15141 * math/math.h: Define long double math functions if
15142 _LIBC_TEST is defined.
15143 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15144
15145 * localedata/Makefile: Move assignment to tests-special
15146 into an ifdef testing run-built-tests.
15147 * timezone/Makefile: Likewise.
15148
15149 2014-09-29 Joseph Myers <joseph@codesourcery.com>
15150
15151 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15152 with $(BASH) not $(SHELL).
15153
15154 2014-09-29 Carlos O'Donell <carlos@redhat.com>
15155 Matthew LeGendre <legendre1@llnl.gov>
15156
15157 [BZ #17411]
15158 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15159 l_reloc_result.
15160
15161 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15162
15163 * stdio-common/printf_fp.c
15164 (hack_digit): New function, broken out of ...
15165 (__printf_fp): ... local function here. Update call sites.
15166 hack_digit now takes an additional parameter that is a pointer
15167 to a struct of the referenced locals. Those locals moved inside
15168 the struct and references updated.
15169
15170 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
15171
15172 * aclocal.m4: Require autoconf 2.69.
15173 * configure: Regenerated.
15174 * sysdeps/aarch64/configure: Likewise.
15175 * sysdeps/alpha/configure: Likewise.
15176 * sysdeps/arm/armv7/configure: Likewise.
15177 * sysdeps/arm/configure: Likewise.
15178 * sysdeps/ia64/configure: Likewise.
15179 * sysdeps/mach/configure: Likewise.
15180 * sysdeps/mips/configure: Likewise.
15181 * sysdeps/s390/configure: Likewise.
15182 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15184
15185 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15186 file.
15187 * sysdeps/ia64/configure.ac: Likewise.
15188
15189 2014-09-26 Joseph Myers <joseph@codesourcery.com>
15190
15191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15192 specify symbol version for ld.so. Do not include entry for
15193 libpthread.
15194 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15195 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15196 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15197
15198 [BZ #14171]
15199 * Makeconfig [$(build-shared) = yes]
15200 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15201 makefiles.
15202 [$(build-shared) = yes && $(soversions.mk-done) = t]
15203 ($(common-objpfx)gnu/lib-names.h): Remove rule.
15204 [$(build-shared) = yes && $(soversions.mk-done) = t]
15205 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
15206 to Makerules.
15207 [$(build-shared) = yes && $(soversions.mk-done) = t]
15208 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15209 here.
15210 [$(build-shared) = yes && $(soversions.mk-done) = t]
15211 (common-generated): Don't append gnu/lib-names.h and
15212 gnu/lib-names.stmp here.
15213 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15214 (lib-names-h-abi): New variable.
15215 [$(build-shared) = yes && $(soversions.mk-done) = t]
15216 (lib-names-stmp-abi): Likewise.
15217 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15218 abi-variants] (before-compile): Append
15219 $(common-objpfx)$(lib-names-h-abi).
15220 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15221 abi-variants] (common-generated): Append gnu/lib-names.h.
15222 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15223 abi-variants] (install-others-nosubdir): Depend on
15224 $(inst_includedir)/$(lib-names-h-abi).
15225 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15226 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15227 [$(build-shared) = yes && $(soversions.mk-done) = t]
15228 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15229 [$(build-shared) = yes && $(soversions.mk-done) = t]
15230 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15231 [$(build-shared) = yes && $(soversions.mk-done) = t]
15232 (common-generated): Append $(lib-names-h-abi) and
15233 $(lib-names-stmp-abi).
15234 * scripts/lib-names.awk: Do not handle multi being set.
15235 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15236 Remove variable.
15237 (abi-lp64_be-ld-soname): Likewise.
15238 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15239 Likewise.
15240 (abi-hard-ld-soname): Likewise.
15241 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15242 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15243 Remove variable.
15244 (abi-o32_hard-ld-soname): Likewise.
15245 (abi-o32_soft_2008-ld-soname): Likewise.
15246 (abi-o32_hard_2008-ld-soname): Likewise.
15247 (abi-n32_soft-ld-soname): Likewise.
15248 (abi-n32_hard-ld-soname): Likewise.
15249 (abi-n32_soft_2008-ld-soname): Likewise.
15250 (abi-n32_hard_2008-ld-soname): Likewise.
15251 (abi-n64_soft-ld-soname): Likewise.
15252 (abi-n64_hard-ld-soname): Likewise.
15253 (abi-n64_soft_2008-ld-soname): Likewise.
15254 (abi-n64_hard_2008-ld-soname): Likewise.
15255 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15256 Likewise.
15257 (abi-64-v2-ld-soname): Likewise.
15258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15259 ld.so entries.
15260 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15261 variable.
15262 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15263 entry.
15264 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15265 variable.
15266 (abi-64-ld-soname): Likewise.
15267 (abi-x32-ld-soname): Likewise.
15268 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15269 entry.
15270 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15271
15272 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15273
15274 [BZ #14138]
15275 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15276 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15277 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15278 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15279 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15280 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15281 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15282 syscall entry for GLIBC_2.2 symbol version.
15283 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15284 Likewise.
15285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15286 (setrlimit): Likewise.
15287 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15288 Likewise.
15289
15290 2014-09-23 Will Newton <will.newton@linaro.org>
15291
15292 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15293 _LINUX_ARM_SYSDEP_H include guard too.
15294 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15295 define.
15296
15297 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15298
15299 * sysdeps/unix/sysv/linux/eventfd.c:
15300 Make first argument unsigned.
15301 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15302 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15303
15304 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15305
15306 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15307 * socket/sys/socket.h: Likewise
15308 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15309
15310 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15311
15312 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15313
15314 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15315
15316 * time/tst-ftime.c: New test.
15317 * time/Makefile (tests): Add tst-ftime.
15318
15319 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15320
15321 * soft-fp/extended.h: Fix comment formatting.
15322 * soft-fp/op-1.h: Likewise.
15323 * soft-fp/op-2.h: Likewise.
15324 * soft-fp/op-4.h: Likewise.
15325 * soft-fp/op-8.h: Likewise.
15326 * soft-fp/op-common.h: Likewise.
15327 * soft-fp/soft-fp.h: Likewise.
15328
15329 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15330
15331 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15332
15333 [BZ #6652]
15334 * Makeconfig (soversions-default-setname): Remove variable.
15335 ($(common-objpfx)soversions.i): Don't pass default_setname to
15336 soversions.awk.
15337 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15338 oldest_abi to abi-versions.awk.
15339 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15340 * config.make.in (oldest-abi): Remove variable.
15341 * configure.ac (--enable-oldest-abi): Remove configure option.
15342 * configure: Regenerated.
15343 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15344 text.
15345 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15346 * scripts/soversions.awk: Do not handle default_setname variable.
15347 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15348 variable.
15349 * sysdeps/mach/hurd/configure: Regenerated.
15350 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15351 variable.
15352 * sysdeps/unix/sysv/linux/configure: Regenerated.
15353
15354 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15355
15356 * elf/Makefile (CFLAGS-interp.c): Remove.
15357 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15358 path string.
15359 * elf/interp.c: Include generated runtime-linker.h
15360
15361 * Makerules (lib%.so): Don't include $(+interp) in
15362 prerequisites.
15363 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15364 * dlfcn/eval.c: Remove file.
15365
15366 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15367 macros.
15368
15369 [BZ #17266]
15370 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15371 4.2 and newer.
15372
15373 [BZ #17370]
15374 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15375
15376 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15377 Jakub Jelinek <jakub@redhat.com>
15378
15379 [BZ #17266]
15380 * libio/stdio.h: Check definition of __fortify_function
15381 instead of __extern_always_inline to include bits/stdio2.h.
15382 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15383 check if __extern_always_inline is defined.
15384 [__USE_MISC || __USE_XOPEN]: Likewise.
15385 [__USE_ISOC99] Likewise.
15386 * misc/sys/cdefs.h (__fortify_function): Define only if
15387 __extern_always_inline is defined.
15388 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15389 __extern_always_inline and __extern_inline only for g++-4.3
15390 and newer or a compatible gcc.
15391
15392 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15393
15394 [BZ #17371]
15395 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15396 last change to handle zero prefix length.
15397
15398 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15399
15400 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15401 _SC_REGEX_VERSION.
15402
15403 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15404 _POSIX_RAW_SOCKETS.
15405
15406 2014-09-13 Allan McRae <allan@archlinux.org>
15407
15408 * po/ru.po: Update Russian translation from translation project.
15409
15410 2014-09-12 Roland McGrath <roland@hack.frob.com>
15411
15412 * locale/programs/locale.c (show_locale_vars): Inline local function
15413 into its sole call site. Clean up some style nits.
15414 (print_item): New function, broken out of ...
15415 (show_info): ... local function here. Clean up style nits.
15416
15417 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15418 out of ...
15419 (set_class_defaults): ... local function set_default here.
15420 Define set_default as a macro locally to pass constant parameters.
15421 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15422 rather than a shared local.
15423
15424 * stdlib/rpmatch.c (try): New function, broken out of ...
15425 (rpmatch): ... local function here. Also, prototypify definition.
15426
15427 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15428
15429 * scripts/soversions.awk: Do not handle configuration names.
15430 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15431 vendor and os variables to soversions.awk.
15432 * configure.ac: Do not modify gnu-* host_os.
15433 * configure: Regenerated
15434 * shlib-versions: Remove first column with configuration names.
15435 * nptl/shlib-versions: Likewise.
15436 * nptl_db/shlib-versions: Likewise.
15437 * sysdeps/hppa/shlib-versions: Likewise.
15438 * sysdeps/m68k/shlib-versions: Likewise.
15439 * sysdeps/mach/hurd/shlib-versions: Likewise.
15440 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15441 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15442 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15443 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15444 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15445 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15446 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15447 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15449 Likewise.
15450 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15451 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15452 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15453 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15454 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15455 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15456 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15457 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15458
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15460 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15462 Regenerated.
15463 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15465 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15466
15467 * shlib-versions: Remove OS-specific entries. Moved to files in
15468 sysdeps.
15469 * sysdeps/mach/hurd/shlib-versions: New file.
15470 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15471
15472 * nptl/shlib-versions: Remove architecture-specific entries.
15473 Moved to files in sysdeps.
15474 * shlib-versions: Likewise.
15475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15476 file.
15477 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15478 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15479 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15480 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15481
15482 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15483 (UDP_NO_CHECK6_RX): Likewise.
15484
15485 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15486
15487 * sysdeps/posix/sysconf.c (__sysconf): Spell
15488 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15489
15490 2014-08-12 Florian Weimer <fweimer@redhat.com>
15491
15492 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15493 loading.
15494 * iconv/Versions (__gconv_transliterate): Export for use from
15495 gconv modules.
15496 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15497 (struct __gconv_trans_data, __gconv_trans_fct,
15498 __gconv_trans_context_fct, __gconv_trans_query_fct,
15499 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15500 definitions.
15501 (struct __gconv_step_data): Remove __trans member.
15502 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15503 longer hidden. Remove unused trans_data argument.
15504 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15505 (__gconv_translit_find): Remove declaration.
15506 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15507 prototype.
15508 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15509 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15510 trans_data argument. Add hidden definition.
15511 (__gconv_translit_find): Remove.
15512 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15513 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15514 * iconv/skeleton.c: Remove transliteration initialization.
15515 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15516 __gconv_step_data initialization.
15517 * libio/iofwide.c (__libio_translit_): Remove.
15518 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15519 * wcsmbs/btowc.c (__btowc): Likewise.
15520 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15521 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15522 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15523 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15524 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15525 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15526 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15527 * wcsmbs/wctob.c (wctob): Likewise.
15528
15529 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15530
15531 [BZ #16194]
15532 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15533 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15534 register usage.
15535 * sysdeps/x86/Makefile: Adjust.
15536
15537 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15538 Roland McGrath <roland@hack.frob.com>
15539
15540 * locale/weight.h: Add include guard.
15541 (findidx): Make static rather than auto; take new parameters
15542 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15543 * locale/weightwc.h: Likewise.
15544 * posix/fnmatch_loop.c
15545 (FCT): Change type of EXTRA from int32_t to wint_t.
15546 Don't include either header inside the function.
15547 Call FINDIDX rather than findidx, and pass new arguments.
15548 #undef FINDIDX at the end of the file.
15549 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15550 FINDIDX before including fnmatch_loop.c for the non-wide version.
15551 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15552 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15553 for the wide version.
15554 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15555 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15556 Pass new arguments to findidx.
15557 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15558 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15559 Don't #include it inside the function. Pass new arguments to findidx.
15560 * posix/regex_internal.h
15561 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15562 (re_string_elem_size_at): Don't #include it inside the function.
15563 Pass new arguments to findidx.
15564 * string/strcoll_l.c: #include WEIGHT_H at top level.
15565 (get_next_seq): Don't #include it inside the function.
15566 Pass new arguments to findidx.
15567 (get_next_seq_nocache): Likewise.
15568 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15569 (STRXFRM): Don't #include it inside the function.
15570 Pass new arguments to findidx.
15571
15572 2014-09-11 Florian Weimer <fweimer@redhat.com>
15573
15574 [BZ #17344]
15575 * malloc/malloc.c (unlink): Turn asserts into a call to
15576 malloc_printerr.
15577
15578 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15579
15580 [BZ #17370]
15581 * libio/wfileops (do_ftell_wide): Free OUT.
15582
15583 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15584
15585 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15586
15587 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15588
15589 [BZ #17363]
15590 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15591 group if the current group is empty.
15592
15593 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15594
15595 * benchtests/bench-memset.c (test_main): Add more test from size
15596 from 32 to 512 bytes.
15597 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15598 Add POWER8 memset object.
15599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15600 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15601 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15602 implementation.
15603 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15604 Likewise.
15605 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15606 multiarch POWER8 memset optimization.
15607 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15608 POWER8 memset optimization.
15609
15610 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15611 Remove bzero multiarch objects.
15612 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15613 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15614 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15615 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15616 Remove define.
15617 [__bzero]: Redefine to specific name.
15618 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15619 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15620 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15621 define.
15622 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15623 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15624
15625 2014-09-10 Florian Weimer <fweimer@redhat.com>
15626
15627 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15628 warnings into errors.
15629
15630 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15631 __cxa_thread_atexit_impl prototype.
15632
15633 2014-09-09 Steve Ellcey <sellcey@mips.com>
15634
15635 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15636 Fix capitalization of error message.
15637
15638 2014-09-09 Steve Ellcey <sellcey@mips.com>
15639
15640 * sysdeps/mips/preconfigure: Modify ABI tests.
15641
15642 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15643
15644 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15645
15646 2014-09-07 Roland McGrath <roland@hack.frob.com>
15647 Carlos O'Donell <carlos@systemhalted.org>
15648
15649 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15650 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15651 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15652 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15653 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15654 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15655 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15656 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15657 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15658 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15659 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15660 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15661 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15662 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15663 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15664 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15665 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15666 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15667 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15668 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15669 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15670 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15671 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15672 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15673 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15674 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15675 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15676 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15677 Deconditionalize the code that was previously under [RESET_PID].
15678 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15679 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15680 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15681 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15682 include sysdep.h.
15683
15684 2014-09-08 Allan McRae <allan@archlinux.org>
15685
15686 * version.h (RELEASE): Set to "development".
15687 (VERSION): Set to "2.20.90"
15688
15689 2014-09-07 Allan McRae <allan@archlinux.org
15690
15691 * version.h (RELEASE): Set to "stable".
15692 (VERSION): Set to "2.20"
15693 * include/features.h (__GLIBC_MINOR__): Set to 20.
15694
15695 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15696 Liebler.
15697
15698 * po/ko.po: Update Korean translation from translation project.
15699
15700 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15701
15702 [BZ #17354]
15703 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15704 macro for handling signed relocations.
15705
15706 2014-09-03 Florian Weimer <fweimer@redhat.com>
15707
15708 [BZ #17325]
15709 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15710 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15711 assert.
15712 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15713 * iconvdata/ibm935.c (BODY): Likewise.
15714 * iconvdata/ibm937.c (BODY): Likewise.
15715 * iconvdata/ibm939.c (BODY): Likewise.
15716 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15717 assert.
15718 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15719 script.
15720 * iconvdata/run-iconv-test.sh: New test loop for checking for
15721 decoder crashers.
15722
15723 2014-09-02 Khem Raj <raj.khem@gmail.com>
15724
15725 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15726 libm_hidden_ver.
15727
15728 2014-09-01 Allan McRae <allan@archlinux.org>
15729
15730 * po/eo.po: Update Esperanto translation from translation project.
15731
15732 * po/ca.po: Update Catalan translation from translation project.
15733
15734 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15735
15736 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15737 __proc_dostop call.
15738
15739 2014-08-27 Mark Wielaard <mjw@redhat.com>
15740
15741 [BZ #17319]
15742 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15743 to call set_thread_area instead of hand written asm.
15744 (__NR_set_thread_area): Removed define.
15745 (TLS_FLAG_WRITABLE): Likewise.
15746 (__ASSUME_SET_THREAD_AREA): Remove check.
15747 (TLS_EBX_ARG): Remove define.
15748 (TLS_LOAD_EBX): Likewise.
15749
15750 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15751
15752 Simplify atomicity of socket creation in bind.
15753
15754 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15755 looking up the name after linking the file.
15756
15757 2014-08-27 Allan McRae <allan@archlinux.org>
15758
15759 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15760
15761 2014-08-26 Florian Weimer <fweimer@redhat.com>
15762
15763 [BZ #17187]
15764 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15765 trans_compare, open_translit, __gconv_translit_find):
15766 Remove module loading code.
15767
15768 2014-08-26 Allan McRae <allan@archlinux.org>
15769
15770 * po/vi.po: Update Vietnamese translation from translation project.
15771
15772 * po/uk.po: Update Ukrainian translation from translation project.
15773
15774 * po/fr.po: Update French translation from translation project.
15775
15776 * po/ru.po: Update Russian translation from translation project.
15777
15778 * po/pl.po: Update Polish translation from translation project.
15779
15780 * po/cs.po: Update Czech translation from translation project.
15781
15782 * po/de.po: Update German translation from translation project.
15783
15784 * po/bg.po: Update Bulgarian translation from translation project.
15785
15786 * po/sv.po: Update Sweedish translation from translation project.
15787
15788 * po/nl.po: Update Dutch translation from translation project.
15789
15790 * po/es.po: Update Spanish translation from translation project.
15791
15792 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15793
15794 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15795
15796 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15797 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15798 (CPPFLAGS-iconvconfig): Likewise.
15799 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15800
15801 * include/libc-symbols.h: Remove unnecessary check for
15802 NOT_IN_libc.
15803 * nptl/pthreadP.h: Likewise.
15804 * sysdeps/aarch64/setjmp.S: Likewise.
15805 * sysdeps/alpha/setjmp.S: Likewise.
15806 * sysdeps/arm/sysdep.h: Likewise.
15807 * sysdeps/i386/setjmp.S: Likewise.
15808 * sysdeps/m68k/setjmp.c: Likewise.
15809 * sysdeps/posix/getcwd.c: Likewise.
15810 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15811 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15812 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15813 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15814 * sysdeps/sh/sh3/setjmp.S: Likewise.
15815 * sysdeps/sh/sh4/setjmp.S: Likewise.
15816 * sysdeps/unix/alpha/sysdep.h: Likewise.
15817 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15818 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15819 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15820 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15824 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15825 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15828 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15829 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15830 * sysdeps/x86_64/setjmp.S: Likewise.
15831
15832 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15833
15834 [BZ #17263]
15835 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15836 <stdint.h>.
15837 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15838 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15839
15840 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15841
15842 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15843
15844 [BZ #17262]
15845 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15846 and __x86_64__ when disabling x87 inline functions.
15847
15848 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15849
15850 [BZ #17259]
15851 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15852 asm statement with __cpuid_count.
15853
15854 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15855
15856 * configure.ac: Change __ehdr_start code to dereference the struct.
15857 Run readelf on the output to look for relocations.
15858 * configure: Regenerated.
15859
15860 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15861
15862 [BZ #17261]
15863 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15864 value to 0.
15865 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15866
15867 2014-08-12 Roland McGrath <roland@hack.frob.com>
15868
15869 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15870
15871 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15872
15873 [BZ #16892]
15874 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15875 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15876
15877 2014-08-12 Sean Anderson <seanga2@gmail.com>
15878
15879 * malloc/malloc.c: Fix typo in comment.
15880
15881 2014-08-09 Allan McRae <allan@archlinux.org>
15882
15883 * Regenerate libc.po.
15884
15885 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15886
15887 * intl/tst-gettext2.sh: Check every lang file for creation.
15888
15889 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15890
15891 * sysdeps/aarch64/fpu/math_private.h
15892 (libc_feholdsetround_noex_aarch64_ctx): New function.
15893
15894 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15895
15896 * sysdeps/arm/armv6/strcpy.S (strcpy):
15897 Fix performance issue in misaligned cases.
15898
15899 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15900
15901 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15902 Move definition from termios.h.
15903 (struct termio): Likewise.
15904 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15905 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15906 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15907 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15908 Likewise.
15909 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15910 Move definition to ioctl-types.h
15911 (struct termio): Likewise.
15912 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15913 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15914 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15915 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15916 Likewise.
15917
15918 2014-08-05 Richard Henderson <rth@redhat.com>
15919
15920 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15921 exceptions.
15922 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15923 Add fraiseexcpt.
15924 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15925 Use __feraiseexcept.
15926 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15927 Protect libm symbols with IS_IN_libm.
15928
15929 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15930
15931 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15932
15933 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15934
15935 2014-08-04 Will Newton <will.newton@linaro.org>
15936
15937 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15938 file.
15939
15940 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15941
15942 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15943 variants for each function.
15944
15945 2014-08-04 Roland McGrath <roland@hack.frob.com>
15946
15947 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15948 appended ...
15949 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15950 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15951 appended ...
15952 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15953 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15954 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15955 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15956 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15957 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15958 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15959 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15960 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15961 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15962 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15963 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15964 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15965 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15966 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15967 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15968 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15969 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15970 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15971 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15972 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15973 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15974 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15975 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15976 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15977 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15978 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15979 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15980 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15981 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15982 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15983 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15984 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15985 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15986 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15987 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15988 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15989 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15990 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15991 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15992 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15993 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15994 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15995 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15996 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15997 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15998 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15999 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16000 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16001 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16002 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16003 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16004 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16005 Update #include.
16006 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16007 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16008
16009 2014-08-04 Roland McGrath <roland@hack.frob.com>
16010
16011 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16012 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16013 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16014 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16015 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16016 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16017
16018 2014-08-04 Roland McGrath <roland@hack.frob.com>
16019
16020 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16021 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16022 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16023 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16024
16025 2014-08-04 Roland McGrath <roland@hack.frob.com>
16026
16027 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16028 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16029 (__libc_vfork): Define function under this name.
16030 (__vfork): Define as an alias.
16031 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16032 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16033
16034 2014-08-04 Roland McGrath <roland@hack.frob.com>
16035
16036 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16037 that was previously under [RESET_PID].
16038 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16039
16040 2014-08-04 Andreas Schwab <schwab@suse.de>
16041
16042 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16043
16044 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16045
16046 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16047 (main): Likewise.
16048
16049 2014-08-01 Roland McGrath <roland@hack.frob.com>
16050
16051 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16052
16053 2014-08-01 Richard Henderon <rth@redhat.com>
16054
16055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16056 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16057 typo in exact zero test.
16058 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16059 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16060 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16061
16062 2014-08-01 Roland McGrath <roland@hack.frob.com>
16063
16064 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16065 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16066 * sysdeps/arm/sysdep.h: ... here.
16067 [!__ASSEMBLER__]: Include <stdint.h>.
16068
16069 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16070
16071 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16072 (HAVE_WCTYPE_H): Likewise.
16073 (HAVE_ISWCTYPE): Likewise.
16074 (ENABLE_NLS): Likewise.
16075 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16076 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16077
16078 * posix/regex_internal.c: Check if DEBUG is defined and is
16079 set.
16080
16081 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16082 (HAVE_MBSRTOWCS): Likewise.
16083 * posix/fnmatch.c: Include string.h unconditionally.
16084
16085 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16086
16087 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16088 reversal.
16089
16090 2014-07-31 Roland McGrath <roland@hack.frob.com>
16091
16092 * sysdeps/generic/safe-fatal.h: New file.
16093 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16094 * nptl/forward.c: Include it.
16095 (__pthread_unwind): Use __safe_fatal as default action, rather
16096 than a bogus use of INTERNAL_SYSCALL that could never work.
16097
16098 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16099 * configure.ac (libc_cv_builtin_trap): New test.
16100 * configure: Regenerated.
16101 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16102 (ABORT_INSTRUCTION): Define using __builtin_trap.
16103
16104 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16105 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16106 * sysdeps/nptl/nptl-signals.h: New file.
16107 * nptl/pthreadP.h: Include <nptl-signals.h>.
16108
16109 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16110
16111 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16112 (ONE_DIRECTION): Define.
16113 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16114 (ONE_DIRECTION): Define.
16115 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16116 (ONE_DIRECTION): Define.
16117
16118 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16119
16120 * sysdeps/s390/Makefile: Delete file.
16121 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16122 * sysdeps/s390/__longjmp.c: Delete file.
16123 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16124 Remove fields __flags and __reserved.
16125 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16126 and add versioning.
16127 * sysdeps/s390/rtld-__longjmp.c: Delete file.
16128 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16129 * sysdeps/s390/rtld-setjmp.S: Likewise.
16130 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16131 * sysdeps/s390/s390-32/__longjmp.c: ... here.
16132 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16133 * sysdeps/s390/s390-32/setjmp.S: ... here.
16134 Add versioning.
16135 (__sigsetjmp): Remove setting __flags field.
16136 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16137 * sysdeps/s390/s390-64/__longjmp.c: ... here.
16138 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16139 * sysdeps/s390/s390-64/setjmp.S: ... here.
16140 Add versioning.
16141 (__sigsetjmp): Remove setting __flags field.
16142 * sysdeps/s390/setjmp.S: Delete file.
16143 * sysdeps/s390/sigjmp.c: Likewise.
16144 * sysdeps/s390/v1-longjmp.c: Likewise.
16145 * sysdeps/s390/v1-setjmp.h: Likewise.
16146 * sysdeps/s390/v1-sigjmp.c: Likewise.
16147 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16148 Remove v1-longjmp_chk.
16149 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16150 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16151 Include debug/longjmp_chk.c and add versioning.
16152 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16153 Include nptl/pt-longjmp.c and add versioning.
16154 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16155 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16156 Include __longjmp.c.
16157 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16158 Move to ...
16159 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16160 (__getcontext): Remove setting __flags field.
16161 Add versioning.
16162 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16163 Don't restore upper high grps.
16164 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16165 Likewise.
16166 (__swapcontext): Remove setting uc_flags field.
16167 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16168 Delete file.
16169 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16170 Include __longjmp.c.
16171 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16172 Move to ...
16173 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16174 (__getcontext): Remove setting __flags field.
16175 Add versioning.
16176 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16177 (__swapcontext): Remove setting uc_flags field.
16178 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16179 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16180 Remove fields uc_high_gprs and __reserved.
16181 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16182 New file with reverted content.
16183 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16184 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16185 Regenerated.
16186 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16187 Regenerated.
16188
16189 2014-07-31 Andreas Schwab <schwab@suse.de>
16190
16191 * config.h.in (HAVE_IFUNC): Define to 0.
16192 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16193 definedness.
16194
16195 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
16196
16197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16198 memmove-avx-unaligned, memcpy-avx-unaligned and
16199 mempcpy-avx-unaligned.
16200 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16201 Add tests for AVX memcpy functions.
16202 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16203 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16204 memcpy_chk.
16205 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16206 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16207 memmove_chk.
16208 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16209 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16210 mempcpy_chk.
16211 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16212 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16213 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16214
16215 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16216
16217 [BZ #17213]
16218 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16219 powerpc64le.
16220
16221 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16222
16223 [BZ #16839]
16224 * manual/llio.texi: Add section about open file description locks.
16225 * manual/examples/ofdlocks.c: Example of open file description
16226 lock usage.
16227 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16228 F_OFD_SETLK, and F_OFD_SETLKW.
16229
16230 2014-07-23 Allan McRae <allan@archlinux.org>
16231
16232 * po/es.po: Update Spanish translation from translation project.
16233
16234 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16235
16236 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16237
16238 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16239
16240 [BZ #17078]
16241 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16242 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16243 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16244
16245 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16246
16247 [BZ #17088]
16248 * math/fesetenv.c (__fesetenv)
16249 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16250 * math/feupdateenv.c (__feupdateenv)
16251 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16252
16253 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16254 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16255 (__ASSUME_SOCKETCALL): Do not define.
16256
16257 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16258 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16259 (__ASSUME_SOCKETCALL): Do not define.
16260 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16261 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16262 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16263 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16264 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16265 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16266 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16267 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16268
16269 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16270 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16271 (__ASSUME_SOCKETCALL): Do not define.
16272 (__ASSUME_IPC64): Define unconditionally.
16273 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16274 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16275 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16276 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16277 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16278 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16279 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16280 Likewise.
16281
16282 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16283 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16284 (__ASSUME_SOCKETCALL): Do not define.
16285 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16286 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16287 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16288 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16289 (__ASSUME_REQUEUE_PI): Define unconditionally.
16290 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16291 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16292 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16293 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16294 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16295 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16296
16297 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16298 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16299 (__ASSUME_SOCKETCALL): Do not define.
16300 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16301 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16302 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16303 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16304 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16305 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16306
16307 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16308 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16309 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16310 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16311 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16312 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16313 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16314 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16315 (__ASSUME_GETCPU_SYSCALL): Likewise.
16316
16317 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16318 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16319 cases for individual architectures.
16320 * sysdeps/gnu/configure: Regenerated.
16321 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16322 LIBC_SLIBDIR_RTLDDIR.
16323 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16324 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16325 LIBC_SLIBDIR_RTLDDIR.
16326 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16328 LIBC_SLIBDIR_RTLDDIR.
16329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16330 Regenerated.
16331 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16332 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16333 file.
16334 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16335 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16336 file.
16337 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16338 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16339 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16340 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16341
16342 * sysdeps/aarch64/shlib-versions: Move to ...
16343 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16344 * sysdeps/alpha/shlib-versions: Move to ...
16345 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16346 * sysdeps/arm/shlib-versions: Move to ...
16347 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16348 * sysdeps/hppa/shlib-versions: Move all contents except for
16349 libgcc_s entry to ...
16350 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16351 entry from ...
16352 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16353 * sysdeps/ia64/shlib-versions: Move to ...
16354 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16355 entry from ...
16356 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16357 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16358 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16359 * sysdeps/microblaze/shlib-versions: Move to ...
16360 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16361 * sysdeps/mips/shlib-versions: Move to ...
16362 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16363 entry from ...
16364 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16365 * sysdeps/tile/shlib-versions: Move to ...
16366 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16367 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16368 from ...
16369 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16370 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16371 entry from ...
16372 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16373
16374 2014-07-17 Will Newton <will.newton@linaro.org>
16375
16376 * sysdeps/arm/bits/atomic.h
16377 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16378 (__arch_compare_and_exchange_bool_16_int): Likewise.
16379 (__arch_compare_and_exchange_bool_64_int): Likewise.
16380
16381 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16382 into an #else block.
16383
16384 2014-07-16 Roland McGrath <roland@hack.frob.com>
16385
16386 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16387 just Linux configurations. Test empirically that the compiler sets
16388 __ARM_EABI__, rather than using the tuple to decide.
16389 * sysdeps/arm/preconfigure: Regenerated.
16390 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16391 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16392 contents appended ...
16393 * sysdeps/arm/configure.ac: ... here.
16394 * sysdeps/arm/configure: Regenerated.
16395
16396 2014-07-15 Roland McGrath <roland@hack.frob.com>
16397
16398 * nptl/pthread_kill.c: New file.
16399 * nptl/pthread_sigmask.c: New file.
16400 * nptl/pthread_sigqueue.c: New file.
16401
16402 * sysdeps/nptl/lowlevellock.h: New file.
16403 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16404 * sysdeps/nptl/lowlevellock-futex.h: New file.
16405
16406 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16407 Remove dead declarations.
16408
16409 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16410
16411 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16412 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16413 config-cflags-avx2.
16414 * sysdeps/x86_64/configure.ac: Likewise.
16415 * sysdeps/i386/configure: Regenerated.
16416 * sysdeps/x86_64/configure: Likewise.
16417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16418 memset-avx2 only if config-cflags-avx2 is yes.
16419 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16420 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16421 defined.
16422 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16423 only if HAVE_AVX2_SUPPORT is defined.
16424 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16425
16426 2014-07-14 Alan Modra <amodra@gmail.com>
16427
16428 [BZ #17153]
16429 * elf/elf.h (DT_PPC64_NUM): Correct value.
16430 * NEWS: Add to fixed bug list.
16431
16432 2014-07-13 Jim Meyering <meyering@fb.com>
16433
16434 [BZ 17150]
16435 regex: don't deref NULL upon heap allocation failure
16436 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16437 failure in one more place.
16438 To trigger the segfault, configure grep -with-included-regex,
16439 build it, and run these commands:
16440 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16441
16442 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16443
16444 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16445
16446 2014-07-11 Richard Henderson <rth@redhat.com>
16447
16448 * sysdeps/aarch64/libm-test-ulps: Update.
16449
16450 2014-07-10 Florian Weimer <fweimer@redhat.com>
16451
16452 [BZ #17135]
16453 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16454 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16455 (__nptl_setxid): Initialize error member. Call
16456 __nptl_setxid_error.
16457 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16458 * nptl/descr.h (struct xid_command): Add error member.
16459 * nptl/tst-setuid3.c: New file.
16460 * nptl/Makefile (tests): Add it.
16461
16462 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16463
16464 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16465 New define.
16466 (__lll_trylock): Use __lll_base_trylock.
16467 (__lll_cond_trylock): Likewise.
16468
16469 2014-07-10 Roland McGrath <roland@hack.frob.com>
16470
16471 * nptl/pthread_create.c (start_thread): Use atomic_or and
16472 lll_futex_wake directly rather than lll_robust_dead.
16473 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16474 (lll_robust_dead): Macro removed.
16475 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16476 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16477 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16478 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16479 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16480 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16481 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16482 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16483 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16484 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16485 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16486 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16487 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16488 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16489 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16490
16491 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16492 Use atomic_compare_and_exchange_val_acq directly rather than
16493 lll_robust_trylock.
16494 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16495 (__lll_robust_trylock, lll_robust_trylock): Removed.
16496 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16497 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16498 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16499 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16500 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16501 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16502 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16503 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16504 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16505 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16506 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16507 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16508 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16509 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16510
16511 2014-07-02 Florian Weimer <fweimer@redhat.com>
16512
16513 * manual/locale.texi (Locale Names): New section documenting
16514 locale name syntax. Adjust menu and node chaining accordingly.
16515 (Choosing Locale): Reference Locale Names, Locale Categories.
16516 Mention setting LC_ALL=C. Reflect that name syntax is now
16517 documented.
16518 (Locale Categories): New section title. Reference Locale Names.
16519 LC_ALL is an environment variable, but not a category.
16520 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16521 description, now in Locale Name. Reference that section. Locale
16522 name syntax is now documented.
16523
16524 2014-07-02 Florian Weimer <fweimer@redhat.com>
16525
16526 [BZ #17137]
16527 * locale/findlocale.c (name_present, valid_locale_name): New
16528 functions.
16529 (_nl_find_locale): Use the loc_name variable to store name
16530 candidates. Call name_present and valid_locale_name to check and
16531 validate locale names. Return an error if the locale is invalid.
16532
16533 2014-07-02 Florian Weimer <fweimer@redhat.com>
16534
16535 * locale/setlocale.c (setlocale): Use strdup for allocating
16536 composite name copy.
16537
16538 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16539
16540 Sync up with gnulib.
16541 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16542 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16543 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16544 and _GL_ARG_NONNULL.
16545 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16546 [!_LIBC]: Include code for Windows and Cygwin.
16547 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16548 Include prototype for int strerror_r.
16549 [!_LIBC] (is_open): New function.
16550 (flush_stdout): New function.
16551 (print_errno_message): Use it.
16552 (error): Likewise.
16553 (error_at_line): Likewise.
16554 (error_tail) Add function attribute macros. Use
16555 __builtin_expect.
16556
16557 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16558
16559 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16560
16561 * io/ftw.c: Include sys/param.h unconditionally.
16562
16563 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16564
16565 [BZ #17125]
16566 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16567 libc_freeres_ptr.
16568 (freecache): New function to free CACHE on exit.
16569
16570 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16571 initialization.
16572
16573 2014-07-09 David S. Miller <davem@davemloft.net>
16574
16575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16576
16577 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16578 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16579 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16580 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16581 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16582 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16583 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16584 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16585 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16586 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16587 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16588 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16589 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16590
16591 2014-07-09 Andreas Schwab <schwab@suse.de>
16592
16593 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16594 output.
16595 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16596 (do_test): Likewise.
16597
16598 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16599
16600 2014-07-09 Will Newton <will.newton@linaro.org>
16601
16602 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16603 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16604 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16605 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16606 * sysdeps/hppa/start.S (_start): Likewise.
16607
16608 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16609
16610 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16611
16612 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16613 defined.
16614
16615 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16616
16617 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16618 after checking that it is non-NULL.
16619
16620 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16621
16622 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16623
16624 * sysdeps/powerpc/memmove.c: Remove file.
16625 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16626 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16627 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16628 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16629 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16630 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16631 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16632 string memmove instead of removed powerpc one.
16633
16634 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16635 [weak_alias]: Fix compiler warning due trailing data.
16636 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16637 [weak_alias]: Likewise.
16638 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16639 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16640
16641 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16642 (__libc_ifunc_impl_list): Add memmove functions.
16643
16644 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16645
16646 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16647 Remove code.
16648 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16649 Likewise
16650 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16651 Likewise
16652 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16653 Likewise
16654 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16655 Likewise
16656 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16657 Likewise
16658 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16659 Likewise
16660 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16661 Likewise
16662 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16663 Likewise
16664 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16665 Likewise
16666 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16667 Likewise
16668 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16669 Likewise
16670 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16671 Likewise
16672 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16673 Likewise
16674 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16675 Likewise
16676 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16677 Likewise
16678 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16679 Likewise
16680
16681 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16682
16683 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16684 to avoid alignment traps in non-cacheable memory.
16685 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16686
16687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16688 multiarch objects.
16689 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16690 file: multiarch power7 memmove.
16691 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16692 multiarch default memmove.
16693 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16694 multiarch memove for powerpc32/power4.
16695
16696 * string/bcopy.c: Use full path to include memmove.c.
16697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16698 multiarch objects.
16699 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16700 bcopy for powerpc64.
16701 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16702 bcopy for powerpc64.
16703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16704 and memmove implementations.
16705 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16706 optimized multiarch memmove for POWER7/powerpc64.
16707 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16708 default multiarch memmove for powerpc64.
16709 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16710 multiarch for powerpc64.
16711 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16712 for POWER7/powerpc64.
16713 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16714 memmove for POWER7/powerpc64.
16715
16716 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16717 glibc default one.
16718
16719 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16720 __ELF_NATIVE_CLASS equal to 64.
16721
16722 2014-07-07 Roland McGrath <roland@hack.frob.com>
16723
16724 * sysdeps/nptl/lowlevellock.h: File removed.
16725
16726 * NEWS: NPTL is no longer an add-on!
16727 * nptl/internaltypes.h: Moved ...
16728 * sysdeps/nptl/internaltypes.h: ... here.
16729 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16730 * sysdeps/nptl/fork.c: Likewise.
16731 * sysdeps/nptl/gai_misc.h: Likewise.
16732 * sysdeps/nptl/librt-cancellation.c: Likewise.
16733 * sysdeps/nptl/jmp-unwind.c: Likewise.
16734 * sysdeps/nptl/setxid.h: Likewise.
16735 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16736 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16737 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16738 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16739 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16740 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16741 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16742 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16743 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16744 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16745 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16746 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16747 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16748 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16749 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16750 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16751 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16752 * nptl/Makeconfig: Moved ...
16753 * sysdeps/nptl/Makeconfig: ... here.
16754 * nptl/configure: File removed.
16755 * nptl/ANNOUNCE: File removed.
16756 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16757 * sysdeps/unix/sysv/linux/configure: Regenerated.
16758
16759 * nptl/Makefile (routines): Add libc_pthread_init,
16760 libc_multiple_threads, register-atfork and unregister-atfork.
16761 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16762 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16763 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16764 pthread-pi-defines.sym, structsem.sym.
16765 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16766 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16767 [$(subdir) = nptl] (tests): Add tst-setgetname.
16768 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16769 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16770 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16771 [!LIBC_SIGACTION]: Remove aliases.
16772 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16773 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16774 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16775 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16776 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16777 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16778 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16779 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16780 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16781 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16782 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16783 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16784 __libc_allocate_rtsig_private.
16785 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16786 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16787 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16788 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16789 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16790 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16791 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16792 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16793 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16794 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16795 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16796 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16797 * nptl/internaltypes.h: ... here.
16798 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16799 * sysdeps/nptl/jmp-unwind.c: ... here.
16800 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16801 * nptl/libc-lowlevellock.c: ... here.
16802 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16803 * nptl/libc_multiple_threads.c: ... here.
16804 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16805 * nptl/libc_pthread_init.c: ... here.
16806 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16807 * nptl/lowlevelbarrier.sym: ... here.
16808 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16809 * nptl/lowlevelcond.sym: ... here.
16810 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16811 * nptl/lowlevellock.c: ... here.
16812 * nptl/lowlevellock.h: Moved ...
16813 * sysdeps/nptl/lowlevellock.h: ... here.
16814 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16815 * nptl/lowlevelrobustlock.c: ... here.
16816 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16817 * nptl/lowlevelrobustlock.sym: ... here.
16818 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16819 * nptl/lowlevelrwlock.sym: ... here.
16820 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16821 * nptl/pt-fork.c: ... here.
16822 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16823 * nptl/pthread-pi-defines.sym: ... here.
16824 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16825 * nptl/pthread_attr_getaffinity.c: ... here.
16826 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16827 * nptl/pthread_attr_setaffinity.c: ... here.
16828 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16829 * nptl/pthread_mutex_cond_lock.c: ... here.
16830 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16831 Update #include.
16832 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16833 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16834 * nptl/pthread_once.c: ... here, replacing old file.
16835 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16836 * nptl/pthread_yield.c: ... here.
16837 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16838 * nptl/register-atfork.c: ... here.
16839 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16840 * nptl/sem_post.c: ... here.
16841 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16842 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16843 * nptl/sem_timedwait.c: ... here.
16844 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16845 * nptl/sem_trywait.c: ... here.
16846 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16847 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16848 * nptl/sem_wait.c: ... here.
16849 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16850 * nptl/structsem.sym: ... here.
16851 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16852 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16853 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16854 * nptl/unregister-atfork.c: ... here.
16855 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16856 * nptl/unwindbuf.sym: ... here.
16857 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16858 * sysdeps/nptl/fork.c: ... here.
16859 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16860 * sysdeps/nptl/fork.h: ... here.
16861 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16862 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16863 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16864 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16865 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16866 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16867 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16868 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16869 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16870 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16871 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16872 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16873 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16874 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16875 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16876 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16877 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16878 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16879 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16880 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16881 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16882 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16883 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16884 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16885 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16886 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16887 * sysdeps/unix/sysv/linux/raise.c: ... here.
16888 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16889 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16890 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16891 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16892 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16893 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16894 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16895 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16896 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16897 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16898 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16899 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16900 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16901 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16902 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16903
16904 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16905
16906 * sysdeps/generic/memcopy.h: Add comment for
16907 MEMCPY_OK_FOR_FWD_MEMMOVE.
16908
16909 2014-07-04 Will Newton <will.newton@linaro.org>
16910
16911 * string/memchr.c: Merge from gnulib.
16912 [_LIBC]: Remove conditionals.
16913 (__ptr_t): Remove define.
16914 (LONG_MAX_32_BITS): Likewise.
16915 (LONG_MAX): Likewise.
16916 (MEMCHR): Use ANSI prototype and optimize algorithm.
16917
16918 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16919
16920 2014-07-03 Roland McGrath <roland@hack.frob.com>
16921
16922 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16923 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16924
16925 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16926 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16927 in a bare environment with no <stdlib.h> installed.
16928 * sysdeps/nptl/configure: Regenerated.
16929
16930 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16931
16932 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16933 AC_EGREP_CPP for kernel header checks, so they only succeed if
16934 including <linux/version.h> actually works right.
16935 * sysdeps/unix/sysv/linux/configure: Regenerated.
16936
16937 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16938 value so it's not diagnosed as unused.
16939
16940 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16941 thing) with "ifeq ($(subdir),rt)".
16942
16943 2014-07-03 Richard Henderson <rth@redhat.com>
16944
16945 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16946 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16947 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16948
16949 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16950 (math_force_eval): New.
16951
16952 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16953 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16954
16955 * sysdeps/alpha/fpu/s_round.c: Remove file.
16956 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16957
16958 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16959 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16960 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16961 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16962 (_dl_start, print_statistics): Likewise.
16963 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16964 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16965
16966 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16967 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16968 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16969 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16970 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16971 (HP_SMALL_TIMING_AVAIL): Define.
16972 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16973 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16974 (HP_SMALL_TIMING_AVAIL): Define.
16975 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16976 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16977
16978 * sysdeps/aarch64/hp-timing.h: New file.
16979
16980 * sysdeps/generic/hp-timing.h: Remove dead comment.
16981 * sysdeps/generic/hp-timing-common.h: New file.
16982 * sysdeps/alpha/hp-timing.h: Include it.
16983 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16984 * sysdeps/i386/i686/hp-timing.h: Likewise.
16985 * sysdeps/ia64/hp-timing.h: Likewise.
16986 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16987 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16988 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16989 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16990 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16991 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16992 (hp_timing_t): New.
16993
16994 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16995 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16996 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16997 * elf/rtld.c (_dl_start_final): Likewise.
16998 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16999 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17000 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17001 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17002 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17003 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17004 (HP_TIMING_DIFF_INIT): Remove.
17005 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17006 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17007 (HP_TIMING_DIFF_INIT): Remove.
17008 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17009 * sysdeps/i386/i686/hp-timing.c: Remove file.
17010 * sysdeps/x86_64/hp-timing.c: Remove file.
17011 * sysdeps/ia64/hp-timing.c: Remove file.
17012 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17013 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17014 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17015 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17016
17017 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17018 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17019 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17020 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17021 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17022 (HP_TIMING_ACCUM): Remove.
17023 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17024 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17025 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17026
17027 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17028 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17029 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17030 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17031 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17032 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17033 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17034 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17035
17036 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17037
17038 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17039
17040 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17041
17042 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17043
17044 Sync up with gettext.
17045 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17046 [_MSC_VER]: Include malloc.h
17047 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17048 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17049 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17050 TEMP_FAILURE_RETRY. Cast return of alloca.
17051 [!_LIBC] Call gl_rwlock_init.
17052 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17053
17054 2014-07-02 Roland McGrath <roland@hack.frob.com>
17055
17056 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17057 before checking its value.
17058
17059 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17060
17061 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17062
17063 * debug/memcpy_chk.c: Don't include pagecopy.h.
17064 * debug/mempcpy_chk.c: Likewise.
17065 * string/memcpy.c: Likewise.
17066 * string/memmove.c: Likewise.
17067 * sysdeps/powerpc/memmove.c: Likewise.
17068 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17069 definition of PAGE_COPY_FWD_MAYBE here...
17070 * sysdeps/generic/pagecopy.h: ... from here.
17071 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17072
17073 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17074 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17075
17076 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17078 optimizations.
17079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17080 (__libc_ifunc_impl_list): Likewise.
17081 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17082 multiarch strcat for PPC64.
17083 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17084 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17085
17086 2014-07-02 Roland McGrath <roland@hack.frob.com>
17087
17088 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17089
17090 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17091
17092 * intl/loadmsgcat.c: Remove declaration of
17093 get_sysdep_segment_value.
17094 (get_sysdep_segment_value): Use ISO C style.
17095 (_nl_load_domain): Use ISO C style. Get rid of redundant
17096 semicolon. Fix typo and formatting in comment.
17097 (_nl_unload_domain): Use ISO C style.
17098
17099 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17100
17101 2014-07-02 Will Newton <will.newton@linaro.org>
17102
17103 * malloc/obstack.c: Merge from gnulib master.
17104 [HAVE_CONFIG_H]: Remove conditional code.
17105 [!_LIBC]: Include config.h.
17106 [!ELIDE_CODE]: Don't include inttypes.h, include
17107 stdint.h unconditionally.
17108 (print_and_abort): Mark as _Noreturn.
17109 (_obstack_allocated_p): Mark as __attribute_pure__.
17110 (obstack_free): Rename to __obstack_free.
17111 [!__attribute__]: Remove conditional code.
17112 * malloc/obstack.h: Merge from gnulib master.
17113 [__cplusplus]: Move conditional down.
17114 [!__attribute_pure__]: Define __attribute_pure__ here
17115 if it is not already defined.
17116 (_obstack_memory_used): Mark as __attribute_pure__.
17117 [!__obstack_free]: Define as obstack_free.
17118 [__GNUC__]: Remove check for ancient NeXT gcc.
17119
17120 2014-07-02 Will Newton <will.newton@linaro.org>
17121 Paul Eggert <eggert@cs.ucla.edu>
17122
17123 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17124
17125 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17126
17127 * resolv/gethnamaddr.c: Add comment warning that the file is
17128 not maintained.
17129
17130 2014-07-01 Carlos O'Donell <carlos@redhat.com>
17131
17132 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17133 entries.
17134
17135 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17136 entry for aio_cancel and aio_cancel64.
17137 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17138 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17139 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17140 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17141 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17142 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17143 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17144 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17145 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17146 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17147 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17148 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17149 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17150
17151 2014-07-01 Roland McGrath <roland@hack.frob.com>
17152
17153 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17154 * nptl/pthread_mutex_lock.c: Likewise.
17155 * nptl/pthread_mutex_timedlock.c: Likewise.
17156 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17157
17158 2014-07-01 Richard henderson <rth@redhat.com>
17159
17160 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17161 (__isnan, __isnanl): Remove.
17162 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17163
17164 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17165
17166 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17167
17168 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17169
17170 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17171
17172 * resolv/nss_dns/dns-host.c (getanswer_r)
17173 [MULTI_PTRS_ARE_ALIASES]: Remove code.
17174
17175 2014-07-01 Joseph Myers <joseph@codesourcery.com>
17176
17177 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17178 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17179 undefine.
17180 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17181 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17182
17183 2014-07-01 Roland McGrath <roland@hack.frob.com>
17184
17185 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17186 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17187
17188 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17189 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17190
17191 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17192 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17193 ... here.
17194 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17195 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17196
17197 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17198 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17199 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17200 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17201
17202 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17203 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17204 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17205 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17206 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17207 Moved ...
17208 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17209 ... here.
17210 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17211 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17212 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17213 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17214 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17215 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17216 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17217 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17218 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17219 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17220 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17221 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17222 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17223 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17224 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17225 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17226 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17227 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17228 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17229 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17230 ... here.
17231 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17232 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17233 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17234 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17235 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17236 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17237 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17238 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17239
17240 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17241
17242 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17243 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17244 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17245 Add sysdep.
17246
17247 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17248
17249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17250
17251 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17252
17253 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17254 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17255
17256 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17257
17258 * sysdeps/arm/libm-test-ulps: Regenerated.
17259
17260 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17261 Roland McGrath <roland@hack.frob.com>
17262
17263 * test-skeleton.c (signal_handler): Kill the whole process group
17264 before killing the child individually.
17265 (main): Report any failure on `setpgid'.
17266
17267 2014-06-30 Roland McGrath <roland@hack.frob.com>
17268
17269 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17270 from _TLS_H to _ARM_NPTL_TLS_H.
17271 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17272 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17273
17274 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17275
17276 [BZ #16539]
17277 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17278 (__expm1l): Return argument unchanged when small but not
17279 subnormal.
17280
17281 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17282 include macro name.
17283 (_FP_UNPACK_RAW_1_P): Likewise.
17284 (_FP_PACK_RAW_1): Likewise.
17285 (_FP_PACK_RAW_1_P): Likewise.
17286 (_FP_MUL_MEAT_1_wide): Likewise.
17287 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17288 (_FP_MUL_MEAT_1_hard): Likewise.
17289 (_FP_DIV_MEAT_1_imm): Likewise.
17290 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17291 (_FP_DIV_MEAT_1_udiv): Likewise.
17292 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17293 (_FP_UNPACK_RAW_2): Likewise.
17294 (_FP_UNPACK_RAW_2_P): Likewise.
17295 (_FP_PACK_RAW_2): Likewise.
17296 (_FP_PACK_RAW_2_P): Likewise.
17297 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17298 (_FP_MUL_MEAT_2_wide): Likewise.
17299 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17300 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17301 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17302 (_FP_MUL_MEAT_2_gmp): Likewise.
17303 (_FP_DIV_MEAT_2_udiv): Likewise.
17304 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17305 (_FP_FRAC_SRL_4): Likewise.
17306 (_FP_FRAC_SRST_4): Likewise.
17307 (_FP_FRAC_SRS_4): Likewise.
17308 (_FP_UNPACK_RAW_4): Likewise.
17309 (_FP_UNPACK_RAW_4_P): Likewise.
17310 (_FP_PACK_RAW_4): Likewise.
17311 (_FP_PACK_RAW_4_P): Likewise.
17312 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17313 (_FP_MUL_MEAT_4_wide): Likewise.
17314 (_FP_MUL_MEAT_4_gmp): Likewise.
17315 (umul_ppppmnnn): Likewise.
17316 (_FP_DIV_MEAT_4_udiv): Likewise.
17317 (__FP_FRAC_ADD_4): Likewise.
17318 (__FP_FRAC_SUB_3): Likewise.
17319 (__FP_FRAC_SUB_4): Likewise.
17320 (__FP_FRAC_DEC_3): Likewise.
17321 (__FP_FRAC_DEC_4): Likewise.
17322 (__FP_FRAC_ADDI_4): Likewise.
17323 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17324 (_FP_FRAC_SRL_8): Likewise.
17325 (_FP_FRAC_SRS_8): Likewise.
17326
17327 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17328 include macro name.
17329 (FP_UNPACK_RAW_EP): Likewise.
17330 (FP_PACK_RAW_E): Likewise.
17331 (FP_PACK_RAW_EP): Likewise.
17332 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17333 (_FP_ISSIGNAN): Likewise.
17334 (_FP_ADD_INTERNAL): Likewise.
17335 (_FP_FMA): Likewise.
17336 (_FP_CMP): Likewise.
17337 (_FP_SQRT): Likewise.
17338 (_FP_TO_INT): Likewise.
17339 (_FP_FROM_INT): Likewise.
17340 (FP_EXTEND): Likewise.
17341 (_FP_DIV_MEAT_N_loop): Likewise.
17342
17343 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17344
17345 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17346 throughout.
17347
17348 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17349
17350 [BZ #17097]
17351 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17352 result with correct sign in case of exponents that produce
17353 overflow except for X very close to 1.
17354
17355 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17356
17357 mktime: merge #if/#ifdef usage from glibc
17358 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17359 as that works with both Glibc's and Gnulib's style.
17360 See thread starting at Siddhesh Poyarekar's bug report at:
17361 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17362
17363 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17364
17365 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17366 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17367 * sysdeps/tile/tilegx/memmove.c: Remove file.
17368
17369 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17370
17371 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17372 abi-name definition.
17373 * scripts/soversions.awk: Do not handle or generate ABI lines.
17374 * shlib-versions: Remove ABI entries.
17375 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17376 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17377
17378 2014-06-27 Roland McGrath <roland@hack.frob.com>
17379
17380 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17381 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17382 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17383 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17384 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17385 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17386 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17387 Moved ...
17388 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17389 ... here.
17390 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17391 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17392 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17393 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17394 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17395 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17396 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17397 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17398 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17399 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17400 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17401 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17402 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17403 Moved ...
17404 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17405 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17406 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17408 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17410 Moved ...
17411 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17412 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17413 Moved ...
17414 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17416 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17417 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17418 Moved ...
17419 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17420 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17421 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17422 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17423 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17424 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17425 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17427 Moved ...
17428 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17429 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17430 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17431 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17432 Moved ...
17433 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17434 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17435 Moved ...
17436 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17437 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17438 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17439 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17440 Moved ...
17441 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17442 ... here.
17443 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17444 Identical file removed.
17445 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17446 Moved ...
17447 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17448 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17449 Identical file removed.
17450 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17451 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17452 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17453 Moved ...
17454 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17455 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17456 Identical file removed.
17457 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17458 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17459 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17460 Identical file removed.
17461 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17462 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17463 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17464 Identical file removed.
17465 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17466 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17467 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17468 Identical file removed.
17469 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17470 Moved ...
17471 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17472 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17473 Identical file removed.
17474 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17475 Moved ...
17476 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17477 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17478 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17479 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17480 Identical file removed.
17481 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17482 Moved ...
17483 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17484 ... here.
17485 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17486 Identical file removed.
17487 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17488 Moved ...
17489 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17490 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17491 Identical file removed.
17492 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17493 Moved ...
17494 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17495 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17496 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17497 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17498 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17499 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17500 Moved ...
17501 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17502 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17503 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17504
17505 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17506 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17507 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17508 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17509 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17510
17511 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17512
17513 [BZ #17092]
17514 * nscd/nscd.c (monitor_child): Return exit status of child
17515 instead of return value from wait syscall.
17516
17517 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17518
17519 * configure.ac (libc_commonpagesize): Remove variable.
17520 (libc_relro_required): Likewise.
17521 (libc_cv_z_relro): Remove configure test.
17522 * configure: Regenerated.
17523 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17524 variable.
17525 (libc_relro_required): Likewise.
17526 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17527 (libc_relro_required): Likewise.
17528 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17529 (libc_relro_required): Likewise.
17530 * sysdeps/arm/preconfigure: Regenerated.
17531 * sysdeps/ia64/preconfigure: Remove file.
17532 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17533 variable.
17534 (libc_relro_required): Likewise.
17535
17536 [BZ #16561]
17537 [BZ #16562]
17538 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17539 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17540 recompute overflowing results in original rounding mode.
17541 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17542 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17543 recompute overflowing results in original rounding mode.
17544 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17545 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17546 recompute overflowing results in original rounding mode.
17547 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17548 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17549 recompute overflowing results in original rounding mode.
17550 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17551 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17552 recompute overflowing results in original rounding mode.
17553 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17554 (libc_feholdsetround_ctx): New macro.
17555 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17556 * sysdeps/i386/fpu/libm-test-ulps: Update.
17557 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17558
17559 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17560
17561 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17562 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17563 corresponding .cpsetup call.
17564
17565 2014-06-26 Roland McGrath <roland@hack.frob.com>
17566
17567 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17568 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17569 * sysdeps/arm/Makefile [$(subdir) = csu]
17570 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17571 (static-only-routines): Add aeabi_read_tp here.
17572 (shared-only-routines): Add libc-aeabi_read_tp here.
17573 (CFLAGS-libc-start.c): Add -fexceptions here.
17574 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17575 (sysdep_routines, static-only-routines, shared-only-routines):
17576 Don't add to these here.
17577 (CFLAGS-libc-start.c): Likewise.
17578
17579 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17580 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17581 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17582 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17583 * sysdeps/arm/Makefile [$(subdir) = rt]
17584 (librt-sysdep_routines, librt-shared-only-routines):
17585 Append rt-aeabi_unwind_cpp_pr1 here.
17586 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17587 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17588 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17589 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17590 Append nptl-aeabi_unwind_cpp_pr1 here.
17591 (tests): Filter out tst-cleanupx4 here.
17592 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17593 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17594 Don't do those here.
17595
17596 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17597
17598 * scripts/list-sources.sh: Do not handle ports specially.
17599
17600 2014-06-26 Roland McGrath <roland@hack.frob.com>
17601
17602 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17603 * sysdeps/arm/feupdateenv.c: Likewise.
17604
17605 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17606
17607 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17608
17609 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17610 trailing whitespace removed.
17611 * scripts/config.guess: Update to version 2014-03-23.
17612 * scripts/config.sub: Update to version 2014-05-01
17613 * scripts/install-sh: Update to version 2013-12-25.23.
17614 * scripts/move-if-change: Update from gnulib.
17615
17616 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17617
17618 * debug/memmove_chk.c: Remove pagecopy.h include.
17619
17620 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17621
17622 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17623 identical to gnulib mktime.
17624
17625 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17626
17627 * configure.ac: Do not test for machine being rs6000. Do not test
17628 for powerpc*-*soft.
17629 * configure: Regenerated.
17630
17631 [BZ #11505]
17632 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17633 test.
17634 * configure: Regenerated.
17635 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17636 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17637 Remove configure test.
17638 * sysdeps/arm/configure: Regenerated.
17639 * sysdeps/nptl/configure.ac: Do not check
17640 libc_cv_asm_cfi_directives.
17641 * sysdeps/nptl/configure: Regenerated.
17642 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17643 * sysdeps/x86_64/nptl/configure: Remove generated file.
17644 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17645 unconditional.
17646 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17647
17648 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17649
17650 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17651 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17652 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17653 it is defined.
17654
17655 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17656 instead of whether it is defined.
17657 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17658 * sysdeps/hppa/dl-machine.h: Likewise.
17659 * sysdeps/ia64/dl-machine.h: Likewise.
17660 * sysdeps/m68k/dl-machine.h: Likewise.
17661 * sysdeps/microblaze/dl-machine.h: Likewise.
17662 * sysdeps/mips/dl-machine.: Likewise.
17663 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17664 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17665 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17666 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17667 * sysdeps/sh/dl-machine.h: Likewise.
17668 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17669 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17670 * sysdeps/tile/dl-machine.h: Likewise.
17671 * sysdeps/x86_64/dl-machine.h: Likewise.
17672
17673 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17674 code.
17675 (verify_persistent_db): Likewise.
17676
17677 2014-06-26 Roland McGrath <roland@hack.frob.com>
17678
17679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17680 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17682 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17684 Moved ...
17685 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17686 ... here.
17687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17688 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17690 Identical file removed.
17691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17692 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17694 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17696 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17698 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17700 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17702 Moved ...
17703 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17705 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17707 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17709 Moved ...
17710 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17712 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17714 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17716 Identical file removed.
17717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17718 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17720 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17722 Moved ...
17723 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17724 ... here.
17725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17726 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17728 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17730 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17732 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17734 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17736 Moved ...
17737 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17739 Moved ...
17740 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17742 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17744 Moved ...
17745 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17747 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17748
17749 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17750 folded into ...
17751 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17752 * sysdeps/unix/sysv/linux/s390/Versions
17753 (libpthread: GLIBC_2.19): New version set.
17754 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17755 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17756 (librt: GLIBC_2.3.3): New version set.
17757 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17758 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17759 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17760 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17761 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17762 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17763 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17764 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17765 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17766 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17767 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17768 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17769 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17770 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17771 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17772 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17773 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17774 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17775 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17776 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17777 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17778 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17779 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17780 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17781 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17782 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17783 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17784 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17785 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17786 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17787 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17788 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17790 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17792 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17793 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17794 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17795 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17796 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17797 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17798 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17799 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17800 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17801 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17802
17803 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17804 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17805 (__libc_vfork): Define the function under this name.
17806 [!NOT_IN_libc] (__vfork): Make this an alias.
17807 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17808 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17809 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17810 (__libc_vfork): Define the function under this name.
17811 [!NOT_IN_libc] (__vfork): Make this an alias.
17812 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17813 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17814 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17815 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17816 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17817 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17818
17819 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17820 code that was previously under [RESET_PID].
17821 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17822 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17823 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17824
17825 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17826 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17827 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17828 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17829 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17830 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17831 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17832 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17833 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17834 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17835 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17836 Moved ...
17837 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17838 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17839 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17840 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17841 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17842 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17843 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17844 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17845 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17846 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17847 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17848 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17849 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17850 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17851 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17852 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17853 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17854 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17855 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17856 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17857 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17858 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17859 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17860 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17861 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17862 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17863 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17864 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17865 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17866
17867 2014-06-25 Roland McGrath <roland@hack.frob.com>
17868
17869 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17870 that was previously under [RESET_PID].
17871 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17872
17873 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17874
17875 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17876 not undefine and redefine.
17877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17878 [O_CLOEXEC]: Make code unconditional.
17879 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17880 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17881 <kernel-features.h>.
17882 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17883 conditional variable definition.
17884 (shm_open) [O_CLOEXEC]: Make code unconditional.
17885 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17886 code.
17887
17888 * configure.ac (USE_REGPARMS): Don't define here.
17889 * configure: Regenerated.
17890 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17891 * sysdeps/i386/configure: Regenerated.
17892
17893 * nptl/createthread.c: Don't include kernel-features.h.
17894 * nptl/pthread_cancel.c: Likewise.
17895 * nptl/pthread_condattr_setclock.c: Likewise.
17896 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17897 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17898 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17899 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17900 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17901 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17902 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17903 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17904 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17905 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17906 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17907 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17908 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17909 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17910 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17911 * nscd/gai.c: Likewise.
17912 * nss/nss_db/db-open.c: Likewise.
17913 * sysdeps/generic/ldsodefs.h: Likewise.
17914 * sysdeps/sh/nptl/tls.h: Likewise.
17915 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17916 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17917 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17918 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17919 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17920 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17921 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17922 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17923 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17924 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17925 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17926 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17927 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17928 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17929 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17930 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17931 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17932 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17933 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17934 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17935 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17936 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17937 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17938 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17939 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17940 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17941 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17942 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17943 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17944 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17945 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17946 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17947 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17948 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17949 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17950 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17951 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17952 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17953 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17954 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17955 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17956 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17957 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17958 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17959 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17960 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17961 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17962 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17963 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17964 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17965 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17966 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17967 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17968 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17969 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17970 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17971 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17972 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17995 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17996 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17997 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17998 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17999 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18000 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18001 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18002 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18003 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18004 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18005 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18006 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18007 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18008 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18009 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18010 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18011 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18012 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18013 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18014 * sysdeps/unix/sysv/linux/system.c: Likewise.
18015 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18016 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18017 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18018 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18019 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18020 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18021 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18022
18023 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18024 * configure: Regenerated.
18025 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18026
18027 * configure.ac (base_machine): Do not set specially for particular
18028 machines here.
18029 * configure: Regenerated.
18030 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18031 settings from configure.ac.
18032 * sysdeps/i386/preconfigure: New file.
18033 * sysdeps/s390/preconfigure: Likewise.
18034 * sysdeps/sh/preconfigure: Likewise.
18035 * sysdeps/sparc/preconfigure: Likewise.
18036
18037 2014-06-25 Roland McGrath <roland@hack.frob.com>
18038
18039 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18040 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18041 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18042 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18043 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18044 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18045 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18046 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18047 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18048 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18049 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18050 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18051 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18052 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18053 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18054 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18055 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18056 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18057 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18058
18059 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18060 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18061 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18062 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18063 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18064 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18065 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18066 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18067 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18068 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18069 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18070 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18071 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18072 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18073 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18074 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18075 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18076 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18077 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18078 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18079 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18080 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18081 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18082 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18083 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18084 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18085 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18086 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18087 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18088 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18089 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18090 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18091 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18092 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18093 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18094 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18095 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18096 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18097
18098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18099 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18101 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18103 Moved ...
18104 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18105 ... here.
18106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18107 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18109 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18111 Moved ...
18112 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18114 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18116 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18118 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18120 Moved ...
18121 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18123 Moved ...
18124 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18126 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18128 Moved ...
18129 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18131 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18133 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18135 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18137 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18139 Moved ...
18140 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18141 ... here.
18142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18143 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18145 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18147 Moved ...
18148 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18150 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18152 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18154 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18156 Moved ...
18157 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18159 Moved ...
18160 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18162 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18164 Moved ...
18165 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18167 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18169 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18170
18171 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18172
18173 * timezone/checktab.awk: Update from tzcode 2014e.
18174 * timezone/private.h: Likewise.
18175 * timezone/tzfile.h: Likewise.
18176 * timezone/zdump.c: Likewise.
18177 * timezone/zic.c: Likewise.
18178
18179 * sysdeps/unix/sysv/linux/kernel-features.h
18180 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18181 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18182 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18183 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18184 Remove conditional code.
18185
18186 2014-06-25 Will Newton <will.newton@linaro.org>
18187
18188 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18189 (_dl_arm_cap_flags): Add HWCAP2 values.
18190 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18191 (_DL_HWCAP_COUNT): Increase to 37.
18192 (_DL_HWCAP_LAST): New define.
18193 (_DL_HWCAP2_LAST): New define.
18194 (_dl_procinfo): Add support for printing
18195 AT_HWCAP2 entries.
18196 (_dl_string_hwcap): Use _dl_hwcap_string.
18197
18198 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18199
18200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18201
18202 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18203
18204 * README: Do not mention ports directory.
18205
18206 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18207 Remove macro.
18208 * sysdeps/unix/sysv/linux/futimes.c: Do not include
18209 <kernel-features.h>.
18210 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18211 conditional variable definition.
18212 (__futimes): Update comment.
18213 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18214 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18215
18216 [BZ #16560]
18217 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18218 arguments close to 0.
18219 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18220 Likewise.
18221 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18222 Likewise.
18223 * math/auto-libm-test-in: Add more tests of exp10.
18224 * math/auto-libm-test-out: Regenerated.
18225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18226
18227 * sysdeps/unix/sysv/linux/kernel-features.h
18228 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18229 * sysdeps/unix/sysv/linux/readv.c: Do not include
18230 <kernel-features.h>.
18231 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18232 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18233 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18234 unconditional.
18235 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18236 conditional code.
18237 * sysdeps/unix/sysv/linux/writev.c: Do not include
18238 <kernel-features.h>.
18239 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18240 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18241 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18242 unconditional.
18243 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18244 conditional code.
18245
18246 2014-06-25 Will Newton <will.newton@linaro.org>
18247
18248 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18249 comment changes throughout the file. Remove checks
18250 for HAVE_*_H definitions that are not required.
18251 (__gen_tempname): Call abort if an unknown kind value is
18252 passed.
18253
18254 2014-06-25 Andreas Schwab <schwab@suse.de>
18255
18256 [BZ #17086]
18257 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18258 scalbln, scalblnf, scalblnl in libc.
18259
18260 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18261
18262 [BZ #17086]
18263 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18264 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18265 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18266
18267 2014-06-24 Roland McGrath <roland@hack.frob.com>
18268
18269 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18270 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18271 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18272 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18273 Update #include.
18274 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18275 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18276 Update #include.
18277 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18278 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18279 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18280 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18281 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18282 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18283 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18284 * sysdeps/x86/bits/semaphore.h: ... here.
18285 * sysdeps/x86/nptl/elide.h: Moved ...
18286 * sysdeps/x86/elide.h: ... here.
18287 * sysdeps/x86_64/nptl/Implies: File removed.
18288 * sysdeps/i386/nptl/Implies: File removed.
18289
18290 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18291
18292 [BZ #16539]
18293 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18294 return the argument for normal arguments with exponent below -64.
18295 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18296 Likewise.
18297 * math/auto-libm-test-in: Add another test of expm1.
18298 * math/auto-libm-test-out: Regenerated.
18299
18300 [BZ #16287]
18301 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18302 calling __erfcl for arguments at least 16.
18303 * math/auto-libm-test-in: Add more tests of erf.
18304 * math/auto-libm-test-out: Regenerated.
18305
18306 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18307 individual architectures.
18308 * sysdeps/unix/sysv/linux/configure: Regenerated.
18309 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18310 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18311 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18312 (ldd_rewrite_script): Define variable.
18313 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18315 file.
18316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18317 generated file.
18318 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18319 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18320 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18321 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18322 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18323 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18324 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18325 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18326
18327 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18328
18329 [BZ #17084]
18330 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18331 Rename member __data.d to __data.__elision_data.
18332
18333 2014-06-24 Wilco <wdijkstr@arm.com>
18334
18335 * NEWS: Add 16918 to fixed bug list.
18336
18337 2014-06-24 Wilco <wdijkstr@arm.com>
18338
18339 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18340
18341 2014-06-24 Wilco <wdijkstr@arm.com>
18342
18343 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18344 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18345 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18346 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18347 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18348 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18349 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18350 Use _FPU_MASK_RM.
18351
18352 2014-06-24 Wilco <wdijkstr@arm.com>
18353
18354 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18355
18356 2014-06-24 Wilco <wdijkstr@arm.com>
18357
18358 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18359 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18360 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18361 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18362
18363 2014-06-24 Wilco <wdijkstr@arm.com>
18364
18365 [BZ #16918]
18366 * sysdeps/arm/feupdateenv.c (feupdateenv):
18367 Rewrite to reduce FPSCR accesses and fix return value.
18368
18369 2014-06-24 Wilco <wdijkstr@arm.com>
18370
18371 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18372 Optimize to avoid unnecessary FPSCR writes.
18373 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18374 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18375 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18376 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18377
18378 2014-06-24 Wilco <wdijkstr@arm.com>
18379
18380 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18381 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18382 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18383 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18384 Call libc_fetestexcept_vfp.
18385 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18386 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18387 __SOFTFP__ ifdef so that they can be built for softfp.
18388
18389 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18390
18391 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18392 argument type signed char.
18393
18394 * Makerules (check-abi): Dump diff of symlist if the test
18395 fails.
18396
18397 2014-06-23 Roland McGrath <roland@hack.frob.com>
18398
18399 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18400 using abort.
18401
18402 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18403 Remove unused variable ST.
18404
18405 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18406
18407 [BZ #16354]
18408 [BZ #17061]
18409 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18410 small arguments before calling __expm1.
18411 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18412 small arguments before calling __expm1f.
18413 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18414 small arguments before calling __expm1l.
18415 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18416 Likewise.
18417 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18418 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18419 spurious underflow for some cosh tests.
18420 * math/auto-libm-test-out: Regenerated.
18421 * sysdeps/i386/fpu/libm-test-ulps: Update.
18422
18423 [BZ #17050]
18424 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18425 (__ieee754_y1): Set errno if return value overflows.
18426 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18427 (__ieee754_y1f): Set errno if return value overflows.
18428 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18429 (__ieee754_y1l): Set errno if return value overflows.
18430 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18431 (__ieee754_y1l): Set errno if return value overflows.
18432 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18433 * math/auto-libm-test-out: Regenerated.
18434
18435 * math/gen-auto-libm-tests.c: Document use of
18436 ignore-zero-inf-sign.
18437 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18438 (input_flags): Add ignore-zero-inf-sign.
18439 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18440 * math/gen-libm-test.pl (generate_testfile): Handle
18441 ignore-zero-inf-sign.
18442 * math/auto-libm-test-in: Mark some cpow tests with
18443 ignore-zero-inf-sign and some with xfail-rounding.
18444 * math/auto-libm-test-out: Regenerated.
18445 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18446 * sysdeps/i386/fpu/libm-test-ulps: Update.
18447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18448
18449 [BZ #16315]
18450 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18451 overflowing or underflowing operations take place with sign of
18452 result.
18453 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18454 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18455 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18456 (__ieee754_pow): Recompute overflowing and underflowing results in
18457 original rounding mode.
18458 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18459 (__powl_helper): Allow negative argument X and scale negated value
18460 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18461 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18462 overflowing or underflowing operations take place with sign of
18463 result.
18464 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18465 Include <math.h>.
18466 * math/auto-libm-test-in: Add more tests of pow.
18467 * math/auto-libm-test-out: Regenerated.
18468 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18469 (pow_tonearest_test_data): Remove.
18470 (pow_test_tonearest): Likewise.
18471 (pow_towardzero_test_data): Likewise.
18472 (pow_test_towardzero): Likewise.
18473 (pow_downward_test_data): Likewise.
18474 (pow_test_downward): Likewise.
18475 (pow_upward_test_data): Likewise.
18476 (pow_test_upward): Likewise.
18477 (main): Don't call removed functions.
18478 * sysdeps/i386/fpu/libm-test-ulps: Update.
18479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18480
18481 2014-06-23 Roland McGrath <roland@hack.frob.com>
18482
18483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18484 Moved ...
18485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18487 Moved ...
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18490 Moved ...
18491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18493 Moved ...
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18496 File removed.
18497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18498 File removed.
18499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18500 File removed.
18501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18502 File removed.
18503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18504 File removed.
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18506 File removed.
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18508 File removed.
18509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18510 File removed.
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18512 File removed.
18513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18514 File removed.
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18516 File removed.
18517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18518 File removed.
18519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18520 Moved ...
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18523 Moved ...
18524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18525 ... here.
18526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18527 Moved ...
18528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18530 Moved ...
18531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18533 Moved ...
18534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18536 Moved ...
18537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18539 Moved ...
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18542 Moved ...
18543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18545 Moved ...
18546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18549 ... here.
18550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18551 Moved ...
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18554 Moved ...
18555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18556 ... here.
18557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18558 Moved ...
18559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18560 ... here.
18561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18562 Moved ...
18563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18564 ... here.
18565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18566 Moved ...
18567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18569 Moved ...
18570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18574 Moved ...
18575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18576 ... here.
18577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18578 Moved ...
18579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18580 ... here.
18581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18582 Moved ...
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18585 Moved ...
18586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18588 Moved ...
18589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18591 Moved ...
18592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18594 Moved ...
18595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18596 ... here.
18597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18598 Moved ...
18599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18601 Moved ...
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18604 Moved ...
18605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18607 Moved ...
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18612 Moved ...
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18615 Moved ...
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18618 Moved ...
18619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18620 ... here.
18621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18622 Moved ...
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18624 ... here.
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18626 Moved ...
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18628 ... here.
18629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18630 Moved ...
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18633 Moved ...
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18636 Moved ...
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18639 Moved ...
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18641 ... here.
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18643 Moved ...
18644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18645 ... here.
18646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18647 Moved ...
18648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18649 ... here.
18650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18651 Moved ...
18652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18654 Moved ...
18655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18656
18657 2014-06-23 Will Newton <will.newton@linaro.org>
18658 Wilco <wdijkstr@arm.com>
18659
18660 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18661 implementation. Include get-rounding-mode.h.
18662 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18663 [!libc_feholdsetround_noex_ctx]: Define
18664 libc_feholdsetround_noex_ctx.
18665 [!libc_feholdsetround_noexf_ctx]: Define
18666 libc_feholdsetround_noexf_ctx.
18667 [!libc_feholdsetround_noexl_ctx]: Define
18668 libc_feholdsetround_noexl_ctx.
18669 (libc_feholdsetround_ctx): New function.
18670 (libc_feresetround_ctx): New function.
18671 (libc_feholdsetround_noex_ctx): New function.
18672 (libc_feresetround_noex_ctx): New function.
18673
18674 2014-06-23 Roland McGrath <roland@hack.frob.com>
18675
18676 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18677 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18678 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18679 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18680 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18681 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18682
18683 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18684 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18685 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18686 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18687 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18688 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18689 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18690 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18691 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18692 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18693 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18694 Moved ...
18695 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18696 ... here.
18697 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18698 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18699 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18700 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18701 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18702 Moved ...
18703 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18704 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18705 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18706 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18707 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18708 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18709 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18710 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18711 Moved ...
18712 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18713 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18714 Moved ...
18715 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18716 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18717 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18718 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18719 Moved ...
18720 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18721 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18722 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18723 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18724 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18725 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18726 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18727 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18728 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18729 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18730 Moved ...
18731 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18732 ... here.
18733 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18734 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18735 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18736 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18737 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18738 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18739 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18740 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18741 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18742 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18743 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18744 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18745 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18746 Moved ...
18747 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18748 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18749 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18750 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18751 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18752 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18753 Moved ...
18754 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18755 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18756 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18757 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18758 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18759
18760 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18761 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18762 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18763 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18764 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18765 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18766 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18767 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18768 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18769 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18770 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18771 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18772 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18773 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18774 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18775 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18776 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18777 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18778 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18779 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18780 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18781 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18782 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18783 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18784 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18785 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18786 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18787 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18788
18789 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18790
18791 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18792 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18793 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18794 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18795 (IPV6_PMTUDISC_INTERFACE): Likewise.
18796 (IPV6_PMTUDISC_OMIT): Likewise.
18797
18798 2014-06-23 Andreas Schwab <schwab@suse.de>
18799
18800 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18801 Remove unused errout label.
18802
18803 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18804
18805 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18806 macro: hardware supports Vector Crypto instructions.
18807
18808 2014-06-23 Will Newton <will.newton@linaro.org>
18809
18810 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18811 rather than __builtin_expect.
18812
18813 * elf/dl-lookup.c (undefined_msg): Remove variable.
18814 (_dl_lookup_symbol_x): Replace undefined_msg with string
18815 literal.
18816
18817 * elf/dl-lookup.c (do_lookup_unique): New function.
18818 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18819 to a separate function.
18820
18821 2014-06-23 Andreas Schwab <schwab@suse.de>
18822
18823 [BZ #17079]
18824 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18825 before reading the next line.
18826
18827 2014-06-23 Will Newton <will.newton@linaro.org>
18828
18829 * test-skeleton.c (signal_handler): Use printf and %m
18830 rather than perror. Use printf rather than fprintf to
18831 stderr. Use puts rather than fputs to stderr.
18832 (main): Likewise.
18833
18834 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18835
18836 * nscd/nscd.c (thread_info_t): Remove typedef.
18837 (thread_info): Remove variable.
18838
18839 2014-06-21 Allan McRae <allan@archlinux.org>
18840
18841 * NEWS: Mention CVE-2014-4043.
18842
18843 2014-06-20 Roland McGrath <roland@hack.frob.com>
18844
18845 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18846 * nptl/smp.h: ... here.
18847
18848 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18849
18850 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18851 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18852 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18853 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18854
18855 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18856 * nptl/stack-aliasing.h: New file.
18857 * sysdeps/i386/i686/stack-aliasing.h: New file.
18858 * sysdeps/i386/i686/nptl/Makefile: File removed.
18859 * sysdeps/x86_64/stack-aliasing.h: New file.
18860 * sysdeps/x86_64/nptl/Makefile
18861 (CFLAGS-pthread_create.c): Variable removed.
18862
18863 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18864 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18865 old file.
18866 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18867 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18868 old file.
18869
18870 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18871
18872 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18873 (__ASSUME_SIGFRAME_V2): Remove macro.
18874 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18875 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18876 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18877 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18878 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18879 Declare as function. Remove conditional macro definitions.
18880 (__default_rt_sa_restorer): Likewise.
18881 (__default_sa_restorer_v1): Remove declaration.
18882 (__default_sa_restorer_v2): Likewise.
18883 (__default_rt_sa_restorer_v1): Likewise.
18884 (__default_rt_sa_restorer_v2): Likewise.
18885 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18886 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18887 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18888
18889 2014-06-20 Roland McGrath <roland@hack.frob.com>
18890
18891 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18892 (libpthread-routines): Add sysdep.
18893 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18894 * sysdeps/unix/sysv/linux/sparc/Versions
18895 (libpthread: GLIBC_2.3.3): New version set.
18896 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18897 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18898 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18899 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18900 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18901 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18902 Moved ...
18903 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18904 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18905 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18906 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18907 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18908 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18909 * sysdeps/sparc/nptl/sem_init.c: ... here.
18910 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18911 * sysdeps/sparc/nptl/sem_post.c: ... here.
18912 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18913 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18914 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18915 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18916 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18917 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18918 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18919 (libpthread-routines): Add cpu_relax.
18920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18921 File removed.
18922 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18923 (librt: GLIBC_2.3.3): New version set.
18924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18925 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18926 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18927 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18930 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18932 Moved ...
18933 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18935 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18937 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18939 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18940 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18941 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18943 Moved ...
18944 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18945 Update #include.
18946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18947 Moved ...
18948 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18949 Update #include.
18950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18951 Moved ...
18952 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18953 Update #include.
18954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18955 Moved ...
18956 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18957 Update #include.
18958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18959 Moved ...
18960 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18961 Update #include.
18962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18963 Moved ...
18964 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18965 Update #include.
18966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18967 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18969 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18973 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18975 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18977 Moved ...
18978 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18979 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18980 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18982 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18983
18984 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18985
18986 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18987 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18988 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18989 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18990 * nscd/nscd.c: Likewise.
18991 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18992 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18993 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18994 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18995
18996 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18997 <kernel-features.h>.
18998 (init_mq_netlink): Remove conditional have_sock_cloexec
18999 definitions. Remove code conditional on have_sock_cloexec < 0.
19000 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19001 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19002 * sysdeps/unix/sysv/linux/opensock.c: Do not include
19003 <kernel-features.h>.
19004 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19005 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19006
19007 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19008
19009 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19010 Add tests for memset_chk and memset.
19011
19012 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19013 with AVX2_Usable.
19014
19015 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19016
19017 [BZ #16046]
19018 * elf/tst-dl-iter-static.c: New file.
19019 * elf/Makefile (tests-static): Add tst-dl-iter-static.
19020
19021 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19022 error.
19023
19024 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19025
19026 * sysdeps/unix/sysv/linux/kernel-features.h
19027 (__ASSUME_F_GETOWN_EX): Remove macro.
19028 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19029 <kernel-features.h>.
19030 (miss_F_GETOWN_EX): Remove variable or macro.
19031 (do_fcntl): Do not check miss_F_GETOWN_EX.
19032 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19033
19034 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19035 Remove macro.
19036 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19037 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19038 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19039
19040 * sysdeps/unix/sysv/linux/kernel-features.h
19041 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19042 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19043 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19044 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19045
19046 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19047
19048 [BZ #17075]
19049 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19050 Fix calculation of the symbol's value.
19051 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19052 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19053 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19054 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19055 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19056 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19057 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19058 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19059 (modules-names): Add `tst-armtlsdescmod',
19060 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19061 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19062 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19063 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19064 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19065 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19066 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19067 ($(objpfx)tst-armtlsdescloc): New dependency.
19068 ($(objpfx)tst-armtlsdescextnow): Likewise.
19069 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19070 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19071 TLS scheme support.
19072 * sysdeps/arm/configure: Regenerate.
19073
19074 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19075
19076 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19077 (__atfct_seterrno_2): Likewise.
19078 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19079 <kernel-features.h>.
19080 (__ASSUME_ATFCTS): Do not undefine and redefine.
19081 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19082 (__have_atfcts): Remove conditional definition.
19083 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19084 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19085 unreachable if [__ASSUME_ATFCTS].
19086 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19087 not undefine and redefine.
19088 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19089 <kernel-features.h>.
19090 (faccessat) [__NR_faccessat]: Make code unconditional.
19091 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19092 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19093 <kernel-features.h>.
19094 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19095 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19096 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19097 <kernel-features.h>.
19098 (fchownat) [__NR_fchownat]: Make code unconditional.
19099 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19100 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19101 <kernel-features.h>.
19102 (futimesat) [__NR_futimesat]: Make code unconditional.
19103 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19104 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19105 <kernel-features.h>.
19106 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19107 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19108 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19109 <kernel-features.h>.
19110 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19111 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19112 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19113 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19114 <kernel-features.h>.
19115 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19116 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19117 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19118 <kernel-features.h>.
19119 (linkat) [__NR_linkat]: Make code unconditional.
19120 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19121 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19122 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19123 <kernel-features.h>.
19124 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19125 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19126 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19127 <kernel-features.h>.
19128 (mkdirat) [__NR_mkdirat]: Make code unconditional.
19129 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19130 * sysdeps/unix/sysv/linux/openat.c: Do not include
19131 <kernel-features.h>.
19132 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19133 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19134 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19135 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19136 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19137 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19138 <kernel-features.h>.
19139 (readlinkat) [__NR_readlinkat]: Make code unconditional.
19140 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
19141 result of INLINE_SYSCALL directly, not via int variable.
19142 * sysdeps/unix/sysv/linux/renameat.c: Do not include
19143 <kernel-features.h>.
19144 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19145 (renameat) [__NR_renameat]: Make code unconditional.
19146 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19147 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19148 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19149 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19150 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19151 (__ASSUME_ATFCTS): Do not undefine and redefine.
19152 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19153 <kernel-features.h>.
19154 (symlinkat) [__NR_symlinkat]: Make code unconditional.
19155 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19156 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19157 <kernel-features.h>.
19158 (unlinkat) [__NR_unlinkat]: Make code unconditional.
19159 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19160 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19161 (__ASSUME_ATFCTS): Do not undefine and redefine.
19162 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19163 <kernel-features.h>.
19164 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19165 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19166 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19167 <kernel-features.h>.
19168 (__xmknodat) [__NR_mknodat]: Make code unconditional.
19169 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19170
19171 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19172
19173 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19174
19175 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
19176
19177 [BZ #17069]
19178 * posix/regcomp.c (parse_reg_exp): Deallocate partially
19179 constructed tree before returning error.
19180 * posix/bug-regexp36.c: Expand test case.
19181
19182 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19183
19184 [BZ #6803]
19185 * math/libm-test.inc (scalbln_test_date):
19186 Add errno expectations.
19187 * math/w_scalblnf.c: New File.
19188 Add wrapper which checks for setting errno to ERANGE.
19189 Add weak_alias for corresponding scalbln function.
19190 * math/w_scalbln.c: Likewise.
19191 * math/w_scalblnl.c: Likewise.
19192 * math/Makefile (libm-calls): Add w_scalbln.
19193 * sysdeps/ieee754/flt-32/s_scalblnf.c:
19194 Remove weak_alias for corresponding scalbln function.
19195 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19197 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19198 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19199 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19200 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19201 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19202 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19203 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19204 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19205 Remove long_double_symbol for scalblnl function in libm, libc.
19206 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
19207 Add wrapper which checks for setting errno to ERANGE.
19208 Add long_double_symbol for scalblnl function in libm, libc.
19209 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19210 Remove long_double_symbol for scalblnl in libm.
19211 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19212 Add wrapper which checks for setting errno to ERANGE.
19213 Add long_double_symbol for scalblnl function in libm.
19214 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19215 Do not use wrapper because of own implementation.
19216
19217 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
19218
19219 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19220 3 bytes for __pad1 for x32.
19221 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19222
19223 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19224 H.J. Lu <hongjiu.lu@intel.com>
19225
19226 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19227 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19228 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19229 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19230 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19231
19232 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19233
19234 [BZ #17069]
19235 * posix/regcomp.c (parse_expression): Deallocate partially
19236 constructed tree before returning error.
19237 * posix/Makefile.c (tests): Add bug-regex36.
19238 (generated): Add bug-regex36.mtrace.
19239 (tests-special): Add $(objpfx)bug-regex36-mem.out
19240 (bug-regex36-ENV): New variable.
19241 ($(objpfx)bug-regex36-mem.out): New rule.
19242 * posix/bug-regex36.c: New file.
19243
19244 2014-06-19 Will Newton <will.newton@linaro.org>
19245
19246 * malloc/malloc.c (systrim): If extra is zero then return
19247 early.
19248
19249 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19250
19251 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19252
19253 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19254
19255 * sysdeps/aarch64/strchr.S: New file.
19256
19257 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19258
19259 [BZ #17022]
19260 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19261 from arguments -2 or below.
19262 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19263 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19264
19265 2014-06-18 Andreas Schwab <schwab@suse.de>
19266
19267 [BZ #17062]
19268 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19269 of a bracket expr not to run off the end of the string.
19270 * posix/Makefile (tests): Add tst-fnmatch3.
19271 * posix/tst-fnmatch3.c: New file.
19272
19273 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19274
19275 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19276 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19277 [$(cross-compiling) = no]: Likewise.
19278 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19279 [$(cross-compiling) = no]: Likewise.
19280
19281 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19282
19283 [BZ #17031]
19284 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19285 double, adjusted for any remainder from the high double.
19286 * math/libm-test.inc (nearbyint): Add tests.
19287 (rint): Likewise.
19288
19289 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19290
19291 * nptl/sysdeps/powerpc/Makefile: Moved ...
19292 * sysdeps/powerpc/nptl/Makefile: ... here.
19293 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19294 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19295 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19296 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19297 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19298 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19299 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19300 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19301 * nptl/sysdeps/powerpc/tls.h: Moved ...
19302 * sysdeps/powerpc/nptl/tls.h: ... here.
19303
19304 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19305
19306 [BZ #16681]
19307 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19308 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19309 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19310 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19311 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19312 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19313 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19314 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19315 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19316
19317 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19318
19319 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19320
19321 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19322
19323 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19324 defined operator.
19325
19326 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19327 $TIMEOUTFACTOR.
19328
19329 2014-06-16 Florian Weimer <fweimer@redhat.com>
19330
19331 [BZ #17058]
19332 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19333 non-executed part of the test.
19334
19335 2014-06-16 Andreas Schwab <schwab@suse.de>
19336
19337 * string/bits/string2.h (strdup, strndup): Update feature guard.
19338
19339 2014-06-14 David S. Miller <davem@davemloft.net>
19340
19341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19342
19343 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19344
19345 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19346 that was previously under [RESET_PID].
19347 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19348
19349 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19350 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19351 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19352 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19353 (__libc_vfork): New strong alias.
19354 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19355
19356 2014-06-14 Andi Kleen <ak@linux.intel.com>
19357
19358 * sysdeps/generic/elide.h: New file.
19359
19360 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19361
19362 * Makefile (installed-headers): Adjust path of pthread.h header.
19363
19364 2014-06-13 Roland McGrath <roland@hack.frob.com>
19365
19366 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19367 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19368 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19369 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19370
19371 * nptl/sysdeps/s390/Makefile: Moved ...
19372 * sysdeps/s390/nptl/Makefile: ... here.
19373 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19374 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19375 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19376 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19377 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19378 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19379 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19380 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19381 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19382 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19383 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19384 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19385 * nptl/sysdeps/s390/tls.h: Moved ...
19386 * sysdeps/s390/nptl/tls.h: ... here.
19387
19388 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19389 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19390
19391 2014-06-13 David S. Miller <davem@davemloft.net>
19392
19393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19396 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19400 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19401 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19402 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19403 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19404 Remove RESET_PID cpp guards.
19405 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19406 Remove RESET_PID cpp guards.
19407 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19408
19409 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19410
19411 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19412 __sp to uintptr_t.
19413
19414 2014-06-13 Andi Kleen <ak@linux.intel.com>
19415
19416 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19417 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19418 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19419 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19420 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19421 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19422 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19423 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19424 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19425 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19426 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19427 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19428 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19429 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19430 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19431 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19432 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19433 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19434 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19435 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19436
19437 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19438 (pthread_rwlock_rdlock): Add elision.
19439 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19440 (pthread_rwlock_wrlock): Add elision.
19441 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19442 (pthread_rwlock_trywrlock): Add elision.
19443 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19444 (pthread_rwlock_tryrdlock): Add elision.
19445 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19446 (pthread_rwlock_tryrdlock): Add elision unlock.
19447 * nptl/sysdeps/pthread/pthread.h:
19448 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19449 (PTHREAD_RWLOCK_INITIALIZER,
19450 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19451 Handle new elision field.
19452 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19453 * sysdeps/arm/nptl/bits/pthreadtypes.h
19454 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19455 * sysdeps/sh/nptl/bits/pthreadtypes.h
19456 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19457 * sysdeps/tile/nptl/bits/pthreadtypes.h
19458 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19459 * sysdeps/a/nptl/bits/pthreadtypes.h
19460 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19461 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19462 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19463 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19464 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19465 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19466 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19467 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19468 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19469 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19470 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19471 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19472 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19473 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19474 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19475 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19477 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19478 (elision_init): Set try_xbegin to zero when no RTM.
19479 * sysdeps/x86/nptl/bits/pthreadtypes.h
19480 (pthread_rwlock_t): Change __pad1 to __rwelision.
19481 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19482
19483 2014-06-13 Andi Kleen <ak@linux.intel.com>
19484
19485 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19486 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19487 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19488 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19489
19490 2014-06-13 Meador Inge <meadori@codesourcery.com>
19491
19492 [BZ #16996]
19493 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19494 that the cached result has been set before returning it.
19495
19496 2014-06-12 Roland McGrath <roland@hack.frob.com>
19497
19498 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19499 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19500 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19501 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19502 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19503 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19504
19505 * nptl/sysdeps/sparc/Makefile: Moved ...
19506 * sysdeps/sparc/nptl/Makefile: ... here.
19507 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19508 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19509 * nptl/sysdeps/sparc/tls.h: Moved ...
19510 * sysdeps/sparc/nptl/tls.h: ... here.
19511 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19512 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19513 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19514 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19515 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19516 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19517 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19518 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19519 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19520 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19521 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19522 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19523 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19524 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19525 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19526 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19527 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19528 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19529 Update #include.
19530 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19531 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19532 Update #include.
19533 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19534 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19535 Update #include.
19536 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19537 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19538 Update #include.
19539
19540 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19541
19542 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19543 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19544
19545 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19546 (struct list_links): Type removed.
19547 (struct thread_node, struct timer_node): Replace struct list_links
19548 with struct list_head.
19549 (list_unlink_ip): Likewise.
19550 * sysdeps/pthread/timer_routines.c
19551 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19552 (list_append, list_insbefore): Likewise.
19553 (list_init): Function removed.
19554 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19555 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19556 * sysdeps/pthread/Makefile: ... here, new file.
19557
19558 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19559 * sysdeps/nptl/Implies: ... here.
19560 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19561 * nptl/sysdeps/pthread/list.h: Moved ...
19562 * include/list.h: ... here.
19563 * nptl/sysdeps/pthread/createthread.c: Moved ...
19564 * nptl/createthread.c: ... here.
19565 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19566 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19567 * nptl/pt-longjmp.c: ... here.
19568 * nptl/sysdeps/pthread/Makefile: Moved ...
19569 * sysdeps/nptl/Makefile: ... here.
19570 * nptl/sysdeps/pthread/Subdirs: Moved ...
19571 * sysdeps/nptl/Subdirs: ... here.
19572 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19573 * sysdeps/nptl/aio_misc.h: ... here.
19574 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19575 * sysdeps/nptl/bits/libc-lock.h: ... here.
19576 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19577 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19578 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19579 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19580 * nptl/sysdeps/pthread/configure: Moved ...
19581 * sysdeps/nptl/configure: ... here.
19582 * nptl/sysdeps/pthread/configure.ac: Moved ...
19583 * sysdeps/nptl/configure.ac: ... here.
19584 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19585 * sysdeps/nptl/gai_misc.h: ... here.
19586 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19587 * sysdeps/nptl/librt-cancellation.c: ... here.
19588 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19589 * sysdeps/nptl/malloc-machine.h: ... here.
19590 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19591 * sysdeps/nptl/pthread-functions.h: ... here.
19592 * nptl/sysdeps/pthread/pthread.h: Moved ...
19593 * sysdeps/nptl/pthread.h: ... here.
19594 * nptl/sysdeps/pthread/setxid.h: Moved ...
19595 * sysdeps/nptl/setxid.h: ... here.
19596 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19597 * sysdeps/nptl/sigfillset.c: ... here.
19598 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19599 * sysdeps/nptl/tcb-offsets.h: ... here.
19600 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19601 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19602 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19603 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19604 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19605 * sysdeps/pthread/allocalim.h: ... here.
19606 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19607 * sysdeps/pthread/bits/sigthread.h: ... here.
19608 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19609 * sysdeps/pthread/flockfile.c: ... here.
19610 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19611 * sysdeps/pthread/ftrylockfile.c: ... here.
19612 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19613 * sysdeps/pthread/funlockfile.c: ... here.
19614 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19615 * sysdeps/pthread/posix-timer.h: ... here.
19616 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19617 * sysdeps/pthread/timer_create.c: ... here.
19618 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19619 * sysdeps/pthread/timer_delete.c: ... here.
19620 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19621 * sysdeps/pthread/timer_getoverr.c: ... here.
19622 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19623 * sysdeps/pthread/timer_gettime.c: ... here.
19624 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19625 * sysdeps/pthread/timer_routines.c: ... here.
19626 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19627 * sysdeps/pthread/timer_settime.c: ... here.
19628 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19629 * sysdeps/pthread/tst-timer.c: ... here.
19630 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19631 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19632
19633 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19634 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19635
19636 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19637 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19638 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19639 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19640 Update #include target.
19641 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19642 * sysdeps/i386/i686/nptl/Makefile: ... here.
19643 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19644 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19645 Update #include target.
19646 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19647 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19648 * nptl/sysdeps/i386/Makefile: Moved ...
19649 * sysdeps/i386/nptl/Makefile: ... here.
19650 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19651 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19652 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19653 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19654 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19655 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19656 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19657 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19658 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19659 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19660 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19661 * nptl/sysdeps/i386/tls.h: Moved ...
19662 * sysdeps/i386/nptl/tls.h: ... here.
19663
19664 * sysdeps/sh/Makefile [$(subdir) = csu]
19665 (gen-as-const-headers): Add tcb-offsets.sym.
19666 * nptl/sysdeps/sh/Makefile: File removed.
19667 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19668 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19669 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19670 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19671 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19672 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19673 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19674 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19675 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19676 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19677 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19678 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19679 * nptl/sysdeps/sh/tls.h: Moved ...
19680 * sysdeps/sh/nptl/tls.h: ... here.
19681 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19682 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19683 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19684 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19685 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19686 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19687 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19688 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19689 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19690 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19691 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19692 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19693 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19694 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19695 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19696 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19697 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19698 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19699 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19700 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19701 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19702 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19703 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19704 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19705 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19706 Moved ...
19707 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19708 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19709 Moved ...
19710 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19711 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19712 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19713 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19714 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19715 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19716 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19717 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19718 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19719 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19720 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19721 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19722 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19723 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19724 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19725 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19726 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19727 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19728 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19729
19730 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19731
19732 * posix/spawn_faction_addopen.c: Include string.h.
19733
19734 2014-06-11 Roland McGrath <roland@hack.frob.com>
19735
19736 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19737 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19738 * nptl/sysdeps/x86_64/Makefile: Moved ...
19739 * sysdeps/x86_64/nptl/Makefile: ... here.
19740 * nptl/sysdeps/x86_64/configure: Moved ...
19741 * sysdeps/x86_64/nptl/configure: ... here.
19742 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19743 * sysdeps/x86_64/nptl/configure.ac: ... here.
19744 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19745 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19746 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19747 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19748 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19749 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19750 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19751 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19752 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19753 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19754 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19755 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19756 * nptl/sysdeps/x86_64/tls.h: Moved ...
19757 * sysdeps/x86_64/nptl/tls.h: ... here.
19758 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19759 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19760 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19761 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19762
19763 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19764
19765 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19766
19767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19768
19769 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19770
19771 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19772 type.
19773 [POSIX] (off_t): Likewise.
19774 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19775 [POSIX] (S_ISBLK): Require macro.
19776 [POSIX] (S_ISCHR): Likewise.
19777 [POSIX] (S_ISDIR): Likewise.
19778 [POSIX] (S_ISFIFO): Likewise.
19779 [POSIX] (S_ISREG): Likewise.
19780 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19781 optional-macro.
19782 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19783 type.
19784 [POSIX] (time_t): Likewise.
19785 [POSIX] (timer_t): Likewise.
19786
19787 2014-06-11 Florian Weimer <fweimer@redhat.com>
19788
19789 [BZ #17048]
19790 * posix/spawn_int.h (struct __spawn_action): Make the path string
19791 non-const to support deallocation.
19792 * posix/spawn_faction_addopen.c
19793 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19794 * posix/spawn_faction_destroy.c
19795 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19796 path in all spawn_do_open actions.
19797 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19798 posix_spawn_file_actions_addopen.
19799
19800 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19801
19802 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19803 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19804 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19805 conditional code always true.
19806 (__libc_vfork): New alias.
19807
19808 2014-06-11 Roland McGrath <roland@hack.frob.com>
19809
19810 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19811 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19812
19813 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19814
19815 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19816 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19817
19818 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19819 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19820
19821 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19822 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19823
19824 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19825
19826 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19827 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19828 multiarch strcmp for PPC64.
19829 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19830 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19832 multiarch optimizations.
19833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19834 (__libc_ifunc_impl_list): Likewise.
19835
19836 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19837
19838 * benchtests/scripts/validate_benchout.py: New script.
19839 * benchtests/Makefile (bench-func): Call it.
19840 * benchtests/scripts/benchout.schema.json: New file.
19841
19842 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19843
19844 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19845 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19846 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19847 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19848 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19849 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19850 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19851 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19852 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19853 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19854 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19855 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19856 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19857 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19858 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19859 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19861 Moved ...
19862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19863 ... here.
19864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19865 Moved ...
19866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19868 Moved ...
19869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19870 ... here.
19871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19872 Moved ...
19873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19874 ... here.
19875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19876 Moved ...
19877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19879 Moved ...
19880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19881 ... here.
19882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19883 Moved ...
19884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19885 ... here.
19886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19887 Moved ...
19888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19890 Moved ...
19891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19892 ... here.
19893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19894 Moved ...
19895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19896 ... here.
19897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19898 Moved ...
19899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19900 ... here.
19901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19902 Moved ...
19903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19905 Moved ...
19906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19907 ... here.
19908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19909 Moved ...
19910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19911 ... here.
19912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19913 Moved ...
19914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19915 ... here.
19916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19917 Moved ...
19918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19920 Moved ...
19921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19922 ... here.
19923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19924 Moved ...
19925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19926 ... here.
19927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19928 Moved ...
19929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19931 Moved ...
19932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19933 ... here.
19934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19935 Moved ...
19936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19938 Moved ...
19939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19941 Moved ...
19942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19943 ... here.
19944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19945 Moved ...
19946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19947 ... here.
19948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19949 Moved ...
19950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19951 ... here.
19952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19953 Moved ...
19954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19956 Moved ...
19957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19958 ... here.
19959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19960 Moved ...
19961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19962 ... here.
19963 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19964 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19965 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19966 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19967 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19968 Moved ...
19969 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19970 ... here.
19971 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19972 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19973 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19974 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19975 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19976 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19977 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19978 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19979 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19980 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19981 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19982 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19983 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19984 Moved ...
19985 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19986 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19987 Moved ...
19988 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19989 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19990 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19991 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19992 Moved ...
19993 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19994 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19995 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19996 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19997 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19998 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19999 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20000
20001 2014-06-10 Wilco <wdijkstr@arm.com>
20002
20003 * math/test-fenv-return.c: New file.
20004 * math/Makefile: Add new test test-fenv-return.
20005
20006 2014-06-10 Joseph Myers <joseph@codesourcery.com>
20007
20008 [BZ #17042]
20009 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20010 when x - 1 is zero.
20011 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20012 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20013 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20014 0.0L for an argument of 1.0L.
20015 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20016 Likewise.
20017 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20018 value when x - 1 is zero.
20019 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20020 * sysdeps/i386/fpu/libm-test-ulps: Update.
20021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20022
20023 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
20024
20025 [BZ #15119]
20026 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20027
20028 2014-06-09 Roland McGrath <roland@hack.frob.com>
20029
20030 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20031 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20032
20033 2014-06-09 Roland McGrath <roland@hack.frob.com>
20034
20035 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20036 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20037
20038 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20039 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20040
20041 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20042 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20043
20044 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20045 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20046
20047 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20048 if not already defined.
20049 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20050 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20051 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20052 (TLS_INIT_TP): Use it.
20053 (TLS_DEFINE_INIT_TP): New macro.
20054 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20055
20056 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20057
20058 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20059 constant.
20060 [POSIX] (IXANY): Likewise.
20061 [POSIX] (OLCUC): Likewise.
20062 [POSIX || POSIX2008] (CBAUD): Do not allow.
20063 [POSIX || POSIX2008] (DEFECHO): Likewise.
20064 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20065 [POSIX || POSIX2008] (ECHOKE): Likewise.
20066 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20067 [POSIX || POSIX2008] (EXTA): Likewise.
20068 [POSIX || POSIX2008] (EXTB): Likewise.
20069 [POSIX || POSIX2008] (FLUSHO): Likewise.
20070 [POSIX || POSIX2008] (LOBLK): Likewise.
20071 [POSIX || POSIX2008] (PENDIN): Likewise.
20072 [POSIX || POSIX2008] (SWTCH): Likewise.
20073 [POSIX || POSIX2008] (VDISCARD): Likewise.
20074 [POSIX || POSIX2008] (VDSUSP): Likewise.
20075 [POSIX || POSIX2008] (VLNEXT): Likewise.
20076 [POSIX || POSIX2008] (VREPRINT): Likewise.
20077 [POSIX || POSIX2008] (VSTATUS): Likewise.
20078 [POSIX || POSIX2008] (VWERASE): Likewise.
20079 (B*): Change to B[0123456789]*.
20080 * conform/data/time.h-data [POSIX || UNIX98]
20081 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20082 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20083 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20084 [POSIX] (tm_*): Do not allow.
20085
20086 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20087
20088 * Makefile (install): Don't set LANGUAGE.
20089 * Makefile.in (install): Likewise.
20090 * assert/Makefile (test-assert-ENV): Remove variable.
20091 (test-assert-perr-ENV): Likewise.
20092 * elf/Makefile (neededtest4-ENV): Likewise.
20093 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20094 [$(cross-compiling) = no]: Don't set LANGUAGE.
20095 * io/ftwtest-sh (LANG): Remove variable.
20096 * libio/Makefile (tst-widetext-ENV): Likewise.
20097 * manual/install.texi (Running make install): Don't refer to
20098 environment settings for make install.
20099 * INSTALL: Regenerated.
20100 * nptl/tst-tls6.sh: Don't set LANG.
20101 * posix/globtest.sh (LANG): Remove variable.
20102 * string/Makefile (tester-ENV): Likewise.
20103 (inl-tester-ENV): Likewise.
20104 (noinl-tester-ENV): Likewise.
20105 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20106 [$(cross-compiling) = no]: Don't set LANGUAGE.
20107 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20108 without explicit environment settings.
20109
20110 2014-06-06 Roland McGrath <roland@hack.frob.com>
20111
20112 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20113 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20114 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20115 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20116
20117 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20118
20119 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20120 other files in the crypt directory.
20121 * crypt/crypt.c: Remove duplicate includes.
20122 * crypt/crypt-entry.c: Likewise.
20123 * crypt/crypt_util.c: Likewise.
20124
20125 2014-06-06 Joseph Myers <joseph@codesourcery.com>
20126
20127 * Makeconfig (run-program-env): New variable.
20128 (run-program-prefix-before-env): Likewise.
20129 (run-program-prefix-after-env): Likewise.
20130 (run-program-prefix): Define in terms of new variables.
20131 (built-program-cmd-before-env): New variable.
20132 (built-program-cmd-after-env): Likewise.
20133 (built-program-cmd): Define in terms of new variables.
20134 (test-program-prefix-before-env): New variable.
20135 (test-program-prefix-after-env): Likewise.
20136 (test-program-prefix): Define in terms of new variables.
20137 (test-program-cmd-before-env): New variable.
20138 (test-program-cmd-after-env): Likewise.
20139 (test-program-cmd): Define in terms of new variables.
20140 * Rules (make-test-out): Use $(run-program-env).
20141 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20142 (help): Do not mention environment variables. Mention
20143 --timeoutfactor option.
20144 (timeoutfactor): New variable.
20145 (blacklist_exports): Remove function.
20146 (exports): Remove variable.
20147 (command): Do not include ${exports}.
20148 * manual/install.texi (Configuring and compiling): Do not mention
20149 test wrappers preserving environment variables. Mention that last
20150 assignment to a variable must take precedence.
20151 * INSTALL: Regenerated.
20152 * benchtests/Makefile (run-bench): Use $(run-program-env).
20153 * catgets/Makefile ($(objpfx)test1.cat): Use
20154 $(built-program-cmd-before-env), $(run-program-env) and
20155 $(built-program-cmd-after-env).
20156 ($(objpfx)test2.cat): Do not specify environment variables
20157 explicitly.
20158 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20159 $(run-program-env) and $(built-program-cmd-after-env).
20160 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20161 $(run-program-env) and $(test-program-cmd-after-env).
20162 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20163 explicitly.
20164 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20165 run_program_env and test_program_cmd_after_env arguments.
20166 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20167 * elf/tst-pathopt.sh: Use run_program_env argument.
20168 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20169 $(test-wrapper-env) and $(run-program-env).
20170 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20171 run_program_env arguments.
20172 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20173 * intl/Makefile ($(objpfx)tst-gettext.out): Use
20174 $(test-program-prefix-before-env), $(run-program-env) and
20175 $(test-program-prefix-after-env).
20176 ($(objpfx)tst-gettext2.out): Likewise.
20177 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20178 run_program_env and test_program_prefix_after_env arguments.
20179 * intl/tst-gettext2.sh: Likewise.
20180 * intl/tst-gettext4.sh: Do not set environment variables
20181 explicitly.
20182 * intl/tst-gettext6.sh: Likewise.
20183 * intl/tst-translit.sh: Likewise.
20184 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20185 $(test-program-prefix-before-env), $(run-program-env) and
20186 $(test-program-prefix-after-env).
20187 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20188 run_program_env and test_program_prefix_after_env arguments.
20189 * math/Makefile (run-regen-ulps): Use $(run-program-env).
20190 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20191 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
20192 explicitly with each use of ${test_wrapper_env}.
20193 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20194 $(test-program-prefix-before-env), $(run-program-env) and
20195 $(test-program-prefix-after-env).
20196 * posix/tst-getconf.sh: Do not set environment variables
20197 explicitly.
20198 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20199 run_program_env and test_program_prefix_after_env arguments.
20200 * stdio-common/tst-printf.sh: Do not set environment variables
20201 explicitly.
20202 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20203 $(test-program-prefix-before-env), $(run-program-env) and
20204 $(test-program-prefix-after-env).
20205 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20206 run_program_env and test_program_prefix_after_env arguments.
20207 Split $test calls into $test_pre and $test.
20208 * timezone/Makefile (build-testdata): Use
20209 $(built-program-cmd-before-env), $(run-program-env) and
20210 $(built-program-cmd-after-env).
20211
20212 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20213
20214 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20215 strlen for non SHARED builds.
20216
20217 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20218
20219 * nptl/allocatestack.c (check_list): Inlined function...
20220 (__reclaim_stacks): ... here.
20221
20222 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20223
20224 [BZ #15698]
20225 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20226 memory overrun.
20227
20228 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20229
20230 * Rules (make-test-out): Include
20231 LOCPATH=$(common-objpfx)localedata in default environment.
20232 * debug/Makefile (tst-chk1-ENV): Remove variable.
20233 (tst-chk2-ENV): Likewise.
20234 (tst-chk3-ENV): Likewise.
20235 (tst-chk4-ENV): Likewise.
20236 (tst-chk5-ENV): Likewise.
20237 (tst-chk6-ENV): Likewise.
20238 (tst-lfschk1-ENV): Likewise.
20239 (tst-lfschk2-ENV): Likewise.
20240 (tst-lfschk3-ENV): Likewise.
20241 (tst-lfschk4-ENV): Likewise.
20242 (tst-lfschk5-ENV): Likewise.
20243 (tst-lfschk6-ENV): Likewise.
20244 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20245 (tst-iconv7-ENV): Likewise.
20246 * intl/Makefile (LOCPATH-ENV): Likewise.
20247 (tst-codeset-ENV): Likewise.
20248 (tst-gettext3-ENV): Likewise.
20249 (tst-gettext5-ENV): Likewise.
20250 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20251 (tst-fopenloc-ENV): Likewise.
20252 (tst-fgetws-ENV): Remove variable.
20253 (tst-ungetwc1-ENV): Likewise.
20254 (tst-ungetwc2-ENV): Likewise.
20255 (bug-ungetwc2-ENV): Likewise.
20256 (tst-swscanf-ENV): Likewise.
20257 (bug-ftell-ENV): Likewise.
20258 (tst-fgetwc-ENV): Likewise.
20259 (tst-fseek-ENV): Likewise.
20260 (tst-ftell-partial-wide-ENV): Likewise.
20261 (tst-ftell-active-handler-ENV): Likewise.
20262 (tst-ftell-append-ENV): Likewise.
20263 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20264 (tst-regexloc-ENV): Likewise.
20265 (bug-regex1-ENV): Likewise.
20266 (tst-regex-ENV): Likewise.
20267 (tst-regex2-ENV): Likewise.
20268 (bug-regex5-ENV): Likewise.
20269 (bug-regex6-ENV): Likewise.
20270 (bug-regex17-ENV): Likewise.
20271 (bug-regex18-ENV): Likewise.
20272 (bug-regex19-ENV): Likewise.
20273 (bug-regex20-ENV): Likewise.
20274 (bug-regex22-ENV): Likewise.
20275 (bug-regex23-ENV): Likewise.
20276 (bug-regex25-ENV): Likewise.
20277 (bug-regex26-ENV): Likewise.
20278 (bug-regex30-ENV): Likewise.
20279 (bug-regex32-ENV): Likewise.
20280 (bug-regex33-ENV): Likewise.
20281 (bug-regex34-ENV): Likewise.
20282 (bug-regex35-ENV): Likewise.
20283 (tst-rxspencer-ENV): Likewise.
20284 (tst-rxspencer-no-utf8-ENV): Likewise.
20285 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20286 (tst-sscanf-ENV): Likewise.
20287 (tst-swprintf-ENV): Likewise.
20288 (tst-swscanf-ENV): Likewise.
20289 (test-vfprintf-ENV): Likewise.
20290 (scanf13-ENV): Likewise.
20291 (bug14-ENV): Likewise.
20292 (tst-grouping-ENV): Likewise.
20293 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20294 (tst-strtod3-ENV): Likewise.
20295 (tst-strtod4-ENV): Likewise.
20296 (tst-strtod5-ENV): Likewise.
20297 (testmb2-ENV): Likewise./
20298 * string/Makefile (tst-strxfrm-ENV): Likewise.
20299 (tst-strxfrm2-ENV): Likewise.
20300 (bug-strcoll1-ENV): Likewise.
20301 (test-strcasecmp-ENV): Likewise.
20302 (test-strncasecmp-ENV): Likewise.
20303 * time/Makefile (tst-strptime-ENV): Likewise.
20304 (tst-ftime_l-ENV): Likewise.
20305 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20306 (tst-mbrtowc-ENV): Likewise.
20307 (tst-wcrtomb-ENV): Likewise.
20308 (tst-mbrtowc2-ENV): Likewise.
20309 (tst-c16c32-1-ENV): Likewise.
20310 (tst-mbsnrtowcs-ENV): Likewise.
20311
20312 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20313
20314 * manual/resource.texi (How to get information about the memory
20315 subsystem?): Fix typo.
20316 Reported by Peon de la Parra Ivan <peon@keba.com>
20317
20318 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20319
20320 [BZ #16882]
20321 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20322 (pthread_spin_lock): Branch out of spin loop to proper location.
20323 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20324 (pthread_spin_lock): Likewise.
20325
20326 * nptl/tst-spin4.c: New test.
20327 * nptl/Makefile (tests): Add tst-spin4.
20328
20329 2014-06-03 Andreas Schwab <schwab@suse.de>
20330
20331 [BZ #15946]
20332 * resolv/res_send.c (send_dg): Reload file descriptor after
20333 calling reopen.
20334
20335 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20336
20337 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20338
20339 2014-06-03 Richard Henderson <rth@redhat.com>
20340
20341 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20342 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20343 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20344 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20345 in the SAVE_PID block.
20346 (__libc_vfork): New alias.
20347 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20348
20349 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20350 child in registers, not on the stack. Remove RESET_PID conditionals.
20351 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20352
20353 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20354
20355 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20356
20357 2014-06-03 Wilco <wdijkstr@arm.com>
20358
20359 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20360 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20361 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20362 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20363 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20364 Likewise.
20365
20366 2014-06-03 Wilco <wdijkstr@arm.com>
20367
20368 * sysdeps/aarch64/fpu/math_private.h
20369 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20370 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20371 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20372 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20373 Fix declarations.
20374
20375 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20376
20377 * crypt/crypt-private.h: Include ufc-crypt.h.
20378 (__b64_from_24bit): Declare extern.
20379 * crypt/crypt_util.c(__b64_from_24bit): New function.
20380 (b64t): New static const variable.
20381 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20382 (b64t): Remove variable.
20383 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20384 * crypt/sha256-crypt.c: Include crypt-private.h.
20385 (b64t): Remove variable.
20386 (__sha256_crypt_r): Remove b64_from_24bit and replace
20387 with __b64_from_24bit.
20388 * crypt/sha512-crypt.c: Likewise.
20389
20390 2014-06-02 Roland McGrath <roland@hack.frob.com>
20391
20392 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20393 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20394 Label the code __libc_vfork rather than __vfork.
20395 [!NOT_IN_libc] (vfork): Define as weak alias.
20396 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20397 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20398 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20399
20400 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20401
20402 * malloc/malloc.c (malloc_info): Fix format specifier for
20403 n_mmaps.
20404
20405 2014-06-02 Wilco <wdijkstr@arm.com>
20406
20407 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20408 FPCR write.
20409
20410 2014-06-02 Wilco <wdijkstr@arm.com>
20411
20412 [BZ #17009]
20413 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20414 Rewrite to reduce FPCR/FPSR accesses.
20415
20416 2014-06-01 David S. Miller <davem@davemloft.net>
20417
20418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20419
20420 2014-05-31 David S. Miller <davem@davemloft.net>
20421
20422 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20423 to occur in round to nearest mode when |x| >= 2.0
20424
20425 2014-05-30 Richard Henderson <rth@twiddle.net>
20426
20427 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20428 (PSEUDO_RET_NOERRNO): Remove.
20429 (ret): Don't redefine.
20430 (ret_NOERRNO): Define in terms of ret.
20431 (ret_ERRVAL): Likewise.
20432
20433 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20434 use of PSEUDO_RET; perform the error check directly.
20435
20436 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20437
20438 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20439 with __int128_t.
20440
20441 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20442
20443 * malloc/malloc (malloc_info): Fix formatting.
20444
20445 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20446 Roland McGrath <roland@hack.frob.com>
20447
20448 * malloc/malloc (malloc_info): Also print mmapped statistics.
20449
20450 2014-05-30 Roland McGrath <roland@hack.frob.com>
20451
20452 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20453 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20454
20455 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20456
20457 * malloc/malloc.c (malloc_info): Inline mi_arena.
20458
20459 2014-05-29 Richard Henderson <rth@twiddle.net>
20460
20461 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20462 Remove comma before expanding ASM_ARGS_##nr.
20463 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20464 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20465 of ASM_ARGS_##nr.
20466 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20467 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20468 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20469 (ASM_ARGS_1): Add leading comma.
20470
20471 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20472 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20473 to __errno_location.
20474 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20475 Remove the expected plt for __errno_location.
20476
20477 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20478 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20479 call to __read_tp.
20480
20481 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20482 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20483 it and break it down.
20484 (DOCARGS_0, DOCARGS_1): Do nothing.
20485 (DOCARGS_2): Update to store into the new stack frame.
20486 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20487 (UNDOCARGS_1): Update to restore from the new stack frame.
20488 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20489 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20490
20491 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20492 (SINGLE_THREAD_P): New parameter for result regno.
20493 (PSEUDO): Update to match; use cbz instead of beq.
20494
20495 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20496 Use ENTRY to define the _nocancel entry point. Share the syscall
20497 and syscall error check paths with the cancel path.
20498 (PSEUDO_END): New.
20499
20500 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20501 whitespace; tabs before and after asm mnemonics.
20502
20503 2014-05-29 Eric Wong <normalperson@yhbt.net>
20504
20505 [BZ #15132]
20506 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20507 Call fstat64 or stat64 internally, depending on arguments passed.
20508 Replace stat buffer argument with file descriptor argument.
20509 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20510 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20511 Pass fd to __internal_statvfs instead of calling fstat64.
20512 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20513 Pass fd to __internal_statvfs64 instead of calling fstat64.
20514 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20515 Pass -1 to __internal_statvfs instead of calling stat64.
20516 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20517 Pass -1 to __internal_statvfs64 instead of calling stat64.
20518
20519 2014-05-28 Roland McGrath <roland@hack.frob.com>
20520
20521 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20522 that was previously under [RESET_PID].
20523 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20524
20525 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20526 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20527
20528 2014-05-27 Roland McGrath <roland@hack.frob.com>
20529
20530 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20531
20532 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20533 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20534
20535 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20536
20537 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20538
20539 2014-05-27 Andreas Schwab <schwab@suse.de>
20540
20541 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20542 TLS_INIT_TP macro.
20543 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20544 * elf/rtld.c (init_tls, dl_main): Likewise.
20545 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20546 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20547 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20548 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20549 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20550 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20551 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20552 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20553 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20554 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20555 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20556 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20557 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20558 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20559 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20560 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20561 * sysdeps/generic/tls.h: Update description.
20562
20563 2014-05-27 Will Newton <will.newton@linaro.org>
20564
20565 [BZ #16990]
20566 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20567 and restore r2 rather than just restoring.
20568
20569 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20570
20571 [BZ #16724]
20572 * libio/tst-ftell-append.c: New test case.
20573 * libio/Makefile (tests): Add test case.
20574 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20575 append mode.
20576 * libio/wfileops.c (do_ftell_wide): Likewise.
20577
20578 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20579
20580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20581
20582 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20583 ...
20584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20586 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20587 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20588 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20589 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20590 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20591 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20593 Moved ...
20594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20595 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20596 Moved ...
20597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20598 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20599 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20600 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20601 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20602 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20603 ...
20604 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20605 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20606 Moved ...
20607 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20608 here.
20609 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20610 ...
20611 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20612 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20613 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20614
20615 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20616 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20617 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20618 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20619
20620 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20621 merge into ...
20622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20624 ...
20625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20626 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20627 ...
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20629 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20630 Moved ...
20631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20632 here.
20633 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20634 Moved ...
20635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20636 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20637 Moved ...
20638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20639
20640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20641 conditional [RESET_PID].
20642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20643 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20644 removed.
20645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20646 removed.
20647
20648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20649 <tcb-offsets.h>.
20650 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20651 (__libc_vfork): New strong alias.
20652 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20653 removed.
20654 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20655 Removed.
20656
20657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20658 <tcb-offsets.h>.
20659 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20660 (__libc_vfork): New strong alias.
20661 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20662 removed.
20663 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20664 removed.
20665
20666 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20667
20668 * malloc/malloc.c (mi_arena): New function.
20669 (malloc_info): Remove nested function mi_arena. Call non-nosted
20670 function mi_arena.
20671
20672 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20673
20674 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20675 by insrwi.
20676 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20677 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20678 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20679 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20680 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20681 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20682 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20683
20684 2014-05-26 Andreas Schwab <schwab@suse.de>
20685
20686 [BZ #16984]
20687 * locale/programs/repertoire.c (repertoire_read): Add slash
20688 between I18NPATH element and file name.
20689 * locale/programs/locfile.c (locfile_read): Likewise.
20690
20691 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20692
20693 * nptl/pthread_mutexattr_settype.c
20694 (__pthread_mutexattr_settype):
20695 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20696
20697 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20698
20699 * nptl/tst-mutex5 (do_test):
20700 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20701
20702 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20703
20704 * benchtests/README: Document 'init' directive.
20705 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20706 BENCH_INIT.
20707 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20708 (parse_file): Recognize 'init' directive.
20709
20710 2014-05-26 Kyle McMartin <kyle@redhat.com>
20711
20712 [BZ #16796]
20713 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20714 alignment of struct pthread.
20715
20716 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20717
20718 [BZ #16878]
20719 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20720 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20721 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20722 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20723
20724 2014-05-25 Richard Henderson <rth@twiddle.net>
20725
20726 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20727 (SINGLE_THREAD_P_PIC): Remove.
20728 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20729 (SINGLE_THREAD_P_PIC): Remove.
20730
20731 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20732 branch to syscall error ...
20733 (PSEUDO): ... here.
20734 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20735 from __local_syscall_error to .Lsyscall_error.
20736 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20737 (SYSCALL_ERROR): Update label name.
20738
20739 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20740 Do not use DOARGS/UNDOARGS.
20741 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20742 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20743 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20744 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20745 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20746
20747 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20748 block comment.
20749
20750 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20751 define if !NOT_IN_libc.
20752 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20753 define with non-default symbol versions.
20754
20755 2014-05-23 Richard Henderson <rth@twiddle.net>
20756
20757 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20758 (vfork, __vfork): Define via compat_symbol.
20759
20760 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20761 [!HAVE_IFUNC] (vfork_compat): Remove.
20762 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20763
20764 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20765
20766 [BZ #16978]
20767 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20768 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20769 variable.
20770
20771 2014-05-23 Richard Henderson <rth@twiddle.net>
20772
20773 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20774 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20775 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20776 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20777
20778 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20779 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20780 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20781 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20782 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20783 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20784 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20785 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20786 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20787 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20788 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20789 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20790 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20791 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20792 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20793 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20794 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20795 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20796 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20797 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20798 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20799 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20800 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20801 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20802 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20803 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20804 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20805 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20806 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20807 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20808 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20809 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20810 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20811 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20812 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20813 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20814 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20815 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20816 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20817 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20818 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20819 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20820 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20821 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20822 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20823 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20824 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20825 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20826 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20827 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20828 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20829 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20830 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20831 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20832 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20833 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20834
20835 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20836 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20837 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20838 before exiting on error.
20839 (__libc_vfork): New strong alias.
20840 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20841 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20842
20843 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20844 that was previously under [RESET_PID].
20845 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20846
20847 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20848
20849 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20850
20851 [BZ #16977]
20852 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20853 value when x - 1 is zero.
20854 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20855 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20856 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20857 0.0L for an argument of 1.0L.
20858 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20859 Likewise.
20860 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20861 value when x - 1 is zero.
20862 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20863 * sysdeps/i386/fpu/libm-test-ulps: Update.
20864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20865
20866 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20867
20868 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20869 alphasort and versionsort.
20870
20871 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20872
20873 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20874 macro.
20875 [copysignf]: Likewise.
20876
20877 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20878
20879 * crypt/md5-crypt.c: Fix formatting.
20880
20881 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20882
20883 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20884 (b64_from_24bit): New function.
20885
20886 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20887
20888 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20889 libc_hidden_builtin_def to ifunc.
20890 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20891 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20892
20893 2014-05-21 Roland McGrath <roland@hack.frob.com>
20894
20895 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20896 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20897
20898 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20899
20900 * nscd/Depend (linuxthreads): Remove.
20901 (nptl): Add.
20902 * resolv/Depend (linuxthreads): Remove.
20903 * rt/Depend (linuxthreads): Remove.
20904
20905 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20906 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20907 $(common-objpfx)elf/.
20908 (link-libc-before-gnulib): Likewise.
20909 (elfobjdir): Remove variable.
20910 * Makefile (install): Use $(elf-objpfx) instead of
20911 $(common-objpfx)elf/.
20912 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20913 $(elfobjdir)/.
20914 (link-libc-deps): Likewise.
20915 ($(common-objpfx)libc.so): Likewise.
20916 ($(common-objpfx)linkobj/libc.so): Likewise.
20917 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20918 instead of $(common-objpfx)elf/.
20919 (symbolic-link-list): Likewise.
20920 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20921 [$(cross-compiling) = no]: Likewise.
20922 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20923 $(elfobjdir)/.
20924 (static-gnulib-arch): Likewise.
20925 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20926 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20927 $(common-objpfx)elf/.
20928
20929 2014-05-21 Richard Henderson <rth@redhat.com>
20930
20931 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20932 (SINGLE_THREAD_P): Use the correct width load. Fold
20933 into the ldr offset.
20934
20935 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20936 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20937
20938 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20939
20940 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20941 (libgcc_s_resume): Use __attribute_used__.
20942 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20943 Likewise.
20944
20945 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20946
20947 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20948 optimization when used with float constants.
20949
20950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20951
20952 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20953
20954 [BZ #16915]
20955 * locale/nl_langinfo_l.c: Make direct reference to every
20956 _nl_current_CATEGORY symbol.
20957 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20958 (tests-static): Add tst-langinfo-static.
20959 (tests-special): Add tst-langinfo-static.out.
20960 ($(objpfx)tst-langinfo.out): Redirect output.
20961 ($(objpfx)tst-langinfo-static.out): New.
20962 * localedata/tst-langinfo.sh: Send output to stdout.
20963 * localedata/tst-langinfo-static.c: New file.
20964
20965 [BZ #16965]
20966 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20967 when the shift amount is modulo the limb size.
20968
20969 2014-05-20 Richard Henderson <rth@redhat.com>
20970
20971 [BZ #16967]
20972 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20973 Change type of sa_flags from unsigned int to int.
20974
20975 [BZ #16966]
20976 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20977
20978 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20979
20980 2014-05-20 Will Newton <will.newton@linaro.org>
20981
20982 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20983 Test the return value of the system call in the nocancel case.
20984
20985 2014-05-20 Will Newton <will.newton@linaro.org>
20986 Yvan Roux <yvan.roux@linaro.org>
20987
20988 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20989 #include of asm/ptrace.h.
20990 (PTRACE_GET_THREAD_AREA): Remove #undef.
20991 (PTRACE_GETHBPREGS): Likewise.
20992 (PTRACE_SETHBPREGS): Likewise.
20993 (struct user_regs_struct): New structure.
20994 (struct user_fpsimd_struct): New structure.
20995 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20996 #include of asm/ptrace.h and second #include of sys/user.h.
20997 (PTRACE_GET_THREAD_AREA): Remove #undef.
20998 (PTRACE_GETHBPREGS): Likewise.
20999 (PTRACE_SETHBPREGS): Likewise.
21000 (ELF_NGREG): Use new struct user_regs_struct.
21001 (elf_fpregset_t): Use new struct user_fpsimd_struct.
21002
21003 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21004
21005 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21006 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21007
21008 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21009
21010 [BZ #16958]
21011 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21012 membar to avoid block loads/stores to overlap previous stores.
21013
21014 2014-05-17 Richard Henderson <rth@redhat.com>
21015
21016 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21017 Create the __##syscall_name##_nocancel entry point.
21018 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21019 Remove; let the sysdep-cancel.h code create it.
21020
21021 2014-05-17 David S. Miller <davem@davemloft.net>
21022
21023 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21024 Protect with __USE_GNU.
21025 (TIOCSET_TEMPT): Likewise.
21026 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21027 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21028 these are already provided in bits/ioctl-types.h
21029
21030 2014-05-16 Roland McGrath <roland@hack.frob.com>
21031
21032 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21033 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21034
21035 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21036 Use wait4 regardless of [__NR_waitpid].
21037
21038 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21039
21040 PR libgcc/60166
21041 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21042 (_FP_NANSIGN_Q): Set the quiet bit.
21043
21044 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21045
21046 * benchtests/Makefile
21047 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21048 not $(common-objpfx)math/libm.so.
21049 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21050 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21051 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21052 $(common-objpfx)dlfcn/libdl.so.
21053 ($(objpfx)tst-audit8): Depend on $(libm), not
21054 $(common-objpfx)math/libm.so.
21055 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21056 not $(common-objpfx)dlfcn/libdl.so.
21057 * math/Makefile
21058 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21059 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21060 [$(build-shared) = yes].
21061 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21062 $(common-objpfx)nptl/libpthread.so.
21063 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21064 $(common-objpfx)math/libm.so$(libm.so-version) or
21065 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21066 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21067 $(common-objpfx)dlfcn/libdl.so.
21068 * setjmp/Makefile (link-libm): Remove variable.
21069 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21070 * stdio-common/Makefile (link-libm): Remove variable.
21071 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21072 * stdlib/Makefile (link-libm): Remove variable.
21073 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21074 ($(objpfx)tst-strtod-round): Likewise.
21075 ($(objpfx)tst-tininess): Likewise.
21076 ($(objpfx)tst-strtod-underflow): Likewise.
21077 ($(objpfx)tst-strtod6): Likewise.
21078 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21079 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21080 $(common-objpfx)dlfcn/libdl.so.
21081
21082 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21083
21084 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21085 BSD terminal modes definitions.
21086
21087 2014-05-16 Roland McGrath <roland@hack.frob.com>
21088
21089 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21090 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21091
21092 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21093 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21094 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21095 Don't do #include_next.
21096 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21097 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21098 Don't do #include_next.
21099 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21100 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21101 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21102 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21103
21104 2014-05-16 Allan McRae <allan@archlinux.org>
21105
21106 * po/sv.po: Update Swedish translation from translation project.
21107
21108 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21109 in sed expression.
21110
21111 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21112
21113 [BZ #16917]
21114 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21115 errno if the TIOCGPTN ioctl fails with an error different than
21116 EINVAL.
21117 * login/tst-ptsname.c: New file.
21118 * login/Makefile (tests): Add tst-ptsname.
21119
21120 [BZ #16943]
21121 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21122 and prlimit64.
21123
21124 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21125
21126 [BZ #16849]
21127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21128 herrno to return EAI_AGAIN.
21129
21130 2014-05-14 Roland McGrath <roland@hack.frob.com>
21131
21132 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21133 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21134 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21135 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21136 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21137 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21138 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21139 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21140 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21141 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21142 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21143 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21144 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21145 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21146 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21147 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21148 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21149 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21150 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21151 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21152 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21153 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21154 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21155 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21156 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21157 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21158 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21159 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21160 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21161 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21163 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21165 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21167 Moved ...
21168 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21170 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21172 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21174 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21176 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21178 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21180 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21182 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21184 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21186 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21188 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21190 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21192 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21194 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21196 Moved ...
21197 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21199 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21201 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21203 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21205 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21207 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21209 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21211 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21213 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21215 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21217 Moved ...
21218 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21220 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21221
21222 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21223 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21224 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21225 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21226 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21227 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21228 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21229 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21230 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21231 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21232 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21233 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21234 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21235 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21236 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21237 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21238 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21239 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21240 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21241 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21242 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21243 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21244 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21245 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21246 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21247 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21248 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21249 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21250 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21251 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21252 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21253
21254 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21255 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21256
21257 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21258 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21259 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21260 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21261 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21262 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21263 Moved ...
21264 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21265 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21266 Moved ...
21267 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21268 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21269 Moved ...
21270 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21271 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21272 Moved ...
21273 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21274 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21275 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21276 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21277 Moved ...
21278 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21279 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21280 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21281 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21282 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21283 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21284 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21285 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21286 Moved ...
21287 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21288 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21289 Moved ...
21290 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21291 ... here.
21292 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21293 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21294 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21295 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21296 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21297 Moved ...
21298 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21299 ... here.
21300 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21301 Moved ...
21302 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21303 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21304 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21305 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21306 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21307 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21308 Moved ...
21309 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21310 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21311 Moved ...
21312 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21313 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21314 Moved ...
21315 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21316 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21317 Moved ...
21318 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21319 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21320 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21321 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21322 Moved ...
21323 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21324 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21325 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21326 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21327 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21328 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21329 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21330 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21331 Moved ...
21332 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21333 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21334 Moved ...
21335 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21336 ... here.
21337 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21338 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21339 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21340 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21341 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21342 Moved ...
21343 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21344 ... here.
21345 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21346 Moved ...
21347 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21348 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21349 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21350 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21351 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21352 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21353 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21354 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21355 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21356 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21357 Moved ...
21358 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21359 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21360 Moved ...
21361 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21362 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21363 Moved ...
21364 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21365 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21366 Moved ...
21367 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21368 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21369 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21370 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21371 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21372 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21373 Moved ...
21374 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21375 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21376 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21377 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21378 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21379 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21380 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21381 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21382 Moved ...
21383 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21384 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21385 Moved ...
21386 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21387 ... here.
21388 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21389 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21390 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21391 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21392 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21393 Moved ...
21394 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21395 ... here.
21396 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21397 Moved ...
21398 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21399 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21400 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21401 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21402 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21403 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21404 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21405 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21406 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21407 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21408 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21409
21410 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21411 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21412
21413 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21414 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21415
21416 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21417 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21418 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21419 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21420 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21421 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21422 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21423 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21424 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21425 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21426 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21427 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21428 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21429 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21430 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21431 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21432 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21433 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21434 Moved ...
21435 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21436 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21437 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21438 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21439 Moved ...
21440 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21441 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21442 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21443 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21444 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21445 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21446 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21447 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21448 Moved ...
21449 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21450 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21451 Moved ...
21452 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21453 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21454 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21455 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21456 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21457 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21458 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21459 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21460 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21461 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21462 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21463 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21464 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21465 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21466 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21467 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21468 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21469
21470 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21471 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21472 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21473 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21474 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21475
21476 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21477 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21478 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21479 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21480 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21481 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21482 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21483 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21484 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21485 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21486
21487 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21488 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21489
21490 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21491 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21492 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21493 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21494 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21495 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21496 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21497 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21498 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21499 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21500 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21501 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21502 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21503 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21504 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21505 Update #include.
21506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21507 Likewise.
21508 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21509 Likewise.
21510 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21511 Likewise.
21512 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21513 Likewise.
21514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21515 Likewise.
21516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21517 Likewise.
21518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21519 Likewise.
21520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21521 Likewise.
21522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21523 Likewise.
21524 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21525 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21526 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21527 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21528 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21529 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21530 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21531 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21532 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21533 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21534 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21535 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21536 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21537 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21538 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21539
21540 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21541 that was previously under [RESET_PID].
21542 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21543 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21544 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21545
21546 * sysdeps/i386/nptl/Implies: New file.
21547 * sysdeps/x86_64/nptl/Implies: New file.
21548 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21549 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21550 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21551 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21552
21553 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21554 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21555 (__libc_vfork): New strong alias.
21556 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21557 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21558
21559 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21560 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21561 (__libc_vfork): New strong alias.
21562 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21563 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21564
21565 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21566 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21567 (__libc_vfork): New strong alias.
21568 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21569 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21570 * nptl/pt-vfork.c: New file.
21571 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21572 (libpthread: GLIBC_2.20): New version set (empty).
21573
21574 2014-05-14 Will Newton <will.newton@linaro.org>
21575
21576 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21577 rather than #if.
21578
21579 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21580
21581 [BZ #16564]
21582 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21583 arguments with exponent 65 or above.
21584 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21585 arguments 0x1p113L or above.
21586 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21587 to arguments 0x1p107L or above.
21588 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21589 positive arguments with exponent 65 or above.
21590 * math/auto-libm-test-in: Add more tests of log1p.
21591 * math/auto-libm-test-out: Regenerated.
21592
21593 [BZ #16928]
21594 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21595 non-finite arguments is +0.
21596 * math/s_cacosf.c (__cacosf): Likewise.
21597 * math/s_cacosl.c (__cacosl): Likewise.
21598 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21599 * sysdeps/i386/fpu/libm-test-ulps: Update.
21600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21601
21602 [BZ #16927]
21603 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21604 value.
21605 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21606 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21607 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21608 for explicit high bit of mantissa when testing for argument equal
21609 to 1.
21610 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21611 * sysdeps/i386/fpu/libm-test-ulps: Update.
21612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21613
21614 [BZ #16516]
21615 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21616 (__erf): Scale by 16 instead of 8 in potentially underflowing
21617 case. Ensure exception if result actually underflows.
21618 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21619 (__erff): Scale by 16 instead of 8 in potentially underflowing
21620 case. Ensure exception if result actually underflows.
21621 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21622 (efx8): Remove variable.
21623 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21624 case. Ensure exception if result actually underflows.
21625 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21626 (efx8): Remove variable.
21627 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21628 case. Ensure exception if result actually underflows.
21629 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21630 (efx8): Remove variable.
21631 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21632 case. Ensure exception if result actually underflows.
21633 * math/auto-libm-test-in: Add more tests of erf.
21634 * math/auto-libm-test-out: Regenerated.
21635
21636 2014-05-14 Andreas Schwab <schwab@suse.de>
21637
21638 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21639 Remove code conditionalized on USE___THREAD.
21640
21641 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21642 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21643 not definedness.
21644
21645 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21646
21647 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21648 Define unconditionally.
21649 (__ASSUME_O_CLOEXEC): Likewise.
21650 (__ASSUME_SOCK_CLOEXEC): Likewise.
21651 (__ASSUME_IN_NONBLOCK): Likewise.
21652 (__ASSUME_PIPE2): Likewise.
21653 (__ASSUME_EVENTFD2): Likewise.
21654 (__ASSUME_SIGNALFD4): Likewise.
21655 (__ASSUME_DUP3): Likewise.
21656 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21657 (__ASSUME_DUP3): Do not define.
21658 (__ASSUME_EVENTFD2): Likewise.
21659 (__ASSUME_IN_NONBLOCK): Likewise.
21660 (__ASSUME_O_CLOEXEC): Likewise.
21661 (__ASSUME_PIPE2): Likewise.
21662 (__ASSUME_SIGNALFD4): Likewise.
21663 (__ASSUME_SOCK_CLOEXEC): Likewise.
21664 (__ASSUME_UTIMES): Undefine.
21665 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21666 (__ASSUME_UTIMES): Do not define.
21667 (__ASSUME_O_CLOEXEC): Likewise.
21668 (__ASSUME_SOCK_CLOEXEC): Likewise.
21669 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21670 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21671 0x020621].
21672 (__ASSUME_PIPE2): Likewise.
21673 (__ASSUME_EVENTFD2): Likewise.
21674 (__ASSUME_SIGNALFD4): Likewise.
21675 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21676 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21677 Do not define.
21678 (__ASSUME_EVENTFD2): Likewise.
21679 (__ASSUME_SIGNALFD4): Likewise.
21680 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21681 (__ASSUME_32BITUIDS): Likewise.
21682 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21683 (__ASSUME_IPC64): Likewise.
21684 (__ASSUME_ST_INO_64_BIT): Likewise.
21685 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21686 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21687 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21688 (__ASSUME_UTIMES): Do not define.
21689 (__ASSUME_PSELECT): Likewise.
21690 (__ASSUME_PPOLL): Likewise.
21691 (__ASSUME_O_CLOEXEC): Likewise.
21692 (__ASSUME_SOCK_CLOEXEC): Likewise.
21693 (__ASSUME_IN_NONBLOCK): Likewise.
21694 (__ASSUME_PIPE2): Likewise.
21695 (__ASSUME_EVENTFD2): Likewise.
21696 (__ASSUME_SIGNALFD4): Likewise.
21697 (__ASSUME_DUP3): Likewise.
21698 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21699 (__ASSUME_UTIMES): Likewise.
21700 (__ASSUME_O_CLOEXEC): Likewise.
21701 (__ASSUME_SOCK_CLOEXEC): Likewise.
21702 (__ASSUME_IN_NONBLOCK): Likewise.
21703 (__ASSUME_PIPE2): Likewise.
21704 (__ASSUME_EVENTFD2): Likewise.
21705 (__ASSUME_SIGNALFD4): Likewise.
21706 (__ASSUME_DUP3): Likewise.
21707 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21708 (__ASSUME_UTIMES): Likewise.
21709 (__ASSUME_O_CLOEXEC): Likewise.
21710 (__ASSUME_SOCK_CLOEXEC): Likewise.
21711 (__ASSUME_IN_NONBLOCK): Likewise.
21712 (__ASSUME_PIPE2): Likewise.
21713 (__ASSUME_EVENTFD2): Likewise.
21714 (__ASSUME_SIGNALFD4): Likewise.
21715 (__ASSUME_DUP3): Likewise.
21716 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21717 Likewise.
21718 (__ASSUME_UTIMES): Likewise.
21719 (__ASSUME_EVENTFD2): Likewise.
21720 (__ASSUME_SIGNALFD4): Likewise.
21721 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21722 (__ASSUME_O_CLOEXEC): Likewise.
21723 (__ASSUME_SOCK_CLOEXEC): Likewise.
21724 (__ASSUME_IN_NONBLOCK): Likewise.
21725 (__ASSUME_PIPE2): Likewise.
21726 (__ASSUME_EVENTFD2): Likewise.
21727 (__ASSUME_SIGNALFD4): Likewise.
21728 (__ASSUME_DUP3): Likewise.
21729 (__ASSUME_UTIMES): Undefine.
21730
21731 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21732 feclearexcept. Remove symbol versioning code.
21733 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21734 symbol versioning code.
21735 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21736 symbol versioning code.
21737 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21738 feupdateenv. Remove symbol versioning code.
21739 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21740 fegetexceptflag. Remove symbol versioning code.
21741 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21742 fesetexceptflag. Remove symbol versioning code.
21743 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21744 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21745 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21746 (__posix_fadvise64_l32): Remove prototype.
21747 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21748 code.
21749
21750 2014-05-13 Roland McGrath <roland@hack.frob.com>
21751
21752 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21753 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21754 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21755 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21756
21757 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21758
21759 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21760 current working directory
21761
21762 2014-05-13 Roland McGrath <roland@hack.frob.com>
21763
21764 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21765 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21766 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21767 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21768 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21769 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21770 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21771 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21772 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21773 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21774 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21775 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21776 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21777 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21778 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21779 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21780 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21781 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21782 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21783 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21784 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21785 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21786 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21787 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21788 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21789 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21790 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21791 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21792 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21793 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21794 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21795 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21796 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21797 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21798 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21799 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21800 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21801 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21802 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21803 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21804 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21805 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21806
21807 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21808 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21809
21810 * sysdeps/unix/sysv/linux/arm/Makefile
21811 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21812 Add rt-aeabi_unwind_cpp_pr1.
21813 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21814 Add nptl-aeabi_unwind_cpp_pr1.
21815 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21816 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21817 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21818 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21819 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21820 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21821
21822 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21823 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21824 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21825 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21826
21827 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21828 Deconditionalize the code that was previously under [RESET_PID].
21829 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21830
21831 * sysdeps/generic/exit-thread.h: New file.
21832 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21833 * include/unistd.h (__exit_thread): Remove declaration.
21834 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21835 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21836 * csu/libc-start.c: Include <exit-thread.h>.
21837 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21838 * nptl/pthread_create.c: Include <exit-thread.h>.
21839 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21840 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21841 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21842 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21843 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21844 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21845 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21846 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21847 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21848 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21849 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21850 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21851 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21852 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21853 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21854 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21855 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21856
21857 2014-05-13 Andreas Schwab <schwab@suse.de>
21858
21859 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21860
21861 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21862
21863 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21864 (__ASSUME_UTIMES): Do not condition on kernel version.
21865 (__ASSUME_PSELECT): Define unconditionally.
21866 (__ASSUME_PPOLL): Likewise.
21867 (__ASSUME_ATFCTS): Likewise.
21868 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21869 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21870 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21871 (__ASSUME_UTIMENSAT): Define unconditionally.
21872 (__ASSUME_PRIVATE_FUTEX): Likewise.
21873 (__ASSUME_FALLOCATE): Likewise.
21874 (__ASSUME_O_CLOEXEC): Likewise.
21875 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21876 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21877 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21878 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21879 (__ASSUME_IN_NONBLOCK): Likewise.
21880 (__ASSUME_PIPE2): Likewise.
21881 (__ASSUME_EVENTFD2): Likewise.
21882 (__ASSUME_SIGNALFD4): Likewise.
21883 (__ASSUME_DUP3): Likewise.
21884 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21885 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21886 (__ASSUME_AT_RANDOM): Likewise.
21887 (__ASSUME_PREADV): Likewise.
21888 (__ASSUME_PWRITEV): Likewise.
21889 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21890 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21891 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21892 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21893 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21894 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21895 (__ASSUME_O_CLOEXEC): Define unconditionally.
21896 (__ASSUME_PSELECT): Do not undefine conditionally.
21897 (__ASSUME_PPOLL): Likewise.
21898 (__ASSUME_ATFCTS): Likewise.
21899 (__ASSUME_SET_ROBUST_LIST): Likewise.
21900 (__ASSUME_UTIMENSAT): Likewise.
21901 (__ASSUME_FDATASYNC): Define unconditionally.
21902 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21903 (__ASSUME_SIGFRAME_V2): Likewise.
21904 )__ASSUME_EVENTFD2): Likewise.
21905 (__ASSUME_SIGNALFD4): Likewise.
21906 (__ASSUME_PSELECT): Do not undefine conditionally.
21907 (__ASSUME_PPOLL): Likewise.
21908 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21909 (__ASSUME_PSELECT): Define unconditionally.
21910 (__ASSUME_PPOLL): Likewise.
21911 (__ASSUME_O_CLOEXEC): Likewise.
21912 (__ASSUME_SOCK_CLOEXEC): Likewise.
21913 (__ASSUME_IN_NONBLOCK): Likewise.
21914 (__ASSUME_PIPE2): Likewise.
21915 (__ASSUME_EVENTFD2): Likewise.
21916 (__ASSUME_SIGNALFD4): Likewise.
21917 (__ASSUME_DUP3): Likewise.
21918 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21919 (__ASSUME_O_CLOEXEC): Likewise.
21920 (__ASSUME_SOCK_CLOEXEC): Likewise.
21921 (__ASSUME_IN_NONBLOCK): Likewise.
21922 (__ASSUME_PIPE2): Likewise.
21923 (__ASSUME_EVENTFD2): Likewise.
21924 (__ASSUME_SIGNALFD4): Likewise.
21925 (__ASSUME_DUP3): Likewise.
21926 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21927 (__ASSUME_EVENTFD2): Likewise.
21928 (__ASSUME_SIGNALFD4): Likewise.
21929 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21930
21931 2014-05-12 Andreas Schwab <schwab@suse.de>
21932
21933 [BZ #16932]
21934 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21935 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21936 than maximum RPC packet size.
21937 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21938 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21939 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21940 (_nss_nis_getservbyport_r): Likewise.
21941
21942 2014-05-12 Will Newton <will.newton@linaro.org>
21943
21944 * malloc/Makefile (tests): Add tst-mallopt.
21945 * malloc/tst-mallopt.c: New file.
21946
21947 2014-05-09 Roland McGrath <roland@hack.frob.com>
21948
21949 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21950 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21951
21952 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21953
21954 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21955 (tst-tlsmod6.so): Likewise.
21956
21957 2014-05-09 Roland McGrath <roland@hack.frob.com>
21958
21959 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21960
21961 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21962
21963 [BZ #16064]
21964 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21965 and <dl-procinfo.h>.
21966 (__fegetenv): Save SSE state in envp->__eip if supported.
21967 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21968 envp->__eip if supported.
21969 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21970 and <dl-procinfo.h>.
21971 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21972 __data_offset and __data_selector in environment to 0. Set SSE
21973 state if supported.
21974 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21975 test-fenv-sse.
21976 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21977 -mfpmath=sse.
21978 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21979
21980 2014-05-09 Will Newton <will.newton@linaro.org>
21981
21982 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21983 and libc_relro_required for ARM.
21984 * sysdeps/arm/preconfigure: Regenerate.
21985
21986 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21987 Stefan Liebler <stli@linux.vnet.ibm.com>
21988
21989 * config.make.in (enable-lock-elision): New Makefile variable.
21990 * configure.ac: Likewise.
21991 * configure: Regenerate.
21992 * sysdeps/s390/configure.ac:
21993 Add check for gcc transactions support.
21994 * sysdeps/s390/configure: Regenerate.
21995 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21996 Build elision files if enabled.
21997 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21998 Add lock elision support for s390.
21999 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22000 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22001 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22002 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22003 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22004 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22005 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22006 Likewise.
22007 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22008 Likewise.
22009 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22010 Likewise.
22011 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22012 Likewise.
22013 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22014 (__lll_timedlock_elision, __lll_lock_elision)
22015 (__lll_unlock_elision, __lll_trylock_elision)
22016 (lll_timedlock_elision, lll_lock_elision)
22017 (lll_unlock_elision, lll_trylock_elision): Add.
22018 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22019 (pthread_mutex_t): Add lock elision support for s390.
22020
22021 2014-05-14 Wilco <wdijkstr@arm.com>
22022
22023 * sysdeps/arm/fclrexcpt.c: Cleanup.
22024 * sysdeps/arm/fedisblxcpt.c: Cleanup.
22025 * sysdeps/arm/feenablxcpt.c: Cleanup.
22026 * sysdeps/arm/fegetenv.c: Cleanup.
22027 * sysdeps/arm/fegetexcept.c: Cleanup.
22028 * sysdeps/arm/fegetround.c: Cleanup.
22029 * sysdeps/arm/feholdexcpt.c: Cleanup.
22030 * sysdeps/arm/fesetenv.c: Cleanup.
22031 * sysdeps/arm/fesetround.c: Cleanup.
22032 * sysdeps/arm/feupdateenv.c: Cleanup.
22033 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22034 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22035 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22036 * sysdeps/arm/ftestexcept.c: Cleanup.
22037 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22038 * sysdeps/arm/setfpucw.c: Cleanup.
22039
22040 2014-05-09 Will Newton <will.newton@linaro.org>
22041
22042 * sysdeps/arm/armv7/strcmp.S: New file.
22043 * NEWS: Mention addition of ARMv7 optimized strcmp.
22044
22045 2014-05-08 Roland McGrath <roland@hack.frob.com>
22046
22047 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22048 look for %.ac rather than %.in.
22049
22050 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22051 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22052 * sysdeps/mach/hurd/configure: Regenerated.
22053 * sysdeps/unix/sysv/linux/configure: Regenerated.
22054
22055 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22056
22057 2014-05-07 Steve Ellcey <sellcey@mips.com>
22058
22059 [BZ# 16922]
22060 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22061 (LONG_SUB): Ditto.
22062 (PTR_SUB): Ditto.
22063
22064 2014-05-07 Andreas Schwab <schwab@suse.de>
22065
22066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22067 when skipping over non-matching result from nscd.
22068
22069 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22070
22071 [BZ #16876]
22072 * nptl/sockperf.c (client): Check socket return value.
22073
22074 [BZ #16877]
22075 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22076 nscd security class.
22077
22078 2014-05-06 Roland McGrath <roland@hack.frob.com>
22079
22080 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22081 * sysdeps/arm/unwind.h: ... here.
22082
22083 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22084
22085 [BZ# 16916]
22086 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22087 Define.
22088
22089 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22090
22091 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22092 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22093 multiarch strncpy for PPC64.
22094 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22095 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22097 multiarch optimizations.
22098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22099 (__libc_ifunc_impl_list): Likewise.
22100 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22101 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22102 multiarch stpncpy for PPC64.
22103 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22104 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22105
22106 2014-05-06 Andreas Schwab <schwab@suse.de>
22107
22108 [BZ #16912]
22109 * gmon/mcount.c (_MCOUNT_DECL): Use
22110 atomic_compare_and_exchange_bool_acq instead of
22111 catomic_compare_and_exchange_bool_acq.
22112
22113 2014-05-05 Roland McGrath <roland@hack.frob.com>
22114
22115 * elf/Makefile (others, install-bin): Remove pldd.
22116 (pldd-modules): Variable removed.
22117 ($(objpfx)pldd): Target removed.
22118 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22119 (others, install-bin): Append pldd here.
22120 ($(objpfx)pldd): New target.
22121
22122 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22123 to 0, so the first #if test emitted later doesn't see it undefined.
22124 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22125 * sysdeps/gnu/errlist.c: Regenerated.
22126
22127 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22128
22129 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22130 [libc_hidden_builtin_def]: Define to empty value.
22131 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22132 [libc_hidden_builtin_def]: Likewise.
22133 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22134 [libc_hidden_builtin_def]: Likewise.
22135 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22136 [libc_hidden_builtin_def]: Likewise.
22137 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22138 __redirect_memcpy and define ifunc as default hidden symbol.
22139 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22140 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22141
22142 2014-05-04 Adam Conrad <adconrad@0c3.net>
22143
22144 * locale/iso-4217.def: Reintroduce XDR currency.
22145
22146 2014-05-04 Allan McRae <allan@archlinux.org>
22147
22148 * po/eo.po: Update Esperanto translation from translation project.
22149
22150 2014-05-02 Carlos O'Donell <carlos@redhat.com>
22151
22152 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22153 and FEATURE_INDEX_MAX to 1.
22154 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22155
22156 2014-05-01 Steve Ellcey <sellcey@mips.com>
22157
22158 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22159 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22160 * iconvdata/big5.c (ONE_DIRECTION): Define.
22161 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22162 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22163 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22164 * iconvdata/cp932.c (ONE_DIRECTION): Define.
22165 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22166 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22167 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22168 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22169 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22170 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22171 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22172 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22173 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22174 * iconvdata/gbk.c (ONE_DIRECTION): Define.
22175 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22176 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22177 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22178 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22179 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22180 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22181 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22182 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22183 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22184 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22185 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22186 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22187 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22188 * iconvdata/iso646.c (ONE_DIRECTION): Define.
22189 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22190 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22191 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22192 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22193 * iconvdata/johab.c (ONE_DIRECTION): Define.
22194 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22195 * iconvdata/sjis.c (ONE_DIRECTION): Define.
22196 * iconvdata/t.61.c (ONE_DIRECTION): Define.
22197 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22198 * iconvdata/tscii.c (ONE_DIRECTION): Define.
22199 * iconvdata/uhc.c (ONE_DIRECTION): Define.
22200 * iconvdata/unicode.c (ONE_DIRECTION): Define.
22201 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22202 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22203 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22204
22205 2014-05-01 Roland McGrath <roland@hack.frob.com>
22206
22207 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22208 (_IO_JUMPS_OFFSET): Define to 0.
22209
22210 * nptl/sysdeps/pthread/bits/libc-lock.h
22211 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22212 (__libc_lock_define_initialized_recursive): Always define using
22213 initializer. Modern compilers treat uninitialized (implicit zero) and
22214 explicit zero initializers the same (i.e. put the datum in bss).
22215
22216 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22217
22218 * nscd/nscd-client.h: Include <string.h>.
22219
22220 2014-05-01 David S. Miller <davem@davemloft.net>
22221
22222 [BZ #16885]
22223 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22224 multiple zero bytes exist at the end of a string.
22225 Reported by Aurelien Jarno <aurelien@aurel32.net>
22226
22227 * string/test-strcmp.c (check): Add explicit test for situations where
22228 there are multiple zero bytes after the first.
22229
22230 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22231
22232 [BZ #16890]
22233 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22234 when compiling wprintf.
22235 * stdio-common/tstdiomisc.c (t3): New function.
22236 (main): Call it.
22237
22238 2014-05-01 Steve Ellcey <sellcey@mips.com>
22239
22240 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22241 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22242 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22243 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22244
22245 2014-05-01 Steve Ellcey <sellcey@mips.com>
22246
22247 * stdlib/longlong.h: Updated from GCC.
22248
22249 2014-05-01 Will Newton <will.newton@linaro.org>
22250 Bernard Ogden <bernie.ogden@linaro.org>
22251
22252 * NEWS: Update fixed bug list.
22253
22254 [BZ #15119]
22255 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22256
22257 2014-04-30 David S. Miller <davem@davemloft.net>
22258
22259 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22260 (libc_feholdexcept_setround_sparc_ctx): New function.
22261 (libc_fesetenv_sparc_ctx): Likewise.
22262 (libc_feupdateenv_sparc_ctx): Likewise.
22263 (libc_feholdsetround_sparc_ctx): Likewise.
22264 (libc_feholdexcept_setround_ctx): Define.
22265 (libc_feholdexcept_setroundf_ctx): Likewise.
22266 (libc_feholdexcept_setroundl_ctx): Likewise.
22267 (libc_fesetenv_ctx): Likewise.
22268 (libc_fesetenvf_ctx): Likewise.
22269 (libc_fesetenvl_ctx): Likewise.
22270 (libc_feupdateenv_ctx): Likewise.
22271 (libc_feupdateenvf_ctx): Likewise.
22272 (libc_feupdateenvl_ctx): Likewise.
22273 (libc_feresetround_ctx): Likewise.
22274 (libc_feresetroundf_ctx): Likewise.
22275 (libc_feresetroundl_ctx): Likewise.
22276 (libc_feholdsetround_ctx): Likewise.
22277 (libc_feholdsetroundf_ctx): Likewise.
22278 (libc_feholdsetroundl_ctx): Likewise.
22279
22280 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22281 with __USE_GNU instead of XOPEN cpp guards.
22282
22283 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22284 0.
22285
22286 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22287 with XOPEN cpp guards.
22288
22289 2014-04-30 Julian Brown <julian@codesourcery.com>
22290
22291 [BZ #16888]
22292 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22293 handling.
22294
22295 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22296
22297 [BZ #9894]
22298 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22299 Change to 2.6.32.
22300 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22301 * sysdeps/unix/sysv/linux/configure: Regenerated.
22302 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22303 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22304 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22305 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22306 * README: Update reference to required Linux kernel version.
22307 * manual/install.texi (Linux): Update reference to required Linux
22308 kernel headers version.
22309 * INSTALL: Regenerated.
22310
22311 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22312 header inclusion.
22313 [POSIX] (limits.h): Likewise.
22314 [POSIX] (math.h): Likewise.
22315 [POSIX] (sys/wait.h): Likewise.
22316 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22317 function.
22318 [POSIX] (stddef.h): Do not allow header inclusion.
22319
22320 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22321
22322 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22323
22324 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22325
22326 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22327 Return immediately after lll_futex_wake.
22328
22329 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22330
22331 [BZ #16791]
22332 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22333 structure.
22334 (datahead_init_pos): Call datahead_init_common early.
22335 (datahead_init_neg): Likewise.
22336
22337 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22338 datahead_init_neg): New functions.
22339 * nscd/aicache.c (addhstaiX): Use them.
22340 * nscd/grpcache.c (cache_addgr): Likewise.
22341 * nscd/hstcache.c (cache_addhst): Likewise.
22342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22343 * nscd/netgroupcache.c (do_notfound): Likewise.
22344 (addgetnetgrentX): Likewise.
22345 (addinnetgrX): Likewise.
22346 * nscd/pwdcache.c (cache_addpw): Likewise.
22347 * nscd/servicescache.c (cache_addserv): Likewise.
22348
22349 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22350 Atsushi Onoe <atsushi@onoe.org>
22351
22352 [BZ #14308]
22353 [BZ #12994]
22354 [BZ #13651]
22355 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22356 one response is valid.
22357 * resolv/res_send.c (send_dg): Check for validity of other
22358 response if the current response is a referral.
22359
22360 2014-04-29 Steve Ellcey <sellcey@mips.com>
22361
22362 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22363
22364 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22365
22366 [BZ #16823]
22367 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22368 Always divide by positive zero when computing -Inf result.
22369 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22370 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22371
22372 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22373
22374 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22375 FPSCR if value do not change.
22376 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22377 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22378 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22379 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22380 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22381 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22382 function.
22383
22384 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22385
22386 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22387 * sysdeps/unix/sysv/linux/hppa: Move directory from
22388 ports/systeps/unix/sysv/linux/hppa.
22389 * README: Update listing for hppa-*-linux-gnu.
22390
22391 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22392
22393 [BZ #16754]
22394 * manual/stdio.texi (Hook functions): Fix types of stream hook
22395 functions.
22396 [BZ #16854]
22397 * socket/sys/socket.h: Fix typo in comment.
22398
22399 2014-04-28 Wilco <wdijkstr@arm.com>
22400
22401 * sysdeps/arm/fenv_private.h: New file.
22402 * sysdeps/arm/math_private.h: New file.
22403 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22404
22405 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22406
22407 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22408 with __int128_t.
22409 (La_x86_64_retval): Likewise.
22410
22411 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22412
22413 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22414 fpsr if value didn't change.
22415 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22416 to fpcr if value didn't change.
22417 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22418 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22419 fpsr or fpcr if value didn't change.
22420 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22421 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22422 fpcr if value didn't change.
22423 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22424 to fpsr if value didn't change.
22425
22426 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22427
22428 * nptl/tst-sem3.c: Use test-skeleton.c
22429 (main): Rename to do_test. Use return instead of
22430 exit.
22431 * nptl/tst-sem4.c: Use test-skeleton.c
22432 (main): Rename to do_test.
22433
22434 2014-04-22 David S. Miller <davem@davemloft.net>
22435
22436 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22437 (struct sigaction): New struct member __glibc_reserved0, change
22438 type of sa_flags to int.
22439
22440 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22441
22442 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22443 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22444
22445 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22446
22447 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22448 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22449
22450 2014-04-22 Will Newton <will.newton@linaro.org>
22451 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22452
22453 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22454 (__longjmp): Add longjmp and longjmp_target SystemTap
22455 probes.
22456 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22457 (__sigsetjmp): Add setjmp SystemTap probe.
22458
22459 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22460
22461 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22462 match manual order.
22463
22464 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22465
22466 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22467
22468 * sysdeps/powerpc/fpu/fenv_private.h
22469 (libc_feholdexcept_setroundl_ctx): Define to
22470 libc_feholdexcept_setround_ppc_ctx.
22471 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22472 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22473 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22474 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22475
22476 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22477
22478 * sysdeps/aarch64/math-tests.h: New file.
22479
22480 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22481
22482 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22483 New.
22484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22485 Check and set bit_AVX2_Usable.
22486 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22487 macro.
22488 (bit_AVX2): Likewise.
22489 (index_AVX2_Usable): Likewise.
22490 (CPUID_AVX2): Likewise.
22491 (HAS_AVX2): Likewise.
22492
22493 2014-04-17 Will Newton <will.newton@linaro.org>
22494
22495 * manual/setjmp.texi (System V contexts): Add note that
22496 calling setcontext on a context created by a call to a
22497 signal handler is undefined. Update text to note that
22498 setcontext from a signal handler is possible but not
22499 recommended.
22500
22501 [BZ #16629]
22502 * stdlib/tst-setcontext.c: Include signal.h.
22503 (main): Check that the signal stack before and
22504 after swapcontext is the same.
22505
22506 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22507 Re-implement to restore registers in user code and avoid
22508 rt_sigreturn system call.
22509
22510 2014-04-17 Wilco <wdijkstr@arm.com>
22511
22512 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22513 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22514 * math/test-fenv.c: Skip exception trap tests on targets which only
22515 support non-stop mode.
22516
22517 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22518 Wilco Dijkstra <wilco.dijkstra@arm.com>
22519
22520 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22521 (libc_feholdsetround_aarch64_ctx)
22522 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22523 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22524 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22525 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22526 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22527 (libc_feresetround_noexl_ctx): Define.
22528
22529 2014-04-16 Richard Henderson <rth@redhat.com>
22530
22531 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22532
22533 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22534 unwind tables.
22535
22536 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22537 const from the non-libc, non-ldso copy.
22538
22539 * sysdeps/alpha/libm-test-ulps: Regenerate.
22540
22541 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22542 Wilco Dijkstra <wilco.dijkstra@arm.com>
22543
22544 * sysdeps/aarch64/fpu/math_private.h: New file.
22545
22546 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22547
22548 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22549
22550 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22551
22552 [BZ #16275]
22553 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22554 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22555 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22556 Intel MPX bound registers before _dl_profile_fixup.
22557 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22558 registers after _dl_profile_fixup. Save and restore bound
22559 registers bnd0/bnd1 when calling _dl_call_pltexit.
22560 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22561 (LR_BND_OFFSET): Likewise.
22562 (LRV_BND0_OFFSET): Likewise.
22563 (LRV_BND1_OFFSET): Likewise.
22564
22565 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22566
22567 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22568 to...
22569 * sysdeps/mach/hurd/i386/tls.h: ... here.
22570 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22571 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22572 fields.
22573
22574 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22575
22576 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22577
22578 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22579
22580 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22581
22582 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22583
22584 [BZ #14770]
22585 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22586 * sysdeps/s390/configure: Regenerate.
22587
22588 [BZ #16824]
22589 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22590 Set round-to-nearest internally to reduce error accumulation.
22591
22592 2014-04-16 Alan Modra <amodra@gmail.com>
22593
22594 [BZ #16740]
22595 [BZ #16619]
22596 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22597 * math/libm-test.inc (frexp_test_data): Add tests.
22598 * NEWS: Update fixed bug list.
22599
22600 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22601
22602 * benchtests/Makefile: Depend on libraries in build directory.
22603 (bench-math): Separate out math tests.
22604 (bench-pthread): Separate out pthread tests.
22605 (bench): Include math and pthread tests.
22606
22607 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22608
22609 [BZ #16831]
22610 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22611 _dl_debug_initialize.
22612
22613 * configure.ac: Remove SELinux header check.
22614 * configure: Regenerate.
22615 * nscd/selinux.c (perms): Array of const char* to permission names.
22616 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22617 default policy. Call string_to_security_class and string_to_av_perm to
22618 translate strings. Enforce default policy and call avs_has_perm with
22619 results of translated strings.
22620
22621 2014-04-13 David S. Miller <davem@davemloft.net>
22622
22623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22624
22625 2014-04-12 Allan McRae <allan@archlinux.org>
22626
22627 [BZ #16838]
22628 * manual/string.texi (Collation Functions): Fix qsort argument
22629 order in example.
22630 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22631
22632 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22633
22634 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22635 Make the test a no-op if there are no exceptions defined.
22636
22637 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22638
22639 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22640 enable-hardcoded-path-in-tests
22641
22642 2014-04-11 Will Newton <will.newton@linaro.org>
22643
22644 * benchtests/Makefile (extra-objs): Add json-lib.o.
22645 (bench-func): Tidy up JSON output.
22646 * benchtests/bench-skeleton.c: Include json-lib.h.
22647 (main): Use JSON library functions to do output of
22648 benchmark results.
22649 * benchtests/bench-timing-type.c (main): Output the
22650 timing type simply, leaving formatting to the user.
22651 * benchtests/json-lib.c: New file.
22652 * benchtests/json-lib.h: Likewise.
22653
22654 2014-04-11 Torvald Riegel <triegel@redhat.com>
22655
22656 [BZ #15215]
22657 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22658 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22659 memory barriers. Add comments.
22660 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22661 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22662 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22663 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22664 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22665 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22666
22667 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22668
22669 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22670 * sysdeps/s390/s390-64/configure.ac: ... this ...
22671 * sysdeps/s390/configure.ac: ... to here.
22672 * sysdeps/s390/s390-32/configure: Delete file.
22673 * sysdeps/s390/s390-64/configure: Delete file.
22674 * sysdeps/s390/configure: Regenerate.
22675
22676 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22677
22678 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22679
22680 2014-04-11 Will Newton <will.newton@linaro.org>
22681
22682 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22683 to zero if it is not defined elsewhere. (mtrim): Test
22684 the value of MALLOC_DEBUG with #if rather than #ifdef.
22685
22686 2014-04-10 Torvald Riegel <triegel@redhat.com>
22687
22688 * benchtests/pthread_once-inputs: New file.
22689 * benchtests/pthread_once-source.c: New file.
22690 * benchtests/README: Update documentation.
22691
22692 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22693 H.J. Lu <hongjiu.lu@intel.com>
22694
22695 [BZ #16275]
22696 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22697 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22698 * sysdeps/x86_64/configure: Regenerated.
22699 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22700 macro.
22701 (REGISTER_SAVE_RAX): Likewise.
22702 (REGISTER_SAVE_RCX): Likewise.
22703 (REGISTER_SAVE_RDX): Likewise.
22704 (REGISTER_SAVE_RSI): Likewise.
22705 (REGISTER_SAVE_RDI): Likewise.
22706 (REGISTER_SAVE_R8): Likewise.
22707 (REGISTER_SAVE_R9): Likewise.
22708 (REGISTER_SAVE_BND0): Likewise.
22709 (REGISTER_SAVE_BND1): Likewise.
22710 (REGISTER_SAVE_BND2): Likewise.
22711 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22712 bound registers when calling _dl_fixup.
22713
22714 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22715
22716 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22717 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22718 of its definition.
22719 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22720 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22721 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22722 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22723 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22724 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22725 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22726
22727 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22728
22729 [BZ #15514]
22730 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22731 pathconf(_PC_NAME_MAX).
22732
22733 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22734
22735 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22736 Remove macro usage.
22737 (__PTHREAD_SPINS): Move definition to ...
22738 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22739 (__PTHREAD_SPINS): ... here.
22740 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22741 (__PTHREAD_SPIN): Likewise.
22742 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22743 (__PTHREAD_SPIN): Likewise.
22744 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22745 (__PTHREAD_SPIN): Likewise.
22746 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22747 (__PTHREAD_SPIN): Likewise.
22748 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22749 (__PTHREAD_SPIN): Likewise.
22750 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22751 (__PTHREAD_SPIN): Likewise.
22752 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22753 (__PTHREAD_SPIN): Likewise.
22754 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22755 (__PTHREAD_SPIN): Likewise.
22756 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22757 (__PTHREAD_SPIN): Likewise.
22758 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22759 (__PTHREAD_SPIN): Likewise.
22760 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22761 (__PTHREAD_SPIN): Likewise.
22762 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22763 (__PTHREAD_SPIN): Likewise.
22764
22765 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22766 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22767 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22768 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22769 imply folder.
22770 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22771 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22772 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22773 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22774 correct imply path.
22775 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22776 strlen symbol for non multi-arch builds.
22777 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22778 missing hidden_def and weak_alias.
22779
22780 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22781
22782 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22783
22784 2014-04-07 Will Newton <will.newton@linaro.org>
22785
22786 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22787 and contents. [!_LIBC] Remove #ifndef and contents.
22788 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22789 * string/memccpy.c (__memccpy): Use ANSI prototype.
22790 * string/memfrob.c (memfrob): Likewise.
22791 * string/strcoll.c (STRCOLL): Likewise.
22792 * string/strlen.c (strlen): Likewise.
22793 * string/strtok.c (STRTOK): Likewise.
22794 * string/strcat.c: Remove unused #include of memcopy.h.
22795 (strcat): Use ANSI prototype.
22796 * string/strchr.c: Remove unused #include of memcopy.h.
22797 (strchr): Use ANSI prototype.
22798 * string/strcmp.c: Remove unused #include of memcopy.h.
22799 (strcmp): Use ANSI prototype.
22800 * string/strcpy.c: Remove unused #include of memcopy.h.
22801 (strcpy): Use ANSI prototype.
22802
22803 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22804
22805 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22806 * config.make.in (config-extra-cppflags): Set it from
22807 libc_extra_cppflags.
22808 * configure.ac (libc_extra_cflags): Make it accumulate over
22809 configure fragments.
22810 (libc_extra_cppflags): New flag.
22811 * configure. Regenerate.
22812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22813 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22814 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22816
22817 [BZ #16815]
22818 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22819 result for FE_DOWNWARD rounding mode.
22820 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22821 Likewise.
22822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22823
22824 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22825
22826 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22827 in function argument name.
22828
22829 2014-04-03 David Svoboda <svoboda@cert.org>
22830
22831 [BZ #5666]
22832 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22833 explicitly.
22834
22835 2014-04-03 Roland McGrath <roland@hack.frob.com>
22836
22837 * elf/dl-unmap-segments.h: New file.
22838 * sysdeps/generic/ldsodefs.h
22839 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22840 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22841 * elf/dl-fptr.c: Likewise.
22842 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22843 * sysdeps/aarch64/tlsdesc.c: Likewise.
22844 * sysdeps/arm/tlsdesc.c: Likewise.
22845 * sysdeps/i386/tlsdesc.c: Likewise.
22846 * sysdeps/tile/dl-runtime.c: Likewise.
22847 * sysdeps/x86_64/tlsdesc.c: Likewise.
22848 * elf/dl-load.h: New file.
22849 * elf/dl-load.c: Include it.
22850 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22851 Macros moved to dl-load.h.
22852 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22853 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22854 Use _dl_unmap_segments in place of __munmap.
22855 Break out segment-mapping loop into ...
22856 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22857
22858 2014-04-03 Will Newton <will.newton@linaro.org>
22859
22860 * elf/dl-lookup.c (do_lookup_x): Remove comment
22861 referring to nested function and move variable
22862 declarations down to before first use.
22863
22864 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22865
22866 [BZ #16799]
22867 [BZ #16800]
22868 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22869 with 0 numerator.
22870 * math/s_catanf.c (__catanf): Likewise.
22871 * math/s_catanh.c (__catanh): Likewise.
22872 * math/s_catanhf.c (__catanhf): Likewise.
22873 * math/s_catanhl.c (__catanhl): Likewise.
22874 * math/s_catanl.c (__catanl): Likewise.
22875 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22876 by positive zero when computing -Inf result.
22877 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22878 (catanh_test): Likewise.
22879 * sysdeps/i386/fpu/libm-test-ulps: Update.
22880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22881
22882 [BZ #16789]
22883 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22884 instead of using underflowing value in computing result.
22885 * math/s_clog10.c (__clog10): Likewise.
22886 * math/s_clog10f.c (__clog10f): Likewise.
22887 * math/s_clog10l.c (__clog10l): Likewise.
22888 * math/s_clogf.c (__clogf): Likewise.
22889 * math/s_clogl.c (__clogl): Likewise.
22890 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22891 (clog10_test): Likewise.
22892 * sysdeps/i386/fpu/libm-test-ulps: Update.
22893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22894
22895 2014-04-02 Alan Modra <amodra@gmail.com>
22896
22897 [BZ #16739]
22898 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22899 output when value is near a power of two. Use int64_t for lx and
22900 remove casts. Use decimal rather than hex exponent constants.
22901 Don't use long double multiplication when double will suffice.
22902 * math/libm-test.inc (nextafter_test_data): Add tests.
22903 * NEWS: Add 16739 and 16786 to bug list.
22904
22905 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22906
22907 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22908
22909 2014-04-01 Will Newton <will.newton@linaro.org>
22910
22911 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22912 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22913
22914 2014-04-01 Florian Weimer <fweimer@redhat.com>
22915
22916 [BZ #13347]
22917 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22918 * nptl/tst-setuid2.c: New file.
22919 * nptl/Makefile (xtests): Add tst-setuid2.
22920
22921 2014-04-01 Alan Modra <amodra@gmail.com>
22922
22923 [BZ #16786]
22924 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22925
22926 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22927
22928 [BZ #6803]
22929 [BZ #6804]
22930 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22931 set errno as appropriate.
22932 * math/w_scalbf.c (__scalbf): Likewise.
22933 * math/w_scalbl.c (__scalbl): Likewise.
22934 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22935 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22936 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22937 Add more NaN tests.
22938
22939 [BZ #16349]
22940 * math/w_atan2.c: Include <errno.h>.
22941 (__atan2): Set errno for result underflowing to zero.
22942 * math/w_atan2f.c: Include <errno.h>.
22943 (__atan2f): Set errno for result underflowing to zero.
22944 * math/w_atan2l.c: Include <errno.h>.
22945 (__atan2l): Set errno for result underflowing to zero.
22946 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22947 tests.
22948 * math/auto-libm-test-out: Regenerated.
22949
22950 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22951
22952 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22953 Encode instruction correctly in little endian.
22954 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22955 Likewise.
22956 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22957 Likewise.
22958 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22959 Likewise.
22960 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22961 Likewise.
22962
22963 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22964
22965 [BZ #9894]
22966 * sysdeps/unix/sysv/linux/kernel-features.h
22967 [__sparc__ && !__arch64__ && !__sparc_v9__]
22968 (__ASSUME_SET_ROBUST_LIST): Do not define.
22969 [__sparc__ && !__arch64__ && !__sparc_v9__]
22970 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22971 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22972 Likewise.
22973 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22974 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22975 (__ASSUME_REQUEUE_PI): Likewise.
22976 (__ASSUME_SET_ROBUST_LIST): Likewise.
22977 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22978 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22979 Undefine.
22980 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22981 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22982 Likewise.
22983 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22984 Likewise.
22985 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22986 Likewise.
22987 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22988 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22989 Undefine.
22990 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22991 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22992 Likewise.
22993
22994 [BZ #16648]
22995 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22996 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22997 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22998
22999 2014-03-31 Will Newton <will.newton@linaro.org>
23000
23001 * benchtests/Makefile (bench): Add ffs and ffsll to list
23002 of tests.
23003 * benchtests/ffs-inputs: New file.
23004 * benchtests/ffsll-inputs: Likewise.
23005
23006 2014-03-29 Joseph Myers <joseph@codesourcery.com>
23007
23008 [BZ #16770]
23009 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23010 too large before casting to int.
23011 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23012 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23013 * math/libm-test.inc (scalb_test_data): Add more tests.
23014
23015 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23016
23017 * benchtests/Makefile (DETAILED_OPT): New make option.
23018 (bench-func): Run benchmark program with -d if DETAILED_OPT is
23019 set.
23020 * benchtests/bench-skeleton.c: Include stdbool.h.
23021 (main): Store and print timings per input.
23022 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23023 member to each argument value.
23024 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23025 (_print_arg_data): Initialize per-input timing to 0.
23026
23027 * benchtests/Makefile (timing-type): New binary.
23028 (bench-clean): Also remove bench-timing-type.
23029 (bench): New target for timing-type.
23030 (bench-func): Print output in JSON format.
23031 * benchtests/bench-skeleton.c (main): Print output in JSON
23032 format.
23033 * benchtests/bench-timing-type.c: New file.
23034 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23035 (TIMING_PRINT_STATS): Remove.
23036 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23037 name separately.
23038
23039 * benchtests/bench-modf.c: Remove.
23040 * benchtests/modf-inputs: New inputs file.
23041
23042 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23043
23044 [BZ #16362]
23045 * math/s_clog10.c (M_PI_LOG10E): New macro.
23046 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23047 imaginary parts are 0.
23048 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23049 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23050 imaginary parts are 0.
23051 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23052 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23053 imaginary parts are 0.
23054 * math/libm-test.inc (clog10_test_data): Update expected results
23055 for when real and imaginary parts are 0.
23056
23057 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23058
23059 * elf/dl-load.c: Finish conversion of __builtin_expect into
23060 __glibc_{un}likely.
23061
23062 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23063
23064 [BZ #16348]
23065 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23066 1+x for argument with exponent below -67.
23067 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23068 Likewise.
23069 * math/auto-libm-test-in: Add more tests of exp.
23070 * math/auto-libm-test-out: Regenerated.
23071
23072 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23073
23074 [BZ #16759]
23075 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23076 (nscd_getnetgrent): Use it.
23077
23078 [BZ #16760]
23079 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23080 of stpcpy.
23081
23082 2014-03-27 Andi Kleen <ak@linux.intel.com>
23083
23084 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23085 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23086 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23087 (lll_robust_unlock): Remove out of line section. Use cfi
23088 intrinsics.
23089 (LLL_STUB_UNWIND_INFO*): Remove.
23090 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23091 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23092 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23093 (lll_robust_unlock): Remove out of line section. Use cfi
23094 intrinsics.
23095 (LLL_STUB_UNWIND_INFO*): Remove.
23096
23097 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23098
23099 [BZ #16758]
23100 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23101 blank values.
23102
23103 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23104
23105 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23106
23107 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23108
23109 [BZ #16198]
23110 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23111 fnstenv.
23112 * math/test-fenv-preserve.c: New file.
23113 * math/Makefile (tests): Add test-fenv-preserve.
23114
23115 2014-03-26 Will Newton <will.newton@linaro.org>
23116
23117 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23118
23119 2014-03-25 Roland McGrath <roland@hack.frob.com>
23120
23121 * scripts/versionlist.awk: Partition the version sets and emit all
23122 GLIBC_* (sorted) before all others (sorted).
23123
23124 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23125
23126 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23127 GLIBC_2.2.5 version.
23128
23129 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23130
23131 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23132 calls.
23133
23134 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23135 previous change.
23136
23137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23138
23139 2014-03-25 Andreas Schwab <schwab@suse.de>
23140
23141 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23142 label to be used after in6ailist is initialized.
23143
23144 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23145
23146 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23147 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23148
23149 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23150
23151 [BZ #16357]
23152 [BZ #16599]
23153 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23154 min_plus_half.
23155 (fp_formats): Update initializers.
23156 (init_fp_formats): Initialize new field.
23157 (output_for_one_input_case): Allow underflow for results up to
23158 min_plus_half.
23159 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23160 * math/auto-libm-test-in: Don't mark some underflows from asin and
23161 atanh as spurious.
23162 * math/auto-libm-test-out: Regenerated.
23163 * sysdeps/i386/fpu/libm-test-ulps: Update.
23164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23165
23166 2014-03-25 Andreas Schwab <schwab@suse.de>
23167
23168 * libio/Makefile (tst-ftell-partial-wide-ENV)
23169 (tst-ftell-active-handler-ENV): Define.
23170
23171 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23172
23173 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23174
23175 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23176
23177 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23178
23179 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23180
23181 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23182 * sysdeps/x86_64/fpu/multiarch/e_exp.c
23183 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23184
23185 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23186
23187 [BZ #16634]
23188 * elf/dl-load.c (open_verify): Add mode parameter.
23189 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23190 (open_path): Change from boolean 'secure' to complete flag 'mode'
23191 (_dl_map_object): Adjust.
23192 * elf/Makefile (tests): Add tst-dlopen-aout.
23193 * elf/tst-dlopen-aout.c: New test.
23194
23195 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23196
23197 [BZ #16714]
23198 * sysdeps/unix/sysv/linux/s390/bits/stat.h
23199 (struct stat): Rename member pad0 to __glibc_reserved0.
23200
23201 [BZ #16712]
23202 * sysdeps/s390/s390-32/bits/wordsize.h
23203 (__WORDSIZE32_SIZE_ULONG): New define.
23204 * sysdeps/s390/s390-64/bits/wordsize.h
23205 (__WORDSIZE32_SIZE_ULONG): Likewise.
23206 * sysdeps/generic/stdint.h (SIZE_MAX):
23207 Define as UL if __WORDSIZE32_SIZE_ULONG.
23208
23209 [BZ #16713]
23210 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23211 (__glibc_reserved0): New variable.
23212 (sa_flags): Change type to int.
23213
23214 * posix/Makefile (before-compile): Use += before-compile instead
23215 of a :=.
23216
23217 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23218 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23219
23220 2014-03-20 Andreas Schwab <schwab@suse.de>
23221
23222 [BZ #16743]
23223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23224 non-matching result from nscd.
23225
23226 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23227
23228 * scripts/bench.py: Moved to ...
23229 * benchtests/scripts/bench.py: ... here.
23230 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23231
23232 2014-03-24 Andreas Schwab <schwab@suse.de>
23233
23234 [BZ #16002]
23235 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23236 alloca_account and account alloca use for struct in6ailist.
23237
23238 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23239
23240 [BZ #16284]
23241 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23242 rounding mode to recompute results that overflow to infinity or
23243 underflow to zero.
23244 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23245 bug 16284.
23246 * math/auto-libm-test-out: Regenerated.
23247 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23248 (ccosh_test): Likewise.
23249 (csin_test_data): Use plus_oflow.
23250 (csin_test): Use ALL_RM_TEST.
23251 (csinh_test_data): Use plus_oflow.
23252 (csinh_test): Use ALL_RM_TEST.
23253 * sysdeps/i386/fpu/libm-test-ulps: Update.
23254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23255
23256 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23257
23258 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23259 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23260 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23261
23262 [BZ #16731]
23263 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23264 when x - 1 is zero.
23265 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23266 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23267 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23268 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23269 argument is 1.
23270 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23271 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23272 zero.
23273 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23274 * sysdeps/i386/fpu/libm-test-ulps: Update.
23275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23276
23277 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23278
23279 * scripts/bench.pl: Remove file.
23280 * scripts/bench.py: New benchmark script.
23281 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23282 * benchtests/README: Mention python dependency.
23283 * scripts/pylintrc: New file.
23284 * scripts/pylint: New file.
23285
23286 * bits/mathdef.h: Use #ifdef instead of #if.
23287 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23288 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23289 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23290 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23291 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23292 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23293
23294 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23295 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23296
23297 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23299 and strpbrk-ppc64 objects.
23300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23301 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23302 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23303 multiarch strpbrk for POWER7.
23304 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23305 multiarch strpbrk for PPC64.
23306 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23307 ifunc selector.
23308 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23309 strpbrk for POWER7.
23310
23311 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23312
23313 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23314 (atan_test): Likewise.
23315 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23316 (atanh_test): Use ALL_RM_TEST.
23317 (atan2_test_data): Likewise.
23318 (cabs_test): Likewise.
23319 (cacosh_test): Likewise.
23320 (carg_test): Likewise.
23321 (casin_test): Likewise.
23322 (casinh_test): Likewise.
23323 (cbrt_test): Likewise.
23324 (csqrt_test): Likewise.
23325 (erf_test): Likewise.
23326 (erfc_test): Likewise.
23327 (pow10_test): Likewise.
23328 (exp2_test): Likewise.
23329 (hypot_test): Likewise.
23330 (j0_test): Likewise.
23331 (j1_test): Likewise.
23332 (lgamma_test): Likewise.
23333 (gamma_test): Likewise.
23334 (sincos_test): Likewise.
23335 (tanh_test): Likewise.
23336 (y0_test): Likewise.
23337 (y1_test): Likewise.
23338 * sysdeps/i386/fpu/libm-test-ulps: Update.
23339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23340
23341 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23342
23343 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23345 and strcspn-ppc64 objects.
23346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23347 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23348 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23349 multiarch strcspn for POWER7.
23350 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23351 multiarch strcspn for PPC64.
23352 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23353 ifunc selector.
23354 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23355 strcspn for POWER7.
23356
23357 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23358
23359 * math/gen-libm-test.pl (generate_testfile): Expect only function
23360 name as argument to AUTO_TESTS_* and pass results for all rounding
23361 modes to parse_args.
23362 (parse_auto_input): Separate inputs of automatic tests from
23363 outputs before storing in %auto_tests.
23364 * math/libm-test.inc (acos_test_data): Update call to
23365 AUTO_TESTS_f_f.
23366 (acos_test): Use ALL_RM_TEST.
23367 (acos_tonearest_test_data): Remove.
23368 (acos_test_tonearest): Likewise.
23369 (acos_towardzero_test_data): Likewise.
23370 (acos_test_towardzero): Likewise.
23371 (acos_downward_test_data): Likewise.
23372 (acos_test_downward): Likewise.
23373 (acos_upward_test_data): Likewise.
23374 (acos_test_upward): Likewise.
23375 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23376 (asin_test_data): Likewise.
23377 (asin_test): Use ALL_RM_TEST.
23378 (asin_tonearest_test_data): Remove.
23379 (asin_test_tonearest): Likewise.
23380 (asin_towardzero_test_data): Likewise.
23381 (asin_test_towardzero): Likewise.
23382 (asin_downward_test_data): Likewise.
23383 (asin_test_downward): Likewise.
23384 (asin_upward_test_data): Likewise.
23385 (asin_test_upward): Likewise.
23386 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23387 (atan_test_data): Likewise.
23388 (atanh_test_data): Likewise.
23389 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23390 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23391 (carg_test_data): Likewise.
23392 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23393 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23394 (ccosh_test_data): Likewise.
23395 (cexp_test_data): Likewise.
23396 (clog_test_data): Likewise.
23397 (clog10_test_data): Likewise.
23398 (cos_test_data): Update call to AUTO_TESTS_f_f.
23399 (cos_test): Use ALL_RM_TEST.
23400 (cos_tonearest_test_data): Remove.
23401 (cos_test_tonearest): Likewise.
23402 (cos_towardzero_test_data): Likewise.
23403 (cos_test_towardzero): Likewise.
23404 (cos_downward_test_data): Likewise.
23405 (cos_test_downward): Likewise.
23406 (cos_upward_test_data): Likewise.
23407 (cos_test_upward): Likewise.
23408 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23409 (cosh_test): Use ALL_RM_TEST.
23410 (cosh_tonearest_test_data): Remove.
23411 (cosh_test_tonearest): Likewise.
23412 (cosh_towardzero_test_data): Likewise.
23413 (cosh_test_towardzero): Likewise.
23414 (cosh_downward_test_data): Likewise.
23415 (cosh_test_downward): Likewise.
23416 (cosh_upward_test_data): Likewise.
23417 (cosh_test_upward): Likewise.
23418 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23419 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23420 (ctan_test_data): Likewise.
23421 (ctan_test): Use ALL_RM_TEST.
23422 (ctan_tonearest_test_data): Remove.
23423 (ctan_test_tonearest): Likewise.
23424 (ctan_towardzero_test_data): Likewise.
23425 (ctan_test_towardzero): Likewise.
23426 (ctan_downward_test_data): Likewise.
23427 (ctan_test_downward): Likewise.
23428 (ctan_upward_test_data): Likewise.
23429 (ctan_test_upward): Likewise.
23430 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23431 (ctanh_test): Use ALL_RM_TEST.
23432 (ctanh_tonearest_test_data): Remove.
23433 (ctanh_test_tonearest): Likewise.
23434 (ctanh_towardzero_test_data): Likewise.
23435 (ctanh_test_towardzero): Likewise.
23436 (ctanh_downward_test_data): Likewise.
23437 (ctanh_test_downward): Likewise.
23438 (ctanh_upward_test_data): Likewise.
23439 (ctanh_test_upward): Likewise.
23440 (erf_test_data): Update call to AUTO_TESTS_f_f.
23441 (erfc_test_data): Likewise.
23442 (exp_test_data): Likewise.
23443 (exp_test): Use ALL_RM_TEST.
23444 (exp_tonearest_test_data): Remove.
23445 (exp_test_tonearest): Likewise.
23446 (exp_towardzero_test_data): Likewise.
23447 (exp_test_towardzero): Likewise.
23448 (exp_downward_test_data): Likewise.
23449 (exp_test_downward): Likewise.
23450 (exp_upward_test_data): Likewise.
23451 (exp_test_upward): Likewise.
23452 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23453 (exp10_test): Use ALL_RM_TEST.
23454 (exp10_tonearest_test_data): Remove.
23455 (exp10_test_tonearest): Likewise.
23456 (exp10_towardzero_test_data): Likewise.
23457 (exp10_test_towardzero): Likewise.
23458 (exp10_downward_test_data): Likewise.
23459 (exp10_test_downward): Likewise.
23460 (exp10_upward_test_data): Likewise.
23461 (exp10_test_upward): Likewise.
23462 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23463 (expm1_test_data): Likewise.
23464 (expm1_test): Use ALL_RM_TEST.
23465 (expm1_tonearest_test_data): Remove.
23466 (expm1_test_tonearest): Likewise.
23467 (expm1_towardzero_test_data): Likewise.
23468 (expm1_test_towardzero): Likewise.
23469 (expm1_downward_test_data): Likewise.
23470 (expm1_test_downward): Likewise.
23471 (expm1_upward_test_data): Likewise.
23472 (expm1_test_upward): Likewise.
23473 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23474 (fma_test): Use ALL_RM_TEST.
23475 (fma_towardzero_test_data): Remove.
23476 (fma_test_towardzero): Likewise.
23477 (fma_downward_test_data): Likewise.
23478 (fma_test_downward): Likewise.
23479 (fma_upward_test_data): Likewise.
23480 (fma_test_upward): Likewise.
23481 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23482 (j0_test_data): Update call to AUTO_TESTS_f_f.
23483 (j1_test_data): Likewise.
23484 (jn_test_data): Update call to AUTO_TESTS_if_f.
23485 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23486 (log_test_data): Update call to AUTO_TESTS_f_f.
23487 (log10_test_data): Likewise.
23488 (log1p_test_data): Likewise.
23489 (log2_test_data): Likewise.
23490 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23491 (pow_tonearest_test_data): Likewise.
23492 (sin_test_data): Update call to AUTO_TESTS_f_f.
23493 (sin_test): Use ALL_RM_TEST.
23494 (sin_tonearest_test_data): Remove.
23495 (sin_test_tonearest): Likewise.
23496 (sin_towardzero_test_data): Likewise.
23497 (sin_test_towardzero): Likewise.
23498 (sin_downward_test_data): Likewise.
23499 (sin_test_downward): Likewise.
23500 (sin_upward_test_data): Likewise.
23501 (sin_test_upward): Likewise.
23502 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23503 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23504 (sinh_test): Use ALL_RM_TEST.
23505 (sinh_tonearest_test_data): Remove.
23506 (sinh_test_tonearest): Likewise.
23507 (sinh_towardzero_test_data): Likewise.
23508 (sinh_test_towardzero): Likewise.
23509 (sinh_downward_test_data): Likewise.
23510 (sinh_test_downward): Likewise.
23511 (sinh_upward_test_data): Likewise.
23512 (sinh_test_upward): Likewise.
23513 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23514 (sqrt_test): Use ALL_RM_TEST.
23515 (sqrt_tonearest_test_data): Remove.
23516 (sqrt_test_tonearest): Likewise.
23517 (sqrt_towardzero_test_data): Likewise.
23518 (sqrt_test_towardzero): Likewise.
23519 (sqrt_downward_test_data): Likewise.
23520 (sqrt_test_downward): Likewise.
23521 (sqrt_upward_test_data): Likewise.
23522 (sqrt_test_upward): Likewise.
23523 (tan_test_data): Update call to AUTO_TESTS_f_f.
23524 (tan_test): Use ALL_RM_TEST.
23525 (tan_tonearest_test_data): Remove.
23526 (tan_test_tonearest): Likewise.
23527 (tan_towardzero_test_data): Likewise.
23528 (tan_test_towardzero): Likewise.
23529 (tan_downward_test_data): Likewise.
23530 (tan_test_downward): Likewise.
23531 (tan_upward_test_data): Likewise.
23532 (tan_test_upward): Likewise.
23533 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23534 (tgamma_test_data): Likewise.
23535 (y0_test_data): Likewise.
23536 (y1_test_data): Likewise.
23537 (yn_test_data): Update call to AUTO_TESTS_if_f.
23538 (main): Do not call removed functions.
23539
23540 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23541
23542 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23543 (ldexp_test_data): Remove.
23544 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23545 scalbn_test_data.
23546 (scalb_test): Use ALL_RM_TEST.
23547
23548 2014-03-19 Andreas Schwab <schwab@suse.de>
23549
23550 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23551
23552 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23553
23554 [BZ #16649]
23555 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23556 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23557 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23558 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23559 (__ASSUME_PREADV): Undefine.
23560 (__ASSUME_PWRITEV): Likewise.
23561
23562 2014-03-18 Roland McGrath <roland@hack.frob.com>
23563
23564 * bits/mman-linux.h: Add comment about non-Linux use.
23565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23566 bits/mman-linux.h resting place.
23567
23568 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23569 * bits/mman-linux.h: ... here.
23570
23571 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23572
23573 * conform/conformtest.pl: Add standard definition when calling C
23574 preprocessor on data files.
23575 (checknamespace): Remove unused variable.
23576
23577 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23578
23579 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23580 minus_oflow, plus_uflow and minus_uflow in expected results.
23581 * math/libm-test.inc (scalbn_test_data): Add more tests of
23582 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23583 minus_uflow.
23584 (scalbn_test): Use ALL_RM_TEST.
23585 (scalbln_test_data): Add more tests of negative arguments. Use
23586 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23587 (scalbln_test): Use ALL_RM_TEST.
23588
23589 2014-03-18 Roland McGrath <roland@hack.frob.com>
23590
23591 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23592
23593 2014-03-18 Will Newton <will.newton@linaro.org>
23594
23595 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23596 inaccurate comment.
23597
23598 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23599
23600 * Makerules [!subdir] (check-abi): Exit with error status if a
23601 test failed.
23602
23603 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23604
23605 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23606 for rint. Include results for all rounding modes.
23607 (nearbyint_test): Use ALL_RM_TEST.
23608 (rint_test_data): Include all tests used for nearbyint.
23609
23610 2014-03-17 Will Newton <will.newton@linaro.org>
23611
23612 * nptl/sysdeps/pthread/pthread.h: Revert previous
23613 change.
23614
23615 * sysdeps/generic/ldsodefs.h: Revert previous
23616 change.
23617
23618 * libio/genops.c: Revert previous change.
23619 * libio/libioP.h: Likewise.
23620 * stdio-common/vfprintf.c: Likewise.
23621
23622 * sysdeps/generic/math_private.h: Revert previous
23623 change.
23624
23625 * sysdeps/generic/math_private.h: Check whether
23626 HAVE_RM_CTX is defined with #ifdef rather
23627 than #if.
23628
23629 * argp/argp-fmtstream.h: Check whether
23630 __STRICT_ANSI__ is defined with #ifdef rather
23631 than #if.
23632 * argp/argp.h: Likewise.
23633
23634 * libio/genops.c: Check whether
23635 _IO_JUMPS_OFFSET is defined with #ifdef rather
23636 than #if.
23637 * libio/libioP.h: Likewise.
23638 * stdio-common/vfprintf.c: Likewise.
23639
23640 * sysdeps/generic/ldsodefs.h: Check whether
23641 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23642 than #if.
23643
23644 * nptl/sysdeps/pthread/pthread.h: Check
23645 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23646 its value.
23647
23648 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23649
23650 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23651 setting O_APPEND.
23652 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23653 test case.
23654
23655 [BZ #16680]
23656 * libio/fileops.c (_IO_file_open): Seek to end of file but
23657 don't cache the offset.
23658 (get_file_offset): Remove function.
23659 (do_ftell): Use cached offset when available.
23660 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23661 don't cache the offset.
23662 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23663 case.
23664 (do_one_test): Call it.
23665 (do_ftell_test): Fix up expected old offset for a+ mode.
23666 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23667 available.
23668
23669 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23670 up test status with function return status.
23671 (do_write_test): Likewise.
23672 (do_append_test): Likewise.
23673
23674 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23675 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23676 Remove.
23677
23678 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23679
23680 * math/gen-libm-test.pl (parse_args): Handle results specified for
23681 each rounding mode separately.
23682 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23683 tests and results from lrint_tonearest_test_data,
23684 lrint_towardzero_test_data, lrint_downward_test_data and
23685 lrint_upward_test_data.
23686 (lrint_test): Use ALL_RM_TEST.
23687 (lrint_tonearest_test_data): Remove.
23688 (lrint_test_tonearest): Likewise.
23689 (lrint_towardzero_test_data): Likewise.
23690 (lrint_test_towardzero): Likewise.
23691 (lrint_downward_test_data): Likewise.
23692 (lrint_test_downward): Likewise.
23693 (lrint_upward_test_data): Likewise.
23694 (lrint_test_upward): Likewise.
23695 (llrint_test_data): Merge in per-rounding-mode tests and results
23696 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23697 llrint_downward_test_data and llrint_upward_test_data.
23698 (llrint_test): Use ALL_RM_TEST.
23699 (llrint_tonearest_test_data): Remove.
23700 (llrint_test_tonearest): Likewise.
23701 (llrint_towardzero_test_data): Likewise.
23702 (llrint_test_towardzero): Likewise.
23703 (llrint_downward_test_data): Likewise.
23704 (llrint_test_downward): Likewise.
23705 (llrint_upward_test_data): Likewise.
23706 (llrint_test_upward): Likewise.
23707 (rint_test_data): Merge in per-rounding-mode tests and results
23708 from rint_tonearest_test_data, rint_towardzero_test_data,
23709 rint_downward_test_data and rint_upward_test_data. Add
23710 per-rounding-mode results for tests not in those arrays.
23711 (rint_test): Use ALL_RM_TEST.
23712 (rint_tonearest_test_data): Remove.
23713 (rint_test_tonearest): Likewise.
23714 (rint_towardzero_test_data): Likewise.
23715 (rint_test_towardzero): Likewise.
23716 (rint_downward_test_data): Likewise.
23717 (rint_test_downward): Likewise.
23718 (rint_upward_test_data): Likewise.
23719 (rint_test_upward): Likewise.
23720 (main): Don't call removed functions.
23721
23722 2014-03-14 Roland McGrath <roland@hack.frob.com>
23723
23724 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23725 "Compiled on ..." crapola. It is anti-useful.
23726
23727 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23728
23729 * scripts/evaluate-test.sh: Handle fourth argument to determine
23730 whether test run should stop on failure.
23731 * Makeconfig (stop-on-test-failure): New variable.
23732 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23733 $(stop-on-test-failure).
23734 * Makefile (tests): Give a summary of results from testing and
23735 exit with failure status if they include an ERROR or FAIL.
23736 (xtests): Likewise.
23737 * manual/install.texi (Configuring and compiling): Mention
23738 stop-on-test-failure=y.
23739 * INSTALL: Regenerated.
23740
23741 2014-03-14 Roland McGrath <roland@hack.frob.com>
23742
23743 * scripts/versionlist.awk: New file.
23744 * Makerules [$(build-shared) = yes]
23745 (postclean-generated): Add Versions.def, not Versions.def.v and
23746 Versions.def.v.i.
23747 ($(common-objpfx)Versions.def.v.i): Target removed.
23748 ($(common-objpfx)Versions.def): New target.
23749 ($(common-objpfx)Versions.all): Depend on that rather that
23750 $(common-objpfx)Versions.def.v.
23751 * Versions.def: File removed.
23752
23753 * Makeconfig (+gccwarn): Add -Wundef.
23754 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23755 a dl-sysdep.h breaking its contract.
23756 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23757 * include/stackinfo.h: New file.
23758 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23759 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23760 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23761 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23762 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23763 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23764 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23765 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23766 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23767 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23768 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23769 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23770 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23771 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23772 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23773
23774 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23775
23776 [BZ #16707]
23777 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23778 implementation.
23779 * math/libm-test.inc (round_test_data): Add more tests.
23780
23781 [BZ #16706]
23782 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23783 implementation.
23784 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23785
23786 [BZ #16701]
23787 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23788 implementation.
23789 * math/libm-test.inc (ceil_test_data): Add more tests.
23790
23791 * math/libm-test.inc (trunc_test_data): Add more tests related to
23792 BZ#16414.
23793
23794 2014-03-14 Roland McGrath <roland@hack.frob.com>
23795
23796 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23797 with #if rather than #ifdef.
23798 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23799
23800 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23801
23802 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23803 first. Disable AVX-512 GCC support if assembler doesn't support
23804 it.
23805 * sysdeps/x86_64/configure: Regenerated.
23806
23807 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23808
23809 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23810 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23811 (__old_pthread_attr_setstack): Likewise.
23812 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23813 [!_STACK_GROWS_DOWN]: Likewise.
23814
23815 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23816
23817 * config.make.in (have-bash2): Delete.
23818 * configure.ac (libc_cv_have_bash2): Delete.
23819 * configure: Regenerate.
23820 * elf/Makefile (common-ldd-rewrite): Rename to ...
23821 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23822 (sh-ldd-rewrite): Delete.
23823 (bash-ldd-rewrite): Delete.
23824 (have-bash2): Delete checks.
23825 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23826 ldd-rewrite.
23827
23828 * config.make.in (have-ksh): Delete.
23829 (KSH): Delete.
23830 * configure.ac (libc_cv_have_ksh): Delete.
23831 * configure: Regenerate.
23832
23833 * elf/Makefile: Delete $(have-ksh) check.
23834 ($(objpfx)sotruss): Change KSH to BASH.
23835 * elf/sotruss.ksh: Rename to ...
23836 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23837 function style to match POSIX. Drop ksh vim mode setting.
23838
23839 * manual/time.texi (Specifying the Time Zone with TZ): Change
23840 Tuesday to Thursday.
23841
23842 * debug/tst-longjmp_chk2.c: Update header comment.
23843 (stackoverflow_handler): Add comment. Call assert on pass value.
23844
23845 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23846
23847 [BZ #16194]
23848 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23849 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23850 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23851 (La_x86_64_vector): Add zmm.
23852 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23853 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23854 ($(objpfx)tst-audit10): New target.
23855 ($(objpfx)tst-audit10.out): Likewise.
23856 (tst-audit10-ENV): New.
23857 (AVX512-CFLAGS): Likewise.
23858 (CFLAGS-tst-audit10.c): Likewise.
23859 (CFLAGS-tst-auditmod10a.c): Likewise.
23860 (CFLAGS-tst-auditmod10b.c): Likewise.
23861 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23862 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23863 * sysdeps/x86_64/configure: Regenerated.
23864 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23865 AVX-512 zmm register support.
23866 (_dl_x86_64_save_sse): Likewise.
23867 (_dl_x86_64_restore_sse): Likewise.
23868 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23869 size vector registers.
23870 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23871 (ZMM_SIZE): Likewise.
23872 * sysdeps/x86_64/tst-audit10.c: New file.
23873 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23874 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23875
23876 2014-03-13 Roland McGrath <roland@hack.frob.com>
23877
23878 * configure.ac (HAVE_EHDR_START): New check.
23879 * configure: Regenerated.
23880 * config.h.in (HAVE_EHDR_START): New #undef.
23881 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23882 assuming the lowest-addressed segment maps the start of the file.
23883
23884 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23885
23886 * INSTALL: Regenerated.
23887
23888 2014-03-13 Will Newton <will.newton@linaro.org>
23889
23890 * manual/setjmp.texi (System V contexts): Improve
23891 clarity and grammar of documentation.
23892
23893 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23894
23895 [BZ #16381]
23896 * elf/Makefile (tests): Add tst-pie2.
23897 (tests-pie): Add tst-pie2.
23898 * elf/tst-pie2.c: New file.
23899 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23900 for ET_EXEC.
23901 * elf/rtld.c (map_doit): Load executable as lt_executable.
23902 (dl_main): Likewise.
23903
23904 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23905
23906 [BZ #16642]
23907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23908 (__ASSUME_PSELECT): Undefine.
23909
23910 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23911
23912 [BZ #16689]
23913 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23914 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23915 static build.
23916 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23917 selector for static builds.
23918
23919 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23920
23921 [BZ #16695]
23922 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23923 key in the buffer.
23924
23925 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23926
23927 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23928 IFUNC selector for static builds.
23929
23930 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23931
23932 * sysdeps/mips/math_private.h [__mips_hard_float]
23933 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23934 libc_feresetround_mips_ctx.
23935 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23936 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23937 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23938
23939 [BZ #16677]
23940 * math/s_nextafter.c (__nextafter): Do not return value from
23941 overflowing computation.
23942 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23943 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23944 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23945 Likewise.
23946 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23947 Likewise.
23948 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23949 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23950
23951 2014-03-11 Roland McGrath <roland@hack.frob.com>
23952
23953 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23954 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23955 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23956 the new mov targetting sp.
23957
23958 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23959
23960 [BZ #16683]
23961 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23962 Define it for static builds as well.
23963 (NO_BZERO_IMPL): Likewise.
23964
23965 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23966
23967 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23968 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23969 multiarch strspn for PPC64.
23970 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23971 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23973 (__libc_ifunc_impl_list): Likewise.
23974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23975 multiarch optimizations
23976 * string/strspn.c (strspn): Using macro to redefine symbol name.
23977
23978 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23979 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23980
23981 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23982 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23983 multiarch strncat for PPC64.
23984 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23985 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23987 (__libc_ifunc_impl_list): Likewise.
23988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23989 multiarch optimizations
23990
23991 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23992
23993 [BZ #16639]
23994 * nscd/nscd.service: Make service type forking.
23995
23996 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23997
23998 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23999 sign in non default rounding modes.
24000 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24001
24002 2014-03-08 Joseph Myers <joseph@codesourcery.com>
24003
24004 * math/libm-test.inc (ALL_RM_TEST): New macro.
24005 (ceil_test): Use ALL_RM_TEST.
24006 (cimag_test): Likewise.
24007 (conj_test): Likewise.
24008 (copysign_test): Likewise.
24009 (cproj_test): Likewise.
24010 (creal_test): Likewise.
24011 (fabs_test): Likewise.
24012 (floor_test): Likewise.
24013 (fmax_test): Likewise.
24014 (fmin_test): Likewise.
24015 (fmod_test): Likewise.
24016 (fpclassify_test): Likewise.
24017 (frexp_test): Likewise.
24018 (ilogb_test): Likewise.
24019 (isfinite_test): Likewise.
24020 (finite_test): Likewise.
24021 (isgreater_test): Likewise.
24022 (isgreaterequal_test): Likewise.
24023 (isinf_test): Likewise.
24024 (isless_test): Likewise.
24025 (islessequal_test): Likewise.
24026 (islessgreater_test): Likewise.
24027 (isnan_test): Likewise.
24028 (isnormal_test): Likewise.
24029 (issignaling_test): Likewise.
24030 (isunordered_test): Likewise.
24031 (logb_test): Likewise.
24032 (logb_downward_test_data): Remove.
24033 (logb_test_downward): Likewise.
24034 (lround_test): Use ALL_RM_TEST.
24035 (llround_test): Likewise.
24036 (modf_test): Likewise.
24037 (nexttoward_test): Likewise.
24038 (remainder_test): Likewise.
24039 (drem_test): Likewise.
24040 (remainder_tonearest_test_data): Likewise.
24041 (remainder_test_tonearest): Likewise.
24042 (drem_test_tonearest): Likewise.
24043 (remainder_towardzero_test_data): Likewise.
24044 (remainder_test_towardzero): Likewise.
24045 (drem_test_towardzero): Likewise.
24046 (remainder_downward_test_data): Likewise.
24047 (remainder_test_downward): Likewise.
24048 (drem_test_downward): Likewise.
24049 (remainder_upward_test_data): Likewise.
24050 (remainder_test_upward): Likewise.
24051 (drem_test_upward): Likewise.
24052 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24053 (round_test): Use ALL_RM_TEST.
24054 (signbit_test): Likewise.
24055 (trunc_test): Likewise.
24056 (significand_test): Likewise.
24057 (main): Don't call removed functions.
24058
24059 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24060
24061 [BZ #16674]
24062 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24063 || __USE_XOPEN2K8].
24064 (ILL_ILLOPN): Likewise.
24065 (ILL_ILLADR): Likewise.
24066 (ILL_ILLTRP): Likewise.
24067 (ILL_PRVOPC): Likewise.
24068 (ILL_PRVREG): Likewise.
24069 (ILL_COPROC): Likewise.
24070 (ILL_BADSTK): Likewise.
24071 (FPE_INTDIV): Likewise.
24072 (FPE_INTOVF): Likewise.
24073 (FPE_FLTDIV): Likewise.
24074 (FPE_FLTOVF): Likewise.
24075 (FPE_FLTUND): Likewise.
24076 (FPE_FLTRES): Likewise.
24077 (FPE_FLTINV): Likewise.
24078 (FPE_FLTSUB): Likewise.
24079 (SEGV_MAPERR): Likewise.
24080 (SEGV_ACCERR): Likewise.
24081 (BUS_ADRALN): Likewise.
24082 (BUS_ADRERR): Likewise.
24083 (BUS_OBJERR): Likewise.
24084 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24085 (TRAP_TRACE): Likewise.
24086 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24087 __USE_XOPEN2K8].
24088 (CLD_KILLED): Likewise.
24089 (CLD_DUMPED): Likewise.
24090 (CLD_TRAPPED): Likewise.
24091 (CLD_STOPPED): Likewise.
24092 (CLD_CONTINUED): Likewise.
24093 (POLL_IN): Likewise.
24094 (POLL_OUT): Likewise.
24095 (POLL_MSG): Likewise.
24096 (POLL_ERR): Likewise.
24097 (POLL_PRI): Likewise.
24098 (POLL_HUP): Likewise.
24099 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24100 Likewise.
24101 (ILL_ILLOPN): Likewise.
24102 (ILL_ILLADR): Likewise.
24103 (ILL_ILLTRP): Likewise.
24104 (ILL_PRVOPC): Likewise.
24105 (ILL_PRVREG): Likewise.
24106 (ILL_COPROC): Likewise.
24107 (ILL_BADSTK): Likewise.
24108 (FPE_INTDIV): Likewise.
24109 (FPE_INTOVF): Likewise.
24110 (FPE_FLTDIV): Likewise.
24111 (FPE_FLTOVF): Likewise.
24112 (FPE_FLTUND): Likewise.
24113 (FPE_FLTRES): Likewise.
24114 (FPE_FLTINV): Likewise.
24115 (FPE_FLTSUB): Likewise.
24116 (SEGV_MAPERR): Likewise.
24117 (SEGV_ACCERR): Likewise.
24118 (BUS_ADRALN): Likewise.
24119 (BUS_ADRERR): Likewise.
24120 (BUS_OBJERR): Likewise.
24121 (BUS_MCEERR_AR): Likewise.
24122 (BUS_MCEERR_AO): Likewise.
24123 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24124 (TRAP_TRACE): Likewise.
24125 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24126 __USE_XOPEN2K8].
24127 (CLD_KILLED): Likewise.
24128 (CLD_DUMPED): Likewise.
24129 (CLD_TRAPPED): Likewise.
24130 (CLD_STOPPED): Likewise.
24131 (CLD_CONTINUED): Likewise.
24132 (POLL_IN): Likewise.
24133 (POLL_OUT): Likewise.
24134 (POLL_MSG): Likewise.
24135 (POLL_ERR): Likewise.
24136 (POLL_PRI): Likewise.
24137 (POLL_HUP): Likewise.
24138 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24139 (ILL_ILLOPN): Likewise.
24140 (ILL_ILLADR): Likewise.
24141 (ILL_ILLTRP): Likewise.
24142 (ILL_PRVOPC): Likewise.
24143 (ILL_PRVREG): Likewise.
24144 (ILL_COPROC): Likewise.
24145 (ILL_BADSTK): Likewise.
24146 (FPE_INTDIV): Likewise.
24147 (FPE_INTOVF): Likewise.
24148 (FPE_FLTDIV): Likewise.
24149 (FPE_FLTOVF): Likewise.
24150 (FPE_FLTUND): Likewise.
24151 (FPE_FLTRES): Likewise.
24152 (FPE_FLTINV): Likewise.
24153 (FPE_FLTSUB): Likewise.
24154 (SEGV_MAPERR): Likewise.
24155 (SEGV_ACCERR): Likewise.
24156 (BUS_ADRALN): Likewise.
24157 (BUS_ADRERR): Likewise.
24158 (BUS_OBJERR): Likewise.
24159 (BUS_MCEERR_AR): Likewise.
24160 (BUS_MCEERR_AO): Likewise.
24161 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24162 (TRAP_TRACE): Likewise.
24163 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24164 __USE_XOPEN2K8].
24165 (CLD_KILLED): Likewise.
24166 (CLD_DUMPED): Likewise.
24167 (CLD_TRAPPED): Likewise.
24168 (CLD_STOPPED): Likewise.
24169 (CLD_CONTINUED): Likewise.
24170 (POLL_IN): Likewise.
24171 (POLL_OUT): Likewise.
24172 (POLL_MSG): Likewise.
24173 (POLL_ERR): Likewise.
24174 (POLL_PRI): Likewise.
24175 (POLL_HUP): Likewise.
24176 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24177 Likewise.
24178 (ILL_ILLOPN): Likewise.
24179 (ILL_ILLADR): Likewise.
24180 (ILL_ILLTRP): Likewise.
24181 (ILL_PRVOPC): Likewise.
24182 (ILL_PRVREG): Likewise.
24183 (ILL_COPROC): Likewise.
24184 (ILL_BADSTK): Likewise.
24185 (ILL_BADIADDR): Likewise.
24186 (ILL_BREAK): Likewise.
24187 (FPE_INTDIV): Likewise.
24188 (FPE_INTOVF): Likewise.
24189 (FPE_FLTDIV): Likewise.
24190 (FPE_FLTOVF): Likewise.
24191 (FPE_FLTUND): Likewise.
24192 (FPE_FLTRES): Likewise.
24193 (FPE_FLTINV): Likewise.
24194 (FPE_FLTSUB): Likewise.
24195 (FPE_DECOVF): Likewise.
24196 (FPE_DECDIV): Likewise.
24197 (FPE_DECERR): Likewise.
24198 (FPE_INVASC): Likewise.
24199 (FPE_INVDEC): Likewise.
24200 (SEGV_MAPERR): Likewise.
24201 (SEGV_ACCERR): Likewise.
24202 (SEGV_PSTKOVF): Likewise.
24203 (BUS_ADRALN): Likewise.
24204 (BUS_ADRERR): Likewise.
24205 (BUS_OBJERR): Likewise.
24206 (BUS_MCEERR_AR): Likewise.
24207 (BUS_MCEERR_AO): Likewise.
24208 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24209 (TRAP_TRACE): Likewise.
24210 (TRAP_BRANCH): Likewise.
24211 (TRAP_HWBKPT): Likewise.
24212 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24213 __USE_XOPEN2K8].
24214 (CLD_KILLED): Likewise.
24215 (CLD_DUMPED): Likewise.
24216 (CLD_TRAPPED): Likewise.
24217 (CLD_STOPPED): Likewise.
24218 (CLD_CONTINUED): Likewise.
24219 (POLL_IN): Likewise.
24220 (POLL_OUT): Likewise.
24221 (POLL_MSG): Likewise.
24222 (POLL_ERR): Likewise.
24223 (POLL_PRI): Likewise.
24224 (POLL_HUP): Likewise.
24225 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24226 (ILL_ILLOPN): Likewise.
24227 (ILL_ILLADR): Likewise.
24228 (ILL_ILLTRP): Likewise.
24229 (ILL_PRVOPC): Likewise.
24230 (ILL_PRVREG): Likewise.
24231 (ILL_COPROC): Likewise.
24232 (ILL_BADSTK): Likewise.
24233 (FPE_INTDIV): Likewise.
24234 (FPE_INTOVF): Likewise.
24235 (FPE_FLTDIV): Likewise.
24236 (FPE_FLTOVF): Likewise.
24237 (FPE_FLTUND): Likewise.
24238 (FPE_FLTRES): Likewise.
24239 (FPE_FLTINV): Likewise.
24240 (FPE_FLTSUB): Likewise.
24241 (SEGV_MAPERR): Likewise.
24242 (SEGV_ACCERR): Likewise.
24243 (BUS_ADRALN): Likewise.
24244 (BUS_ADRERR): Likewise.
24245 (BUS_OBJERR): Likewise.
24246 (BUS_MCEERR_AR): Likewise.
24247 (BUS_MCEERR_AO): Likewise.
24248 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24249 (TRAP_TRACE): Likewise.
24250 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24251 __USE_XOPEN2K8].
24252 (CLD_KILLED): Likewise.
24253 (CLD_DUMPED): Likewise.
24254 (CLD_TRAPPED): Likewise.
24255 (CLD_STOPPED): Likewise.
24256 (CLD_CONTINUED): Likewise.
24257 (POLL_IN): Likewise.
24258 (POLL_OUT): Likewise.
24259 (POLL_MSG): Likewise.
24260 (POLL_ERR): Likewise.
24261 (POLL_PRI): Likewise.
24262 (POLL_HUP): Likewise.
24263 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24264 (ILL_ILLOPN): Likewise.
24265 (ILL_ILLADR): Likewise.
24266 (ILL_ILLTRP): Likewise.
24267 (ILL_PRVOPC): Likewise.
24268 (ILL_PRVREG): Likewise.
24269 (ILL_COPROC): Likewise.
24270 (ILL_BADSTK): Likewise.
24271 (FPE_INTDIV): Likewise.
24272 (FPE_INTOVF): Likewise.
24273 (FPE_FLTDIV): Likewise.
24274 (FPE_FLTOVF): Likewise.
24275 (FPE_FLTUND): Likewise.
24276 (FPE_FLTRES): Likewise.
24277 (FPE_FLTINV): Likewise.
24278 (FPE_FLTSUB): Likewise.
24279 (SEGV_MAPERR): Likewise.
24280 (SEGV_ACCERR): Likewise.
24281 (BUS_ADRALN): Likewise.
24282 (BUS_ADRERR): Likewise.
24283 (BUS_OBJERR): Likewise.
24284 (BUS_MCEERR_AR): Likewise.
24285 (BUS_MCEERR_AO): Likewise.
24286 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24287 (TRAP_TRACE): Likewise.
24288 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24289 __USE_XOPEN2K8].
24290 (CLD_KILLED): Likewise.
24291 (CLD_DUMPED): Likewise.
24292 (CLD_TRAPPED): Likewise.
24293 (CLD_STOPPED): Likewise.
24294 (CLD_CONTINUED): Likewise.
24295 (POLL_IN): Likewise.
24296 (POLL_OUT): Likewise.
24297 (POLL_MSG): Likewise.
24298 (POLL_ERR): Likewise.
24299 (POLL_PRI): Likewise.
24300 (POLL_HUP): Likewise.
24301 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24302 (ILL_ILLOPN): Likewise.
24303 (ILL_ILLADR): Likewise.
24304 (ILL_ILLTRP): Likewise.
24305 (ILL_PRVOPC): Likewise.
24306 (ILL_PRVREG): Likewise.
24307 (ILL_COPROC): Likewise.
24308 (ILL_BADSTK): Likewise.
24309 (FPE_INTDIV): Likewise.
24310 (FPE_INTOVF): Likewise.
24311 (FPE_FLTDIV): Likewise.
24312 (FPE_FLTOVF): Likewise.
24313 (FPE_FLTUND): Likewise.
24314 (FPE_FLTRES): Likewise.
24315 (FPE_FLTINV): Likewise.
24316 (FPE_FLTSUB): Likewise.
24317 (SEGV_MAPERR): Likewise.
24318 (SEGV_ACCERR): Likewise.
24319 (BUS_ADRALN): Likewise.
24320 (BUS_ADRERR): Likewise.
24321 (BUS_OBJERR): Likewise.
24322 (BUS_MCEERR_AR): Likewise.
24323 (BUS_MCEERR_AO): Likewise.
24324 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24325 (TRAP_TRACE): Likewise.
24326 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24327 __USE_XOPEN2K8].
24328 (CLD_KILLED): Likewise.
24329 (CLD_DUMPED): Likewise.
24330 (CLD_TRAPPED): Likewise.
24331 (CLD_STOPPED): Likewise.
24332 (CLD_CONTINUED): Likewise.
24333 (POLL_IN): Likewise.
24334 (POLL_OUT): Likewise.
24335 (POLL_MSG): Likewise.
24336 (POLL_ERR): Likewise.
24337 (POLL_PRI): Likewise.
24338 (POLL_HUP): Likewise.
24339 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24340 (ILL_ILLOPN): Likewise.
24341 (ILL_ILLADR): Likewise.
24342 (ILL_ILLTRP): Likewise.
24343 (ILL_PRVOPC): Likewise.
24344 (ILL_PRVREG): Likewise.
24345 (ILL_COPROC): Likewise.
24346 (ILL_BADSTK): Likewise.
24347 (ILL_DBLFLT): Likewise.
24348 (ILL_HARDWALL): Likewise.
24349 (FPE_INTDIV): Likewise.
24350 (FPE_INTOVF): Likewise.
24351 (FPE_FLTDIV): Likewise.
24352 (FPE_FLTOVF): Likewise.
24353 (FPE_FLTUND): Likewise.
24354 (FPE_FLTRES): Likewise.
24355 (FPE_FLTINV): Likewise.
24356 (FPE_FLTSUB): Likewise.
24357 (SEGV_MAPERR): Likewise.
24358 (SEGV_ACCERR): Likewise.
24359 (BUS_ADRALN): Likewise.
24360 (BUS_ADRERR): Likewise.
24361 (BUS_OBJERR): Likewise.
24362 (BUS_MCEERR_AR): Likewise.
24363 (BUS_MCEERR_AO): Likewise.
24364 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24365 (TRAP_TRACE): Likewise.
24366 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24367 __USE_XOPEN2K8].
24368 (CLD_KILLED): Likewise.
24369 (CLD_DUMPED): Likewise.
24370 (CLD_TRAPPED): Likewise.
24371 (CLD_STOPPED): Likewise.
24372 (CLD_CONTINUED): Likewise.
24373 (POLL_IN): Likewise.
24374 (POLL_OUT): Likewise.
24375 (POLL_MSG): Likewise.
24376 (POLL_ERR): Likewise.
24377 (POLL_PRI): Likewise.
24378 (POLL_HUP): Likewise.
24379 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24380 (ILL_ILLOPN): Likewise.
24381 (ILL_ILLADR): Likewise.
24382 (ILL_ILLTRP): Likewise.
24383 (ILL_PRVOPC): Likewise.
24384 (ILL_PRVREG): Likewise.
24385 (ILL_COPROC): Likewise.
24386 (ILL_BADSTK): Likewise.
24387 (FPE_INTDIV): Likewise.
24388 (FPE_INTOVF): Likewise.
24389 (FPE_FLTDIV): Likewise.
24390 (FPE_FLTOVF): Likewise.
24391 (FPE_FLTUND): Likewise.
24392 (FPE_FLTRES): Likewise.
24393 (FPE_FLTINV): Likewise.
24394 (FPE_FLTSUB): Likewise.
24395 (SEGV_MAPERR): Likewise.
24396 (SEGV_ACCERR): Likewise.
24397 (BUS_ADRALN): Likewise.
24398 (BUS_ADRERR): Likewise.
24399 (BUS_OBJERR): Likewise.
24400 (BUS_MCEERR_AR): Likewise.
24401 (BUS_MCEERR_AO): Likewise.
24402 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24403 (TRAP_TRACE): Likewise.
24404 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24405 __USE_XOPEN2K8].
24406 (CLD_KILLED): Likewise.
24407 (CLD_DUMPED): Likewise.
24408 (CLD_TRAPPED): Likewise.
24409 (CLD_STOPPED): Likewise.
24410 (CLD_CONTINUED): Likewise.
24411 (POLL_IN): Likewise.
24412 (POLL_OUT): Likewise.
24413 (POLL_MSG): Likewise.
24414 (POLL_ERR): Likewise.
24415 (POLL_PRI): Likewise.
24416 (POLL_HUP): Likewise.
24417 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24418 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24419
24420 [BZ #16670]
24421 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24422 before #include of <time.h>.
24423 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24424 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24425 (test-xfail-UNIX98/sched.h/conform): Likewise.
24426
24427 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24428
24429 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24430 error absence of trapping exception support.
24431 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24432
24433 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24434
24435 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24436 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24437 * timezone/Makefile (testdata): Move definition above include of
24438 Rules.
24439 (test-zones): New variable.
24440 (tests-special): Add zone files.
24441 (build-testdata): Use $(evaluate-test).
24442
24443 * elf/Makefile (tests-special): Rename tests to end with .out.
24444 ($(objpfx)noload-mem): Likewise.
24445 ($(objpfx)tst-leaks1-mem): Likewise.
24446 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24447 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24448 $(objpfx)test-iconvconfig.out.
24449 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24450 set -e inside subshell and redirect output to file.
24451 * iconvdata/Makefile (generated): Rename tests to end with .out.
24452 Correct type.
24453 (tests-special): Rename tests to end with .out.
24454 ($(objpfx)mtrace-tst-loading): Likewise.
24455 * intl/Makefile (generated): Likewise.
24456 (tests-special): Likewise.
24457 ($(objpfx)mtrace-tst-gettext): Likewise.
24458 * misc/Makefile (generated): Likewise.
24459 (tests-special): Likewise.
24460 ($(objpfx)tst-error1-mem): Likewise.
24461 * nptl/Makefile (tests-special): Likewise.
24462 ($(objpfx)tst-stack3-mem): Likewise.
24463 (generated): Likewise.
24464 * posix/Makefile (generated): Likewise.
24465 (tests-special): Likewise.
24466 (xtests-special): Likewise.
24467 ($(objpfx)tst-fnmatch-mem): Likewise.
24468 ($(objpfx)bug-regex2-mem): Likewise.
24469 ($(objpfx)bug-regex14-mem): Likewise.
24470 ($(objpfx)bug-regex21-mem): Likewise.
24471 ($(objpfx)bug-regex31-mem): Likewise.
24472 ($(objpfx)tst-vfork3-mem): Likewise.
24473 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24474 ($(objpfx)tst-pcre-mem): Likewise.
24475 ($(objpfx)tst-boost-mem): Likewise.
24476 ($(objpfx)bug-ga2-mem): Likewise.
24477 ($(objpfx)bug-glob2-mem): Likewise.
24478 * resolv/Makefile (generate): Likewise.
24479 (tests-special): Likewise.
24480 (xtests-special): Likewise.
24481 (generated): Likewise.
24482 ($(objpfx)mtrace-tst-leaks): Likewise.
24483 ($(objpfx)mtrace-tst-leaks2): Likewise.
24484
24485 * scripts/merge-test-results.sh: New file.
24486 * Makefile (tests-special-notdir): New variable.
24487 (tests): Run merge-test-results.sh.
24488 (xtests): Likewise.
24489 * Rules (tests-special-notdir): New variable.
24490 (xtests-special-notdir): Likewise.
24491 (tests): Run merge-test-results.sh
24492 (xtests): Likewise.
24493
24494 * Makeconfig (test-xfail-name): New variable.
24495 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24496 compute variable name for expected failures.
24497 * conform/Makefile (conformtest-headers-data): New variable.
24498 (conformtest-standards): Likewise.
24499 (conformtest-headers-ISO): Likewise.
24500 (conformtest-headers-ISO99): Likewise.
24501 (conformtest-headers-ISO11): Likewise.
24502 (conformtest-headers-POSIX): Likewise.
24503 (conformtest-headers-XPG3): Likewise.
24504 (conformtest-headers-XPG4): Likewise.
24505 (conformtest-headers-UNIX98): Likewise.
24506 (conformtest-headers-XOPEN2K): Likewise.
24507 (conformtest-headers-POSIX2008): Likewise.
24508 (conformtest-headers-XOPEN2K8): Likewise.
24509 (conformtest-header-list-base): Likewise.
24510 (conformtest-header-list-tests): Likewise.
24511 (conformtest-header-base): Likewise.
24512 (conformtest-header-tests): Likewise.
24513 (tests-special): Add $(conformtest-header-list-tests). If
24514 [$(fast-check) && !$(cross-compiling)], add
24515 $(conformtest-header-tests) instead of
24516 $(objpfx)run-conformtest.out.
24517 (generated): Add $(conformtest-header-list-base). If
24518 [$(fast-check) && !$(cross-compiling)], add
24519 $(conformtest-header-base). Remove previous setting.
24520 ($(conformtest-header-list-tests)): New target.
24521 (test-xfail-run-conformtest): Remove variable.
24522 ($(objpfx)run-conformtest.out): Remove target.
24523 (test-xfail-ISO11/complex.h/conform): New variable.
24524 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24525 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24526 (test-xfail-XPG3/varargs.h/conform): Likewise.
24527 (test-xfail-XPG4/varargs.h/conform): Likewise.
24528 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24529 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24530 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24531 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24532 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24533 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24534 (test-xfail-XPG3/ftw.h/conform): Likewise.
24535 (test-xfail-XPG3/grp.h/conform): Likewise.
24536 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24537 (test-xfail-XPG3/limits.h/conform): Likewise.
24538 (test-xfail-XPG3/pwd.h/conform): Likewise.
24539 (test-xfail-XPG3/search.h/conform): Likewise.
24540 (test-xfail-XPG3/signal.h/conform): Likewise.
24541 (test-xfail-XPG3/stdio.h/conform): Likewise.
24542 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24543 (test-xfail-XPG3/string.h/conform): Likewise.
24544 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24545 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24546 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24547 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24548 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24549 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24550 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24551 (test-xfail-XPG3/termios.h/conform): Likewise.
24552 (test-xfail-XPG3/time.h/conform): Likewise.
24553 (test-xfail-XPG3/unistd.h/conform): Likewise.
24554 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24555 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24556 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24557 (test-xfail-XPG4/netdb.h/conform): Likewise.
24558 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24559 (test-xfail-XPG4/signal.h/conform): Likewise.
24560 (test-xfail-XPG4/stdio.h/conform): Likewise.
24561 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24562 (test-xfail-XPG4/stropts.h/conform): Likewise.
24563 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24564 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24565 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24566 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24567 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24568 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24569 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24570 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24571 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24572 (test-xfail-XPG4/termios.h/conform): Likewise.
24573 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24574 (test-xfail-XPG4/unistd.h/conform): Likewise.
24575 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24576 (test-xfail-POSIX/sched.h/conform): Likewise.
24577 (test-xfail-POSIX/signal.h/conform): Likewise.
24578 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24579 (test-xfail-POSIX/tar.h/conform): Likewise.
24580 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24581 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24582 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24583 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24584 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24585 (test-xfail-UNIX98/sched.h/conform): Likewise.
24586 (test-xfail-UNIX98/signal.h/conform): Likewise.
24587 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24588 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24589 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24590 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24591 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24592 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24593 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24594 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24595 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24596 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24597 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24598 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24599 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24600 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24601 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24602 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24603 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24604 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24605 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24606 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24607 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24608 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24609 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24610 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24611 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24612 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24613 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24614 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24615 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24616 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24617 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24618 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24619 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24620 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24621 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24622 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24623 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24624 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24625 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24626 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24627 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24628 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24629 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24630 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24631 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24632 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24633 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24634 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24635 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24636 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24637 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24638 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24639 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24640 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24641 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24642 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24643 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24644 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24645 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24646 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24647 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24648 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24649 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24650 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24651 (conformtest-cc-flags): Likewise.
24652 ($(conformtest-header-tests): New target.
24653 * conform/check-header-lists.sh: New file.
24654 * conform/run-conformtest.sh: Remove.
24655
24656 * conform/conformtest.pl: Allow ' and \ in values given for
24657 constants.
24658 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24659 inclusion.
24660 [POSIX] (sys/types.h): Likewise.
24661 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24662 inclusion.
24663 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24664 inclusion.
24665 * conform/data/signal.h-data (SIGIO): Remove expectation.
24666 [XPG3] (SIGBUS): Do not expect.
24667 [POSIX || XPG3] (SIGPOLL): Likewise.
24668 [POSIX || XPG3] (SIGPROF): Likewise.
24669 [POSIX || XPG3] (SIGSYS): Likewise.
24670 [XPG3] (SIGTRAP): Likewise.
24671 [POSIX || XPG3] (SIGURG): Likewise.
24672 [POSIX || XPG3] (SIGVTALRM): Likewise.
24673 [POSIX || XPG3] (SIGXCPU): Likewise.
24674 [POSIX || XPG3] (SIGXFSZ): Likewise.
24675 [POSIX] (SA_SIGINFO): Expect.
24676 [XPG3] (siginfo_t): Do not expect type or contents.
24677 [POSIX] (si_pid): Do not expect element.
24678 [POSIX] (si_uid): Likewise.
24679 [POSIX] (si_addr): Likewise.
24680 [POSIX] (si_status): Likewise.
24681 [POSIX] (si_band): Likewise.
24682 [XPG4] (si_value): Likewise.
24683 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24684 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24685 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24686 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24687 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24688 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24689 [POSIX || XPG3] (ILL_COPROC): Likewise.
24690 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24691 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24692 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24693 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24694 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24695 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24696 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24697 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24698 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24699 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24700 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24701 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24702 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24703 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24704 [POSIX || XPG3] (CLD_EXITED): Likewise.
24705 [POSIX || XPG3] (CLD_KILLED): Likewise.
24706 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24707 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24708 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24709 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24710 [POSIX || XPG3] (POLL_IN): Likewise.
24711 [POSIX || XPG3] (POLL_OUT): Likewise.
24712 [POSIX || XPG3] (POLL_MSG): Likewise.
24713 [POSIX || XPG3] (POLL_ERR): Likewise.
24714 [POSIX || XPG3] (POLL_PRI): Likewise.
24715 [POSIX || XPG3] (POLL_HUP): Likewise.
24716 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24717 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24718 (SIG*): Do not allow.
24719 [XPG3] (si_*): Likewise.
24720 [XPG3] (SI_*): Likewise.
24721 [XPG3 || XPG4] (sigev_*): Likewise.
24722 [XPG3 || XPG4] (SIGEV_*): Likewise.
24723 [XPG3 || XPG4] (sival_*): Likewise.
24724 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24725 [POSIX || XPG3] (BUS_*): Likewise.
24726 [POSIX || XPG3] (CLD_*): Likewise.
24727 [POSIX || XPG3] (FPE_*): Likewise.
24728 [POSIX || XPG3] (ILL_*): Likewise.
24729 [POSIX || XPG3] (POLL_*): Likewise.
24730 [POSIX || XPG3] (SEGV_*): Likewise.
24731 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24732 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24733 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24734 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24735 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24736 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24737 Specify type and value.
24738 (TVERSLEN): Likewise.
24739 (REGTYPE): Likewise.
24740 (AREGTYPE): Likewise.
24741 (LNKTYPE): Likewise.
24742 (SYMTYPE): Likewise.
24743 (CHRTYPE): Likewise.
24744 (BLKTYPE): Likewise.
24745 (DIRTYPE): Likewise.
24746 (FIFOTYPE): Likewise.
24747 (CONTTYPE): Likewise.
24748 (TSUID): Likewise.
24749 (TSGID): Likewise.
24750 (TSVTX): Likewise.
24751 (TUREAD): Likewise.
24752 (TUWRITE): Likewise.
24753 (TUEXEC): Likewise.
24754 (TGREAD): Likewise.
24755 (TGWRITE): Likewise.
24756 (TGEXEC): Likewise.
24757 (TOREAD): Likewise.
24758 (TOWRITE): Likewise.
24759 (TOEXEC): Likewise.
24760 [POSIX] (TSVTX): Expect constant.
24761
24762 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24763
24764 * Makefile (tests): Change dependencies to ....
24765 (tests-special): ... additions to this variable.
24766 (tests): Depend on $(tests-special).
24767 * Makerules (check-abi-list): New variable.
24768 (check-abi): Depend on $(check-abi-list).
24769 [$(subdir) = elf] (tests-special): Add
24770 $(objpfx)check-abi-libc.out.
24771 [$(build-shared) = yes && subdir] (tests-special): Add
24772 $(check-abi-list).
24773 [$(build-shared) = yes && subdir] (tests): Do not depend on
24774 check-abi.
24775 * Rules (tests): Depend on $(tests-special).
24776 (xtests): Depend on $(xtests-special).
24777 * catgets/Makefile (tests): Change dependencies to ....
24778 (tests-special): ... additions to this variable.
24779 * conform/Makefile (tests): Change dependencies to ....
24780 (tests-special): ... additions to this variable.
24781 * elf/Makefile (tests): Change dependencies to ....
24782 (tests-special): ... additions to this variable.
24783 * grp/Makefile (tests): Change dependencies to ....
24784 (tests-special): ... additions to this variable.
24785 * iconv/Makefile (xtests): Change dependencies to ....
24786 (xtests-special): ... additions to this variable.
24787 * iconvdata/Makefile (tests): Change dependencies to ....
24788 (tests-special): ... additions to this variable.
24789 * intl/Makefile (tests): Change dependencies to ....
24790 (tests-special): ... additions to this variable. Also add
24791 $(objpfx)tst-gettext.out.
24792 * io/Makefile (tests): Change dependencies to ....
24793 (tests-special): ... additions to this variable.
24794 * libio/Makefile (tests): Change dependencies to ....
24795 (tests-special): ... additions to this variable.
24796 * malloc/Makefile (tests): Change dependencies to ....
24797 (tests-special): ... additions to this variable.
24798 * misc/Makefile (tests): Change dependencies to ....
24799 (tests-special): ... additions to this variable.
24800 * nptl/Makefile (tests): Change dependencies to ....
24801 (tests-special): ... additions to this variable.
24802 * nptl_db/Makefile (tests): Change dependencies to ....
24803 (tests-special): ... additions to this variable.
24804 * posix/Makefile (tests): Change dependencies to ....
24805 (tests-special): ... additions to this variable.
24806 (xtests): Change dependencies to ....
24807 (xtests-special): ... additions to this variable.
24808 * resolv/Makefile (tests): Change dependencies to ....
24809 (tests-special): ... additions to this variable.
24810 (xtests): Change dependencies to ....
24811 (xtests-special): ... additions to this variable.
24812 * stdio-common/Makefile (tests): Change dependencies to ....
24813 (tests-special): ... additions to this variable.
24814 (do-tst-unbputc): Remove target.
24815 (do-tst-printf): Likewise.
24816 * stdlib/Makefile (tests): Change dependencies to ....
24817 (tests-special): ... additions to this variable.
24818 * string/Makefile (tests): Change dependencies to ....
24819 (tests-special): ... additions to this variable.
24820 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24821 (tests-special): ... additions to this variable.
24822
24823 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24824 whole file.
24825 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24826 whole file.
24827 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24828 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24829
24830 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24831 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24832 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24833 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24834 * conform/data/libgen.h-data [XPG3]: Likewise.
24835 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24836 * conform/data/ndbm.h-data [XPG3]: Likewise.
24837 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24838 * conform/data/netdb.h-data [XPG3]: Likewise.
24839 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24840 * conform/data/poll.h-data [XPG3]: Likewise.
24841 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24842 * conform/data/strings.h-data [XPG3]: Likewise.
24843 * conform/data/stropts.h-data [XPG3]: Likewise.
24844 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24845 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24846 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24847 Likewise.
24848 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24849 * conform/data/sys/time.h-data [XPG3]: Likewise.
24850 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24851 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24852 * conform/data/sys/un.h-data [XPG3]: Likewise.
24853 * conform/data/syslog.h-data [XPG3]: Likewise.
24854 * conform/data/ucontext.h-data [XPG3]: Likewise.
24855 * conform/data/utmpx.h-data [XPG3]: Likewise.
24856 * conform/data/varargs.h-data [UNIX98]: Enable file.
24857
24858 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24859
24860 * math/libm-test.inc (struct test_f_f_data): Move expected results
24861 into structure for each rounding mode.
24862 (struct test_ff_f_data): Likewise.
24863 (struct test_ff_f_data_nexttoward): Likewise.
24864 (struct test_fi_f_data): Likewise.
24865 (struct test_fl_f_data): Likewise.
24866 (struct test_if_f_data): Likewise.
24867 (struct test_fff_f_data): Likewise.
24868 (struct test_c_f_data): Likewise.
24869 (struct test_f_f1_data): Likewise.
24870 (struct test_fF_f1_data): Likewise.
24871 (struct test_ffI_f1_data): Likewise.
24872 (struct test_c_c_data): Likewise.
24873 (struct test_cc_c_data): Likewise.
24874 (struct test_f_i_data): Likewise.
24875 (struct test_ff_i_data): Likewise.
24876 (struct test_f_l_data): Likewise.
24877 (struct test_f_L_data): Likewise.
24878 (struct test_fFF_11_data): Likewise.
24879 (RM_): New macro.
24880 (RM_FE_DOWNWARD): Likewise.
24881 (RM_FE_TONEAREST): Likewise.
24882 (RM_FE_TOWARDZERO): Likewise.
24883 (RM_FE_UPWARD): Likewise.
24884 (RUN_TEST_LOOP_f_f): Update references to expected results.
24885 (RUN_TEST_LOOP_2_f): Likewise.
24886 (RUN_TEST_LOOP_fff_f): Likewise.
24887 (RUN_TEST_LOOP_c_f): Likewise.
24888 (RUN_TEST_LOOP_f_f1): Likewise.
24889 (RUN_TEST_LOOP_fF_f1): Likewise.
24890 (RUN_TEST_LOOP_fI_f1): Likewise.
24891 (RUN_TEST_LOOP_ffI_f1): Likewise.
24892 (RUN_TEST_LOOP_c_c): Likewise.
24893 (RUN_TEST_LOOP_cc_c): Likewise.
24894 (RUN_TEST_LOOP_f_i): Likewise.
24895 (RUN_TEST_LOOP_f_i_tg): Likewise.
24896 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24897 (RUN_TEST_LOOP_f_b): Likewise.
24898 (RUN_TEST_LOOP_f_b_tg): Likewise.
24899 (RUN_TEST_LOOP_f_l): Likewise.
24900 (RUN_TEST_LOOP_f_L): Likewise.
24901 (RUN_TEST_LOOP_fFF_11): Likewise.
24902 * math/gen-libm-test.pl (parse_args): Output four copies of
24903 expected results for each test.
24904
24905 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24906 (__ASSUME_UTIMES): Remove.
24907 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24908 (__ASSUME_UTIMES): Likewise.
24909
24910 * math/gen-auto-libm-tests.c: Update comment on output format.
24911 (output_for_one_input_case): Generate before-rounding and
24912 after-rounding information as conditions on output flags not
24913 floating-point format.
24914 * math/auto-libm-test-out: Regenerated.
24915 * math/gen-libm-test.pl (cond_value): New function.
24916 (or_cond_value): Use cond_value.
24917 (generate_testfile): Handle conditional exceptions.
24918
24919 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24920
24921 * math/libm-test.inc (max_valid_error): New variable.
24922 (init_max_error): Take new argument specifying whether function
24923 results are exactly determined. Set max_valid_error and bound
24924 other variables for errors based on this argument.
24925 (set_max_error): Do not record results above max_valid_error.
24926 (check_float_internal): Only accept errors of up to 0.5ulps if
24927 also at most max_valid_error.
24928 (START): Take new argument EXACT and pass it to init_max_error.
24929 (acos_test): Update call to START.
24930 (acos_test_tonearest): Likewise.
24931 (acos_test_towardzero): Likewise.
24932 (acos_test_downward): Likewise.
24933 (acos_test_upward): Likewise.
24934 (acosh_test): Likewise.
24935 (asin_test): Likewise.
24936 (asin_test_tonearest): Likewise.
24937 (asin_test_towardzero): Likewise.
24938 (asin_test_downward): Likewise.
24939 (asin_test_upward): Likewise.
24940 (asinh_test): Likewise.
24941 (atan_test): Likewise.
24942 (atanh_test): Likewise.
24943 (atan2_test): Likewise.
24944 (cabs_test): Likewise.
24945 (cacos_test): Likewise.
24946 (cacosh_test): Likewise.
24947 (carg_test): Likewise.
24948 (casin_test): Likewise.
24949 (casinh_test): Likewise.
24950 (catan_test): Likewise.
24951 (catanh_test): Likewise.
24952 (cbrt_test): Likewise.
24953 (ccos_test): Likewise.
24954 (ccosh_test): Likewise.
24955 (ceil_test): Likewise.
24956 (cexp_test): Likewise.
24957 (cimag_test): Likewise.
24958 (clog_test): Likewise.
24959 (clog10_test): Likewise.
24960 (conj_test): Likewise.
24961 (copysign_test): Likewise.
24962 (cos_test): Likewise.
24963 (cos_test_tonearest): Likewise.
24964 (cos_test_towardzero): Likewise.
24965 (cos_test_downward): Likewise.
24966 (cos_test_upward): Likewise.
24967 (cosh_test): Likewise.
24968 (cosh_test_tonearest): Likewise.
24969 (cosh_test_towardzero): Likewise.
24970 (cosh_test_downward): Likewise.
24971 (cosh_test_upward): Likewise.
24972 (cpow_test): Likewise.
24973 (cproj_test): Likewise.
24974 (creal_test): Likewise.
24975 (csin_test): Likewise.
24976 (csinh_test): Likewise.
24977 (csqrt_test): Likewise.
24978 (ctan_test): Likewise.
24979 (ctan_test_tonearest): Likewise.
24980 (ctan_test_towardzero): Likewise.
24981 (ctan_test_downward): Likewise.
24982 (ctan_test_upward): Likewise.
24983 (ctanh_test): Likewise.
24984 (ctanh_test_tonearest): Likewise.
24985 (ctanh_test_towardzero): Likewise.
24986 (ctanh_test_downward): Likewise.
24987 (ctanh_test_upward): Likewise.
24988 (erf_test): Likewise.
24989 (erfc_test): Likewise.
24990 (exp_test): Likewise.
24991 (exp_test_tonearest): Likewise.
24992 (exp_test_towardzero): Likewise.
24993 (exp_test_downward): Likewise.
24994 (exp_test_upward): Likewise.
24995 (exp10_test): Likewise.
24996 (exp10_test_tonearest): Likewise.
24997 (exp10_test_towardzero): Likewise.
24998 (exp10_test_downward): Likewise.
24999 (exp10_test_upward): Likewise.
25000 (pow10_test): Likewise.
25001 (exp2_test): Likewise.
25002 (expm1_test): Likewise.
25003 (expm1_test_tonearest): Likewise.
25004 (expm1_test_towardzero): Likewise.
25005 (expm1_test_downward): Likewise.
25006 (expm1_test_upward): Likewise.
25007 (fabs_test): Likewise.
25008 (fdim_test): Likewise.
25009 (floor_test): Likewise.
25010 (fma_test): Likewise.
25011 (fma_test_towardzero): Likewise.
25012 (fma_test_downward): Likewise.
25013 (fma_test_upward): Likewise.
25014 (fmax_test): Likewise.
25015 (fmin_test): Likewise.
25016 (fmod_test): Likewise.
25017 (fpclassify_test): Likewise.
25018 (frexp_test): Likewise.
25019 (hypot_test): Likewise.
25020 (ilogb_test): Likewise.
25021 (isfinite_test): Likewise.
25022 (finite_test): Likewise.
25023 (isgreater_test): Likewise.
25024 (isgreaterequal_test): Likewise.
25025 (isinf_test): Likewise.
25026 (isless_test): Likewise.
25027 (islessequal_test): Likewise.
25028 (islessgreater_test): Likewise.
25029 (isnan_test): Likewise.
25030 (isnormal_test): Likewise.
25031 (issignaling_test): Likewise.
25032 (isunordered_test): Likewise.
25033 (j0_test): Likewise.
25034 (j1_test): Likewise.
25035 (jn_test): Likewise.
25036 (ldexp_test): Likewise.
25037 (lgamma_test): Likewise.
25038 (gamma_test): Likewise.
25039 (lrint_test): Likewise.
25040 (lrint_test_tonearest): Likewise.
25041 (lrint_test_towardzero): Likewise.
25042 (lrint_test_downward): Likewise.
25043 (lrint_test_upward): Likewise.
25044 (llrint_test): Likewise.
25045 (llrint_test_tonearest): Likewise.
25046 (llrint_test_towardzero): Likewise.
25047 (llrint_test_downward): Likewise.
25048 (llrint_test_upward): Likewise.
25049 (log_test): Likewise.
25050 (log10_test): Likewise.
25051 (log1p_test): Likewise.
25052 (log2_test): Likewise.
25053 (logb_test): Likewise.
25054 (logb_test_downward): Likewise.
25055 (lround_test): Likewise.
25056 (llround_test): Likewise.
25057 (modf_test): Likewise.
25058 (nearbyint_test): Likewise.
25059 (nextafter_test): Likewise.
25060 (nexttoward_test): Likewise.
25061 (pow_test): Likewise.
25062 (pow_test_tonearest): Likewise.
25063 (pow_test_towardzero): Likewise.
25064 (pow_test_downward): Likewise.
25065 (pow_test_upward): Likewise.
25066 (remainder_test): Likewise.
25067 (drem_test): Likewise.
25068 (remainder_test_tonearest): Likewise.
25069 (drem_test_tonearest): Likewise.
25070 (remainder_test_towardzero): Likewise.
25071 (drem_test_towardzero): Likewise.
25072 (remainder_test_downward): Likewise.
25073 (drem_test_downward): Likewise.
25074 (remainder_test_upward): Likewise.
25075 (drem_test_upward): Likewise.
25076 (remquo_test): Likewise.
25077 (rint_test): Likewise.
25078 (rint_test_tonearest): Likewise.
25079 (rint_test_towardzero): Likewise.
25080 (rint_test_downward): Likewise.
25081 (rint_test_upward): Likewise.
25082 (round_test): Likewise.
25083 (scalb_test): Likewise.
25084 (scalbn_test): Likewise.
25085 (scalbln_test): Likewise.
25086 (signbit_test): Likewise.
25087 (sin_test): Likewise.
25088 (sin_test_tonearest): Likewise.
25089 (sin_test_towardzero): Likewise.
25090 (sin_test_downward): Likewise.
25091 (sin_test_upward): Likewise.
25092 (sincos_test): Likewise.
25093 (sinh_test): Likewise.
25094 (sinh_test_tonearest): Likewise.
25095 (sinh_test_towardzero): Likewise.
25096 (sinh_test_downward): Likewise.
25097 (sinh_test_upward): Likewise.
25098 (sqrt_test): Likewise.
25099 (sqrt_test_tonearest): Likewise.
25100 (sqrt_test_towardzero): Likewise.
25101 (sqrt_test_downward): Likewise.
25102 (sqrt_test_upward): Likewise.
25103 (tan_test): Likewise.
25104 (tan_test_tonearest): Likewise.
25105 (tan_test_towardzero): Likewise.
25106 (tan_test_downward): Likewise.
25107 (tan_test_upward): Likewise.
25108 (tanh_test): Likewise.
25109 (tgamma_test): Likewise.
25110 (trunc_test): Likewise.
25111 (y0_test): Likewise.
25112 (y1_test): Likewise.
25113 (yn_test): Likewise.
25114 (significand_test): Likewise.
25115
25116 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25117 individual tests in comment.
25118 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25119 (prev_max_error): New variable.
25120 (prev_real_max_error): Likewise.
25121 (prev_imag_max_error): Likewise.
25122 (compare_ulp_data): Don't refer to test names in comment.
25123 (find_test_ulps): Remove function.
25124 (find_function_ulps): Likewise.
25125 (find_complex_function_ulps): Likewise.
25126 (init_max_error): Take function name as argument. Look up ulps
25127 for that function.
25128 (print_ulps): Remove function.
25129 (print_max_error): Use prev_max_error instead of calling
25130 find_function_ulps.
25131 (print_complex_max_error): Use prev_real_max_error and
25132 prev_imag_max_error instead of calling find_complex_function_ulps.
25133 (check_float_internal): Take max_ulp parameter instead of calling
25134 find_test_ulps. Don't call print_ulps.
25135 (check_float): Update call to check_float_internal.
25136 (check_complex): Update calls to check_float_internal.
25137 (START): Pass argument to init_max_error.
25138 * math/gen-libm-test.pl (%results): Don't include "kind"
25139 information.
25140 (parse_ulps): Don't handle ulps of individual tests.
25141 (print_ulps_file): Likewise.
25142 (output_ulps): Likewise.
25143 * math/README.libm-test: Update.
25144 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25145 individual tests.
25146 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25147 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25148 * sysdeps/arm/libm-test-ulps: Likewise.
25149 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25150 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25151 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25152 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25153 * sysdeps/microblaze/libm-test-ulps: Likewise.
25154 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25155 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25156 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25157 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25158 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25159 * sysdeps/sh/libm-test-ulps: Likewise.
25160 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25161 * sysdeps/tile/libm-test-ulps: Likewise.
25162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25163
25164 2014-03-04 Joseph Myers <joseph@codesourcery.com>
25165
25166 * math/libm-test.inc (print_complex_max_error): Check separately
25167 whether real and imaginary errors are within allowed range and
25168 pass 0 to print_complex_function_ulps instead of value within
25169 allowed range.
25170
25171 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25172
25173 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25174 formatting.
25175 (get_handles_fopen): Likewise.
25176 (do_write_test): Likewise.
25177
25178 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25179
25180 * libio/fileops.c (do_ftell): Use cached offset when
25181 available.
25182 * libio/iofwide.c (do_ftell_wide): Likewise.
25183 * libio/iofdopen.c (_IO_new_fdopen): Don't use
25184 _IO_file_attach.
25185 * libio/wfileops.c (_IO_fwide): Don't cache offset.
25186
25187 [BZ #16532]
25188 * libio/libioP.h (get_file_offset): New function.
25189 * libio/fileops.c (get_file_offset): Likewise.
25190 (do_ftell): Likewise.
25191 (_IO_new_file_seekoff): Split out ftell logic.
25192 * libio/wfileops.c (do_ftell_wide): Likewise.
25193 (_IO_wfile_seekoff): Split out ftell logic.
25194 * libio/tst-ftell-active-handler.c: New test case.
25195 * libio/Makefile (tests): Add it.
25196
25197 2014-03-03 Roland McGrath <roland@hack.frob.com>
25198
25199 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25200 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25201
25202 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25203
25204 [BZ #16639]
25205 * nscd/connections.c (nscd_init): Call do_exit.
25206 (start_threads): Call do_exit and notify_parent.
25207 (begin_drop_privileges): Call do_exit.
25208 (finish_drop_privileges): Likewise.
25209 * nscd/selinux.c (preserve_capabilities): Likewise.
25210 (install_real_capabilities): Likewise.
25211 (nscd_selinux_enabled): Likewise.
25212 (avc_create_thread): Likewise.
25213 (avc_alloc_lock): Likewise.
25214 (nscd_avc_init): Likewise.
25215 * nscd/nscd.c (parent_fd): New static variable.
25216 (main): Create a pipe between parent and child processes.
25217 Skip closing parent_fd.
25218 (monitor_child): New function.
25219 (do_exit): Likewise.
25220 (notify_parent): Likewise.
25221 * nscd/nscd.h (notify_parent): Likewise.
25222 (do_exit): Likewise.
25223
25224 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25225
25226 * malloc/malloc.c (__libc_calloc): Revert last change.
25227
25228 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25229
25230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25231
25232 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25233
25234 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25236 implementation.
25237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25238 (__libc_ifunc_impl_list): Likewise.
25239 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25240 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25241 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25242 * string/strrchr.c: Define STRRCHR.
25243
25244 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25245
25246 * benchtest/bench-strtok.c (simple_strtok): Delete.
25247 (strtok_string): Use as benchmark.
25248 * string/strtok (STRTOK): New macro.
25249
25250 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25251
25252 * manual/threads.texi: Add header and standard comments to all
25253 functions.
25254
25255 * elf/dl-lookup.c (check_match): New function.
25256 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25257 (do_lookup_x): Remove nested function check_match. Use non-nested
25258 function check_match.
25259
25260 2014-02-28 Roland McGrath <roland@hack.frob.com>
25261
25262 * csu/Makefile (generated, before-compile): Use += rather than =.
25263 * catgets/Makefile (generated, generated-dirs): Likewise.
25264 * debug/Makefile (generated): Likewise.
25265 * dlfcn/Makefile (generated): Likewise.
25266 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25267 * iconvdata/Makefile (before-compile, generated): Likewise.
25268 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25269 * libio/Makefile (generated): Likewise.
25270 * malloc/Makefile (generated): Likewise.
25271 * manual/Makefile (generated, generated-dirs): Likewise.
25272 * misc/Makefile (generated): Likewise.
25273 * posix/Makefile (generated): Likewise.
25274 * resolv/Makefile (generated): Likewise.
25275 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25276 * timezone/Makefile (generated, generated-dirs): Likewise.
25277
25278 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25279
25280 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25281
25282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25283 power8 implementation.
25284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25285 file: POWER8 llround ifunc implementation.
25286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25287 (__lllround): Add POWER8 implementation.
25288 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25289 POWER8 llround implementation.
25290
25291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25292 power8 implementation.
25293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25294 file: POWER8 llrint ifunc implementation.
25295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25296 Add POWER8 implementation.
25297 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25298 POWER8 llrint implementation.
25299
25300 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25301 power8 implementation.
25302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25303 file: POWER8 finite ifunc implementation.
25304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25305 Add POWER8 implementation.
25306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25307 Likewise.
25308 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25309 POWER8 finite implementation.
25310 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25311
25312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25313 power8 implementation.
25314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25315 file: POWER8 isinf ifunc implementation.
25316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25317 POWER8 implementation.
25318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25319 Likewise.
25320 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25321 isinf implementation.
25322 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25323
25324 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25325 (INIT_ARCH): Add hwcap2 initialization.
25326 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25327 power8 implementation.
25328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25329 file: POWER8 isnan ifunc implementation.
25330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25331 POWER8 implementation.
25332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25333 Likewise.
25334 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25335 isnan implementation.
25336 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25337
25338 2014-02-27 Joey Ye <joey.ye@arm.com>
25339
25340 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25341 (_FP_NANFRAC_Q): Set to zero.
25342
25343 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25344
25345 [BZ #16623]
25346 * math/auto-libm-test-in: New test inputs.
25347 * math/auto-libm-test-out: Regenerate.
25348 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25349 and DA.
25350 (__cos): Likewise.
25351 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25352
25353 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25354
25355 * scripts/evaluate-test.sh: Take new argument indicating whether
25356 failure is expected.
25357 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25358 indicating whether failure is expected.
25359 * conform/Makefile (test-xfail-run-conformtest): New variable.
25360 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25361 level.
25362 * posix/Makefile (test-xfail-annexc): New variable.
25363 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25364
25365 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25366
25367 * argp/Makefile: Include Makeconfig immediately after defining
25368 subdir.
25369 * assert/Makefile: Likewise.
25370 * benchtests/Makefile: Likewise.
25371 * catgets/Makefile: Likewise.
25372 * conform/Makefile: Likewise.
25373 * crypt/Makefile: Likewise.
25374 * csu/Makefile: Likewise.
25375 (all): Remove target.
25376 * ctype/Makefile: Include Makeconfig immediately after defining
25377 subdir.
25378 * debug/Makefile: Likewise.
25379 * dirent/Makefile: Likewise.
25380 * dlfcn/Makefile: Likewise.
25381 * gmon/Makefile: Likewise.
25382 * gnulib/Makefile: Likewise.
25383 * grp/Makefile: Likewise.
25384 * gshadow/Makefile: Likewise.
25385 * hesiod/Makefile: Likewise.
25386 * hurd/Makefile: Likewise.
25387 (all): Remove target.
25388 * iconvdata/Makefile: Include Makeconfig immediately after
25389 defining subdir.
25390 * inet/Makefile: Likewise.
25391 * intl/Makefile: Likewise.
25392 * io/Makefile: Likewise.
25393 * libio/Makefile: Likewise.
25394 (all): Remove target.
25395 * locale/Makefile: Include Makeconfig immediately after defining
25396 subdir.
25397 * login/Makefile: Likewise.
25398 * mach/Makefile: Likewise.
25399 (all): Remove target.
25400 * malloc/Makefile: Include Makeconfig immediately after defining
25401 subdir.
25402 (all): Remove target.
25403 * manual/Makefile: Include Makeconfig immediately after defining
25404 subdir.
25405 * math/Makefile: Likewise.
25406 * misc/Makefile: Likewise.
25407 * nis/Makefile: Likewise.
25408 * nss/Makefile: Likewise.
25409 * po/Makefile: Likewise.
25410 (all): Remove target.
25411 * posix/Makefile: Include Makeconfig immediately after defining
25412 subdir.
25413 * pwd/Makefile: Likewise.
25414 * resolv/Makefile: Likewise.
25415 * resource/Makefile: Likewise.
25416 * rt/Makefile: Likewise.
25417 * setjmp/Makefile: Likewise.
25418 * shadow/Makefile: Likewise.
25419 * signal/Makefile: Likewise.
25420 * socket/Makefile: Likewise.
25421 * soft-fp/Makefile: Likewise.
25422 * stdio-common/Makefile: Likewise.
25423 * stdlib/Makefile: Likewise.
25424 * streams/Makefile: Likewise.
25425 * string/Makefile: Likewise.
25426 * sunrpc/Makefile: Likewise.
25427 (all): Remove target.
25428 * sysvipc/Makefile: Include Makeconfig immediately after defining
25429 subdir.
25430 * termios/Makefile: Likewise.
25431 * time/Makefile: Likewise.
25432 * timezone/Makefile: Likewise.
25433 (all): Remove target.
25434 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25435 subdir.
25436 * wctype/Makefile: Likewise.
25437
25438 2014-02-26 Steve Ellcey <sellcey@mips.com>
25439
25440 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25441 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25442 (libc_feholdexcept_setround_mips): Ditto.
25443 (libc_feholdsetround): New.
25444 (libc_feholdsetroundf): New.
25445 (libc_feholdsetroundl): New.
25446 (libc_feupdateenv_test_mips): New.
25447 (libc_feupdateenv_test): New.
25448 (libc_feupdateenv_testf): New.
25449 (libc_feupdateenv_testl): New.
25450 (libc_feresetround): New.
25451 (libc_feresetroundf): New.
25452 (libc_feresetroundl): New.
25453 (libc_fetestexcept_mips): New.
25454 (libc_fetestexcept): New.
25455 (libc_fetestexceptf): New.
25456 (libc_fetestexceptl): New.
25457 (HAVE_RM_CTX): New.
25458 (libc_feholdexcept_setround_mips_ctx): New.
25459 (libc_feholdexcept_setround_ctx): New.
25460 (libc_feholdexcept_setroundf_ctx): New.
25461 (libc_feholdexcept_setroundl_ctx): New.
25462 (libc_fesetenv_mips_ctx): New.
25463 (libc_fesetenv_ctx): New.
25464 (libc_fesetenv_ctxf): New.
25465 (libc_fesetenv_ctxl): New.
25466 (libc_feupdateenv_mips_ctx): New.
25467 (libc_feupdateenv_ctx): New.
25468 (libc_feupdateenvf_ctx): New.
25469 (libc_feupdateenvl_ctx): New.
25470 (libc_feholdsetround_mips_ctx): New.
25471 (libc_feholdsetround_ctx): New.
25472 (libc_feholdsetroundf_ctx): New.
25473 (libc_feholdsetroundl_ctx): New.
25474 (libc_feresetround_mips_ctx): New.
25475 (libc_feresetround_ctx): New.
25476 (libc_feresetroundf_ctx): New.
25477 (libc_feresetroundl_ctx): New.
25478
25479 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25480
25481 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25482
25483 * manual/ipc.texi: New file.
25484 * manual/Makefile (chapters): Add ipc.
25485 * manual/job.texi: Add "Inter-Process Communication" to next.
25486 * manual/process.texi: Add "Inter-Process Communication" to prev.
25487
25488 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25489
25490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25491
25492 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25493
25494 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25495
25496 * manual/arith.texi: Fix spaces after sentences.
25497 * manual/charset.texi: Likewise.
25498 * manual/errno.texi: Likewise.
25499 * manual/install.texi: Likewise.
25500 * manual/llio.texi: Likewise.
25501 * manual/locale.texi: Likewise.
25502 * manual/maint.texi: Likewise.
25503 * manual/math.texi: Likewise.
25504 * manual/memory.texi: Likewise.
25505 * manual/message.texi: Likewise.
25506 * manual/probes.texi: Likewise.
25507 * manual/resource.texi: Likewise.
25508 * manual/signal.texi: Likewise.
25509 * manual/socket.texi: Likewise.
25510 * manual/stdio.texi: Likewise.
25511 * manual/string.texi: Likewise.
25512 * manual/time.texi: Likewise.
25513 * manual/users.texi: Likewise.
25514
25515 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25516
25517 [BZ #16632]
25518 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25519 _DEFAULT_SOURCE is defined.
25520
25521 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25522 Carlos O'Donell <carlos@redhat.com>
25523
25524 [BZ #16613]
25525 * elf/dl-tls.c (_dl_count_modids): New function.
25526 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25527 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25528 audit library and increment generation counter.
25529 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25530 * elf/tst-audit9.c: New file.
25531 * elf/tst-auditmod9a.c: New file.
25532 * elf/tst-auditmod9b.c: New file.
25533 * elf/Makefile: Add rules to build and run tst-audit9.
25534
25535 2014-02-25 Florian Weimer <fweimer@redhat.com>
25536
25537 [BZ #15347]
25538 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25539
25540 2014-02-25 Will Newton <will.newton@linaro.org>
25541
25542 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25543 (__longjmp): Restore sp and lr before restoring callee
25544 saved registers. Add longjmp and longjmp_target
25545 SystemTap probe point.
25546 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25547 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25548 Define to zero to match jmpbuf layout.
25549 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25550 (__sigsetjmp): Save sp and lr before saving callee
25551 saved registers. Add setjmp SystemTap probe point.
25552
25553 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25554
25555 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25556
25557 2014-02-24 Andreas Schwab <schwab@suse.de>
25558
25559 [BZ #15804]
25560 * elf/pldd.c (wait_for_ptrace_stop): New function.
25561 (main): Call it after attaching.
25562
25563 2014-02-22 Roland McGrath <roland@hack.frob.com>
25564
25565 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25566 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25567 Versions files is now verboten.
25568 * hurd/Versions (libc: GLIBC_2.0):
25569 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25570 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25571 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25572 * mach/Versions: Likewise.
25573
25574 * csu/Versions: Remove unused %include.
25575 * resolv/Versions: Likewise.
25576
25577 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25578
25579 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25580 ($(objpfx)check-local-headers.out): Likewise.
25581 ($(objpfx)begin-end-check.out): Likewise.
25582 * Makerules (check-abi-%.out): Likewise.
25583 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25584 ($(objpfx)test2.cat): Likewise.
25585 ($(objpfx)de/libc.cat): Likewise.
25586 ($(objpfx)test-gencat.out): Likewise.
25587 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25588 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25589 ($(objpfx)noload-mem): Likewise.
25590 ($(objpfx)tst-pathopt.out): Likewise.
25591 ($(objpfx)tst-rtld-load-self.out): Likewise.
25592 ($(objpfx)tst-array1-cmp.out): Likewise.
25593 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25594 ($(objpfx)tst-array2-cmp.out): Likewise.
25595 ($(objpfx)tst-array3-cmp.out): Likewise.
25596 ($(objpfx)tst-array4-cmp.out): Likewise.
25597 ($(objpfx)tst-array5-cmp.out): Likewise.
25598 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25599 ($(objpfx)check-textrel.out): Likewise.
25600 ($(objpfx)check-execstack.out): Likewise.
25601 ($(objpfx)check-localplt.out): Likewise.
25602 ($(objpfx)order2-cmp.out): Likewise.
25603 ($(objpfx)tst-leaks1-mem): Likewise.
25604 ($(objpfx)tst-leaks1-static-mem): Likewise.
25605 ($(objpfx)tst-initorder-cmp.out): Likewise.
25606 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25607 ($(objpfx)tst-unused-dep.out): Likewise.
25608 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25609 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25610 * iconv/Makefile (test-iconvconfig): Likewise.
25611 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25612 ($(objpfx)iconv-test.out): Likewise.
25613 ($(objpfx)tst-tables.out): Likewise.
25614 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25615 ($(objpfx)tst-gettext.out): Likewise.
25616 ($(objpfx)tst-translit.out): Likewise.
25617 ($(objpfx)tst-gettext2.out): Likewise.
25618 ($(objpfx)tst-gettext4.out): Likewise.
25619 ($(objpfx)tst-gettext6.out): Likewise.
25620 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25621 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25622 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25623 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25624 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25625 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25626 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25627 ($(objpfx)wordexp-tst.out): Likewise.
25628 ($(objpfx)annexc.out): Likewise.
25629 ($(objpfx)tst-fnmatch-mem): Likewise.
25630 ($(objpfx)bug-regex2-mem): Likewise.
25631 ($(objpfx)bug-regex14-mem): Likewise.
25632 ($(objpfx)bug-regex21-mem): Likewise.
25633 ($(objpfx)bug-regex31-mem): Likewise.
25634 ($(objpfx)tst-vfork3-mem): Likewise.
25635 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25636 ($(objpfx)tst-pcre-mem): Likewise.
25637 ($(objpfx)tst-boost-mem): Likewise.
25638 ($(objpfx)tst-getconf.out): Likewise.
25639 ($(objpfx)bug-ga2-mem): Likewise.
25640 ($(objpfx)bug-glob2-mem): Likewise.
25641 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25642 ($(objpfx)mtrace-tst-leaks2): Likewise.
25643 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25644 ($(objpfx)tst-printf.out): Likewise.
25645 ($(objpfx)tst-setvbuf1.out): Likewise.
25646 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25647 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25648 ($(objpfx)tst-fmtmsg.out): Likewise.
25649 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25650 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25651
25652 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25653 * bits/sigaction.h [__USE_MISC]: Likewise.
25654 * bits/waitstatus.h: Update #endif comments.
25655 * ctype/ctype.h: Likewise.
25656 * dirent/dirent.h: Likewise.
25657 [__USE_MISC]: Remove redundant conditionals.
25658 * grp/grp.h: Update #endif comments.
25659 [__USE_GNU]: Remove redundant conditionals.
25660 [__USE_MISC]: Likewise.
25661 * inet/netinet/in.h [__USE_GNU]: Likewise.
25662 * io/sys/stat.h [__USE_MISC]: Likewise.
25663 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25664 * libio/bits/stdio.h: Update #endif comments.
25665 [__USE_MISC]: Remove redundant conditionals.
25666 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25667 * libio/stdio.h: Update #endif comments.
25668 [__USE_MISC]: Remove redundant conditionals.
25669 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25670 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25671 * math/math.h: Update #else and #endif comments.
25672 [__USE_MISC]: Remove redundant conditionals.
25673 * misc/sys/uio.h: Update #endif comments.
25674 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25675 * posix/glob.h [__USE_MISC]: Likewise.
25676 * posix/sys/types.h: Update #endif comments.
25677 [__USE_MISC]: Remove redundant conditionals.
25678 * posix/sys/wait.h: Update #endif comments.
25679 [__USE_MISC]: Remove redundant conditionals.
25680 * posix/unistd.h: Update #endif comments.
25681 [__USE_MISC]: Remove redundant conditionals.
25682 * pwd/pwd.h [__USE_GNU]: Likewise.
25683 [__USE_MISC]: Likewise.
25684 * resolv/netdb.h [__USE_GNU]: Likewise.
25685 * signal/signal.h: Update #endif comments.
25686 [__USE_MISC]: Remove redundant conditionals.
25687 * stdlib/stdlib.h: Update #else and #endif comments.
25688 [__USE_MISC]: Remove redundant conditionals.
25689 [__USE_GNU]: Likewise.
25690 * string/bits/string2.h [__USE_MISC]: Likewise.
25691 * string/string.h: Update #endif comments.
25692 [__USE_MISC]: Remove redundant conditionals.
25693 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25694 Likewise.
25695 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25696 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25697 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25698 Likewise.
25699 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25700 Likewise.
25701 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25702 comments.
25703 [__USE_MISC]: Remove redundant conditionals.
25704 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25705 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25706 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25707 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25708 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25709 Likewise.
25710 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25711 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25712 Likewise.
25713 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25714 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25715 Likewise.
25716 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25717 Likewise.
25718 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25719 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25720 Likewise.
25721 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25722 Likewise.
25723 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25724 * sysdeps/x86/bits/string.h: Update #endif comments.
25725 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25726 conditionals.
25727 * time/sys/time.h: Update #endif comments.
25728 * time/time.h: Likewise.
25729 [__USE_MISC]: Remove redundant conditionals.
25730
25731 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25732
25733 [BZ #16600]
25734 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25735
25736 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25737
25738 * Versions.def (librt): Add GLIBC_2.17.
25739
25740 2014-02-21 Adam Conrad <adconrad@0c3.net>
25741
25742 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25743 synonym for _SYS_AUXV_H to allow direct inclusion.
25744 * sysdeps/sparc/bits/hwcap.h: Likewise.
25745 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25746 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25747 * sysdeps/sparc/sysdep.h: Likewise.
25748
25749 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25750
25751 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25752
25753 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25754
25755 * benchtests/bench-strrchr.c: Print length instead of position.
25756
25757 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25758
25759 [BZ #16611]
25760 * sysdeps/unix/sysv/linux/kernel-features.h
25761 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25762 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25763 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25764 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25765 Likewise.
25766 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25767 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25768 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25769 (__ASSUME_SENDMMSG): Define instead of using previous
25770 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25771 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25772 (__ASSUME_SENDMMSG_SYSCALL): Define.
25773 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25774 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25775 Likewise.
25776 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25777 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25778 Likewise.
25779 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25780 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25781 Likewise.
25782 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25783 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25784 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25785 [__ASSUME_SENDMMSG]: Change conditionals to
25786 [__ASSUME_SENDMMSG_SOCKETCALL].
25787 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25788 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25789 Define.
25790 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25791 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25792 Likewise.
25793 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25794 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25795 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25796 [!__ASSUME_SENDMMSG]: Change conditional to
25797 [!__ASSUME_SENDMMSG_SOCKETCALL].
25798 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25799 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25800 Define.
25801
25802 [BZ #16610]
25803 * sysdeps/unix/sysv/linux/kernel-features.h
25804 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25805 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25806 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25807 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25808 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25809 [__i386__ || __sparc__]
25810 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25811 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25812 (__ASSUME_RECVMMSG): Define instead of using previous
25813 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25814 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25815 (__ASSUME_RECVMMSG_SYSCALL): Define.
25816 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25817 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25818 Likewise.
25819 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25820 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25821 Likewise.
25822 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25823 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25824 Likewise.
25825 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25826 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25827 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25828 [__ASSUME_RECVMMSG]: Change condition to
25829 [__ASSUME_RECVMMSG_SOCKETCALL].
25830 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25831 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25832 Define.
25833 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25834 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25835 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25836 Likewise.
25837 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25838 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25839 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25840 [!__ASSUME_RECVMMSG]: Change condition to
25841 [!__ASSUME_RECVMMSG_SOCKETCALL].
25842 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25843 (__ASSUME_RECVMMSG_SYSCALL): Define.
25844
25845 [BZ #16609]
25846 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25847 __powerpc__ || __s390__ || __sh__ || __sparc__]
25848 (__ASSUME_SOCKETCALL): Define.
25849 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25850 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25851 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25852 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25853 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25854 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25855 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25856 (__ASSUME_ACCEPT4): Define instead of using previous
25857 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25858 __powerpc__ || __sparc__ || __s390__)] condition.
25859 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25860 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25861 * sysdeps/unix/sysv/linux/accept4.c [__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/alpha/kernel-features.h
25867 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25868 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25869 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25870 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25871 __ASSUME_ACCEPT4_SYSCALL.
25872 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25873 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25874 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25875 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25876 __ASSUME_ACCEPT4_SYSCALL.
25877 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25878 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25879 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25880 [__ASSUME_ACCEPT4]: Change condition to
25881 [__ASSUME_ACCEPT4_SOCKETCALL].
25882 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25883 (__ASSUME_SOCKETCALL): Define.
25884 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25885 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25886 (__ASSUME_SOCKETCALL): Define.
25887 (__ASSUME_ACCEPT4): Remove.
25888 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25889 Define.
25890 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25891 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25892 Likewise.
25893 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25894 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25895
25896 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25897 macro.
25898 (HWCAP_ARM_LPAE): Likewise.
25899 (HWCAP_ARM_EVTSTRM): Likewise.
25900 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25901 Add vpfd32, lpae and evtstrm.
25902 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25903 Increase to 22.
25904
25905 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25906
25907 * math/auto-libm-test-in: Add tests of clog10.
25908 * math/auto-libm-test-out: Regenerated.
25909 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25910 * sysdeps/i386/fpu/libm-test-ulps: Update.
25911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25912
25913 2014-02-18 Andreas Schwab <schwab@suse.de>
25914
25915 [BZ #16574]
25916 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25917 Store non-zero if the second buffer was newly allocated.
25918 (send_dg): Likewise.
25919 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25920 to send_vc and send_dg.
25921 (res_nsend): Pass NULL for ansp2_malloced.
25922 * resolv/res_query.c (__libc_res_nquery): Add parameter
25923 answerp2_malloced and pass it down to __libc_res_nsend.
25924 (res_nquery): Pass additional NULL to __libc_res_nquery.
25925 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25926 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25927 second answer buffer if answerp2_malloced was set.
25928 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25929 (__libc_res_nquerydomain): Add parameter
25930 answerp2_malloced and pass it down to __libc_res_nquery.
25931 (res_nquerydomain): Pass additional NULL to
25932 __libc_res_nquerydomain.
25933 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25934 additional NULL to __libc_res_nsend and __libc_res_nquery.
25935 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25936 additional NULL to __libc_res_nsearch.
25937 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25938 parameter of __libc_res_nsearch to check for separately allocated
25939 second buffer.
25940 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25941 __libc_res_nquery.
25942 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25943 additional NULL to __libc_res_nquery.
25944 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25945 __libc_res_nsearch.
25946 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25947 * include/resolv.h: Update prototypes of __libc_res_nquery,
25948 __libc_res_nsearch, __libc_res_nsend.
25949
25950 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25951
25952 * math/auto-libm-test-in: Add tests of fma.
25953 * math/auto-libm-test-out: Regenerated.
25954 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25955 (fma_towardzero_test_data): Likewise.
25956 (fma_downward_test_data): Likewise.
25957 (fma_upward_test_data): Likewise.
25958 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25959 mpc_mode.
25960 (rounding_modes): Add values for new field.
25961 (func_calc_method): Add value mpfr_fff_f.
25962 (func_calc_desc): Add mpfr_fff_f union field.
25963 (test_function): Add field exact_args.
25964 (FUNC): Add macro argument EXACT_ARGS.
25965 (FUNC_mpfr_f_f): Update call to FUNC.
25966 (FUNC_mpfr_f_f): Likewise.
25967 (FUNC_mpfr_ff_f): Likewise.
25968 (FUNC_mpfr_if_f): Likewise.
25969 (FUNC_mpc_c_f): Likewise.
25970 (FUNC_mpc_c_c): Likewise.
25971 (test_functions): Add fma. Update calls to FUNC.
25972 (handle_input_arg): Add argument exact_args.
25973 (add_test): Update call to handle_input_arg.
25974 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25975 (output_for_one_input_case): Update call to calc_generic_results.
25976 Recalculate exact zero results in each rounding mode.
25977
25978 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25979 non-negative before setting low bit.
25980 * math/auto-libm-test-in: Mark one asin test possibly having
25981 spurious underflow.
25982 * math/auto-libm-test-out: Regenerated.
25983 * sysdeps/i386/fpu/libm-test-ulps: Update.
25984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25985
25986 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25987
25988 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25989 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25990 ports/sysdeps/unix/sysv/linux/microblaze.
25991 * README: Add missing listing for microblaze*-*-linux-gnu.
25992
25993 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25994
25995 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25996 duplicate code
25997
25998 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25999
26000 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26001 * sysdeps/unix/sysv/linux/ia64: Move directory from
26002 ports/sysdeps/unix/sysv/linux/ia64.
26003 * README: Update listing for ia64-*-linux-gnu.
26004
26005 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
26006 Joseph Myers <joseph@codesourcery.com>
26007
26008 * Makeconfig (test-name): New variable.
26009 (evaluate-test): Likewise.
26010 * Makerules (do-test-clean): Remove .test-result files.
26011 (common-mostlyclean): Likewise.
26012 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26013 * scripts/evaluate-test.sh: New file.
26014
26015 2014-02-14 Joseph Myers <joseph@codesourcery.com>
26016
26017 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26018 separate $(objpfx)tst-fopenloc-cmp.out and
26019 $(objpfx)tst-fopenloc-mem.out targets.
26020 (tests): Update dependencies.
26021 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26022 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26023 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26024 (tst-rxspencer-no-utf8-ARGS): New variable.
26025 (tst-rxspencer-no-utf8-ENV): Likewise.
26026 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26027 instead of $(objpfx)tst-rxspencer-mem.
26028 ($(objpfx)tst-rxspencer-mem): Change target to
26029 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26030 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26031 * posix/tst-rxspencer-no-utf8.c: New file.
26032
26033 * elf/Makefile ($(objpfx)order.out): Remove rule.
26034 [$(run-built-tests) = yes] (tests): Depend on
26035 $(objpfx)order-cmp.out.
26036 ($(objpfx)order-cmp.out): New rule.
26037 [$(run-built-tests) = yes] (tests): Depend on
26038 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26039 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26040 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26041 $(objpfx)tst-array5-static-cmp.out.
26042 ($(objpfx)tst-array1.out): Remove rule.
26043 ($(objpfx)tst-array1-cmp.out): New rule.
26044 ($(objpfx)tst-array1-static.out): Remove rule.
26045 ($(objpfx)tst-array1-static-cmp.out): New rule.
26046 ($(objpfx)tst-array2.out): Remove rule.
26047 ($(objpfx)tst-array2-cmp.out): New rule.
26048 ($(objpfx)tst-array3.out): Remove rule.
26049 ($(objpfx)tst-array3-cmp.out): New rule.
26050 ($(objpfx)tst-array4.out): Remove rule.
26051 ($(objpfx)tst-array4-cmp.out): New rule.
26052 ($(objpfx)tst-array5.out): Remove rule.
26053 ($(objpfx)tst-array5-cmp.out): New rule.
26054 ($(objpfx)tst-array5-static.out): Remove rule.
26055 ($(objpfx)tst-array5-static-cmp.out): New rule.
26056 [$(run-built-tests) = yes] (tests): Depend on
26057 $(objpfx)order2-cmp.out.
26058 ($(objpfx)order2.out): Remove rule.
26059 ($(objpfx)order2-cmp.out): New rule.
26060 ($(objpfx)tst-initorder.out): Remove rule.
26061 [$(run-built-tests) = yes] (tests): Depend on
26062 $(objpfx)tst-initorder-cmp.out.
26063 ($(objpfx)tst-initorder-cmp.out): New rule.
26064 ($(objpfx)tst-initorder2.out): Remove rule.
26065 [$(run-built-tests) = yes] (tests): Depend on
26066 $(objpfx)tst-initorder2-cmp.out.
26067 ($(objpfx)tst-initorder2-cmp.out): New rule.
26068 [$(run-built-tests) = yes] (tests): Depend on
26069 $(objpfx)tst-unused-dep-cmp.out.
26070 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26071 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26072 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26073 on $(objpfx)tst-setvbuf1-cmp.out.
26074 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26075 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26076 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26077 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26078 ($(objpfx)tst-svc.out): Remove rule.
26079 ($(objpfx)tst-svc-cmp.out): New rule.
26080
26081 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26082
26083 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26084 * ctype/ctype.h [__USE_MISC]: Likewise.
26085 * dirent/dirent.h [__USE_MISC]: Likewise.
26086 * grp/grp.h [__USE_MISC]: Likewise.
26087 * io/fcntl.h [__USE_MISC]: Likewise.
26088 * io/sys/stat.h [__USE_MISC]: Likewise.
26089 * libio/stdio.h [__USE_MISC]: Likewise.
26090 * posix/unistd.h [__USE_MISC]: Likewise.
26091 * pwd/pwd.h [__USE_MISC]: Likewise.
26092 * stdlib.h [__USE_MISC]: Likewise.
26093 * string/bits/string2.h [__USE_MISC]: Likewise.
26094 * string/string.h [__USE_MISC]: Likewise.
26095 * time/time.h [__USE_MISC]: Likewise.
26096
26097 2014-02-13 Andreas Schwab <schwab@suse.de>
26098
26099 [BZ #16574]
26100 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26101 second answer buffer if it was separately allocated.
26102
26103 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26104
26105 * sysdeps/mips/math-tests.h: Include <features.h>.
26106 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26107 (ROUNDING_TESTS_long_double): Do not define.
26108 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26109 (EXCEPTION_TESTS_long_double): Likewise.
26110 * sysdeps/mips/mips64/libm-test-ulps: Update.
26111
26112 * include/features.h (__USE_BSD): Remove macro definitions.
26113 (__USE_SVID): Likewise.
26114 (_BSD_SOURCE): Likewise.
26115 (_SVID_SOURCE): Likewise.
26116 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26117 from definition of _DEFAULT_SOURCE.
26118 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26119 [_DEFAULT_SOURCE].
26120 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26121 * bits/mman.h [__USE_BSD]: Likewise.
26122 * bits/termios.h [__USE_BSD]: Likewise.
26123 * bits/waitstatus.h [__USE_BSD]: Likewise.
26124 * ctype/ctype.h [__USE_SVID]: Likewise.
26125 * dirent/dirent.h [__USE_BSD]: Likewise.
26126 * grp/grp.h [__USE_SVID]: Likewise.
26127 [__USE_BSD]: Likewise.
26128 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26129 * io/fcntl.h [__USE_BSD]: Likewise.
26130 * io/ftw.h [__USE_BSD]: Likewise.
26131 * io/sys/stat.h [__USE_BSD]: Likewise.
26132 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26133 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26134 * libio/stdio.h [__USE_SVID]: Likewise.
26135 [__USE_BSD]: Likewise.
26136 * math/math.h [__USE_SVID]: Likewise.
26137 [__USE_BSD]: Likewise.
26138 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26139 * misc/bits/syslog.h [__USE_BSD]: Likewise.
26140 * misc/search.h [__USE_SVID]: Likewise.
26141 * misc/sys/mman.h [__USE_BSD]: Likewise.
26142 * misc/sys/syslog.h [__USE_BSD]: Likewise.
26143 * misc/sys/uio.h [__USE_BSD]: Likewise.
26144 * posix/bits/unistd.h [__USE_BSD]: Likewise.
26145 * posix/glob.h [__USE_BSD]: Likewise.
26146 * posix/regex.h [__USE_BSD]: Likewise.
26147 * posix/sys/types.h [__USE_BSD]: Likewise.
26148 [__USE_SVID]: Likewise.
26149 * posix/sys/utsname.h [__USE_SVID]: Likewise.
26150 * posix/sys/wait.h [__USE_BSD]: Likewise.
26151 [__USE_SVID]: Likewise.
26152 * posix/unistd.h [__USE_BSD]: Likewise.
26153 [__USE_SVID]: Likewise.
26154 * pwd/pwd.h [__USE_SVID]: Likewise.
26155 * resolv/netdb.h [__USE_BSD]: Likewise.
26156 * setjmp/setjmp.h [__USE_BSD]: Likewise.
26157 * signal/signal.h [__USE_BSD]: Likewise.
26158 [__USE_SVID]: Likewise.
26159 * socket/sys/socket.h [__USE_BSD]: Likewise.
26160 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26161 * stdlib/stdlib.h [__USE_BSD]: Likewise.
26162 [__USE_SVID]: Likewise.
26163 * string/bits/string2.h [__USE_BSD]: Likewise.
26164 [__USE_SVID]: Likewise.
26165 * string/bits/string3.h [__USE_BSD]: Likewise.
26166 * string/endian.h [__USE_BSD]: Likewise.
26167 * string/string.h [__USE_SVID]: Likewise.
26168 [__USE_BSD]: Likewise.
26169 * string/strings.h [__USE_BSD]: Likewise.
26170 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26171 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26172 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26173 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26174 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26175 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26176 Likewise.
26177 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26178 Likewise.
26179 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26180 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26181 Likewise.
26182 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26183 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26184 Likewise.
26185 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26186 Likewise.
26187 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26188 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26189 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26190 Likewise.
26191 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26192 Likewise.
26193 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26194 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26195 * termios/termios.h [__USE_BSD]: Likewise.
26196 * time/sys/time.h [__USE_BSD]: Likewise.
26197 * time/time.h [__USE_BSD]: Likewise.
26198 [__USE_SVID]: Likewise.
26199
26200 * Makefile (subdir_targets): Remove subdir_lint.out.
26201
26202 * stdio-common/Makefile (do-tst-unbputc): Remove target.
26203 (do-tst-printf): Likewise.
26204 (tests): Depend directly on $(objpfx)tst-unbputc.out and
26205 $(objpfx)tst-printf.out.
26206
26207 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26208
26209 * Makerules (check-abi-%): Change target to
26210 $(objpfx)check-abi-%.out.
26211 (check-abi target): Update dependencies.
26212 (check-abi-pattern variable): Redirect output of diff to $@.
26213 (check-abi variable): Likewise.
26214 * elf/Makefile (check-abi): Update dependencies.
26215
26216 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26217 unused.
26218 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26219 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26220 subnormal range.
26221 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26222 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26223 value has largest subnormal exponent.
26224 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26225 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26226 * sysdeps/aarch64/soft-fp/sfp-machine.h
26227 (_FP_TININESS_AFTER_ROUNDING): New macro.
26228 * sysdeps/alpha/soft-fp/sfp-machine.h
26229 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26230 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26231 Likewise.
26232 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26233 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26234 * sysdeps/mips/soft-fp/sfp-machine.h
26235 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26236 * sysdeps/powerpc/soft-fp/sfp-machine.h
26237 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26238 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26239 Likewise.
26240 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26241 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26242 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26243 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26244 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26245 Likewise.
26246
26247 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26248
26249 [BZ #16545]
26250 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26251 model 1.
26252
26253 2014-02-12 Richard Henderson <rth@redhat.com>
26254
26255 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26256 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26257 * sysdeps/unix/sysv/linux/alpha: Move directory from
26258 ports/sysdeps/unix/sysv/linux/alpha.
26259 * README: Update listing for alpha-*-linux-gnu.
26260
26261 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26262
26263 * include/features.h: Update comment documenting feature test
26264 macros.
26265 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26266 _DEFAULT_SOURCE.
26267 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26268 (_SVID_SOURCE): Likewise.
26269 (_DEFAULT_SOURCE): Update description of default features.
26270 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26271 with _GNU_SOURCE.
26272 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26273 (S_ISVTX): Likewise.
26274 * manual/math.texi (Mathematical Constants): Likewise.
26275 * manual/signal.texi (Interrupted Primitives): Likewise.
26276 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26277 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26278 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26279 Don't refer to _SVID_SOURCE in warning text.
26280
26281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26282
26283 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26284 already defined.
26285 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26286 * sysdeps/mips/dl-lookup.c: Remove.
26287 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26288
26289 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26290
26291 [BZ #16447]
26292 * math/auto-libm-test-in: Add testcase for expl.
26293 * math/auto-libm-test-out: Regenerate.
26294 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26295 calculation of unsafe.
26296 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26297
26298 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26299
26300 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26301 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26302 ports/sysdeps/unix/sysv/linux/aarch64.
26303 * README: Update listing for aarch64*-*-linux-gnu.
26304
26305 2014-02-11 Will Newton <will.newton@linaro.org>
26306
26307 * manual/probes.texi (Mathematical Function Probes): Use
26308 "triggered" instead of "hit".
26309
26310 * manual/probes.texi (Internal Probes): Add documentation
26311 of setjmp, longjmp and longjmp_target probes.
26312
26313 * include/stap-probe.h: Add comment about probe argument
26314 format.
26315
26316 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26317 definition. (tr_where, tr_freehook, tr_mallochook,
26318 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26319
26320 2014-02-11 David S. Miller <davem@davemloft.net>
26321
26322 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26323 processing int_tests.
26324
26325 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26326
26327 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26328 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26329 * sysdeps/unix/sysv/linux/mips: Move directory from
26330 ports/sysdeps/unix/sysv/linux/mips.
26331 * README: Update listing for mips-*-linux-gnu and
26332 mips64-*-linux-gnu.
26333
26334 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26335
26336 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26337 * sysdeps/unix/sysv/linux/m68k: Move directory from
26338 ports/sysdeps/unix/sysv/linux/m68k.
26339 * README: Update listing for m68k-*-linux-gnu.
26340
26341 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26342
26343 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26344 * sysdeps/unix/sysv/linux/generic: Move directory from
26345 ports/sysdeps/unix/sysv/linux/generic.
26346 * sysdeps/unix/sysv/linux/tile: Move directory from
26347 ports/sysdeps/unix/sysv/linux/tile.
26348 * README: Update listing for tile*-*-linux-gnu.
26349
26350 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26351
26352 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26353 __builtin_expect.
26354 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26355 * catgets/open_catalog.c (__open_catalog): Likewise.
26356 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26357 * debug/confstr_chk.c: Likewise.
26358 * debug/fread_chk.c (__fread_chk): Likewise.
26359 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26360 * debug/getgroups_chk.c: Likewise.
26361 * debug/mbsnrtowcs_chk.c: Likewise.
26362 * debug/mbsrtowcs_chk.c: Likewise.
26363 * debug/mbstowcs_chk.c: Likewise.
26364 * debug/memcpy_chk.c: Likewise.
26365 * debug/memmove_chk.c: Likewise.
26366 * debug/mempcpy_chk.c: Likewise.
26367 * debug/memset_chk.c: Likewise.
26368 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26369 * debug/strcat_chk.c (__strcat_chk): Likewise.
26370 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26371 * debug/strncat_chk.c (__strncat_chk): Likewise.
26372 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26373 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26374 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26375 * debug/wcpncpy_chk.c: Likewise.
26376 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26377 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26378 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26379 * debug/wcsncpy_chk.c: Likewise.
26380 * debug/wcsnrtombs_chk.c: Likewise.
26381 * debug/wcsrtombs_chk.c: Likewise.
26382 * debug/wcstombs_chk.c: Likewise.
26383 * debug/wmemcpy_chk.c: Likewise.
26384 * debug/wmemmove_chk.c: Likewise.
26385 * debug/wmempcpy_chk.c: Likewise.
26386 * debug/wmemset_chk.c: Likewise.
26387 * dirent/scandirat.c (SCANDIRAT): Likewise.
26388 * dlfcn/dladdr1.c (dladdr1): Likewise.
26389 * dlfcn/dladdr.c (dladdr): Likewise.
26390 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26391 * dlfcn/dlerror.c (__dlerror): Likewise.
26392 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26393 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26394 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26395 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26396 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26397 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26398 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26399 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26400 Likewise.
26401 * elf/dl-conflict.c: Likewise.
26402 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26403 * elf/dl-dst.h: Likewise.
26404 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26405 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26406 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26407 * elf/dl-init.c (call_init, _dl_init): Likewise.
26408 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26409 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26410 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26411 Likewise.
26412 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26413 Likewise.
26414 * elf/dl-minimal.c (__libc_memalign): Likewise.
26415 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26416 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26417 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26418 * elf/dl-sym.c (do_sym): Likewise.
26419 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26420 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26421 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26422 * elf/dl-writev.h (_dl_writev): Likewise.
26423 * elf/ldconfig.c (search_dir): Likewise.
26424 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26425 (dl_main): Likewise.
26426 * elf/setup-vdso.h (setup_vdso): Likewise.
26427 * grp/compat-initgroups.c (compat_call): Likewise.
26428 * grp/fgetgrent.c (fgetgrent): Likewise.
26429 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26430 * grp/putgrent.c (putgrent): Likewise.
26431 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26432 Likewise.
26433 * hurd/hurdinit.c: Likewise.
26434 * iconvdata/8bit-gap.c (struct): Likewise.
26435 * iconvdata/ansi_x3.110.c : Likewise.
26436 * iconvdata/big5.c : Likewise.
26437 * iconvdata/big5hkscs.c : Likewise.
26438 * iconvdata/cp1255.c: Likewise.
26439 * iconvdata/cp1258.c : Likewise.
26440 * iconvdata/cp932.c : Likewise.
26441 * iconvdata/euc-cn.c: Likewise.
26442 * iconvdata/euc-jisx0213.c : Likewise.
26443 * iconvdata/euc-jp.c: Likewise.
26444 * iconvdata/euc-jp-ms.c : Likewise.
26445 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26446 * iconvdata/gb18030.c : Likewise.
26447 * iconvdata/gbbig5.c (const): Likewise.
26448 * iconvdata/gbgbk.c: Likewise.
26449 * iconvdata/gbk.c : Likewise.
26450 * iconvdata/ibm1364.c : Likewise.
26451 * iconvdata/ibm930.c : Likewise.
26452 * iconvdata/ibm932.c: Likewise.
26453 * iconvdata/ibm933.c : Likewise.
26454 * iconvdata/ibm935.c : Likewise.
26455 * iconvdata/ibm937.c : Likewise.
26456 * iconvdata/ibm939.c : Likewise.
26457 * iconvdata/ibm943.c: Likewise.
26458 * iconvdata/iso_11548-1.c: Likewise.
26459 * iconvdata/iso-2022-cn.c : Likewise.
26460 * iconvdata/iso-2022-cn-ext.c : Likewise.
26461 * iconvdata/iso-2022-jp-3.c: Likewise.
26462 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26463 * iconvdata/iso-2022-kr.c : Likewise.
26464 * iconvdata/iso646.c (gconv_end): Likewise.
26465 * iconvdata/iso_6937-2.c : Likewise.
26466 * iconvdata/iso_6937.c : Likewise.
26467 * iconvdata/iso8859-1.c: Likewise.
26468 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26469 * iconvdata/shift_jisx0213.c : Likewise.
26470 * iconvdata/sjis.c : Likewise.
26471 * iconvdata/t.61.c : Likewise.
26472 * iconvdata/tcvn5712-1.c : Likewise.
26473 * iconvdata/tscii.c: Likewise.
26474 * iconvdata/uhc.c : Likewise.
26475 * iconvdata/unicode.c (gconv_end): Likewise.
26476 * iconvdata/utf-16.c (gconv_end): Likewise.
26477 * iconvdata/utf-32.c (gconv_end): Likewise.
26478 * iconvdata/utf-7.c (base64): Likewise.
26479 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26480 * iconv/gconv_close.c (__gconv_close): Likewise.
26481 * iconv/gconv_open.c (__gconv_open): Likewise.
26482 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26483 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26484 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26485 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26486 (ucs4le_internal_loop_single): Likewise.
26487 * iconv/iconv.c (iconv): Likewise.
26488 * iconv/iconv_close.c: Likewise.
26489 * iconv/loop.c (SINGLE): Likewise.
26490 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26491 * include/atomic.h: Likewise.
26492 * inet/inet6_option.c (option_alloc): Likewise.
26493 * intl/bindtextdom.c (set_binding_values): Likewise.
26494 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26495 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26496 * intl/localealias.c (read_alias_file): Likewise.
26497 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26498 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26499 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26500 * libio/fmemopen.c (fmemopen): Likewise.
26501 * libio/iofgets.c (_IO_fgets): Likewise.
26502 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26503 * libio/iofgetws.c (fgetws): Likewise.
26504 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26505 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26506 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26507 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26508 * locale/findlocale.c (_nl_find_locale): Likewise.
26509 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26510 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26511 Likewise.
26512 * locale/setlocale.c (setlocale): Likewise.
26513 * login/programs/pt_chown.c (main): Likewise.
26514 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26515 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26516 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26517 (mmap, mmap64, mremap, munmap): Likewise.
26518 * math/e_exp2l.c: Likewise.
26519 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26520 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26521 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26522 * math/s_catan.c (__catan): Likewise.
26523 * math/s_catanf.c (__catanf): Likewise.
26524 * math/s_catanh.c (__catanh): Likewise.
26525 * math/s_catanhf.c (__catanhf): Likewise.
26526 * math/s_catanhl.c (__catanhl): Likewise.
26527 * math/s_catanl.c (__catanl): Likewise.
26528 * math/s_ccosh.c (__ccosh): Likewise.
26529 * math/s_ccoshf.c (__ccoshf): Likewise.
26530 * math/s_ccoshl.c (__ccoshl): Likewise.
26531 * math/s_cexp.c (__cexp): Likewise.
26532 * math/s_cexpf.c (__cexpf): Likewise.
26533 * math/s_cexpl.c (__cexpl): Likewise.
26534 * math/s_clog10.c (__clog10): Likewise.
26535 * math/s_clog10f.c (__clog10f): Likewise.
26536 * math/s_clog10l.c (__clog10l): Likewise.
26537 * math/s_clog.c (__clog): Likewise.
26538 * math/s_clogf.c (__clogf): Likewise.
26539 * math/s_clogl.c (__clogl): Likewise.
26540 * math/s_csin.c (__csin): Likewise.
26541 * math/s_csinf.c (__csinf): Likewise.
26542 * math/s_csinh.c (__csinh): Likewise.
26543 * math/s_csinhf.c (__csinhf): Likewise.
26544 * math/s_csinhl.c (__csinhl): Likewise.
26545 * math/s_csinl.c (__csinl): Likewise.
26546 * math/s_csqrt.c (__csqrt): Likewise.
26547 * math/s_csqrtf.c (__csqrtf): Likewise.
26548 * math/s_csqrtl.c (__csqrtl): Likewise.
26549 * math/s_ctan.c (__ctan): Likewise.
26550 * math/s_ctanf.c (__ctanf): Likewise.
26551 * math/s_ctanh.c (__ctanh): Likewise.
26552 * math/s_ctanhf.c (__ctanhf): Likewise.
26553 * math/s_ctanhl.c (__ctanhl): Likewise.
26554 * math/s_ctanl.c (__ctanl): Likewise.
26555 * math/w_pow.c: Likewise.
26556 * math/w_powf.c: Likewise.
26557 * math/w_powl.c: Likewise.
26558 * math/w_scalb.c (sysv_scalb): Likewise.
26559 * math/w_scalbf.c (sysv_scalbf): Likewise.
26560 * math/w_scalbl.c (sysv_scalbl): Likewise.
26561 * misc/error.c (error_tail): Likewise.
26562 * misc/pselect.c (__pselect): Likewise.
26563 * nis/nis_callback.c (__nis_create_callback): Likewise.
26564 * nis/nis_call.c (__nisfind_server): Likewise.
26565 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26566 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26567 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26568 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26569 * nis/nis_lookup.c (nis_lookup): Likewise.
26570 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26571 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26572 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26573 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26574 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26575 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26576 * nis/nss_compat/compat-initgroups.c (add_group)
26577 (internal_getgrent_r): Likewise.
26578 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26579 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26580 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26581 (internal_getspnam_r): Likewise.
26582 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26583 (_nss_nis_getaliasbyname_r): Likewise.
26584 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26585 (_nss_nis_getntohost_r): Likewise.
26586 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26587 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26588 (_nss_nis_getgrgid_r): Likewise.
26589 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26590 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26591 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26592 (_nss_nis_gethostbyname4_r): Likewise.
26593 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26594 (initgroups_netid): Likewise.
26595 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26596 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26597 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26598 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26599 (_nss_nis_getprotobynumber_r): Likewise.
26600 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26601 (_nss_nis_getsecretkey): Likewise.
26602 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26603 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26604 (_nss_nis_getpwuid_r): Likewise.
26605 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26606 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26607 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26608 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26609 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26610 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26611 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26612 Likewise.
26613 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26614 (_nss_nisplus_getntohost_r): Likewise.
26615 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26616 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26617 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26618 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26619 Likewise.
26620 * nis/nss_nisplus/nisplus-initgroups.c
26621 (_nss_nisplus_initgroups_dyn): Likewise.
26622 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26623 (_nss_nisplus_getnetbyaddr_r): Likewise.
26624 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26625 (_nss_nisplus_getprotobynumber_r): Likewise.
26626 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26627 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26628 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26629 Likewise.
26630 * nis/nss_nisplus/nisplus-service.c
26631 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26632 (_nss_nisplus_getservbyport_r): Likewise.
26633 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26634 (_nss_nisplus_getspnam_r): Likewise.
26635 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26636 Likewise.
26637 * nscd/aicache.c (addhstaiX): Likewise.
26638 * nscd/cache.c (cache_search, prune_cache): Likewise.
26639 * nscd/connections.c (register_traced_file, send_ro_fd)
26640 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26641 (main_loop_epoll): Likewise.
26642 * nscd/grpcache.c (addgrbyX): Likewise.
26643 * nscd/hstcache.c (addhstbyX): Likewise.
26644 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26645 * nscd/mem.c (gc, mempool_alloc): Likewise.
26646 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26647 (addinnetgrX): Likewise.
26648 * nscd/nscd-client.h (__nscd_acquire_maplock)
26649 (__nscd_drop_map_ref): Likewise.
26650 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26651 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26652 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26653 Likewise.
26654 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26655 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26656 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26657 (__nscd_get_map_ref): Likewise.
26658 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26659 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26660 Likewise.
26661 * nscd/pwdcache.c (addpwbyX): Likewise.
26662 * nscd/selinux.c (preserve_capabilities): Likewise.
26663 * nscd/servicescache.c (addservbyX): Likewise.
26664 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26665 * posix/fnmatch.c (fnmatch): Likewise.
26666 * posix/getopt.c (_getopt_internal_r): Likewise.
26667 * posix/glob.c (glob, glob_in_dir): Likewise.
26668 * posix/wordexp.c (exec_comm_child): Likewise.
26669 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26670 (getanswer_r, gaih_getanswer_slice): Likewise.
26671 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26672 * resolv/res_init.c: Likewise.
26673 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26674 * resolv/res_query.c (__libc_res_nquery): Likewise.
26675 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26676 Likewise.
26677 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26678 * stdio-common/perror.c (perror): Likewise.
26679 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26680 * stdio-common/tmpnam.c (tmpnam): Likewise.
26681 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26682 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26683 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26684 Likewise.
26685 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26686 * stdlib/putenv.c (putenv): Likewise.
26687 * stdlib/setenv.c (__add_to_environ): Likewise.
26688 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26689 * stdlib/strtol_l.c (INTERNAL): Likewise.
26690 * string/memmem.c (memmem): Likewise.
26691 * string/strerror.c (strerror): Likewise.
26692 * string/strnlen.c (__strnlen): Likewise.
26693 * string/test-memmem.c (simple_memmem): Likewise.
26694 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26695 * sunrpc/pm_getport.c (__get_socket): Likewise.
26696 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26697 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26698 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26699 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26700 Likewise.
26701 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26702 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26703 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26704 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26705 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26706 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26707 Likewise.
26708 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26709 Likewise.
26710 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26711 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26712 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26713 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26714 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26716 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26717 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26718 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26719 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26720 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26721 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26722 Likewise.
26723 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26724 Likewise.
26725 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26726 Likewise.
26727 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26728 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26729 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26730 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26731 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26732 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26733 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26734 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26735 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26736 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26737 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26738 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26739 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26740 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26742 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26743 Likewise.
26744 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26745 Likewise.
26746 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26747 Likewise.
26748 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26749 Likewise.
26750 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26752 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26753 Likewise.
26754 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26755 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26756 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26757 * sysdeps/posix/sleep.c: Likewise.
26758 * sysdeps/posix/tempname.c: Likewise.
26759 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26760 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26761 Likewise.
26762 * sysdeps/powerpc/powerpc32/dl-machine.h
26763 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26764 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26765 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26766 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26767 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26768 Likewise.
26769 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26770 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26771 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26772 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26773 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26774 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26775 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26776 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26777 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26778 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26779 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26780 (elf_machine_lazy_rel): Likewise.
26781 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26782 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26783 (elf_machine_lazy_rel): Likewise.
26784 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26785 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26786 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26787 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26788 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26789 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26790 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26792 Likewise.
26793 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26794 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26795 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26796 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26797 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26798 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26799 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26800 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26801 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26802 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26803 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26804 Likewise.
26805 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26806 (__posix_fallocate64_l64): Likewise.
26807 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26808 (posix_fallocate): Likewise.
26809 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26810 Likewise.
26811 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26812 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26813 (getifaddrs_internal): Likewise.
26814 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26815 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26816 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26817 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26818 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26819 (__posix_fallocate64_l64): Likewise.
26820 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26821 Likewise.
26822 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26823 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26824 (__get_clockfreq): Likewise.
26825 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26826 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26827 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26828 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26829 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26830 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26831 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26832 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26833 Likewise.
26834 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26835 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26836 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26837 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26838 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26839 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26840 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26841 Likewise.
26842 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26843 (posix_fallocate): Likewise.
26844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26845 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26846 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26847 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26848 (elf_machine_rela, elf_machine_rela_relative)
26849 (elf_machine_lazy_rel): Likewise.
26850 * time/asctime.c (asctime_internal): Likewise.
26851 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26852 * time/tzset.c (__tzset_parse_tz): Likewise.
26853 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26854 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26855 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26856 * wcsmbs/wcsmbsload.h: Likewise.
26857
26858 [BZ #15894]
26859 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26860
26861 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26862 (arena_get2): Remove THREAD_STATS conditionals.
26863 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26864 (__malloc_stats, int): Likewise.
26865
26866 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26867
26868 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26869 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26870
26871 * manual/setjmp.texi: Fix typos/grammar errors.
26872
26873 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26874 Only return early when n is <= 0. Delete unused return statement.
26875
26876 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26877 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26878 * debug/tst-longjmp_chk3.c: New file.
26879
26880 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26881 (test_main): Replace code with set_fortify_handler call.
26882 * debug/test-strcpy_chk.c: Likewise.
26883 * debug/tst-chk1.c: Likewise.
26884 * debug/tst-longjmp_chk.c: Likewise.
26885 * test-skeleton.c: Include fcntl.h & paths.h
26886 (set_fortify_handler): Define.
26887
26888 * debug/tst-longjmp_chk.c: Add header comment and include
26889 ../test-skeleton.c.
26890 (do_test): Mark static.
26891 (TEST_FUNCTION): Define.
26892
26893 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26894 (IP_PMTUDISC_INTERFACE): Likewise.
26895 (IP_MULTICAST_IF): Likewise.
26896 (IP_MULTICAST_TTL): Likewise.
26897 (IP_MULTICAST_LOOP): Likewise.
26898 (IP_ADD_MEMBERSHIP): Likewise.
26899 (IP_DROP_MEMBERSHIP): Likewise.
26900 (IP_UNBLOCK_SOURCE): Likewise.
26901 (IP_BLOCK_SOURCE): Likewise.
26902 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26903 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26904 (IP_MSFILTER): Likewise.
26905 (MCAST_JOIN_GROUP): Likewise.
26906 (MCAST_BLOCK_SOURCE): Likewise.
26907 (MCAST_UNBLOCK_SOURCE): Likewise.
26908 (MCAST_LEAVE_GROUP): Likewise.
26909 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26910 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26911 (MCAST_MSFILTER): Likewise.
26912 (IP_MULTICAST_ALL): Likewise.
26913 (IP_UNICAST_IF): Likewise.
26914
26915 * timezone/Makefile: Delete $(have-ksh) check.
26916 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26917 * timezone/tzselect.ksh: Add +x mode bits.
26918
26919 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26920 (ANON_INODE_FS_MAGIC): Likewise.
26921 (BDEVFS_MAGIC): Likewise.
26922 (BINFMTFS_MAGIC): Likewise.
26923 (BTRFS_TEST_MAGIC): Likewise.
26924 (CRAMFS_MAGIC_WEND): Likewise.
26925 (DEBUGFS_MAGIC): Likewise.
26926 (ECRYPTFS_SUPER_MAGIC): Likewise.
26927 (EXT3_SUPER_MAGIC): Likewise.
26928 (EXT4_SUPER_MAGIC): Likewise.
26929 (FUTEXFS_SUPER_MAGIC): Likewise.
26930 (HOSTFS_SUPER_MAGIC): Likewise.
26931 (HUGETLBFS_MAGIC): Likewise.
26932 (MINIX3_SUPER_MAGIC): Likewise.
26933 (MTD_INODE_FS_MAGIC): Likewise.
26934 (NILFS_SUPER_MAGIC): Likewise.
26935 (OPENPROM_SUPER_MAGIC): Likewise.
26936 (PIPEFS_MAGIC): Likewise.
26937 (PSTOREFS_MAGIC): Likewise.
26938 (QNX6_SUPER_MAGIC): Likewise.
26939 (RAMFS_MAGIC): Likewise.
26940 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26941 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26942 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26943 (SECURITYFS_MAGIC): Likewise.
26944 (SELINUX_MAGIC): Likewise.
26945 (SMACK_MAGIC): Likewise.
26946 (SOCKFS_MAGIC): Likewise.
26947 (SQUASHFS_MAGIC): Likewise.
26948 (STACK_END_MAGIC): Likewise.
26949 (TMPFS_MAGIC): Likewise.
26950 (USBDEVICE_SUPER_MAGIC): Likewise.
26951 (V9FS_MAGIC): Likewise.
26952 (XENFS_SUPER_MAGIC): Likewise.
26953 (CRAMFS_MAGIC): Fix typo in comment.
26954 (EXT2_SUPER_MAGIC): Update comment.
26955 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26956
26957 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26958
26959 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26960 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26961 * sysdeps/unix/sysv/linux/arm: Move directory from
26962 ports/sysdeps/unix/sysv/linux/arm.
26963 * README: Update listing for arm-*-linux-gnueabi.
26964
26965 * README: Remove mention of am33.
26966
26967 2014-02-07 Roland McGrath <roland@hack.frob.com>
26968
26969 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26970 than the comma operator, to avoid "rhs of comma has no effect"
26971 compiler warnings.
26972 (__sigfillset, __sigandset, __sigorset): Likewise.
26973 * include/signal.h (__sigemptyset): Likewise.
26974 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26975
26976 2014-02-07 Allan McRae <allan@archlinux.org>
26977
26978 * version.h (RELEASE): Set to "development".
26979 (VERSION): Set to "2.19.90"
26980 * NEWS: Add 2.20 section.
26981
26982 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26983
26984 [BZ #16529]
26985 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26986
26987 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26988
26989 * manual/contrib.texi: Update entry for Carlos O'Donell,
26990 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26991
26992 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26993
26994 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26995
26996 * sysdeps/unix/sysv/linux/kernel-features.h
26997 [__LINUX_KERNEL_VERSION >= 0x020621]
26998 (__ASSUME_PROC_PID_TASK_COMM): Define.
26999
27000 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27001
27002 [BZ #16398]
27003 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27004 conversion when destination buffer does not have enough space.
27005 * libio/tst-ftell-partial-wide.c: New test case.
27006 * libio/Makefile (tests): Add tst-ftell-partial-wide.
27007
27008 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27009 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
27010 Leonard and Allan McRae.
27011
27012 2014-02-04 David S. Miller <davem@davemloft.net>
27013
27014 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27015 32-bit.
27016
27017 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27018
27019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27020 New file
27021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27022 New file
27023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27024 New file.
27025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27026 New file.
27027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27028 New file.
27029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27030 New file.
27031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27032 New file.
27033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27034 New file.
27035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27036 New file.
27037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27038 New file.
27039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27040 New file.
27041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27042 New file.
27043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27044 New file.
27045
27046 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27047
27048 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27049 * shlib-versions: Likewise.
27050
27051 2014-02-04 Roland McGrath <roland@hack.frob.com>
27052 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27053
27054 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27055 (abilist-pattern): New variable, set to %-le.abilist.
27056
27057 * Makerules (abilist-pattern): New variable.
27058 (vpath): Use $(abilist-pattern) in place of %.abilist.
27059 (check-abi-% pattern rule): Likewise.
27060 (check-abi, update-abi): Likewise.
27061
27062 2014-02-04 Eric Wong <normalperson@yhbt.net>
27063
27064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27065
27066 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27067
27068 * manual/startup.texi: Add next, previous, and top entries for
27069 the `Program Arguments' and `Environment Variables' nodes.
27070
27071 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27072
27073 * manual/macros.texi: Add comments before MTASC-safety macros.
27074
27075 * manual/users.texi: Document MTASC-safety properties.
27076
27077 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27078 (pthread_getspecific, pthread_setspecific): Format with
27079 @deftypefun, and add @safety note.
27080 * manual/signal.texi: Move comments that analyze the above
27081 functions to their home place.
27082
27083 2014-02-03 Allan McRae <allan@archlinux.org>
27084
27085 * po/sl.po: Update Slovenian translation from translation project.
27086
27087 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27088
27089 * manual/time.texi (timegm): Add missing blank after @c.
27090 Reported by Joseph Myers <joseph@codesourcery.com>.
27091
27092 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27093
27094 * manual/check-safety.sh: New.
27095 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27096
27097 * manual/terminal.texi: Document MTASC-safety properties.
27098
27099 * manual/filesys.texi: Document MTASC-safety properties.
27100
27101 * manual/errno.texi: Document MTASC-safety properties.
27102
27103 * manual/intro.texi: Document safety identifiers and
27104 conditionals.
27105
27106 * manual/string.texi (wcstok): Fix prototype.
27107 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27108
27109 * manual/time.texi: Document MTASC-safety properties.
27110
27111 * manual/string.texi: Document MTASC-safety properties.
27112
27113 * manual/threads.texi: Document MTASC-safety properties.
27114
27115 * manual/stdio.texi: Document MTASC-safety properties.
27116
27117 * manual/syslog.texi: Document MTASC-safety properties.
27118
27119 * manual/sysinfo.texi: Document MTASC-safety properties.
27120
27121 * manual/startup.texi: Document MTASC-safety properties.
27122
27123 * manual/socket.texi: Document MTASC-safety properties.
27124
27125 * manual/signal.texi: Document MTASC-safety properties.
27126
27127 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
27128
27129 * manual/setjmp.texi: Document MTASC-safety properties.
27130
27131 * manual/search.texi: Document MTASC-safety properties.
27132
27133 * manual/resource.texi: Document MTASC-safety properties.
27134
27135 * manual/process.texi: Document MTASC-safety properties.
27136
27137 * manual/platform.texi: Document MTASC-safety properties.
27138
27139 * manual/pipe.texi: Document MTASC-safety properties.
27140
27141 * manual/pattern.texi: Document MTASC-safety properties.
27142
27143 * manual/message.texi: Document MTASC-safety properties.
27144
27145 [BZ #12751]
27146 * manual/memory.texi: Document MTASC-safety properties.
27147
27148 * manual/math.texi: Document MTASC-safety properties.
27149
27150 * manual/locale.texi: Document MTASC-safety properties.
27151
27152 * manual/llio.texi: Document MTASC-safety properties.
27153
27154 * manual/libdl.texi: New.
27155
27156 * manual/lang.texi: Document MTASC-safety properties.
27157
27158 * manual/job.texi: Document MTASC-safety properties.
27159
27160 * manual/getopt.texi: Document MTASC-safety properties.
27161
27162 * manual/ctype.texi: Document MTASC-safety properties.
27163
27164 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
27165
27166 [BZ #16046]
27167 * csu/libc-tls.c (static_map): Remove variable.
27168 (__libc_setup_tls): Use main executable's link map for TLS data.
27169 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27170 casing for LM_ID_BASE and GL(dl_nns).
27171 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27172 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
27173 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27174 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27175 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27176 member.
27177 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27178 l_phnum members.
27179
27180 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
27181
27182 * manual/debug.texi: Document MTASC-safety properties.
27183
27184 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
27185
27186 [BZ #16510]
27187 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27188 of __x86_64__ when disabling x87 inline functions.
27189
27190 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
27191
27192 * manual/charset.texi: Document MTASC-safety properties.
27193
27194 * manual/crypt.texi: Document MTASC-safety properties.
27195
27196 * manual/conf.texi: Document MTASC-safety properties.
27197
27198 * manual/arith.texi: Document MTASC-safety properties.
27199
27200 * manual/argp.texi: Document MTASC-safety properties.
27201
27202 * manual/macros.texi: Introduce macros to document multi
27203 thread, asynchronous signal and asynchronous cancellation
27204 safety properties.
27205 * manual/intro.texi: Introduce the properties themselves.
27206
27207 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27208
27209 * sysdeps/sh/sh4/Makefile: New file.
27210
27211 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
27212
27213 * math/gen-libm-test.pl ($srcdir): New variable.
27214 ($auto_input): Use it.
27215
27216 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27217
27218 [BZ #16506]
27219 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27220 access beyond array bounds when parsing netgroups file.
27221
27222 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27223 the old buffer before realloc.
27224
27225 2014-01-27 Allan McRae <allan@archlinux.org>
27226
27227 * po/fr.po: Update French translation from translation project.
27228
27229 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27230
27231 * sysdeps/sh/libm-test-ulps: Regenerate.
27232
27233 2014-01-24 David S. Miller <davem@davemloft.net>
27234
27235 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27236
27237 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27238
27239 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27240 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27241
27242 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27243
27244 [BZ #16474]
27245 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27246 string pointers after reallocation.
27247
27248 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27249
27250 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27251 __SH4A__ instead of __SH_FPU_ANY__.
27252
27253 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27254
27255 * sysdeps/sh/fpu_control.h: New file.
27256 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27257 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27258 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27259 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27260 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27261 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27262 * sysdeps/sh/sys/ucontext.h: Remove.
27263 * sysdeps/sh/sys: Remove directory.
27264
27265 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27266
27267 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27268 s390/sys/ucontext.h.
27269 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27270 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27271
27272 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27273
27274 [BZ #15605]
27275 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27276
27277 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27278
27279 [BZ#16431]
27280 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27281 Adjust the vDSO correctly for internal calls.
27282 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27283
27284 2014-01-20 Allan McRae <allan@archlinux.org>
27285
27286 * po/ca.po: Update Catalan translation from translation project.
27287
27288 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27289
27290 * sysdeps/s390/sotruss-lib.c: New file.
27291
27292 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27293
27294 [BZ#16430]
27295 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27296 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27297 local calls issues by not having a PLT stub required for IFUNC calls.
27298 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27299
27300 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27301
27302 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27303 * math/test-fpucw-static.c: Likewise.
27304
27305 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27306
27307 [BZ #16453]
27308 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27309
27310 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27311
27312 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27313 implementation for powerpc.
27314
27315 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27316
27317 [BZ #14782]
27318 * sysdeps/posix/system.c (__libc_system): Do not enable
27319 asynchronous cancellation.
27320
27321 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27322
27323 [BZ #16427]
27324 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27325 handling only for numbers special also in the IEEE case.
27326
27327 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27328
27329 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27330
27331 2014-01-11 Allan McRae <allan@archlinux.org>
27332
27333 * po/bg.po: Update Bulgarian translation from translation project.
27334
27335 * po/de.po: Update German translation from translation project.
27336
27337 2014-01-10 Roland McGrath <roland@hack.frob.com>
27338
27339 * sysdeps/generic/gcc-compat.h: New file.
27340
27341 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27342
27343 * benchtests/asin-inputs: Correct slow inputs.
27344 * benchtests/acos-inputs: Likewise.
27345
27346 2014-01-10 Allan McRae <allan@archlinux.org>
27347
27348 * po:sv.po: Update Swedish translation from translation project.
27349
27350 * po/vi.po: Update Vietnamese translation from translation project.
27351
27352 * po/eo.po: Update Esperanto translation from translation project.
27353
27354 * po/cs.po: Update Czech translation from translation project.
27355
27356 * po/nl.po: Update Dutch translation from translation project.
27357
27358 * po/pl.po: Update Polish translation from translation project.
27359
27360 * po/ru.po: Update Russian translation from translation project.
27361
27362 * po/uk.po: Update Ukrainian translation from translation project.
27363
27364 2014-01-08 Brooks Moses <bmoses@google.com>
27365
27366 * elf/dl-load.c: Fix comment typo.
27367
27368 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27369
27370 * po/header.pot: Rename to...
27371 * po/pot.header: ... this.
27372 * po/Makefile: Use pot.header.
27373
27374 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27375 Maxim Kuvyrkov <maxim@kugelworks.com>
27376
27377 [BZ #16394]
27378 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27379 SRC and DEST against LEN.
27380
27381 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27382
27383 [BZ #16414]
27384 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27385 implementation.
27386 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27387
27388 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27389
27390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27391
27392 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27393
27394 [BZ #16408]
27395 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27396 for large positive arguments.
27397
27398 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27399
27400 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27401
27402 * math/auto-libm-test-in: Mark various tests with
27403 xfail-rounding:ldbl-128ibm.
27404 * math/auto-libm-test-out: Regenerated.
27405
27406 [BZ #16407]
27407 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27408 Increase overflow threshold.
27409
27410 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27411
27412 [BZ #14286]
27413 * stdio-common/vfprintf.c: Check for integer overflow.
27414
27415 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27416
27417 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27418 the first argument and return value of __tls_get_addr_internal.
27419
27420 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27421
27422 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27423 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27424
27425 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27426
27427 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27428 * sysdeps/s390/rtld-global-offsets.sym: New file.
27429 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27430 GLIBC_2.19 symbol.
27431 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27432 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27433 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27434 ... this.
27435 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27436 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27437 ... this.
27438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27439 Regenerate.
27440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27441 Regenerate.
27442 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27443 halfs of GPRs for high_gprs contexts.
27444 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27445 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27446 field.
27447 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27448 uc_flags field.
27449 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27450 64 bit versions:
27451 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27452 for high GPRs (uc_high_gprs) and for future extensions
27453 (__reserved).
27454 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27455 for future extensions (__reserved).
27456 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27457 64 bit versions:
27458 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27459 SC_HIGHGPRS offset definition.
27460 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27461 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27462
27463 * Versions.def: Add GLIBC_2.19 for libpthread.
27464 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27465 siglongjmp for libpthread with GLIBC_2.19 symver.
27466 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27467 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27468 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27469 * sysdeps/s390/__longjmp.c: New file.
27470 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27471 * sysdeps/s390/longjmp.c: New file.
27472 * sysdeps/s390/setjmp.S: New file.
27473 * sysdeps/s390/sigjmp.S: New file.
27474 * sysdeps/s390/v1-longjmp.c: New file.
27475 * sysdeps/s390/v1-setjmp.h: New file.
27476 * sysdeps/s390/v1-sigjmp.c: New file.
27477 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27478 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27479 GLIBC_2.19 version.
27480 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27481 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27482 versioned symbols for ____longjmp_chk.
27483 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27484 Likewise.
27485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27486 Regenerate.
27487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27488 Regenerate.
27489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27490 Regenerate.
27491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27492 Regenerate.
27493 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27494 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27495 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27496 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27497 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27498 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27499 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27500 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27501 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27502 * sysdeps/s390/rtld-__longjmp.c: New file.
27503 * sysdeps/s390/rtld-setjmp.S: New file.
27504
27505 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27506
27507 [BZ #16400]
27508 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27509 Return -__logl (x) for small positive arguments without evaluating
27510 a polynomial.
27511
27512 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27513
27514 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27515 Rename to ...
27516 (__ptrace_peeksiginfo_args): ... this.
27517 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27518 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27519 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27520
27521 2014-01-06 Allan McRae <allan@archlinux.org>
27522
27523 * inet/netinet/in.h: Fix typo in comment.
27524
27525 2014-01-05 Andreas Jaeger <aj@suse.de>
27526
27527 * sysdeps/i386/fpu/libm-test-ulps: Update.
27528
27529 2014-01-05 Allan McRae <allan@archlinux.org>
27530
27531 * po/libc.pot: Regenerated.
27532
27533 * malloc/memusagestat.c: Fix gettext call formatting.
27534
27535 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27536
27537 * nscd/nscd.c: Improve usage() output.
27538
27539 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27540
27541 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27542 * sysdeps/unix/sysv/linux/configure: Regenerated.
27543 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27544 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27545
27546 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27547
27548 [BZ #16390]
27549 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27550 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27551
27552 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27553
27554 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27555 extra tokens at end of #undef directive.
27556 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27557 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27558 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27559
27560 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27561
27562 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27563
27564 * math/auto-libm-test-in: Mark various tests with
27565 xfail-rounding:ldbl-128ibm.
27566 * math/auto-libm-test-out: Regenerated.
27567
27568 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27569
27570 [BZ #16386]
27571 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27572 numbers with subnormal high part when calculating exponent.
27573
27574 [BZ #16385]
27575 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27576 fabs.
27577
27578 [BZ #16384]
27579 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27580 M_LN2l.
27581 (__ieee754_acoshl): Use __log1pl not __log1p.
27582
27583 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27584
27585 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27586 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27587 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27588 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27589 (reused_arena, arena_get2): Convert to GNU style.
27590 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27591 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27592 (memalign_check, __malloc_set_state): Likewise.
27593 * malloc/mallocbug.c (main): Likewise.
27594 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27595 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27596 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27597 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27598 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27599 (__posix_memalign, malloc_info): Likewise.
27600 * malloc/malloc.h: Likewise.
27601 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27602 (mallochook, memalignhook, reallochook, mabort): Likewise.
27603 * malloc/mcheck.h: Likewise.
27604 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27605 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27606 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27607 * malloc/morecore.c (__default_morecore): Likewise.
27608 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27609 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27610 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27611 (print_and_abort): Likewise.
27612 * malloc/obstack.h: Likewise.
27613 * malloc/set-freeres.c (__libc_freeres): Likewise.
27614 * malloc/tst-mallocstate.c (main): Likewise.
27615 * malloc/tst-mtrace.c (main): Likewise.
27616 * malloc/tst-realloc.c (do_test): Likewise.
27617
27618 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27619
27620 [BZ #16366]
27621 * nscd/netgroupcache.c (do_notfound): New function.
27622 (addgetnetgrentX): Use it.
27623
27624 [BZ # 16365]
27625 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27626 NSS_STATUS_NOTFOUND.
27627
27628 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27629
27630 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27632
27633 2014-01-01 Allan McRae <allan@archlinux.org>
27634
27635 * scripts/update-copyrights: Update configure input file suffix.
27636
27637 * NEWS: Update copyright year.
27638 * catgets/gencat.c: Likewise.
27639 * csu/version.c: Likewise.
27640 * debug/catchsegv.sh: Likewise.
27641 * debug/pcprofiledump.c: Likewise.
27642 * debug/xtrace.sh: Likewise.
27643 * elf/ldconfig.c: Likewise.
27644 * elf/ldd.bash.in: Likewise.
27645 * elf/pldd.c: Likewise.
27646 * elf/sotruss.ksh: Likewise.
27647 * elf/sprof.c: Likewise.
27648 * iconv/iconv_prog.c: Likewise.
27649 * iconv/iconvconfig.c: Likewise.
27650 * locale/programs/locale.c: Likewise.
27651 * locale/programs/localedef.c: Likewise.
27652 * login/programs/pt_chown.c: Likewise.
27653 * malloc/memusage.sh: Likewise.
27654 * malloc/memusagestat.c: Likewise.
27655 * malloc/mtrace.pl: Likewise.
27656 * manual/libc.texinfo: Likewise.
27657 * nscd/nscd.c: Likewise.
27658 * nss/getent.c: Likewise.
27659 * nss/makedb.c: Likewise.
27660 * posix/getconf.c: Likewise.
27661 * scripts/test-installation.pl: Likewise.
27662
27663 * All files with FSF copyright notices: Update copyright dates
27664 using scripts/update-copyrights.
27665 * intl/plural.c: Regenerated.
27666 * locale/programs/charmap-kw.h: Likewise.
27667 * locale/programs/locfile-kw.h: Likewise.
27668
27669 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27670
27671 * sysdeps/unix/sysv/linux/configure: Regenerated.
27672 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27673 the linux/fanotify.h header.
27674 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27675 HAVE_LINUX_FANOTIFY_H is defined.
27676
27677 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27678
27679 * benchtests/cos-inputs: New inputs.
27680 * benchtests/sin-inputs: Likewise.
27681
27682 * benchtests/atan-inputs: New inputs. Fix name of multiple
27683 precision fallback inputs.
27684
27685 * benchtests/atanh-inputs: New inputs.
27686 * benchtests/tanh-inputs: Likewise.
27687
27688 * benchtests/acosh-inputs: New inputs.
27689 * benchtests/asinh-inputs: Likewise.
27690
27691 * benchtests/cosh-inputs: New inputs.
27692 * benchtests/sinh-inputs: Likewise.
27693
27694 * benchtests/acos-inputs: Add more inputs.
27695 * benchtests/asin-inputs: Likewise.
27696
27697 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27698
27699 [BZ #16375]
27700 * manual/arith.texi: Fix spelling.
27701 * manual/charset.texi: Likewise.
27702 * manual/errno.texi: Likewise.
27703 * manual/filesys.texi: Likewise.
27704 * manual/lang.texi: Likewise.
27705 * manual/llio.texi: Likewise.
27706 * manual/locale.texi: Likewise.
27707 * manual/message.texi: Likewise.
27708 * manual/resource.texi: Likewise.
27709 * manual/search.texi: Likewise.
27710 * manual/setjmp.texi: Likewise.
27711 * manual/stdio.texi: Likewise.
27712 * manual/string.texi: Likewise.
27713 * manual/sysinfo.texi: Likewise.
27714 * manual/time.texi: Likewise.
27715
27716 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27717
27718 * po/sl.po: New file.
27719
27720 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27721
27722 * .gitignore: Add core/.gdbinit/.gdb_history.
27723
27724 2013-12-27 Allan McRae <allan@archlinux.org>
27725
27726 [BZ #16369]
27727 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27728 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27729
27730 2013-12-24 Brooks Moses <bmoses@google.com>
27731
27732 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27733 all compilers that claim C++98 compliance, not just GCC.
27734 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27735 Likewise.
27736
27737 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27738
27739 * NEWS: Restore accidentally deleted bug-fix entries.
27740
27741 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27742 Ondřej Bílka <neleai@seznam.cz>
27743
27744 [BZ #15073]
27745 * malloc/malloc.c (_int_free): Perform sanity check only if we
27746 have_lock.
27747
27748 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27749
27750 [BZ #12986]
27751 * manual/stdio.texi (String Input Conversions): Clarify that character
27752 classes are not supported.
27753
27754 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27755
27756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27757
27758 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27759
27760 [BZ #16337]
27761 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27762 Calculate results for small negative arguments directly rather
27763 than using reflection formula with special underflow handling.
27764
27765 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27766 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27767 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27768 (fchflags): Likewise.
27769 (revoke): Likewise.
27770 (setlogin): Likewise.
27771 (sigaltstack): Likewise.
27772 (wait4): Likewise.
27773 (sigblock): Remove.
27774 (sigsetmask): Likewise.
27775 (wait3): Likewise.
27776 (waitpid): Likewise.
27777 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27778 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27779 file.
27780 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27781 * sysdeps/unix/bsd/Makefile: ... here.
27782 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27783 * sysdeps/unix/bsd/Versions: ... here.
27784 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27785 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27786 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27787 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27788 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27789 * sysdeps/unix/bsd/sigblock.c: ... here.
27790 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27791 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27792 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27793 * sysdeps/unix/bsd/sigvec.c: ... here.
27794 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27795 * sysdeps/unix/bsd/tcdrain.c: ... here.
27796 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27797 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27798 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27799 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27800 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27801 * sysdeps/unix/bsd/wait.c: ... here.
27802 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27803 * sysdeps/unix/bsd/wait3.c: ... here.
27804 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27805 * sysdeps/unix/bsd/waitpid.c: ... here.
27806
27807 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27808
27809 [BZ #16356]
27810 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27811 round-to-nearest for [!USE_AS_EXPM1L].
27812 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27813 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27814 more tests of exp and exp10. Expect some exp10 tests to miss
27815 exceptions or fail in directed rounding modes.
27816 * math/auto-libm-test-out: Regenerated.
27817 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27818 (exp10_test_tonearest): New function.
27819 (exp10_towardzero_test_data): New array.
27820 (exp10_test_towardzero): New function.
27821 (exp10_downward_test_data): New array.
27822 (exp10_test_downward): New function.
27823 (exp10_upward_test_data): New array.
27824 (exp10_test_upward): New function.
27825 (main): Call the new functions.
27826 * sysdeps/i386/fpu/libm-test-ulps: Update.
27827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27828
27829 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27830
27831 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27832 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27833 * math/auto-libm-test-out: Regenerated.
27834 * math/libm-test.inc (acosh_test_data): Add more tests.
27835 (atanh_test_data): Likewise.
27836 (ceil_test_data): Likewise.
27837 (copysign_test_data): Likewise.
27838 * sysdeps/i386/fpu/libm-test-ulps: Update.
27839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27840
27841 * timezone/checktab.awk: Update from tzcode 2013i.
27842 * timezone/private.h: Likewise.
27843 * timezone/scheck.c: Likewise.
27844 * timezone/tzfile.h: Likewise.
27845 * timezone/tzselect.ksh: Likewise.
27846 * timezone/zdump.c: Likewise.
27847 * timezone/zic.c: Likewise.
27848
27849 * math/auto-libm-test-in: Add tests of cpow.
27850 * math/auto-libm-test-out: Regenerated.
27851 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27852 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27853 mpc_cc_c.
27854 (func_calc_desc): Add mpc_cc_c union field.
27855 (test_functions): Add cpow.
27856 (special_fill_2pi): New function.
27857 (special_real_inputs): Add 2pi.
27858 (calc_generic_results): Handle mpc_cc_c.
27859 * sysdeps/i386/fpu/libm-test-ulps: Update.
27860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27861
27862 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27863 csqrt, ctan and ctanh.
27864 * math/auto-libm-test-out: Regenerated.
27865 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27866 (TEST_COND_x86): Likewise.
27867 (ccos_test_data): Use AUTO_TESTS_c_c.
27868 (ccosh_test_data): Likewise.
27869 (cexp_test_data): Likewise.
27870 (clog_test_data): Likewise.
27871 (csqrt_test_data): Likewise.
27872 (ctan_test_data): Likewise.
27873 (ctan_tonearest_test_data): Likewise.
27874 (ctan_towardzero_test_data): Likewise.
27875 (ctan_downward_test_data): Likewise.
27876 (ctan_upward_test_data): Likewise.
27877 (ctanh_test_data): Likewise.
27878 (ctanh_tonearest_test_data): Likewise.
27879 (ctanh_towardzero_test_data): Likewise.
27880 (ctanh_downward_test_data): Likewise.
27881 (ctanh_upward_test_data): Likewise.
27882 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27883 mpc_c_c.
27884 (func_calc_desc): Add mpc_c_c union field.
27885 (FUNC_mpc_c_c): New macro.
27886 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27887 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27888 ctanh.
27889 (special_fill_min_subnorm_p120): New function.
27890 (special_real_inputs): Add min_subnorm_p120.
27891 (calc_generic_results): Handle mpc_c_c.
27892 * sysdeps/i386/fpu/libm-test-ulps: Update.
27893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27894
27895 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27896
27897 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27898 (do_sin_slow): New functions.
27899 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27900 (cslow2, csloww1, csloww2): Use the new functions.
27901
27902 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27903 Use M to change sign of result instead of X. Assume X is
27904 positive.
27905 (csloww1): Likewise.
27906 (__sin): Adjust.
27907 (__cos): Adjust.
27908
27909 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27910 arguments A and DA.
27911 (__sin): Adjust.
27912 (__cos): Likewise.
27913
27914 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27915 (__cos): Likewise.
27916 (sloww1): Don't adjust sign of DX.
27917 (csloww1): Likewise.
27918 (sloww2): Use X directly and don't adjust sign of DX.
27919 (csloww2): Likewise.
27920
27921 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27922
27923 * math/auto-libm-test-in: Add tests of cabs and carg.
27924 * math/auto-libm-test-out: Regenerated.
27925 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27926 (carg_test_data): Likewise.
27927 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27928 mpc_c_f.
27929 (func_calc_desc): Add mpc_c_f union field.
27930 (test_functions): Add cabs and carg.
27931 (calc_generic_results): Handle mpc_c_f.
27932
27933 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27934 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27935 as a macro and a compat symbol.
27936 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27937 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27938 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27939 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27940 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27941 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27942 not use .hidden.
27943 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27944 Likewise.
27945 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27946 Likewise.
27947 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27948 Likewise.
27949 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27950 Likewise.
27951 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27952 Likewise.
27953 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27954 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27955 from GLIBC_2.3.2.
27956
27957 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27958
27959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27960
27961 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27962
27963 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27964 trailing whitespace removed.
27965 * scripts/config.guess: Update to version 2013-11-29.
27966 * scripts/config.sub: Update to version 2013-10-01.
27967
27968 * math/auto-libm-test-in: Add tests of sincos.
27969 * math/auto-libm-test-out: Regenerated.
27970 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27971 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27972 mpfr_f_11.
27973 (func_calc_desc): Add mpfr_f_11 union field.
27974 (test_functions): Add sincos.
27975 (calc_generic_results): Handle mpfr_f_11.
27976 * sysdeps/i386/fpu/libm-test-ulps: Update.
27977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27978
27979 2013-12-19 Andreas Schwab <schwab@suse.de>
27980
27981 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27982 CALL_MCOUNT.
27983 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27984 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27985 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27986
27987 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27988
27989 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27990 * sysdeps/i386/fpu/libm-test-ulps: Update.
27991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27992
27993 [BZ #16293]
27994 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27995 round-to-nearest mode when using frndint.
27996 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27997 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27998 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27999 Likewise.
28000 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
28001 sinh test to fail.
28002 * math/auto-libm-test-out: Regenerated.
28003 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28004 (TEST_COND_x86): Likewise.
28005 (expm1_tonearest_test_data): New array.
28006 (expm1_test_tonearest): New function.
28007 (expm1_towardzero_test_data): New array.
28008 (expm1_test_towardzero): New function.
28009 (expm1_downward_test_data): New array.
28010 (expm1_test_downward): New function.
28011 (expm1_upward_test_data): New array.
28012 (expm1_test_upward): New function.
28013 (main): Run the new test functions.
28014 * sysdeps/i386/fpu/libm-test-ulps: Update.
28015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28016
28017 * include/features.h: Update comment documenting feature test
28018 macros. Mention _DEFAULT_SOURCE in comment.
28019 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28020 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28021 _BSD_SOURCE and _SVID_SOURCE.
28022 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28023 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28024 !_SVID_SOURCE]: Likewise.
28025 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28026 (__USE_POSIX_IMPLICITLY): Define.
28027 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28028 (_POSIX_SOURCE): Undefine and redefine.
28029 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28030 (_POSIX_C_SOURCE): Likewise.
28031 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28032 (Feature Test Macros): Update documentation of default features.
28033
28034 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28035
28036 * benchtests/Makefile: Add bench-strtok.
28037 * benchtests/bench-strtok.c: New file: strtok benchtest.
28038
28039 2013-12-19 Allan McRae <allan@archlinux.org>
28040
28041 * manual/install.texi: Suppress menu for plain text output.
28042 * INSTALL: Regenerated.
28043
28044 2013-12-18 Brooks Moses <bmoses@google.com>
28045
28046 [BZ #15846]
28047 * misc/getauxval.c: Include errno.h.
28048 (__getauxval): Set errno to ENOENT if the requested type is not
28049 found.
28050 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28051 don't declare with __attribute_const__.
28052 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28053 * manual/startup.texi: Document that getauxval sets errno.
28054
28055 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28056
28057 * math/auto-libm-test-in: Add tests of jn and yn.
28058 * math/auto-libm-test-out: Regenerated.
28059 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28060 (yn_test_data): Likewise.
28061 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28062 mpfr_if_f.
28063 (func_calc_desc): Add mpfr_if_f union field.
28064 (FUNC_mpfr_if_f): New macro.
28065 (test_functions): Add jn and yn.
28066 (calc_generic_results): Assert type of second input for
28067 mpfr_ff_f. Handle mpfr_if_f.
28068 (output_for_one_input_case): Disable all checking for arguments
28069 fitting floating-point types in case of an integer argument.
28070 * sysdeps/i386/fpu/libm-test-ulps: Update.
28071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28072
28073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28074 Don't expect fegetround reference in libm.so.
28075
28076 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28077
28078 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28079 $(config-cflags-nofma).
28080
28081 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28082
28083 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28084 * math/auto-libm-test-out: Regenerated.
28085
28086 [BZ #16338]
28087 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28088 to determine exponent and adjust argument to have exponent of -1.
28089 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28090 log2.
28091 * math/auto-libm-test-out: Regenerated.
28092 * sysdeps/i386/fpu/libm-test-ulps: Update.
28093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28094
28095 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28096
28097 * manual/probes.texi: Remove cases when per-thread arenas are
28098 disabled.
28099
28100 2013-12-18 Andreas Schwab <schwab@suse.de>
28101
28102 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28103 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28104 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28105 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28106 * sysdeps/i386/i686/multiarch/Makefile: Update.
28107 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28108
28109 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28110
28111 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28112 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28113
28114 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28115
28116 [BZ #15968]
28117 Support TZ transition times < 00:00:00.
28118 This is needed for version-3 tz-format files; it supports time
28119 stamps past 2037 for America/Godthab (the only entry in the tz
28120 database for which this change is relevant).
28121 * manual/time.texi (TZ Variable): Document transition times
28122 from -167:59:59 through -00:00:01.
28123 * time/tzset.c (tz_rule): Time of day is now signed.
28124 (__tzset_parse_tz): Parse negative time of day.
28125
28126 Document TZ transition times >= 25:00:00.
28127 * manual/time.texi (TZ Variable): Document transition times from
28128 25:00:00 through 167:59:59. These are already supported, and this
28129 support will help with version-3 tz-format files.
28130
28131 * manual/time.texi (TZ Variable): Modernize North America example
28132 to reflect current (i.e., 2007-and-later) daylight saving rules.
28133
28134 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28135
28136 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28137
28138 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28139 * sysdeps/unix/bsd/bits/stat.h: Likewise.
28140 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28142 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28143 * sysdeps/unix/bsd/bsdstat.h: Likewise.
28144 * sysdeps/unix/bsd/clock.c: Likewise.
28145 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28146 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28147 * sysdeps/unix/bsd/init-posix.c: Likewise.
28148 * sysdeps/unix/bsd/poll.c: Likewise.
28149 * sysdeps/unix/bsd/ptsname.c: Likewise.
28150 * sysdeps/unix/bsd/seekdir.c: Likewise.
28151 * sysdeps/unix/bsd/setegid.c: Likewise.
28152 * sysdeps/unix/bsd/seteuid.c: Likewise.
28153 * sysdeps/unix/bsd/setgid.c: Likewise.
28154 * sysdeps/unix/bsd/setrgid.c: Likewise.
28155 * sysdeps/unix/bsd/setruid.c: Likewise.
28156 * sysdeps/unix/bsd/setsid.c: Likewise.
28157 * sysdeps/unix/bsd/setuid.c: Likewise.
28158 * sysdeps/unix/bsd/sigaction.c: Likewise.
28159 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28160 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28161 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28162 * sysdeps/unix/bsd/telldir.c: Likewise.
28163 * sysdeps/unix/bsd/times.c: Likewise.
28164 * sysdeps/unix/bsd/usleep.c: Likewise.
28165
28166 * misc/Makefile (install-lib): Remove libbsd-compat.a.
28167 ($(objpfx)libbsd-compat.a): Remove rule.
28168
28169 * include/features.h (__FAVOR_BSD): Do not define.
28170 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28171 features conflicting with POSIX.
28172 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28173 (_BSD_SOURCE): Remove description of not being a subset of other
28174 feature test macros.
28175 * manual/job.texi (getpgrp): Do not document BSD version.
28176 (getpgid): Do not document by reference to BSD getpgrp.
28177 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28178 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28179 * signal/signal.h [__FAVOR_BSD]: Likewise.
28180 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28181 instead of making contents conditional on [__FAVOR_BSD].
28182 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28183
28184 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28185
28186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28187
28188 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28189
28190 [BZ #16314]
28191 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28192 values below 2**-450, not 2**-500.
28193 * math/auto-libm-test-in: Don't allow spurious underflow from
28194 hypot.
28195 * math/auto-libm-test-out: Regenerated.
28196
28197 [BZ #16316]
28198 [BZ #16330]
28199 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28200 values of ha and hb and sort them after adjusting subnormal
28201 arguments.
28202 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28203 Likewise.
28204 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28205 values of ea and eb and sort them after adjusting subnormal
28206 arguments.
28207 * math/auto-libm-test-in: Do not expect some hypot tests of
28208 subnormals to fail. Add more hypot tests.
28209 * math/auto-libm-test-out: Regenerated.
28210
28211 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28212
28213 [BZ #13304]
28214 * sysdeps/sh/s_fma.c: New file.
28215 * sysdeps/sh/s_fmaf.c: New file.
28216 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
28217 version.
28218 * sysdeps/sh/Implies: Add sh/soft-fp.
28219
28220 2013-12-16 Roland McGrath <roland@hack.frob.com>
28221
28222 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28223 level of indirection to members `objname', `errstring', `malloced'.
28224 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28225 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28226 it as the __longjmp argument (just pass 1 instead).
28227 (_dl_catch_error): Initialize C with argument pointers and address of
28228 volatile local ERRCODE rather than copying values out of C at return.
28229
28230 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28231
28232 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28233 * math/auto-libm-test-out: Regenerated.
28234 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28235 (hypot_test_data): Likewise.
28236 (pow_test_data): Likewise.
28237 (pow_tonearest_test_data): Likewise.
28238 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28239 mpfr_ff_f.
28240 (func_calc_desc): Add mpfr_ff_f union field.
28241 (FUNC_mpfr_ff_f): New macro.
28242 (test_functions): Add atan2, hypot and pow.
28243 (special_fill_min): New function.
28244 (special_fill_minus_min): Likewise.
28245 (special_fill_min_subnorm): Likewise.
28246 (special_fill_minus_min_subnorm): Likewise.
28247 (special_real_inputs): Add min, -min, min_subnorm and
28248 -min_subnorm.
28249 (calc_generic_results): Handle mpfr_ff_f.
28250 * sysdeps/i386/fpu/libm-test-ulps: Update.
28251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28252
28253 2013-12-16 Will Newton <will.newton@linaro.org>
28254
28255 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28256 (Aligned Memory Blocks): Add documentation for aligned_alloc
28257 and suggest it as an alternative to posix_memalign.
28258 (Hooks for Malloc): Document __memalign_hook is also called
28259 for aligned_alloc. (Summary of Malloc): Add summary for
28260 aligned alloc. Document __memalign_hook is also called
28261 for aligned_alloc.
28262
28263 2013-12-16 Will Newton <will.newton@linaro.org>
28264
28265 * manual/memory.texi (Malloc Examples): Clarify default
28266 alignment documentation. Suggest posix_memalign rather
28267 than memalign or valloc.
28268 (Aligned Memory Blocks): Remove suggestion to use memalign
28269 or valloc. Remove obsolete comment about BSD.
28270 Document memalign errno values and mark the function obsolete.
28271 Document posix_memalign returned error codes. Mark valloc
28272 as obsolete. (Hooks for Malloc): __memalign_hook is also
28273 called for posix_memalign and valloc.
28274 (Summary of Malloc): Add posix_memalign to function summary.
28275 __memalign_hook is also called for posix_memalign and valloc.
28276
28277 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28278
28279 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28280 TAYLOR_SIN.
28281 (__sin): Adjust.
28282 (__cos): Likewise.
28283 (sloww): Use mynumber union. Expand ternary operator into
28284 if-else statements.
28285 (cslow): use mynumber union.
28286
28287 2013-12-16 Allan McRae <allan@archlinux.org>
28288
28289 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28290 * configure: Regenerated.
28291
28292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28293
28294 [BZ #14120]
28295 * configure.ac: Added --enable-maintainer-mode. Check for
28296 autoconf when enabled.
28297 * configure: Regenerated.
28298
28299 * nscd/nscd.service: New file.
28300 * nscd/nscd.tmpfiles: New file.
28301
28302 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28303
28304 [BZ #12100]
28305 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28306 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28307 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28308 (strstr): Add __strstr_sse2_unaligned ifunc.
28309 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28310 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28311 (strcasestr): Remove __strcasestr_sse42 ifunc.
28312 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28313 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28315
28316 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28317
28318 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28319 * sysdeps/sh/bits/fenv.h: ... here.
28320 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28321
28322 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28323
28324 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28325
28326 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28327 hypotf multiarch implementations.
28328 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28329 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28330 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28331 multiarch hypot for PPC64.
28332 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28333 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28334 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28335 multiarch hypotf for PPC64.
28336
28337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28338 modff multiarch implementations.
28339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28342 multiarch modf for PPC64.
28343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28346 multiarch modff for PPC64.
28347
28348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28349 and logl multiarch implementations.
28350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28353 multiarch logb for PPC64.
28354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28357 multiarch logb for PPC64.
28358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28361 multiarch logb for PPC64.
28362
28363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28364 isinff multiarch implementation.
28365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28366 file.
28367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28369 multiarch isinf for PPC64.
28370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28371 file.
28372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28373 multiarch isinff for PPC64.
28374
28375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28376 finitef multiarch implementation.
28377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28378 file.
28379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28381 multiarch finite for PPC64.
28382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28383 file.
28384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28385 multiarch finitef for PPC64.
28386
28387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28388 lrint multiarch implementation.
28389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28390 file.
28391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28393 multiarch llrint for PPC64.
28394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28395 multiarch lrint for PPC64.
28396
28397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28398 copysignf multiarch implementation.
28399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28400 file.
28401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28402 file.
28403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28404 multiarch copysign for PPC64.
28405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28406 multiarch copysignf for PPC64.
28407
28408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28409 multiarch implementation.
28410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28411 file.
28412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28413 file.
28414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28415 file.
28416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28417 file.
28418 multiarch llround for PPC64.
28419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28420 multiarch trunc for PPC64.
28421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28422 multiarch truncf for PPC64.
28423
28424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28425 multiarch implementation.
28426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28427 file.
28428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28429 file.
28430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28431 file.
28432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28433 file.
28434 multiarch llround for PPC64.
28435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28436 multiarch round for PPC64.
28437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28438 multiarch roundf for PPC64.
28439
28440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28441 multiarch implementation.
28442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28443 file.
28444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28445 file.
28446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28447 file.
28448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28449 file.
28450 multiarch llround for PPC64.
28451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28452 multiarch floor for PPC64.
28453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28454 multiarch floorf for PPC64.
28455
28456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28457 multiarch implementation.
28458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28459 file.
28460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28461 file.
28462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28463 file.
28464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28465 file.
28466 multiarch llround for PPC64.
28467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28468 multiarch ceil for PPC64.
28469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28470 multiarch ceilf for PPC64.
28471
28472 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28473 multiarch implementation.
28474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28475 file.
28476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28477 file.
28478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28479 file.
28480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28481 multiarch llround for PPC64.
28482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28483 multiarch lround for PPC64.
28484
28485 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28486 multiarch implementation.
28487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28490 file.
28491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28494 multiarch isnan for PPC64.
28495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28496 multiarch isnanf for PPC64.
28497
28498 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28499 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28500 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28501 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28502 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28504
28505 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28506 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28507 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28508 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28509
28510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28511 multiarch implementations.
28512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28513 (__libc_ifunc_impl_list): Likewise.
28514 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28515 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28516 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28517 multiarch stpcpy for PPC64.
28518
28519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28520 multiarch implementations.
28521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28522 (__libc_ifunc_impl_list): Likewise.
28523 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28524 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28525 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28526 multiarch strcpy for PPC64.
28527
28528 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28529 redefine function name.
28530 (_wordcopy_fwd_dest_aligned): Likewise.
28531 (_wordcopy_bwd_aligned): Likewise.
28532 (_wordcopy_bwd_dest_aligned): Likewise.
28533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28534 multiarch implementations.
28535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28536 (__libc_ifunc_impl_list): Likewise.
28537 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28538 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28539 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28540 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28541 multiarch wcscpy for PPC64.
28542
28543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28544 multiarch implementations.
28545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28546 (__libc_ifunc_impl_list): Likewise.
28547 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28548 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28549 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28550 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28551 multiarch wcscpy for PPC64.
28552
28553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28554 multiarch implementations.
28555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28556 (__libc_ifunc_impl_list): Likewise.
28557 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28558 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28559 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28560 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28561 multiarch wcsrchr for PPC64.
28562
28563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28564 multiarch implementations.
28565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28566 (__libc_ifunc_impl_list): Likewise.
28567 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28568 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28569 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28570 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28571 multiarch wcschr for PPC64.
28572
28573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28574 multiarch implementations.
28575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28576 (__libc_ifunc_impl_list): Likewise.
28577 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28578 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28579 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28580 multiarch strchrnul for PPC64.
28581
28582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28583 implementations.
28584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28585 (__libc_ifunc_impl_list): Likewise.
28586 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28587 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28588 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28589 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28590 strchr for PPC64.
28591
28592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28593 implementations.
28594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28595 (__libc_ifunc_impl_list): Likewise.
28596 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28597 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28598 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28599 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28600 strncmp for PPC64.
28601
28602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28603 multiarch implementations.
28604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28605 (__libc_ifunc_impl_list): Likewise.
28606 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28607 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28608 strncasecmp for PPC64.
28609 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28610 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28611 multiarch strncasecmp_l for PPC64.
28612
28613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28614 multiarch implementations.
28615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28616 (__libc_ifunc_impl_list): Likewise.
28617 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28618 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28619 multiarch strcasecmp for PPC64.
28620 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28621 file.
28622 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28623 multiarch strcasecmp_l for PPC64.
28624
28625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28626 implementations.
28627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28628 (__libc_ifunc_impl_list): Likewise.
28629 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28630 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28631 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28632 strnlen for PPC64.
28633
28634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28635 implementations.
28636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28637 (__libc_ifunc_impl_list): Likewise.
28638 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28639 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28640 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28641 strlen for PPC64.
28642
28643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28644 implementations.
28645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28646 (__libc_ifunc_impl_list): Likewise.
28647 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28648 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28649 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28650 rawmemrchr for PPC64.
28651
28652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28653 implementation.
28654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28655 (__libc_ifunc_impl_list): Likewise.
28656 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28657 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28658 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28659 memrchr for PPC64.
28660
28661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28662 implementation.
28663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28664 (__libc_ifunc_impl_list): Likewise.
28665 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28666 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28667 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28668 memchr for PPC64.
28669
28670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28671 implementation.
28672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28673 (__libc_ifunc_impl_list): Likewise.
28674 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28675 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28676 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28677 mempcpy for PPC64.
28678
28679 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28680 avoid cretion of __bzero symbol.
28681 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28682 Likewise.
28683 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28684 Likewise.
28685 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28686 Likewise.
28687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28688 multiarch implementations.
28689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28690 (__libc_ifunc_impl_list): Likewise.
28691 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28692 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28693 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28694 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28695 bzero for PPC32.
28696 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28697 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28698 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28699 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28700 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28701 memset for PPC64.
28702 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28703
28704 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28706 implementations.
28707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28708 (__libc_ifunc_impl_list): Likewise.
28709 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28710 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28711 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28712 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28713 memcmp for PPC64.
28714
28715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28716 multiarch for POWER/PPC64.
28717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28718 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28719 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28720 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28721 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28722 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28723 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28724 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28725 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28726 memcpy for PPC64.
28727
28728 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28729 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28730 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28731 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28732 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28733 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28734 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28735 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28736 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28737 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28738 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28739 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28740 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28741 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28742 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28750
28751 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28752
28753 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28754
28755 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28756
28757 * benchtests/Makefile (bench): Add exp2 and log2.
28758 (LDLIBS-bench-exp2): Add -lm.
28759 (LDLIBS-bench-log2): Likewise.
28760 * benchtests/exp2-inputs: New inputs file.
28761 * benchtests/log2-inputs: New inputs file.
28762 * benchtests/log-inputs: Add new inputs.
28763 * benchtests/tan-inputs: Likewise.
28764
28765 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28766
28767 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28768 definition...
28769 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28770 (csloww2): ... from here.
28771
28772 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28773 instead of structures.
28774 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28775 (POLYNOMIAL): Likewise.
28776 (TAYLOR_SLOW): Likewise.
28777 (__sin): Likewise.
28778 (__cos): Likewise.
28779 (slow1): Likewise.
28780 (slow2): Likewise.
28781 (sloww): Likewise.
28782 (sloww1); Likewise.
28783 (sloww2): Likewise.
28784 (bsloww1): Likewise.
28785 (bsloww2): Likewise.
28786 (cslow2): Likewise.
28787 (csloww): Likewise.
28788 (csloww1): Likewise.
28789 (csloww2): Likewise.
28790
28791 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28792
28793 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28794 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28795 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28796 * malloc/hooks.c (realloc_check): Likewise.
28797
28798 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28799 * malloc/arena.c: Remove PER_THREAD conditional.
28800 [!PER_THREAD]: Remove code.
28801 (ptmalloc_unlock_all2): Likewise.
28802 (ptmalloc_init): Likewise.
28803 (_int_new_arena): Likewise.
28804 (arena_get2): Likewise.
28805 * malloc/hooks.c (__malloc_get_state): Likewise.
28806 (__malloc_set_state): Likewise.
28807 * malloc/malloc.c: Likewise.
28808 (struct malloc_state): Likewise.
28809 (struct malloc_par): Likewise.
28810 (__libc_realloc): Likewise.
28811 (__libc_mallopt): Likewise.
28812
28813 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28814
28815 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28816
28817 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28818
28819 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28820 macro to a function. Check for zero perturb_byte.
28821 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28822
28823 * malloc/malloc.c: (force_reg): Remove.
28824 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28825 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28826 force_reg by atomic_forced_read.
28827 * malloc/arena.c (ptmalloc_init): Likewise.
28828 * malloc/hooks.c (top_check): Likewise.
28829
28830 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28831
28832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28833
28834 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28835
28836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28837
28838 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28839
28840 * math/auto-libm-test-in: Add tests of lgamma.
28841 * math/auto-libm-test-out: Regenerated.
28842 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28843 (M_LOG_2_SQRT_PIl): Likewise.
28844 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28845 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28846 mpfr_f_f1.
28847 (func_calc_desc): Add mpfr_f_f1 union field.
28848 (ARGS1): New macro.
28849 (ARGS2): Likewise.
28850 (ARGS3): Likewise.
28851 (ARGS4): Likewise.
28852 (RET1): Likewise.
28853 (RET2): Likewise.
28854 (CALC): Likewise.
28855 (FUNC): Likewise.
28856 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28857 (test_functions): Add lgamma.
28858 (calc_generic_results): Handle mpfr_f_f1.
28859 * sysdeps/i386/fpu/libm-test-ulps: Update.
28860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28861
28862 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28863
28864 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28865 __mpn_add_n for PowerPC64/POWER7.
28866 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28867 __mpn_sub_n for PowerPC64/POWER7.
28868
28869 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28870 __mpn_addmul_1 for PowerPC64.
28871 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28872 __mpn_submul_1 for PowerPC64.
28873 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28874 for PowerPC64.
28875 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28876 for PowerPC64.
28877
28878 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28879
28880 [BZ #15089]
28881 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28882
28883 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28884
28885 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28886
28887 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28888 add multiarch folders.
28889 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28890 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28891 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28892 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28893 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28894 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28895 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28896 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28897 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28898 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28899 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28906
28907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28908 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28910 New file.
28911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28912 New file.
28913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28914 multiarch __ieee754_hypot for PowerPC32.
28915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28916 New file.
28917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28918 New file.
28919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28920 multiarch __ieee754_hypotf for PowerPC32.
28921
28922 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28923 long_double_symbol only if __logbl is defined.
28924 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28925 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28926 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28927 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28929 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28930 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28931 path for implementation.
28932 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28933 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28935 logb, and logbl multiarch implementations for PowerPC32.
28936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28937 file.
28938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28939 file.
28940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28941 multiarch logb for PowerPC32.
28942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28943 file.
28944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28945 file.
28946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28947 multiarch logbf for PowerPC32.
28948 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28950 file.
28951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28952 multiarch logbl implementation for PowerPC32.
28953
28954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28955 and modff multiarch implementations.
28956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28957 New file.
28958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28959 New file.
28960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28961 multiarch modf for PowerPC32.
28962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28963 New file.
28964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28965 New file.
28966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28967 multiarch modff for PowerPC32.
28968
28969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28970 and lrintf multiarch implementations.
28971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28972 New file.
28973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28974 New file.
28975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28976 multiarch lrint for PowerPC32.
28977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28978 file: multiarch lrintf for PowerPC32.
28979
28980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28981 and lroundf multiarch implementations.
28982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28983 New file.
28984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28985 New file.
28986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28987 New file.
28988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28989 multiarch lround for PowerPC32.
28990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28991 file: multiarch lroundf for PowerPC32.
28992
28993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28994 copysign and copysignf multiarch implementations.
28995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28996 New file.
28997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28998 New file.
28999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29000 file: multiarch copysign for PowerPC32.
29001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29002 file: multiarch copysignf for PowerPC32.
29003
29004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29005 and truncf multiarch implementations.
29006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29007 New file.
29008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29009 file.
29010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29011 multiarch trunc for PowerPC32.
29012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29013 New file.
29014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29015 New file.
29016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29017 multiarch truncf for PowerPC32.
29018
29019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29020 and roundf multiarch implementations.
29021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29022 New file.
29023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29024 file.
29025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29026 multiarch round for PowerPC32.
29027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29028 New file.
29029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29030 New file.
29031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29032 multiarch roundf for PowerPC32.
29033
29034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29035 and floorf multiarch implementations.
29036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29037 New file.
29038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29039 file.
29040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29041 multiarch floor for PowerPC32.
29042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29043 New file.
29044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29045 New file.
29046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29047 multiarch floorf for PowerPC32.
29048
29049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29050 and ceilf multiarch implementations.
29051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29052 New file.
29053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29054 file.
29055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29056 multiarch ceil for PowerPC32.
29057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29058 New file.
29059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29060 file.
29061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29062 multiarch ceilf for PowerPC32.
29063
29064 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29065 is defined.
29066 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29067 FINITEF is defined.
29068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29069 and finitef multiarch implementations.
29070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29071 New file.
29072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29073 file.
29074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29075 multiarch finite for PowerPC32.
29076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29077 New file.
29078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29079 file: multiarch finitef for PowerPC32.
29080
29081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29082 and isinff multiarch implementations.
29083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29084 file.
29085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29086 file.
29087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29088 multiarch isinf for PowerPC32.
29089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29090 New file.
29091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29092 multiarch isinff for PowerPC32.
29093
29094 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29095 alias when __isnan is defined.
29096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29097 and isnanf multiarch implementations.
29098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29099 file.
29100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29101 file.
29102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29103 file.
29104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29105 file.
29106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29107 multiarch isnan for PowerPC32.
29108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29109 New file.
29110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29111 New file.
29112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29113 multiarch isnanf for PowerPC32.
29114
29115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29116 and sqrtf multiarch implementations.
29117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29118 file.
29119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29120 file.
29121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29122 multiarch sqrt for PowerPC32.
29123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29124 file.
29125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29126 file.
29127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29128 multiarch sqrtf for PowerPC32.
29129
29130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29131 and llroundf multiarch implementations.
29132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29133 New file.
29134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29135 New file.
29136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29137 New file.
29138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29139 file: multiarch llround for PowerPC32.
29140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29141 file: multiarch llroundf for PowerPC32.
29142
29143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29144 multiarch PowerPC32 fpu implementations.
29145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29146 New file.
29147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29148 New file.
29149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29150 multiarch llrint for PowerPC32.
29151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29152 New file.
29153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29154 New file.
29155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29156 file.
29157
29158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29159
29160 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29161 file.
29162 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29163 file.
29164 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29165 file.
29166 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29167 multiarch wordcopy for PPC32.
29168 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29169 wordcopy objects.
29170 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29171 (__libc_ifunc_impl_list): Likewise.
29172 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29173 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29174 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29175 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29176 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29177 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29178
29179 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29180 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29181 file.
29182 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29183 file.
29184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29185 file.
29186 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29187 multiarch wcscpy for PPC32.
29188 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29189 multiarch objects.
29190 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29191 (__libc_ifunc_impl_list): Likewise.
29192 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29193 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29194 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29195 sysdeps/powerpc/power6/wcscpy.c.
29196
29197 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29199 file.
29200 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29201 file.
29202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29203 file.
29204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29205 multiarch wcsrchr 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/wcsrchr.c: Move ...
29211 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29212 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29213 sysdeps/powerpc/power6/wcsrchr.c.
29214
29215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29216 file.
29217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29218 file.
29219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29221 multiarch wcschr for PPc32.
29222 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29223 multiarch objects.
29224 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29225 (__libc_ifunc_impl_list): Likewise.
29226 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29227 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29228 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29229 sysdeps/powerpc/power6/wcschr.c.
29230
29231 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29232 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29233 file.
29234 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29235 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29236 file: multiarch strchr for PPC32.
29237 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29238 multiarch objects.
29239 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29240 (__libc_ifunc_impl_list): Likewise.
29241
29242 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29243 name.
29244 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29245 file.
29246 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29247 file.
29248 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29249 multiarch strchrnul for PPC32.
29250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29251 multiarch objects.
29252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29253 (__libc_ifunc_impl_list): Likewise.
29254
29255 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29256 file.
29257 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29258 multiarch strncasecmp for PPC32.
29259 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29260 file.
29261 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29262 multiarch strncasecmp_l for PPC32.
29263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29264 strncasecmp multiarch objects.
29265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29266 (__libc_ifunc_impl_list): Likewise.
29267
29268 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29269 file.
29270 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29271 multiarch strncasecmp for PPC32.
29272 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29273 New file.
29274 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29275 multiarch strcasecmp_l for PPC32.
29276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29277 multiarch objects.
29278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29279 (__libc_ifunc_impl_list): Likewise.
29280
29281 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29282 file.
29283 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29284 file.
29285 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29286 multiarch strncmp for PPC32.
29287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29288 multiarch objects.
29289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29290 (__libc_ifunc_impl_list): Likewise.
29291
29292 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29293 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29294 file.
29295 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29296 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29298 multiarch objects.
29299 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29300 (__libc_ifunc_impl_list): Likewise.
29301
29302 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29303 file.
29304 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29305 file.
29306 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29308 multiarch objects.
29309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29310 (__libc_ifunc_impl_list): Likewise.
29311
29312 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29313 file.
29314 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29315 file.
29316 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29317 multiarch rawmemchr for PPC32.
29318 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29319 multiarch objects.
29320 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29321 (__libc_ifunc_impl_list): Likewise.
29322
29323 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29324 file.
29325 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29326 file.
29327 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29328 file: memrchr multiarch for PPC32.
29329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29330 multiarch objects.
29331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29332 (__libc_ifunc_impl_list): Likewise.
29333
29334 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29335 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29336 file.
29337 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29338 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29339 multiarch memchr for PPC32.
29340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29341 multiarch objects.
29342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29343 (__libc_ifunc_impl_list): Likewise.
29344
29345 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29346 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29347 file.
29348 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29349 file.
29350 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29351 file: multiarch mempcpy for PPC32.
29352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29353 multiarch objects.
29354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29355 (__libc_ifunc_impl_list): Likewise.
29356
29357 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29358 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29359 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29360 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29361 multiarch bzero for PPC32.
29362 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29363 file.
29364 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29365 file.
29366 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29367 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29368 file: multiarch memset for PPC32.
29369 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29371 memset multiarch objects.
29372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29373 (__libc_ifunc_impl_list): Likewise.
29374
29375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29376 file.
29377 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29378 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29379 memcmp for PPC32.
29380 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29381 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29382 multiarch objects.
29383 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29384 (__libc_ifunc_impl_list): Likewise.
29385
29386 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29387 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29388 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29389 file.
29390 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29391 file.
29392 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29393 file.
29394 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29395 multiarch memcpy for PPC32.
29396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29397 multiarch objects.
29398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29399 (__libc_ifunc_impl_list): Likewise.
29400
29401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29402 support multiarch for POWER/PPC32.
29403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29404 Likewise.
29405 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29407 Implies file to make multiarch folder appers before the fpu and
29408 default folder for power4 configuration.
29409
29410 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29411
29412 * scripts/bench.pl: Append volatile keyword to type.
29413
29414 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29415
29416 * sysdeps/sh/sotruss-lib.c: New file.
29417 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29418
29419 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29420
29421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29422
29423 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29424
29425 [BZ #6810]
29426 * math/w_tgamma.c: Include <errno.h>.
29427 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29428 * math/w_tgammaf.c: Include <errno.h>.
29429 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29430 * math/w_tgammal.c: Include <errno.h>.
29431 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29432 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29433 underflow. Add more tgamma tests.
29434 * math/auto-libm-test-out: Regenerated.
29435 * sysdeps/i386/fpu/libm-test-ulps: Update.
29436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29437
29438 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29439 sin, sinh, tan, tanh, tgamma, y0 and y1.
29440 * math/auto-libm-test-out: Regenerated.
29441 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29442 (TEST_COND_x86): Likewise.
29443 (M_E2l): Remove macro.
29444 (M_E3l): Likewise.
29445 (M_2_SQRT_PIl): Likewise.
29446 (M_SQRT_PIl): Likewise.
29447 (M_1_DIV_El): Likewise.
29448 (log_test_data): Use AUTO_TESTS_f_f.
29449 (log10_test_data): Likewise.
29450 (log1p_test_data): Likewise.
29451 (log2_test_data): Likewise.
29452 (sin_test_data): Likewise.
29453 (sin_tonearest_test_data): Likewise.
29454 (sin_towardzero_test_data): Likewise.
29455 (sin_downward_test_data): Likewise.
29456 (sin_upward_test_data): Likewise.
29457 (sinh_test_data): Likewise.
29458 (sinh_tonearest_test_data): Likewise.
29459 (sinh_towardzero_test_data): Likewise.
29460 (sinh_downward_test_data): Likewise.
29461 (sinh_upward_test_data): Likewise.
29462 (tan_test_data): Likewise.
29463 (tan_tonearest_test_data): Likewise.
29464 (tan_towardzero_test_data): Likewise.
29465 (tan_downward_test_data): Likewise.
29466 (tan_upward_test_data): Likewise.
29467 (tanh_test_data): Likewise.
29468 (tgamma_test_data): Likewise.
29469 (y0_test_data): Likewise.
29470 (y1_test_data): Likewise.
29471 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29472 (special_real_inputs): Add pi/4.
29473 * sysdeps/i386/fpu/libm-test-ulps: Update.
29474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29475
29476 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29477
29478 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29479 "longjmp_target" static probes.
29480 (__longjmp): Rename to __longjmp_symbol.
29481 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29482 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29483 on which longjmp to generate.
29484 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29485 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29486 probe.
29487 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29488 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29489 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29490 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29491 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29492 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29494 __longjmp_symbol based on which __longjmp to generate.
29495 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29496 probe.
29497 (setjmp): Rename to setjmp_symbol.
29498 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29499 (_setjmp): Rename to _setjmp_symbol.
29500 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29501 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29502 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29503 which setjmp to generate.
29504 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29505 "longjmp_target" static probes.
29506
29507 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29508
29509 * benchtests/README: Add note about output arguments.
29510 * benchtests/bench-sincos.c: Remove file.
29511 * benchtests/sincos-inputs: New file.
29512 * scripts/bench.pl: Identify output arguments and define
29513 static variables for them.
29514
29515 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29516
29517 [BZ #15941]
29518 * Makefile (INSTALL): Add install-plain.texi as the primary
29519 dependency.
29520 * manual/install-plain.texi: New file.
29521 * manual/install.texi: Include node directive only for
29522 non-plaintext output.
29523
29524 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29525
29526 * stdlib/longlong.h: Update from GCC.
29527
29528 [BZ #6807]
29529 [BZ #15901]
29530 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29531 * math/w_j0f.c (y0f): Likewise.
29532 * math/w_j0l.c (__y0l): Likewise.
29533 * math/w_j1.c (y1): Likewise.
29534 * math/w_j1f.c (y1f): Likewise.
29535 * math/w_j1l.c (__y1l): Likewise
29536 * math/w_jn.c (yn): Likewise.
29537 * math/w_jnf.c (ynf): Likewise.
29538 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29539 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29540 value for Bessel function domain errors outside _SVID_ mode.
29541 Adjust sign of return value for yn (negative integer, 0).
29542 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29543 by zero in return for negative x and set sign appropriately for
29544 negative n.
29545 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29546 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29547 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29548 expectations in error cases.
29549 (y1_test_data): Likewise.
29550 (yn_test_data): Likewise.
29551 * sysdeps/i386/fpu/libm-test-ulps: Update.
29552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29553
29554 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29555
29556 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29557 "64" to "64-v1". Add "64-v2".
29558 (abi-64-options): Rename to ...
29559 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29560 (abi-64-condition): Rename to ...
29561 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29562 (abi-64-ld-soname): Rename to ...
29563 (abi-64-v1-ld-soname): ... this.
29564 (abi-64-v2-options): Define.
29565 (abi-64-v2-condition): Likewise.
29566 (abi-64-v2-ld-soname): Likewise.
29567 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29568 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29572
29573 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29574 Alan Modra <amodra@gmail.com>
29575
29576 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29577 New versions for use with the ELFv2 ABI.
29578 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29579 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29580 declaration.
29581 (struct La_ppc64v2_retval): Likewise.
29582 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29583 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29584 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29585 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29586 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29587 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29588 Do not save or restore CR.
29589 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29590 (_dl_profile_resolve): Do no save or restore CR. Support extended
29591 return values for ELFv2 ABI. Fix location of FPR return registers.
29592 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29593 updated values for _CALL_ELF == 2.
29594 (La_regs, La_retval, int_retval): Likewise.
29595
29596 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29597
29598 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29599 (FRAME_MIN_SIZE_PARM): Likewise.
29600 (FRAME_BACKCHAIN): Likewise.
29601 (FRAME_CR_SAVE): Likewise.
29602 (FRAME_LR_SAVE): Likewise.
29603 (FRAME_TOC_SAVE): Likewise.
29604 (FRAME_PARM_SAVE): Likewise.
29605 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29606 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29607 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29608 (call_mcount_parm_offset): New macro.
29609 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29610 (PROF): Use symbolic stack frame offsets.
29611 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29612 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29613 Redefine in terms of FRAME_MIN_SIZE.
29614 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29615 (_dl_profile_resolve): Likewise. Update comment.
29616 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29617 symbols stack frame offsets.
29618 (__sigsetjmp): Likewise.
29619 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29620 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29621 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29622 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29623
29624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29625 (FRAME_BACKCHAIN): Remove.
29626 (FRAME_CR_SAVE): Likewise.
29627 (FRAME_LR_SAVE): Likewise.
29628 (FRAME_COMPILER_DW): Likewise.
29629 (FRAME_LINKER_DW): Likewise.
29630 (FRAME_TOC_SAVE): Likewise.
29631 (FRAME_PARM_SAVE): Likewise.
29632 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29633 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29634 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29636 (CHECK_SP): Use symbolic stack frame offsets.
29637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29638 zone" instead of caller's parameter save area for temp storage.
29639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29640 Likewise. Also, use symbolic stack frame offsets.
29641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29642 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29643 our own stack frame instead of the caller's.
29644 (__socket): Use symbolic stack frame offsets.
29645
29646 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29647 Alan Modra <amodra@gmail.com>
29648
29649 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29650 Define.
29651 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29652 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29653 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29654 New function.
29655 (elf_machine_fixup_plt): Call it.
29656 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29657 reloc arguments.
29658 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29659 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29660 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29661 r2 before calling target.
29662
29663 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29664 Alan Modra <amodra@gmail.com>
29665
29666 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29667 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29668 versions of macros to support ELFv2 ABI.
29669 (LOCALENTRY): New macro.
29670 (ENTRY, EALIGN): Use it.
29671 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29672 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29673 fall through into ENTRY entry point.
29674 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29675 Only define if _CALL_ELF != 2.
29676
29677 (elf_machine_matches_host): Verify ABI version matches.
29678 (RTLD_START): Use LOCALENTRY.
29679 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29680 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29681 (PLT_ENTRY_WORDS): New macro.
29682 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29683 (elf_machine_runtime_setup): Support ELFv2 ABI.
29684 (elf_machine_fixup_plt): Likewise.
29685 (elf_machine_plt_conflict): Likewise.
29686 (resolve_ifunc): Likewise.
29687 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29688 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29689 Likewise.
29690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29691 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29693 (makecontext): Support ELFv2 ABI.
29694 * elf/elf.h (EF_PPC64_ABI): Define.
29695
29696 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29697
29698 * sysdeps/powerpc/powerpc64/sysdep.h
29699 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29700 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29701 (ENTRY) [ASSEMBLER]: ... but instead here ...
29702 (EALIGN) [ASSEMBLER]: ... and here.
29703 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29704 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29705 (ENTRY_2) [!ASSEMBLER]: Use it.
29706 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29707 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29708 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29709 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29710 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29712 Use PPC64_LOAD_FUNCPTR.
29713
29714 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29715
29716 2013-12-04 Alan Modra <amodra@gmail.com>
29717
29718 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29719 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29720 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29721 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29722
29723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29724 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29725 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29726 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29727 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29728 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29729
29730 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29731
29732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29733 (__makecontext): Fix incorrect CFI when backtracing out of
29734 context created via makecontext.
29735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29736 (__setcontext): Fix incorrect CFI during switch to new context.
29737 (__novec_setcontext): Likewise.
29738
29739 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29740
29741 [BZ #4772]
29742 * time/strptime_l.c (__strptime_internal): Allow modifiers
29743 in strptime.
29744 * time/tst-strptime.c (day_tests): Add testcase.
29745
29746 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29747
29748 * scripts/bench.pl: Skip over blank lines.
29749
29750 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29751
29752 [BZ #926]
29753 * manual/time.texi (Calendar Time): Clarify what timezone functions
29754 use.
29755
29756 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29757
29758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29759
29760 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29761
29762 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29763 implementation.
29764 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29765 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29766 * debug/memset_chk.c (__memset_chk): Likewise.
29767 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29768 * debug/strncpy_chk.c: Likewise.
29769
29770 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29771
29772 [BZ #15268]
29773 [BZ #15425]
29774 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29775 (__ieee754_exp): For possibly underflowing results, check size of
29776 result and force underflow exception if required.
29777 * math/auto-libm-test-in: Add more tests of exp.
29778 * math/auto-libm-test-out: Regenerated.
29779 * sysdeps/i386/fpu/libm-test-ulps: Update.
29780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29781
29782 [BZ #16283]
29783 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29784 * math/w_exp2f.c (__exp2f): Likewise.
29785 * math/w_exp2l.c (__exp2l): Likewise.
29786 * math/auto-libm-test-in: Do not allow missing errno on exp2
29787 underflow.
29788 * math/auto-libm-test-out: Regenerated.
29789
29790 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29791
29792 [BZ #16274]
29793 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29794 handle filename validation.
29795 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29796 (do_open): Delete.
29797
29798 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29799
29800 [BZ #6786]
29801 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29802 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29803 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29804 <float.h>.
29805 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29806 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29807 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29808 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29809 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29810 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29811 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29812 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29813 Add more erfc tests.
29814 * math/auto-libm-test-out: Regenerated.
29815 * sysdeps/i386/fpu/libm-test-ulps: Update.
29816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29817
29818 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29819 exp2, expm1, j0 and j1.
29820 * math/auto-libm-test-out: Regenerated.
29821 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29822 (erfc_test_data): Likewise.
29823 (exp_test_data): Likewise.
29824 (exp_tonearest_test_data): Likewise.
29825 (exp_towardzero_test_data): Likewise.
29826 (exp_downward_test_data): Likewise.
29827 (exp_upward_test_data): Likewise.
29828 (exp10_test_data): Likewise.
29829 (exp2_test_data): Likewise.
29830 (expm1_test_data): Likewise.
29831 (j0_test_data): Likewise.
29832 (j1_test_data): Likewise.
29833 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29834 (input_flag_type): Add flag_xfail_rounding.
29835 (input_flags): Add xfail-rounding.
29836 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29837 (output_for_one_input_case): Handle flag_xfail_rounding.
29838 * sysdeps/i386/fpu/libm-test-ulps: Update.
29839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29840
29841 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29842
29843 [BZ #16289]
29844 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29845 division by 0.
29846
29847 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29848
29849 [BZ #16195]
29850 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29851 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29852 (STAP_PROBE0): New macro.
29853 (STAP_PROBE1): Likewise.
29854 (STAP_PROBE2): Likewise.
29855 (STAP_PROBE3): Likewise.
29856 (STAP_PROBE4): Likewise.
29857
29858 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29859
29860 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29861
29862 2013-12-02 Steve Ellcey <sellcey@mips.com>
29863
29864 * benchtests/Makefile (bench): Add sqrt.
29865 (LDLIBS-bench-sqrt): New.
29866 * benchtests/sqrt-input: New.
29867
29868 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29869
29870 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29871 (GAIH_EAI): Likewise.
29872 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29873 (gaih_inet): Likewise.
29874 (getaddrinfo): Don't use GAIH_EAI.
29875
29876 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29877 (struct gaih): Remove definition.
29878
29879 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29880
29881 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29882 Use HERRNOP directly.
29883
29884 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29885
29886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29887
29888 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29889
29890 * math/gen-auto-libm-tests.c (test_functions): Add more
29891 single-argument functions.
29892 (special_fill_pi_2): New function.
29893 (special_fill_minus_pi_2): Likewise.
29894 (special_fill_pi_6): Likewise.
29895 (special_fill_minus_pi_6): Likewise.
29896 (special_fill_pi_3): Likewise.
29897 (special_fill_2pi_3): Likewise.
29898 (special_fill_e): Likewise.
29899 (special_fill_1_e): Likewise.
29900 (special_fill_e_minus_1): Likewise.
29901 (special_real_inputs): Add more special inputs.
29902 (output_for_one_input_case): Do not require ERANGE on underflow to
29903 zero if round-to-nearest result does not underflow to zero, unless
29904 exact results required.
29905 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29906 atan, atanh, cbrt, cos and cosh.
29907 * math/auto-libm-test-out: Regenerated.
29908 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29909 (acos_tonearest_test_data): Likewise.
29910 (acos_towardzero_test_data): Likewise.
29911 (acos_downward_test_data): Likewise.
29912 (acos_upward_test_data): Likewise.
29913 (acosh_test_data): Likewise.
29914 (asin_test_data): Likewise.
29915 (asin_tonearest_test_data): Likewise.
29916 (asin_towardzero_test_data): Likewise.
29917 (asin_upward_test_data): Likewise.
29918 (asinh_test_data): Likewise.
29919 (atan_test_data): Likewise.
29920 (atanh_test_data): Likewise.
29921 (cbrt_test_data): Likewise.
29922 (cos_test_data): Likewise.
29923 (cos_tonearest_test_data): Likewise.
29924 (cos_towardzero_test_data): Likewise.
29925 (cos_downward_test_data): Likewise.
29926 (cos_upward_test_data): Likewise.
29927 (cosh_test_data): Likewise.
29928 (cosh_tonearest_test_data): Likewise.
29929 (cosh_towardzero_test_data): Likewise.
29930 (cosh_downward_test_data): Likewise.
29931 (cosh_upward_test_data): Likewise.
29932 * sysdeps/i386/fpu/libm-test-ulps: Update.
29933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29934
29935 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29936
29937 [BZ #6787]
29938 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29939 * math/w_exp10f.c (__exp10f): Likewise.
29940 * math/w_exp10l.c (__exp10l): Likewise.
29941 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29942 errno settings in existing tests.
29943
29944 [BZ #14032]
29945 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29946 precision control set to double precision.
29947 * sysdeps/i386/fpu/w_sqrt.c: New file.
29948 * math/auto-libm-test-in: Add more tests.
29949 * math/auto-libm-test-out: Update.
29950
29951 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29952 (sqrt_test_tonearest): New function.
29953 (sqrt_towardzero_test_data): New variable.
29954 (sqrt_test_towardzero): New function.
29955 (sqrt_downward_test_data): New variable.
29956 (sqrt_test_downward): New function.
29957 (sqrt_upward_test_data): New variable.
29958 (sqrt_test_upward): New function.
29959 (main): Call the new functions.
29960
29961 * math/gen-auto-libm-tests.c: New file.
29962 * math/auto-libm-test-in: Likewise.
29963 * math/auto-libm-test-out: New generated file.
29964 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29965 variables.
29966 (%beautify): Add generated representations of zero.
29967 (top level): Set $auto_input and call parse_auto_input.
29968 (beautify): Remove trailing "f" from hex float constants.
29969 (parse_args): Handle XFAIL_TEST.
29970 (convert_condition): New function.
29971 (or_value): Likewise.
29972 (or_cond_value): Likewise.
29973 (generate_testfile): Handle AUTO_TESTS_* lines.
29974 (parse_auto_input): New function.
29975 * math/libm-test.inc (XFAIL_TEST): New macro.
29976 (ERRNO_UNCHANGED): Update value.
29977 (ERRNO_EDOM): Likewise.
29978 (ERRNO_ERANGE): Likewise.
29979 (IGNORE_RESULT): Likewise.
29980 (TEST_COND_flt_32): New macro.
29981 (TEST_COND_dbl_64): Likewise.
29982 (TEST_COND_ldbl_96_intel): Likewise.
29983 (TEST_COND_ldbl_96_m68k): Likewise.
29984 (TEST_COND_ldbl_128): Likewise.
29985 (TEST_COND_ldbl_128ibm): Likewise.
29986 (TEST_COND_long32): Likewise.
29987 (TEST_COND_long64): Likewise.
29988 (TEST_COND_before_rounding): Likewise.
29989 (TEST_COND_after_rounding): Likewise.
29990 (enable_test): Handle XFAIL_TEST flag.
29991 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29992 with finite results.
29993 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29994 auto-libm-test-out.
29995
29996 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29997 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29998
29999 [BZ #16214]
30000 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30001 __tls_get_addr_internal instead of __tls_get_offset in order to
30002 avoid GOT pointer dependency. Make rtld export
30003 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30004 __tls_get_addr since we are a __tls_get_offset platform.
30005 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30006 GOT pointer being set up before.
30007 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30008
30009 2013-11-28 Joseph Myers <joseph@codesourcery.com>
30010
30011 * manual/math.texi (Errors in Math Functions): Document accuracy
30012 goals.
30013
30014 [BZ #15004]
30015 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30016 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30017 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30019 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30020 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30021 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30022 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30023 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30024 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30025 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30026 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30027 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30028 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30029 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30031
30032 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30033 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30034 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30035 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30036 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30037 Likewise.
30038 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30039 Likewise.
30040 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30041 Likewise.
30042 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30043 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30044 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30045 atomic-feupdateenv and flt-rounds.
30046 * sysdeps/powerpc/nofpu/Versions (libc): Add
30047 __atomic_feholdexcept, __atomic_feclearexcept,
30048 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30049 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30050 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30051 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30052 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30053 here.
30054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30055 Update.
30056
30057 * manual/arith.texi (FP Exceptions): Document that exceptions may
30058 not be raised when matherr is used.
30059 (Math Error Reporting): Document overflow in directed rounding
30060 modes. Document that errno may not be set when finite values are
30061 returned on overflow. Document intent to set errno on underflow
30062 only for underflow to zero.
30063
30064 [BZ #16271]
30065 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30066 round-to-nearest then adjust result for other rounding modes.
30067 * include/fenv.h (fegetround): Use libm_hidden_proto.
30068 * math/fegetround.c (fegetround): Use libm_hidden_def.
30069 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30070 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30071 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30072 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30073 Likewise.
30074 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30075 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30076 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30077 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30078
30079 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30080
30081 [BZ #16077]
30082 * nss/Versions (libnss_files): Add
30083 _nss_files_gethostbyname3_r.
30084 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30085 New function.
30086 (HOST_DB_LOOKUP): Remove macro.
30087 (_nss_files_gethostbyname_r): Implement function without the
30088 HOST_DB_LOOKUP macro.
30089 (_nss_files_gethostbyname2_r): Likewise.
30090
30091 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30092
30093 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30094
30095 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30096
30097 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30098 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30099 warning.
30100
30101 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30102
30103 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30104 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30105 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30106 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30107 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30108 __fe_nomask_env_priv and attribute_hidden.
30109 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30110 (libc_feupdateenv_test_ppc): Likewise.
30111 (libc_feresetround_ppc): Likewise.
30112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30113 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30114 compat_symbol macro.
30115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30116 (__fe_nomask_env): Likewise.
30117 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30118
30119 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30120
30121 * string/Makefile: Remove ifunc tests.
30122 * string/test-string.h: Define TEST_IFUNC.
30123 * string/test-bcopy-ifunc.c: Remove.
30124 * string/test-bzero-ifunc.c: Likewise.
30125 * string/test-memccpy-ifunc.c: Likewise.
30126 * string/test-memchr-ifunc.c: Likewise.
30127 * string/test-memcmp-ifunc.c: Likewise.
30128 * string/test-memcpy-ifunc.c: Likewise.
30129 * string/test-memmem-ifunc.c: Likewise.
30130 * string/test-memmove-ifunc.c: Likewise.
30131 * string/test-mempcpy-ifunc.c: Likewise.
30132 * string/test-memrchr-ifunc.c: Likewise.
30133 * string/test-memset-ifunc.c: Likewise.
30134 * string/test-rawmemchr-ifunc.c: Likewise.
30135 * string/test-stpcpy-ifunc.c: Likewise.
30136 * string/test-stpncpy-ifunc.c: Likewise.
30137 * string/test-strcasecmp-ifunc.c: Likewise.
30138 * string/test-strcasestr-ifunc.c: Likewise.
30139 * string/test-strcat-ifunc.c: Likewise.
30140 * string/test-strchr-ifunc.c: Likewise.
30141 * string/test-strchrnul-ifunc.c: Likewise.
30142 * string/test-strcmp-ifunc.c: Likewise.
30143 * string/test-strcpy-ifunc.c: Likewise.
30144 * string/test-strcspn-ifunc.c: Likewise.
30145 * string/test-strlen-ifunc.c: Likewise.
30146 * string/test-strncasecmp-ifunc.c: Likewise.
30147 * string/test-strncat-ifunc.c: Likewise.
30148 * string/test-strncmp-ifunc.c: Likewise.
30149 * string/test-strncpy-ifunc.c: Likewise.
30150 * string/test-strnlen-ifunc.c: Likewise.
30151 * string/test-strpbrk-ifunc.c: Likewise.
30152 * string/test-strrchr-ifunc.c: Likewise.
30153 * string/test-strspn-ifunc.c: Likewise.
30154 * string/test-strstr-ifunc.c: Likewise.
30155
30156 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30157
30158 * benchtests/Makefile: Remove ifunc tests.
30159 * benchtests/bench-string.h: Define TEST_IFUNC.
30160 * benchtests/bench-bcopy-ifunc.c: Remove.
30161 * benchtests/bench-bzero-ifunc.c: Likewise.
30162 * benchtests/bench-memccpy-ifunc.c: Likewise.
30163 * benchtests/bench-memchr-ifunc.c: Likewise.
30164 * benchtests/bench-memcmp-ifunc.c: Likewise.
30165 * benchtests/bench-memcpy-ifunc.c: Likewise.
30166 * benchtests/bench-memmem-ifunc.c: Likewise.
30167 * benchtests/bench-memmove-ifunc.c: Likewise.
30168 * benchtests/bench-mempcpy-ifunc.c: Likewise.
30169 * benchtests/bench-memrchr-ifunc.c: Likewise.
30170 * benchtests/bench-memset-ifunc.c: Likewise.
30171 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30172 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30173 * benchtests/bench-stpcpy-ifunc.c: Likewise.
30174 * benchtests/bench-stpncpy-ifunc.c: Likewise.
30175 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30176 * benchtests/bench-strcasestr-ifunc.c: Likewise.
30177 * benchtests/bench-strcat-ifunc.c: Likewise.
30178 * benchtests/bench-strchr-ifunc.c: Likewise.
30179 * benchtests/bench-strchrnul-ifunc.c: Likewise.
30180 * benchtests/bench-strcmp-ifunc.c: Likewise.
30181 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30182 * benchtests/bench-strcpy-ifunc.c: Likewise.
30183 * benchtests/bench-strcspn-ifunc.c: Likewise.
30184 * benchtests/bench-strlen-ifunc.c: Likewise.
30185 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30186 * benchtests/bench-strncat-ifunc.c: Likewise.
30187 * benchtests/bench-strncmp-ifunc.c: Likewise.
30188 * benchtests/bench-strncpy-ifunc.c: Likewise.
30189 * benchtests/bench-strnlen-ifunc.c: Likewise.
30190 * benchtests/bench-strpbrk-ifunc.c: Likewise.
30191 * benchtests/bench-strrchr-ifunc.c: Likewise.
30192 * benchtests/bench-strsep-ifunc.c: Likewise.
30193 * benchtests/bench-strspn-ifunc.c: Likewise.
30194 * benchtests/bench-strstr-ifunc.c: Likewise.
30195
30196 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30197
30198 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30199
30200 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30201
30202 * resolv/netdb.h: Use __glibc_reserved instead __unused.
30203 * rt/aio.h: Likewise.
30204 * sysdeps/gnu/bits/utmp.h: Likewise.
30205 * sysdeps/gnu/bits/utmpx.h: Likewise.
30206 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30207 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30208 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30209 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30210 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30211 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30212 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30213 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30214 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30215 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30216 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30217 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30218 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30220 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30221 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30222 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30223 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30224 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30225 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30226 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30227 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30228 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30229 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30230 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30232 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30233 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30234 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30235 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30236 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30237 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30238 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30239 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30240 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30241 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30242 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30243 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30244 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30245 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30246 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30247 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30248
30249 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30250
30251 [BZ #16245]
30252 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30253 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30254
30255 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30256
30257 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30258 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30259 Likewise.
30260
30261 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30262
30263 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30264 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30265 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30266 (__fesetround): Remove define.
30267 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30268 rounding and exceptions handling.
30269 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30270 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30271 (__fe_nomask_env): Likewise.
30272 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30273 __fegetround instead of fegetround.
30274 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30275 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30276
30277 2013-11-21 Roland McGrath <roland@hack.frob.com>
30278
30279 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30280 it's there.
30281
30282 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30283
30284 2013-11-21 Meador Inge <meadori@codesourcery.com>
30285
30286 [BZ #11157]
30287 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30288 (encrypt_r): Likewise.
30289 * malloc/obstack.h (obstack_free): Likewise.
30290 * posix/unistd.h (encrypt): Likewise.
30291
30292 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30293
30294 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30295 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30296 DL_CALL_DT_FINI() that call the functions directly.
30297 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30298 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30299 * elf/dl-fini.c: Likewise.
30300
30301 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30302
30303 * malloc/hooks.c (memalign_check): Add alignment rounding.
30304 * malloc/malloc.c (_mid_memalign): New function.
30305 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30306 Implement by calling _mid_memalign.
30307 * manual/probes.texi (Memory Allocation Probes): Remove
30308 memory_valloc_retry and memory_pvalloc_retry.
30309
30310 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30311
30312 * locale/programs/locarchive.c (open_archive): Add const
30313 qualifier to ARCHIVEFNAME and copy default fname to
30314 DEFAULT_FNAME.
30315
30316 [BZ #15601]
30317 * libio/tst-widetext.input: Rename Oriya to Odia.
30318 * locale/iso-639.def: Likewise.
30319
30320 * manual/probes.texi (Mathematical Function Probes): Add
30321 documentation for sin, cos, asin and acos probes.
30322 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30323 (__sin32): Add slowasin probe.
30324 (__cos32): Add slowacos probe.
30325 (__mpsin): Add slowsin probe.
30326 (__mpcos): Add slowcos probe.
30327
30328 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30329
30330 [BZ #15483]
30331 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30332 thread-local __sim_exceptions_thread and global
30333 __sim_exceptions_global.
30334 (__sim_disabled_exceptions): Change to thread-local
30335 __sim_disabled_exceptions_thread and global
30336 __sim_disabled_exceptions_global.
30337 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30338 and global __sim_round_mode_global.
30339 (__simulate_exceptions): Use thread-local floating-point state and
30340 set global state from it as needed.
30341 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30342 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30343 __sim_round_mode_thread.
30344 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30345 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30346 and global __sim_exceptions_global.
30347 (__sim_disabled_exceptions): Change to thread-local
30348 __sim_disabled_exceptions_thread and global
30349 __sim_disabled_exceptions_global.
30350 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30351 and global __sim_round_mode_global.
30352 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30353 (SIM_SET_GLOBAL): Likewise.
30354 * sysdeps/powerpc/soft-fp/sfp-machine.h
30355 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30356 __sim_round_mode_thread.
30357 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30358 __sim_disabled_exceptions_thread.
30359 (__sim_exceptions): Change to __sim_exceptions_thread.
30360 (__sim_disabled_exceptions): Change to
30361 __sim_disabled_exceptions_thread.
30362 (__sim_round_mode): Change to __sim_round_mode_thread.
30363 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30364 thread-local floating-point state and set global state from it as
30365 needed.
30366 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30367 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30368 (__sim_disabled_exceptions): Remove extern declaration.
30369 (feenableexcept): Use thread-local floating-point state and set
30370 global state from it as needed.
30371 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30372 extern declaration.
30373 (__sim_disabled_exceptions): Likewise.
30374 (__sim_round_mode): Likewise.
30375 (__fegetenv): Use thread-local floating-point state.
30376 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30377 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30378 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30379 floating-point state and set global state from it as needed.
30380 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30381 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30382 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30383 Likewise.
30384 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30385 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30386 Likewise.
30387 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30388 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30389 Use __sim_round_mode_thread.
30390 * math/test-fenv-tls.c: New file.
30391 * math/Makefile (tests): Add test-fenv-tls.
30392 ($(objpfx)test-fenv-tls): Depend on
30393 $(common-objpfx)nptl/libpthread.so.
30394
30395 2013-11-19 Andreas Schwab <schwab@suse.de>
30396
30397 * locale/programs/locale.c (show_info): Decode wordarray elements.
30398 * locale/categories.def (LC_MONETARY): Add element for
30399 _NL_MONETARY_CRNCYSTR.
30400 * locale/C-monetary.c (conversion_rate): New variable.
30401 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30402 element.
30403
30404 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30405
30406 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30407 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30408
30409 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30410
30411 * elf/Makefile (tst-auxv): New test.
30412 * elf/tst-auxv.c: New
30413 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30414
30415 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30416
30417 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30418 (hidden_proto): Caller changed.
30419 (hidden_tls_proto): New macro.
30420 (libc_hidden_tls_proto): Likewise.
30421 (rtld_hidden_tls_proto): Likewise.
30422 (libm_hidden_tls_proto): Likewise.
30423 (libresolv_hidden_tls_proto): Likewise.
30424 (librt_hidden_tls_proto): Likewise.
30425 (libdl_hidden_tls_proto): Likewise.
30426 (libnss_files_hidden_tls_proto): Likewise.
30427 (libnsl_hidden_tls_proto): Likewise.
30428 (libnss_nisplus_hidden_tls_proto): Likewise.
30429 (libutil_hidden_tls_proto): Likewise.
30430
30431 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30432
30433 [BZ #10253]
30434 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30435 (decompose_rpath): Defer expansion to fillin_rpath.
30436 (_dl_init_paths): Pass linkmap to fillin_rpath.
30437
30438 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30439
30440 * benchtests/Makefile: Add strsep.
30441 * benchtests/bench-strsep.c: New file: strsep benchtest.
30442 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30443
30444 2013-11-18 Andreas Schwab <schwab@suse.de>
30445
30446 * locale/programs/locale.c (show_info) [case byte]: Check for
30447 '\377' instead of '\177'.
30448 * locale/C-monetary.c (not_available): Always use "\377".
30449 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30450 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30451 detect unavailable sign_posn locale elements.
30452 * locale/localeconv.c (__localeconv): For grouping and
30453 mon_grouping handle "\177" and "\377" like no grouping.
30454 (INT_ELEM): New macro. Use it to set all numeric members.
30455 * locale/programs/ld-monetary.c (monetary_read)
30456 <tok_mon_grouping>: Normalize single -1 to the empty string.
30457 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30458 Likewise.
30459
30460 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30461
30462 [BZ #16055]
30463 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30464 when we match (nil).
30465 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30466
30467 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30468
30469 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30470 (NO_TEST_INLINE): Update value.
30471 (ERRNO_UNCHANGED): Likewise.
30472 (ERRNO_EDOM): Likewise.
30473 (ERRNO_ERANGE): Likewise.
30474 (IGNORE_RESULT): Likewise.
30475 (check_float_internal): Check signs of NaN results if
30476 TEST_NAN_SIGN used.
30477 (check_complex): Pass TEST_NAN_SIGN flag through to second
30478 check_float_internal call.
30479 (copysign_test_data): Add tests with quiet NaNs as second
30480 argument. Use TEST_NAN_SIGN.
30481 (fabs_test_data): Add test of negative quiet NaN argument. Use
30482 TEST_NAN_SIGN.
30483 (signbit_test_data): Add tests of quiet NaN argument.
30484 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30485
30486 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30487 $ignore_result.
30488 (parse_args): Handle function results specified as IGNORE.
30489 * math/libm-test.inc (IGNORE_RESULT): New macro.
30490 (check_float_internal): Do not check numerical result if flag
30491 IGNORE_RESULT set.
30492 (check_complex): Pass through IGNORE_RESULT to second
30493 check_float_internal call.
30494 (check_int): Do not check numerical result if flag IGNORE_RESULT
30495 set.
30496 (check_long): Likewise.
30497 (check_bool): Likewise.
30498 (check_longlong): Likewise.
30499 (lrint_test_data): Add tests of infinite and NaN arguments.
30500 (lrint_tonearest_test_data): Likewise.
30501 (lrint_towardzero_test_data): Likewise.
30502 (lrint_downward_test_data): Likewise.
30503 (lrint_upward_test_data): Likewise.
30504 (llrint_test_data): Likewise.
30505 (llrint_tonearest_test_data): Likewise.
30506 (llrint_towardzero_test_data): Likewise.
30507 (llrint_downward_test_data): Likewise.
30508 (llrint_upward_test_data): Likewise.
30509 (lround_test_data): Likewise.
30510 (llround_test_data): Likewise.
30511
30512 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30513 (ERRNO_UNCHANGED): Update value.
30514 (ERRNO_EDOM): Likewise.
30515 (ERRNO_ERANGE): Likewise.
30516 (NO_TEST_INLINE_FLOAT): New macro.
30517 (NO_TEST_INLINE_DOUBLE): Likewise.
30518 (enable_test): New function.
30519 (RUN_TEST_f_f): Check enable_test before running test.
30520 (RUN_TEST_2_f): Likewise.
30521 (RUN_TEST_fff_f): Likewise.
30522 (RUN_TEST_c_f): Likewise.
30523 (RUN_TEST_f_f1): Likewise.
30524 (RUN_TEST_fF_f1): Likewise.
30525 (RUN_TEST_fI_f1): Likewise.
30526 (RUN_TEST_ffI_f1): Likewise.
30527 (RUN_TEST_c_c): Likewise.
30528 (RUN_TEST_cc_c): Likewise.
30529 (RUN_TEST_f_i): Likewise.
30530 (RUN_TEST_f_i_tg): Likewise.
30531 (RUN_TEST_ff_i_tg): Likewise.
30532 (RUN_TEST_f_b): Likewise.
30533 (RUN_TEST_f_b_tg): Likewise.
30534 (RUN_TEST_f_l): Likewise.
30535 (RUN_TEST_f_L): Likewise.
30536 (RUN_TEST_fFF_11): Likewise.
30537 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30538 conditionals.
30539 (cosh_test_data): Likewise.
30540 (exp_test_data): Likewise.
30541 (expm1_test_data): Likewise.
30542 (hypot_test_data): Likewise.
30543 (pow_test_data): Likewise.
30544 (sinh_test_data): Likewise.
30545 (tanh_test_data): Likewise.
30546 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30547 flags argument.
30548
30549 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30550 tests with quiet NaN input and output.
30551 (acosh_test_data): Likewise.
30552 (asin_test_data): Likewise.
30553 (asinh_test_data): Likewise.
30554 (atan_test_data): Likewise.
30555 (atanh_test_data): Likewise.
30556 (atan2_test_data): Likewise.
30557 (cbrt_test_data): Likewise.
30558 (cos_test_data): Likewise.
30559 (cosh_test_data): Likewise.
30560 (erf_test_data): Likewise.
30561 (erfc_test_data): Likewise.
30562 (exp_test_data): Likewise.
30563 (exp10_test_data): Likewise.
30564 (exp2_test_data): Likewise.
30565 (expm1_test_data): Likewise.
30566 (hypot_test_data): Likewise.
30567 (j0_test_data): Likewise.
30568 (j1_test_data): Likewise.
30569 (jn_test_data): Likewise.
30570 (lgamma_test_data): Likewise.
30571 (log_test_data): Likewise.
30572 (log10_test_data): Likewise.
30573 (log1p_test_data): Likewise.
30574 (log2_test_data): Likewise.
30575 (pow_test_data): Likewise.
30576 (scalb_test_data): Likewise.
30577 (sin_test_data): Likewise.
30578 (sincos_test_data): Likewise.
30579 (sinh_test_data): Likewise.
30580 (tan_test_data): Likewise.
30581 (tanh_test_data): Likewise.
30582 (tgamma_test_data): Likewise.
30583 (y0_test_data): Likewise.
30584 (y1_test_data): Likewise.
30585 (yn_test_data): Likewise.
30586
30587 [BZ #16167]
30588 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30589 argument being NaN and avoid computations with second argument in
30590 that case.
30591 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30592 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30593 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30594
30595 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30596
30597 * locale/iso-639.def: Add Chitwani Tharu (the).
30598
30599 2013-11-14 Andreas Schwab <schwab@suse.de>
30600
30601 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30602 word instead of empty string.
30603
30604 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30605
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30607 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30609 (__fe_nomask_env): Likewise.
30610
30611 2013-11-13 Steve Ellcey <sellcey@mips.com>
30612
30613 * benchtests/bench-timing.h: Include time.h.
30614
30615 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30616
30617 [BZ #15997]
30618 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30619 to 3.4.0 for x32.
30620 * sysdeps/unix/sysv/linux/configure: Regenerated.
30621
30622 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30623
30624 [BZ #16151]
30625 * stdlib/strtod_l.c (round_and_return): Do not consider
30626 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30627 exponent one less than half the least subnormal exponent.
30628 * stdlib/test-strtod-round-data: Add more tests.
30629 * stdlib/tst-strtod-round.c (tests): Regenerated.
30630
30631 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30632
30633 [BZ #14143]
30634 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30635 (__fe_mask_env): Likewise.
30636 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30637 libm_hidden_proto and add function prototype.
30638 (__fe_mask_env): Add function prototype.
30639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30640 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30642 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30644 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30645
30646 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30647
30648 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30649 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30650
30651 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30652
30653 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30654 of htab_find_slot().
30655
30656 2013-11-11 David S. Miller <davem@davemloft.net>
30657
30658 [BZ #16150]
30659 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30660 symbol in the non-vis3 case in static builds.
30661 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30662 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30663 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30664 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30665
30666 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30667
30668 [BZ #387]
30669 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30670 it is empty.
30671
30672 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30673
30674 * benchtests/Makefile: Add bench-strtod.
30675 * benchtests/bench-strtod.c: New file: strtod benchtest
30676
30677 2013-11-11 Andreas Schwab <schwab@suse.de>
30678
30679 [BZ #16153]
30680 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30681 terminating NUL in key length.
30682
30683 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30684
30685 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30686 Add artificial ODP entry for vDSO symbol for PPC64.
30687 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30688 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30689
30690 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30691
30692 [BZ #15374]
30693 * nss/getent.c (services_keys): Recognize services starting with digit.
30694
30695 2013-11-06 David S. Miller <davem@davemloft.net>
30696
30697 [BZ #15985]
30698 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30699 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30700
30701 2013-11-06 Will Newton <will.newton@linaro.org>
30702
30703 * manual/memory.texi (Malloc Examples): Remove register
30704 keyword from examples.
30705
30706 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30707
30708 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30709
30710 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30711
30712 [BZ #6981]
30713 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30714 depending on [__GCC_IEC_559 > 0].
30715 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30716 depending on [__GCC_IEC_559_COMPLEX > 0].
30717
30718 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30719
30720 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30721 to iso-639.def.
30722
30723 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30724
30725 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30726
30727 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30728
30729 [BZ #16112]
30730 * malloc/malloc (malloc_info): Do not handle first bin as
30731 special case.
30732
30733 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30734
30735 * locale/iso-639.def: Add Central Nahuatl (nhn).
30736
30737 2013-11-01 Bruno Haible <bruno@clisp.org>
30738
30739 [BZ #7003]
30740 * manual/math.texi (BSD Random): Specify range upper bound as
30741 in POSIX.
30742
30743 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30744
30745 * locale/iso-639.def: Add Meadow Mari (mhr).
30746
30747 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30748
30749 [BZ #14752], [BZ #15763]
30750 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30751 Validate name.
30752 * rt/tst_shm.c: Add test for escaping directory.
30753
30754 2013-10-31 Andreas Schwab <schwab@suse.de>
30755
30756 [BZ #15917]
30757 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30758 followed by 'x' as part of digit sequence.
30759 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30760
30761 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30762
30763 [BZ #16037]
30764 * configure.ac: allow GNU Make 4.0 and greater.
30765 * configure: Regenerated.
30766
30767 2013-10-30 Will Newton <will.newton@linaro.org>
30768
30769 [BZ #16038]
30770 * malloc/hooks.c (memalign_check): Limit alignment to the
30771 maximum representable power of two.
30772 * malloc/malloc.c (__libc_memalign): Likewise.
30773 * malloc/tst-memalign.c (do_test): Add test for very
30774 large alignment values.
30775 * malloc/tst-posix_memalign.c (do_test): Likewise.
30776
30777 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30778
30779 [BZ #11087]
30780 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30781 (munmap_chunk): Likewise.
30782 (mremap_chunk): Likewise.
30783
30784 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30785
30786 [BZ #15799]
30787 * stdlib/div.c (div): Remove obsolete code.
30788 * stdlib/ldiv.c (ldiv): Likewise.
30789 * stdlib/lldiv.c (lldiv): Likewise.
30790
30791 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30792
30793 [BZ #16071]
30794 * nss/nss_files/files-XXX.c (get_contents_ret): New
30795 enumerator.
30796 (get_contents): New function.
30797 (internal_getent): Use it. Expand size of LINEBUFLEN.
30798
30799 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30800
30801 * configure.in: Moved to ...
30802 * configure.ac: ... here. Change reference to configure.in
30803 to configure.ac.
30804 * sysdeps/arm/preconfigure.ac: ... here.
30805 configure.in to configure.ac.
30806 * sysdeps/gnu/configure.in: Moved to ...
30807 * sysdeps/gnu/configure.ac: ... here.
30808 * sysdeps/i386/configure.in: Moved to ...
30809 * sysdeps/i386/configure.ac: ... here.
30810 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30811 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30812 * sysdeps/mach/configure.in: Moved to ...
30813 * sysdeps/mach/configure.ac: ... here.
30814 * sysdeps/mach/hurd/configure.in: Moved to ...
30815 * sysdeps/mach/hurd/configure.ac: ... here.
30816 * sysdeps/powerpc/configure.in: Moved to ...
30817 * sysdeps/powerpc/configure.ac: ... here.
30818 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30819 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30820 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30821 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30822 * sysdeps/s390/s390-32/configure.in: Moved to ...
30823 * sysdeps/s390/s390-32/configure.ac: ... here.
30824 * sysdeps/s390/s390-64/configure.in: Moved to ...
30825 * sysdeps/s390/s390-64/configure.ac: ... here.
30826 * sysdeps/sh/configure.in: Moved to ...
30827 * sysdeps/sh/configure.ac: ... here.
30828 * sysdeps/sparc/configure.in: Moved to ...
30829 * sysdeps/sparc/configure.ac: ... here.
30830 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30831 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30832 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30833 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30834 * sysdeps/x86_64/configure.in: Moved to ...
30835 * sysdeps/x86_64/configure.ac: ... here.
30836 * sysdeps/x86_64/preconfigure.in: Moved to ...
30837 * sysdeps/x86_64/preconfigure.ac: ... here.
30838 * aclocal.m4: Change reference to configure.in to configure.ac.
30839 * config.h.in: Likewise.
30840 * manual/install.texi: Likewise.
30841 * manual/maint.texi: Likewise.
30842 * Makefile: Likewise.
30843 * malloc/Makefile: Likewise.
30844 * nscd/Makefile: Likewise.
30845 * Makeconfig: Change reference to configure.in and
30846 preconfigure.in to configure.ac and preconfigure.ac
30847 respectively.
30848 * INSTALL: Regenerated.
30849 * configure: Likewise.
30850 * sysdeps/gnu/configure: Likewise.
30851 * sysdeps/i386/configure: Likewise.
30852 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30853 * sysdeps/mach/configure: Likewise.
30854 * sysdeps/mach/hurd/configure: Likewise.
30855 * sysdeps/powerpc/configure: Likewise.
30856 * sysdeps/powerpc/powerpc32/configure: Likewise.
30857 * sysdeps/powerpc/powerpc64/configure: Likewise.
30858 * sysdeps/s390/s390-32/configure: Likewise.
30859 * sysdeps/s390/s390-64/configure: Likewise.
30860 * sysdeps/sh/configure: Likewise.
30861 * sysdeps/sparc/configure: Likewise.
30862 * sysdeps/unix/sysv/linux/configure: Likewise.
30863 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30864 * sysdeps/x86_64/configure: Likewise.
30865 * sysdeps/x86_64/preconfigure: Likewise.
30866
30867 2013-10-29 Andreas Schwab <schwab@suse.de>
30868
30869 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30870
30871 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30872
30873 * benchtests/pow-inputs: Add new inputs.
30874
30875 * benchtests/exp-inputs: Add new inputs.
30876
30877 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30878 conditional check for return value.
30879 (__cos32): Likewise.
30880
30881 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30882
30883 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30884 to provide a boost for large inputs with word alignment.
30885 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30886 implementation based on optimized PPC64 strcpy.
30887 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30888 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30889 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30890 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30891
30892 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30893
30894 [BZ #2801]
30895 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30896
30897 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30898
30899 [BZ #14876]
30900 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30901 * time/tst-strptime.c (day_tests): Add testcase.
30902
30903 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30904
30905 [BZ #14029]
30906 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30907
30908 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30909
30910 [BZ #16074]
30911 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30912 MAP_FAILED on error.
30913
30914 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30915
30916 [BZ #16072]
30917 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30918 heap for large requests.
30919
30920 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30921
30922 [BZ #9954]
30923 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30924 result if the result has no associated interface.
30925 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30926 interface for all 127.X.Y.Z addresses.
30927
30928 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30929
30930 * locale/iso-639.def: Add Ligurian (lij)
30931
30932 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30933
30934 [BZ #15825]
30935 * sunrpc/rpc_main.c: Document rpcgen -5.
30936
30937 2013-10-19 Michael Stahl <mstahl@redhat.com>
30938
30939 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30940
30941 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30942
30943 [BZ #10278]
30944 * posix/glob.c: Match only directories when trailing slash is present.
30945 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30946 (main): Add testcase.
30947
30948 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30949
30950 [BZ #15670]
30951 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30952
30953 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30954
30955 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30956 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30957 AUTH_DES and cindex for FIPS 140-2.
30958 (DES Encryption): Add cindex FIPS 46-3.
30959
30960 * locale/locarchive.h (struct locarhandle): Add fname.
30961 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30962 if an optional argument was specified to --list-archive,
30963 otherwise NULL.
30964 * locale/programs/locarchive.c (show_archive_content): Take new
30965 argument fname and pass it via ah.fname to open_archive.
30966 * locale/programs/localedef.h: Update decl.
30967 (open_archive): If AH->fname is non-null, open that file
30968 rather than the default file name, and don't ignore ENOENT.
30969 (create_archive): Set AH.fname to NULL.
30970 (delete_locales_from_archive): Likewise.
30971 (add_locales_to_archive): Likewise.
30972 * locale/programs/locfile.c (write_all_categories): Likewise.
30973
30974 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30975 Aldy Hernandez <aldyh@redhat.com>
30976
30977 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30978 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30979 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30980 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30981 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30982 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30983 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30984 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30985 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30986 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30987 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30988 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30989 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30990 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30991 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30992 Likewise.
30993 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30994 Likewise.
30995 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30996 Likewise.
30997 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30998 Likewise.
30999 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31000 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31001 Likewise.
31002 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31003 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31004 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31005 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31006 Likewise.
31007 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31008 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31009 * sysdeps/powerpc/preconfigure: Likewise.
31010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31011 Likewise.
31012 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31013 Replace contents of file by #include of <fenv_libc.h>.
31014 * sysdeps/powerpc/soft-fp/sfp-machine.h
31015 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31016 and <sys/prctl.h>.
31017 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31018 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31019 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31020 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31021 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31022 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31023 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31024 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31025 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31026 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31027 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31028 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31030 Allow copysignl PLT reference to be missing.
31031
31032 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31033 Joseph Myers <joseph@codesourcery.com
31034
31035 [BZ #15948]
31036 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31037 single character.
31038 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31039
31040 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31041
31042 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31043 * elf/tst-tls1.c: Likewise.
31044 * elf/tst-tls10.h: Likewise.
31045 * elf/tst-tls14.c: Likewise.
31046 * elf/tst-tls2.c: Likewise.
31047 * elf/tst-tls3.c: Likewise.
31048 * elf/tst-tls4.c: Likewise.
31049 * elf/tst-tls5.c: Likewise.
31050 * elf/tst-tls6.c: Likewise.
31051 * elf/tst-tls7.c: Likewise.
31052 * elf/tst-tls8.c: Likewise.
31053 * elf/tst-tls9.c: Likewise.
31054 * elf/tst-tlsmod1.c: Likewise.
31055 * elf/tst-tlsmod13.c: Likewise.
31056 * elf/tst-tlsmod13a.c: Likewise.
31057 * elf/tst-tlsmod14a.c: Likewise.
31058 * elf/tst-tlsmod16a.c: Likewise.
31059 * elf/tst-tlsmod16b.c: Likewise.
31060 * elf/tst-tlsmod2.c: Likewise.
31061 * elf/tst-tlsmod3.c: Likewise.
31062 * elf/tst-tlsmod4.c: Likewise.
31063 * elf/tst-tlsmod5.c: Likewise.
31064 * elf/tst-tlsmod6.c: Likewise.
31065
31066 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31067
31068 [BZ #12486]
31069 * malloc/malloc.c: remove checks for statistics.
31070
31071 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31072
31073 [BZ #15277]
31074 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31075 * inet/tst-network.c: Add testcase.
31076
31077 2013-10-17 Andreas Schwab <schwab@suse.de>
31078
31079 [BZ #15218]
31080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31081 to determine canonical name.
31082
31083 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31084
31085 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31086 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31087 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31088 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31090 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31091 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31092 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31093 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31094 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31095 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31096 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31097 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31098 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31099 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31100 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31102 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31103 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31104 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31105 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31106 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31107 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31108 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31109 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31110 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31111 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31112 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31113 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31114 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31115 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31116 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31117 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31118 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31119 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31120 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31121 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31122 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31123 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31125 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31126 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31127 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31128 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31129 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31130 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31131 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31132 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31133 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31134 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31135 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31136 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31137 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31138 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31139 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31140 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31141 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31142 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31143
31144 2013-10-17 Joseph Myers <joseph@codesourcery.com>
31145
31146 [BZ #16041]
31147 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31148 make result into a quiet NaN.
31149
31150 2013-10-16 Joseph Myers <joseph@codesourcery.com>
31151
31152 * soft-fp/adddf3.c: Fix horizontal whitespace.
31153 * soft-fp/addsf3.c: Likewise.
31154 * soft-fp/addtf3.c: Likewise.
31155 * soft-fp/divdf3.c: Likewise.
31156 * soft-fp/divsf3.c: Likewise.
31157 * soft-fp/divtf3.c: Likewise.
31158 * soft-fp/double.h: Likewise.
31159 * soft-fp/eqdf2.c: Likewise.
31160 * soft-fp/eqsf2.c: Likewise.
31161 * soft-fp/eqtf2.c: Likewise.
31162 * soft-fp/extenddftf2.c: Likewise.
31163 * soft-fp/extended.h: Likewise.
31164 * soft-fp/extendsfdf2.c: Likewise.
31165 * soft-fp/extendsftf2.c: Likewise.
31166 * soft-fp/extendxftf2.c: Likewise.
31167 * soft-fp/fixdfdi.c: Likewise.
31168 * soft-fp/fixdfsi.c: Likewise.
31169 * soft-fp/fixdfti.c: Likewise.
31170 * soft-fp/fixsfdi.c: Likewise.
31171 * soft-fp/fixsfsi.c: Likewise.
31172 * soft-fp/fixsfti.c: Likewise.
31173 * soft-fp/fixtfdi.c: Likewise.
31174 * soft-fp/fixtfsi.c: Likewise.
31175 * soft-fp/fixtfti.c: Likewise.
31176 * soft-fp/fixunsdfdi.c: Likewise.
31177 * soft-fp/fixunsdfsi.c: Likewise.
31178 * soft-fp/fixunsdfti.c: Likewise.
31179 * soft-fp/fixunssfdi.c: Likewise.
31180 * soft-fp/fixunssfsi.c: Likewise.
31181 * soft-fp/fixunssfti.c: Likewise.
31182 * soft-fp/fixunstfdi.c: Likewise.
31183 * soft-fp/fixunstfsi.c: Likewise.
31184 * soft-fp/fixunstfti.c: Likewise.
31185 * soft-fp/floatdidf.c: Likewise.
31186 * soft-fp/floatdisf.c: Likewise.
31187 * soft-fp/floatditf.c: Likewise.
31188 * soft-fp/floatsidf.c: Likewise.
31189 * soft-fp/floatsisf.c: Likewise.
31190 * soft-fp/floatsitf.c: Likewise.
31191 * soft-fp/floattidf.c: Likewise.
31192 * soft-fp/floattisf.c: Likewise.
31193 * soft-fp/floattitf.c: Likewise.
31194 * soft-fp/floatundidf.c: Likewise.
31195 * soft-fp/floatundisf.c: Likewise.
31196 * soft-fp/floatunditf.c: Likewise.
31197 * soft-fp/floatunsidf.c: Likewise.
31198 * soft-fp/floatunsisf.c: Likewise.
31199 * soft-fp/floatunsitf.c: Likewise.
31200 * soft-fp/floatuntidf.c: Likewise.
31201 * soft-fp/floatuntisf.c: Likewise.
31202 * soft-fp/floatuntitf.c: Likewise.
31203 * soft-fp/fmadf4.c: Likewise.
31204 * soft-fp/fmasf4.c: Likewise.
31205 * soft-fp/fmatf4.c: Likewise.
31206 * soft-fp/gedf2.c: Likewise.
31207 * soft-fp/gesf2.c: Likewise.
31208 * soft-fp/getf2.c: Likewise.
31209 * soft-fp/ledf2.c: Likewise.
31210 * soft-fp/lesf2.c: Likewise.
31211 * soft-fp/letf2.c: Likewise.
31212 * soft-fp/muldf3.c: Likewise.
31213 * soft-fp/mulsf3.c: Likewise.
31214 * soft-fp/multf3.c: Likewise.
31215 * soft-fp/negdf2.c: Likewise.
31216 * soft-fp/negsf2.c: Likewise.
31217 * soft-fp/negtf2.c: Likewise.
31218 * soft-fp/op-1.h: Likewise.
31219 * soft-fp/op-2.h: Likewise.
31220 * soft-fp/op-4.h: Likewise.
31221 * soft-fp/op-8.h: Likewise.
31222 * soft-fp/op-common.h: Likewise.
31223 * soft-fp/quad.h: Likewise.
31224 * soft-fp/single.h: Likewise.
31225 * soft-fp/soft-fp.h: Likewise.
31226 * soft-fp/sqrtdf2.c: Likewise.
31227 * soft-fp/sqrtsf2.c: Likewise.
31228 * soft-fp/sqrttf2.c: Likewise.
31229 * soft-fp/subdf3.c: Likewise.
31230 * soft-fp/subsf3.c: Likewise.
31231 * soft-fp/subtf3.c: Likewise.
31232 * soft-fp/truncdfsf2.c: Likewise.
31233 * soft-fp/trunctfdf2.c: Likewise.
31234 * soft-fp/trunctfsf2.c: Likewise.
31235 * soft-fp/trunctfxf2.c: Likewise.
31236 * soft-fp/unorddf2.c: Likewise.
31237 * soft-fp/unordsf2.c: Likewise.
31238 * soft-fp/unordtf2.c: Likewise.
31239
31240 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31241
31242 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31243 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31244
31245 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31246
31247 * elf/dl-libc.c: Clear initfini list after freeing.
31248
31249 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31250
31251 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31252 * soft-fp/addsf3.c: Likewise.
31253 * soft-fp/addtf3.c: Likewise.
31254 * soft-fp/divdf3.c: Likewise.
31255 * soft-fp/divsf3.c: Likewise.
31256 * soft-fp/divtf3.c: Likewise.
31257 * soft-fp/double.h: Likewise.
31258 * soft-fp/eqdf2.c: Likewise.
31259 * soft-fp/eqsf2.c: Likewise.
31260 * soft-fp/eqtf2.c: Likewise.
31261 * soft-fp/extenddftf2.c: Likewise.
31262 * soft-fp/extended.h: Likewise.
31263 * soft-fp/extendsfdf2.c: Likewise.
31264 * soft-fp/extendsftf2.c: Likewise.
31265 * soft-fp/extendxftf2.c: Likewise.
31266 * soft-fp/fixdfdi.c: Likewise.
31267 * soft-fp/fixdfsi.c: Likewise.
31268 * soft-fp/fixdfti.c: Likewise.
31269 * soft-fp/fixsfdi.c: Likewise.
31270 * soft-fp/fixsfsi.c: Likewise.
31271 * soft-fp/fixsfti.c: Likewise.
31272 * soft-fp/fixtfdi.c: Likewise.
31273 * soft-fp/fixtfsi.c: Likewise.
31274 * soft-fp/fixtfti.c: Likewise.
31275 * soft-fp/fixunsdfdi.c: Likewise.
31276 * soft-fp/fixunsdfsi.c: Likewise.
31277 * soft-fp/fixunsdfti.c: Likewise.
31278 * soft-fp/fixunssfdi.c: Likewise.
31279 * soft-fp/fixunssfsi.c: Likewise.
31280 * soft-fp/fixunssfti.c: Likewise.
31281 * soft-fp/fixunstfdi.c: Likewise.
31282 * soft-fp/fixunstfsi.c: Likewise.
31283 * soft-fp/fixunstfti.c: Likewise.
31284 * soft-fp/floatdidf.c: Likewise.
31285 * soft-fp/floatdisf.c: Likewise.
31286 * soft-fp/floatditf.c: Likewise.
31287 * soft-fp/floatsidf.c: Likewise.
31288 * soft-fp/floatsisf.c: Likewise.
31289 * soft-fp/floatsitf.c: Likewise.
31290 * soft-fp/floattidf.c: Likewise.
31291 * soft-fp/floattisf.c: Likewise.
31292 * soft-fp/floattitf.c: Likewise.
31293 * soft-fp/floatundidf.c: Likewise.
31294 * soft-fp/floatundisf.c: Likewise.
31295 * soft-fp/floatunsidf.c: Likewise.
31296 * soft-fp/floatunsisf.c: Likewise.
31297 * soft-fp/floatuntidf.c: Likewise.
31298 * soft-fp/floatuntisf.c: Likewise.
31299 * soft-fp/floatuntitf.c: Likewise.
31300 * soft-fp/fmadf4.c: Likewise.
31301 * soft-fp/fmasf4.c: Likewise.
31302 * soft-fp/fmatf4.c: Likewise.
31303 * soft-fp/gedf2.c: Likewise.
31304 * soft-fp/gesf2.c: Likewise.
31305 * soft-fp/getf2.c: Likewise.
31306 * soft-fp/ledf2.c: Likewise.
31307 * soft-fp/lesf2.c: Likewise.
31308 * soft-fp/letf2.c: Likewise.
31309 * soft-fp/muldf3.c: Likewise.
31310 * soft-fp/mulsf3.c: Likewise.
31311 * soft-fp/multf3.c: Likewise.
31312 * soft-fp/negdf2.c: Likewise.
31313 * soft-fp/negsf2.c: Likewise.
31314 * soft-fp/negtf2.c: Likewise.
31315 * soft-fp/op-1.h: Likewise.
31316 * soft-fp/op-2.h: Likewise.
31317 * soft-fp/op-4.h: Likewise.
31318 * soft-fp/op-8.h: Likewise.
31319 * soft-fp/op-common.h: Likewise.
31320 * soft-fp/quad.h: Likewise.
31321 * soft-fp/single.h: Likewise.
31322 * soft-fp/soft-fp.h: Likewise.
31323 * soft-fp/sqrtdf2.c: Likewise.
31324 * soft-fp/sqrtsf2.c: Likewise.
31325 * soft-fp/sqrttf2.c: Likewise.
31326 * soft-fp/subdf3.c: Likewise.
31327 * soft-fp/subsf3.c: Likewise.
31328 * soft-fp/subtf3.c: Likewise.
31329 * soft-fp/truncdfsf2.c: Likewise.
31330 * soft-fp/trunctfdf2.c: Likewise.
31331 * soft-fp/trunctfsf2.c: Likewise.
31332 * soft-fp/trunctfxf2.c: Likewise.
31333 * soft-fp/unorddf2.c: Likewise.
31334 * soft-fp/unordsf2.c: Likewise.
31335 * soft-fp/unordtf2.c: Likewise.
31336
31337 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31338
31339 [BZ #15672]
31340 * misc/error.c (error_tail): Fix possible buffer overflow.
31341
31342 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31343
31344 [BZ #13028]
31345 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31346 address.
31347
31348 2013-10-14 P. J. McDermott <pj@pehjota.net>
31349
31350 [BZ #832]
31351 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31352 testing pipefail option.
31353
31354 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31355
31356 * soft-fp/double.h: Indent preprocessor directives inside #if.
31357 * soft-fp/extended.h: Likewise.
31358 * soft-fp/op-2.h: Likewise.
31359 * soft-fp/op-4.h: Likewise.
31360 * soft-fp/op-common.h: Likewise.
31361 * soft-fp/quad.h: Likewise.
31362 * soft-fp/single.h: Likewise.
31363 * soft-fp/soft-fp.h: Likewise.
31364
31365 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31366
31367 * iconv/iconv_prog.c: Fix typos.
31368 * stdio-common/psiginfo-data.h: Likewise.
31369
31370 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31371
31372 [BZ #15764]
31373 * locale/setlocale.c: Fix typo.
31374
31375 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31376
31377 [BZ #16036]
31378 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31379 signaling NaN arguments.
31380 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31381 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31382
31383 [BZ #14910]
31384 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31385 unordered operands.
31386 * soft-fp/gesf2.c (__gesf2): Likewise.
31387 * soft-fp/getf2.c (__getf2): Likewise.
31388 * soft-fp/ledf2.c (__ledf2): Likewise.
31389 * soft-fp/lesf2.c (__lesf2): Likewise.
31390 * soft-fp/letf2.c (__letf2): Likewise.
31391
31392 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31393 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31394 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31395 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31396 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31397 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31398 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31399 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31400 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31401 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31402 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31403 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31404 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31405 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31406 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31407 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31408 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31409 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31410 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31411 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31412 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31413 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31414 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31415 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31416 * soft-fp/floattidf.c (__floattidf): Likewise.
31417 * soft-fp/floattisf.c (__floattisf): Likewise.
31418 * soft-fp/floattitf.c (__floattitf): Likewise.
31419 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31420 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31421 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31422 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31423 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31424 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31425 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31426 * soft-fp/gesf2.c (__gesf2): Likewise.
31427 * soft-fp/getf2.c (__getf2): Likewise.
31428 * soft-fp/ledf2.c (__ledf2): Likewise.
31429 * soft-fp/lesf2.c (__lesf2): Likewise.
31430 * soft-fp/letf2.c (__letf2): Likewise.
31431
31432 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31433 Undefine and redefine.
31434 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31435 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31436 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31437 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31438 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31439 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31440 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31441 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31442 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31443 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31444 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31445 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31446 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31447 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31448 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31449
31450 [BZ #16032]
31451 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31452 without decrementing exponent if mantissa >= that for the
31453 denominator, not >.
31454 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31455 denominator, not >. Decrement exponent in < case instead of
31456 incrementing in >= case.
31457 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31458 without decrementing exponent if mantissa >= that for the
31459 denominator, not >.
31460
31461 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31462 computing saturated result for unsigned overflow.
31463
31464 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31465 Jeff Law <law@redhat.com>
31466
31467 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31468 (atan2Mp): Add systemtap probe marker.
31469 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31470 (__ieee754_log): Add systemtap probe marker.
31471 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31472 (atanMp): Add systemtap probe marker.
31473 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31474 (tanMp): Add systemtap probe marker.
31475 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31476 (__slowexp): Add systemtap probe marker.
31477 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31478 (__slowpow): Add systemtap probe marker.
31479 * manual/probes.texi: Document probes.
31480
31481 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31482
31483 [BZ #15362]
31484 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31485 written.
31486 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31487 written.
31488 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31489 written to buffer but not flushed.
31490 * libio/iofwrite_u.c: Likewise.
31491 * libio/iopadn.c: Return bytes returned even if EOF was
31492 encountered.
31493 * libio/iowpadn.c: Likewise.
31494 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31495 if _IO_padn does not write the whole buffer.
31496 [!COMPILE_WPRINTF] (PAD): Likewise.
31497
31498 2013-10-10 David S. Miller <davem@davemloft.net>
31499
31500 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31501 directory block.
31502
31503 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31504
31505 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31506 instead of FSF address.
31507 * soft-fp/fixdfti.c: Likewise.
31508 * soft-fp/fixsfti.c: Likewise.
31509 * soft-fp/fixtfti.c: Likewise.
31510 * soft-fp/fixunsdfti.c: Likewise.
31511 * soft-fp/fixunssfti.c: Likewise.
31512 * soft-fp/fixunstfti.c: Likewise.
31513 * soft-fp/floattidf.c: Likewise.
31514 * soft-fp/floattisf.c: Likewise.
31515 * soft-fp/floattitf.c: Likewise.
31516 * soft-fp/floatuntidf.c: Likewise.
31517 * soft-fp/floatuntisf.c: Likewise.
31518 * soft-fp/floatuntitf.c: Likewise.
31519 * soft-fp/trunctfxf2.c: Likewise.
31520
31521 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31522 * soft-fp/fixdfti.c: Likewise.
31523 * soft-fp/fixsfti.c: Likewise.
31524 * soft-fp/fixtfti.c: Likewise.
31525 * soft-fp/fixunsdfti.c: Likewise.
31526 * soft-fp/fixunssfti.c: Likewise.
31527 * soft-fp/fixunstfti.c: Likewise.
31528 * soft-fp/floattidf.c: Likewise.
31529 * soft-fp/floattisf.c: Likewise.
31530 * soft-fp/floattitf.c: Likewise.
31531 * soft-fp/floatuntidf.c: Likewise.
31532 * soft-fp/floatuntisf.c: Likewise.
31533 * soft-fp/floatuntitf.c: Likewise.
31534 * soft-fp/trunctfxf2.c: Likewise.
31535
31536 2013-10-10 David S. Miller <davem@davemloft.net>
31537
31538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31539
31540 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31541
31542 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31543 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31544 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31545 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31546 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31547 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31548 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31549
31550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31551 for NaNs before doing comparisons on argument.
31552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31553 Likewise.
31554
31555 2013-10-10 Will Newton <will.newton@linaro.org>
31556
31557 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31558 passed to _int_memalign does not overflow.
31559
31560 2013-10-10 Torvald Riegel <triegel@redhat.com>
31561
31562 * scripts/bench.pl: Add include-sources directive.
31563 * benchtests/README: Update documentation.
31564
31565 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31566
31567 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31568 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31569 instead of FP_INIT_ROUNDMODE.
31570 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31571 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31572
31573 [BZ #16034]
31574 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31575 copy class of input value.
31576 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31577 not handle exceptions.
31578 * soft-fp/negsf2.c (__negsf2): Likewise.
31579 * soft-fp/negtf2.c (__negtf2): Likewise.
31580 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31581
31582 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31583
31584 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31585 semicolon. From Linux kernel.
31586
31587 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31588
31589 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31590
31591 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31592
31593 [BZ #156]
31594 * manual/socket.texi: Added statement about buffer
31595 for gethostbyname2_r.
31596
31597 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31598
31599 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31600 Use .p2align directive instead, throughout.
31601 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31602 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31603 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31604 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31605 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31606 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31607 * sysdeps/x86_64/strchr.S: Likewise.
31608 * sysdeps/x86_64/strrchr.S: Likewise.
31609
31610 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31611
31612 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31613
31614 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31615
31616 * sysdeps/generic/math_private.h (__mpsin1): Remove
31617 declaration.
31618 (__mpcos1): Likewise.
31619 (__mpsin): New argument __range_reduce.
31620 (__mpcos): Likewise.
31621 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31622 (slow): Use __mpsin and __mpcos.
31623 (slow1): Likewise.
31624 (slow2): Likewise.
31625 (sloww): Likewise.
31626 (sloww1): Likewise.
31627 (sloww2): Likewise.
31628 (bsloww): Likewise.
31629 (bsloww1): Likewise.
31630 (bsloww2): Likewise.
31631 (cslow2): Likewise.
31632 (csloww): Likewise.
31633 (csloww1): Likewise.
31634 (csloww2): Likewise.
31635 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31636 range_reduce. Merge in __mpsin1.
31637 (__mpcos): Likewise.
31638 (__mpsin1): Remove.
31639 (__mpcos1): Likewise.
31640
31641 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31642
31643 * locale/loadlocale.c (_nl_intern_locale_data): Use
31644 LOCFILE_ALIGNED_P.
31645 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31646 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31647 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31648 obstack data is appropriately aligned.
31649 (obstack_int32_grow_fast): Likewise.
31650 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31651 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31652 (add_locale_uint32_array): Likewise.
31653
31654 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31655
31656 * benchtests/Makefile: Remove ARGLIST and RET variables.
31657 ($(objpfx)bench-%.c): Pass only function name to the script.
31658 * benchtests/README: Update documentation.
31659 * benchtests/acos-inputs: Add new directives.
31660 * benchtests/acosh-inputs: Likewise.
31661 * benchtests/asin-inputs: Likewise.
31662 * benchtests/asinh-inputs: Likewise.
31663 * benchtests/atan-inputs: Likewise.
31664 * benchtests/atanh-inputs: Likewise.
31665 * benchtests/cos-inputs: Likewise.
31666 * benchtests/cosh-inputs: Likewise.
31667 * benchtests/exp-inputs: Likewise.
31668 * benchtests/log-inputs: Likewise.
31669 * benchtests/pow-inputs: Likewise.
31670 * benchtests/rint-inputs: Likewise.
31671 * benchtests/sin-inputs: Likewise.
31672 * benchtests/sinh-inputs: Likewise.
31673 * benchtests/tan-inputs: Likewise.
31674 * benchtests/tanh-inputs: Likewise.
31675 * scripts/bench.pl: Add support for new directives.
31676
31677 2013-10-07 Alan Modra <amodra@gmail.com>
31678
31679 * README: Fix careless merge.
31680
31681 2013-10-05 Alan Modra <amodra@gmail.com>
31682
31683 * NEWS: Mention powerpc64le support and bugs fixed.
31684 * README: Both big-endian and little-endian powerpc64 supported.
31685
31686 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31687
31688 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31689 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31690 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31691 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31692
31693 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31694
31695 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31696 match prototype.
31697
31698 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31699
31700 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31701 Move -mhard-float appending from
31702 ports/sysdeps/powerpc/powerpc32/Makefile.
31703 [$(with-fp) = yes] (ASFLAGS): Likewise.
31704 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31705 * sysdeps/powerpc/nofpu: Move directory from
31706 ports/sysdeps/powerpc/nofpu.
31707 * sysdeps/powerpc/soft-fp: Move directory from
31708 ports/sysdeps/powerpc/soft-fp.
31709 * sysdeps/powerpc/powerpc32/405: Move directory from
31710 ports/sysdeps/powerpc/powerpc32/405.
31711 * sysdeps/powerpc/powerpc32/440: Move directory from
31712 ports/sysdeps/powerpc/powerpc32/440.
31713 * sysdeps/powerpc/powerpc32/464: Move directory from
31714 ports/sysdeps/powerpc/powerpc32/464.
31715 * sysdeps/powerpc/powerpc32/476: Move directory from
31716 ports/sysdeps/powerpc/powerpc32/476.
31717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31718 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31720 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31722 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31724 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31726 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31727 * README: Update for powerpc-*-linux-gnu software floating point
31728 support in libc.
31729
31730 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31731 case to powerpc/powerpc32*.
31732 * sysdeps/unix/sysv/linux/configure: Regenerated.
31733
31734 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31735 (_FPU_MASK_OM): Define as 0x04.
31736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31738 0x00c10080.
31739 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31740 0x0000003c.
31741 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31742
31743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31744 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31745 getcontext_e500.
31746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31747 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31748 setcontext_e500.
31749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31750 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31751 and setcontext_e500.
31752
31753 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31754
31755 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31756
31757 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31758
31759 * manual/threads.texi (Default Thread Attributes): Fix typo.
31760
31761 2013-10-04 Will Newton <will.newton@linaro.org>
31762
31763 * malloc/Makefile: Add tst-memalign.
31764 * malloc/tst-memalign.c: New file.
31765
31766 * malloc/tst-posix_memalign.c: Add comments.
31767 (do_test): Add comments and call free on all potentially
31768 allocated pointers. Add space after cast.
31769
31770 * malloc/tst-pvalloc.c: Add comments.
31771 (do_test): Add comments and call free on all potentially
31772 allocated pointers. Remove duplicate check for NULL pointer.
31773 Add space after cast.
31774
31775 * malloc/tst-valloc.c: Add comments.
31776 (do_test): Add comments and call free on all potentially
31777 allocated pointers. Remove duplicate check for NULL pointer.
31778 Add space after cast.
31779
31780 2013-10-04 Alan Modra <amodra@gmail.com>
31781
31782 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31783 Use stdint types in rather than __attribute__((mode())).
31784 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31785
31786 2013-10-04 Alan Modra <amodra@gmail.com>
31787
31788 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31789 Correct handling of unaligned relocs for little-endian.
31790 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31791
31792 2013-10-04 Alan Modra <amodra@gmail.com>
31793
31794 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31795 * configure: Regenerate.
31796 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31797 * shlib-versions: Likewise.
31798
31799 2013-10-04 Alan Modra <amodra@gmail.com>
31800
31801 * string/tester.c (test_memrchr): Increment reported test cycle.
31802
31803 2013-10-04 Alan Modra <amodra@gmail.com>
31804
31805 * string/test-memcpy.c (do_one_test): When reporting errors, print
31806 string address and don't overrun end of string.
31807
31808 2013-10-04 Alan Modra <amodra@gmail.com>
31809
31810 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31811 insrdi. Make better use of reg selection to speed exit slightly.
31812 Schedule entry path a little better. Remove useless "are we done"
31813 checks on entry to main loop. Handle wrapping around zero address.
31814 Correct main loop count. Handle single left-over word from main
31815 loop inline rather than by using loop_small. Remove extra word
31816 case in loop_small caused by wrong loop count. Add little-endian
31817 support.
31818 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31819 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31820 cache hint.
31821 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31822 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31823 support. Avoid rlwimi.
31824 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31825
31826 2013-10-04 Alan Modra <amodra@gmail.com>
31827
31828 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31829 insrdi. Formatting.
31830 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31831 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31832 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31833 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31834 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31835 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31836
31837 2013-10-04 Alan Modra <amodra@gmail.com>
31838
31839 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31840 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31841 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31842 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31843 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31844 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31845 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31846 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31847 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31848 use of regs. Use power7 mtocrf. Tidy function tails.
31849
31850 2013-10-04 Alan Modra <amodra@gmail.com>
31851
31852 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31853 Formatting. Consistently use rXXX register defines or rN defines.
31854 Use early exit labels that avoid restoring unused non-volatile regs.
31855 Make cr field use more consistent with rWORDn compares. Rename
31856 regs used as shift registers for unaligned loop, using rN defines
31857 for short lifetime/multiple use regs.
31858 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31859 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31860 addi 1,1,64 to pop stack frame. Simplify return value code.
31861 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31862
31863 2013-10-04 Alan Modra <amodra@gmail.com>
31864
31865 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31866 support. Correct typos, formatting. Optimize tail. Use insrdi
31867 rather than rlwimi.
31868 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31869 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31870 little-endian support. Correct typos.
31871 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31872 rather than rlwimi.
31873 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31874 in loop and entry code to keep "and." results.
31875 (strchr): Add little-endian support. Comment. Move cntlzd
31876 earlier in tail.
31877 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31878
31879 2013-10-04 Alan Modra <amodra@gmail.com>
31880
31881 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31882 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31883 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31884 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31885
31886 2013-10-04 Alan Modra <amodra@gmail.com>
31887
31888 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31889 (rTMP): Define as r11.
31890 (strcmp): Add little-endian support. Optimise tail.
31891 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31892 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31893 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31894 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31895 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31896 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31897 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31898
31899 2013-10-04 Alan Modra <amodra@gmail.com>
31900
31901 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31902 little-endian support. Remove unnecessary "are we done" tests.
31903 Handle "s" wrapping around zero and extremely large "size".
31904 Correct main loop count. Handle single left-over word from main
31905 loop inline rather than by using small_loop. Correct comments.
31906 Delete "zero" tail, use "end_max" instead.
31907 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31908
31909 2013-10-04 Alan Modra <amodra@gmail.com>
31910
31911 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31912 support. Don't branch over align.
31913 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31914 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31915 support. Rearrange tmp reg use to suit. Comment.
31916 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31917
31918 2013-10-04 Alan Modra <amodra@gmail.com>
31919
31920 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31921
31922 2013-10-04 Alan Modra <amodra@gmail.com>
31923
31924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31925 conditional form of branch and link when obtaining pc.
31926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31927
31928 2013-10-04 Alan Modra <amodra@gmail.com>
31929
31930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31931 HIWORD/LOWORD.
31932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31934
31935 2013-10-04 Alan Modra <amodra@gmail.com>
31936
31937 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31938 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31939 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31940 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31941 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31942 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31943 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31944 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31945 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31946 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31947
31948 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31949 Alistair Popple <alistair@ozlabs.au.ibm.com>
31950 Alan Modra <amodra@gmail.com>
31951
31952 [BZ #15723]
31953 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31954 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31955 _dl_hwcap access for little-endian.
31956 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31957 destroy vmx regs when saving unaligned.
31958 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31959 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31960 destroy vmx regs when saving unaligned.
31961
31962 2013-10-04 Alan Modra <amodra@gmail.com>
31963
31964 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31965 Don't use a union to pack hi/low value.
31966
31967 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31968
31969 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31970 for little-endian.
31971 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31972 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31973 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31974 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31975 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31976
31977 2013-10-04 Alan Modra <amodra@gmail.com>
31978
31979 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31980 constants to usual value for .cst8 section, and remove redundant
31981 high address load.
31982 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31983 constant for 0x1p52. Load little-endian words of double from
31984 correct stack offsets.
31985
31986 2013-10-04 Alan Modra <amodra@gmail.com>
31987
31988 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31989 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31990 words of double from correct stack offsets.
31991 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31992 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31993 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31994 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31995 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31996 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31997 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31998 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31999 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32000 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32001 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32002 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32003 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32004 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32005 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32006 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32007 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32008
32009 2013-10-04 Alan Modra <amodra@gmail.com>
32010
32011 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32012 64-bit int/double union.
32013 (_FPU_SETCW): Likewise.
32014 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32015 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32016
32017 2013-10-04 Alan Modra <amodra@gmail.com>
32018
32019 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32020 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32021
32022 2013-10-04 Alan Modra <amodra@gmail.com>
32023
32024 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32025 use vector int constants.
32026 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32027
32028 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32029
32030 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32031 array with long long.
32032 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32033 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32034 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32035 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32036 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32037 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32038 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32039 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32040 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32041 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32042 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32043 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32044 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32045
32046 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32047
32048 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32049 (__signbit): Likewise. Correct for little-endian.
32050 (__signbitl): Call __signbit.
32051 (lrint): Correct for little-endian.
32052 (lrintf): Call lrint.
32053
32054 2013-10-04 Alan Modra <amodra@gmail.com>
32055
32056 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32057 union 32-bit int array member with 64-bit int array.
32058 (t515, tm256): Double rather than long double.
32059 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32060
32061 2013-10-04 Alan Modra <amodra@gmail.com>
32062
32063 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32064 Delete.
32065 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32066 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32067 version of math_ldbl.h.
32068
32069 2013-10-04 Alan Modra <amodra@gmail.com>
32070
32071 [BZ #15734], [BZ #15735]
32072 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32073 all uses of ieee875 long double macros and unions. Simplify test
32074 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32075 ldbl_extract_mantissa value for ix,iy exponents. Properly
32076 normalize after ldbl_extract_mantissa, and don't add hidden bit
32077 already handled. Don't treat low word of ieee854 mantissa like
32078 low word of IBM long double and mask off bit when testing for
32079 zero.
32080 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32081 all uses of ieee875 long double macros and unions. Simplify tests
32082 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32083 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32084 two1022, instead use their values. Recognise that tests for large
32085 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32086 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32087 Rewrite all uses of ieee875 long double macros and unions. Simplify
32088 test for 0.0L and nan. Correct negation.
32089 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32090 ieee875 long double macros and unions. Correct output for large
32091 magnitude x. Correct absolute value calculation.
32092 (__erfcl): Likewise.
32093 * math/libm-test.inc: Add tests for errors discovered in IBM long
32094 double versions of fmodl, remainderl, erfl and erfcl.
32095
32096 2013-10-04 Alan Modra <amodra@gmail.com>
32097
32098 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32099 all uses of ieee854 long double macros and unions. Simplify tests
32100 for long doubles that are fully specified by the high double.
32101 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32102 Likewise.
32103 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32104 Remove dead code too.
32105 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32106 (__ieee754_ynl): Likewise.
32107 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32108 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32109 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32110 Remove dead code too.
32111 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32112 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32113 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32114 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32115 Simplify.
32116 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32117 Simplify.
32118 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32119 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32120 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32121 Comment on variable precision.
32122 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32123 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32124 Likewise.
32125 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32126 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32127 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32128 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32129 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32130
32131 2013-10-04 Alan Modra <amodra@gmail.com>
32132
32133 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32134 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32135 all uses of ieee854 long double macros and unions.
32136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32138 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32139 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32140 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32141 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32142 Likewise.
32143 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32144 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32145 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32146 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32147 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32148 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32149 Simplify sign and nan test too.
32150 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32151 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32152 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32153 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32154 Likewise.
32155 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32156 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32157 Likewise.
32158 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32159 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32160 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32161 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32162 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32163 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32164
32165 2013-10-04 Alan Modra <amodra@gmail.com>
32166
32167 * stdio-common/printf_size.c (__printf_size): Don't use
32168 union ieee854_long_double in fpnum union.
32169 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
32170 signbit macro to retrieve sign from long double.
32171 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32172 retrieve sign from long double.
32173 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32174 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32175 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32176 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32177 * math/test-misc.c (main): Don't use union ieee854_long_double.
32178
32179 2013-10-04 Alan Modra <amodra@gmail.com>
32180
32181 [BZ #15680]
32182 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32183 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32184 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32185 calculation. Remove unnecessary test for denormal exponent.
32186 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32187 Correct handling of denormals. Avoid undefined shift behaviour.
32188 Correct normalisation of low mantissa when low double is denormal.
32189 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32190 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
32191 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32192 Correct normalisation of low mantissa. Test for overflow of high
32193 mantissa and normalise.
32194 (ldbl_nearbyint): Use more readable constant for two52.
32195 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32196 (__mpn_construct_long_double): Fix test for overflow of high
32197 mantissa and correct normalisation. Avoid undefined shift.
32198
32199 2013-10-04 Alan Modra <amodra@gmail.com>
32200
32201 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32202 (union ibm_extended_long_double): Define as an array of ieee754_double.
32203 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32204 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32205 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32206 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32207 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32208 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32209 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32210 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32211 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32212 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32213 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32214
32215 2013-10-03 Joseph Myers <joseph@codesourcery.com>
32216
32217 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32218 page size instead of calling getpagesize.
32219
32220 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32221 (LOCFILE_ALIGN_MASK): Likewise.
32222 (LOCFILE_ALIGN_UP): Likewise.
32223 (LOCFILE_ALIGNED_P): Likewise.
32224 * locale/programs/ld-collate.c (collate_output): Use the new
32225 macros instead of __alignof__ (int32_t).
32226 * locale/weight.h (findidx): Likewise.
32227
32228 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32229
32230 [BZ #431]
32231 * manual/string.texi: Fix strncat and wcsncat.
32232
32233 2013-10-03 Brooks Moses <bmoses@google.com>
32234
32235 [BZ #15915]
32236 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32237 * Makerules: ...here, and adjust associated comments.
32238
32239 2013-10-02 Will Newton <will.newton@linaro.org>
32240
32241 * malloc/Makefile: Add tst-pvalloc.
32242 * malloc/tst-pvalloc.c: New file.
32243
32244 2013-10-02 Will Newton <will.newton@linaro.org>
32245
32246 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32247 improve test coverage.
32248
32249 2013-10-02 Will Newton <will.newton@linaro.org>
32250
32251 * malloc/Makefile: Add tst-posix_memalign.
32252 * malloc/tst-posix_memalign.c: New file.
32253
32254 2013-10-01 Eric Blake <eblake@redhat.com>
32255
32256 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32257 Use __THROWNL rather than __THROW on static functions.
32258
32259 2013-09-30 Petr Machata <pmachata@redhat.com>
32260
32261 * elf/elf.h (R_AARCH64_ABS16): New macro.
32262 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32263 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32264 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32265 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32266 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32267 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32268 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32269 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32270 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32271 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32272 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32273 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32274 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32275 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32276 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32277 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32278 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32279 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32280 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32281 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32282 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32283 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32284 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32285 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32286 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32287 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32288 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32289 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32290 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32291 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32292 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32293 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32294 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32295 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32296 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32297 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32298 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32299 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32300 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32301 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32302 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32303 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32304 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32305 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32306 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32307 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32308 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32309 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32310 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32311 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32312 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32313 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32314 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32315 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32316 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32317 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32318 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32319 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32320 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32321 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32322 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32323 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32324 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32325 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32326 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32327 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32328 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32329 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32330 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32331 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32332 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32333 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32334 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32335 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32336 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32337 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32338 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32339 (R_AARCH64_TLSDESC_LDR): Likewise.
32340 (R_AARCH64_TLSDESC_ADD): Likewise.
32341 (R_AARCH64_TLSDESC_CALL): Likewise.
32342
32343 2013-09-30 Andreas Schwab <schwab@suse.de>
32344
32345 [BZ #15048]
32346 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32347 the nss database lookup.
32348 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32350
32351 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32352
32353 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32354
32355 2013-09-28 P. J. McDermott <pj@pehjota.net>
32356
32357 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32358 ${Bash-specific parameter/pattern/string} parameter expansion.
32359 * sysdeps/unix/make-syscalls.sh: Likewise.
32360
32361 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32362
32363 * sysdeps/sh/stackguard-macros.h: New file.
32364
32365 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32366
32367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32369 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32370 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32371 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32372 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32373
32374 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32375
32376 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32377 Fix thread ID register.
32378
32379 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32380
32381 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32382 [POSIX || UNIX98]: Require rather than permitting all symbols from
32383 <time.h>.
32384 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32385 element of struct sched_param.
32386 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32387 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32388 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32389 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32390 constant.
32391
32392 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32393
32394 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32395 argument calculation.
32396
32397 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32398
32399 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32400 Expect macro.
32401 [POSIX] (pthread_attr_t): Do not require type.
32402 [POSIX] (pthread_cond_t): Likewise.
32403 [POSIX] (pthread_condattr_t): Likewise.
32404 [POSIX] (pthread_key_t): Likewise.
32405 [POSIX] (pthread_mutex_t): Likewise.
32406 [POSIX] (pthread_mutexattr_t): Likewise.
32407 [POSIX] (pthread_once_t): Likewise.
32408 [POSIX] (pthread_t): Likewise.
32409 [POSIX-based standards] (pthread_atfork): Expect function.
32410
32411 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32412 Richard Sandiford <richard@codesourcery.com>
32413
32414 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32415 (swap_endianness_p): New extern variable.
32416 (set_big_endian): New inline function.
32417 (maybe_swap_uint32): Likewise.
32418 (maybe_swap_uint32_array): Likewise.
32419 (maybe_swap_uint32_obstack): Likewise.
32420 * locale/programs/locfile.c: Include <stdbool.h>.
32421 (swap_endianness_p): New variable.
32422 (add_locale_uint32): Call maybe_swap_uint32.
32423 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32424 (write_locale_data): Call maybe_swap_uint32_array.
32425 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32426 maybe_swap_uint32.
32427 (obstack_int32_grow_fast): Likewise.
32428 (output_weightwc): Call maybe_swap_uint32_obstack.
32429 (collate_output): Likewise.
32430 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32431 (OPT_LITTLE_ENDIAN): Likewise.
32432 (options): Add --little-endian and --big-endian options.
32433 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32434 * locale/programs/locarchive.c: Include "locfile.h".
32435 (GET): New macro.
32436 (SET): Likewise.
32437 (INC): Likewise.
32438 (create_archive): Use the new macros to access fields of
32439 structures directly mapped from or written to locale archives.
32440 (oldlocrecentcmp): Likewise.
32441 (enlarge_archive): Likewise.
32442 (insert_name): Likewise.
32443 (add_alias): Likewise.
32444 (add_locale): Likewise.
32445 (delete_locales_from_archive): Likewise.
32446 (show_archive_content): Likewise.
32447 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32448 locale data.
32449
32450 2013-09-24 Roland McGrath <roland@hack.frob.com>
32451
32452 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32453 http://www.gnu.org/doc/freemanuals.texi.
32454 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32455
32456 2013-09-24 Will Newton <will.newton@linaro.org>
32457
32458 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32459 macro.
32460
32461 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32462
32463 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32464 unsigned char.
32465
32466 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32467
32468 * manual/threads.texi (POSIX Threads): Fix a typo.
32469
32470 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32471
32472 [BZ #14547]
32473 * string/tst-strcoll-overflow.c: New test case.
32474 * string/Makefile (xtests): Add tst-strcoll-overflow.
32475 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32476 cache if string sizes may cause integer overflow.
32477
32478 [BZ #14547]
32479 * string/strcoll_l.c (coll_seq): New members rule, idx,
32480 save_idx and back_us.
32481 (get_next_seq_nocache): New function.
32482 (do_compare_nocache): New function.
32483 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32484 when malloc fails.
32485
32486 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32487
32488 [BZ #15754]
32489 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32490 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32491 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32492
32493 [BZ #15754]
32494 * elf/Makefile (tests): Add tst-ptrguard1.
32495 (tests-static): Add tst-ptrguard1-static.
32496 (tst-ptrguard1-ARGS): Define.
32497 (tst-ptrguard1-static-ARGS): Define.
32498 * elf/tst-ptrguard1.c: New file.
32499 * elf/tst-ptrguard1-static.c: New file.
32500 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32501 * sysdeps/i386/stackguard-macros.h: Likewise.
32502 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32503 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32504 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32505 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32506 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32507 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32508
32509 2013-09-23 Hector Marco <hecmargi@upv.es>
32510 Ismael Ripoll <iripoll@disca.upv.es>
32511 Carlos O'Donell <carlos@redhat.com>
32512
32513 [BZ #15754]
32514 * sysdeps/generic/stackguard-macros.h: Define
32515 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32516 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32517 Define __pointer_chk_guard_local.
32518 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32519 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32520
32521 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32522
32523 [BZ #15859]
32524 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32525
32526 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32527
32528 * include/string.h (__ffs): Declare as hidden.
32529 * string/ffs.c (__ffs): Define as hidden.
32530 * sysdeps/i386/ffs.c (__ffs): Likewise.
32531 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32532 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32533 * sysdeps/s390/ffs.c (__ffs): Likewise.
32534 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32535
32536 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32537
32538 * NEWS: Mention malloc probes.
32539
32540 * malloc/arena.c (new_heap): New memory_heap_new probe.
32541 (grow_heap): New memory_heap_more probe.
32542 (shrink_heap): New memory_heap_less probe.
32543 (heap_trim): New memory_heap_free probe.
32544 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32545 (systrim): New memory_sbrk_less probe.
32546 * manual/probes.texi: Document them.
32547
32548 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32549 * manual/probes.texi: Document it.
32550
32551 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32552 (__libc_realloc): Add memory_realloc_retry probe.
32553 (__libc_memalign): Add memory_memalign_retry probe.
32554 (__libc_valloc): Add memory_valloc_retry probe.
32555 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32556 (__libc_calloc): Add memory_calloc_retry probe.
32557 * manual/probes.texi: Document them.
32558
32559 * malloc/arena.c (get_free_list): Add probe
32560 memory_arena_reuse_free_list.
32561 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32562 and memory_arena_reuse.
32563 (arena_get2) [!PER_THREAD]: Likewise.
32564 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32565 memory_arena_reuse_realloc.
32566 * manual/probes.texi: Document them.
32567
32568 * malloc/malloc.c (__libc_free): Add
32569 memory_mallopt_free_dyn_thresholds probe.
32570 (__libc_mallopt): Add multiple memory_mallopt probes.
32571 * manual/probes.texi: Document them.
32572
32573 * malloc/malloc.c: Include stap-probe.h.
32574 (__libc_mallopt): Add memory_mallopt probe.
32575 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32576 * manual/probes.texi: New.
32577 * manual/Makefile (chapters): Add probes.
32578 * manual/threads.texi: Set next node.
32579
32580 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32581
32582 [BZ #15963, #13985]
32583 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32584 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32585 Add `Chinese' to `nan' entry name.
32586
32587 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32588
32589 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32590 (POLYNOMIAL): Likewise.
32591 (TAYLOR_SINCOS): Likewise.
32592 (TAYLOR_SLOW): Likewise.
32593 (__sin): Use TAYLOR_SINCOS.
32594 (__cos): Likewise.
32595 (slow): Use TAYLOR_SLOW.
32596 (sloww): Likewise.
32597 (bsloww): Likewise.
32598 (csloww): Likewise.
32599
32600 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32601
32602 * stdlib/strtod_l.c: Fix buffer overrun.
32603
32604 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32605
32606 * benchtests/Makefile (bench): Add sincos.
32607 * benchtests/bench-sincos.c: New file.
32608
32609 * math/libm-test.inc (cos_test_data): New test inputs.
32610 (sin_test_data): Likewise.
32611
32612 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32613 macro.
32614 (__sin): Use it.
32615 (__cos): Likewise.
32616 (slow1): Likewise.
32617 (slow2): Likewise.
32618 (sloww1): Likewise.
32619 (sloww2): Likewise.
32620 (bsloww1): Likewise.
32621 (bsloww2): Likewise.
32622 (cslow2): Likewise.
32623 (csloww1): Likewise.
32624 (csloww2): Likewise.
32625
32626 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32627 function.
32628 (__sin): Use it.
32629 (__cos): Likewise.
32630
32631 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32632 gotos.
32633 (__cos): Likewise.
32634
32635 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32636
32637 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32638 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32639 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32640 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32641 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32642 * elf/cache.c (print_entry): Handle the new cache flags.
32643
32644 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32645 Aldy Hernandez <aldyh@redhat.com>
32646
32647 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32648 Change condition to [_SOFT_FLOAT].
32649 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32651 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32652 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32661 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32664 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32665 declaration.
32666
32667 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32668
32669 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32670 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32671 (__longjmp): Use LOAD_GP to load saved GPRs.
32672 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32673 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32674 (__sigsetjmp): Use SAVE_GP to save GPRs.
32675
32676 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32677 Do not append -msoft-float.
32678 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32679
32680 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32681
32682 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32683
32684 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32685
32686 [BZ #15966]
32687 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32688 (_FPU_GETCW): Use initial "__" on variable and field names but not
32689 on macro parameter name.
32690 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32691 parentheses around reference to macro parameter.
32692
32693 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32694
32695 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32696 prototype.
32697 (ctype_startup): Use uint32_t in cast and sizeof for
32698 ctype->charnames.
32699
32700 2013-09-11 Jia Liu <proljc@gmail.com>
32701
32702 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32703 __daddr_t_defined.
32704 [__FreeBSD__]: Likewise.
32705
32706 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32707
32708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32709 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32710 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32711 (strchr): Remove __strchr_sse42 ifunc selection.
32712 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32713 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32714
32715 2013-09-11 Will Newton <will.newton@linaro.org>
32716
32717 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32718 parameter to RES. Remove hardcoded 1000 value.
32719 * benchtests/bench-skeleton.c (main): Pass RES parameter
32720 to TIMING_INIT and multiply result by 1000.
32721
32722 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32723
32724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32725
32726 2013-09-11 Andreas Schwab <schwab@suse.de>
32727
32728 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32729 if not defined.
32730 (O_TMPFILE) [__USE_GNU]: Define.
32731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32732 Define.
32733
32734 2013-09-11 Will Newton <will.newton@linaro.org>
32735
32736 [BZ #15857]
32737 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32738 does not overflow.
32739
32740 2013-09-11 Will Newton <will.newton@linaro.org>
32741
32742 [BZ #15856]
32743 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32744 does not overflow.
32745
32746 2013-09-11 Will Newton <will.newton@linaro.org>
32747
32748 [BZ #15855]
32749 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32750 does not overflow.
32751
32752 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32753
32754 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32755 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32756 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32757 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32758 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32759
32760 2013-09-10 Allan McRae <allan@archlinux.org>
32761
32762 [BZ #15748]
32763 * manual/arith.texi (Parsing of Floats): Clarify
32764 cross-reference.
32765
32766 [BZ #15849]
32767 * manual/install.texi (Running make install): Mention
32768 --enable-pt-chown.
32769 * INSTALL: Regenerated.
32770
32771 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32772
32773 * csu/init-first.c (_init): Remove the !SHARED condition around
32774 FPU control word initialization.
32775 * elf/dl-support.c (_dl_fpu_control): New variable.
32776 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32777 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32778 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32779 * math/test-fpucw-static.c: New file.
32780 * math/test-fpucw-ieee.c: New file.
32781 * math/test-fpucw-ieee-static.c: New file.
32782 * math/Makefile (tests): Add `test-fpucw-ieee' and
32783 `$(tests-static)'.
32784 (tests-static): New variable.
32785 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32786 dependency to...
32787 [($(build-shared),yes)]
32788 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32789 ... this.
32790 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32791 New dependency.
32792
32793 2013-09-09 Allan McRae <allan@archlinux.org>
32794
32795 [BZ #15939]
32796 * manual/string.texi (Collation Functions): Fix typo in
32797 strcoll example.
32798 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32799
32800 [BZ #15893]
32801 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32802
32803 [BZ #15892]
32804 * libio/memstream.c (open_memstream): Fix memory leak.
32805 * libio/wmemstream.c (open_wmemstream): Likewise.
32806
32807 [BZ #15895]
32808 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32809
32810 2013-09-09 Will Newton <will.newton@linaro.org>
32811
32812 * malloc/Makefile: Add tst-realloc to tests.
32813 * malloc/tst-realloc.c: New file.
32814
32815 2013-09-09 Allan McRae <allan@archlinux.org>
32816
32817 [BZ #15844]
32818 * COPYING: Update from GNU website to fix FSF address.
32819 * COPYING.LIB: Likewise.
32820
32821 2013-09-06 David S. Miller <davem@davemloft.net>
32822
32823 * po/zh_TW.po: Update Chinese (traditional) translation from
32824 translation project.
32825
32826 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32827 Joseph Myers <joseph@codesourcery.com>
32828
32829 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32830 "localeinfo.h".
32831 (obstack_chunk_alloc): New macro.
32832 (obstack_chunk_free): Likewise.
32833 (record_offset): New function.
32834 (init_locale_data): Likewise.
32835 (align_locale_data): Likewise.
32836 (add_locale_empty): Likewise.
32837 (add_locale_raw_data): Likewise.
32838 (add_locale_raw_obstack): Likewise.
32839 (add_locale_string): Likewise.
32840 (add_locale_wstring): Likewise.
32841 (add_locale_uint32): Likewise.
32842 (add_locale_uint32_array): Likewise.
32843 (add_locale_char): Likewise.
32844 (start_locale_structure): Likewise.
32845 (end_locale_structure): Likewise.
32846 (start_locale_prelude): Likewise.
32847 (end_locale_prelude): Likewise.
32848 (write_locale_data): Take locale_file structure rather than an
32849 iovec.
32850 * locale/programs/locfile.h: Include "obstack.h".
32851 (struct locale_file): Change to store locale file contents instead
32852 of header.
32853 (init_locale_data): New prototype.
32854 (align_locale_data): Likewise.
32855 (add_locale_empty): Likewise.
32856 (add_locale_raw_data): Likewise.
32857 (add_locale_raw_obstack): Likewise.
32858 (add_locale_string): Likewise.
32859 (add_locale_wstring): Likewise.
32860 (add_locale_uint32): Likewise.
32861 (add_locale_uint32_array): Likewise.
32862 (add_locale_char): Likewise.
32863 (start_locale_structure): Likewise.
32864 (end_locale_structure): Likewise.
32865 (start_locale_prelude): Likewise.
32866 (end_locale_prelude): Likewise.
32867 (write_locale_data): Update prototype.
32868 * locale/programs/3level.h (struct TABLE): Remove result field.
32869 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32870 Use new locale_file interface.
32871 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32872 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32873 * locale/programs/ld-address.c (address_output): Use new
32874 locale_file interface.
32875 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32876 NO_ADD_LOCALE.
32877 (collate_finish): Don't call collseq_table_finalize.
32878 (collate_output): Use new locale_file interface.
32879 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32880 in file.
32881 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32882 (TABLE): Move defines earlier in file.
32883 (ELEMENT): Likewise.
32884 (DEFAULT): Likewise.
32885 (wctrans_table_add): Move macro and inline function earlier in
32886 file.
32887 (struct wctype_table): Move type earlier in file.
32888 (add_locale_wctype_table): New static prototype.
32889 (struct locale_ctype_t): Use logical types instead of struct iovec
32890 pointers for members.
32891 (ctype_output): Use new locale_file interface.
32892 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32893 new locale_file interface.
32894 (allocate_arrays): Update for use of new locale_file interface.
32895 * locale/programs/ld-identification.c (identification_output): Use
32896 new locale_file interface.
32897 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32898 * locale/programs/ld-messages.c (messages_output): Likewise.
32899 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32900 * locale/programs/ld-name.c (name_output): Likewise.
32901 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32902 * locale/programs/ld-paper.c (paper_output): Likewise.
32903 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32904 * locale/programs/ld-time.c (time_output): Likewise.
32905
32906 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32907
32908 * benchtests/Makefile: Add memrchr benchmark.
32909 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32910 benchmark as memrchr.
32911 * benchtests/bench-memrchr-ifunc.c: New file.
32912 * benchtests/bench-memrchr.c: New file.
32913
32914 2013-09-06 Will Newton <will.newton@linaro.org>
32915
32916 * benchtests/Makefile (string-bench): Add memcpy.
32917
32918 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32919 Cong Wang <amwang@redhat.com>
32920
32921 [BZ #15850]
32922 * sysdeps/unix/sysv/linux/bits/in.h
32923 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32924 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32925 before __USE_KERNEL_IPV6_DEFS uses.
32926 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32927 IPPROTO_BEETPH.
32928 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32929 sockaddr_in6, or ipv6_mreq.
32930
32931 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32932
32933 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32934 memory access for final bytes in some large inputs.
32935 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32936
32937 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32938
32939 * string/test-memrchr.c: New file.
32940 * string/test-memrchr-ifunc.c: New file.
32941 * string/Makefile: Add new memrchr testcase.
32942
32943 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32944
32945 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32946 fanotify_init returns EPERM.
32947
32948 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32949
32950 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32951 errors.
32952 (top level): Treat second token from macro or constant entries for
32953 allowed headers as allowed.
32954 * include/complex.h: Condition internal declarations on
32955 [!_ISOMAC].
32956 * include/fenv.h: Condition include of <stdbool.h> and internal
32957 declarations on [!_ISOMAC].
32958
32959 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32960
32961 [BZ #15923]
32962 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32963
32964 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32965
32966 * configure.in (--enable-versioning): Remove configure option.
32967 (libc_cv_asm_symver_directive): Remove configure test.
32968 (libc_cv_ld_version_script_option): Likewise.
32969 (VERSIONING): Remove variable and AC_SUBST.
32970 (DO_VERSIONING): Remove AC_DEFINE.
32971 * configure: Regenerated.
32972 * config.h.in (DO_VERSIONING): Remove macro.
32973 * Makerules [$(versioning) = yes]: Change conditionals to
32974 [$(build-shared) = yes].
32975 * config.make.in (versioning): Remove variable.
32976 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32977 [$(build-shared) = yes].
32978 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32979 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32980 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32981 [$(build-shared) = yes].
32982 * extra-lib.mk [$(versioning) = yes]: Likewise.
32983 * hurd/Makefile [$(versioning) = yes]: Likewise.
32984 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32985 [SHARED].
32986 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32987 [SHARED].
32988 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32989 [SHARED && !NO_HIDDEN].
32990 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32991 [SHARED].
32992 [SHARED && DO_VERSIONING]: Likewise..
32993 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32994 [$(build-shared) = yes].
32995 * manual/install.texi (--disable-versioning): Remove
32996 documentation.
32997 * INSTALL: Regenerated.
32998 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32999 to [SHARED].
33000 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33001 [$(build-shared) = yes].
33002 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33003 * sysdeps/i386/i686/multiarch/strstr-c.c
33004 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33005 [SHARED && !NO_HIDDEN].
33006 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33007 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33008 * sysdeps/powerpc/powerpc32/dl-machine.c
33009 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33010 * sysdeps/powerpc/powerpc32/sysdep.h
33011 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33012 to [SHARED && PIC && !NO_HIDDEN].
33013 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33014 conditional to [SHARED].
33015
33016 2013-09-04 Will Newton <will.newton@linaro.org>
33017
33018 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33019 * benchtests/bench-string.h: Include bench-timing.h instead
33020 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33021 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33022 call to HP_TIMING_DIFF_INIT.
33023 * benchtests/bench-memccpy.c: Use bench-timing.h macros
33024 instead of hp-timing.h macros.
33025 * benchtests/bench-memchr.c: Likewise.
33026 * benchtests/bench-memcmp.c: Likewise.
33027 * benchtests/bench-memcpy.c: Likewise.
33028 * benchtests/bench-memmem.c: Likewise.
33029 * benchtests/bench-memmove.c: Likewise.
33030 * benchtests/bench-memset.c: Likewise.
33031 * benchtests/bench-rawmemchr.c: Likewise.
33032 * benchtests/bench-strcasecmp.c: Likewise.
33033 * benchtests/bench-strcasestr.c: Likewise.
33034 * benchtests/bench-strcat.c: Likewise.
33035 * benchtests/bench-strchr.c: Likewise.
33036 * benchtests/bench-strcmp.c: Likewise.
33037 * benchtests/bench-strcpy.c: Likewise.
33038 * benchtests/bench-strcpy_chk.c: Likewise.
33039 * benchtests/bench-strlen.c: Likewise.
33040 * benchtests/bench-strncasecmp.c: Likewise.
33041 * benchtests/bench-strncat.c: Likewise.
33042 * benchtests/bench-strncmp.c: Likewise.
33043 * benchtests/bench-strncpy.c: Likewise.
33044 * benchtests/bench-strnlen.c: Likewise.
33045 * benchtests/bench-strpbrk.c: Likewise.
33046 * benchtests/bench-strrchr.c: Likewise.
33047 * benchtests/bench-strspn.c: Likewise.
33048 * benchtests/bench-strstr.c: Likewise.
33049
33050 2013-09-04 Will Newton <will.newton@linaro.org>
33051
33052 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33053
33054 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33055
33056 [BZ #15427]
33057 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33058 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33059 * math/libm-test.inc (lgamma_test_data): Add more tests.
33060 * sysdeps/i386/fpu/libm-test-ulps: Update.
33061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33062
33063 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33064
33065 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33066 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33067 Add ifunc.
33068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33069 Add strcmp-sse2-unaligned
33070 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33071
33072 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33073
33074 * Versions.def (libc): Add GLIBC_2.19.
33075
33076 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33077
33078 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33079 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33080
33081 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33082
33083 [BZ #14155]
33084 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33085 intermediate calculations in recurrence.
33086 (__ieee754_ynf): Likewise.
33087 * math/libm-test.inc (jn_test_data): Do not allow spurious
33088 underflow exception. Add more tests.
33089 (yn_test_data): Add more tests.
33090 * sysdeps/i386/fpu/libm-test-ulps: Update.
33091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33092
33093 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33094
33095 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33096
33097 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33098
33099 * csu/init-first.c: Fix then/than typos.
33100 * locale/programs/ld-collate.c: Likewise.
33101 * locale/programs/linereader.h: Likewise.
33102 * manual/charset.texi: Likewise.
33103 * manual/filesys.texi: Likewise.
33104 * manual/stdio.texi: Likewise.
33105 * manual/string.texi: Likewise.
33106 * stdlib/fmtmsg.c: Likewise.
33107 * sysdeps/i386/stpncpy.S: Likewise.
33108 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33109 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33110 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33111 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33112
33113 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33114
33115 * elf/dl-open.c: Fix typos.
33116 * iconvdata/gbbig5.c: Likewise.
33117 * iconvdata/iso-2022-jp.c: Likewise.
33118 * iconv/gconv_int.h: Likewise.
33119 * iconv/loop.c: Likewise.
33120 * nis/rpcsvc/nis.h: Likewise.
33121 * resolv/ns_name.c: Likewise.
33122 * stdio-common/vfscanf.c: Likewise.
33123 * streams/stropts.h: Likewise.
33124 * sunrpc/rpc_thread.c: Likewise.
33125 * sysdeps/i386/strpbrk.S: Likewise.
33126 * sysdeps/ieee754/k_standard.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33129 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33130 * sysdeps/mach/hurd/profil.c: Likewise.
33131 * sysdeps/s390/dl-procinfo.h: Likewise.
33132 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33133 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33134 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33135 * sysdeps/x86_64/dl-trampoline.S: Likewise.
33136 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33137
33138 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33139
33140 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33141 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33142
33143 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33144
33145 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33146 aix specific files.
33147 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33148 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33149 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33150 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33151 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33152 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33153 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33154 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33155
33156 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33157 Roland McGrath <roland@hack.frob.com>
33158
33159 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33160 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33161
33162 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
33163
33164 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33165 __executable_start symbol instead of _start.
33166
33167 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33168
33169 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33170 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33171 Move macros to...
33172 * sysdeps/gnu/ldsodefs.h: ... this new file.
33173
33174 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33175 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33176 instead of ELFOSABI_LINUX.
33177
33178 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33179 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33180 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33181 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33182 Likewise.
33183 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33184 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33185 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33186 Likewise.
33187 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33188 (ibm_extended_long_double): Add ieee_nan member.
33189 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33190 (do_test): New function.
33191
33192 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33193 TEST_TRUNC.
33194 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33195 functions, renamed from truncdfsf_test, trunctfsf_test,
33196 trunctfdf_test.
33197 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33198 functions.
33199 (do_test): Run all these.
33200
33201 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33202
33203 * argp/argp-help.c: Fix typos.
33204 * argp/argp-parse.c: Likewise.
33205 * debug/backtracesyms.c: Likewise.
33206 * elf/elf.h: Likewise.
33207 * malloc/malloc.c: Likewise.
33208 * nis/nis_print.c: Likewise.
33209 * resolv/res_comp.c: Likewise.
33210 * stdlib/stdlib.h: Likewise.
33211 * sunrpc/clnt_tcp.c: Likewise.
33212 * sunrpc/clnt_udp.c: Likewise.
33213 * sunrpc/clnt_unix.c: Likewise.
33214 * sysdeps/unix/bsd/ptsname.c: Likewise.
33215 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33216 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33218 Likewise.
33219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33220 Likewise.
33221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33222 Likewise.
33223 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33224
33225 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33226
33227 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33229
33230 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33231
33232 [BZ #15897]
33233 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33234 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33235 ($(objpfx)bug-dl-leaf): New rule.
33236 ($(objpfx)bug-dl-leaf.so): Likewise.
33237 ($(objpfx)bug-dl-leaf.out): Likewise.
33238 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33239 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33240 * dlfcn/bug-dl-leaf.c: New test.
33241 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33242 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33243 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33244 (dlclose): Likewise.
33245 (dlmopen): Likewise.
33246
33247 2013-08-27 Roland McGrath <roland@hack.frob.com>
33248
33249 * include/netdb.h [!_ISOMAC]:
33250 Don't include <tls.h>.
33251 (h_errno, __libc_h_errno): Move declaration and macros out of
33252 [_LIBC_REENTRANT].
33253
33254 * include/resolv.h [_RESOLV_H_]:
33255 Don't include <tls.h>.
33256 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33257 * resolv/res_libc.c: Don't include <tls.h>.
33258 (_res): Use __attribute__ ((nocommon)) in place of
33259 __attribute__ ((section (".bss"))).
33260
33261 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33262 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33263
33264 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33265
33266 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33267 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33268
33269 * resolv/res_mkquery.c: Include <sys/time.h>.
33270
33271 * inet/ifreq.c: Moved to ...
33272 * sysdeps/unix/ifreq.c: ... here.
33273 * inet/ifreq.c: New file, true stub version.
33274
33275 * socket/sa_len.c: New file.
33276 * socket/Makefile (aux): Add it.
33277 * sysdeps/unix/sysv/linux/Makefile
33278 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33279 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33280 and #include <socket/sa_len.c>.
33281 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33282 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33283
33284 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33285 * bits/socket.h: ... here.
33286
33287 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33288 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33289 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33290
33291 2013-08-27 Andreas Schwab <schwab@suse.de>
33292
33293 [BZ #15736]
33294 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33295 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33296 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33297 * string/test-strcasecmp.c (test_main): Run tests in several
33298 locales.
33299 * string/test-strncasecmp.c (test_main): Likewise.
33300
33301 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33302 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33303 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33305 (__strncasecmp_ssse3) [PIC]: Likewise.
33306
33307 2013-08-26 Roland McGrath <roland@hack.frob.com>
33308
33309 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33310
33311 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33312 instead of explicitly declaring xdecrypt.
33313 * nis/nss_nis/nis-publickey.c: Likewise.
33314
33315 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33316
33317 [BZ #15890]
33318 * nscd/aicache.c: Include res_hconf.h.
33319 (addhstaiX): Initialize res_hconf.
33320
33321 2013-08-26 Andreas Schwab <schwab@suse.de>
33322
33323 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33324 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33325
33326 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33327
33328 * nscd/aicache.c (addhstaiX): Fix indentation.
33329
33330 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33331
33332 * configure.ac: Quote $build_pt_chown test.
33333 * configure: Regenerated.
33334
33335 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33336
33337 [BZ #15532]
33338 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33339 * math/s_cexpf.c (__cexpf): Likewise.
33340 * math/s_cexpl.c (__cexpl): Likewise.
33341 * math/libm-test.inc (cexp_test_data): Correct expected return
33342 value for NaN + i0. Add another test.
33343
33344 2013-08-22 David S. Miller <davem@davemloft.net>
33345
33346 * po/ca.po: Update Catalan translation from translation project.
33347 * po/uk.po: Add Ukrainian translations from translation project.
33348
33349 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33350
33351 [BZ #15797]
33352 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33353 is infinite, not alongside NaN test.
33354 * math/s_fdimf.c (__fdimf): Likewise.
33355 * math/s_fdiml.c (__fdiml): Likewise.
33356 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33357 errno is unchanged.
33358
33359 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33360
33361 * argp/argp-help.c: Fix typos.
33362 * crypt/speeds.c: Likewise.
33363 * csu/check_fds.c: Likewise.
33364 * elf/dl-load.c: Likewise.
33365 * elf/dl-open.c: Likewise.
33366 * elf/reldep3.c: Likewise.
33367 * elf/reldep.c: Likewise.
33368 * elf/sprof.c: Likewise.
33369 * iconv/iconv_charmap.c: Likewise.
33370 * iconv/skeleton.c: Likewise.
33371 * iconv/strtab.c: Likewise.
33372 * io/lockf64.c: Likewise.
33373 * libio/libioP.h: Likewise.
33374 * resolv/gai_notify.c: Likewise.
33375 * resolv/ns_name.c: Likewise.
33376 * resolv/ns_samedomain.c: Likewise.
33377 * resolv/res_send.c: Likewise.
33378 * stdlib/random.c: Likewise.
33379 * sunrpc/rpc/xdr.h: Likewise.
33380 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33381 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33382 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33383 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33384 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33385 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33387 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33388 * sysdeps/mach/hurd/check_fds.c: Likewise.
33389 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33390 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33391 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33392 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33393 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33394 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33395 * sysdeps/pthread/aio_notify.c: Likewise.
33396 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33397 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33398 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33399 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33400 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33401
33402 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33403
33404 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33405 version if bit_Slow_SSE4_2 is set.
33406 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33407 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33408
33409 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33410
33411 [BZ #15867]
33412 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33413 trampoline stack frame information.
33414 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33415 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33416 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33417 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33418 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33419 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33420 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33421 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33422 sa_flags value.
33423 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33424 interrupting a syscall and set with option SA_SIGINFO.
33425
33426 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33427
33428 [BZ #15531]
33429 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33430 argument is infinite.
33431 * math/s_cprojf.c (__cprojf): Likewise.
33432 * math/s_cprojl.c (__cprojl): Likewise.
33433 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33434 * math/libm-test.inc (cproj_test_data): Add more tests.
33435
33436 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33437
33438 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33439 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33440 size. Use __ffs to determine corresponding shift.
33441
33442 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33443 Roland McGrath <roland@hack.frob.com>
33444
33445 * Makefile (INSTALL): Remove trailing blank lines from output of
33446 makeinfo.
33447
33448 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33449
33450 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33451 Align 32 bit compat elf_greg to 8 bytes.
33452
33453 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33454
33455 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33456
33457 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33458
33459 * string/strcoll_l.c (coll_seq): New structure.
33460 (get_next_seq_cached): New function.
33461 (get_next_seq): New function.
33462 (do_compare): New function.
33463 (STRCOLL): Use GNU style definition. Simplify implementation
33464 by using get_next_seq, get_next_seq_cached and do_compare.
33465
33466 2013-08-16 Florian Weimer <fweimer@redhat.com>
33467
33468 [BZ #14699]
33469 CVE-2013-4237
33470 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33471 member.
33472 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33473 member.
33474 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33475 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33476 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33477 conditional.
33478 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33479 GETDENTS_64BIT_ALIGNED.
33480 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33481 * manual/filesys.texi (Reading/Closing Directory): Document
33482 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33483 strongly.
33484 * manual/conf.texi (Limits for Files): Add portability note to
33485 NAME_MAX, PATH_MAX.
33486 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33487
33488 2013-08-13 Andreas Schwab <schwab@suse.de>
33489
33490 [BZ #15749]
33491 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33492 of fabs.
33493 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33494 LDBL_MAX_EXP >= 16384]: Add tests for it.
33495
33496 2013-08-12 David S. Miller <davem@davemloft.net>
33497
33498 * version.h (RELEASE): Set to "development".
33499 (VERSION): Set to "2.18.90".
33500 * NEWS: Add 2.19 section.
33501
33502 2013-08-03 David S. Miller <davem@davemloft.net>
33503
33504 * po/ko.po: Update Korean translation from translation project.
33505
33506 2013-08-01 David S. Miller <davem@davemloft.net>
33507
33508 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33509 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33510 Bilka.
33511
33512 2013-07-30 David S. Miller <davem@davemloft.net>
33513
33514 * po/fr.po: Update French translation from translation project.
33515
33516 2013-07-28 David S. Miller <davem@davemloft.net>
33517
33518 * po/cs.po: Update Czech translation from translation project.
33519
33520 * po/sv.po: Update Swedish translation from translation project.
33521
33522 2013-07-27 David S. Miller <davem@davemloft.net>
33523
33524 * po/eo.po: Update Esperanto translation from translation project.
33525
33526 * po/vi.po: Update Vietnamese translation from translation project.
33527
33528 * po/de.po: Update German translation from translation project.
33529
33530 2013-07-26 David S. Miller <davem@davemloft.net>
33531
33532 * po/bg.po: Update Bulgarian translation from translation project.
33533
33534 * po/nl.po: Update Dutch translation from translation project.
33535 * po/pl.po: Update Polish translation from translation project.
33536 * po/ru.po: Update Russian translation from translation project.
33537
33538 2013-07-24 David S. Miller <davem@davemloft.net>
33539
33540 * po/libc.pot: Update.
33541
33542 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33543
33544 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33545 variable page size.
33546 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33547 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33548 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33549
33550 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33551
33552 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33553
33554 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33555 Andreas Schwab <schwab@suse.de>
33556 Roland McGrath <roland@hack.frob.com>
33557 Joseph Myers <joseph@codesourcery.com>
33558 Carlos O'Donell <carlos@redhat.com>
33559
33560 [BZ #15755]
33561 * config.h.in: Define HAVE_PT_CHOWN.
33562 * config.make.in (build-pt-chown): New variable.
33563 * configure.in (--enable-pt_chown): New configure option.
33564 * configure: Regenerate.
33565 * login/Makefile: Include Makeconfig. Build pt_chown only if
33566 build-pt-chown is enabled.
33567 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33568 pt_chown to fix pty ownership.
33569 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33570 CLOSE_ALL_FDS.
33571 * manual/install.texi (Configuring and compiling): Mention
33572 --enable-pt_chown. Add @findex for grantpt.
33573 * INSTALL: Regenerate.
33574
33575 2013-07-20 David S. Miller <davem@davemloft.net>
33576
33577 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33578 difference between 32-bit and 64-bit.
33579
33580 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33581
33582 [BZ #15711]
33583 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33584 Avoid system header dependency with -ffreestanding.
33585 ($(objpfx)bits/syscall%d): Likewise.
33586
33587 2013-07-13 David S. Miller <davem@davemloft.net>
33588
33589 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33590 underflows from atanl/atan2l due to bug 15319.
33591 (casinh_test_data): Likewise.
33592
33593 2013-07-07 David S. Miller <davem@davemloft.net>
33594
33595 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33596
33597 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33598
33599 * sysdeps/i386/fpu/libm-test-ulps: Update.
33600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33601
33602 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33603
33604 * configure.in (--enable-lock-elision): Fix message text.
33605 * INSTALL: Regenerate.
33606 * configure: Regenerate.
33607
33608 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33609
33610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33611
33612 2013-07-03 Andreas Jaeger <aj@suse.de>
33613
33614 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33615 define.
33616 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33617 (ptrace_peeksiginfo_args): Add.
33618 (__ptrace_peeksiginfo_flags): Add.
33619 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33620 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33621 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33622
33623 2013-07-03 Allan McRae <allan@archlinux.org>
33624
33625 * sysdeps/i386/fpu/libm-test-ulps: Update.
33626
33627 2013-07-02 David S. Miller <davem@davemloft.net>
33628
33629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33630
33631 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33632
33633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33634
33635 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33636
33637 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33639
33640 2013-07-02 Andi Kleen <ak@linux.intel.com>
33641
33642 * config.h.in (ENABLE_LOCK_ELISION): Add.
33643 * configure.in (--enable-lock-elision): Add option.
33644 * manual/install.texi: Document --enable lock elision.
33645 * configure: Regenerate
33646 * INSTALL: Regenerate.
33647
33648 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33649
33650 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33651 SSE4.2 strcasecmp for libc.a.
33652 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33653
33654 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33655
33656 [BZ #13304]
33657 * soft-fp/op-common.h (_FP_FMA): New macro.
33658 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33659 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33660 (_FP_MUL_MEAT_1_imm): ... here.
33661 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33662 (_FP_MUL_MEAT_1_wide): ... here.
33663 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33664 (_FP_MUL_MEAT_1_hard): ... here.
33665 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33666 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33667 (_FP_MUL_MEAT_2_wide): ... here.
33668 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33669 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33670 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33671 (_FP_MUL_MEAT_2_gmp): ... here.
33672 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33673 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33674 (_FP_MUL_MEAT_4_wide): ... here.
33675 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33676 (_FP_MUL_MEAT_4_gmp): ... here.
33677 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33678 (_FP_WFRACBITS_DW_S): Likewise.
33679 (_FP_WFRACXBITS_DW_S): Likewise.
33680 (_FP_HIGHBIT_DW_S): Likewise.
33681 (FP_FMA_S): Likewise.
33682 (_FP_FRAC_HIGH_DW_S): Likewise.
33683 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33684 (_FP_WFRACBITS_DW_D): Likewise.
33685 (_FP_WFRACXBITS_DW_D): Likewise.
33686 (_FP_HIGHBIT_DW_D): Likewise.
33687 (FP_FMA_D): Likewise.
33688 (_FP_FRAC_HIGH_DW_D): Likewise.
33689 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33690 (_FP_WFRACBITS_DW_E): Likewise.
33691 (_FP_WFRACXBITS_DW_E): Likewise.
33692 (_FP_HIGHBIT_DW_E): Likewise.
33693 (FP_FMA_E): Likewise.
33694 (_FP_FRAC_HIGH_DW_E): Likewise.
33695 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33696 (_FP_WFRACBITS_DW_Q): Likewise.
33697 (_FP_WFRACXBITS_DW_Q): Likewise.
33698 (_FP_HIGHBIT_DW_Q): Likewise.
33699 (FP_FMA_Q): Likewise.
33700 (_FP_FRAC_HIGH_DW_Q): Likewise.
33701 * soft-fp/fmasf4.c: New file.
33702 * soft-fp/fmadf4.c: Likewise.
33703 * soft-fp/fmatf4.c: Likewise.
33704
33705 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33706
33707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33708 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33709 Silvermont.
33710 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33711 macro.
33712 (index_Slow_SSE4_2): Likewise.
33713 (index_Prefer_PMINUB_for_stringop): Likewise.
33714 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33715 bit_Slow_SSE4_2 is set.
33716 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33717 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33718
33719 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33720
33721 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33722 rtld_global._dl_hwcap2.
33723 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33724 POWER8.
33725 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33726 POWER8 feature descriptions defined in _dl_hwcap2.
33727 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33728 string handling for POWER8 feature bits.
33729 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33730 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33731 _dl_powerpc_cap_flags.
33732 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33733 * sysdeps/powerpc/rtld-global-offsets.sym
33734 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33735 _dl_hwcap2 in the rtld_global_ro structure.
33736
33737 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33738
33739 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33740 hardware capabilities in support of AT_HWCAP2.
33741 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33742 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33743 GLRO(dl_hwcap2).
33744 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33745 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33746 explicitly the unknown a_type display mechanism is used.
33747 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33748 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33749 struct member.
33750 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33751 to macro prototype for AT_HWCAP2 support.
33752 * sysdeps/i386/dl-procinfo.h: Likewise.
33753 * sysdeps/s390/dl-procinfo.h: Likewise.
33754 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33755 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33756 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33757 return -1 for unknown a_type display fallback.
33758 * sysdeps/sparc/dl-procinfo.h: Likewise.
33759 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33760 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33761
33762 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33763
33764 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33765 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33766
33767 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33768
33769 [BZ #12492]
33770 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33771 mprotect making __stack_prot writable.
33772
33773 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33774 Joseph Myers <joseph@codesourcery.com>
33775
33776 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33777 as being properly aligned.
33778
33779 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33780
33781 * dlfcn/modstatic5.c: New file.
33782 * dlfcn/tststatic5.c: New file.
33783 * dlfcn/Makefile (tests): Add tststatic5.
33784 (tests-static): Likewise.
33785 (modules-names): Add modstatic5.
33786 (tststatic5-ENV): New variable.
33787 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33788
33789 [BZ #15022]
33790 * elf/dl-support.c (_dl_main_map): New variable.
33791 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33792 (_dl_nns, _dl_load_adds): Set to 1.
33793 (_dl_initial_searchlist): Refer to _dl_main_map.
33794 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33795 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33796 call to _dl_get_origin.
33797 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33798 around call_map.
33799 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33800 * dlfcn/modstatic3.c: New file.
33801 * dlfcn/tststatic3.c: New file.
33802 * dlfcn/tststatic4.c: New file.
33803 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33804 (tests-static): Likewise.
33805 (modules-names): Add modstatic3.
33806 (tststatic3-ENV, tststatic4-ENV): New variables.
33807 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33808 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33809
33810 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33811
33812 * configure.in (CC): Require GCC version 4.4 or later.
33813 * configure: Regenerated.
33814 * manual/install.texi (Tools for Compilation): Update GCC version
33815 requirement.
33816 * INSTALL: Regenerated.
33817
33818 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33819
33820 [BZ #15674]
33821 * string/test-memcmp.c (check2): New.
33822 (main): Call check2.
33823
33824 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33825
33826 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33827
33828 [BZ #15022]
33829 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33830 over to...
33831 (dl_open_worker) [!SHARED]: ... here.
33832
33833 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33834
33835 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33836
33837 2013-06-25 Richard Henderson <rth@redhat.com>
33838
33839 * locale/programs/locarchive.c: Include <libc-internal.h>
33840
33841 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33842
33843 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33844 trailing whitespace removed.
33845
33846 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33847
33848 [BZ #10283]
33849 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33850 * locale/programs/locarchive.c: Include libc-mmap.h.
33851 (prepare_address_space): Take two new outputs (the mmap base and len).
33852 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33853 values.
33854 (create_archive): Declare new mmap base and len values for
33855 prepare_address_space, and store the result in ah.
33856 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33857 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33858 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33859 Declare new mmap base and len values for
33860 prepare_address_space, and store the result in new_ah.
33861 (open_archive): Declare new mmap base and len values for
33862 prepare_address_space, and store the result in ah.
33863 (close_archive): If ah->mmap_base is not NULL, use that and
33864 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33865 * sysdeps/generic/libc-mmap.h: New file.
33866
33867 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33868
33869 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33870 (ALIGN_UP): Likewise.
33871 (PTR_ALIGN_DOWN): Likewise.
33872 (PTR_ALIGN_UP): Likewise.
33873
33874 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33875
33876 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33877 entry mapped to PPC_PLATFORM_POWER8.
33878 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33879 POWER8.
33880 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33881 (_dl_string_platform): Add case for exporting platform position for
33882 POWER8.
33883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33884 search path to sysdeps/powerpc/powerpc32/power8 directory.
33885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33886 search path to sysdeps/powerpc/powerpc64/power8 directory.
33887 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33888 power7 directories.
33889 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33890 power7 directories.
33891
33892 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33893
33894 * INSTALL: Regenerate.
33895
33896 * nscd/connections.c (nscd_init): Fix comment.
33897
33898 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33899
33900 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33901
33902 [BZ #15667]
33903 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33904 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33905
33906 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33907
33908 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33909 DL_DST_REQ_STATIC.
33910 (DL_DST_REQ_STATIC): Remove macro.
33911
33912 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33913
33914 [BZ #7006]
33915 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33916 with a shift of 0 bits.
33917
33918 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33919
33920 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33921 $(tststatic-ENV).
33922
33923 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33924
33925 [BZ #15655]
33926 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33927
33928 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33929
33930 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33931 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33932 accepts -fno-tree-loop-distribute-patterns.
33933 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33934 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33935 recursive call.
33936 * string/memset.c (memset): Likewise.
33937 * string/test-memmove.c (simple_memmove): Disable loop transformation
33938 to library calls.
33939 * string/test-memset.c (simple_memset): Likewise.
33940 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33941 * benchtests/bench-memset.c (simple_memset): Likewise.
33942 * configure: Regenerated.
33943
33944 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33945
33946 * math/test-misc.c (main): Ignore fesetround failure when failures
33947 of subsequent rounding tests would be ignored.
33948
33949 [BZ #15654]
33950 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33951 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33952 * math/fegetenv.c (__fegetenv): Return 0.
33953 * math/fegetexcept.c (fegetexcept): Return 0.
33954 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33955 FE_TONEAREST.
33956 * math/feholdexcpt.c (feholdexcept): Return 0.
33957 * math/fesetenv.c (__fesetenv): Return 0.
33958 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33959 argument FE_TONEAREST.
33960 * math/feupdateenv.c (__feupdateenv): Return 0.
33961 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33962
33963 2013-06-18 Roland McGrath <roland@hack.frob.com>
33964
33965 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33966 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33967 ($(objpfx)rtld-%.os rules): Use them.
33968
33969 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33970
33971 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33972 fields.
33973
33974 2013-06-17 Roland McGrath <roland@hack.frob.com>
33975
33976 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33977 length of target pattern, then descending length of dependency pattern.
33978 * configure.in (AWK): Require gawk 3.1.2 or newer.
33979 * manual/install.texi (Tools for Compilation): Say that we do.
33980 * configure: Regenerated.
33981
33982 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33983 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33984 * scripts/sysd-rules.awk: ... this new script.
33985 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33986 than a glob-style pattern.
33987
33988 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33989
33990 * math/test-misc.c (main): Do not treat incorrectly rounded
33991 conversions as failure unless ROUNDING_TESTS passes.
33992
33993 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33994
33995 [BZ #15631]
33996 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33997 restore exception state around main square root computation, then
33998 check for inexactness explicitly.
33999
34000 * math/libm-test.inc (fma_test_data): Add another test.
34001
34002 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34003
34004 * manual/threads.texi (Non-POSIX Extensions): New document
34005 node. Document pthread_getattr_default_np and
34006 pthread_setattr_default_np.
34007
34008 * Versions.def (libpthread): Add GLIBC_2.18.
34009 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34011 Likewise.
34012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34013 Likewise.
34014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34015 Likewise.
34016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34017 Likewise.
34018 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34019 Likewise.
34020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34021 Likewise.
34022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34023 Likewise.
34024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34025 Likewise.
34026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34027 Likewise.
34028
34029 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34030
34031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34032 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34033
34034 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34035 H.J. Lu <hjl.tools@gmail.com>
34036
34037 [BZ #15627]
34038 * sysdeps/x86_64/rtld-memset.c: Remove file.
34039 * sysdeps/x86_64/rtld-memset.S: New file.
34040
34041 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34042
34043 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34044 (test_in_one_mode): Take arguments for whether the rounding mode
34045 is supported for each floating-point type.
34046 (do_test): Pass new arguments to test_in_one_mode using
34047 ROUNDING_TESTS.
34048
34049 2013-06-13 Roland McGrath <roland@hack.frob.com>
34050
34051 * posix/tst-waitid.c (do_test): Distinguish different instances of
34052 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34053 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34054 before entering the kernel for waitpid.
34055
34056 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34057
34058 * NEWS: Fix note on clock function precision. Text by Roland
34059 McGrath.
34060
34061 2013-06-13 Roland McGrath <roland@hack.frob.com>
34062
34063 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34064 it into place only when and if the sanity check passes.
34065
34066 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34067
34068 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34069 output for whether conversion result is exact. Take argument
34070 indicating whether type is IBM long double.
34071 (round_for_all): Change need_exact field to ibm_ld.
34072 * stdlib/tst-strtod-round.c (struct exactness): New type.
34073 (struct test): Change bool ld_ok field to struct exactness exact.
34074 (TEST): Update all definitions for change to field.
34075 (tests): Regenerate array contents.
34076 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34077 field value. Check for IBM long double here.
34078 (do_test): Update calls to test_in_one_mode.
34079
34080 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34081
34082 [BZ #12515]
34083 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34084 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34085
34086 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34087
34088 [BZ #15605]
34089 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34090 generated by the compiler on loop optimizations.
34091 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34092 general definitions.
34093
34094 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34095
34096 * math/bug-nextafter.c: Include <math-tests.h>.
34097 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34098 the relevant type.
34099 * math/bug-nexttoward.c: Include <math-tests.h>.
34100 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34101 the relevant type.
34102 * math/test-misc.c: Include <math-tests.h>.
34103 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34104 the relevant type.
34105
34106 2013-06-12 Andreas Jaeger <aj@suse.de>
34107
34108 * po/ia.po: Update Interlingua translation from translation
34109 project.
34110
34111 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34112
34113 * include/fenv.h: Include stdbool.h.
34114 (struct rm_ctx): New structure.
34115 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34116 Define macro.
34117 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34118 (SET_RESTORE_ROUNDF): Likewise.
34119 (SET_RESTORE_ROUNDL): Likewise.
34120 (SET_RESTORE_ROUND_NOEX): Likewise.
34121 (SET_RESTORE_ROUND_NOEXF): Likewise.
34122 (SET_RESTORE_ROUND_NOEXL): Likewise.
34123 (SET_RESTORE_ROUND_53BIT): Likewise.
34124 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34125 (libc_feresetround_noexf_ctx): Likewise.
34126 (libc_feresetround_noexl_ctx): Likewise.
34127 (libc_feholdsetround_53bit_ctx): Likewise.
34128 (libc_feresetround_53bit_ctx): Likewise.
34129 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34130 (libc_feholdexcept_setround_sse_ctx): New function.
34131 (libc_fesetenv_sse_ctx): Likewise.
34132 (libc_feupdateenv_sse_ctx): Likewise.
34133 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34134 (libc_feholdexcept_setround_387_ctx): Likewise.
34135 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34136 (libc_feholdsetround_387_prec_ctx): Likewise.
34137 (libc_feholdsetround_387_ctx): Likewise.
34138 (libc_feholdsetround_387_53bit_ctx): Likewise.
34139 (libc_feholdsetround_sse_ctx): Likewise.
34140 (libc_feresetround_sse_ctx): Likewise.
34141 (libc_feresetround_387_ctx): Likewise.
34142 (libc_feupdateenv_387_ctx): Likewise.
34143 (libc_feholdexcept_setroundf_ctx): Define macro.
34144 (libc_fesetenvf_ctx): Likewise.
34145 (libc_feupdateenvf_ctx): Likewise.
34146 (libc_feholdsetroundf_ctx): Likewise.
34147 (libc_feresetroundf_ctx): Likewise.
34148 (libc_feholdexcept_setround_ctx): Likewise.
34149 (libc_fesetenv_ctx): Likewise.
34150 (libc_feupdateenv_ctx): Likewise.
34151 (libc_feholdsetround_ctx): Likewise.
34152 (libc_feresetround_ctx): Likewise.
34153 (libc_feholdexcept_setroundl_ctx): Likewise.
34154 (libc_feupdateenvl_ctx): Likewise.
34155 (libc_feholdsetroundl_ctx): Likewise.
34156 (libc_feresetroundl_ctx): Likewise.
34157 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34158 (libc_feresetround_53bit_ctx): Likewise.
34159
34160 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34161
34162 * locale/iso-639.def: Convert to UTF-8.
34163
34164 2013-06-11 Joseph Myers <joseph@codesourcery.com>
34165
34166 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34167 (EXCEPTION_TESTS_double): Likewise.
34168 (EXCEPTION_TESTS_long_double): Likewise.
34169 (EXCEPTION_TESTS): Likewise.
34170 * math/libm-test.inc (test_exceptions): Only test exceptions if
34171 EXCEPTION_TESTS (FLOAT).
34172
34173 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34174
34175 * benchtests/Makefile (string-bench): Add strcpy_chk and
34176 stpcpy_chk.
34177 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34178 * benchtests/bench-stpcpy_chk.c: New file.
34179 * benchtests/bench-strcpy_chk-ifunc.c: New file.
34180 * benchtests/bench-strcpy_chk.c: New file.
34181 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34182 code.
34183 (do_test): Likewise.
34184
34185 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34186
34187 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34188 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34189 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34190 with tabs where appropriate.
34191 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34192 dl-procinfo.h.
34193 [PPC_PLATFORM_PPC440]: Likewise.
34194 [PPC_PLATFORM_PPC464]: Likewise.
34195 [PPC_PLATFORM_PPC476]: Likewise.
34196 (_dl_string_platform): Add support for detecting ppc405, ppc440,
34197 ppc464, and ppc476 platform strings merging from ports/
34198 dl-procinfo.h.
34199
34200 2013-06-11 Andreas Schwab <schwab@suse.de>
34201
34202 [BZ #14991]
34203 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34204 (from_ucs4_idx): Regenerate.
34205 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34206 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34207 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34208 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34209 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34210 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34211 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34212 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34213 from FROM_LOOP and TO_LOOP specific macros.
34214 (BODY): Handle combining characters.
34215 * iconvdata/BIG5HKSCS.irreversible: Update.
34216 * iconvdata/BIG5HKSCS.precomposed: New file.
34217 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34218 characters.
34219 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34220
34221 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34222
34223 * include/sys/time.h: Fix indentation and add copyright header.
34224
34225 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34226 (do_test): Likewise.
34227 * string/test-memchr.c (do_one_test): Likewise.
34228 (do_test): Likewise.
34229 * string/test-memcmp.c (do_one_test): Likewise.
34230 (do_test): Likewise.
34231 * string/test-memcpy.c (do_one_test): Likewise.
34232 (do_test): Likewise.
34233 * string/test-memmem.c (do_one_test): Likewise.
34234 (do_test): Likewise.
34235 (do_random_tests): Likewise.
34236 * string/test-memmove.c (do_one_test): Likewise.
34237 (do_test): Likewise.
34238 * string/test-memset.c (do_one_test): Likewise.
34239 (do_test): Likewise.
34240 * string/test-rawmemchr.c (do_one_test): Likewise.
34241 (do_test): Likewise.
34242 * string/test-strcasecmp.c (do_one_test): Likewise.
34243 (do_test): Likewise.
34244 * string/test-strcasestr.c (do_one_test): Likewise.
34245 (do_test): Likewise.
34246 * string/test-strcat.c (do_one_test): Likewise.
34247 (do_test): Likewise.
34248 * string/test-strchr.c (do_one_test): Likewise.
34249 (do_test): Likewise.
34250 * string/test-strcmp.c (do_one_test): Likewise.
34251 (do_test): Likewise.
34252 * string/test-strcpy.c (do_one_test): Likewise.
34253 (do_test): Likewise.
34254 * string/test-string.h: Likewise.
34255 (test_init): Likewise.
34256 * string/test-strlen.c (do_one_test): Likewise.
34257 (do_test): Likewise.
34258 * string/test-strncasecmp.c (do_one_test): Likewise.
34259 (do_test): Likewise.
34260 * string/test-strncat.c (do_one_test): Likewise.
34261 (do_test): Likewise.
34262 * string/test-strncmp.c (do_one_test): Likewise.
34263 (do_test_limit): Likewise.
34264 (do_test): Likewise.
34265 * string/test-strncpy.c (do_one_test): Likewise.
34266 (do_test): Likewise.
34267 * string/test-strnlen.c (do_one_test): Likewise.
34268 (do_test): Likewise.
34269 * string/test-strpbrk.c (do_one_test): Likewise.
34270 (do_test): Likewise.
34271 * string/test-strrchr.c (do_one_test): Likewise.
34272 (do_test): Likewise.
34273 * string/test-strspn.c (do_one_test): Likewise.
34274 (do_test): Likewise.
34275 * string/test-strstr.c (do_one_test): Likewise.
34276 (do_test): Likewise.
34277
34278 * benchtests/Makefile (string-bench): Add string benchmarks.
34279 * benchtests/bench-bcopy-ifunc.c: New file.
34280 * benchtests/bench-bcopy.c: New file.
34281 * benchtests/bench-bzero-ifunc.c: New file.
34282 * benchtests/bench-bzero.c: New file.
34283 * benchtests/bench-memccpy-ifunc.c: New file.
34284 * benchtests/bench-memccpy.c: New file.
34285 * benchtests/bench-memchr-ifunc.c: New file.
34286 * benchtests/bench-memchr.c: New file.
34287 * benchtests/bench-memcmp-ifunc.c: New file.
34288 * benchtests/bench-memcmp.c: New file.
34289 * benchtests/bench-memmem-ifunc.c: New file.
34290 * benchtests/bench-memmem.c: New file.
34291 * benchtests/bench-memmove-ifunc.c: New file.
34292 * benchtests/bench-memmove.c: New file.
34293 * benchtests/bench-mempcpy-ifunc.c: New file.
34294 * benchtests/bench-mempcpy.c: New file.
34295 * benchtests/bench-memset-ifunc.c: New file.
34296 * benchtests/bench-memset.c: New file.
34297 * benchtests/bench-rawmemchr-ifunc.c: New file.
34298 * benchtests/bench-rawmemchr.c: New file.
34299 * benchtests/bench-stpcpy-ifunc.c: New file.
34300 * benchtests/bench-stpcpy.c: New file.
34301 * benchtests/bench-stpncpy-ifunc.c: New file.
34302 * benchtests/bench-stpncpy.c: New file.
34303 * benchtests/bench-strcasecmp-ifunc.c: New file.
34304 * benchtests/bench-strcasecmp.c: New file.
34305 * benchtests/bench-strcasestr-ifunc.c: New file.
34306 * benchtests/bench-strcasestr.c: New file.
34307 * benchtests/bench-strcat-ifunc.c: New file.
34308 * benchtests/bench-strcat.c: New file.
34309 * benchtests/bench-strchr-ifunc.c: New file.
34310 * benchtests/bench-strchr.c: New file.
34311 * benchtests/bench-strchrnul-ifunc.c: New file.
34312 * benchtests/bench-strchrnul.c: New file.
34313 * benchtests/bench-strcmp-ifunc.c: New file.
34314 * benchtests/bench-strcmp.c: New file.
34315 * benchtests/bench-strcpy-ifunc.c: New file.
34316 * benchtests/bench-strcpy.c: New file.
34317 * benchtests/bench-strcspn-ifunc.c: New file.
34318 * benchtests/bench-strcspn.c: New file.
34319 * benchtests/bench-strlen-ifunc.c: New file.
34320 * benchtests/bench-strlen.c: New file.
34321 * benchtests/bench-strncasecmp-ifunc.c: New file.
34322 * benchtests/bench-strncasecmp.c: New file.
34323 * benchtests/bench-strncat-ifunc.c: New file.
34324 * benchtests/bench-strncat.c: New file.
34325 * benchtests/bench-strncmp-ifunc.c: New file.
34326 * benchtests/bench-strncmp.c: New file.
34327 * benchtests/bench-strncpy-ifunc.c: New file.
34328 * benchtests/bench-strncpy.c: New file.
34329 * benchtests/bench-strnlen-ifunc.c: New file.
34330 * benchtests/bench-strnlen.c: New file.
34331 * benchtests/bench-strpbrk-ifunc.c: New file.
34332 * benchtests/bench-strpbrk.c: New file.
34333 * benchtests/bench-strrchr-ifunc.c: New file.
34334 * benchtests/bench-strrchr.c: New file.
34335 * benchtests/bench-strspn-ifunc.c: New file.
34336 * benchtests/bench-strspn.c: New file.
34337 * benchtests/bench-strstr-ifunc.c: New file.
34338 * benchtests/bench-strstr.c: New file.
34339
34340 * benchtests/Makefile: Disable parallel execution of targets.
34341 (string-bench): Add memcpy.
34342 (benchset): New variable to store a list of benchmark sets.
34343 (bench-func): Renamed from bench.
34344 (bench-set): New target.
34345 (bench): Depend on bench-func and bench-set.
34346 * benchtests/README: Add section on benchmark sets.
34347 * benchtests/bench-memcpy-ifunc.c: New file.
34348 * benchtests/bench-memcpy.c: New file.
34349 * benchtests/bench-string.h: New file.
34350
34351 2013-06-11 Andreas Schwab <schwab@suse.de>
34352
34353 [BZ #15577]
34354 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34355 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34356 values in the triple.
34357 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34358 terminator in the group key.
34359
34360 2013-06-11 Andreas Jaeger <aj@suse.de>
34361
34362 * po/zh_TW.po: Update Chinese (traditional) translation from
34363 translation project.
34364
34365 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34366
34367 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34368 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34369 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34370 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34371 (clock_getcpuclockid): Likewise.
34372 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34373 Add weak_alias and libc_hidden_def.
34374 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34375 * rt/clock_gettime.c (clock_gettime): Rename to
34376 __clock_gettime. Add weak_alias and libc_hidden_def.
34377 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34378 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34379 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34380 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34381 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34382 Likewise.
34383 * rt/clock_settime.c (clock_settime): Rename to
34384 __clock_settime. Add weak_alias and libc_hidden_def.
34385 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34386
34387 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34388
34389 * mach/err_boot.sub: Remove trailing whitespace.
34390 * mach/err_ipc.sub: Likewise.
34391 * mach/err_mach.sub: Likewise.
34392
34393 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34394 (ROUNDING_TESTS_double): Likewise.
34395 (ROUNDING_TESTS_long_double): Likewise.
34396 (ROUNDING_TESTS): Likewise.
34397 * math/libm-test.inc: Include <math-tests.h>.
34398 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34399 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34400 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34401 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34402
34403 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34404
34405 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34406 of assigning.
34407
34408 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34409
34410 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34411 otherwise empty TRANS lines.
34412 * sysdeps/gnu/errlist.c: Regenerated.
34413
34414 * catgets/gencat.c (error_print): Use (void) in function
34415 definition.
34416 * crypt/crypt_util.c (__init_des): Likewise.
34417 * crypt/speeds.c (Stop): Likewise.
34418 (main): Likewise.
34419 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34420 * inet/ruserpass.c (token): Likewise.
34421 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34422 * intl/localealias.c (extend_alias_table): Likewise.
34423 * intl/plural-exp.c (init_germanic_plural): Likewise.
34424 * libio/fcloseall.c (__fcloseall): Likewise.
34425 * libio/genops.c (_IO_flush_all): Likewise.
34426 (_IO_flush_all_linebuffered): Likewise.
34427 (_IO_cleanup): Likewise.
34428 (_IO_iter_begin): Likewise.
34429 (_IO_iter_end): Likewise.
34430 (_IO_list_lock): Likewise.
34431 (_IO_list_unlock): Likewise.
34432 (_IO_list_resetlock): Likewise.
34433 * libio/getchar.c (getchar): Likewise.
34434 * libio/getchar_u.c (getchar_unlocked): Likewise.
34435 * libio/getwchar.c (getwchar): Likewise.
34436 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34437 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34438 * login/getpt.c (__getpt): Likewise.
34439 * login/tst-utmp.c (main): Likewise.
34440 * malloc/hooks.c (__malloc_check_init): Likewise.
34441 * malloc/malloc.c (__malloc_stats): Likewise.
34442 * malloc/mtrace.c (tr_break): Likewise.
34443 (mtrace): Likewise.
34444 (muntrace): Likewise.
34445 * misc/fstab.c (endfsent): Likewise.
34446 * misc/getclktck.c (__getclktck): Likewise.
34447 * misc/getdtsz.c (__getdtablesize): Likewise.
34448 * misc/gethostid.c (gethostid): Likewise.
34449 * misc/getpagesize.c (__getpagesize): Likewise.
34450 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34451 (__get_nprocs): Likewise.
34452 (__get_phys_pages): Likewise.
34453 (__get_avphys_pages): Likewise.
34454 * misc/getttyent.c (getttyent): Likewise.
34455 (setttyent): Likewise.
34456 (endttyent): Likewise.
34457 * misc/getusershell.c (getusershell): Likewise.
34458 (endusershell): Likewise.
34459 (setusershell): Likewise.
34460 (initshells): Likewise.
34461 * misc/hsearch.c (__hdestroy): Likewise.
34462 * misc/sync.c (sync): Likewise.
34463 * misc/syslog.c (closelog_internal): Likewise.
34464 (closelog): Likewise.
34465 * misc/ttyslot.c (ttyslot): Likewise.
34466 * misc/vhangup.c (vhangup): Likewise.
34467 * posix/fork.c (__fork): Likewise.
34468 * posix/getegid.c (__getegid): Likewise.
34469 * posix/geteuid.c (__geteuid): Likewise.
34470 * posix/getgid.c (__getgid): Likewise.
34471 * posix/getpid.c (__getpid): Likewise.
34472 * posix/getppid.c (__getppid): Likewise.
34473 * posix/getuid.c (__getuid): Likewise.
34474 * posix/pause.c (pause): Likewise.
34475 * posix/setpgrp.c (setpgrp): Likewise.
34476 * posix/setsid.c (__setsid): Likewise.
34477 * posix/test-vfork.c (noop): Likewise.
34478 * resolv/gethnamaddr.c (_endhtent): Likewise.
34479 (_gethtent): Likewise.
34480 (ht_endhostent): Likewise.
34481 (gethostent): Likewise.
34482 (dns_service): Likewise.
34483 * stdlib/drand48.c (drand48): Likewise.
34484 * stdlib/lrand48.c (lrand48): Likewise.
34485 * stdlib/mrand48.c (mrand48): Likewise.
34486 * stdlib/rand.c (rand): Likewise.
34487 * stdlib/random.c (__random): Likewise.
34488 * stdlib/setenv.c (clearenv): Likewise.
34489 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34490 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34491 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34492 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34493 (__get_nprocs): Likewise.
34494 (__get_phys_pages): Likewise.
34495 (__get_avphys_pages): Likewise.
34496 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34497 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34498 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34499 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34500 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34501 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34502 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34503 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34504 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34505 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34506 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34507 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34508 * sysdeps/posix/clock.c (clock): Likewise.
34509 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34510 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34511 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34512 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34513 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34514 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34515 (__get_nprocs_conf): Likewise.
34516 (__get_phys_pages): Likewise.
34517 (__get_avphys_pages): Likewise.
34518 * time/clock.c (clock): Likewise.
34519 * time/tzset.c (__tzname_max): Likewise.
34520
34521 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34522
34523 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34524 (__bswap_32): Do not use "register".
34525 * crypt/crypt.c (_ufc_doit_r): Likewise.
34526 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34527 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34528 * gmon/gmon.c (__monstartup): Likewise.
34529 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34530 * hurd/hurdmalloc.c (more_memory): Likewise.
34531 (malloc): Likewise.
34532 (free): Likewise.
34533 (realloc): Likewise.
34534 (malloc_fork_prepare): Likewise.
34535 (malloc_fork_parent): Likewise.
34536 (malloc_fork_child): Likewise.
34537 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34538 (_svcauth_des): Likewise.
34539 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34540 * inet/inet_net.c (inet_network): Likewise.
34541 * inet/inet_netof.c (inet_netof): Likewise.
34542 * inet/rcmd.c (__validuser2_sa): Likewise.
34543 * io/fts.c (fts_open): Likewise.
34544 (fts_load): Likewise.
34545 (fts_close): Likewise.
34546 (fts_read): Likewise.
34547 (fts_children): Likewise.
34548 (fts_build): Likewise.
34549 (fts_stat): Likewise.
34550 (fts_sort): Likewise.
34551 (fts_alloc): Likewise.
34552 (fts_lfree): Likewise.
34553 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34554 (_IO_file_xsgetn): Likewise.
34555 (_IO_file_xsgetn_mmap): Likewise.
34556 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34557 (_IO_cookie_write): Likewise.
34558 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34559 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34560 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34561 * malloc/obstack.c (_obstack_begin): Likewise.
34562 (_obstack_begin_1): Likewise.
34563 (_obstack_newchunk): Likewise.
34564 (_obstack_allocated_p): Likewise.
34565 (obstack_free): Likewise.
34566 (_obstack_memory_used): Likewise.
34567 * misc/getttyent.c (getttynam): Likewise.
34568 (getttyent): Likewise.
34569 (skip): Likewise.
34570 (value): Likewise.
34571 * misc/getusershell.c (initshells): Likewise.
34572 * misc/syslog.c (__vsyslog_chk): Likewise.
34573 * misc/ttyslot.c (ttyslot): Likewise.
34574 * nis/nis_hash.c (__nis_hash): Likewise.
34575 * posix/fnmatch_loop.c (FCT): Likewise.
34576 * posix/getconf.c (print_all): Likewise.
34577 (main): Likewise.
34578 * posix/getopt.c (exchange): Likewise.
34579 * posix/glob.c (globfree): Likewise.
34580 (prefix_array): Likewise.
34581 (__glob_pattern_type): Likewise.
34582 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34583 (NS_GET32): Likewise.
34584 (NS_PUT16): Likewise.
34585 (NS_PUT32): Likewise.
34586 * resolv/gethnamaddr.c (getanswer): Likewise.
34587 (gethostbyname2): Likewise.
34588 (gethostbyaddr): Likewise.
34589 (_gethtent): Likewise.
34590 (_gethtbyname2): Likewise.
34591 (_gethtbyaddr): Likewise.
34592 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34593 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34594 * resolv/res_init.c (__res_vinit): Likewise.
34595 (net_mask): Likewise.
34596 * resolv/res_mkquery.c (outchar): Likewise.
34597 (PRINT): Likewise.
34598 * stdio-common/printf_fp.c (outchar): Likewise.
34599 (PRINT): Likewise.
34600 * stdio-common/printf_fphex.c (outchar): Likewise.
34601 (PRINT): Likewise.
34602 * stdio-common/printf_size.c (outchar): Likewise.
34603 (PRINT): Likewise.
34604 * stdio-common/test_rdwr.c (main): Likewise.
34605 * stdio-common/tfformat.c (matches): Likewise.
34606 * stdio-common/vfprintf.c (outchar): Likewise.
34607 (printf_unknown): Likewise.
34608 (buffered_vfprintf): Likewise.
34609 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34610 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34611 (ReadFile): Likewise.
34612 * stdlib/qsort.c (SWAP): Likewise.
34613 (_quicksort): Likewise.
34614 * stdlib/setenv.c (__add_to_environ): Likewise.
34615 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34616 * stdlib/strtol_l.c (__strtol_l): Likewise.
34617 * stdlib/tst-strtod.c (main): Likewise.
34618 * stdlib/tst-strtol.c (main): Likewise.
34619 * stdlib/tst-strtoll.c (main): Likewise.
34620 * string/bits/string2.h (__strcmp_cc): Likewise.
34621 (__strcmp_cg): Likewise.
34622 (__strcspn_c1): Likewise.
34623 (__strcspn_c2): Likewise.
34624 (__strcspn_c3): Likewise.
34625 (__strspn_c1): Likewise.
34626 (__strspn_c2): Likewise.
34627 (__strspn_c3): Likewise.
34628 (__strsep_1c): Likewise.
34629 (__strsep_2c): Likewise.
34630 (__strsep_3c): Likewise.
34631 * string/memccpy.c (__memccpy): Likewise.
34632 * string/stpcpy.c (__stpcpy): Likewise.
34633 * string/strcmp.c (strcmp): Likewise.
34634 * string/strrchr.c (strrchr): Likewise.
34635 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34636 Likewise.
34637 * sysdeps/mach/hurd/getcwd.c
34638 (_hurd_canonicalize_directory_name_internal): Likewise.
34639 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34640 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34641 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34642 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34643 Likewise, in both definitions.
34644 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34645 definitions.
34646 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34647 64] (__bswap_64): Likewise.
34648 * time/test_time.c (main): Likewise.
34649 * time/tzfile.c (__tzfile_read): Likewise.
34650 (__tzfile_compute): Likewise.
34651 * time/tzset.c (__tzset_parse_tz): Likewise.
34652 (tzset_internal): Likewise.
34653 (compute_change): Likewise.
34654 * wcsmbs/wcscat.c (__wcscat): Likewise.
34655 * wcsmbs/wcschr.c (wcschr): Likewise.
34656 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34657 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34658 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34659 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34660 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34661 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34662 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34663 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34664 * wcsmbs/wmemset.c (wmemset): Likewise.
34665
34666 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34667
34668 * scripts/config.guess: Update to version 2013-05-16.
34669 * scripts/config.sub: Update to version 2013-04-24.
34670 * scripts/install-sh: Update to version 2011-11-20.07.
34671 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34672 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34673
34674 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34675
34676 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34677 * elf/sln.c: Likewise.
34678 * hurd/hurd/ioctl.h: Likewise.
34679 * hurd/hurdmalloc.c: Likewise.
34680 * hurd/xattr.c: Likewise.
34681 * include/shlib-compat.h: Likewise.
34682 * inet/ruserpass.c: Likewise.
34683 * libio/iofgets_u.c: Likewise.
34684 * libio/iofgetws_u.c: Likewise.
34685 * locale/programs/ld-identification.c: Likewise.
34686 * locale/programs/ld-time.c: Likewise.
34687 * mach/msg-destroy.c: Likewise.
34688 * nss/nss_files/files-netgrp.c: Likewise.
34689 * resolv/res_data.c: Likewise.
34690 * soft-fp/op-1.h: Likewise.
34691 * soft-fp/op-2.h: Likewise.
34692 * soft-fp/op-4.h: Likewise.
34693 * soft-fp/op-common.h: Likewise.
34694 * stdio-common/printf_fphex.c: Likewise.
34695 * stdlib/strtod_l.c: Likewise.
34696 * sunrpc/rpc/clnt.h: Likewise.
34697 * sysdeps/generic/framestate.c: Likewise.
34698 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34699 * sysdeps/i386/bsd-setjmp.S: Likewise.
34700 * sysdeps/i386/__longjmp.S: Likewise.
34701 * sysdeps/i386/setjmp.S: Likewise.
34702 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34703 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34704 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34705 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34706 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34707 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34708 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34709 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34710 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34711 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34712 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34713 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34714 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34715 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34716 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34717 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34718 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34719 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34720 * sysdeps/ieee754/support.c: Likewise.
34721 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34722 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34723 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34724 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34725 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34726 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34727 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34728 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34729 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34730 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34731 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34732 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34733 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34734 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34735 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34736 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34737 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34739
34740 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34741
34742 * posix/transbug.c: Remove executable mode.
34743
34744 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34745
34746 * crypt/speeds.c: Remove trailing whitespace.
34747 * dlfcn/default.c: Likewise.
34748 * elf/ifuncdep2.c: Likewise.
34749 * elf/ifuncmain1.c: Likewise.
34750 * elf/ifuncmain1vis.c: Likewise.
34751 * elf/testobj.h: Likewise.
34752 * elf/tst-stackguard1.c: Likewise.
34753 * gmon/sys/gmon.h: Likewise.
34754 * hurd/hurdmsg.c: Likewise.
34755 * hurd/new-fd.c: Likewise.
34756 * hurd/ports-get.c: Likewise.
34757 * iconvdata/ibm1008_420.c: Likewise.
34758 * inet/tst-getni1.c: Likewise.
34759 * inet/tst-getni2.c: Likewise.
34760 * libio/ioungetc.c: Likewise.
34761 * libio/wfiledoalloc.c: Likewise.
34762 * manual/libm-err-tab.pl: Likewise.
34763 * math/w_dremf.c: Likewise.
34764 * misc/ftruncate.c: Likewise.
34765 * posix/bug-glob2.c: Likewise.
34766 * posix/tst-pcre.c: Likewise.
34767 * posix/wait4.c: Likewise.
34768 * resolv/README: Likewise.
34769 * resolv/res_debug.h: Likewise.
34770 * resolv/tst-inet_ntop.c: Likewise.
34771 * setjmp/bug269-setjmp.c: Likewise.
34772 * soft-fp/extended.h: Likewise.
34773 * soft-fp/op-1.h: Likewise.
34774 * soft-fp/op-2.h: Likewise.
34775 * soft-fp/op-4.h: Likewise.
34776 * soft-fp/op-8.h: Likewise.
34777 * soft-fp/testit.c: Likewise.
34778 * stdio-common/bug16.c: Likewise.
34779 * stdlib/random.c: Likewise.
34780 * sunrpc/rpcsvc/rquota.x: Likewise.
34781 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34782 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34783 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34784 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34785 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34786 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34787 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34788 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34789 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34790 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34791 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34792 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34793 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34794 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34795 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34796 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34797 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34798 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34799 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34800 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34801 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34802 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34803 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34804 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34805 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34806 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34808 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34809 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34810 * sysdeps/ieee754/s_lib_version.c: Likewise.
34811 * sysdeps/mach/hurd/check_fds.c: Likewise.
34812 * sysdeps/mach/hurd/getsockname.c: Likewise.
34813 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34814 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34815 * sysdeps/powerpc/bits/link.h: Likewise.
34816 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34817 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34818 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34819 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34820 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34821 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34822 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34823 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34824 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34825 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34826 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34827 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34828 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34829 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34830 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34831 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34832 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34833 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34834 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34835 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34836 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34837 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34838 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34839 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34840 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34841 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34842 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34843 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34844 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34845 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34846 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34847 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34848 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34849 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34850 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34851 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34852 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34853 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34854 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34855 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34856 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34857 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34858 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34859 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34860 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34861 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34862 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34863 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34864 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34865 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34866 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34867 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34868 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34869 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34870 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34871 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34872 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34873 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34874 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34875 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34876 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34877 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34878 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34879 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34880 * sysdeps/powerpc/sysdep.h: Likewise.
34881 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34882 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34883 * sysdeps/sh/dl-trampoline.S: Likewise.
34884 * sysdeps/sh/memset.S: Likewise.
34885 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34886 * sysdeps/sh/strlen.S: Likewise.
34887 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34888 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34889 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34890 * sysdeps/sparc/sparc32/rem.S: Likewise.
34891 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34892 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34893 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34894 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34895 * sysdeps/sparc/sparc32/urem.S: Likewise.
34896 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34897 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34898 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34899 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34900 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34901 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34902 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34903 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34904 * sysdeps/unix/bsd/times.c: Likewise.
34905 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34906 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34910 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34911 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34912 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34913 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34914 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34915 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34916 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34917 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34918 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34919 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34920 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34921 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34922 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34923 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34924 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34925 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34926 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34927 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34928 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34929 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34930 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34931 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34932 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34933 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34934 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34935 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34936 * sysdeps/x86_64/strcspn.S: Likewise.
34937
34938 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34939
34940 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34941 generated file. Regenerate properly from gen-translit.pl.
34942 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34943 locale/C-translit.h.
34944
34945 2013-06-05 Andreas Schwab <schwab@suse.de>
34946
34947 [BZ #15100]
34948 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34949 week as 6 instead of -1.
34950 * time/tst-strptime.c (day_tests): Add test case.
34951
34952 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34953
34954 * sysdeps/generic/math_private.h
34955 (libc_feholdexcept_setround_53bit): Replace with
34956 libc_feholdsetround_53bit.
34957 (libc_feupdateenv_53bit): Replace with
34958 libc_feresetround_53bit.
34959 (SET_RESTORE_ROUND_53BIT): Adjust.
34960
34961 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34962
34963 * string/test-strchrnul.c: Add copyright header.
34964
34965 * posix/tst-getaddrinfo4.c: Increase test timeout.
34966
34967 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34968
34969 [BZ #15536]
34970 * math/libm-test.inc (MAX_EXP): Remove
34971 (MIN_EXP): Define.
34972 (ulp): Use MIN_EXP - MANT_DIG.
34973 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34974
34975 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34976
34977 * po/be.po: Revert last change.
34978 * po/zh_CN.po: Likewise.
34979 * po/header.pot: Likewise.
34980
34981 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34982
34983 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34984 link-libc-deps to empty as target-specific variable.
34985 * Makerules (link-libc-args): New variable.
34986 (libc-for-link): Likewise.
34987 (link-libc-deps): Likewise.
34988 (lib%.so): Depend on $(link-libc-deps). Link with
34989 $(link-libc-args).
34990 (build-module): Link with $(link-libc-args).
34991 (build-module-asneeded): Likewise.
34992 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34993 list of objects.
34994 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34995 target-specific variable.
34996 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34997 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34998 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34999 libc.
35000 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35001 libc and ld.so.
35002 ($(objpfx)libpcprofile.so): Likewise.
35003 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35004 libc_nonshared.a.
35005 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35006 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35007 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35008 $(link-libc-deps).
35009 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35010 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35011 * login/Makefile ($(objpfx)libutil.so): Likewise.
35012 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35013 * math/Makefile ($(objpfx)libm.so): Likewise.
35014 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35015 $(objpfx)libnsl.so): Define libc-for-link as target-specific
35016 variable instead of depending directly on libc.
35017 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35018 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35019 $(link-libc-deps).
35020 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35021 libc.
35022 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35023 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35024 ($(objpfx)libanl.so): Likewise.
35025 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35026 ld.so.
35027 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35028 $(link-libc-deps).
35029 * sysdeps/i386/fpu/Makefile: Remove file.
35030 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35031 ($(objpfx)libm.so): Remove dependency on ld.so.
35032
35033 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35034
35035 [BZ # 15553]
35036 * nis/yp_xdr.c (XDRMAXNAME): Define.
35037 (XDRMAXRECORD): Define.
35038 (xdr_domainname): Use XDRMAXNAME.
35039 (xdr_mapname): Likewise.
35040 (xdr_peername): Likewise.
35041 (xdr_keydat): Use XDRMAXRECORD.
35042 (xdr_valdat): Likewise.
35043
35044 2013-05-30 Jeff Law <law@redhat.com>
35045
35046 [BZ #14256]
35047 * manual/errno.texi (ESTALE): Update to account for more than
35048 just NFS file systems.
35049 * sysdeps/gnu/errlist.c: Regenerated.
35050
35051 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35052
35053 [BZ #15465]
35054 * elf/Makefile (tests): Add tst-null-argv.
35055 (modules-names): Add tst-null-argv-lib.
35056 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35057 (tst-null-argv-ENV): Set environment for tst-null-argv.
35058 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35059 (RTLD_PROGNAME): New macro.
35060 * elf/tst-null-argv.c: New test case.
35061 * elf/tst-null-argv-lib.c: Library for test case.
35062 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35063 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35064 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35065 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35066 * elf/dl-init.c (call_init): Likewise.
35067 (_dl_init): Likewise.
35068 * elf/dl-load.c (print_search_path): Likewise.
35069 (_dl_map_object): Likewise.
35070 * elf/dl-lookup.c (do_lookup_x): Likewise.
35071 (add_dependency): Likewise.
35072 (_dl_lookup_symbol_x): Likewise.
35073 (_dl_debug_bindings): Likewise.
35074 * elf/dl-open.c (_dl_show_scope): Likewise.
35075 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35076 * elf/dl-version.c (match_symbol): Likewise.
35077 (_dl_check_map_versions): Likewise.
35078 * elf/rtld.c (dl_main): Likewise.
35079 (print_unresolved): Use RTLD_PROGNAME.
35080 (print_missing_version): Likewise.
35081 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35082 (elf_machine_rela): Likewise.
35083 * sysdeps/powerpc/powerpc32/dl-machine.c
35084 (__process_machine_rela): Likewise.
35085 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35086 Likewise.
35087 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35088 Likewise.
35089 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35090 Likewise.
35091 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35092 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35093 Likewise.
35094 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35095 Likewise.
35096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35097
35098 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35099
35100 * po/be.po: Add descriptive title.
35101 * po/zh_CN.po: Likewise.
35102 * po/header.pot: Likewise.
35103
35104 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35105
35106 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35107 error message.
35108 (enlarge_archive): Likewise.
35109
35110 2013-05-28 Ben North <ben@redfrontdoor.org>
35111
35112 * manual/arith.texi (frexp): It is the magnitude of the return
35113 value which lies in [0.5, 1), not the return value itself.
35114
35115 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35116
35117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35118
35119 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35120
35121 * stdio-common/bug26.c (main): Correct fscanf template.
35122
35123 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35124 declare _dl_skip_args.
35125
35126 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35127 Don't declare.
35128
35129 * manual/platform.texi: Add missing @end deftypefun.
35130
35131 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35132
35133 [BZ #15529]
35134 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35135 bit of mantissa of 2^16382.
35136 * math/libm-test.inc (hypot_test_data): Add more tests.
35137
35138 * math/libm-test.inc: Add drem and pow10 to list of tested
35139 functions.
35140 (pow10_test): New function.
35141 (drem_test): Likewise.
35142 (drem_test_tonearest): Likewise.
35143 (drem_test_towardzero): Likewise.
35144 (drem_test_downward): Likewise.
35145 (drem_test_upward): Likewise.
35146 (main): Call the new functions.
35147
35148 * math/libm-test.inc (finite_test_data): Remove.
35149 (finite_test): Run tests from isfinite_test_data.
35150 (gamma_test_data): Remove.
35151 (gamma_test): Run tests from lgamma_test_data.
35152 * sysdeps/i386/fpu/libm-test-ulps: Update.
35153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35154
35155 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35156
35157 * manual/platform.texi: Add PowerPC PPR function set documentation.
35158 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35159 implementation.
35160
35161 2013-05-24 Carlos O'Donell <carlos@redhat.com>
35162
35163 * math/libm-test.inc (MAX_EXP): Define.
35164 (ULPDIFF): Define.
35165 (ulp): New function.
35166 (check_float_internal): Use ULPDIFF.
35167 (cpow_test): Disable failing test.
35168 (check_ulp): Test ulp() implemetnation.
35169 (main): Call check_ulp before starting tests.
35170
35171 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35172
35173 * math/gen-libm-test.pl (generate_testfile): Do not handle
35174 START_DATA and END_DATA.
35175 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35176 END_DATA.
35177 (acos_tonearest_test_data): Likewise.
35178 (acos_towardzero_test_data): Likewise.
35179 (acos_downward_test_data): Likewise.
35180 (acos_upward_test_data): Likewise.
35181 (acosh_test_data): Likewise.
35182 (asin_test_data): Likewise.
35183 (asin_tonearest_test_data): Likewise.
35184 (asin_towardzero_test_data): Likewise.
35185 (asin_downward_test_data): Likewise.
35186 (asin_upward_test_data): Likewise.
35187 (asinh_test_data): Likewise.
35188 (atan_test_data): Likewise.
35189 (atanh_test_data): Likewise.
35190 (atan2_test_data): Likewise.
35191 (cabs_test_data): Likewise.
35192 (cacos_test_data): Likewise.
35193 (cacosh_test_data): Likewise.
35194 (carg_test_data): Likewise.
35195 (casin_test_data): Likewise.
35196 (casinh_test_data): Likewise.
35197 (catan_test_data): Likewise.
35198 (catanh_test_data): Likewise.
35199 (cbrt_test_data): Likewise.
35200 (ccos_test_data): Likewise.
35201 (ccosh_test_data): Likewise.
35202 (ceil_test_data): Likewise.
35203 (cexp_test_data): Likewise.
35204 (cimag_test_data): Likewise.
35205 (clog_test_data): Likewise.
35206 (clog10_test_data): Likewise.
35207 (conj_test_data): Likewise.
35208 (copysign_test_data): Likewise.
35209 (cos_test_data): Likewise.
35210 (cos_tonearest_test_data): Likewise.
35211 (cos_towardzero_test_data): Likewise.
35212 (cos_downward_test_data): Likewise.
35213 (cos_upward_test_data): Likewise.
35214 (cosh_test_data): Likewise.
35215 (cosh_tonearest_test_data): Likewise.
35216 (cosh_towardzero_test_data): Likewise.
35217 (cosh_downward_test_data): Likewise.
35218 (cosh_upward_test_data): Likewise.
35219 (cpow_test_data): Likewise.
35220 (cproj_test_data): Likewise.
35221 (creal_test_data): Likewise.
35222 (csin_test_data): Likewise.
35223 (csinh_test_data): Likewise.
35224 (csqrt_test_data): Likewise.
35225 (ctan_test_data): Likewise.
35226 (ctan_tonearest_test_data): Likewise.
35227 (ctan_towardzero_test_data): Likewise.
35228 (ctan_downward_test_data): Likewise.
35229 (ctan_upward_test_data): Likewise.
35230 (ctanh_test_data): Likewise.
35231 (ctanh_tonearest_test_data): Likewise.
35232 (ctanh_towardzero_test_data): Likewise.
35233 (ctanh_downward_test_data): Likewise.
35234 (ctanh_upward_test_data): Likewise.
35235 (erf_test_data): Likewise.
35236 (erfc_test_data): Likewise.
35237 (exp_test_data): Likewise.
35238 (exp_tonearest_test_data): Likewise.
35239 (exp_towardzero_test_data): Likewise.
35240 (exp_downward_test_data): Likewise.
35241 (exp_upward_test_data): Likewise.
35242 (exp10_test_data): Likewise.
35243 (exp2_test_data): Likewise.
35244 (expm1_test_data): Likewise.
35245 (fabs_test_data): Likewise.
35246 (fdim_test_data): Likewise.
35247 (finite_test_data): Likewise.
35248 (floor_test_data): Likewise.
35249 (fma_test_data): Likewise.
35250 (fma_towardzero_test_data): Likewise.
35251 (fma_downward_test_data): Likewise.
35252 (fma_upward_test_data): Likewise.
35253 (fmax_test_data): Likewise.
35254 (fmin_test_data): Likewise.
35255 (fmod_test_data): Likewise.
35256 (fpclassify_test_data): Likewise.
35257 (frexp_test_data): Likewise.
35258 (gamma_test_data): Likewise.
35259 (hypot_test_data): Likewise.
35260 (ilogb_test_data): Likewise.
35261 (isfinite_test_data): Likewise.
35262 (isgreater_test_data): Likewise.
35263 (isgreaterequal_test_data): Likewise.
35264 (isinf_test_data): Likewise.
35265 (isless_test_data): Likewise.
35266 (islessequal_test_data): Likewise.
35267 (islessgreater_test_data): Likewise.
35268 (isnan_test_data): Likewise.
35269 (isnormal_test_data): Likewise.
35270 (issignaling_test_data): Likewise.
35271 (isunordered_test_data): Likewise.
35272 (j0_test_data): Likewise.
35273 (j1_test_data): Likewise.
35274 (jn_test_data): Likewise.
35275 (ldexp_test_data): Likewise.
35276 (lgamma_test_data): Likewise.
35277 (lrint_test_data): Likewise.
35278 (lrint_tonearest_test_data): Likewise.
35279 (lrint_towardzero_test_data): Likewise.
35280 (lrint_downward_test_data): Likewise.
35281 (lrint_upward_test_data): Likewise.
35282 (llrint_test_data): Likewise.
35283 (llrint_tonearest_test_data): Likewise.
35284 (llrint_towardzero_test_data): Likewise.
35285 (llrint_downward_test_data): Likewise.
35286 (llrint_upward_test_data): Likewise.
35287 (log_test_data): Likewise.
35288 (log10_test_data): Likewise.
35289 (log1p_test_data): Likewise.
35290 (log2_test_data): Likewise.
35291 (logb_test_data): Likewise.
35292 (logb_downward_test_data): Likewise.
35293 (lround_test_data): Likewise.
35294 (llround_test_data): Likewise.
35295 (modf_test_data): Likewise.
35296 (nearbyint_test_data): Likewise.
35297 (nextafter_test_data): Likewise.
35298 (nexttoward_test_data): Likewise.
35299 (pow_test_data): Likewise.
35300 (pow_tonearest_test_data): Likewise.
35301 (pow_towardzero_test_data): Likewise.
35302 (pow_downward_test_data): Likewise.
35303 (pow_upward_test_data): Likewise.
35304 (remainder_test_data): Likewise.
35305 (remainder_tonearest_test_data): Likewise.
35306 (remainder_towardzero_test_data): Likewise.
35307 (remainder_downward_test_data): Likewise.
35308 (remainder_upward_test_data): Likewise.
35309 (remquo_test_data): Likewise.
35310 (rint_test_data): Likewise.
35311 (rint_tonearest_test_data): Likewise.
35312 (rint_towardzero_test_data): Likewise.
35313 (rint_downward_test_data): Likewise.
35314 (rint_upward_test_data): Likewise.
35315 (round_test_data): Likewise.
35316 (scalb_test_data): Likewise.
35317 (scalbn_test_data): Likewise.
35318 (scalbln_test_data): Likewise.
35319 (signbit_test_data): Likewise.
35320 (sin_test_data): Likewise.
35321 (sin_tonearest_test_data): Likewise.
35322 (sin_towardzero_test_data): Likewise.
35323 (sin_downward_test_data): Likewise.
35324 (sin_upward_test_data): Likewise.
35325 (sincos_test_data): Likewise.
35326 (sinh_test_data): Likewise.
35327 (sinh_tonearest_test_data): Likewise.
35328 (sinh_towardzero_test_data): Likewise.
35329 (sinh_downward_test_data): Likewise.
35330 (sinh_upward_test_data): Likewise.
35331 (sqrt_test_data): Likewise.
35332 (tan_test_data): Likewise.
35333 (tan_tonearest_test_data): Likewise.
35334 (tan_towardzero_test_data): Likewise.
35335 (tan_downward_test_data): Likewise.
35336 (tan_upward_test_data): Likewise.
35337 (tanh_test_data): Likewise.
35338 (tgamma_test_data): Likewise.
35339 (trunc_test_data): Likewise.
35340 (y0_test_data): Likewise.
35341 (y1_test_data): Likewise.
35342 (yn_test_data): Likewise.
35343 (significand_test_data): Likewise.
35344
35345 * math/gen-libm-test.pl (@functions): Remove variable.
35346 (generate_testfile): Don't handle START and END lines.
35347 * math/libm-test.inc (START): New macro.
35348 (END): Likewise.
35349 (END_COMPLEX): Likewise.
35350 (acos_test): Use END macro without arguments.
35351 (acos_test_tonearest): Likewise.
35352 (acos_test_towardzero): Likewise.
35353 (acos_test_downward): Likewise.
35354 (acos_test_upward): Likewise.
35355 (acosh_test): Likewise.
35356 (asin_test): Likewise.
35357 (asin_test_tonearest): Likewise.
35358 (asin_test_towardzero): Likewise.
35359 (asin_test_downward): Likewise.
35360 (asin_test_upward): Likewise.
35361 (asinh_test): Likewise.
35362 (atan_test): Likewise.
35363 (atanh_test): Likewise.
35364 (atan2_test): Likewise.
35365 (cabs_test): Likewise.
35366 (cacos_test): Use END_COMPLEX macro without arguments.
35367 (cacosh_test): Likewise.
35368 (carg_test): Use END macro without arguments.
35369 (casin_test): Use END_COMPLEX macro without arguments.
35370 (casinh_test): Likewise.
35371 (catan_test): Likewise.
35372 (catanh_test): Likewise.
35373 (cbrt_test): Use END macro without arguments.
35374 (ccos_test): Use END_COMPLEX macro without arguments.
35375 (ccosh_test): Likewise.
35376 (ceil_test): Use END macro without arguments.
35377 (cexp_test): Use END_COMPLEX macro without arguments.
35378 (cimag_test): Use END macro without arguments.
35379 (clog_test): Use END_COMPLEX macro without arguments.
35380 (clog10_test): Likewise.
35381 (conj_test): Likewise.
35382 (copysign_test): Use END macro without arguments.
35383 (cos_test): Likewise.
35384 (cos_test_tonearest): Likewise.
35385 (cos_test_towardzero): Likewise.
35386 (cos_test_downward): Likewise.
35387 (cos_test_upward): Likewise.
35388 (cosh_test): Likewise.
35389 (cosh_test_tonearest): Likewise.
35390 (cosh_test_towardzero): Likewise.
35391 (cosh_test_downward): Likewise.
35392 (cosh_test_upward): Likewise.
35393 (cpow_test): Use END_COMPLEX macro without arguments.
35394 (cproj_test): Likewise.
35395 (creal_test): Use END macro without arguments.
35396 (csin_test): Use END_COMPLEX macro without arguments.
35397 (csinh_test): Likewise.
35398 (csqrt_test): Likewise.
35399 (ctan_test): Likewise.
35400 (ctan_test_tonearest): Likewise.
35401 (ctan_test_towardzero): Likewise.
35402 (ctan_test_downward): Likewise.
35403 (ctan_test_upward): Likewise.
35404 (ctanh_test): Likewise.
35405 (ctanh_test_tonearest): Likewise.
35406 (ctanh_test_towardzero): Likewise.
35407 (ctanh_test_downward): Likewise.
35408 (ctanh_test_upward): Likewise.
35409 (erf_test): Use END macro without arguments.
35410 (erfc_test): Likewise.
35411 (exp_test): Likewise.
35412 (exp_test_tonearest): Likewise.
35413 (exp_test_towardzero): Likewise.
35414 (exp_test_downward): Likewise.
35415 (exp_test_upward): Likewise.
35416 (exp10_test): Likewise.
35417 (exp2_test): Likewise.
35418 (expm1_test): Likewise.
35419 (fabs_test): Likewise.
35420 (fdim_test): Likewise.
35421 (finite_test): Likewise.
35422 (floor_test): Likewise.
35423 (fma_test): Likewise.
35424 (fma_test_towardzero): Likewise.
35425 (fma_test_downward): Likewise.
35426 (fma_test_upward): Likewise.
35427 (fmax_test): Likewise.
35428 (fmin_test): Likewise.
35429 (fmod_test): Likewise.
35430 (fpclassify_test): Likewise.
35431 (frexp_test): Likewise.
35432 (gamma_test): Likewise.
35433 (hypot_test): Likewise.
35434 (ilogb_test): Likewise.
35435 (isfinite_test): Likewise.
35436 (isgreater_test): Likewise.
35437 (isgreaterequal_test): Likewise.
35438 (isinf_test): Likewise.
35439 (isless_test): Likewise.
35440 (islessequal_test): Likewise.
35441 (islessgreater_test): Likewise.
35442 (isnan_test): Likewise.
35443 (isnormal_test): Likewise.
35444 (issignaling_test): Likewise.
35445 (isunordered_test): Likewise.
35446 (j0_test): Likewise.
35447 (j1_test): Likewise.
35448 (jn_test): Likewise.
35449 (ldexp_test): Likewise.
35450 (lgamma_test): Likewise.
35451 (lrint_test): Likewise.
35452 (lrint_test_tonearest): Likewise.
35453 (lrint_test_towardzero): Likewise.
35454 (lrint_test_downward): Likewise.
35455 (lrint_test_upward): Likewise.
35456 (llrint_test): Likewise.
35457 (llrint_test_tonearest): Likewise.
35458 (llrint_test_towardzero): Likewise.
35459 (llrint_test_downward): Likewise.
35460 (llrint_test_upward): Likewise.
35461 (log_test): Likewise.
35462 (log10_test): Likewise.
35463 (log1p_test): Likewise.
35464 (log2_test): Likewise.
35465 (logb_test): Likewise.
35466 (logb_test_downward): Likewise.
35467 (lround_test): Likewise.
35468 (llround_test): Likewise.
35469 (modf_test): Likewise.
35470 (nearbyint_test): Likewise.
35471 (nextafter_test): Likewise.
35472 (nexttoward_test): Likewise.
35473 (pow_test): Likewise.
35474 (pow_test_tonearest): Likewise.
35475 (pow_test_towardzero): Likewise.
35476 (pow_test_downward): Likewise.
35477 (pow_test_upward): Likewise.
35478 (remainder_test): Likewise.
35479 (remainder_test_tonearest): Likewise.
35480 (remainder_test_towardzero): Likewise.
35481 (remainder_test_downward): Likewise.
35482 (remainder_test_upward): Likewise.
35483 (remquo_test): Likewise.
35484 (rint_test): Likewise.
35485 (rint_test_tonearest): Likewise.
35486 (rint_test_towardzero): Likewise.
35487 (rint_test_downward): Likewise.
35488 (rint_test_upward): Likewise.
35489 (round_test): Likewise.
35490 (scalb_test): Likewise.
35491 (scalbn_test): Likewise.
35492 (scalbln_test): Likewise.
35493 (signbit_test): Likewise.
35494 (sin_test): Likewise.
35495 (sin_test_tonearest): Likewise.
35496 (sin_test_towardzero): Likewise.
35497 (sin_test_downward): Likewise.
35498 (sin_test_upward): Likewise.
35499 (sincos_test): Likewise.
35500 (sinh_test): Likewise.
35501 (sinh_test_tonearest): Likewise.
35502 (sinh_test_towardzero): Likewise.
35503 (sinh_test_downward): Likewise.
35504 (sinh_test_upward): Likewise.
35505 (sqrt_test): Likewise.
35506 (tan_test): Likewise.
35507 (tan_test_tonearest): Likewise.
35508 (tan_test_towardzero): Likewise.
35509 (tan_test_downward): Likewise.
35510 (tan_test_upward): Likewise.
35511 (tanh_test): Likewise.
35512 (tgamma_test): Likewise.
35513 (trunc_test): Likewise.
35514 (y0_test): Likewise.
35515 (y1_test): Likewise.
35516 (yn_test): Likewise.
35517 (significand_test): Likewise.
35518
35519 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35520
35521 [BZ #15381]
35522 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35523
35524 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35525
35526 [BZ #14894]
35527 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35528 __ppc_mdoio and __ppc_mdoom.
35529 * manual/platform.texi: Document new functions __ppc_yield,
35530 __ppc_mdoio and __ppc_mdoom.
35531
35532 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35533
35534 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35535 (main): Mention "tls" pseudo-hwcap is legacy.
35536 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35537
35538 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35539
35540 * math/gen-libm-test.pl (parse_args): Output only string of
35541 arguments as text for test name, not full call or descriptions of
35542 tests for extra outputs.
35543 (generate_testfile): Do not pass function name to parse_args.
35544 Generate this_func variable from START.
35545 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35546 field to arg_str.
35547 (struct test_ff_f_data): Likewise.
35548 (test_ff_f_data_nexttoward): Likewise.
35549 (struct test_fi_f_data): Likewise.
35550 (struct test_fl_f_data): Likewise.
35551 (struct test_if_f_data): Likewise.
35552 (struct test_fff_f_data): Likewise.
35553 (struct test_c_f_data): Likewise.
35554 (struct test_f_f1_data): Likewise. Remove field extra_name.
35555 (struct test_fF_f1_data): Likewise.
35556 (struct test_ffI_f1_data): Likewise.
35557 (struct test_c_c_data): Rename test_name field to arg_str.
35558 (struct test_cc_c_data): Likewise.
35559 (struct test_f_i_data): Likewise.
35560 (struct test_ff_i_data): Likewise.
35561 (struct test_f_l_data): Likewise.
35562 (struct test_f_L_data): Likewise.
35563 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35564 and extra2_name.
35565 (COMMON_TEST_SETUP): New macro.
35566 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35567 (COMMON_TEST_CLEANUP): Likewise.
35568 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35569 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35570 macros.
35571 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35572 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35573 macros.
35574 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35575 (RUN_TEST_fff_f): Take argument string. Call new setup and
35576 cleanup macros.
35577 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35578 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35579 macros.
35580 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35581 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35582 macros.
35583 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35584 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35585 cleanup macros.
35586 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35587 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35588 cleanup macros.
35589 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35590 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35591 cleanup macros.
35592 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35593 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35594 macros.
35595 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35596 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35597 macros.
35598 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35599 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35600 macros.
35601 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35602 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35603 cleanup macros.
35604 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35605 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35606 cleanup macros.
35607 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35608 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35609 macros.
35610 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35611 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35612 cleanup macros.
35613 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35614 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35615 macros.
35616 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35617 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35618 macros.
35619 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35620 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35621 cleanup macros.
35622 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35623
35624 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35625
35626 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35627 to _sifields.sigfault.
35628 (si_addr_lsb): Define new macro.
35629 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35630 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35631 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35632
35633 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35634
35635 [BZ #15441]
35636 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35637 returns -1.
35638 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35639 null return -1.
35640 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35641 loading the domain.
35642
35643 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35644
35645 * math/gen-libm-test.pl (parse_args): Do not include expected
35646 result in test name.
35647 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35648 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35649 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35650 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35651 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35653
35654 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35655
35656 * benchtests/Makefile: Sort function entries.
35657
35658 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35659 tanh, asinh, acosh, atanh.
35660 * benchtests/acos-inputs: New file.
35661 * benchtests/acosh-inputs: New file.
35662 * benchtests/asin-inputs: New file.
35663 * benchtests/asinh-inputs: New file.
35664 * benchtests/atanh-inputs: New file.
35665 * benchtests/cosh-inputs: New file.
35666 * benchtests/log-inputs: New file.
35667 * benchtests/sinh-inputs: New file.
35668 * benchtests/tanh-inputs: New file.
35669
35670 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35671
35672 [BZ #15339]
35673 * posix/tst-getaddrinfo4.c: New test.
35674 * posix/Makefile (tests): Add it.
35675
35676 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35677
35678 [BZ #15339]
35679 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35680 when no services were used.
35681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35682 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35683
35684 2013-05-21 Andreas Schwab <schwab@suse.de>
35685
35686 [BZ #15014]
35687 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35688 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35689 successful.
35690 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35691 redundant variable declarations and reallocation of buffer when
35692 parsing as IPv6 address. Always set NSS status when called from
35693 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35694 buffer too small. Correct computation of needed size.
35695 * nss/Makefile (tests): Add test-digits-dots.
35696 * nss/test-digits-dots.c: New test.
35697
35698 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35699
35700 * benchtests/Makefile: Remove instructions for adding
35701 benchmark tests.
35702 * benchtests/README: New file to explain how to execute and
35703 enhance the benchmark tests.
35704
35705 2013-05-21 Andreas Schwab <schwab@suse.de>
35706
35707 [BZ #15493]
35708 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35709 * setjmp/tst-sigsetjmp.c: New test.
35710
35711 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35712
35713 * sysdeps/x86_64/memset.S (memset): New implementation.
35714 (__bzero): Likewise.
35715 (__memset_tail): New function.
35716
35717 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35718
35719 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35720 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35721 __memcpy_sse2_unaligned ifunc selection.
35722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35723 Add memcpy-sse2-unaligned.S.
35724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35725 Add: __memcpy_sse2_unaligned.
35726
35727 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35728
35729 [BZ #15490]
35730 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35731 math_force_eval before restoring floating-point envrionment.
35732 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35733 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35734 Likewise.
35735 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35736 <math_private.h>.
35737 (__nearbyintl): Use math_force_eval before restoring
35738 floating-point environment.
35739 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35740
35741 * math/gen-libm-test.pl (special_functions): Remove.
35742 (parse_args): Don't handle TEST_extra. Handle functions with no
35743 return value.
35744 * math/libm-test.inc (struct test_sincos_data): Replace with
35745 struct test_fFF_11_data.
35746 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35747 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35748 (sincos_test_data): Change element type to struct
35749 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35750 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35751 RUN_TEST_LOOP_sincos.
35752 * math/README.libm-test: Don't mention special handling of
35753 individual functions.
35754 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35755 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35756 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35757 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35758 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35760
35761 * math/gen-libm-test.pl (get_variable): Remove function.
35762 (parse_args): Don't show pointer parameters to call in test
35763 names. Use "extra output N" in test names for extra outputs
35764 rather than naming variables.
35765
35766 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35767
35768 [BZ #15488]
35769 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35770 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35771 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35772 double tests.
35773 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35774 disable.
35775 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35776 check_long_double.
35777
35778 * math/gen-libm-test.pl (@tests): Remove variable.
35779 ($count): Likewise.
35780 (new_test): Remove function.
35781 (show_exceptions): New function.
35782 (special_functions): Use show_exceptions instead of new_test.
35783 (parse_args): Likewise.
35784 (generate_testfile): Pass only function name in generated call to
35785 print_max_error or print_complex_max_error.
35786 (get_ulps): Do not handle complex tests specially.
35787 (output_test): Rename to ...
35788 (get_all_ulps_for_test): ... this. Return a string rather than
35789 printing to a file. Require ulps to be present.
35790 (output_ulps): Generate arrays rather than #defines.
35791 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35792 (struct ulp_data): New type.
35793 (BUILD_COMPLEX_ULP): Remove macro.
35794 (compare_ulp_data): New function.
35795 (find_ulps): Likewise.
35796 (find_test_ulps): Likewise.
35797 (find_function_ulps): Likewise.
35798 (find_complex_function_ulps): Likewise.
35799 (print_max_error): Determine allowed ulps using
35800 find_function_ulps.
35801 (print_complex_max_error): Determine allowed ulps using
35802 find_complex_function_ulps.
35803 (check_float_internal): Determine max ulps using find_test_ulps.
35804 (check_float): Do not take max_ulp parameter. Update call to
35805 check_float_internal.
35806 (check_complex): Likewise.
35807 (check_int): Do not take max_ulp parameter.
35808 (check_long): Likewise.
35809 (check_bool): Likewise.
35810 (check_longlong): Likewise.
35811 (struct test_f_f_data): Remove max_ulp field.
35812 (struct test_ff_f_data): Likewise.
35813 (struct test_ff_f_data_nexttoward): Likewise.
35814 (struct test_fi_f_data): Likewise.
35815 (struct test_fl_f_data): Likewise.
35816 (struct test_if_f_data): Likewise.
35817 (struct test_fff_f_data): Likewise.
35818 (struct test_c_f_data): Likewise.
35819 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35820 (struct test_fF_f1_data): Likewise.
35821 (struct test_ffI_f1_data): Likewise.
35822 (struct test_c_c_data): Remove max_ulp field.
35823 (struct test_cc_c_data): Likewise.
35824 (struct test_f_i_data): Likewise.
35825 (struct test_ff_i_data): Likewise.
35826 (struct test_f_l_data): Likewise.
35827 (struct test_f_L_data): Likewise.
35828 (struct test_sincos_data): Likewise.
35829 (RUN_TEST_f_f): Do not handle ulps.
35830 (RUN_TEST_LOOP_f_f): Likewise.
35831 (RUN_TEST_2_f): Likewise.
35832 (RUN_TEST_LOOP_2_f): Likewise.
35833 (RUN_TEST_fff_f): Likewise.
35834 (RUN_TEST_LOOP_fff_f): Likewise.
35835 (RUN_TEST_c_f): Likewise.
35836 (RUN_TEST_LOOP_c_f): Likewise.
35837 (RUN_TEST_f_f1): Likewise.
35838 (RUN_TEST_LOOP_f_f1): Likewise.
35839 (RUN_TEST_fF_f1): Likewise.
35840 (RUN_TEST_LOOP_fF_f1): Likewise.
35841 (RUN_TEST_fI_f1): Likewise.
35842 (RUN_TEST_LOOP_fI_f1): Likewise.
35843 (RUN_TEST_ffI_f1): Likewise.
35844 (RUN_TEST_LOOP_ffI_f1): Likewise.
35845 (RUN_TEST_c_c): Likewise.
35846 (RUN_TEST_LOOP_c_c): Likewise.
35847 (RUN_TEST_cc_c): Likewise.
35848 (RUN_TEST_LOOP_cc_c): Likewise.
35849 (RUN_TEST_f_i): Likewise.
35850 (RUN_TEST_LOOP_f_i): Likewise.
35851 (RUN_TEST_f_i_tg): Likewise.
35852 (RUN_TEST_LOOP_f_i_tg): Likewise.
35853 (RUN_TEST_ff_i_tg): Likewise.
35854 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35855 (RUN_TEST_f_b): Likewise.
35856 (RUN_TEST_LOOP_f_b): Likewise.
35857 (RUN_TEST_f_b_tg): Likewise.
35858 (RUN_TEST_LOOP_f_b_tg): Likewise.
35859 (RUN_TEST_f_l): Likewise.
35860 (RUN_TEST_LOOP_f_l): Likewise.
35861 (RUN_TEST_f_L): Likewise.
35862 (RUN_TEST_LOOP_f_L): Likewise.
35863 (RUN_TEST_sincos): Likewise.
35864 (RUN_TEST_LOOP_sincos): Likewise.
35865
35866 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35867
35868 [BZ #15480]
35869 [BZ #15485]
35870 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35871 main case of finite arguments, set rounding mode to FE_TONEAREST
35872 and discard exceptions.
35873 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35874 exceptions.
35875 (remainder_tonearest_test_data): New variable.
35876 (remainder_test_tonearest): New function.
35877 (remainder_towardzero_test_data): New variable.
35878 (remainder_test_towardzero): New function.
35879 (remainder_downward_test_data): New variable.
35880 (remainder_test_downward): New function.
35881 (remainder_upward_test_data): New variable.
35882 (remainder_test_upward): New function.
35883 (main): Call the new test functions.
35884
35885 * math/libm-test.inc (struct test_f_f1_data): Remove field
35886 extra_init.
35887 (struct test_fF_f1_data): Likewise.
35888 (struct test_ffI_f1_data): Likewise.
35889 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35890 based on value of EXTRA_EXPECTED.
35891 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35892 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35893 EXTRA_VAR based on value of EXTRA_EXPECTED.
35894 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35895 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35896 EXTRA_VAR based on value of EXTRA_EXPECTED.
35897 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35898 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35899 EXTRA_VAR based on value of EXTRA_EXPECTED.
35900 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35901 * math/gen-libm-test.pl (parse_args): Don't output initializers
35902 for extra output values.
35903
35904 * math/libm-test.inc (check_int): Expect result to be exactly
35905 equal to expected value and do not handle ulps.
35906 (check_long): Likewise.
35907 (check_longlong): Likewise.
35908
35909 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35910 exceptions.
35911 (cimag_test_data): Likewise.
35912 (conj_test_data): Likewise.
35913 (copysign_test_data): Likewise.
35914 (cproj_test_data): Likewise.
35915 (creal_test_data): Likewise.
35916 (fabs_test_data): Likewise.
35917 (fdim_test_data): Likewise.
35918 (finite_test_data): Likewise.
35919 (floor_test_data): Likewise.
35920 (fmax_test_data): Likewise.
35921 (fmin_test_data): Likewise.
35922 (fmod_test_data): Likewise.
35923 (fpclassify_test_data): Likewise.
35924 (frexp_test_data): Likewise.
35925 (ilogb_test_data): Likewise.
35926 (isfinite_test_data): Likewise.
35927 (isgreater_test_data): Likewise.
35928 (isgreaterequal_test_data): Likewise.
35929 (isinf_test_data): Likewise.
35930 (isless_test_data): Likewise.
35931 (islessequal_test_data): Likewise.
35932 (islessgreater_test_data): Likewise.
35933 (isnan_test_data): Likewise.
35934 (isnormal_test_data): Likewise.
35935 (issignaling_test_data): Likewise.
35936 (isunordered_test_data): Likewise.
35937 (ldexp_test_data): Likewise.
35938 (lrint_test_data): Likewise.
35939 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35940 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35941 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35942 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35943 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35944 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35945 test input.
35946 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35947 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35948 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35949 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35950 that test input.
35951 (lrint_downward_test_data): Test for "inexact" exceptions.
35952 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35953 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35954 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35955 test input.
35956 (lrint_upward_test_data): Test for "inexact" exceptions.
35957 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35958 test input.
35959 (llrint_test_data): Test for "inexact" exceptions.
35960 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35961 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35962 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35963 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35964 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35965 (llrint_downward_test_data): Test for "inexact" exceptions.
35966 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35967 (llrint_upward_test_data): Test for "inexact" exceptions.
35968 (logb_test_data): Likewise.
35969 (logb_downward_test_data): Likewise.
35970 (nextafter_test_data): Likewise.
35971 (nexttoward_test_data): Likewise.
35972 (remainder_test_data): Likewise.
35973 (remquo_test_data): Likewise.
35974 (scalbn_test_data): Likewise.
35975 (scalbln_test_data): Likewise.
35976 (signbit_test_data): Likewise.
35977 (sqrt_test_data): Likewise.
35978 (significand_test_data): Likewise.
35979
35980 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35981
35982 [BZ #15424]
35983 * benchtests/bench-modf.c (struct args): Mark arg0 as
35984 volatile.
35985 * scripts/bench.pl: Mark members of struct args as volatile.
35986
35987 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35988
35989 [BZ # 15497]
35990 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35991 negative infinity on POWER6 or lower.
35992 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35993
35994 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35995
35996 [BZ #15442]
35997 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35998 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35999 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36000 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36001 (_FP_SETQNAN): New macro.
36002 (_FP_SETQNAN_SEMIRAW): Likewise.
36003 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36004 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36005 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36006 (FP_EXTEND): Use _FP_FRAC_SNANP.
36007 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36008 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36009 into account.
36010 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36011 New macro.
36012 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36013 Likewise.
36014
36015 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36016
36017 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36018 with DIVIDE_BY_ZERO_EXCEPTION.
36019 (gamma_test_data): Likewise.
36020 (lgamma_test_data): Likewise.
36021 (log_test_data): Likewise.
36022 (log10_test_data): Likewise.
36023 (log2_test_data): Likewise.
36024 (tgamma_test_data): Likewise.
36025
36026 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36027 (acos_test_tonearest): Likewise.
36028 (acos_test_towardzero): Likewise.
36029 (acos_test_downward): Likewise.
36030 (acos_test_upward): Likewise.
36031 (acosh_test): Likewise.
36032 (asin_test): Likewise.
36033 (asin_test_tonearest): Likewise.
36034 (asin_test_towardzero): Likewise.
36035 (asin_test_downward): Likewise.
36036 (asin_test_upward): Likewise.
36037 (asinh_test): Likewise.
36038 (atan_test): Likewise.
36039 (atanh_test): Likewise.
36040 (atan2_test): Likewise.
36041 (cabs_test): Likewise.
36042 (cacos_test): Likewise.
36043 (cacosh_test): Likewise.
36044 (casin_test): Likewise.
36045 (casinh_test): Likewise.
36046 (catan_test): Likewise.
36047 (catanh_test): Likewise.
36048 (cbrt_test): Likewise.
36049 (ccos_test): Likewise.
36050 (ccosh_test): Likewise.
36051 (cexp_test): Likewise.
36052 (clog_test): Likewise.
36053 (clog10_test): Likewise.
36054 (cos_test): Likewise.
36055 (cos_test_tonearest): Likewise.
36056 (cos_test_towardzero): Likewise.
36057 (cos_test_downward): Likewise.
36058 (cos_test_upward): Likewise.
36059 (cosh_test): Likewise.
36060 (cosh_test_tonearest): Likewise.
36061 (cosh_test_towardzero): Likewise.
36062 (cosh_test_downward): Likewise.
36063 (cosh_test_upward): Likewise.
36064 (cpow_test): Likewise.
36065 (csin_test): Likewise.
36066 (csinh_test): Likewise.
36067 (csqrt_test): Likewise.
36068 (ctan_test): Likewise.
36069 (ctan_test_tonearest): Likewise.
36070 (ctan_test_towardzero): Likewise.
36071 (ctan_test_downward): Likewise.
36072 (ctan_test_upward): Likewise.
36073 (ctanh_test): Likewise.
36074 (ctanh_test_tonearest): Likewise.
36075 (ctanh_test_towardzero): Likewise.
36076 (ctanh_test_downward): Likewise.
36077 (ctanh_test_upward): Likewise.
36078 (erf_test): Likewise.
36079 (erfc_test): Likewise.
36080 (exp_test): Likewise.
36081 (exp_test_tonearest): Likewise.
36082 (exp_test_towardzero): Likewise.
36083 (exp_test_downward): Likewise.
36084 (exp_test_upward): Likewise.
36085 (exp10_test): Likewise.
36086 (exp2_test): Likewise.
36087 (expm1_test): Likewise.
36088 (fmod_test): Likewise.
36089 (gamma_test): Likewise.
36090 (hypot_test): Likewise.
36091 (j0_test): Likewise.
36092 (j1_test): Likewise.
36093 (jn_test): Likewise.
36094 (lgamma_test): Likewise.
36095 (log_test): Likewise.
36096 (log10_test): Likewise.
36097 (log1p_test): Likewise.
36098 (log2_test): Likewise.
36099 (logb_test_downward): Likewise.
36100 (pow_test): Likewise.
36101 (pow_test_tonearest): Likewise.
36102 (pow_test_towardzero): Likewise.
36103 (pow_test_downward): Likewise.
36104 (pow_test_upward): Likewise.
36105 (remainder_test): Likewise.
36106 (remquo_test): Likewise.
36107 (sin_test): Likewise.
36108 (sin_test_tonearest): Likewise.
36109 (sin_test_towardzero): Likewise.
36110 (sin_test_downward): Likewise.
36111 (sin_test_upward): Likewise.
36112 (sincos_test): Likewise.
36113 (sinh_test): Likewise.
36114 (sinh_test_tonearest): Likewise.
36115 (sinh_test_towardzero): Likewise.
36116 (sinh_test_downward): Likewise.
36117 (sinh_test_upward): Likewise.
36118 (sqrt_test): Likewise.
36119 (tan_test): Likewise.
36120 (tan_test_tonearest): Likewise.
36121 (tan_test_towardzero): Likewise.
36122 (tan_test_downward): Likewise.
36123 (tan_test_upward): Likewise.
36124 (tanh_test): Likewise.
36125 (tgamma_test): Likewise.
36126 (y0_test): Likewise.
36127 (y1_test): Likewise.
36128 (yn_test): Likewise.
36129
36130 * math/gen-libm-test.pl (adjust_arg): Remove function.
36131 (special_function): Remove argument $in_func. Only handle
36132 generating output for tables of tests, not inside functions.
36133 (parse_args): Likewise.
36134 (generate_testfile): Remove variable $in_func. Update call to
36135 parse_args.
36136 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36137 (MINUS_ZERO_INIT): Rename macro to minus_zero.
36138 (PLUS_INFTY_INIT): Rename macro to plus_infty.
36139 (MINUS_INFTY_INIT): Rename macro to minus_infty.
36140 (QNAN_VALUE_INIT): Rename macro to qnan_value.
36141 (MAX_VALUE_INIT): Rename macro to max_value.
36142 (MIN_VALUE_INIT): Rename macro to min_value.
36143 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36144 (plus_zero): Remove variable.
36145 (minus_zero): Likewise.
36146 (plus_infty): Likewise.
36147 (minus_infty): Likewise.
36148 (qnan_value): Likewise.
36149 (max_value): Likewise.
36150 (min_value): Likewise.
36151 (min_subnorm_value): Likewise.
36152
36153 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36154
36155 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36156 uint64_t or uint32_t usage.
36157 * crypt/sha256-block.c: Likewise.
36158 * crypt/sha256-crypt.c: Likewise.
36159 * crypt/sha256.c: Likewise.
36160 * crypt/sha512-block.c: Likewise.
36161 * crypt/sha512-crypt.c: Likewise.
36162 * crypt/sha512.c: Likewise.
36163 * debug/backtrace-tst.c: Likewise.
36164 * debug/pcprofiledump.c: Likewise.
36165 * elf/cache.c: Likewise.
36166 * elf/dl-cache.c: Likewise.
36167 * elf/dl-misc.c: Likewise.
36168 * elf/dl-profile.c: Likewise.
36169 * elf/dl-support.c: Likewise.
36170 * elf/ldconfig.c: Likewise.
36171 * elf/sprof.c: Likewise.
36172 * iconv/dummy-repertoire.c: Likewise.
36173 * iconv/iconv_charmap.c: Likewise.
36174 * iconv/skeleton.c: Likewise.
36175 * iconvdata/8bit-generic.c: Likewise.
36176 * iconvdata/cp737.h: Likewise.
36177 * iconvdata/cp775.h: Likewise.
36178 * iconvdata/ibm1008.h: Likewise.
36179 * iconvdata/ibm1025.h: Likewise.
36180 * iconvdata/ibm1046.h: Likewise.
36181 * iconvdata/ibm1097.h: Likewise.
36182 * iconvdata/ibm1112.h: Likewise.
36183 * iconvdata/ibm1122.h: Likewise.
36184 * iconvdata/ibm1123.h: Likewise.
36185 * iconvdata/ibm1124.h: Likewise.
36186 * iconvdata/ibm1129.h: Likewise.
36187 * iconvdata/ibm1130.h: Likewise.
36188 * iconvdata/ibm1132.h: Likewise.
36189 * iconvdata/ibm1133.h: Likewise.
36190 * iconvdata/ibm1137.h: Likewise.
36191 * iconvdata/ibm1140.h: Likewise.
36192 * iconvdata/ibm1141.h: Likewise.
36193 * iconvdata/ibm1142.h: Likewise.
36194 * iconvdata/ibm1143.h: Likewise.
36195 * iconvdata/ibm1144.h: Likewise.
36196 * iconvdata/ibm1145.h: Likewise.
36197 * iconvdata/ibm1146.h: Likewise.
36198 * iconvdata/ibm1147.h: Likewise.
36199 * iconvdata/ibm1148.h: Likewise.
36200 * iconvdata/ibm1149.h: Likewise.
36201 * iconvdata/ibm1153.h: Likewise.
36202 * iconvdata/ibm1154.h: Likewise.
36203 * iconvdata/ibm1155.h: Likewise.
36204 * iconvdata/ibm1156.h: Likewise.
36205 * iconvdata/ibm1157.h: Likewise.
36206 * iconvdata/ibm1158.h: Likewise.
36207 * iconvdata/ibm1160.h: Likewise.
36208 * iconvdata/ibm1161.h: Likewise.
36209 * iconvdata/ibm1162.h: Likewise.
36210 * iconvdata/ibm1163.h: Likewise.
36211 * iconvdata/ibm1164.h: Likewise.
36212 * iconvdata/ibm1166.h: Likewise.
36213 * iconvdata/ibm1167.h: Likewise.
36214 * iconvdata/ibm12712.h: Likewise.
36215 * iconvdata/ibm1390.h: Likewise.
36216 * iconvdata/ibm1399.h: Likewise.
36217 * iconvdata/ibm16804.h: Likewise.
36218 * iconvdata/ibm4517.h: Likewise.
36219 * iconvdata/ibm4899.h: Likewise.
36220 * iconvdata/ibm4909.h: Likewise.
36221 * iconvdata/ibm4971.h: Likewise.
36222 * iconvdata/ibm5347.h: Likewise.
36223 * iconvdata/ibm803.h: Likewise.
36224 * iconvdata/ibm856.h: Likewise.
36225 * iconvdata/ibm901.h: Likewise.
36226 * iconvdata/ibm902.h: Likewise.
36227 * iconvdata/ibm9030.h: Likewise.
36228 * iconvdata/ibm9066.h: Likewise.
36229 * iconvdata/ibm921.h: Likewise.
36230 * iconvdata/ibm922.h: Likewise.
36231 * iconvdata/ibm9448.h: Likewise.
36232 * iconvdata/isiri-3342.h: Likewise.
36233 * iconvdata/jis0201.h: Likewise.
36234 * include/link.h: Likewise.
36235 * include/netdb.h: Likewise.
36236 * inet/check_native.c: Likewise.
36237 * inet/check_pf.c: Likewise.
36238 * inet/getipv4sourcefilter.c: Likewise.
36239 * inet/getnameinfo.c: Likewise.
36240 * inet/getsourcefilter.c: Likewise.
36241 * inet/htonl.c: Likewise.
36242 * inet/setipv4sourcefilter.c: Likewise.
36243 * inet/setsourcefilter.c: Likewise.
36244 * inet/test-inet6_opt.c: Likewise.
36245 * inet/tst-network.c: Likewise.
36246 * locale/C-collate.c: Likewise.
36247 * locale/C-ctype.c: Likewise.
36248 * locale/C-time.c: Likewise.
36249 * locale/C-translit.h: Likewise.
36250 * locale/loadarchive.c: Likewise.
36251 * locale/programs/3level.h: Likewise.
36252 * locale/programs/charmap.c: Likewise.
36253 * locale/programs/charmap.h: Likewise.
36254 * locale/programs/ld-address.c: Likewise.
36255 * locale/programs/ld-collate.c: Likewise.
36256 * locale/programs/ld-ctype.c: Likewise.
36257 * locale/programs/ld-identification.c: Likewise.
36258 * locale/programs/ld-measurement.c: Likewise.
36259 * locale/programs/ld-messages.c: Likewise.
36260 * locale/programs/ld-monetary.c: Likewise.
36261 * locale/programs/ld-name.c: Likewise.
36262 * locale/programs/ld-numeric.c: Likewise.
36263 * locale/programs/ld-paper.c: Likewise.
36264 * locale/programs/ld-telephone.c: Likewise.
36265 * locale/programs/ld-time.c: Likewise.
36266 * locale/programs/linereader.c: Likewise.
36267 * locale/programs/locale.c: Likewise.
36268 * locale/programs/locarchive.c: Likewise.
36269 * locale/programs/locfile.h: Likewise.
36270 * locale/programs/repertoire.c: Likewise.
36271 * locale/programs/simple-hash.c: Likewise.
36272 * locale/programs/simple-hash.h: Likewise.
36273 * malloc/memusage.c: Likewise.
36274 * malloc/memusagestat.c: Likewise.
36275 * nis/nis_defaults.c: Likewise.
36276 * nis/nis_hash.c: Likewise.
36277 * nis/nis_print.c: Likewise.
36278 * nis/nis_xdr.c: Likewise.
36279 * nscd/connections.c: Likewise.
36280 * nscd/hstcache.c: Likewise.
36281 * nscd/nscd_gethst_r.c: Likewise.
36282 * nscd/nscd_getserv_r.c: Likewise.
36283 * nscd/nscd_helper.c: Likewise.
36284 * nscd/servicescache.c: Likewise.
36285 * nss/makedb.c: Likewise.
36286 * nss/nss_db/db-XXX.c: Likewise.
36287 * nss/nss_db/db-initgroups.c: Likewise.
36288 * nss/nss_db/db-netgrp.c: Likewise.
36289 * nss/nss_files/files-network.c: Likewise.
36290 * nss/nss_files/files-parse.c: Likewise.
36291 * posix/bug-regex5.c: Likewise.
36292 * posix/fnmatch_loop.c: Likewise.
36293 * posix/regcomp.c: Likewise.
36294 * posix/regexec.c: Likewise.
36295 * posix/tst-rfc3484-2.c: Likewise.
36296 * posix/tst-rfc3484-3.c: Likewise.
36297 * posix/tst-rfc3484.c: Likewise.
36298 * resolv/nss_dns/dns-canon.c: Likewise.
36299 * resolv/nss_dns/dns-network.c: Likewise.
36300 * resolv/res_init.c: Likewise.
36301 * resolv/res_mkquery.c: Likewise.
36302 * resolv/tst-aton.c: Likewise.
36303 * stdlib/cxa_atexit.c: Likewise.
36304 * stdlib/cxa_finalize.c: Likewise.
36305 * stdlib/gen-fpioconst.c: Likewise.
36306 * stdlib/strtol_l.c: Likewise.
36307 * string/tst-endian.c: Likewise.
36308 * sunrpc/auth_des.c: Likewise.
36309 * sunrpc/clnt_udp.c: Likewise.
36310 * sunrpc/rtime.c: Likewise.
36311 * sunrpc/svcauth_des.c: Likewise.
36312 * sunrpc/xdr.c: Likewise.
36313 * sunrpc/xdr_intXX_t.c: Likewise.
36314 * sunrpc/xdr_rec.c: Likewise.
36315 * sysdeps/generic/ldconfig.h: Likewise.
36316 * sysdeps/generic/ldsodefs.h: Likewise.
36317 * sysdeps/generic/memusage.h: Likewise.
36318 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36319 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36320 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36321 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36324 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36325 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36326 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36327 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36328 * sysdeps/posix/getaddrinfo.c: Likewise.
36329 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36330 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36331 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36332 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36333 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36334 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36335 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36336 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36337 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36338 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36339 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36340 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36341 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36342 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36343 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36344 * sysdeps/x86_64/dl-tls.h: Likewise.
36345 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36346 * time/alt_digit.c: Likewise.
36347 * time/era.c: Likewise.
36348 * wcsmbs/tst-c16c32-1.c: Likewise.
36349
36350 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36351
36352 * math/libm-test.inc (struct test_sincos_data): New type.
36353 (RUN_TEST_LOOP_sincos): New macro.
36354 (sincos_test_data): New variable.
36355 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36356
36357 2013-05-16 Richard Henderson <rth@redhat.com>
36358
36359 * math/atest-exp2.c (LIMB64): New macro.
36360 (CONSTSZ): New macro.
36361 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36362 (hexdig): Move ...
36363 (print_mpn_fp): ... to function scope.
36364 (read_mpn_hex): Remove.
36365 (get_log2): Remove.
36366 (exp2_mpn): Use mp_log2.
36367 (main): Use mp_exp1.
36368
36369 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36370
36371 * math/libm-test.inc: Remove comment about not testing "inexact"
36372 exceptions.
36373 (INEXACT_EXCEPTION): New macro.
36374 (NO_INEXACT_EXCEPTION): Likewise.
36375 (INVALID_EXCEPTION_OK): Update value.
36376 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36377 (OVERFLOW_EXCEPTION_OK): Likewise.
36378 (UNDERFLOW_EXCEPTION_OK): Likewise.
36379 (IGNORE_ZERO_INF_SIGN): Likewise.
36380 (ERRNO_UNCHANGED): Likewise.
36381 (ERRNO_EDOM): Likewise.
36382 (ERRNO_ERANGE): Likewise.
36383 (test_exceptions): Handle testing "inexact" exceptions.
36384 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36385 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36386 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36387 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36388 INEXACT_EXCEPTION.
36389 (rint_towardzero_test_data): Likewise.
36390 (rint_downward_test_data): Likewise.
36391 (rint_upward_test_data): Likewise.
36392
36393 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36394 with OVERFLOW_EXCEPTION.
36395 (exp10_test_data): Likewise.
36396 (exp2_test_data): Likewise.
36397 (expm1_test_data): Likewise.
36398 (lgamma_test_data): Likewise.
36399 (pow_test_data): Likewise.
36400 (tgamma_test_data): Likewise.
36401 (yn_test_data): Remove duplicate test of overflow.
36402
36403 * math/libm-test.inc (struct test_cc_c_data): New type.
36404 (RUN_TEST_LOOP_cc_c): New macro.
36405 (cpow_test_data): New variable.
36406 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36407
36408 * math/libm-test.inc (struct test_f_L_data): New type.
36409 (RUN_TEST_LOOP_f_L): New macro.
36410 (llrint_test_data): New variable.
36411 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36412 (llrint_tonearest_test_data): New variable.
36413 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36414 (llrint_towardzero_test_data): New variable.
36415 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36416 (llrint_downward_test_data): New variable.
36417 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36418 (llrint_upward_test_data): New variable.
36419 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36420 (llround_test_data): New variable.
36421 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36422
36423 2013-05-13 Peter Collingbourne <pcc@google.com>
36424
36425 * math/atest-exp2.c (get_log2): Remove const attribute.
36426
36427 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36428
36429 * math/libm-test.inc (struct test_f_l_data): New type.
36430 (RUN_TEST_LOOP_f_l): New macro.
36431 (lrint_test_data): New variable.
36432 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36433 (lrint_tonearest_test_data): New variable.
36434 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36435 (lrint_towardzero_test_data): New variable.
36436 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36437 (lrint_downward_test_data): New variable.
36438 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36439 (lrint_upward_test_data): New variable.
36440 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36441 (lround_test_data): New variable.
36442 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36443
36444 2013-05-15 Peter Collingbourne <pcc@google.com>
36445
36446 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36447 (EXTRACT_WORDS64) Use where appropriate.
36448 (INSERT_WORDS64) Likewise.
36449
36450 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36451 constraints with x constraints.
36452 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36453
36454 * malloc/obstack.c (_obstack_compat): Add initializer.
36455
36456 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36457
36458 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36459 si_trapno and add si_addr_lsb to _sifields.sigfault.
36460 (si_trapno): Remove macro.
36461 (si_addr_lsb): Define new macro.
36462 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36463
36464 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36465
36466 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36467 instead of TEST_f_l.
36468 (llrint_test_tonearest): Likewise.
36469 (llrint_test_towardzero): Likewise.
36470 (llrint_test_downward): Likewise.
36471 (llrint_test_upward): Likewise.
36472 (llround_test): Likewise.
36473
36474 * math/libm-test.inc (struct test_f_i_data): Add comment.
36475 (RUN_TEST_LOOP_f_b): New macro.
36476 (RUN_TEST_LOOP_f_b_tg): Likewise.
36477 (finite_test_data): New variable.
36478 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36479 (isfinite_test_data): New variable.
36480 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36481 (isinf_test_data): New variable.
36482 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36483 (isnan_test_data): New variable.
36484 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36485 (isnormal_test_data): New variable.
36486 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36487 (issignaling_test_data): New variable.
36488 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36489 (signbit_test_data): New variable.
36490 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36491
36492 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36493 with INVALID_EXCEPTION.
36494 (acosh_test_data): Likewise.
36495 (asin_test_data): Likewise.
36496 (atanh_test_data): Likewise.
36497 (fmod_test_data): Likewise.
36498 (log_test_data): Likewise.
36499 (log10_test_data): Likewise.
36500 (log2_test_data): Likewise.
36501 (pow_test_data): Likewise.
36502 (sqrt_test_data): Likewise.
36503 (y0_test_data): Likewise.
36504 (y1_test_data): Likewise.
36505 (yn_test_data): Likewise.
36506
36507 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36508 function contents.
36509
36510 * math/libm-test.inc (struct test_ff_i_data): New type.
36511 (RUN_TEST_LOOP_ff_i_tg): New macro.
36512 (isgreater_test_data): New variable.
36513 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36514 (isgreaterequal_test_data): New variable.
36515 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36516 (isless_test_data): New variable.
36517 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36518 (islessequal_test_data): New variable.
36519 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36520 (islessgreater_test_data): New variable.
36521 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36522 (isunordered_test_data): New variable.
36523 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36524
36525 2013-05-14 David S. Miller <davem@davemloft.net>
36526
36527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36528
36529 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36530
36531 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36532
36533 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36534 extra_test to int.
36535 (struct test_f_i_data): Change type of max_ulp to int.
36536
36537 * math/libm-test.inc (test_ffI_f1_data): New type.
36538 (RUN_TEST_LOOP_ffI_f1): New macro.
36539 (remquo_test_data): New variable.
36540 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36541
36542 * setjmp/tst-setjmp-fp.c: New file.
36543 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36544 (link-libm): New variable.
36545 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36546
36547 * math/libm-test.inc (struct test_f_i_data): New type.
36548 (RUN_TEST_LOOP_f_i): New macro.
36549 (RUN_TEST_LOOP_f_i_tg): Likewise.
36550 (fpclassify_test_data): New variable.
36551 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36552 (ilogb_test_data): New variable.
36553 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36554
36555 * math/libm-test.inc (scalbln_test): Correct function name in END
36556 call.
36557
36558 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36559 (RUN_TEST_LOOP_fI_f1): New macro.
36560 (frexp_test_data): New variable.
36561 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36562
36563 * math/libm-test.inc (struct test_fF_f1_data): New type.
36564 (RUN_TEST_LOOP_fF_f1): New macro.
36565 (modf_test_data): New variable.
36566 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36567
36568 * math/libm-test.inc (struct test_f_f1_data): New type.
36569 (RUN_TEST_LOOP_f_f1): New macro.
36570 (gamma_test_data): New variable.
36571 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36572 (lgamma_test_data): New variable.
36573 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36574
36575 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36576
36577 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36578 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36579 (main): Comment "tls" pseudo-hwcap.
36580
36581 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36582
36583 * math/libm-test.inc (struct test_fl_f_data): New type.
36584 (RUN_TEST_LOOP_fl_f): New variable.
36585 (scalbln_test_data): New variable.
36586 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36587
36588 * math/libm-test.inc (struct test_fi_f_data): New type.
36589 (RUN_TEST_LOOP_fi_f): New macro.
36590 (ldexp_test_data): New variable.
36591 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36592 (scalbn_test_data): New variable.
36593 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36594
36595 * math/libm-test.inc (struct test_c_f_data): New type.
36596 (RUN_TEST_LOOP_c_f): New macro.
36597 (cabs_test_data): New variable.
36598 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36599 (carg_test_data): New variable.
36600 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36601 (cimag_test_data): New variable.
36602 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36603 (creal_test_data): New variable.
36604 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36605
36606 * math/libm-test.inc (struct test_if_f_data): New type.
36607 (RUN_TEST_LOOP_if_f): New macro.
36608 (jn_test_data): New variable.
36609 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36610 (yn_test_data): New variable.
36611 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36612
36613 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36614
36615 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36616
36617 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36618 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36619
36620 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36621
36622 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36623 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36624 (bench-deps): Add bench-timing.h.
36625 * benchtests-bench-skeleton.c: Include bench-timing.h.
36626 (main): Use TIMING_* macros instead of clock_gettime.
36627 * benchtests/bench-timing.h: New file.
36628
36629 [BZ #14582]
36630 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36631 Renamed from _LIB_VERSION.
36632 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36633
36634 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36635
36636 * math/libm-test.inc (struct test_fff_f_data): New type.
36637 (RUN_TEST_LOOP_fff_f): New macro.
36638 (fma_test_data): New variable.
36639 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36640 (fma_towardzero_test_data): New variable.
36641 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36642 (fma_downward_test_data): New variable.
36643 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36644 (fma_upward_test_data): New variable.
36645 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36646
36647 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36648 (struct test_c_c_data): New type.
36649 (RUN_TEST_LOOP_c_c): New macro.
36650 (cacos_test_data): New variable.
36651 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36652 (cacosh_test_data): New variable.
36653 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36654 (casin_test_data): New variable.
36655 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36656 (casinh_test_data): New variable.
36657 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36658 (catan_test_data): New variable.
36659 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36660 (catanh_test_data): New variable.
36661 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36662 (ccos_test_data): New variable.
36663 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36664 (ccosh_test_data): New variable.
36665 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36666 (cexp_test_data): New variable.
36667 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36668 (clog_test_data): New variable.
36669 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36670 (clog10_test_data): New variable.
36671 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36672 (conj_test_data): New variable.
36673 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36674 (cproj_test_data): New variable.
36675 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36676 (csin_test_data): New variable.
36677 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36678 (csinh_test_data): New variable.
36679 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36680 (csqrt_test_data): New variable.
36681 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36682 (ctan_test_data): New variable.
36683 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36684 (ctan_tonearest_test_data): New variable.
36685 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36686 (ctan_towardzero_test_data): New variable.
36687 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36688 (ctan_downward_test_data): New variable.
36689 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36690 (ctan_upward_test_data): New variable.
36691 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36692 (ctanh_test_data): New variable.
36693 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36694 (ctanh_tonearest_test_data): New variable.
36695 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36696 (ctanh_towardzero_test_data): New variable.
36697 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36698 (ctanh_downward_test_data): New variable.
36699 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36700 (ctanh_upward_test_data): New variable.
36701 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36702 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36703 of BUILD_COMPLEX.
36704
36705 * math/libm-test.inc (struct test_ff_f_data): New type.
36706 (struct test_ff_f_data_nexttoward): Likewise.
36707 (RUN_TEST_LOOP_2_f): New macro.
36708 (RUN_TEST_LOOP_ff_f): Likewise.
36709 (atan2_test_data): New variable.
36710 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36711 (copysign_test_data): New variable.
36712 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36713 (fdim_test_data): New variable.
36714 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36715 (fmax_test_data): New variable.
36716 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36717 (fmin_test_data): New variable.
36718 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36719 (fmod_test_data): New variable.
36720 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36721 (hypot_test_data): New variable.
36722 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36723 (nextafter_test_data): New variable.
36724 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36725 (nexttoward_test_data): New variable.
36726 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36727 (pow_test_data): New variable.
36728 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36729 (pow_tonearest_test_data): New variable.
36730 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36731 (pow_towardzero_test_data): New variable.
36732 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36733 (pow_downward_test_data): New variable.
36734 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36735 (pow_upward_test_data): New variable.
36736 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36737 (remainder_test_data): New variable.
36738 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36739 (scalb_test_data): New variable.
36740 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36741 * sysdeps/i386/fpu/libm-test-ulps: Update.
36742
36743 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36744
36745 * math/libm-test.inc (fma_test): Use max_value instead of local
36746 variable fltmax.
36747 (nextafter_test): Likewise.
36748
36749 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36750 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36751 (acos_downward_test_data): New variable.
36752 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36753 (acos_upward_test_data): New variable.
36754 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36755 (acosh_test_data): New variable.
36756 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36757 (asin_test_data): New variable.
36758 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36759 (asin_tonearest_test_data): New variable.
36760 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36761 (asin_towardzero_test_data): New variable.
36762 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36763 (asin_downward_test_data): New variable.
36764 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36765 (asin_upward_test_data): New variable.
36766 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36767 (asinh_test_data): New variable.
36768 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36769 (atan_test_data): New variable.
36770 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36771 (atanh_test_data): New variable.
36772 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36773 (cbrt_test_data): New variable.
36774 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36775 (ceil_test_data): New variable.
36776 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36777 (cos_test_data): New variable.
36778 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36779 (cos_tonearest_test_data): New variable.
36780 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36781 (cos_towardzero_test_data): New variable.
36782 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36783 (cos_downward_test_data): New variable.
36784 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36785 (cos_upward_test_data): New variable.
36786 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36787 (cosh_test_data): New variable.
36788 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36789 (cosh_tonearest_test_data): New variable.
36790 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36791 (cosh_towardzero_test_data): New variable.
36792 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36793 (cosh_downward_test_data): New variable.
36794 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36795 (cosh_upward_test_data): New variable.
36796 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36797 (erf_test_data): New variable.
36798 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36799 (erfc_test_data): New variable.
36800 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36801 (exp_test_data): New variable.
36802 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36803 (exp_tonearest_test_data): New variable.
36804 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36805 (exp_towardzero_test_data): New variable.
36806 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36807 (exp_downward_test_data): New variable.
36808 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36809 (exp_upward_test_data): New variable.
36810 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36811 (exp10_test_data): New variable.
36812 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36813 (exp2_test_data): New variable.
36814 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36815 (expm1_test_data): New variable.
36816 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36817 (fabs_test_data): New variable.
36818 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36819 (floor_test_data): New variable.
36820 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36821 (j0_test_data): New variable.
36822 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36823 (j1_test_data): New variable.
36824 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36825 (log_test_data): New variable.
36826 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36827 (log10_test_data): New variable.
36828 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36829 (log1p_test_data): New variable.
36830 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36831 (log2_test_data): New variable.
36832 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36833 (logb_test_data): New variable.
36834 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36835 (logb_downward_test_data): New variable.
36836 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36837 (nearbyint_test_data): New variable.
36838 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36839 (rint_test_data): New variable.
36840 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36841 (rint_tonearest_test_data): New variable.
36842 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36843 (rint_towardzero_test_data): New variable.
36844 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36845 (rint_downward_test_data): New variable.
36846 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36847 (rint_upward_test_data): New variable.
36848 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36849 (round_test_data): New variable.
36850 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36851 (sin_test_data): New variable.
36852 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36853 (sin_tonearest_test_data): New variable.
36854 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36855 (sin_towardzero_test_data): New variable.
36856 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36857 (sin_downward_test_data): New variable.
36858 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36859 (sin_upward_test_data): New variable.
36860 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36861 (sinh_test_data): New variable.
36862 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36863 (sinh_tonearest_test_data): New variable.
36864 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36865 (sinh_towardzero_test_data): New variable.
36866 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36867 (sinh_downward_test_data): New variable.
36868 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36869 (sinh_upward_test_data): New variable.
36870 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36871 (sqrt_test_data): New variable.
36872 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36873 (tan_test_data): New variable.
36874 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36875 (tan_tonearest_test_data): New variable.
36876 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36877 (tan_towardzero_test_data): New variable.
36878 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36879 (tan_downward_test_data): New variable.
36880 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36881 (tan_upward_test_data): New variable.
36882 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36883 (tanh_test_data): New variable.
36884 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36885 (tgamma_test_data): New variable.
36886 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36887 (trunc_test_data): New variable.
36888 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36889 (y0_test_data): New variable.
36890 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36891 (y1_test_data): New variable.
36892 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36893 (significand_test_data): New variable.
36894 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36895
36896 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36897
36898 [BZ #12387]
36899 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36900
36901 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36902
36903 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36904
36905 2013-05-10 Andreas Jaeger <aj@suse.de>
36906
36907 [BZ #15448]
36908 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36909 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36910
36911 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36912
36913 * math/gen-libm-test.pl (adjust_arg): New function.
36914 (special_functions): Handle generating output in both functions
36915 and arrays.
36916 (parse_args): Likewise.
36917 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36918 $in_func argument to parse_args.
36919 * math/libm-test.inc (struct test_f_f_data): New type.
36920 (IF_ROUND_INIT_): New macro.
36921 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36922 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36923 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36924 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36925 (ROUND_RESTORE_): Likewise.
36926 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36927 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36928 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36929 (ROUND_RESTORE_FE_UPWARD): Likewise.
36930 (RUN_TEST_LOOP_f_f): New macro.
36931 (acos_test_data): New variable.
36932 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36933 (acos_tonearest_test_data): New variable.
36934 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36935
36936 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36937
36938 * benchtests/bench-skeleton.c (startup): Fix coding style.
36939
36940 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36941
36942 [BZ #6809]
36943 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36944 negative infinity argument.
36945 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36946 negative infinity argument.
36947 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36948 negative infinity argument.
36949 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36950 domain errors.
36951
36952 2013-05-10 Florian Weimer <fweimer@redhat.com>
36953
36954 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36955 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36956 * iconv/iconv_prog.c (main): Likewise.
36957 * locale/programs/charmap-dir.c (charmap_readdir)
36958 (fopen_uncompressed): Likewise.
36959 * locale/programs/locfile.c (siblings_uncached)
36960 (write_locale_data): Use lstat64 instead of lstat.
36961 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36962 stat.
36963
36964 2013-05-10 Andreas Jaeger <aj@suse.de>
36965
36966 [BZ #15395]
36967 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36968 localization.
36969 Include <locale.h>.
36970
36971 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36972
36973 * elf/dl-close.c (_dl_close_worker): Add comments.
36974
36975 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36976
36977 [BZ #15359]
36978 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36979 high part of pi/2.
36980 (__ieee754_rem_pio2l): Update comments.
36981
36982 [BZ #15429]
36983 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36984 high part of pi/2.
36985 (__ieee754_rem_pio2l): Update comments.
36986
36987 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36988 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36989
36990 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36991 M_PI_4l.
36992
36993 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36994 (M_PI_34_LOG10El): Likewise.
36995 (M_PI2_LOG10El): Likewise.
36996 (M_PI4_LOG10El): Likewise.
36997 (M_PI_LOG10El): Likewise.
36998
36999 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37000
37001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37002
37003 2013-05-08 Joseph Myers <joseph@codesourcery.com>
37004
37005 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37006 (MINUS_ZERO_INIT): Likewise.
37007 (PLUS_INFTY_INIT): Likewise.
37008 (MINUS_INFTY_INIT): Likewise.
37009 (QNAN_VALUE_INIT): Likewise.
37010 (MAX_VALUE_INIT): Likewise.
37011 (MIN_VALUE_INIT): Likewise.
37012 (MIN_SUBNORM_VALUE_INIT): Likewise.
37013 (plus_zero): Initialize with PLUS_ZERO_INIT.
37014 (minus_zero): Initialize with MINUS_ZERO_INIT.
37015 (plus_infty): Initialize with PLUS_INFTY_INIT.
37016 (minus_infty): Initialize with MINUS_INFTY_INIT.
37017 (qnan_value): Initialize with QNAN_VALUE_INIT.
37018 (max_value): Initialize with MAX_VALUE_INIT.
37019 (min_value): Initialize with MIN_VALUE_INIT.
37020 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37021
37022 * math/libm-test.inc (RUN_TEST_if_f): New macro.
37023 (jn_test): Use TEST_if_f instead of TEST_ff_f.
37024 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37025 (yn_test): Use TEST_if_f instead of TEST_ff_f.
37026
37027 * math/libm-test.inc (RUN_TEST_f_f): New macro.
37028 (RUN_TEST_2_f): Likewise.
37029 (RUN_TEST_ff_f): Likewise.
37030 (RUN_TEST_fi_f): Likewise.
37031 (RUN_TEST_fl_f): Likewise.
37032 (RUN_TEST_fff_f): Likewise.
37033 (RUN_TEST_c_f): Likewise.
37034 (RUN_TEST_f_f1): Likewise.
37035 (RUN_TEST_fF_f1): Likewise.
37036 (RUN_TEST_fI_f1): Likewise.
37037 (RUN_TEST_ffI_f1): Likewise.
37038 (RUN_TEST_c_c): Likewise.
37039 (RUN_TEST_cc_c): Likewise.
37040 (RUN_TEST_f_i): Likewise.
37041 (RUN_TEST_f_i_tg): Likewise.
37042 (RUN_TEST_ff_i_tg): Likewise.
37043 (RUN_TEST_f_b): Likewise.
37044 (RUN_TEST_f_b_tg): Likewise.
37045 (RUN_TEST_f_l): Likewise.
37046 (RUN_TEST_f_L): Likewise.
37047 (RUN_TEST_sincos): Likewise.
37048 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37049 whether to show exceptions. Do not include ");\n" in return
37050 value.
37051 (special_functions): Output call to RUN_TEST_sincos instead of
37052 check_float calls. Update calls to new_test.
37053 (parse_args): Output call to single RUN_TEST_* macro instead of
37054 check_* calls and other assignments. Update calls to new_test.
37055
37056 [BZ #2546]
37057 [BZ #2560]
37058 [BZ #5159]
37059 [BZ #15426]
37060 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37061 input to result for tgamma overflow.
37062 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37063 (gamma_coeff): New variable.
37064 (NCOEFF): New macro.
37065 (gamma_positive): New function.
37066 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37067 underflow here. Use gamma_positive instead of exp (lgamma) for
37068 other arguments.
37069 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37070 (gamma_coeff): New variable.
37071 (NCOEFF): New macro.
37072 (gammaf_positive): New function.
37073 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37074 underflow here. Use gamma_positive instead of exp (lgamma) for
37075 other arguments.
37076 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37077 (gamma_coeff): New variable.
37078 (NCOEFF): New macro.
37079 (gammal_positive): New function.
37080 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37081 underflow here. Use gamma_positive instead of exp (lgamma) for
37082 other arguments.
37083 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37084 (gamma_coeff): New variable.
37085 (NCOEFF): New macro.
37086 (gammal_positive): New function.
37087 (__ieee754_gammal_r): Handle positive infinity, overflow and
37088 underflow here. Handle NaN the same as positive infinity. Remove
37089 check x < 0xffffffff for negative integers. Use gamma_positive
37090 instead of exp (lgamma) for other arguments.
37091 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37092 (gamma_coeff): New variable.
37093 (NCOEFF): New macro.
37094 (gammal_positive): New function.
37095 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37096 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37097 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37098 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37099 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37100 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37101 * sysdeps/generic/math_private.h (__gamma_productf): New
37102 prototype.
37103 (__gamma_product): Likewise.
37104 (__gamma_productl): Likewise.
37105 * math/Makefile (libm-calls): Add gamma_product.
37106 * math/libm-test.inc (tgamma_test): Add more tests.
37107 * sysdeps/i386/fpu/libm-test-ulps: Update.
37108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37109
37110 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37111
37112 * benchtests/bench-skeleton.c (main): Preheat CPU.
37113
37114 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37115
37116 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37117
37118 2013-05-07 Roland McGrath <roland@hack.frob.com>
37119
37120 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37121 and _dl_skip_args_internal.
37122
37123 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37124
37125 * manual/message.texi (Message Translation): Talk about users.
37126 Message to key mapping impacts design.
37127
37128 2013-05-06 Roland McGrath <roland@hack.frob.com>
37129
37130 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37131
37132 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37133
37134 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37135 * sysdeps/wordsize-64/glob64.c: ... here.
37136
37137 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37138 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37139 New macros.
37140
37141 * debug/getlogin_r_chk.c: Moved to ...
37142 * login/getlogin_r_chk.c: ... here.
37143 * debug/Makefile (routines): Move getlogin_r_chk to ...
37144 * login/Makefile (routines): ... here.
37145 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37146 * login/Versions (libc: GLIBC_2.4): ... here.
37147
37148 * io/poll.c (__poll): Renamed from poll.
37149 Add libc_hidden_def.
37150 (poll): Define as weak alias.
37151
37152 * debug/ptsname_r_chk.c: Moved to ...
37153 * login/ptsname_r_chk.c: ... here.
37154 * debug/Makefile (routines): Move ptsname_r_chk to ...
37155 * login/Makefile (routines): ... here.
37156 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37157 * login/Versions (libc: GLIBC_2.4): ... here.
37158
37159 * posix/getlogin.c: Moved to ...
37160 * login/getlogin.c: ... here.
37161 * posix/getlogin_r.c: Moved to ...
37162 * login/getlogin_r.c: ... here.
37163 * posix/getlogin_r.c: Moved to ...
37164 * login/getlogin_r.c: ... here.
37165 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37166 * login/Makefile (routines): ... here.
37167 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37168 * login/Versions (libc: GLIBC_2.0): ... here.
37169
37170 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37171 (setrlimit): Define as weak alias.
37172
37173 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37174 Call __ names for open, ftruncate, and close.
37175 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37176 (truncate): Define as weak alias.
37177
37178 2013-05-06 Joseph Myers <joseph@codesourcery.com>
37179
37180 * math/gen-libm-test.pl (parse_args): Initialize x before each
37181 test of frexp, modf and remquo.
37182
37183 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37184 test signgam value.
37185
37186 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37187
37188 [BZ #15418]
37189 [BZ #15419]
37190 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37191 internal tests.
37192 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37193
37194 2013-05-06 Roland McGrath <roland@hack.frob.com>
37195
37196 * elf/dl-writev.h: New file.
37197 * elf/dl-misc.c: Include it.
37198 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37199 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37200
37201 2013-05-04 Joseph Myers <joseph@codesourcery.com>
37202
37203 * math/libm-test.inc (noXFails): Remove variable.
37204 (noXPasses): Likewise.
37205 (BUILD_COMPLEX_INT): Remove macro.
37206 (print_screen): Remove xfail argument.
37207 (print_screen_max_error): Likewise.
37208 (update_stats): Likewise.
37209 (print_max_error): Likewise. Update calls to other affected
37210 functions.
37211 (print_complex_max_error): Likewise.
37212 (test_single_exception): Update calls to print_screen.
37213 (test_single_errno): Likewise.
37214 (check_float_internal): Remove xfail argument. Update calls to
37215 other affected functions.
37216 (check_float): Likewise.
37217 (check_complex): Likewise.
37218 (check_int): Likewise.
37219 (check_long): Likewise.
37220 (check_bool): Likewise.
37221 (check_longlong): Likewise.
37222 (main): Don't print noXFails and noXPasses.
37223 * math/gen-libm-test.pl (top level): Don't mention expected
37224 failure handling in comment.
37225 (new_test): Don't handle expected failures.
37226 (parse_args): Don't mention expected failure handling in comment.
37227 (generate_testfile): Don't handle expected failures.
37228 (parse_ulps): Likewise.
37229 (print_ulps_file): Likewise.
37230 (get_failure): Remove function.
37231 (output_test): Don't handle expected failures.
37232 * make/README.libm-test: Don't mention expected failure handling.
37233
37234 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37235 (minus_zero): Likewise.
37236 (plus_infty): Likewise.
37237 (minus_infty): Likewise.
37238 (qnan_value): Likewise.
37239 (max_value): Likewise.
37240 (min_value): Likewise.
37241 (min_subnorm_value): Likewise.
37242 (initialize): Do not initialize those variables dynamically.
37243
37244 2013-05-03 Roland McGrath <roland@hack.frob.com>
37245
37246 * io/open.c (__open_2): Moved to ...
37247 * io/open_2.c: ... this new file.
37248 * io/open64.c (__open64_2): Moved to ...
37249 * io/open64_2.c: ... this new file.
37250 * io/openat.c (__openat_2): Moved to ...
37251 * io/openat_2.c: ... this new file.
37252 * io/openat64.c (__openat64_2): Moved to ...
37253 * io/openat64_2.c: ... this new file.
37254 * io/Makefile (routines): Add them.
37255 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37256 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37257 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37258 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37259 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37260 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37261 (__openat64): Add hidden_ver.
37262 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37263 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37264
37265 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37266 Separately conditionalize setting of GLRO(dl_sysinfo) so
37267 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37268 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37269
37270 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37271
37272 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37273 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37274 definition.
37275 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37276 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37277 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37278 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37279 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37280
37281 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37282
37283 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37284 test signgam value.
37285
37286 * math/libm-test.inc (hypot_test): Do not use
37287 IGNORE_ZERO_INF_SIGN.
37288
37289 2013-05-03 Andreas Jaeger <aj@suse.de>
37290
37291 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37292 Linux 3.9.
37293 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37294 (PF_MAX): Adjust for VSOCK change.
37295
37296 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37297
37298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37299
37300 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37301
37302 [BZ #15264]
37303 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37304 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37305 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37306
37307 2013-05-02 David S. Miller <davem@davemloft.net>
37308
37309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37310
37311 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37312
37313 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37314
37315 2013-05-01 Roland McGrath <roland@hack.frob.com>
37316
37317 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37318
37319 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37320
37321 [BZ #14952]
37322 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37323 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37324 Use __attribute__ ((__gnu_inline__)).
37325 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37326 Don't use __attribute__ ((__gnu_inline__)).
37327
37328 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37329
37330 [BZ #15423]
37331 * math/s_catan.c (__catan): Handle small real or imaginary part of
37332 input specially to avoid spurious underflow.
37333 * math/s_catanf.c (__catanf): Likewise.
37334 * math/s_catanh.c (__catanh): Likewise.
37335 * math/s_catanhf.c (__catanhf): Likewise.
37336 * math/s_catanhl.c (__catanhl): Likewise.
37337 * math/s_catanl.c (__catanl): Likewise.
37338 * math/libm-test.inc (catan_test): Add more tests.
37339 (catanh_test): Likewise.
37340 * sysdeps/i386/fpu/libm-test-ulps: Update.
37341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37342
37343 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37344
37345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37346
37347 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37348
37349 [BZ #15416]
37350 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37351 accurately for denominator in atan2.
37352 * math/s_catanf.c (__catanf): Likewise.
37353 * math/s_catanh.c (__catanh): Likewise.
37354 * math/s_catanhf.c (__catanhf): Likewise.
37355 * math/s_catanhl.c (__catanhl): Likewise.
37356 * math/s_catanl.c (__catanl): Likewise.
37357 * math/libm-test.inc (catan_test): Add more tests.
37358 (catanh_test): Likewise.
37359 * sysdeps/i386/fpu/libm-test-ulps: Update.
37360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37361
37362 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37363
37364 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37365
37366 * benchtests/Makefile (bench): Remove slow benchmarks.
37367 * benchtests/atan-inputs: Add slow benchmark inputs.
37368 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37369 (BENCH_FUNC): Accept variant offset.
37370 (VARIANT): Define.
37371 * benchtests/bench-skeleton.c (main): Run benchmark for each
37372 variant.
37373 * benchtests/cos-inputs: Add slow benchmark inputs.
37374 * benchtests/exp-inputs: Likewise.
37375 * benchtests/pow-inputs: Likewise.
37376 * benchtests/sin-inputs: Likewise.
37377 * benchtests/slowatan-inputs: Remove.
37378 * benchtests/slowatan.c: Remove.
37379 * benchtests/slowcos-inputs: Remove.
37380 * benchtests/slowcos.c: Remove.
37381 * benchtests/slowexp-inputs: Remove.
37382 * benchtests/slowexp.c: Remove.
37383 * benchtests/slowpow-inputs: Remove.
37384 * benchtests/slowpow.c: Remove.
37385 * benchtests/slowsin-inputs: Remove.
37386 * benchtests/slowsin.c: Remove.
37387 * benchtests/slowtan-inputs: Remove.
37388 * benchtests/slowtan.c: Remove.
37389 * benchtests/tan-inputs: Add slow benchmark inputs.
37390 * scripts/bench.pl: Parse comments and directives.
37391
37392 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37393 in CPPFLAGS.
37394 ($(objpfx)bench-%.c): Remove *-ITER.
37395 * benchtests/bench-modf.c: Remove definition of ITER.
37396 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37397 (main): Loop for DURATION seconds instead of fixed number of
37398 iterations.
37399 * scripts/bench.pl: Don't expect iterations in parameters.
37400
37401 2013-04-29 Roland McGrath <roland@hack.frob.com>
37402
37403 * io/fchdir.c (__fchdir): Renamed from fchdir.
37404 (fchdir): Define as weak alias.
37405
37406 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37407
37408 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37409 (ERRNO_EDOM): Likewise.
37410 (ERRNO_ERANGE): Likewise.
37411 (noErrnoTests): New variable.
37412 (init_max_error): Set errno to 0.
37413 (test_single_errno): New function.
37414 (test_errno): Likewise.
37415 (check_float_internal): Call test_errno. Set errno to 0.
37416 (check_complex): Refer to errno tests in comment.
37417 (check_int): Call test_errno. Set errno to 0.
37418 (check_long): Likewise.
37419 (check_bool): Likewise.
37420 (check_longlong): Likewise.
37421 (cos_test): Use ERRNO_* flags for errno tests instead of
37422 check_int.
37423 (expm1_test): Likewise.
37424 (fmod_test): Likewise.
37425 (ilogb_test): Likewise.
37426 (lgamma_test): Likewise.
37427 (pow_test): Likewise.
37428 (remainder_test): Likewise.
37429 (sin_test): Likewise.
37430 (tan_test): Likewise.
37431 (yn_test): Likewise.
37432 (initialize): Set errno to 0.
37433 (main): Print number of errno tests.
37434 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37435
37436 2013-04-29 Andreas Jaeger <aj@suse.de>
37437
37438 [BZ #15084]
37439 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37440 and RES_USEVC.
37441
37442 [BZ #15085]
37443 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37444 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37445 unimplemented.
37446
37447 [BZ #15380]
37448 * stdlib/random.c (__initstate): Return NULL if
37449 __initstate fails.
37450
37451 [BZ #15086]
37452 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37453 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37454 RES_SNGLKUPREOP.
37455
37456 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37457
37458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37459
37460 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37461
37462 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37463 of individual tests.
37464 (casin_test): Likewise.
37465 (casinh_test): Likewise.
37466
37467 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37468
37469 [BZ #15409]
37470 * math/s_catan.c (__catan): Handle arguments with large real or
37471 imaginary part separately without squaring.
37472 * math/s_catanf.c (__catanf): Likewise.
37473 * math/s_catanh.c (__catanh): Likewise.
37474 * math/s_catanhf.c (__catanhf): Likewise.
37475 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37476 and redefine.
37477 (__catanhl): Handle arguments with large real or imaginary part
37478 separately without squaring.
37479 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37480 and redefine.
37481 (__catanl): Handle arguments with large real or imaginary part
37482 separately without squaring.
37483 * math/libm-test.inc (catan_test): Add more tests.
37484 (catanh_test): Likewise.
37485 * sysdeps/i386/fpu/libm-test-ulps: Update.
37486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37487
37488 2013-04-27 Andreas Jaeger <aj@suse.de>
37489
37490 [BZ #15007]
37491 * stdlib/stdlib.h: Update guards for qecvt.
37492 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37493 <stdlib.h>.
37494
37495 2013-04-27 Allan McRae <allan@archlinux.org>
37496
37497 * sysdeps/i386/fpu/libm-test-ulps: Update.
37498
37499 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37500
37501 [BZ #15406]
37502 * math/s_catan.c: Include <float.h>.
37503 (__catan): Ensure underflow exception occurs for underflowed
37504 result.
37505 * math/s_catanf.c: Include <float.h>.
37506 (__catanf): Ensure underflow exception occurs for underflowed
37507 result.
37508 * math/s_catanh.c: Include <float.h>.
37509 (__catanh): Ensure underflow exception occurs for underflowed
37510 result.
37511 * math/s_catanhf.c: Include <float.h>.
37512 (__catanhf): Ensure underflow exception occurs for underflowed
37513 result.
37514 * math/s_catanhl.c: Include <float.h>.
37515 (__catanhl): Ensure underflow exception occurs for underflowed
37516 result.
37517 * math/s_catanl.c: Include <float.h>.
37518 (__catanl): Ensure underflow exception occurs for underflowed
37519 result.
37520 * math/libm-test.inc (catan_test): Add more tests.
37521 (catanh_test): Likewise.
37522
37523 [BZ #15405]
37524 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37525 underflowed result.
37526 * math/s_ccoshf.c (__ccoshf): Likewise.
37527 * math/s_ccoshl.c (__ccoshl): Likewise.
37528 * math/s_csin.c (__csin): Likewise.
37529 * math/s_csinf.c (__csinf): Likewise.
37530 * math/s_csinh.c (__csinh): Likewise.
37531 * math/s_csinhf.c (__csinhf): Likewise.
37532 * math/s_csinhl.c (__csinhl): Likewise.
37533 * math/s_csinl.c (__csinl): Likewise.
37534 * math/libm-test.inc (ccos_test): Add more tests.
37535 (ccosh_test): Likewise.
37536 (csin_test): Likewise.
37537 (csinh_test): Likewise.
37538
37539 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37540
37541 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37542 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37543 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37544 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37545 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37546 powerpc/power5+/fpu folders.
37547 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37548
37549
37550 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37551
37552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37553
37554 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37555
37556 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37557 additions to variable.
37558 [$(config-machine) = x86_64] (modules-names): Likewise.
37559 ($(objpfx)tst-audit3): Remove dependency.
37560 ($(objpfx)tst-audit3.out): Likewise.
37561 ($(objpfx)tst-audit4): Likewise.
37562 ($(objpfx)tst-audit4.out): Likewise.
37563 ($(objpfx)tst-audit5): Likewise.
37564 ($(objpfx)tst-audit5.out): Likewise.
37565 ($(objpfx)tst-audit6): Likewise.
37566 ($(objpfx)tst-audit6.out): Likewise.
37567 ($(objpfx)tst-audit7): Likewise.
37568 ($(objpfx)tst-audit7.out): Likewise.
37569 (tst-audit3-ENV): Remove variable.
37570 (tst-audit4-ENV): Likewise.
37571 (tst-audit5-ENV): Likewise.
37572 (tst-audit6-ENV): Likewise.
37573 (tst-audit7-ENV): Likewise.
37574 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37575 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37576 addition to variable.
37577 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37578 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37579 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37580 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37581 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37582 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37583 tst-audit3, tst-audit4 and tst-audit5.
37584 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37585 tst-audit6 and tst-audit7.
37586 [$(subdir) = elf] (modules-names): Add audit modules for those
37587 tests.
37588 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37589 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37590 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37591 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37592 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37593 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37594 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37595 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37596 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37597 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37598 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37599 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37600 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37601 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37602 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37603 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37604 Likewise.
37605 [$(subdir) = elf && $(config-cflags-avx) = yes]
37606 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37607 [$(subdir) = elf && $(config-cflags-avx) = yes]
37608 (CFLAGS-tst-auditmod4a.c): Likewise.
37609 [$(subdir) = elf && $(config-cflags-avx) = yes]
37610 (CFLAGS-tst-auditmod4b.c): Likewise.
37611 [$(subdir) = elf && $(config-cflags-avx) = yes]
37612 (CFLAGS-tst-auditmod6b.c): Likewise.
37613 [$(subdir) = elf && $(config-cflags-avx) = yes]
37614 (CFLAGS-tst-auditmod6c.c): Likewise.
37615 [$(subdir) = elf && $(config-cflags-avx) = yes]
37616 (CFLAGS-tst-auditmod7b.c): Likewise.
37617 * elf/tst-audit3.c: Move to ...
37618 * sysdeps/x86_64/tst-audit3.c: ... here.
37619 * elf/tst-audit4.c: Move to ...
37620 * sysdeps/x86_64/tst-audit4.c: ... here.
37621 * elf/tst-audit5.c: Move to ...
37622 * sysdeps/x86_64/tst-audit5.c: ... here.
37623 * elf/tst-audit6.c: Move to ...
37624 * sysdeps/x86_64/tst-audit6.c: ... here.
37625 * elf/tst-audit7.c: Move to ...
37626 * sysdeps/x86_64/tst-audit7.c: ... here.
37627 * elf/tst-auditmod3a.c: Move to ...
37628 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37629 * elf/tst-auditmod3b.c: Move to ...
37630 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37631 * elf/tst-auditmod4a.c: Move to ...
37632 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37633 * elf/tst-auditmod4b.c: Move to ...
37634 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37635 * elf/tst-auditmod5a.c: Move to ...
37636 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37637 * elf/tst-auditmod5b.c: Move to ...
37638 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37639 * elf/tst-auditmod6a.c: Move to ...
37640 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37641 * elf/tst-auditmod6b.c: Move to ...
37642 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37643 * elf/tst-auditmod6c.c: Move to ...
37644 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37645 * elf/tst-auditmod7a.c: Move to ...
37646 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37647 * elf/tst-auditmod7b.c: Move to ...
37648 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37649
37650 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37651
37652 [BZ #15366]
37653 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37654 define unconditionally.
37655 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37656 define unconditionally.
37657 (INT8_C, INT16_C, etc.): Likewise.
37658
37659 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37660
37661 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37662 __ehdr_start with hidden visibility.
37663
37664 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37665
37666 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37667
37668 * math/libm-test.inc (cos_test): Use accurate hex constants.
37669 (sincost_test): Likewise.
37670
37671 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37672
37673 * math/libm-test.inc (catan_test): Add more tests.
37674 (catanh_test): Likewise.
37675
37676 * math/s_catanf.c (__catanf): Use suffixed floating-point
37677 constants.
37678 * math/s_catanhf.c (__catanhf): Likewise.
37679 * math/s_catanhl.c (__catanhl): Likewise.
37680 * math/s_catanl.c (__catanl): Likewise.
37681
37682 [BZ #15394]
37683 * math/s_catan.c (__catan): Calculate imaginary part of result
37684 with log1p not log unless computing log of number close to 0.
37685 * math/s_catanf.c (__catanf): Likewise.
37686 * math/s_catanl.c (__catanl): Likewise.
37687 * math/s_catanh.c (__catanh): Calculate real part of result with
37688 log1p not log unless computing log of number close to 0.
37689 * math/s_catanhf.c (__catanhf): Likewise.
37690 * math/s_catanhl.c (__catanhl): Likewise.
37691 * math/libm-test.inc (catan_test): Add more tests.
37692 (catanh_test): Likewise.
37693 * sysdeps/i386/fpu/libm-test-ulps: Update.
37694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37695
37696 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37697
37698 * benchtests/Makefile: Mention files in which fast and slow
37699 paths of math functions are implemented.
37700
37701 2013-04-23 Roland McGrath <roland@hack.frob.com>
37702
37703 * sysdeps/posix/timespec_get.c: New file.
37704
37705 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37706
37707 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37708 POWER.
37709 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37710 for POWER.
37711 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37712 powerpc/power5/fpu folders.
37713 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37714 * benchtests/Makefile: Add modf testcase.
37715 * benchtests/bench-modf.c: New file: Benchmark test for mo
37716
37717 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37718
37719 [BZ #14888]
37720 * time/Makefile (tests): Add tst-strptime-whitespace.
37721 * time/strptime_l.c (get_number): Use ISSPACE.
37722 (__strptime_internal): Likewise.
37723 * time/tst-strptime-whitespace.c: New test case.
37724
37725 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37726
37727 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37728 member.
37729 (_nss_files_init): Set it here.
37730
37731 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37732
37733 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37734 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37735 unsigned.
37736
37737 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37738
37739 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37740
37741 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37742
37743 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37744 size just once.
37745
37746 2013-04-21 David S. Miller <davem@davemloft.net>
37747
37748 * po/ru.po: Update Russion translation from translation project.
37749
37750 2013-04-17 Adam Conrad <adconrad@0c3.net>
37751
37752 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37753 and setfsgid.
37754
37755 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37756
37757 * configure.in: Remove i386 configure warning. Remove i386 case.
37758 * configure: Regenerate.
37759 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37760 Add example to error message.
37761 * sysdeps/i386/configure: Regenerate.
37762
37763 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37764
37765 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37766 slowtan.
37767 * benchtests/cos-inputs: New file.
37768 * benchtests/slowcos-inputs: New file.
37769 * benchtests/slowcos.c: New file.
37770 * benchtests/slowtan-inputs: New file.
37771 * benchtests/slowtan.c: New file.
37772 * benchtests/tan-inputs: New file.
37773
37774 2013-04-16 Roland McGrath <roland@hack.frob.com>
37775
37776 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37777 considered kosher.
37778
37779 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37780
37781 * benchtests/Makefile: Include cppflags-iterator.mk to add
37782 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37783
37784 * Makefile.in (bench-clean): New target.
37785 * benchtests/Makefile (bench-clean): Likewise.
37786
37787 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37788
37789 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37790
37791 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37792
37793 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37794
37795 2013-04-15 Andreas Schwab <schwab@suse.de>
37796
37797 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37798 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37799 * nscd/pwdcache.c (cache_addpw): Likewise.
37800 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37801 more than recsize.
37802
37803 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37804
37805 * benchtests/Makefile (bench): Write all output to
37806 bench-out.tmp together.
37807
37808 2013-04-15 Andreas Schwab <schwab@suse.de>
37809
37810 * nscd/nscd.c (main): Don't fork again after closing files.
37811
37812 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37813
37814 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37815
37816 * benchtests/Rules (bench-deps): Collect dependencies into a
37817 single variable. Add Makefile to dependencies.
37818 ($(objpfx)bench-%.c): Depend on bench-deps.
37819
37820 2013-04-12 Roland McGrath <roland@hack.frob.com>
37821 Xavier Roche <roche+kml2@exalead.com>
37822
37823 [BZ #15361]
37824 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37825 just that it's a file descriptor.
37826 * manual/llio.texi (Synchronizing AIO Operations): Update description
37827 for EBADF error from aio_fsync.
37828
37829 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37830
37831 * Rules (bench): Move target definition...
37832 * benchtests/Makefile: ... here.
37833
37834 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37835
37836 * math/libm-test.inc (cos_test): Fix PI/2 test.
37837 (sincos_test): Likewise.
37838 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37839 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37840
37841 2013-04-11 Andreas Schwab <schwab@suse.de>
37842
37843 [BZ #13988]
37844 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37845 accept exponent character only when digits were seen.
37846 * stdio-common/Makefile (tests): Add bug26.
37847 * stdio-common/bug26.c: New file.
37848
37849 [BZ #14293]
37850 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37851 non-freeable.
37852
37853 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37854
37855 * Makeconfig (rtld-prefix): Define built linker prefix.
37856 * Rules (run-bench): Use it.
37857 * math/Makefile (run-regen-ulps): Likewise.
37858
37859 * Rules (bench): Remove eval.
37860
37861 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37862 Roland McGrath <roland@hack.frob.com>
37863 Ondrej Bilka <neleai@seznam.cz>
37864
37865 [BZ #15346]
37866 * time/getdate.c: Include ctype.h and alloca.h.
37867 (__getdate_r): Trim leading and trailing spaces of input.
37868 * time/tst-getdate.c (tests): Add tests with leading and
37869 trailing spaces.
37870
37871 2013-04-08 Roland McGrath <roland@hack.frob.com>
37872
37873 [BZ #14280]
37874 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37875 when computing value.
37876
37877 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37878
37879 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37880 Use testrun.sh to run libm tests.
37881
37882 [BZ #15309]
37883 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37884
37885 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37886
37887 [BZ #15264]
37888 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37889
37890 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37891
37892 * Makefile.in (regen-ulps): New target.
37893 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37894 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37895 [ifneq (no,$(PERL)] (regen-ulps): New target.
37896 [ifeq (no,$(PERL)] (regen-ulps): New target.
37897 * math/libm-test.inc (ulps_file_name): Define.
37898 (output_dir): New variable.
37899 (options): Add "output-dir" option.
37900 (parse_opt): Handle 'o' case.
37901 (main): If output_dir is non-NULL use it as a prefix
37902 otherwise use "".
37903 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37904
37905 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37906
37907 [BZ #10060, #10062]
37908 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37909 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37910 fail configure if __sync_val_compare_and_swap is not inlined.
37911 * sysdeps/i386/configure: Regenerate.
37912 * configure.in: Build for i686 when configured for i386.
37913 * configure: Regenerate.
37914 * README: Remove i386 reference.
37915
37916 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37917
37918 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37919 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37920
37921 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37922
37923 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37924 (lmsnanval): New variables.
37925 (F): Add conversion tests.
37926 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37927 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37928
37929 * stdio-common/tstdiomisc.c (F): Properly collect individual
37930 tests' results.
37931
37932 [BZ #14686, #15336]
37933 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37934 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37935 Instead, use input NaN values or generate a qNaN by arithmetic
37936 operation. Also fix bugs to comply with the standard.
37937 * math/libm-test.inc (remainder_test): Add more tests.
37938
37939 [BZ #15335, #15342]
37940 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37941 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37942 input NaN values or generate a qNaN by arithmetic operation.
37943
37944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37945 unreachable code.
37946
37947 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37948 definitions.
37949
37950 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37951
37952 [BZ #14478]
37953 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37954 underflowed result.
37955 * math/s_cexpf.c (__cexpf): Likewise.
37956 * math/s_cexpl.c (__cexpl): Likewise.
37957 * math/libm-test.inc (cexp_test): Add more tests.
37958
37959 2013-04-03 Andreas Schwab <schwab@suse.de>
37960
37961 [BZ #15330]
37962 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37963 order arrays from heap if bigger than alloca cutoff.
37964
37965 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37966
37967 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37968 (SNAN_TESTS_double): Refer to GCC PR56831.
37969 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37970 GCC PR56828.
37971
37972 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37973
37974 * Rules (bench): Move bench.out after the run is complete.
37975
37976 * Rules (bench): Echo currently running benchmark.
37977
37978 * benchtests/Makefile (bench): Add atan and slowatan.
37979 * benchtests/atan-inputs: New file.
37980 * benchtests/slowatan-inputs: New file.
37981 * benchtests/slowatan.c: New file.
37982
37983 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37984 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37985 its value.
37986
37987 [BZ #15305]
37988 * sysdeps/unix/sysv/linux/kernel-features.h
37989 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37990 __ASSUME_XFS_RESTRICTED_CHOWN.
37991 * sysdeps/unix/sysv/linux/pathconf.c
37992 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37993 Save and restore errno.
37994
37995 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37996
37997 [BZ #15327]
37998 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37999 arguments using __kernel_casinh.
38000 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38001 arguments using __kernel_casinhf.
38002 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38003 arguments using __kernel_casinhl.
38004 * math/libm-test.inc (cacosh_test): Add more tests.
38005 * sysdeps/i386/fpu/libm-test-ulps: Update.
38006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38007
38008 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38009
38010 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38011 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38012
38013 * bench/Makefile (bench): Add sin and slowsin.
38014 * benchtests/sin-inputs: New file.
38015 * benchtests/slowsin-inputs: New file.
38016 * benchtests/slowsin.c: New file.
38017
38018 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38019 (bench): Add slowexp and slowpow.
38020 (exp-ITER): Increase iterations.
38021 (pow-ITER): Likewise.
38022 * benchtests/exp-inputs: Change input.
38023 * benchtests/pow-inputs: Likewise.
38024 * benchtests/slowexp-inputs: New file.
38025 * benchtests/slowexp.c: New file.
38026 * benchtests/slowpow-inputs: New file.
38027 * benchtests/slowpow.c: New file.
38028
38029 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38030
38031 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38032 instructions.
38033 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38034 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38035 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38036 * benchtests/Makefile: Add rint benchtest.
38037 * benchtests/rint-inputs: Input for rint benchtest.
38038
38039 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38040
38041 * Versions.def (libm): Add GLIBC_2.18.
38042 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38043 hidden libm prototypes.
38044 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38045 * math/Makefile (libm-calls): Add s_issignaling.
38046 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38047 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38048 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38049 declaration.
38050 * math/math.h [__USE_GNU] (issignaling): New macro.
38051 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38052 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38053 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38054 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38055 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38056 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38057 * manual/arith.texi (issignaling): New section.
38058 * manual/libm-err-tab.pl (@all_functions): Update comment.
38059 * math/gen-libm-test.pl (parse_args): Apply special handling for
38060 issignaling.
38061 * math/libm-test.inc (print_float, issignaling_test): New
38062 functions.
38063 (check_float_internal): Add issignaling checks.
38064 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38065 default definition.
38066 * sysdeps/powerpc/math-tests.h: New file.
38067 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38068 tests.
38069 * math/test-snan.c (TEST_FUNC): Likewise.
38070
38071 2013-03-30 David S. Miller <davem@davemloft.net>
38072
38073 * po/de.po: Update from translation team.
38074
38075 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38076
38077 [BZ #10357]
38078 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38079 imaginary part less than 1.0 and real part less than 0.5
38080 specially.
38081 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38082 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38083 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38084 (cacos_test): Add more tests.
38085 (casin_test): Likewise.
38086 (casinh_test): Likewise.
38087 * sysdeps/i386/fpu/libm-test-ulps: Update.
38088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38089
38090 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38091
38092 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38093 ONE with its value.
38094
38095 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38096 (__pow_mp): Replace ONE and MONE with their values.
38097 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38098 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38099 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38100 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38101 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38102 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38103
38104 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38105
38106 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38107 (__pow_mp): Replace ZERO and MZERO with their values.
38108 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38109 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38110 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38111 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38112 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38113 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38114 (__sqr): Likewise.
38115
38116 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38117
38118 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38119
38120 2013-03-28 Roland McGrath <roland@hack.frob.com>
38121
38122 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38123 Declare with __attribute__ ((weak)).
38124 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38125 Call __call_tls_dtors only if it's not NULL.
38126
38127 2013-03-28 Roland McGrath <roland@hack.frob.com>
38128
38129 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38130 didn't do it already, then set _dl_phdr and _dl_phnum based on the
38131 magic __ehdr_start linker symbol if it's defined.
38132 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38133 them up here if it was already done.
38134
38135 * elf/dl-support.c (_dl_phdr): Make pointer to const.
38136 (_dl_aux_init): Use const in cast when setting it.
38137 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38138 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38139 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38140
38141 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38142 Declare them here.
38143 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38144 * csu/libc-tls.c: Nor here.
38145 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38146
38147 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38148 (__libc_message): Never call vsyslog.
38149
38150 2013-03-28 Alan Modra <amodra@gmail.com>
38151
38152 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38153 Define as empty.
38154 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38155 Likewise.
38156
38157 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38158
38159 [BZ #15214]
38160 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38161 underflow.
38162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38163
38164 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38165
38166 [BZ #15304]
38167 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38168 Don't add gid passed as argument.
38169
38170 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38171
38172 2013-03-27 Joseph Myers <joseph@codesourcery.com>
38173
38174 [BZ #15307]
38175 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38176 imaginary part between 1.0 and 1.5 and real part less than 0.5
38177 specially.
38178 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38179 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38180 * math/libm-test.inc (cacos_test): Add more tests.
38181 (casin_test): Likewise.
38182 (casinh_test): Likewise.
38183 * sysdeps/i386/fpu/libm-test-ulps: Update.
38184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38185
38186 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38187
38188 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38189 constants.
38190 (norm): Likewise.
38191 (denorm): Likewise.
38192 (__dbl_mp): Likewise.
38193 (add_magnitudes): Likewise.
38194 (sub_magnitudes): Likewise.
38195 (__add): Likewise.
38196 (__sub): Likewise.
38197 (__mul): Likewise.
38198 (__sqr): Likewise.
38199 (__inv): Likewise.
38200 (__dvd): Likewise.
38201
38202 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38203 commented code.
38204 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38205 (__dubcos): Likewise.
38206 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38207 (__ieee754_acos): Likewise.
38208 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38209 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38210 (__exp1): Likewise.
38211 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38212 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38213 (log1): Likewise.
38214 (my_log2): Likewise.
38215 (checkint): Likewise.
38216 * sysdeps/ieee754/dbl-64/e_remainder.c
38217 (__ieee754_remainder): Likewise.
38218 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38219 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38220 (bsloww): Likewise.
38221 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38222
38223 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38224 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38225 MANTISSA_STORE_T to store computations on mantissa. Use
38226 macros for rounding and division.
38227 (denorm): Likewise.
38228 (__dbl_mp): Likewise.
38229 (add_magnitudes): Likewise.
38230 (sub_magnitudes): Likewise.
38231 (__mul): Likewise.
38232 (__sqr): Likewise.
38233 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38234 powers of two in terms of TWOPOW macro.
38235 (mp_no): Make type of mantissa as MANTISSA_T.
38236 [!RADIXI]: Define RADIXI.
38237 [!TWO52]: Define TWO52.
38238 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38239
38240 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38241
38242 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38243 llroundl symbol when building for PPC32.
38244
38245 2013-03-24 Mark H Weaver <mhw@netris.org>
38246
38247 * manual/arith.texi (Normalization Functions): Fix prototypes for
38248 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38249
38250 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38251
38252 [BZ #13889]
38253 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38254 high value to check if expl overflow.
38255 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38256 to check for underflow and overflow.
38257 * math/libm-test.inc: Add exp test.
38258
38259 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38260
38261 [BZ #11120]
38262 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38263 with NOT_IN_libc.
38264
38265 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38266
38267 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38268 symbol.
38269
38270 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38271
38272 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38273 wrap blocks consisting of several statements.
38274
38275 * sysdeps/generic/math-tests.h: New file.
38276 * sysdeps/i386/fpu/math-tests.h: Likewise.
38277 * math/test-snan.c: Include it.
38278 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38279
38280 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38281
38282 [BZ #15285]
38283 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38284 (__ieee754_j0l): Do not improve calculations using cos of twice
38285 input for inputs above LDBL_MAX / 2.0L.
38286 (__ieee754_y0l): Likewise.
38287 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38288 (__ieee754_j1l): Do not improve calculations using cos of twice
38289 input for inputs above LDBL_MAX / 2.0L.
38290 (__ieee754_y1l): Likewise.
38291 * math/libm-test.inc (j0_test): Add another test.
38292 (j1_test): Likewise.
38293 (y0_test): Likewise.
38294 (y1_test): Likewise.
38295 * sysdeps/i386/fpu/libm-test-ulps: Update.
38296
38297 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38298
38299 * Rules ($(objpfx)bench-%.c): Include code from a C source
38300 file.
38301
38302 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38303
38304 [BZ #15287]
38305 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38306 imaginary part 1.0 and real part less than 0.5 specially.
38307 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38308 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38309 * math/libm-test.inc (cacos_test): Add more tests.
38310 (casin_test): Likewise.
38311 (casinh_test): Likewise.
38312 * sysdeps/i386/fpu/libm-test-ulps: Update.
38313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38314
38315 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38316
38317 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38318 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38319
38320 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38321
38322 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38323 * config.make.in (config-cflags-sse4): Remove variable.
38324 (config-cflags-avx): Likewise.
38325 (config-cflags-sse2avx): Likewise.
38326 (config-cflags-novzeroupper): Likewise.
38327 (config-asflags-i686): Likewise.
38328 (have-mfma4): Likewise.
38329 (have-as-vis3): Likewise.
38330 (MIG): Likewise.
38331 * configure.in (MIG): Do not AC_SUBST.
38332 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38333 (libc_cv_cc_sse4): Do not AC_SUBST.
38334 (libc_cv_cc_avx): Likewise.
38335 (libc_cv_cc_sse2avx): Likewise.
38336 (libc_cv_cc_novzeroupper): Likewise.
38337 (libc_cv_cc_fma4): Likewise.
38338 (libc_cv_as_i686): Likewise.
38339 (libc_cv_sparc_as_vis3): Likewise.
38340 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38341 LIBC_CONFIG_VAR.
38342 (config-asflags-i686): Likewise.
38343 (config-cflags-avx): Likewise.
38344 (config-cflags-sse2avx): Likewise.
38345 (have-mfma4): Likewise.
38346 (config-cflags-novzeroupper): Likewise.
38347 * sysdeps/mach/configure.in (MIG): Likewise.
38348 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38349 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38350 LIBC_CONFIG_VAR.
38351 (config-cflags-avx): Likewise.
38352 (config-cflags-sse2avx): Likewise.
38353 (have-mfma4): Likewise.
38354 (config-cflags-novzeroupper): Likewise.
38355 * configure: Regenerated.
38356 * sysdeps/i386/configure: Likewise.
38357 * sysdeps/mach/configure: Likewise.
38358 * sysdeps/sparc/configure: Likewise.
38359 * sysdeps/x86_64/configure: Likewise.
38360
38361 2013-03-20 Roland McGrath <roland@hack.frob.com>
38362
38363 [BZ #14812]
38364 * locale/programs/localedef.c (options): Put N_ translation marker
38365 on argument names, not just descriptions.
38366
38367 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38368
38369 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38370
38371 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38372
38373 [BZ #14176]
38374 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38375
38376 2013-03-19 Roland McGrath <roland@hack.frob.com>
38377
38378 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38379 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38380 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38381 [!BEFORE_ABORT] (before_abort): New function.
38382 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38383 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38384 (writev_for_fatal): New function.
38385 (WRITEV_FOR_FATAL): New macro; call that.
38386 (backtrace_and_maps): New function.
38387 (BEFORE_ABORT): New macro; call that.
38388 (struct str_list): Type removed.
38389 (__libc_message, __libc_fatal): Functions removed.
38390 Include <sysdeps/posix/libc_fatal.c> instead.
38391
38392 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38393
38394 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38395 constants.
38396 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38397 double constants.
38398
38399 2013-03-19 Andreas Schwab <schwab@suse.de>
38400
38401 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38402 * sysdeps/gnu/configure: Regenerate.
38403
38404 * configure.in: Substitute libc_cv_rtlddir.
38405 * configure: Regenerate.
38406 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38407 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38408 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38409 * elf/Makefile (install-others, CFLAGS-interp.c)
38410 (ldso_install, common-ldd-rewrite): Likewise.
38411 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38412 $(inst_slibdir)/$(rtld-installed-name).
38413 * scripts/rellns-sh: Add -p option.
38414 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38415 for source.
38416
38417 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38418
38419 * manual/nptl.texi: Renamed to ...
38420 * manual/threads.texi: ... this.
38421 * manual/Makefile (chapters): Update.
38422
38423 2013-03-18 Roland McGrath <roland@hack.frob.com>
38424
38425 [BZ #14812]
38426 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38427 on argument names, not just descriptions.
38428 * malloc/memusagestat.c (options): Likewise.
38429 * nss/getent.c (options): Likewise.
38430
38431 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38432
38433 [BZ #14812]
38434 * iconv/iconv_prog.c (options): Put N_ translation marker
38435 on argument names, not just descriptions.
38436 * iconv/iconvconfig.c (options): Likewise.
38437
38438 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38439
38440 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38441 implementation which is faster on all x86_64 architectures.
38442 Tested on AMD, Intel Nehalem, SNB, IVB.
38443 * sysdeps/x86_64/strnlen.S: Likewise.
38444
38445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38446 Remove all multiarch strlen and strnlen versions.
38447 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38448 Remove strlen and strnlen related parts.
38449
38450 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38451 Inline strlen part.
38452 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38453
38454 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38455 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38456 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38457 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38458 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38459 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38460
38461 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38462
38463 * manual/memory.texi (Malloc Tunable Parameters):
38464 Sort parameters alphabetically. Add comments for missing entries.
38465
38466 2013-03-17 David S. Miller <davem@davemloft.net>
38467
38468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38469
38470 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38471
38472 [BZ #15283]
38473 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38474 for arguments at most half maximum finite value.
38475 * math/libm-test.inc (j0_test): Add more tests.
38476 (j1_test): Likewise.
38477 (y0_test): Likewise.
38478 (y1_test): Likewise.
38479 * sysdeps/i386/fpu/libm-test-ulps: Update.
38480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38481
38482 [BZ #14155]
38483 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38484 1 / x and functions P and Q for arguments above 0x1p256L.
38485 (__ieee754_y0l): Likewise.
38486 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38487 (__ieee754_y1l): Likewise.
38488 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38489 (j1_test): Likewise.
38490 (y0_test): Likewise.
38491 (y1_test): Likewise.
38492
38493 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38494
38495 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38496 variable.
38497
38498 2013-03-15 Roland McGrath <roland@hack.frob.com>
38499
38500 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38501 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38502 zero since it's initialized to EXEC_PAGESIZE.
38503
38504 * sysdeps/unix/sysv/linux/ldsodefs.h
38505 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38506 * sysdeps/generic/ldsodefs.h: ... here.
38507
38508 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38509
38510 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38511
38512 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38513 math/test-snan.c.
38514 * math/test-snan.c: Renamed from
38515 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38516 * math/Makefile (tests): Add test-snan.
38517 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38518 test-powerpc-snan.
38519
38520 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38521 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38522 functions.
38523 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38524 __builtin_nan family of functions.
38525 * math/libm-test.inc (initialize): Initialize qnan_value with
38526 __builtin_nan family of functions.
38527 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38528 Remove variables.
38529 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38530 Remove functions.
38531 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38532 storage class. Initialize qNaN_var and sNaN_var with
38533 __builtin_nan and __builtin_nans families of functions,
38534 respectively.
38535
38536 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38537 (sqrt_test): Remove duplicate test with qNaN input.
38538 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38539 (round_test, signbit_test, significand_test): Note missing +/-Inf
38540 as well as qNaN tests.
38541
38542 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38543 qNaN_var. Fix a few strings, too.
38544 * math/libm-test.inc (nan_value): Rename to qnan_value.
38545 * math/gen-libm-test.pl (%beautify): Adjust to that.
38546 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38547 * math/test-misc.c (main): Likewise.
38548 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38549 to __qnan_bytes, and __qnan_union, respectively.
38550 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38551 Likewise.
38552 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38553 and lqnanval, respectively.
38554 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38555 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38556 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38557 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38558
38559 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38560 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38561 doubles.
38562
38563 * math/test-misc.c (main): Fix copy'n'pastos.
38564 * misc/tst-efgcvt.c (special): Likewise.
38565
38566 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38567 Remove declarations.
38568
38569 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38570
38571 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38572 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38573 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38574 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38575
38576 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38577
38578 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38579 macro to return vdso values correctly in IFUNC implementations.
38580 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38581 Optimization by using IFUNC.
38582
38583 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38584 Richard Henderson <rth@redhat.com>
38585 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38586
38587 * Makefile.in (bench): New target.
38588 * NEWS: Mention the benchmark framework.
38589 * Rules (bench): Likewise.
38590 (binaries-bench): Generate binaries for functions to
38591 benchmark.
38592 * benchtests/Makefile: New makefile for benchmark tests.
38593 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38594 programs.
38595 * benchtests/exp-inputs: New input file for EXP function.
38596 * benchtests/pow-inputs: New input file for POW function.
38597 * scripts/bench.pl: New script to generate source files for
38598 benchmark programs.
38599
38600 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38601
38602 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38603 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38604 computations on mantissa. Use macros for rounding and
38605 division.
38606 (denorm): Likewise.
38607 (__dbl_mp): Likewise.
38608 (add_magnitudes): Likewise.
38609 (sub_magnitudes): Likewise.
38610 (__mul): Likewise.
38611 (__sqr): Likewise.
38612 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38613 powers of two in terms of TWOPOW macro.
38614 (mp_no): Make type of mantissa as MANTISSA_T.
38615 [!RADIXI]: Define RADIXI.
38616 [!TWO52]: Define TWO52.
38617 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38618
38619 * manual/nptl.texi (cindex): Modify threads to pthreads.
38620
38621 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38622
38623 * sysdeps/x86_64/preconfigure: Regenerated.
38624
38625 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38626
38627 [BZ #14155]
38628 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38629 0x1p28 and above.
38630 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38631 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38632 0x1p28 and above.
38633 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38634 * math/libm-test.inc (j0_test): Do not allow one spurious
38635 underflow exception.
38636 (y1_test): Likewise.
38637
38638 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38639
38640 * manual/Makefile (chapters): Add nptl.
38641 * manual/debug.texi (Debugging Support): Add link to Threads
38642 chapter.
38643 * manual/nptl.texi: New file.
38644
38645 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38646
38647 2013-03-14 Petr Baudis <pasky@ucw.cz>
38648
38649 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38650 for non-NULL pointer before the memory validity test. Pointed
38651 out by Holger Brunck <holger.brunck@keymile.com>.
38652
38653 2013-03-13 Andreas Schwab <schwab@suse.de>
38654
38655 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38656 instead of .os.
38657
38658 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38659
38660 * timezone/zic.c: Update from tzcode 2013b.
38661
38662 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38663
38664 * manual/install.texi (Configuring and compiling):
38665 Mention i686 and i586.
38666 * INSTALL: Regenerate.
38667
38668 2013-03-12 Roland McGrath <roland@hack.frob.com>
38669
38670 * sysdeps/init_array/elf-init.c: New file.
38671 * csu/elf-init.c
38672 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38673 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38674
38675 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38676 __gmon_start__ as global, but as static with a .preinit_array pointer.
38677 * sysdeps/init_array/gmon-start.c: New file. Use that.
38678 * sysdeps/init_array/crti.S: New file, empty except for comments.
38679 * sysdeps/init_array/crtn.S: Likewise.
38680
38681 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38682
38683 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38684 definining bcopy.
38685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38686 Remove Prefer_SSE_for_memop.
38687 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38688 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38689 HAS_PREFER_SSE_FOR_MEMOP.
38690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38691 memset-x86-64.
38692 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38693 Remove bzero, memset ifunc support.
38694 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38695 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38696 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38697 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38698
38699 2013-03-11 Andreas Schwab <schwab@suse.de>
38700
38701 [BZ #15234]
38702 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38703 by SHLIB_COMPAT.
38704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38705 (GLIBC_2.16): Remove pthread_atfork.
38706
38707 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38708
38709 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38710 (ptestcases.h): Likewise.
38711
38712 2013-03-08 Roland McGrath <roland@hack.frob.com>
38713
38714 * Makeconfig ($(common-objpfx)config.status): Depend on
38715 sysdeps/*/preconfigure{,.in} too.
38716
38717 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38718
38719 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38720 (__free_hook): Use void * instead of __malloc_ptr_t.
38721 (__malloc_hook): Likewise.
38722 (__realloc_hook): Likewise.
38723 (__memalign_hook): Likewise.
38724 (__after_morecore_hook): Likewise.
38725 * malloc/arena.c (save_malloc_hook): Likewise.
38726 (save_free_hook): Likewise.
38727 * malloc/hooks.c (malloc_hook_ini): Likewise.
38728 (realloc_hook_ini): Likewise.
38729 (memalign_hook_ini): Likewise.
38730 * malloc/malloc.c (malloc_hook_ini): Likewise.
38731 (realloc_hook_ini): Likewise.
38732 (memalign_hook_ini): Likewise.
38733 (__free_hook): Likewise.
38734 (__malloc_hook): Likewise.
38735 (__realloc_hook): Likewise.
38736 (__memalign_hook): Likewise.
38737 (__libc_malloc): Likewise.
38738 (__libc_free): Likewise.
38739 (__libc_realloc): Likewise.
38740 (__libc_memalign): Likewise.
38741 (__libc_valloc): Likewise.
38742 (__libc_pvalloc): Likewise.
38743 (__libc_calloc): Likewise.
38744 (__posix_memalign): Likewise.
38745 * malloc/morecore.c (__sbrk): Likewise.
38746 (__default_morecore): Likewise.
38747
38748 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38749
38750 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38751 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38752 __malloc_ptrdiff_t.
38753
38754 * malloc/malloc.h (__malloc_size_t): Remove macro.
38755 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38756 __malloc_size_t.
38757 (old_memalign_hook): Likewise.
38758 (old_realloc_hook): Likewise.
38759 (struct hdr): Likewise.
38760 (flood): Likewise.
38761 (mallochook): Likewise.
38762 (memalignhook): Likewise.
38763 (reallochook): Likewise.
38764 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38765 (tr_old_realloc_hook): Likewise.
38766 (tr_old_memalign_hook): Likewise.
38767 (tr_mallochook): Likewise.
38768 (tr_reallochook): Likewise.
38769 (tr_memalignhook): Likewise.
38770
38771 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38772
38773 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38774 default_ldbl_pack and using as default implementation.
38775 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38776 implementation.
38777 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38778 redundant definition.
38779 (ldbl_insert_mantissa): Likewise.
38780 (ldbl_canonicalize): Likewise.
38781 (ldbl_nearbyint): Likewise.
38782 (ldbl_pack): Rename to ldbl_pack_ppc.
38783 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38784 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38785 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38786
38787 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38788
38789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38790 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38791 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38792 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38794 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38795 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38796 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38797
38798 2013-03-07 Andreas Jaeger <aj@suse.de>
38799
38800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38801 bits/mman-linux.h.
38802
38803 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38804
38805 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38806 Include mpa.h and declare __MPEXP.
38807 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38808 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38809 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38810 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38811 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38812 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38813 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38814
38815 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38816 (__slowpow): Use long double EXPL and LOGL functions to
38817 compute POW.
38818 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38819 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38820 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38821 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38822 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38823 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38824
38825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38826 intermediate variable to calculate exponent.
38827 (__sqr): Likewise.
38828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38829 Likewise.
38830 (__sqr): Likewise.
38831
38832 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38833 [!NO__SQR]: Define __sqr.
38834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38835 and NO__SQR. Remove all code except __mul and __sqr. Include
38836 sysdeps/ieee754/dbl-64/mpa.c.
38837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38838
38839 [BZ #12723]
38840 * posix/Makefile (tests): Add tst-pathconf.
38841 * posix/tst-pathconf.c: New test case.
38842 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38843 _PC_PIPE_BUF.
38844 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38845
38846 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38847
38848 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38849
38850 2013-03-06 Andreas Jaeger <aj@suse.de>
38851
38852 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38853 definition via __MAP_ANONYMOUS.
38854
38855 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38856 it's not part of Linux headers.
38857
38858 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38859 (MAP_HUGE_MASK): Define.
38860
38861 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38862 Define.
38863 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38864 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38865 Define.
38866 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38867 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38868 Define.
38869 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38870 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38871 Define.
38872 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38873
38874 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38875 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38876 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38877 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38878 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38879 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38880
38881 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38882 Handle f2fs.
38883
38884 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38885 Handle f2fs and efivarfs.
38886
38887 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38888 f2fs.
38889
38890 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38891 (EFIVARFS_MAGIC): Add.
38892 (F2FS_LINK_MAX): Add.
38893
38894 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38895
38896 * stdio-common/vfprintf.c: Replace __builtin_expect with
38897 __glibc_unlikely.
38898
38899 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38900
38901 [BZ #13550]
38902 * sysdeps/generic/bp-sym.h: Remove file.
38903 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38904 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38905 <bp-sym.h> and <bp-asm.h>.
38906 (__longjmp): Don't use BP_SYM.
38907 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38908 and <bp-asm.h>.
38909 (memcpy): Don't use BP_SYM.
38910 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38911 <bp-sym.h> and <bp-asm.h>.
38912 (memcpy): Don't use BP_SYM.
38913 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38914 <bp-asm.h>.
38915 (memcpy): Don't use BP_SYM.
38916 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38917 <bp-asm.h>.
38918 (memset): Don't use BP_SYM.
38919 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38920 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38921 (__bzero): Don't use BP_SYM.
38922 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38923 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38924 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38925 <bp-sym.h> and <bp-asm.h>.
38926 (memcmp): Don't use BP_SYM. Remove comment about bounded
38927 pointers.
38928 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38929 <bp-sym.h> and <bp-asm.h>.
38930 (memcpy): Don't use BP_SYM.
38931 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38932 <bp-sym.h> and <bp-asm.h>.
38933 (memset): Don't use BP_SYM.
38934 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38935 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38936 (__bzero): Don't use BP_SYM.
38937 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38938 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38939 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38940 <bp-sym.h> and <bp-asm.h>.
38941 (strncmp): Don't use BP_SYM. Remove comment about bounded
38942 pointers.
38943 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38944 <bp-sym.h> and <bp-asm.h>.
38945 (memcpy): Don't use BP_SYM.
38946 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38947 <bp-sym.h> and <bp-asm.h>.
38948 (memset): Don't use BP_SYM.
38949 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38950 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38951 (__bzero): Don't use BP_SYM.
38952 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38953 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38954 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38955 <bp-sym.h> and <bp-asm.h>.
38956 (__memchr): Don't use BP_SYM.
38957 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38958 <bp-sym.h> and <bp-asm.h>.
38959 (memcmp): Don't use BP_SYM. Remove comment about bounded
38960 pointers.
38961 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38962 <bp-sym.h> and <bp-asm.h>.
38963 (memcpy): Don't use BP_SYM.
38964 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38965 <bp-sym.h> and <bp-asm.h>.
38966 (__mempcpy): Don't use BP_SYM.
38967 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38968 <bp-sym.h> and <bp-asm.h>.
38969 (__memrchr): Don't use BP_SYM.
38970 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38971 <bp-sym.h> and <bp-asm.h>.
38972 (memset): Don't use BP_SYM.
38973 (__bzero): Likewise.
38974 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38975 <bp-sym.h> and <bp-asm.h>.
38976 (__rawmemchr): Don't use BP_SYM.
38977 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38978 <bp-sym.h> and <bp-asm.h>.
38979 (__STRCMP): Don't use BP_SYM.
38980 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38981 <bp-sym.h> and <bp-asm.h>.
38982 (strchr): Don't use BP_SYM.
38983 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38984 <bp-sym.h> and <bp-asm.h>.
38985 (__strchrnul): Don't use BP_SYM.
38986 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38987 <bp-sym.h> and <bp-asm.h>.
38988 (strlen): Don't use BP_SYM.
38989 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38990 <bp-sym.h> and <bp-asm.h>.
38991 (strncmp): Don't use BP_SYM. Remove comment about bounded
38992 pointers.
38993 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38994 <bp-sym.h> and <bp-asm.h>.
38995 (__strnlen): Don't use BP_SYM.
38996 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38997 <bp-sym.h> and <bp-asm.h>.
38998 (__GI__setjmp): Don't use BP_SYM.
38999 (_setjmp): Likewise.
39000 (__sigsetjmp): Likewise.
39001 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39002 (L(start_addresses)): Don't use BP_SYM.
39003 (_start): Likewise.
39004 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39005 <bp-asm.h>.
39006 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39007 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39008 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39009 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39010 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39011 <bp-asm.h>.
39012 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39013 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
39014 about bounded pointers.
39015 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39016 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39017 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39018 <bp-asm.h>.
39019 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39020 about bounded pointers. Remove GKM FIXME comments.
39021 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39022 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39023 <bp-asm.h>.
39024 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39025 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
39026 Remove GKM FIXME comments.
39027 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39028 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39029 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39030 <bp-asm.h>.
39031 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39032 about bounded pointers. Remove GKM FIXME comment.
39033 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39034 and <bp-asm.h>.
39035 (strncmp): Don't use BP_SYM. Remove comment about bounded
39036 pointers.
39037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39038 <bp-sym.h> and <bp-asm.h>.
39039 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39041 <bp-sym.h> and <bp-asm.h>.
39042 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39043 comment.
39044
39045 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39046
39047 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39048 call free(NULL).
39049
39050 2013-03-05 David S. Miller <davem@davemloft.net>
39051
39052 * po/es.po: Update from translation team.
39053
39054 2013-03-05 Andreas Jaeger <aj@suse.de>
39055
39056 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39057 <bits/mman-linux.h>.
39058 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39059 is fine.
39060 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39061 <bits/mman-linux.h> to end of file.
39062 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39063 is fine.
39064 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39065 <bits/mman-linux.h> to end of file.
39066 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39067 is fine.
39068 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39069 <bits/mman-linux.h> to end of file.
39070
39071 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39072 (MCL_CURRENT, MCL_FUTURE): Define here.
39073
39074 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39075
39076 [BZ #15232]
39077 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39078 attribute_hidden.
39079 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39080
39081 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39082
39083 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39084 fourth parameter needed for rt_sigprocmask syscall.
39085 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39086 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39087 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39088 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39089 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39090 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39091
39092 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39093
39094 [BZ #13550]
39095 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39096 comment about bounded pointers.
39097 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39098 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39099
39100 2013-03-04 Andreas Jaeger <aj@suse.de>
39101
39102 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39103 common definitions.
39104
39105 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39106 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39107 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39108 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39109 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39110 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39111
39112 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39113
39114 [BZ #15055]
39115 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39116 __ieee754_sqrl instead of __sqrl.
39117
39118 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39119
39120 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39121 * sysdeps/powerpc/fpu_control.h: ... here.
39122 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39123 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39124 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39125 * sysdeps/powerpc/bits/mathinline.h: ... here.
39126
39127 2013-03-01 Roland McGrath <roland@hack.frob.com>
39128
39129 * elf/dl-hwcaps.c (_dl_important_hwcaps):
39130 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39131 to just [NEED_DL_SYSINFO_DSO].
39132 * elf/dl-support.c: Likewise.
39133 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39134 * elf/rtld.c (dl_main): Likewise.
39135 * elf/setup-vdso.h (setup_vdso): Likewise.
39136 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39137 * sysdeps/unix/sysv/linux/dl-sysdep.c
39138 (_dl_discover_osversion): Likewise.
39139
39140 2013-03-01 Carlos O'Donell <carlos@redhat.com>
39141
39142 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39143 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39144
39145 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39146
39147 * NEWS: Mention libm performance improvements and non-x86 PI
39148 futex support.
39149
39150 * csu/libc-start.c (__pthread_initialize_minimal): Change
39151 function arguments.
39152 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39153
39154 2013-02-28 Joseph Myers <joseph@codesourcery.com>
39155
39156 [BZ #13550]
39157 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39158 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39159 <bp-sym.h> and <bp-asm.h>.
39160 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39161 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39162 and <bp-asm.h>.
39163 (memcpy): Don't use BP_SYM.
39164 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39165 <bp-asm.h>.
39166 (__mpn_add_n): Don't use BP_SYM.
39167 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39168 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39169 and <bp-asm.h>.
39170 (__mpn_addmul_1): Don't use BP_SYM.
39171 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39172 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39173 <bp-sym.h>.
39174 (_setjmp): Don't use BP_SYM.
39175 (__novmx_setjmp): Likewise.
39176 (__GI__setjmp): Likewise.
39177 (__vmx_setjmp): Likewise.
39178 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39179 <bp-sym.h>.
39180 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39181 (__bzero): Don't use BP_SYM.
39182 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39183 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39184 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39185 <bp-sym.h> and <bp-asm.h>.
39186 (memcpy): Don't use BP_SYM.
39187 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39188 <bp-sym.h> and <bp-asm.h>.
39189 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39190 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39191 <bp-sym.h> and <bp-asm.h>.
39192 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39193 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39194 <bp-asm.h>.
39195 (__mpn_lshift): Don't use BP_SYM.
39196 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39197 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39198 <bp-asm.h>.
39199 (memset): Don't use BP_SYM.
39200 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39201 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39202 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39203 <bp-asm.h>.
39204 (__mpn_mul_1): Don't use BP_SYM.
39205 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39206 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39207 <bp-sym.h> and <bp-asm.h>.
39208 (memcmp): Don't use BP_SYM.
39209 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39210 <bp-sym.h> and <bp-asm.h>.
39211 (memcpy): Don't use BP_SYM.
39212 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39213 <bp-sym.h> and <bp-asm.h>.
39214 (memset): Don't use BP_SYM.
39215 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39216 <bp-sym.h> and <bp-asm.h>.
39217 (strncmp): Don't use BP_SYM.
39218 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39219 <bp-sym.h> and <bp-asm.h>.
39220 (memcpy): Don't use BP_SYM.
39221 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39222 <bp-sym.h> and <bp-asm.h>.
39223 (memset): Don't use BP_SYM.
39224 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39225 <bp-sym.h> and <bp-asm.h>.
39226 (__memchr): Don't use BP_SYM.
39227 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39228 <bp-sym.h> and <bp-asm.h>.
39229 (memcmp): Don't use BP_SYM.
39230 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39231 <bp-sym.h> and <bp-asm.h>.
39232 (memcpy): Don't use BP_SYM.
39233 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39234 <bp-sym.h> and <bp-asm.h>.
39235 (__mempcpy): Don't use BP_SYM.
39236 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39237 <bp-sym.h> and <bp-asm.h>.
39238 (__memrchr): Don't use BP_SYM.
39239 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39240 <bp-sym.h> and <bp-asm.h>.
39241 (memset): Don't use BP_SYM.
39242 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39243 <bp-sym.h> and <bp-asm.h>.
39244 (__rawmemchr): Don't use BP_SYM.
39245 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39246 <bp-sym.h> and <bp-asm.h>.
39247 (__STRCMP): Don't use BP_SYM.
39248 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39249 <bp-sym.h> and <bp-asm.h>.
39250 (strchr): Don't use BP_SYM.
39251 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39252 <bp-sym.h> and <bp-asm.h>.
39253 (__strchrnul): Don't use BP_SYM.
39254 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39255 <bp-sym.h> and <bp-asm.h>.
39256 (strlen): Don't use BP_SYM.
39257 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39258 <bp-sym.h> and <bp-asm.h>.
39259 (strncmp): Don't use BP_SYM.
39260 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39261 <bp-sym.h> and <bp-asm.h>.
39262 (__strnlen): Don't use BP_SYM.
39263 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39264 <bp-asm.h>.
39265 (__mpn_rshift): Don't use BP_SYM.
39266 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39267 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39268 <bp-sym.h> and <bp-asm.h>.
39269 (__sigsetjmp): Don't use BP_SYM.
39270 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39271 (L(start_addresses)): Don't use BP_SYM.
39272 (_start): Likewise.
39273 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39274 <bp-asm.h>.
39275 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39276 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39277 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39278 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39279 <bp-asm.h>.
39280 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39281 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39282 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39283 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39284 <bp-asm.h>.
39285 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39286 comments.
39287 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39288 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39289 <bp-asm.h>.
39290 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39291 FIXME comments.
39292 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39293 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39294 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39295 <bp-asm.h>.
39296 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39297 comment.
39298 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39299 and <bp-asm.h>.
39300 (strncmp): Don't use BP_SYM,
39301 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39302 <bp-asm.h>.
39303 (__mpn_sub_n): Don't use BP_SYM.
39304 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39305 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39306 and <bp-asm.h>.
39307 (__mpn_submul_1): Don't use BP_SYM.
39308 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39310 <bp-sym.h> and <bp-asm.h>.
39311 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39313 <bp-sym.h> and <bp-asm.h>.
39314 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39315 comment.
39316
39317 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39318
39319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39320 Use ZK to minimize writes to Z.
39321 (sub_magnitudes): Simplify code a bit.
39322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39323 Use ZK to minimize writes to Z.
39324 (sub_magnitudes): Simplify code a bit.
39325
39326 2013-02-27 Roland McGrath <roland@hack.frob.com>
39327
39328 * csu/gmon-start.c: Add special exception to license text.
39329
39330 2013-02-27 Richard Henderson <rth@redhat.com>
39331
39332 * scripts/config.guess: Update from config.git.
39333 * scripts/config.sub: Likewise.
39334
39335 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39336
39337 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39338
39339 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39340
39341 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39342
39343 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39344
39345 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39346
39347 2013-02-26 Roland McGrath <roland@hack.frob.com>
39348
39349 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39350 [$(build-shared = yes].
39351
39352 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39353
39354 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39355 (__mul): Reduce iterations for calculating mantissa.
39356
39357 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39358 MPTWO.
39359 (__mpranred): Likewise.
39360
39361 [BZ #15160]
39362 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39363 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39364
39365 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39366
39367 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39368 Define __attribute__.
39369
39370 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39371
39372 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39373 unused.
39374 * posix/regex_internal.h (__attribute): Remove.
39375 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39376 (re_string_context_at): Likewise.
39377 (bitset_not): Use __attribute__ and mark function as possibly
39378 unused.
39379 (bitset_merge): Likewise.
39380 (bitset_mask): Likewise.
39381 (re_string_char_size_at): Likewise.
39382 (re_string_wchar_at): Likewise.
39383 (re_string_elem_size_at): Likewise.
39384
39385 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39386
39387 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39388 code.
39389 (cc32): Likewise.
39390
39391 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39392 (__acr): Likewise.
39393 (__cpy): Likewise.
39394 (norm): Likewise.
39395 (denorm): Likewise.
39396 (__dbl_mp): Likewise.
39397 (add_magnitudes): Likewise.
39398 (sub_magnitudes): Likewise.
39399 (__mul): Likewise.
39400 (__inv): Likewise.
39401
39402 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39403 style.
39404
39405 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39406 style.
39407
39408 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39409 code.
39410
39411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39412 up changes with default code.
39413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39414 Likewise.
39415
39416 2013-02-24 Allan McRae <allan@archlinux.org>
39417
39418 * manual/socket.texi (The Internet Namespace): Order menu items
39419 to match that in the file.
39420
39421 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39422 node listing of the info page menu.
39423
39424 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39425
39426 [BZ #13550]
39427 * sysdeps/i386/bp-asm.h: Remove file.
39428 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39429 (PARMS): Do not use macros from bp-asm.h.
39430 (S1): Likewise.
39431 (S2): Likewise.
39432 (SIZE): Likewise.
39433 (__mpn_add_n): Do not use BP_SYM
39434 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39435 "bp-asm.h".
39436 (PARMS): Do not use macros from bp-asm.h.
39437 (S1): Likewise.
39438 (SIZE): Likewise.
39439 (__mpn_addmul_1): Do not use BP_SYM
39440 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39441 "bp-asm.h".
39442 (PARMS): Do not use macros from bp-asm.h.
39443 (SIGMSK): Likewise.
39444 (_setjmp): Likewise. Do not use BP_SYM.
39445 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39446 "bp-asm.h".
39447 (PARMS): Do not use macros from bp-asm.h.
39448 (SIGMSK): Likewise.
39449 (setjmp): Likewise. Do not use BP_SYM.
39450 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39451 "bp-asm.h".
39452 (PARMS): Do not use macros from bp-asm.h.
39453 (__frexp): Do not use BP_SYM.
39454 (frexp): Likewise.
39455 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39456 "bp-asm.h".
39457 (PARMS): Do not use macros from bp-asm.h.
39458 (__frexpf): Do not use BP_SYM.
39459 (frexpf): Likewise.
39460 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39461 "bp-asm.h".
39462 (PARMS): Do not use macros from bp-asm.h.
39463 (__frexpl): Do not use BP_SYM.
39464 (frexpl): Likewise.
39465 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39466 "bp-asm.h".
39467 (PARMS): Do not use macros from bp-asm.h.
39468 (__remquo): Do not use BP_SYM.
39469 (remquo): Likewise.
39470 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39471 "bp-asm.h".
39472 (PARMS): Do not use macros from bp-asm.h.
39473 (__remquof): Do not use BP_SYM.
39474 (remquof): Likewise.
39475 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39476 "bp-asm.h".
39477 (PARMS): Do not use macros from bp-asm.h.
39478 (__remquol): Do not use BP_SYM.
39479 (remquol): Likewise.
39480 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39481 "bp-asm.h".
39482 (PARMS): Do not use macros from bp-asm.h.
39483 (DEST): Likewise.
39484 (SRC): Likewise.
39485 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39486 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39487 "bp-asm.h".
39488 (PARMS): Do not use macros from bp-asm.h.
39489 (strlen): Do not use BP_SYM.
39490 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39491 "bp-asm.h".
39492 (PARMS): Do not use macros from bp-asm.h.
39493 (S1): Likewise.
39494 (S2): Likewise.
39495 (SIZE): Likewise.
39496 (__mpn_add_n): Do not use BP_SYM.
39497 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39498 "bp-asm.h".
39499 (PARMS): Do not use macros from bp-asm.h.
39500 (S1): Likewise.
39501 (SIZE): Likewise.
39502 (__mpn_addmul_1): Do not use BP_SYM.
39503 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39504 weak_alias.
39505 (bzero): Likewise.
39506 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39507 "bp-asm.h".
39508 (PARMS): Do not use macros from bp-asm.h.
39509 (S): Likewise.
39510 (SIZE): Likewise.
39511 (__mpn_lshift): Do not use BP_SYM.
39512 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39513 "bp-asm.h".
39514 (PARMS): Do not use macros from bp-asm.h.
39515 (DEST): Likewise.
39516 (SRC): Likewise.
39517 (LEN): Likewise.
39518 (memcpy): Likewise. Do not use BP_SYM.
39519 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39520 libc_hidden_def and weak_alias.
39521 (mempcpy): Do not use BP_SYM in weak_alias.
39522 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39523 "bp-asm.h".
39524 (PARMS): Do not use macros from bp-asm.h.
39525 (DEST): Likewise.
39526 (LEN): Likewise.
39527 [!BZERO_P] (CHR): Likewise.
39528 (memset): Likewise. Do not use BP_SYM.
39529 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39530 "bp-asm.h".
39531 (PARMS): Do not use macros from bp-asm.h.
39532 (S1): Likewise.
39533 (SIZE): Likewise.
39534 (__mpn_mul_1): Do not use BP_SYM.
39535 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39536 "bp-asm.h".
39537 (PARMS): Do not use macros from bp-asm.h.
39538 (S): Likewise.
39539 (SIZE): Likewise.
39540 (__mpn_rshift): Do not use BP_SYM.
39541 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39542 "bp-asm.h".
39543 (PARMS): Do not use macros from bp-asm.h.
39544 (STR): Likewise.
39545 (CHR): Likewise.
39546 (strchr): Likewise. Do not use BP_SYM.
39547 (index): Do not use BP_SYM in weak_alias.
39548 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39549 "bp-asm.h".
39550 (PARMS): Do not use macros from bp-asm.h.
39551 (DEST): Likewise.
39552 (SRC): Likewise.
39553 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39554 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39555 "bp-asm.h".
39556 (PARMS): Do not use macros from bp-asm.h.
39557 (strlen): Do not use BP_SYM.
39558 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39559 "bp-asm.h".
39560 (PARMS): Do not use macros from bp-asm.h.
39561 (S1): Likewise.
39562 (S2): Likewise.
39563 (SIZE): Likewise.
39564 (__mpn_sub_n): Do not use BP_SYM.
39565 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39566 "bp-asm.h".
39567 (PARMS): Do not use macros from bp-asm.h.
39568 (S1): Likewise.
39569 (SIZE): Likewise.
39570 (__mpn_submul_1): Do not use BP_SYM.
39571 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39572 "bp-asm.h".
39573 (PARMS): Do not use macros from bp-asm.h.
39574 (S1): Likewise.
39575 (S2): Likewise.
39576 (SIZE): Likewise.
39577 (__mpn_add_n): Do not use BP_SYM.
39578 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39579 weak_alias.
39580 (bzero): Likewise.
39581 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39582 "bp-asm.h".
39583 (PARMS): Do not use macros from bp-asm.h.
39584 (BLK2): Likewise.
39585 (LEN): Likewise.
39586 (memcmp): Do not use BP_SYM.
39587 (bcmp): Do not use BP_SYM in weak_alias.
39588 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39589 "bp-asm.h".
39590 (PARMS): Do not use macros from bp-asm.h.
39591 (DEST): Likewise.
39592 (SRC): Likewise.
39593 (LEN): Likewise.
39594 (memcpy): Likewise. Do not use BP_SYM.
39595 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39596 "bp-asm.h".
39597 (PARMS): Do not use macros from bp-asm.h.
39598 (DEST): Likewise.
39599 (SRC): Likewise.
39600 (LEN): Likewise.
39601 (memmove): Likewise. Do not use BP_SYM.
39602 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39603 "bp-asm.h".
39604 (PARMS): Do not use macros from bp-asm.h.
39605 (DEST): Likewise.
39606 (SRC): Likewise.
39607 (LEN): Likewise.
39608 (__mempcpy): Likewise. Do not use BP_SYM.
39609 (mempcpy): Do not use BP_SYM in weak_alias.
39610 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39611 "bp-asm.h".
39612 (PARMS): Do not use macros from bp-asm.h.
39613 (DEST): Likewise.
39614 (LEN): Likewise.
39615 [!BZERO_P] (CHR): Likewise.
39616 (memset): Likewise. Do not use BP_SYM.
39617 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39618 "bp-asm.h".
39619 (PARMS): Do not use macros from bp-asm.h.
39620 (STR2): Likewise.
39621 (strcmp): Do not use BP_SYM.
39622 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39623 "bp-asm.h".
39624 (PARMS): Do not use macros from bp-asm.h.
39625 (STR): Likewise.
39626 (DELIM): Likewise.
39627 [USE_AS_STRTOK_R] (SAVE): Likewise.
39628 (FUNCTION): Likewise. Do not use BP_SYM.
39629 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39630 aliases.
39631 (strtok_r): Likewise.
39632 (__GI___strtok_r): Likewise.
39633 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39634 (PARMS): Do not use macros from bp-asm.h.
39635 (S): Likewise.
39636 (SIZE): Likewise.
39637 (__mpn_lshift): Do not use BP_SYM.
39638 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39639 (PARMS): Do not use macros from bp-asm.h.
39640 (STR): Likewise.
39641 (CHR): Likewise.
39642 (__memchr): Do not use BP_SYM.
39643 (memchr): Do not use BP_SYM in weak_alias.
39644 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39645 (PARMS): Do not use macros from bp-asm.h.
39646 (BLK2): Likewise.
39647 (LEN): Likewise.
39648 (memcmp): Do not use BP_SYM.
39649 (bcmp): Do not use BP_SYM in weak_alias.
39650 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39651 (PARMS): Do not use macros from bp-asm.h.
39652 (S1): Likewise.
39653 (SIZE): Likewise.
39654 (__mpn_mul_1): Do not use BP_SYM.
39655 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39656 "bp-asm.h".
39657 (PARMS): Do not use macros from bp-asm.h.
39658 (STR): Likewise.
39659 (CHR): Likewise.
39660 (__rawmemchr): Do not use BP_SYM.
39661 (rawmemchr): Do not use BP_SYM in weak_alias.
39662 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39663 (PARMS): Do not use macros from bp-asm.h.
39664 (S): Likewise.
39665 (SIZE): Likewise.
39666 (__mpn_rshift): Do not use BP_SYM.
39667 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39668 (PARMS): Do not use macros from bp-asm.h.
39669 (SIGMSK): Likewise.
39670 (__sigsetjmp): Likewise. Do not use BP_SYM.
39671 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39672 (_start): Do not use BP_SYM.
39673 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39674 (PARMS): Do not use macros from bp-asm.h.
39675 (DEST): Likewise.
39676 (SRC): Likewise.
39677 (__stpcpy): Likewise. Do not use BP_SYM.
39678 (stpcpy): Do not use BP_SYM in weak_alias.
39679 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39680 "bp-asm.h".
39681 (PARMS): Do not use macros from bp-asm.h.
39682 (DEST): Likewise.
39683 (SRC): Likewise.
39684 (LEN): Likewise.
39685 (__stpncpy): Likewise. Do not use BP_SYM.
39686 (stpncpy): Do not use BP_SYM in weak_alias.
39687 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39688 (PARMS): Do not use macros from bp-asm.h.
39689 (STR): Likewise.
39690 (CHR): Likewise.
39691 (strchr): Likewise. Do not use BP_SYM.
39692 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39693 "bp-asm.h".
39694 (PARMS): Do not use macros from bp-asm.h.
39695 (STR): Likewise.
39696 (CHR): Likewise.
39697 (__strchrnul): Likewise. Do not use BP_SYM.
39698 (strchrnul): Do not use BP_SYM in weak_alias.
39699 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39700 "bp-asm.h".
39701 (PARMS): Do not use macros from bp-asm.h.
39702 (STOP): Likewise.
39703 (strcspn): Do not use BP_SYM.
39704 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39705 "bp-asm.h".
39706 (PARMS): Do not use macros from bp-asm.h.
39707 (STR): Likewise.
39708 (STOP): Likewise.
39709 (strpbrk): Likewise. Do not use BP_SYM.
39710 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39711 "bp-asm.h".
39712 (PARMS): Do not use macros from bp-asm.h.
39713 (STR): Likewise.
39714 (CHR): Likewise.
39715 (strrchr): Likewise. Do not use BP_SYM.
39716 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39717 (PARMS): Do not use macros from bp-asm.h.
39718 (SKIP): Likewise.
39719 (strspn): Do not use BP_SYM.
39720 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39721 (PARMS): Do not use macros from bp-asm.h.
39722 (STR): Likewise.
39723 (DELIM): Likewise.
39724 (SAVE): Likewise.
39725 (FUNCTION): Likewise. Do not use BP_SYM.
39726 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39727 aliases.
39728 (strtok_r): Likewise.
39729 (__GI___strtok_r): Likewise.
39730 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39731 (PARMS): Do not use macros from bp-asm.h.
39732 (S1): Likewise.
39733 (S2): Likewise.
39734 (SIZE): Likewise.
39735 (__mpn_sub_n): Do not use BP_SYM.
39736 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39737 "bp-asm.h".
39738 (PARMS): Do not use macros from bp-asm.h.
39739 (S1): Likewise.
39740 (SIZE): Likewise.
39741 (__mpn_submul_1): Do not use BP_SYM.
39742 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39743 <bp-sym.h>.
39744 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39745 and <bp-asm.h>.
39746 (PARMS): Do not use macros from bp-asm.h.
39747 (FLAGS): Likewise.
39748 (PTID): Likewise.
39749 (TLS): Likewise.
39750 (CTID): Likewise.
39751 (__clone): Do not use BP_SYM.
39752 (clone): Do not use BP_SYM in weak_alias.
39753 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39754 and <bp-asm.h>.
39755 (PARMS): Do not use macros from bp-asm.h.
39756 (LEN): Likewise.
39757 (__mmap64): Do not use BP_SYM.
39758 (mmap64): Do not use BP_SYM in weak_alias.
39759 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39760 <bp-sym.h> and <bp-asm.h>.
39761 (PARMS): Do not use macros from bp-asm.h.
39762 (__posix_fadvise64_l64): Do not use BP_SYM.
39763 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39764 (PARMS): Do not use macros from bp-asm.h.
39765 (NSOPS): Likewise.
39766 (semtimedop): Do not use BP_SYM.
39767 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39768 and <bp-asm.h>.
39769
39770 2013-02-21 Allan McRae <allan@archlinux.org>
39771
39772 * manual/message.texi (Charset conversion in gettext):
39773 Move @end statement to beginning of line.
39774
39775 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39776
39777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39778 static.
39779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39780 Likewise.
39781
39782 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39783 (denorm): Likewise.
39784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39786
39787 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39788
39789 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39790 tail-call to the resolved function if pltexit isn't needed.
39791
39792 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39793
39794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39795 or Y being zero as being unlikely.
39796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39797 Likewise.
39798
39799 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39800
39801 * manual/nss.texi (System Databases and Name Service Switch):
39802 Remove frobnicate @pxref.
39803
39804 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39805
39806 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39807 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39808
39809 2013-02-20 Petr Machata <pmachata@redhat.com>
39810
39811 * elf/elf.h (R_ARM_TARGET1): New macro.
39812 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39813 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39814 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39815 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39816 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39817 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39818 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39819 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39820 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39821 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39822 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39823 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39824 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39825 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39826 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39827 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39828 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39829 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39830 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39831 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39832 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39833 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39834 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39835 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39836 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39837 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39838 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39839 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39840 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39841 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39842 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39843 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39844 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39845 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39846 (R_ARM_THM_GOT_BREL12): Likewise.
39847 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39848 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39849 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39850 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39851 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39852 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39853 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39854 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39855 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39856
39857 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39858
39859 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39860 __attribute_used__ to __attribute__ ((unused)).
39861
39862 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39863
39864 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39865 powerpc mpa.c.
39866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39867 comment formatting.
39868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39869
39870 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39871
39872 [BZ #13550]
39873 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39874 Remove macro.
39875 (ENTER): Remove both macro definitions.
39876 (LEAVE): Likewise.
39877 (CHECK_BOUNDS_LOW): Likewise.
39878 (CHECK_BOUNDS_HIGH): Likewise.
39879 (CHECK_BOUNDS_BOTH): Likewise.
39880 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39881 (RETURN_BOUNDED_POINTER): Likewise.
39882 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39883 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39884 (POP_ERRNO_LOCATION_RETURN): Likewise.
39885 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39886 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39887 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39888 macros.
39889 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39890 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39891 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39892 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39893 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39894 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39895 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39896 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39897 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39898 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39899 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39900 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39901 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39902 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39903 removed macros.
39904 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39905 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39906 macros.
39907 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39908 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39909 * sysdeps/i386/i586/memset.S (memset): Likewise.
39910 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39911 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39912 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39913 macros.
39914 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39915 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39916 Change uses of L(2) to L(out).
39917 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39918 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39919 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39920 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39921 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39922 removed macros.
39923 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39924 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39925 macros.
39926 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39927 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39928 (RETURN): Do not use macro LEAVE.
39929 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39930 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39931 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39932 * sysdeps/i386/i686/memset.S (memset): Likewise.
39933 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39934 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39935 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39936 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39937 Likewise.
39938 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39939 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39940 L(1_2) and L(1_3) into L(1).
39941 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39942 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39943 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39944 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39945 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39946 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39947 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39948 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39949 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39950 macros.
39951 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39952 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39953 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39954 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39955 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39956 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39957 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39958 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39959 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39960 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39961 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39962 * sysdeps/i386/strspn.S (strspn): Likewise.
39963 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39964 conditional code.
39965 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39966 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39967 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39968 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39969 L(1_3) into L(1_1).
39970 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39971 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39972 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39973 macros.
39974 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39975
39976 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39977
39978 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39979 macro.
39980
39981 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39982
39983 * math/atest-exp.c (exp_mpn): Remove ROUND.
39984 * math/atest-exp2.c (exp_mpn): Likewise.
39985 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39986
39987 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39988 * stdlib/tst-tls-atexit-lib.c: Likewise.
39989 * stdlib/tst-tls-atexit.c: Likewise.
39990
39991 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39992
39993 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39994 and __attribute_alloc_size__.
39995
39996 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39997
39998 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39999 __attribute_alloc_size__.
40000 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40001 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40002
40003 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40004
40005 * include/programs/xmalloc.h: New file.
40006 * catgets/gencat.c: Include it.
40007 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40008 * elf/pldd.c: Likewise.
40009 * iconv/iconv_charmap.c: Likewise.
40010 * iconv/iconvconfig.c: Likewise.
40011 * iconv/strtab.c: Likewise.
40012 * locale/programs/locale.c: Likewise.
40013 * locale/programs/localedef.h: Likewise.
40014 * locale/programs/simple-hash.c: Likewise.
40015 * nscd/nscd.h: Likewise.
40016 * nss/makedb.c: Likewise.
40017 * sysdeps/generic/ldconfig.h: Likewise.
40018
40019 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40020
40021 * Versions.def: Add GLIBC_2.18.
40022 * include/link.h (struct link_map): New member l_tls_dtor_count.
40023 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40024 (__call_tls_dtors): Likewise.
40025 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40026 __cxa_thread_atexit_impl.
40027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40028 Likewise.
40029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40030 Likewise.
40031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40032 Likewise.
40033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40034 Likewise.
40035 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40037 Likewise.
40038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40039 Likewise.
40040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40042 Likewise.
40043 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40044 (tests): Add test case tst-tls-atexit.
40045 (modules-names): Add shared library for tst-tls-atexit.
40046 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40047 (GLIBC_PRIVATE): Add __call_tls_dtors.
40048 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40049 for libstdc++.
40050 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40051 * stdlib/tst-tls-atexit.c: New test case.
40052 * stdlib/tst-tls-atexit-lib.c: New test case.
40053
40054 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40055
40056 * elf/Versions (ld): Add _dl_find_dso_for_object.
40057 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40058 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40059 (dl_open_worker): Use _dl_find_dso_for_object.
40060 * elf/dl-sym.c (do_sym): Likewise.
40061 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40062
40063 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40064
40065 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40066 Syntactic changes only.
40067 (_dl_runtime_profile): Do a tail-call to the resolved function.
40068
40069 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40070
40071 [BZ #13550]
40072 * sysdeps/x86_64/bp-asm.h: Remove file.
40073 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40074 <bp-sym.h> and <bp-asm.h>.
40075 (__clone): Do not use BP_SYM.
40076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40077 <bp-sym.h> and <bp-asm.h>.
40078 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40079 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40080 "bp-asm.h".
40081 (_setjmp): Do not use BP_SYM.
40082 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40083 "bp-asm.h".
40084 (setjmp): Do not use BP_SYM.
40085 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40086 libc_hidden_def.
40087 (mempcpy): Do not use BP_SYM in weak_alias.
40088 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40089 "bp-asm.h".
40090 (strchr): Do not use BP_SYM.
40091 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40092 "bp-asm.h".
40093 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40094 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40095 (_start): Do not use BP_SYM.
40096 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40097 "bp-asm.h".
40098 (strcat): Do not use BP_SYM.
40099 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40100 "bp-asm.h".
40101 (STRCMP): Do not use BP_SYM.
40102 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40103 "bp-asm.h".
40104 (STRCPY): Do not use BP_SYM.
40105 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40106 "bp-asm.h".
40107 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40108 "bp-asm.h".
40109 (FUNCTION): Do not use BP_SYM.
40110 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40111 weak_alias.
40112 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40113
40114 2013-02-17 Andreas Jaeger <aj@suse.de>
40115
40116 * time/Versions: Sort entries.
40117 * string/Versions: Likewise.
40118 * resolv/Versions: Likewise.
40119 * posix/Versions: Likewise.
40120 * iconv/Versions: Likewise.
40121 * elf/Versions: Likewise.
40122 * wcsmbs/Versions: Likewise.
40123
40124 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40125
40126 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40127 loop termination condition.
40128
40129 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40130 variable to calculate EZ.
40131 (__sqr): Likewise.
40132
40133 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40134 the lower precision input.
40135
40136 2013-02-15 Joseph Myers <joseph@codesourcery.com>
40137
40138 [BZ #13550]
40139 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40140 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40141 (run-via-rtld-prefix): Do not handle %-bp tests.
40142 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40143 (all-object-suffixes): Remove .ob.
40144 (bppfx): Remove variable.
40145 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40146 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40147 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40148 [$(build-bounded) = yes] (libtype.ob): Likewise.
40149 * Makerules (elide-routines.ob): Remove variable.
40150 (do-tests-clean): Do not handle *-bp.out.
40151 (common-mostlyclean): Do not handle *-bp and *-bp.out.
40152 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40153 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40154 (tests): Do not include $(tests-bp.out).
40155 (xtests): Do not include $(xtests-bp.out).
40156 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40157 [$(build-bounded) = yes] ($(addprefix
40158 $(objpfx),$(binaries-bounded))): Remove rule.
40159 ($(objpfx)%-bp.out): Remove rule.
40160 * config.make.in (build-bounded): Remove variable.
40161 * crypt/Makefile [$(build-bounded) = yes]
40162 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40163 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40164 append to variable.
40165 [$(build-bounded) = yes] (install-lib): Likewise.
40166 [$(build-bounded) = yes] (generated): Likewise.
40167 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40168 Remove rule.
40169 * intl/Makefile [$(build-bounded) = yes]
40170 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40171 * math/Makefile [$(build-bounded) = yes]
40172 ($(tests:%=$(objpfx)%-bp): Likewise.
40173 * misc/Makefile [$(build-bounded) = yes]
40174 ($(objpfx)tst-tsearch-bp): Likewise.
40175 * nptl/Makeconfig (bounded-thread-library): Remove variable.
40176 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40177 Remove dependency.
40178 * string/Makefile (o-objects.ob): Remove variable.
40179 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40180 (CFLAGS-.ob): Remove variable.
40181 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40182 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40183 both definitions of variable.
40184 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40185 (ASFLAGS-.ob): Remove variable.
40186
40187 2013-02-14 Joseph Myers <joseph@codesourcery.com>
40188
40189 [BZ #13550]
40190 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40191 Remove __BOUNDED_POINTERS__ from condition.
40192 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40193 * string/bits/string2.h [!__NO_STRING_INLINES &&
40194 !__BOUNDED_POINTERS__]: Likewise.
40195 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40196 Likewise.
40197 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40198 Remove conditional code.
40199 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40200 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40201 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40202 condition.
40203
40204 [BZ #13550]
40205 * csu/libc-start.c: Do not include <bp-sym.h>.
40206 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40207 * elf/dl-open.c: Do not include <bp-sym.h>.
40208 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40209 * math/fegetenv.c: Do not include <bp-sym.h>.
40210 (fegetenv): Do not use BP_SYM in versioned symbols.
40211 * nptl/sysdeps/pthread/bits/libc-lockP.h
40212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40213 <bp-sym.h>.
40214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40215 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40217 (__pthread_mutex_destroy): Likewise.
40218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40219 (__pthread_mutex_lock): Likewise.
40220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40221 (__pthread_mutex_trylock): Likewise.
40222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40223 (__pthread_mutex_unlock): Likewise.
40224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40225 (__pthread_mutexattr_init): Likewise.
40226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40227 (__pthread_mutexattr_destroy): Likewise.
40228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40229 (__pthread_mutexattr_settype): Likewise.
40230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40231 (__pthread_rwlock_init): Likewise.
40232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40233 (__pthread_rwlock_destroy): Likewise.
40234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40235 (__pthread_rwlock_rdlock): Likewise.
40236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40237 (__pthread_rwlock_tryrdlock): Likewise.
40238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40239 (__pthread_rwlock_wrlock): Likewise.
40240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40241 (__pthread_rwlock_trywrlock): Likewise.
40242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40243 (__pthread_rwlock_unlock): Likewise.
40244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40245 (__pthread_key_create): Likewise.
40246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40247 (__pthread_setspecific): Likewise.
40248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40249 (__pthread_getspecific): Likewise.
40250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40251 Likewise.
40252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40253 (_pthread_cleanup_push_defer): Likewise.
40254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40255 (_pthread_cleanup_pop_restore): Likewise.
40256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40257 (pthread_setcancelstate): Likewise.
40258 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40259 <bp-sym.h>.
40260 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40261 (memchr): Do not use BP_SYM in weak_alias.
40262 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40263 (fegetenv): Do not use BP_SYM in versioned symbols.
40264 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40265 (fesetenv): Do not use BP_SYM in versioned symbols.
40266 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40267 (feupdateenv): Do not use BP_SYM in versioned symbols.
40268 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40269 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40270 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40271 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40272 (open64): Do not use BP_SYM in weak_alias.
40273 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40274 (fegetenv): Do not use BP_SYM in versioned symbols.
40275 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40276 (fesetenv): Do not use BP_SYM in versioned symbols.
40277 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40278 (feupdateenv): Do not use BP_SYM in versioned symbols.
40279 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40280 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40281 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40282 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40283 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40284 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40285 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40286 <bp-sym.h>.
40287 (__libc_start_main): Do not use BP_SYM.
40288
40289 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40290
40291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40292 redundant return line.
40293 (norm): Likewise.
40294 (denorm): Likewise.
40295 (dbl_mp): Likewise.
40296 (sub_magnitudes): Likewise.
40297 (__add): Likewise.
40298 (__sub): Likewise.
40299 (__mul): Likewise.
40300 (__inv): Likewise.
40301 (__dvd): Likewise.
40302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40303 (norm): Likewise.
40304 (denorm): Likewise.
40305 (dbl_mp): Likewise.
40306 (sub_magnitudes): Likewise.
40307 (__add): Likewise.
40308 (__sub): Likewise.
40309 (__mul): Likewise.
40310 (__inv): Likewise.
40311 (__dvd): Likewise.
40312
40313 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40314 instead of __mul.
40315 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40316 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40317 (cc32): Likewise.
40318
40319 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40320 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40322 of __mul for squares.
40323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40324 function
40325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40326 Likewise.
40327 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40328 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40329
40330 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40331
40332 [BZ #13550]
40333 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40334 code.
40335 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40336 prototype or function definition. Rename ubp_* variables and
40337 parameters. Remove argv definitions conditional on
40338 [__BOUNDED_POINTERS__].
40339 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40340 * elf/dl-runtime.c (_dl_fixup): Likewise.
40341 * include/set-hooks.h (RUN_HOOK): Likewise.
40342 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40343 definition.
40344 * string/strcpy.c (strcpy): Do not use __unbounded.
40345 * sysdeps/generic/frame.h (struct layout): Likewise.
40346 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40347 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40348 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40349 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40350 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40351 (__backtrace): Likewise.
40352 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40353 use __ptrvalue.
40354 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40355 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40356 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40357 Likewise.
40358 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40359 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40360 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40361 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40362 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40363 Do not use __unbounded.
40364 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40365 Rename __unboundedrlimits parameter to rlimits in prototype.
40366 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40367 Do not use __unbounded.
40368 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40369 not use __ptrvalue.
40370 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40371 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40372 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40373 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40374 __ptrvalue or __unbounded.
40375 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40376 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40377 use __unbounded.
40378 (__new_msgctl): Do not use __ptrvalue.
40379 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40380 __unbounded.
40381 (__libc_msgrcv): Do not use __ptrvalue.
40382 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40383 startup_info): Do not use __unbounded.
40384 (__libc_start_main): Likewise. Rename ubp_* variables and
40385 parameters. Remove argv definitions conditional on
40386 [__BOUNDED_POINTERS__].
40387 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40388 __ptrvalue.
40389 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40390 use __unbounded.
40391 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40392 or __ptrvalue.
40393 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40394 use __unbounded.
40395 (__new_shmctl): Do not use __ptrvalue.
40396 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40397 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40398 Likewise.
40399 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40400 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40401 (__libc_sigaction): Likewise.
40402 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40403 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40404 Likewise.
40405 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40406
40407 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40408
40409 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40410
40411 * string/mempcpy.c: Implement by calling memcpy.
40412
40413 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40414
40415 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40416
40417 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40418 evaluation.
40419
40420 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40421 values in the mantissa.
40422
40423 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40424 minimize writes to Z.
40425 (sub_magnitudes): Simplify code a bit.
40426
40427 2013-02-12 Roland McGrath <roland@hack.frob.com>
40428
40429 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40430 from the message. The linker prefixes all warnings with that already.
40431
40432 2013-02-12 Andreas Schwab <schwab@suse.de>
40433
40434 [BZ #15078]
40435 * posix/regexec.c (extend_buffers): Add parameter min_len.
40436 (check_matching): Pass minimum needed length.
40437 (clean_state_log_if_needed): Likewise.
40438 (get_subexp): Likewise.
40439 * posix/Makefile (tests): Add bug-regex34.
40440 (bug-regex34-ENV): Define.
40441 * posix/bug-regex34.c: New file.
40442
40443 [BZ #11561]
40444 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40445 elements compare against the byte sequence of it, not its name.
40446 * posix/Makefile (tests): Add bug-regex35.
40447 (bug-regex35-ENV): Define.
40448 * posix/bug-regex35.c: New file.
40449
40450 2013-02-11 Tom de Vries <tom@codesourcery.com>
40451
40452 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40453 comment.
40454 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40455 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40456 (CHECK_EOL): Add undef.
40457
40458 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40459
40460 * bits/stdlib-bsearch.h: New file.
40461 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40462 * stdlib/stdlib.h: Likewise.
40463
40464 2013-02-11 Roland McGrath <roland@hack.frob.com>
40465
40466 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40467 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40468 declaration.
40469 * manual/search.texi (Array Search Function): Add missing const in
40470 lfind prototype.
40471 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40472 declaration to use rlim_t.
40473 (Basic Scheduling Functions): Remove erroneous const from
40474 sched_getparam prototype. Remove erroneous * from
40475 sched_get_priority_max and sched_get_priority_min prototypes.
40476 (Resource Usage): Fix summary @comment on vtimes to refer to
40477 sys/vtimes.h rather than vtimes.h.
40478 Add missing *s in vtimes prototype.
40479 (Limits on Resources): Fix ulimit prototype to return long int.
40480 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40481 prototypes to use long int rather than double.
40482 (BSD Random): Fix initstate and setstate to use char *, not void *.
40483 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40484 prototype to make second argument 'struct aiocb64 *const[]'.
40485 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40486 (Status of AIO Operations): Remove erroneous const in aio_return and
40487 aio_return64 prototypes.
40488 (Synchronizing I/O): Fix sync prototype to return void.
40489 * manual/startup.texi (Suboptions): Remove an erroneous const in
40490 getsubopt prototype.
40491 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40492 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40493 use size_t rather than int.
40494 (Scanning All Users): Likewise for getpwent_r.
40495 (Setting Groups): Add missing const to setgroups prototype.
40496 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40497 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40498 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40499 'const void *' rather than 'const char *'.
40500 (Host Address Functions): Likewise for inet_ntop.
40501 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40502 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40503 ssize_t for return value.
40504 (Sending Data): Likewise for send, sendto, sendmsg.
40505 (Socket Option Functions): Add a missing const in setsockopt prototype.
40506 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40507 use wchar_t for the argument.
40508 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40509 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40510 take no arguments.
40511 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40512 double/float/long double for second argument.
40513 Fix return types of significand, significandf, significandl.
40514 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40515 argument in fchmod prototype.
40516 (File Owner): Use uid_t and gid_t in fchown prototype.
40517 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40518 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40519 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40520 use 'const struct dirent **' as argument types to CMP function pointer
40521 argument.
40522 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40523 (File Times): Fix summary magic @comment for struct utimbuf and utime
40524 to refer to utime.h, not time.h.
40525 * manual/string.texi (Argz Functions): Add missing const in
40526 argz_extract and argz_next prototypes.
40527 (Finding Tokens in a String): Likewise for basename.
40528 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40529 (Copying and Concatenation): Fix typo in wmemmove prototype.
40530 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40531 (Signal Stack): Remove erroneous const in sigstack prototype.
40532 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40533 prototype.
40534 (Simple Calendar Time): Likewise for stime.
40535 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40536 prototype.
40537 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40538 say sys/sysctl.h instead.
40539 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40540 and vsyslog prototypes.
40541
40542 2013-02-11 Tom de Vries <tom@codesourcery.com>
40543
40544 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40545 Remove.
40546
40547 2013-02-11 Roland McGrath <roland@hack.frob.com>
40548
40549 * misc/sys/mman.h: Fix typo in mremap comment.
40550
40551 2013-02-08 Roland McGrath <roland@hack.frob.com>
40552
40553 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40554 the '\0' terminator.
40555
40556 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40557
40558 [BZ #13550]
40559 * debug/segfault.c: Don't include <bp-checks.h>.
40560 * sysdeps/generic/bp-checks.h: Remove file.
40561 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40562 (__GETDENTS): Don't use CHECK_N.
40563 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40564 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40565 (__getgroups): Don't use CHECK_N.
40566 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40567 (setgroups): Don't use CHECK_N.
40568 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40569 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40570 (__libc_msgrcv): Don't use CHECK_N.
40571 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40572 (__libc_msgsnd): Don't use CHECK_N.
40573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40574 <bp-checks.h>.
40575 (__libc_pread): Don't use CHECK_N.
40576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40577 include <bp-checks.h>.
40578 (__libc_pread64): Don't use CHECK_N.
40579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40580 include <bp-checks.h>.
40581 (__libc_pwrite): Don't use CHECK_N.
40582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40583 include <bp-checks.h>.
40584 (__libc_pwrite64): Don't use CHECK_N.
40585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40586 <bp-checks.h>.
40587 (__libc_pread): Don't use CHECK_N.
40588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40589 include <bp-checks.h>.
40590 (__libc_pread64): Don't use CHECK_N.
40591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40592 include <bp-checks.h>.
40593 (__libc_pwrite): Don't use CHECK_N.
40594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40595 include <bp-checks.h>.
40596 (__libc_pwrite64): Don't use CHECK_N.
40597 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40598 (do_pread): Don't use CHECK_N.
40599 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40600 (do_pread64): Don't use CHECK_N.
40601 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40602 (do_pwrite): Don't use CHECK_N.
40603 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40604 (do_pwrite64): Don't use CHECK_N.
40605 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40606 (__libc_readv): Don't use CHECK_N.
40607 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40608 (semop): Don't use CHECK_N.
40609 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40610 <bp-checks.h>.
40611 (semtimedop): Don't use CHECK_N.
40612 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40613 (__libc_pread): Don't use CHECK_N.
40614 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40615 <bp-checks.h>.
40616 (__libc_pread64): Don't use CHECK_N.
40617 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40618 <bp-checks.h>.
40619 (__libc_pwrite): Don't use CHECK_N.
40620 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40621 <bp-checks.h>.
40622 (__libc_pwrite64): Don't use CHECK_N.
40623 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40624 <bp-checks.h>.
40625 (__libc_msgrcv): Don't use CHECK_N.
40626 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40627 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40628 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40629 (__libc_writev): Don't use CHECK_N.
40630
40631 2013-02-08 Roland McGrath <roland@hack.frob.com>
40632
40633 * string/strcpy.c: Removed unused variable.
40634
40635 * Makeconfig (+sysdep-includes): Define with := rather than =.
40636 Use an existing include/ subdir of each sysdeps dir before it.
40637
40638 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40639
40640 * nscd/connection.c (register_traced_file): Comment function.
40641 [HAVE_INOTIFY] (union __inev): Define.
40642 [HAVE_INOTIFY] (inotify_check_files): New function.
40643 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40644 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40645 clear_db_cache.
40646 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40647
40648 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40649
40650 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40651 loaded if not already and that a failure is permanent.
40652
40653 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40654
40655 [BZ #15006]
40656 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40657 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40658
40659 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40660
40661 [BZ #13550]
40662 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40663 (CHECK_1_NULL_OK): Likewise.
40664 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40665 (__fxstat): Do not use CHECK_1.
40666 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40667 <bp-checks.h>.
40668 (___fxstat64): Do not use CHECK_1.
40669 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40670 <bp-checks.h>.
40671 (__fxstatat): Do not use CHECK_1.
40672 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40673 <bp-checks.h>.
40674 (__fxstatat64): Do not use CHECK_1.
40675 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40676 <bp-checks.h>.
40677 (__fxstat): Do not use CHECK_1.
40678 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40679 <bp-checks.h>.
40680 (__fxstatat): Do not use CHECK_1.
40681 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40682 <bp-checks.h>.
40683 (__getresgid): Do not use CHECK_1.
40684 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40685 <bp-checks.h>.
40686 (__getresuid): Do not use CHECK_1.
40687 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40688 <bp-checks.h>.
40689 (__lxstat): Do not use CHECK_1.
40690 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40691 <bp-checks.h>.
40692 (__old_msgctl): Do not use CHECK_1.
40693 (__new_msgctl): Likewise.
40694 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40695 <bp-checks.h>.
40696 (__new_setrlimit): Do not use CHECK_1.
40697 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40698 <bp-checks.h>.
40699 (__old_shmctl): Do not use CHECK_1.
40700 (__new_shmctl): Likewise.
40701 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40702 <bp-checks.h>.
40703 (__xstat): Do not use CHECK_1.
40704 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40705 (__lxstat): Do not use CHECK_1.
40706 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40707 <bp-checks.h>.
40708 (___lxstat64): Do not use CHECK_1.
40709 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40710 (__old_msgctl): Do not use CHECK_1.
40711 (__new_msgctl): Likewise.
40712 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40713 <bp-checks.h>.
40714 (__gettimeofday): Do not use CHECK_1.
40715 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40716 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40717 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40718 <bp-checks.h>.
40719 (__gettimeofday): Do not use CHECK_1.
40720 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40721 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40722 (__new_shmctl): Do not use CHECK_1.
40723 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40724 <bp-checks.h>.
40725 (do_sigtimedwait): Do not use CHECK_1.
40726 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40727 <bp-checks.h>.
40728 (do_sigwaitinfo): Do not use CHECK_1.
40729 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40730 <bp-checks.h>.
40731 (msgctl): Do not use CHECK_1.
40732 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40733 <bp-checks.h>.
40734 (shmctl): Do not use CHECK_1.
40735 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40736 (ustat): Do not use CHECK_1.
40737 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40738 <bp-checks.h>.
40739 (__fxstat): Do not use CHECK_1.
40740 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40741 <bp-checks.h>.
40742 (__fxstatat): Do not use CHECK_1.
40743 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40744 <bp-checks.h>.
40745 (__lxstat): Do not use CHECK_1.
40746 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40747 <bp-checks.h>.
40748 (__xstat): Do not use CHECK_1.
40749 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40750 (__xstat): Do not use CHECK_1.
40751 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40752 (___xstat64): Do not use CHECK_1.
40753
40754 [BZ #13550]
40755 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40756 definitions.
40757 (CHECK_BOUNDS_HIGH): Likewise.
40758 * string/strcpy.c: Do not include <bp-checks.h>.
40759 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40760
40761 2013-02-07 Roland McGrath <roland@hack.frob.com>
40762
40763 * nscd/nscd-client.h (__nscd_drop_map_ref):
40764 Add __attribute__ ((unused)).
40765 * nis/nss-nisplus.h (niserr2nss): Likewise.
40766
40767 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40768 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40769
40770 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40771 Remove inline keyword.
40772 * include/rounding-mode.h (round_away): Likewise.
40773 * libio/wfileops.c (adjust_wide_data): Likewise.
40774 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40775 (__m128i_strloadu_tolower): Likewise.
40776 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40777 (__m128i_strloadu_tolower): Likewise.
40778 * time/mktime.c (ydhms_diff): Likewise.
40779 * locale/elem-hash.h (elem_hash): Likewise.
40780 * locale/setlocale.c (setdata): Likewise.
40781 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40782 (re_string_wchar_at): Likewise.
40783 (bitset_not, bitset_merge, bitset_mask): Likewise.
40784 [!(__GNUC__ > 3)] (inline): Remove macro.
40785 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40786 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40787 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40788 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40789 * string/memcmp.c (memcmp_bytes): Likewise.
40790 * locale/programs/locarchive.c (compute_hashval): Likewise.
40791 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40792 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40793 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40794 * nss/getent.c (print_rpc, print_protocols): Likewise.
40795 (print_passwd, print_group, print_aliases): Likewise.
40796 * nis/nss-nisplus.h (niserr2nss): Likewise.
40797 * nscd/connections.c (restart_p): Likewise.
40798 Change return type to bool.
40799
40800 2013-02-05 Roland McGrath <roland@hack.frob.com>
40801
40802 * Makeconfig (all-Depend-files): Add existing
40803 $(sorted-subdirs:=/Depend) files.
40804 (all-subdirs): Remove nss.
40805 * sysdeps/unix/inet/Subdirs: Add it here instead.
40806 * hesiod/Depend: New file.
40807
40808 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40809 instead of calling alloca.
40810
40811 * io/lseek.c (__lseek): Rename to __libc_lseek.
40812 Define __lseek as an alias.
40813
40814 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40815
40816 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40817
40818 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40819 else clause and remove check for non-standard endianness.
40820
40821 2013-02-04 David S. Miller <davem@davemloft.net>
40822
40823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40824
40825 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40826
40827 [BZ #13550]
40828 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40829 (__ubp_memchr): Remove prototype.
40830 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40831 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40832 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40833 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40834 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40835 Remove alias.
40836 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40837 (__ubp_memchr): Likewise.
40838 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40839 (__ubp_memchr): Likewise.
40840 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40841 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40842 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40843 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40844 CHECK_STRING.
40845 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40846 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40847 (__getcwd): Do not use CHECK_STRING.
40848 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40849 <bp-checks.h>.
40850 (__real_chown): Do not use CHECK_STRING.
40851 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40852 <bp-checks.h>.
40853 (fchownat): Do not use CHECK_STRING.
40854 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40855 CHECK_STRING.
40856 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40857 <bp-checks.h>.
40858 (__lchown): Do not use CHECK_STRING.
40859 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40860 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40861 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40862 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40864 include <bp-checks.h>.
40865 (truncate64): Do not use CHECK_STRING.
40866 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40867 <bp-checks.h>.
40868 (__real_chown): Do not use CHECK_STRING.
40869 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40870 <bp-checks.h>.
40871 (__lchown): Do not use CHECK_STRING.
40872 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40873 <bp-checks.h>.
40874 (__chown): Do not use CHECK_STRING.
40875 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40876 <bp-checks.h>.
40877 (truncate64): Do not use CHECK_STRING.
40878 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40879 Likewise.
40880 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40881 (__xmknod): Do not use CHECK_STRING.
40882 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40883 <bp-checks.h>.
40884 (__xmknodat): Do not use CHECK_STRING.
40885 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40886 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40887
40888 2013-02-04 Andreas Schwab <schwab@suse.de>
40889
40890 [BZ #14142]
40891 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40892 * include/netdb.h: Likewise for h_errno.
40893 * elf/tst-stackguard1.c: Include <tls.h>.
40894
40895 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40896
40897 * elf/link.h (struct link_map): Extend the l_addr comment.
40898 * include/link.h (struct link_map): Likewise.
40899
40900 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40901
40902 [BZ #13550]
40903 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40904 (BOUNDED_1): Remove macro.
40905 * debug/backtrace.c: Don't include <bp-checks.h>.
40906 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40907 (__backtrace): Likewise.
40908 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40909 <bp-checks.h>.
40910 (__backtrace): Don't use BOUNDED_1.
40911 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40912 <bp-checks.h>.
40913 (__backtrace): Don't use BOUNDED_1.
40914 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40915 (__backtrace): Don't use BOUNDED_1.
40916 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40917 (shmat): Don't use BOUNDED_N.
40918
40919 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40920
40921 [BZ #13550]
40922 * sysdeps/generic/bp-start.h: Remove file.
40923 * csu/libc-start.c: Don't include <bp-start.h>.
40924 (LIBC_START_MAIN): Set up __environ directly instead of using
40925 INIT_ARGV_and_ENVIRON.
40926 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40927 <bp-start.h>.
40928
40929 [BZ #13550]
40930 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40931 definitions.
40932 (CHECK_FCNTL): Likewise.
40933 (CHECK_N_PAGES): Likewise.
40934
40935 [BZ #13550]
40936 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40937 definitions.
40938 (CHECK_SIGSET_NULL_OK): Likewise.
40939 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40940 <bp-checks.h>.
40941 (sigpending): Don't use CHECK_SIGSET.
40942 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40943 <bp-checks.h>.
40944 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40945 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40946 <bp-checks.h>.
40947 (do_sigsuspend): Don't use CHECK_SIGSET.
40948 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40949 use CHECK_SIGSET.
40950 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40951 (do_sigwait): Don't use CHECK_SIGSET.
40952 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40953 use CHECK_SIGSET.
40954 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40955 include <bp-checks.h>.
40956 (sigpending): Don't use CHECK_SIGSET.
40957 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40958 include <bp-checks.h>.
40959 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40960 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40961 <bp-checks.h>.
40962 (sigpending): Don't use CHECK_SIGSET.
40963 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40964 <bp-checks.h>.
40965 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40966
40967 [BZ #13550]
40968 * sysdeps/generic/bp-semctl.h: Remove file.
40969 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40970 <bp-checks.h> and <bp-semctl.h>.
40971 (__old_semctl): Don't use CHECK_SEMCTL.
40972 (__new_semctl): Likewise.
40973 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40974 and <bp-semctl.h>.
40975 (__old_semctl): Don't use CHECK_SEMCTL.
40976 (__new_semctl): Likewise.
40977 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40978 <bp-checks.h> and <bp-semctl.h>.
40979 (__old_semctl): Don't use CHECK_SEMCTL.
40980 (__new_semctl): Likewise.
40981 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40982 <bp-checks.h> and <bp-semctl.h>.
40983 (semctl): Don't use CHECK_SEMCTL.
40984
40985 [BZ #13550]
40986 * Makerules (elide-bp-thunks): Remove variable.
40987 (elide-routines.oS): Don't use $(elide-bp-thunks).
40988 (elide-routines.os): Likewise.
40989 (elide-routines.o): Likewise.
40990 (elide-routines.op): Likewise.
40991 (elide-routines.og): Likewise.
40992 (objects): Don't use $(bp-thunks).
40993 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40994 include.
40995 (common-generated): Do not add s-proto-bp.d.
40996 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40997 (int): Likewise.
40998 (typ): Likewise.
40999 Do not generate makefile rules for bounded-pointer thunks.
41000 * sysdeps/generic/bp-thunks.h: Remove file.
41001 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41002 * sysdeps/unix/s-proto-bp.S: Likewise.
41003
41004 [BZ #15062]
41005 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41006 parts of result separately when argument is not close to line from
41007 -i to i and one part of argument is small.
41008 * math/k_casinhf.c (__kernel_casinhf): Likewise.
41009 * math/k_casinhl.c (__kernel_casinhl): Likewise.
41010 * math/libm-test.inc (cacos_test): Add more tests.
41011 (casin_test): Likewise.
41012 (casinh_test): Likewise.
41013 * sysdeps/i386/fpu/libm-test-ulps: Update.
41014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41015
41016 2013-01-31 David S. Miller <davem@davemloft.net>
41017
41018 * po/de.po: Update from translation team.
41019
41020 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
41021
41022 * time/tzfile.c: Include stdint.h for SIZE_MAX.
41023
41024 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
41025
41026 * configure.in (_AC_PROG_CC_C89): New definition.
41027 * configure: Regenerate.
41028
41029 * configure.in (AC_PROG_CPP): New definition.
41030 * configure: Regenerate.
41031
41032 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41033
41034 * debug/tst-backtrace.h: New file.
41035 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41036 (ret): Remove variable.
41037 (x): Likewise.
41038 (FAIL): Remove macro.
41039 (NO_INLINE): Likewise.
41040 (fn1): Use match function instead of strstr.
41041 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41042 (ret): Remove variable.
41043 (x): Likewise.
41044 (FAIL): Remove macro.
41045 (NO_INLINE): Likewise.
41046 (fn): Use match function instead of strstr.
41047 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41048 (ret): Remove variable.
41049 (x): Likewise.
41050 (FAIL): Remove macro.
41051 (NO_INLINE): Likewise.
41052 (handle_signal): Use match function instead of strstr.
41053 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41054 (ret): Remove variable.
41055 (x): Likewise.
41056 (FAIL): Remove macro.
41057 (NO_INLINE): Likewise.
41058 (handle_signal): Use match function instead of strstr.
41059
41060 2013-01-23 Roland McGrath <roland@hack.frob.com>
41061
41062 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41063
41064 2013-01-23 David S. Miller <davem@davemloft.net>
41065
41066 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41067 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41068 argument of CAS if possible.
41069 * sysdeps/sparc/sparc64/bits/atomic.h
41070 (__arch_compare_and_exchange_val_32_acq): Likewise.
41071 (__arch_compare_and_exchange_val_64_acq): Likewise.
41072
41073 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41074
41075 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41076 * sysdeps/posix/ulimit.c: ... this.
41077 Include <limits.h>.
41078 * sysdeps/unix/bsd/ulimit.c: Remove file.
41079
41080 2013-01-23 Adam Conrad <adconrad@0c3.net>
41081
41082 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41083 (LDFLAGS-tst-array5): Likewise.
41084
41085 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41086
41087 [BZ #15036]
41088 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41089 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41090 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41091 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41092
41093 2013-01-21 David S. Miller <davem@davemloft.net>
41094
41095 * sysdeps/sparc/backtrace.c: New file.
41096 * sysdeps/sparc/sparc32/backtrace.h: New file.
41097 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41098 * sysdeps/sparc/sparc64/backtrace.h: New file.
41099 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41100 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41101 -funwind-tables.
41102
41103 2013-01-21 Andreas Schwab <schwab@suse.de>
41104
41105 [BZ #15020]
41106 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41107 closed its stdout.
41108
41109 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41110
41111 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41112 "mpa2.h".
41113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41114
41115 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41116 Mark Mitchell <mark@codesourcery.com>
41117 Tom de Vries <tom@codesourcery.com>
41118 Paul Pluzhnikov <ppluzhnikov@google.com>
41119
41120 * debug/tst-backtrace2.c: New file.
41121 * debug/tst-backtrace3.c: Likewise.
41122 * debug/tst-backtrace4.c: Likewise.
41123 * debug/tst-backtrace5.c: Likewise.
41124 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41125 (CFLAGS-tst-backtrace3.c): Likewise.
41126 (CFLAGS-tst-backtrace4.c): Likewise.
41127 (CFLAGS-tst-backtrace5.c): Likewise.
41128 (LDFLAGS-tst-backtrace2): Likewise.
41129 (LDFLAGS-tst-backtrace3): Likewise.
41130 (LDFLAGS-tst-backtrace4): Likewise.
41131 (LDFLAGS-tst-backtrace5): Likewise.
41132 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41133 tst-backtrace4 and tst-backtrace5.
41134
41135 2013-01-18 Anton Blanchard <anton@samba.org>
41136 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41137
41138 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41139 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41140 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41141 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41143 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41144 "+r" and remove output regs list as redundant. Add explicit inline
41145 asm to specify register of return val to work around compiler codegen
41146 bug. Remove (int) cast on return value. Add return type parameter to
41147 use in macro so that this macro does not truncate return value for
41148 64-bit values.
41149 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41150 pass to INTERNAL_VSYSCALL_NCS.
41151 (INLINE_VSYSCALL): Add 'long int' as return type to
41152 INTERNAL_VSYSCALL_NCS macro invocation.
41153 (INTERNAL_VSYSCALL): Add 'long int' as return type to
41154 INTERNAL_VSYSCALL_NCS macro invocation.
41155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41156
41157 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41158
41159 [BZ #14496]
41160 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41161 Fix application of SIMD FP exception mask.
41162
41163 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41164 mp_no from a power of two.
41165 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41166 __mpexp_twomm1. Use __pow_mp.
41167
41168 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41169 multiplication.
41170
41171 2013-01-17 David S. Miller <davem@davemloft.net>
41172
41173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41174
41175 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41176
41177 [BZ #15023]
41178 * include/complex.h: Condition contents on [!_COMPLEX_H].
41179 (__kernel_casinhf): New prototype.
41180 (__kernel_casinh): Likewise.
41181 (__kernel_casinhl): Likewise.
41182 * math/Makefile (libm_calls): Add k_casinh.
41183 * math/k_casinh.c: New file.
41184 * math/k_casinhf.c: Likewise.
41185 * math/k_casinhl.c: Likewise.
41186 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41187 finite nonzero arguments.
41188 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41189 finite nonzero arguments.
41190 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41191 finite nonzero arguments.
41192 * math/s_casinh.c: Do not include <float.h>.
41193 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41194 * math/s_casinhf.c: Do not include <float.h>.
41195 (__casinhf): Move code for finite nonzero arguments to
41196 k_casinhf.c.
41197 * math/s_casinhl.c: Do not include <float.h>.
41198 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41199 redefine.
41200 (__casinhl): Move code for finite nonzero arguments to
41201 k_casinhl.c.
41202 * math/libm-test.inc (cacos_test): Add more tests.
41203 * sysdeps/i386/fpu/libm-test-ulps: Update.
41204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41205
41206 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
41207
41208 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41209 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41210 [!HAVE_MREMAP]: Remove [defined linux] case.
41211 * malloc/arena.c: Do not include <malloc-sysdep.h>.
41212
41213 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41214
41215 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41216
41217 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
41218
41219 * elf/elf.h (R_386_SIZE32): New relocation.
41220 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41221 R_386_SIZE32.
41222 (elf_machine_rela): Likewise.
41223 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41224 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41225
41226 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41227
41228 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41229 (FP_FAST_FMA): Do not define.
41230 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41231 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41232 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41233 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41234 !_SOFT_FLOAT]: Likewise.
41235 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41236 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41237 value.
41238 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41239 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41240 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41241 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41242 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41243 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41244 file.
41245
41246 2013-01-16 Andreas Schwab <schwab@suse.de>
41247
41248 [BZ #14327]
41249 * include/stdlib.h (__mktemp): Add declaration.
41250 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41251 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41252
41253 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41254
41255 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41256 definitions.
41257 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41258 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41259 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41260 definitions here.
41261 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41262 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41263 definitions.
41264 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41265 and ONE.
41266 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41267 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41268 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41269 definitions.
41270 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41271 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41272 definitions.
41273 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41274
41275 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41276
41277 2013-01-15 David S. Miller <davem@davemloft.net>
41278
41279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41280 trunc{,f} to libm-sysdep_routes.
41281 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41283 file.
41284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41286 file.
41287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41288 file.
41289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41291 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41292 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41293 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41294 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41295 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41296 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41297
41298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41299 nearbyint{,f} to libm-sysdep_routes.
41300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41302 New file.
41303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41304 file.
41305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41306 New file.
41307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41308 file.
41309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41311 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41312 file.
41313 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41314 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41315 file.
41316 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41317 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41318 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41319
41320 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41321 libc_feholdexcept and libc_fesetenv.
41322
41323 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41324
41325 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41326
41327 2013-01-14 David S. Miller <davem@davemloft.net>
41328
41329 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41330 (SPARC_ASM_VIS2_IFUNC): Likewise.
41331 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41333 use of 'siam' instruction.
41334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41335 Likewise.
41336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41337 Likewise.
41338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41339 Likewise.
41340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41345 file.
41346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41347 file.
41348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41349 file.
41350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41351 file.
41352 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41357 new VIS2 routines.
41358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41361 Likewise.
41362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41367 routines to libm-sysdep_routines.
41368 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41369
41370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41371 fdim/fdimf to libm-sysdep_routines.
41372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41373 file.
41374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41376 file.
41377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41380 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41381 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41382 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41383 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41384
41385 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41386
41387 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41388 to optimize copies.
41389
41390 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41393
41394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41395 local variable MPTWO.
41396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41397 Likewise.
41398
41399 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41400
41401 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41402 GLOB_NOESCAPE.
41403
41404 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41405
41406 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41407
41408 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41409
41410 * manual/pattern.texi (glob_t): Document gl_flags.
41411 (glob64_t): Likewise.
41412
41413 2013-01-11 David S. Miller <davem@davemloft.net>
41414
41415 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41416 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41417 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41418 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41419 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41420 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41421 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41422 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41423 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41424 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41425 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41426 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41427 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41428
41429 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41430 sparc V9 rather than using V8 code.
41431 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41432 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41433
41434 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41435 Move to...
41436 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41437 Here.
41438
41439 2013-01-11 Roland McGrath <roland@hack.frob.com>
41440
41441 [BZ #14941]
41442 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41443 not in the main loop.
41444 * configure: Regenerated.
41445
41446 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41447
41448 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41449 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41450 to just #else.
41451 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41452 [!__GLIBC_HAVE_LONG_LONG] case.
41453 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41454 condition to just #else.
41455 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41456 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41457 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41458 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41459 unconditional.
41460 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41461 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41462 #elif condition to just #else.
41463 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41464 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41465 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41466 #elif condition to just #else.
41467
41468 2013-01-11 Steve Ellcey <sellcey@mips.com>
41469
41470 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41471 (EF_MIPS_ARCH_64): Fix value.
41472 (EF_MIPS_ARCH_32R2): New.
41473 (EF_MIPS_ARCH_64R2): New.
41474
41475 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41476
41477 * Makeconfig (+link-pie-before-libc): New.
41478 (+link-pie-after-libc): Likewise.
41479 (+link-pie-tests): Likewise.
41480 (+link-pie): Rewritten.
41481 (link-before-libc): Remove $(config-LDFLAGS).
41482 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41483 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41484 (config-LDFLAGS): Renamed to ...
41485 (rtld-LDFLAGS): This.
41486 (rtld-tests-LDFLAGS): New macro.
41487 (link-libc-rpath-link): Likewise.
41488 (link-libc-tests-rpath-link): Likewise.
41489 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41490 (link-libc): Prepand $(link-libc-rpath-link).
41491 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41492 (test-program-prefix): New macro.
41493 (test-via-rtld-prefix): Likewise.
41494 (test-program-cmd): Likewise.
41495 (host-test-program-cmd): Likewise.
41496 * Makefile ($(common-objpfx)testrun.sh): Replace
41497 $(run-program-prefix) with $(test-program-prefix).
41498 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41499 $(rtld-LDFLAGS).
41500 ($(common-objpfx)shlib.lds): Likewise.
41501 (build-module-helper): Likewise.
41502 ($(common-objpfx)format.lds): Likewise.
41503 * Rules (binaries-pie-tests): New.
41504 (binaries-pie-notests): Likewise.
41505 (binaries-pie): Rewritten.
41506 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41507 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41508 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41509 (make-test-out): Replace $(host-built-program-cmd) with
41510 $(host-test-program-cmd).
41511 * config.make.in (build-hardcoded-path-in-tests): New variable.
41512 * configure.in (--enable-hardcoded-path-in-tests): New configure
41513 option.
41514 (hardcoded_path_in_tests): New AC_SUBST.
41515 * configure: Regenerated.
41516 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41517 $(built-program-cmd) with $(test-program-cmd).
41518 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41519 (test_program_cmd): This.
41520 * elf/Makefile ($(objpfx)order.out): Run test with
41521 $(test-program-prefix).
41522 ($(objpfx)order2.out): Likewise.
41523 ($(objpfx)tst-initorder.out): Likewise.
41524 ($(objpfx)tst-initorder2.out): Likewise.
41525 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41526 $(test-program-cmd).
41527 ($(objpfx)tst-array1-static.out): Likewise.
41528 ($(objpfx)tst-array2.out): Likewise.
41529 ($(objpfx)tst-array3.out): Likewise.
41530 ($(objpfx)tst-array4.out): Likewise.
41531 ($(objpfx)tst-array5.out): Likewise.
41532 ($(objpfx)tst-array5-static.out): Likewise.
41533 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41534 $(test-program-cmd).
41535 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41536 $(run-program-prefix) with $(test-program-prefix).
41537 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41538 (test_program_prefix): This.
41539 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41540 $(run-program-prefix) with $(test-program-prefix).
41541 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41542 (test_program_prefix): This.
41543 * iconvdata/tst-tables.sh: Likewise.
41544 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41545 $(run-program-prefix) with $(test-program-prefix).
41546 ($(objpfx)tst-translit.out): Likewise.
41547 ($(objpfx)tst-gettext2.out): Likewise.
41548 ($(objpfx)tst-gettext4.out): Likewise.
41549 ($(objpfx)tst-gettext6.out): Likewise.
41550 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41551 (test_program_prefix): This.
41552 * intl/tst-gettext2.sh: Likewise.
41553 * intl/tst-gettext4.sh Likewise.
41554 * intl/tst-gettext6.sh: Likewise.
41555 * intl/tst-translit.sh: Likewise.
41556 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41557 with $(test-program-cmd).
41558 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41559 $(run-program-prefix) with $(test-program-prefix).
41560 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41561 (test_program_prefix): This.
41562 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41563 $(run-program-prefix) with $(test-program-prefix).
41564 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41565 (test_program_prefix): This.
41566 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41567 * posix/Makefile ($(objpfx)globtest.out): Replace
41568 $(run-via-rtld-prefix) and $(test-wrapper) with
41569 $(test-program-prefix) and $(test-via-rtld-prefix).
41570 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41571 $(test-program-prefix).
41572 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41573 $(host-test-program-cmd).
41574 (tst-spawn-ARGS): Likewise.
41575 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41576 $(test-program-prefix).
41577 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41578 (test_via_rtld_prefix): This.
41579 (test_wrapper): Renamed to ...
41580 (test_program_prefix): This.
41581 (run_program_prefix): Replaced by test_program_prefix.
41582 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41583 (test_program_prefix): This.
41584 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41585 with $(host-test-program-cmd).
41586 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41587 $(run-program-prefix) with $(test-program-prefix).
41588 ($(objpfx)tst-printf.out): Likewise.
41589 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41590 $(test-program-cmd).
41591 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41592 (test_program_prefix): This.
41593 * stdio-common/tst-unbputc.sh: Likewise.
41594 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41595 $(run-program-prefix) with $(test-program-prefix).
41596 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41597 (test_program_prefix): This.
41598 * string/Makefile ($(objpfx)tst-svc.out): Replace
41599 $(built-program-cmd) with $(test-program-cmd).
41600
41601 2013-01-11 Andreas Jaeger <aj@suse.de>
41602
41603 [BZ #15003]
41604 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41605 value. Sync with Linux 3.7.
41606
41607 2013-01-10 David S. Miller <davem@davemloft.net>
41608
41609 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41610 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41611 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41612
41613 2013-01-10 Roland McGrath <roland@hack.frob.com>
41614
41615 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41616 never set.
41617 * configure: Regenerated.
41618
41619 2013-01-10 David S. Miller <davem@davemloft.net>
41620
41621 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41622 sparc V9 rather than using V8 code.
41623 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41624 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41625
41626 2013-01-10 Roland McGrath <roland@hack.frob.com>
41627
41628 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41629 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41630 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41631 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41632 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41633 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41634 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41635 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41636 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41637 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41638 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41639 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41640 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41641 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41642 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41643 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41644 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41645 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41646 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41647 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41648 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41649 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41650 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41651 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41652 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41653 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41654 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41655
41656 2013-01-10 David S. Miller <davem@davemloft.net>
41657
41658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41659
41660 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41661
41662 * posix/Makefile (tests-static): New variable.
41663 (tests): Add $(tests-static).
41664 (tst-exec-static-ARGS): New variable.
41665 (tst-spawn-static-ARGS): Likewise.
41666 * posix/tst-exec-static.c: New file.
41667 * posix/tst-spawn-static.c: Likewise.
41668 * posix/tst-exec.c: Support run directly.
41669 * posix/tst-spawn.c: Likewise.
41670
41671 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41672
41673 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41674 long.
41675 * math/bits/mathcalls.h (llrint): Likewise.
41676 (llround): Likewise.
41677 * stdlib/stdlib.h (struct drand48_data): Likewise.
41678 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41679 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41680 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41681 Likewise.
41682 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41683 Likewise.
41684 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41685 (elf_greg_t): Likewise.
41686 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41687 (__jmp_buf): Likewise.
41688 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41689 definitions.
41690 (llrint): Likewise, for all definitions.
41691 (llrintl): Likewise.
41692
41693 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41694 Remove [__GNUC__] condition.
41695 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41696 condition to just [__USE_ISOC99].
41697 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41698
41699 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41700
41701 [BZ #14200]
41702 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41703 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41704 defined.
41705 (_POSIX_V6_ILP32_OFF32): Likewise.
41706 (_XBS5_ILP32_OFF32): Likewise.
41707 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41708 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41709
41710 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41711
41712 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41713
41714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41715 doubles __mpexp_twomm1. Adjust usage.
41716 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41717 Remove.
41718
41719 2013-01-10 Andreas Schwab <schwab@suse.de>
41720
41721 [BZ #14964]
41722 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41723 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41724
41725 2013-01-09 David S. Miller <davem@davemloft.net>
41726
41727 [BZ #15003]
41728 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41729 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41730 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41731 (TCP_FASTOPEN): Define.
41732 (tcp_repair_opt): New structure.
41733 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41734 enum values.
41735 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41736 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41737 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41738 (tcp_cookie_transactions): New structure.
41739
41740 2013-01-09 Anton Blanchard <anton@samba.org>
41741
41742 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41743 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41744 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41745 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41746
41747 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41748
41749 * include/features.h (__USE_ANSI): Remove.
41750
41751 2013-01-09 Roland McGrath <roland@hack.frob.com>
41752
41753 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41754
41755 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41756
41757 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41758
41759 * sysdeps/s390/fpu/libm-test-ulps: Update.
41760
41761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41762
41763 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41764 (__acr): Likewise.
41765 (__cpy): Likewise.
41766 (norm): Likewise.
41767 (denorm): Likewise.
41768 (__mp_dbl): Likewise.
41769 (__dbl_mp): Likewise.
41770 (add_magnitudes): Likewise.
41771 (sub_magnitudes): Likewise.
41772 (__add): Likewise.
41773 (__sub): Likewise.
41774 (__mul): Likewise.
41775 (__inv): Likewise.
41776 (__dvd): Likewise.
41777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41778 (__acr): Likewise.
41779 (__cpy): Likewise.
41780 (norm): Likewise.
41781 (denorm): Likewise.
41782 (__mp_dbl): Likewise.
41783 (__dbl_mp): Likewise.
41784 (add_magnitudes): Likewise.
41785 (sub_magnitudes): Likewise.
41786 (__add): Likewise.
41787 (__sub): Likewise.
41788 (__mul): Likewise.
41789 (__inv): Likewise.
41790 (__dvd): Likewise.
41791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41792 (__acr): Likewise.
41793 (__cpy): Likewise.
41794 (norm): Likewise.
41795 (denorm): Likewise.
41796 (__mp_dbl): Likewise.
41797 (__dbl_mp): Likewise.
41798 (add_magnitudes): Likewise.
41799 (sub_magnitudes): Likewise.
41800 (__add): Likewise.
41801 (__sub): Likewise.
41802 (__mul): Likewise.
41803 (__inv): Likewise.
41804 (__dvd): Likewise.
41805
41806 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41807
41808 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41809 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41810 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41811 2 && __USE_EXTERN_INLINES]: Likewise.
41812
41813 2013-01-08 Andreas Jaeger <aj@suse.de>
41814
41815 [BZ# 14985]
41816 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41817 Remove.
41818 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41819 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41820
41821 2013-01-07 Anton Blanchard <anton@samba.org>
41822
41823 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41824 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41825 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41826 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41827 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41828 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41829 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41830 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41832 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41833 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41834 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41835 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41836 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41837 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41838 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41839 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41840 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41841 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41842 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41843 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41844 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41845 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41846 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41847 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41848 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41849 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41850 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41851 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41852 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41853 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41855 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41856 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41857 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41858 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41859 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41860 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41861 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41862 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41863 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41864 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41865 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41866
41867 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41868
41869 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41870 (__MALLOC_PMT): Likewise.
41871 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41872 [__GNUC__], only on [_LIBC].
41873 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41874 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41875 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41876 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41877 forward declaration.
41878 (realloc_hook_ini): Likewise.
41879 (memalign_hook_ini): Likewise.
41880 (__libc_memalign): Do not use __MALLOC_PMT in variable
41881 declaration.
41882 (__libc_valloc): Likewise.
41883 (__libc_pvalloc): Likewise.
41884 (__libc_calloc): Likewise.
41885 (__posix_memalign): Likewise.
41886
41887 [BZ #14996]
41888 * math/s_casinh.c: Include <float.h>.
41889 (__casinh): Do not do computation with squaring and square root
41890 for large arguments.
41891 * math/s_casinhf.c: Include <float.h>.
41892 (__casinhf): Do not do computation with squaring and square root
41893 for large arguments.
41894 * math/s_casinhl.c: Include <float.h>.
41895 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41896 (__casinhl): Do not do computation with squaring and square root
41897 for large arguments.
41898 * math/libm-test.inc (casin_test): Add more tests.
41899 (casinh_test): Likewise.
41900 * sysdeps/i386/fpu/libm-test-ulps: Update.
41901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41902
41903 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41904
41905 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41906 (__x86_64_raw_data_cache_size): Likewise.
41907 (__x86_64_data_cache_size_half): Likewise.
41908 (__x86_64_raw_data_cache_size_half): Likewise.
41909 (__x86_64_shared_cache_size): Likewise.
41910 (__x86_64_raw_shared_cache_size): Likewise.
41911 (__x86_64_shared_cache_size_half): Likewise.
41912 (__x86_64_raw_shared_cache_size_half): Likewise.
41913 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41914 to ...
41915 (__x86_data_cache_size): This.
41916 (__x86_64_raw_data_cache_size): Renamed to ...
41917 (__x86_raw_data_cache_size): This.
41918 (__x86_64_data_cache_size_half): Renamed to ...
41919 (__x86_data_cache_size_half): This.
41920 (__x86_64_raw_data_cache_size_half): Renamed to ...
41921 (__x86_raw_data_cache_size_half): This.
41922 (__x86_64_shared_cache_size): Renamed to ...
41923 (__x86_shared_cache_size): This.
41924 (__x86_64_raw_shared_cache_size): Renamed to ...
41925 (__x86_raw_shared_cache_size): This.
41926 (__x86_64_shared_cache_size_half): Renamed to ...
41927 (__x86_shared_cache_size_half): This.
41928 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41929 (__x86_raw_shared_cache_size_half): This.
41930 * sysdeps/x86_64/memcpy.S: Updated.
41931 * sysdeps/x86_64/memset.S: Likewise.
41932 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41933 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41934 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41935
41936 2013-01-04 David S. Miller <davem@davemloft.net>
41937
41938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41939
41940 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41941
41942 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41943 1 to avoid redefinition warning.
41944 (__USE_GNU): Don't define.
41945 (init_signaling_nan): Protoize.
41946
41947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41948
41949 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41950
41951 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41953 (__cpymn): Likewise.
41954 (norm): Remove commented code.
41955 (denorm): Likewise.
41956 (__mp_dbl): Likewise.
41957 (__inv): Likewise.
41958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41959 (__cpymn): Likewise.
41960 (norm): Remove commented code.
41961 (denorm): Likewise.
41962 (__mp_dbl): Likewise.
41963 (__inv): Likewise.
41964
41965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41966 mp_no value for 1.0 and 2.0.
41967 (norm): Use RADIXI instead of radixi.d.
41968 (denorm): Likewise.
41969 (__mul): Use 0.0 instead of zero.d.
41970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41971 mp_no value for 1.0 and 2.0.
41972 (norm): Use RADIXI instead of radixi.d.
41973 (denorm): Likewise.
41974 (__mul): Use 0.0 instead of zero.d.
41975
41976 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41977
41978 [BZ #14994]
41979 * math/s_casinh.c (__casinh): Reduce finite argument to first
41980 quadrant then set signs of results at the end.
41981 * math/s_casinhf.c (__casinhf): Likewise.
41982 * math/s_casinhl.c (__casinhl): Likewise.
41983 * math/libm-test.inc (casin_test): Add more tests.
41984 (casinh_test): Likewise.
41985 * sysdeps/i386/fpu/libm-test-ulps: Update.
41986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41987
41988 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41989
41990 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41991
41992 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41993
41994 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41995 declarations.
41996 (denorm): Likewise.
41997 (__mp_dbl): Likewise.
41998 (__inv): Likewise.
41999
42000 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42001 and adjust the header comment.
42002
42003 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42004 variable name from declaration.
42005
42006 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
42007
42008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42009 Initialize COMMON_CPUID_INDEX_7 element.
42010 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42011 (CPUID_RTM): Likewise.
42012 (HAS_RTM): Likewise.
42013 (COMMON_CPUID_INDEX_7): New enum.
42014
42015 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
42016
42017 [BZ #14981]
42018 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42019 size is zero, record memory as freed.
42020
42021 2013-01-03 Andreas Jaeger <aj@suse.de>
42022
42023 * po/ia.po: Add new Interlingua translation.
42024
42025 2012-01-03 Allan McRae <allan@archlinux.org>
42026
42027 * locale/programs/localedef.c: Fix description of '--posix' flag.
42028
42029 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42030
42031 * NEWS: Update dates in second copyright notice.
42032 * README: Update copyright dates in example.
42033 * manual/libc.texinfo: Update copyright dates.
42034 * scripts/test-installation.pl: Update copyright date in --version
42035 output.
42036
42037 * hurd/ctty-input.c: Fix copyright notice formatting.
42038 * hurd/ctty-output.c: Likewise.
42039 * hurd/dtable.c: Likewise.
42040 * hurd/hurd-raise.c: Likewise.
42041 * hurd/hurdprio.c: Likewise.
42042 * hurd/msgportdemux.c: Likewise.
42043 * misc/sys/file.h: Likewise.
42044 * misc/sys/ioctl.h: Likewise.
42045 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42046 * sysdeps/mach/hurd/chdir.c: Likewise.
42047 * sysdeps/mach/hurd/fchdir.c: Likewise.
42048 * sysdeps/mach/hurd/rename.c: Likewise.
42049 * sysdeps/mach/hurd/rmdir.c: Likewise.
42050 * sysdeps/mach/hurd/seekdir.c: Likewise.
42051 * sysdeps/mach/hurd/setsid.c: Likewise.
42052 * sysdeps/posix/wait3.c: Likewise.
42053
42054 * All files with FSF copyright notices: Update copyright dates
42055 using scripts/update-copyrights.
42056 * intl/plural.c: Regenerated.
42057 * locale/programs/charmap-kw.h: Likewise.
42058 * locale/programs/locfile-kw.h: Likewise.
42059
42060 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42061
42062 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42063 four values.
42064
42065 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42066 calculation loop and add branch prediction.
42067
42068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42069 check access beyond bounds of m1np.
42070
42071 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42072 MPTWO.
42073 (__inv): Remove local variable MPTWO to use the global
42074 constant.
42075 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42076 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42077 variable MPTWO.
42078 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42079 MP3HALFS static const.
42080
42081 2013-01-01 David S. Miller <davem@davemloft.net>
42082
42083 * po/ca.po: Update from translation team.
42084
42085 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42086
42087 * scripts/update-copyrights: New file.
42088 * Makeconfig: Reformat copyright notice.
42089 * ctype/ctype.h: Likewise.
42090 * debug/swprintf_chk.c: Likewise.
42091 * elf/dl-cache.c: Likewise.
42092 * elf/dl-debug.c: Likewise.
42093 * elf/dl-object.c: Likewise.
42094 * grp/initgroups.c: Likewise.
42095 * hurd/Makefile: Likewise.
42096 * hurd/hurd/signal.h: Likewise.
42097 * hurd/hurdfault.c: Likewise.
42098 * hurd/hurdioctl.c: Likewise.
42099 * hurd/hurdlookup.c: Likewise.
42100 * hurd/intr-msg.c: Likewise.
42101 * iconv/gconv_open.c: Likewise.
42102 * libio/swprintf.c: Likewise.
42103 * locale/lc-ctype.c: Likewise.
42104 * locale/nl_langinfo.c: Likewise.
42105 * mach/Machrules: Likewise.
42106 * mach/Makefile: Likewise.
42107 * malloc/obstack.h: Likewise.
42108 * manual/Makefile: Likewise.
42109 * manual/tsort.awk: Likewise.
42110 * misc/bits/stab.def: Likewise.
42111 * nis/nis_print_group_entry.c: Likewise.
42112 * nis/nis_table.c: Likewise.
42113 * nis/nss_compat/compat-pwd.c: Likewise.
42114 * nis/nss_compat/compat-spwd.c: Likewise.
42115 * po/Makefile: Likewise.
42116 * posix/fnmatch.c: Likewise.
42117 * posix/regex.h: Likewise.
42118 * resolv/Makefile: Likewise.
42119 * resolv/nss_dns/dns-network.c: Likewise.
42120 * resolv/res_hconf.c: Likewise.
42121 * scripts/gen-sorted.awk: Likewise.
42122 * soft-fp/soft-fp.h: Likewise.
42123 * stdio-common/printf.h: Likewise.
42124 * stdlib/monetary.h: Likewise.
42125 * stdlib/random.c: Likewise.
42126 * stdlib/random_r.c: Likewise.
42127 * sysdeps/generic/Makefile: Likewise.
42128 * sysdeps/gnu/Makefile: Likewise.
42129 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42130 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42131 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42133 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42142 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42143 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42144 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42145 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42147 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42148 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42149 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42150 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42151 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42152 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42153 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42154 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42155 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42156 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42157 * sysdeps/mach/hurd/errnos.awk: Likewise.
42158 * sysdeps/mach/hurd/fork.c: Likewise.
42159 * sysdeps/mach/hurd/getcwd.c: Likewise.
42160 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42161 * sysdeps/mach/hurd/mmap.c: Likewise.
42162 * sysdeps/mach/hurd/utimes.c: Likewise.
42163 * sysdeps/mach/hurd/xmknod.c: Likewise.
42164 * sysdeps/posix/profil.c: Likewise.
42165 * sysdeps/posix/readdir_r.c: Likewise.
42166 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42167 * sysdeps/powerpc/bits/setjmp.h: Likewise.
42168 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42169 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42171 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42172 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42173 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42175 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42176 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42177 * sysdeps/pthread/lio_listio.c: Likewise.
42178 * sysdeps/sparc/dl-procinfo.h: Likewise.
42179 * sysdeps/unix/i386/sysdep.S: Likewise.
42180 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42181 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42182 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42183 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42185 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42186 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42187 * sysdeps/unix/sysv/linux/speed.c: Likewise.
42188 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42189 * sysdeps/wordsize-32/divdi3.c: Likewise.
42190 * time/sys/time.h: Likewise.
42191 * wcsmbs/Makefile: Likewise.
42192
42193 2013-01-01 David S. Miller <davem@davemloft.net>
42194
42195 * po/fr.po: Update from translation team.
42196
42197 * catgets/gencat.c: Update copyright year.
42198 * csu/version.c: Likewise.
42199 * debug/catchsegv.sh: Likewise.
42200 * debug/pcprofiledump.c: Likewise.
42201 * debug/xtrace.sh: Likewise.
42202 * elf/ldconfig.c: Likewise.
42203 * elf/ldd.bash.in: Likewise.
42204 * elf/pldd.c: Likewise.
42205 * elf/sotruss.ksh: Likewise.
42206 * elf/sprof.c: Likewise.
42207 * iconv/iconv_prog.c: Likewise.
42208 * iconv/iconvconfig.c: Likewise.
42209 * locale/programs/locale.c: Likewise.
42210 * locale/programs/localedef.c: Likewise.
42211 * login/programs/pt_chown.c: Likewise.
42212 * malloc/memusage.sh: Likewise.
42213 * malloc/memusagestat.c: Likewise.
42214 * malloc/mtrace.pl: Likewise.
42215 * nscd/nscd.c: Likewise.
42216 * nss/getent.c: Likewise.
42217 * nss/makedb.c: Likewise.
42218 * posix/getconf.c: Likewise.
42219
42220 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42221
42222 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42223 numbers.
42224
42225 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42226
42227 * math/bits/mathcalls.h (modf): Use __nonnull.
42228
42229 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42230
42231 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42232 (split): Use macro CN instead of the bare value.
42233 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42234 could be used.
42235 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42236 instead of the bare value.
42237 (power1): Likewise.
42238
42239 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42240
42241 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42242 __ATAN_TWOM.
42243 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42244
42245 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42246 their values.
42247 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42248 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42249 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42250 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42251
42252 2012-12-28 Andreas Jaeger <aj@suse.de>
42253
42254 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42255 values are from Linux 3.7.
42256
42257 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42258 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42259
42260 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42261
42262 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42263 TRUE case.
42264
42265 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42266 (norm): Likewise.
42267 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42268 variables with preprocessor constants.
42269 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42270 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42271 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42272
42273 2012-12-27 Bruno Haible <bruno@clisp.org>
42274
42275 [BZ #14317]
42276 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42277 only if needed.
42278
42279 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42280
42281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42282 and use variable directly.
42283 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42284
42285 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42286 MPONE.
42287 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42288 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42289 variable MPONE.
42290 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42292 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42293 include directive. Remove local variable MPONE.
42294 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42295 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42296 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42297
42298 2012-12-25 David S. Miller <davem@davemloft.net>
42299
42300 * version.h (RELEASE): Set to "development".
42301 (VERSION): Set to "2.17.90".
42302 * NEWS: Add 2.18 section.
42303
42304 2012-12-21 David S. Miller <davem@davemloft.net>
42305
42306 * po/hr.po: Update from translation team.
42307
42308 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42309
42310 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42311
42312 2012-12-19 Steve Ellcey <sellcey@mips.com>
42313
42314 * NEWS: Mention new memcpy for MIPS.
42315
42316 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42317
42318 * manual/contrib.texi (Contributors): Spelling correction.
42319
42320 2012-12-15 David S. Miller <davem@davemloft.net>
42321
42322 * po/ru.po: Update from translation team.
42323
42324 2012-12-13 David S. Miller <davem@davemloft.net>
42325
42326 * NEWS: Mention IFUNC testsuite enhancements.
42327
42328 * po/pl.po: Update from translation team.
42329 * po/bg.po: Likewise.
42330
42331 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42332 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42333
42334 2012-12-11 David S. Miller <davem@davemloft.net>
42335
42336 * po/sv.po: Update from translation team.
42337
42338 * po/vi.po: Update from translation team.
42339
42340 * po/cs.po: Update from translation team.
42341
42342 * po/de.po: Update from translation team.
42343 * po/eo.po: Likewise.
42344 * po/nl.po: Likewise.
42345
42346 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42347
42348 [BZ #14246]
42349 * manual/argp.texi (Argp Helper Functions): Move node to follow
42350 Argp Parsing State.
42351
42352 [BZ #14872]
42353 * manual/conf.texi (Limits on File System Capacity): Mention if
42354 terminating null is included in the max size.
42355
42356 2012-12-10 Andreas Jaeger <aj@suse.de>
42357
42358 * po/cs.po: Update from translation team.
42359
42360 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42361
42362 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42363 void pointer and cast to uintptr_t.
42364 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42365 path.
42366 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42367 * sysdeps/s390/s390-64/memset.S: Likewise.
42368
42369 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42370
42371 [BZ #14833]
42372 * menual/message.texi (Message Translation): Fix typos.
42373 (Helper programs for gettext): Likewise.
42374
42375 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42376
42377 [BZ #14898]
42378 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42379 Change to -1.
42380
42381 2012-12-07 David S. Miller <davem@davemloft.net>
42382
42383 * po/libc.pot: Update.
42384
42385 2012-12-07 Richard Henderson <rth@redhat.com>
42386
42387 [BZ #10114]
42388 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42389 normal/normal case to before the switch.
42390 (_FP_DIV): Likewise.
42391
42392 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42393 Mike Frysinger <vapier@gentoo.org>
42394
42395 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42396 check for __NR_fadvise64_64.
42397
42398 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42399
42400 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42401 0, not just to plain "0" as a statement.
42402 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42403 with cw.
42404
42405 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42406
42407 * NEWS: Use sourceware.org in Bugzilla URL.
42408
42409 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42410
42411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42412 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42413
42414 * stdio-common/tst-put-error.c (do_test): Add newline to the
42415 padded test to ensure flush.
42416
42417 2012-12-05 Jeff Law <law@redhat.com>
42418
42419 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42420
42421 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42422
42423 * README: Don't refer to ports add-on as distributed separately.
42424 Mention AArch64 in list of systems supported in the ports add-on.
42425
42426 * LICENSES: Add more non-FSF copyright and license notices.
42427
42428 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42429 ((unused)).
42430
42431 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42432
42433 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42434 10000 as width of padded output.
42435
42436 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42437
42438 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42439
42440 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42441 variable LX with __attribute__ ((unused)).
42442 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42443 Likewise.
42444 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42445 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42446 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42447 with __attribute__ ((unused)).
42448
42449 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42450
42451 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42452
42453 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42454
42455 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42456 (CFLAGS-nldbl-acos.c): New variable.
42457 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42458 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42459 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42460 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42461 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42462 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42463 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42464 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42465 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42466 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42467 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42468 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42469 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42470 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42471 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42472 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42473 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42474 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42475 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42476 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42477 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42478 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42479 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42480 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42481 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42482 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42483 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42484 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42485 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42486 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42487 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42488 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42489 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42490 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42491 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42492 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42493 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42494 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42495 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42496 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42497 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42498 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42499 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42500 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42501 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42502 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42503 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42504 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42505 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42506 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42507 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42508 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42509 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42510 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42511 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42512 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42513 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42514 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42515 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42516 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42517 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42518 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42519 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42520 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42521 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42522 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42523 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42524 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42525 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42526 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42527 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42528 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42529 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42530 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42531 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42532 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42533 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42534 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42535 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42536 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42537 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42538 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42539 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42540 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42541 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42542 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42543 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42544 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42545 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42546 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42547 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42548 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42549 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42550 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42551 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42552 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42553 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42554
42555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42556 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42557
42558 [BZ #14914]
42559 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42560 whole low double instead of just low 47 bits when splitting values
42561 into two parts.
42562
42563 2012-12-03 Allan McRae <allan@archlinux.org>
42564
42565 * manual/stdio.texi (Predefined Printf Handlers): Remove
42566 @hsep and @vsep usage.
42567
42568 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42569
42570 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42571 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42572
42573 2012-12-03 Jeff Law <law@redhat.com>
42574
42575 * time/sys/time.h (settimeofday): Do not mark TV argument
42576 as __nonnull.
42577
42578 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42579
42580 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42581 when currently writing and seek to current position when not.
42582 * libio/Makefile (tests): Remove bug-fclose1.
42583 * libio/bug-fclose1.c: Delete.
42584
42585 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42586
42587 * manual/arith.texi (feenableexcept): Fix typo.
42588 (fedisableexcept): Likewise.
42589
42590 2012-11-30 Roland McGrath <roland@hack.frob.com>
42591
42592 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42593 second, differently-typed declaration, rather than a cast.
42594
42595 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42596
42597 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42598 * include/rpc/svc.h: ... here.
42599
42600 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42601
42602 [BZ #13013]
42603 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42604 depending n and resplen2 to catch cases where answer
42605 equals answerp2.
42606
42607 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42608
42609 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42610 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42611
42612 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42613
42614 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42615
42616 2012-11-29 Roland McGrath <roland@hack.frob.com>
42617
42618 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42619
42620 2012-11-28 Jeff Law <law@redhat.com>
42621
42622 [BZ #13761]
42623 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42624 dataset_temporary. Track alloca usage into alloca_used.
42625 If dataset is large allocate and release it via malloc/free.
42626
42627 2012-06-04 Florian Weimer <fweimer@redhat.com>
42628
42629 [BZ #14197]
42630 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42631
42632 2012-11-28 David S. Miller <davem@davemloft.net>
42633
42634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42635
42636 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42637
42638 [BZ #14803]
42639 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42640 of pi/2 rounded to nearest to 64 bits.
42641 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42642 nearest to 64 bits.
42643 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42644 bits.
42645
42646 2012-11-28 Jeff Law <law@redhat.com>
42647 Martin Osvald <mosvald@redhat.com>
42648
42649 [BZ #14889]
42650 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42651 * sunrpc/svc.c: Include time.h.
42652 (__svc_accept_failed): New function.
42653 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42654 any reason other than EINTR, call __svc_accept_failed.
42655 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42656 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42657
42658 2012-11-28 Andreas Schwab <schwab@suse.de>
42659
42660 * scripts/abilist.awk: Also handle indirect functions in .opd
42661 section.
42662
42663 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42664
42665 [BZ #13881]
42666 * sysdeps/x86/fpu/powl_helper.c: New file.
42667 * sysdeps/x86/fpu/Makefile: Likewise.
42668 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42669 (p3): New object.
42670 (__ieee754_powl): Use __powl_helper for finite arguments except
42671 integer exponents below 8.
42672 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42673 (p3): New object.
42674 (__ieee754_powl): Use __powl_helper for finite arguments except
42675 integer exponents below 8.
42676 * math/libm-test.inc (pow_test): Add more tests and enable some
42677 previously disabled tests.
42678 * sysdeps/i386/fpu/libm-test-ulps: Update.
42679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42680
42681 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42682 Carlos O'Donell <carlos_odonell@mentor.com>
42683
42684 * nss/makedb.c (is_prime): Assert that input is odd and greater
42685 than 4. Note that fact in a comment too.
42686 (next_prime): Add 4 to input.
42687
42688 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42689
42690 [BZ #11741]
42691 * libio/Makefile (tests): Add test case tst-fwrite-error.
42692 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42693 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42694 * libio/tst-fwrite-error.c: New test case.
42695
42696 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42697
42698 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42699 before casting to void *.
42700 * include/libc-internal.h (__pointer_type): New macro.
42701 (__integer_if_pointer_type_sub): Likewise.
42702 (__integer_if_pointer_type): Likewise.
42703 (cast_to_integer): Likewise.
42704 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42705 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42706 before casting to atomic64_t.
42707 (atomic_exchange_acq): Likewise.
42708 (__arch_exchange_and_add_body): Likewise.
42709 (__arch_add_body): Likewise.
42710 (atomic_add_negative): Likewise.
42711 (atomic_add_zero): Likewise.
42712
42713 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42714
42715 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42716 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42717 (add_fdes): Likewise.
42718 (linear_search_fdes): Likewise.
42719 (binary_search_unencoded_fdes): Likewise.
42720
42721 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42722
42723 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42724
42725 2012-11-24 Adam Conrad <adconrad@0c3.net>
42726
42727 * configure.in: Autodetect C++ header directories.
42728 * configure: Regenerated.
42729
42730 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42731
42732 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42733
42734 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42735
42736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42737
42738 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42739
42740 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42741 LDBL_MANT_DIG == 106]: Disable some tests.
42742 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42743 Likewise.
42744 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42745 Likewise.
42746
42747 [BZ #14871]
42748 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42749 input for small inputs. Return +/- pi/2 for large inputs.
42750 * math/libm-test.inc (atan_test): Add more tests.
42751
42752 * sysdeps/generic/unwind-dw2-fde-glibc.c
42753 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42754 __attribute__ ((unused)).
42755
42756 [BZ #14645]
42757 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42758 x * y if x and y are nonzero and z is zero.
42759
42760 [BZ #14811]
42761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42762 nonzero exponents with absolute value below 0x1p-117 to +/-
42763 0x1p-117.
42764
42765 [BZ #14869]
42766 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42767 up arguments below 2**-450, not just those below 2**-500.
42768 * math/libm-test.inc (hypot_test): Add another test.
42769
42770 [BZ #14868]
42771 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42772 Return a+b for ratio over 2**120, not 2**60.
42773 * math/libm-test.inc (hypot_test): Add another test.
42774
42775 * math/libm-test.inc (clog_test): Use
42776 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42777 (clog10_test): Likewise.
42778
42779 [BZ #6778]
42780 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42781
42782 2012-11-22 Andreas Schwab <schwab@suse.de>
42783
42784 * sysdeps/i386/fpu/libm-test-ulps: Update.
42785
42786 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42787
42788 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42789 printf output with newline.
42790
42791 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42792
42793 [BZ #14865]
42794 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42795 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42796 -z nodlopen, -z initfirst and -z execstack support.
42797 * configure: Regenerated.
42798
42799 * elf/elf.h (DF_1_NODIRECT): New macro.
42800 (DF_1_IGNMULDEF): Likewise.
42801 (DF_1_NOKSYMS): Likewise.
42802 (DF_1_NOHDR): Likewise.
42803 (DF_1_EDITED): Likewise.
42804 (DF_1_NORELOC): Likewise.
42805 (DF_1_SYMINTPOSE): Likewise.
42806 (DF_1_GLOBAUDIT): Likewise.
42807 (DF_1_SINGLETON): Likewise.
42808 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42809 DT_1_SUPPORTED_MASK bits.
42810 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42811
42812 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42813
42814 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42815
42816 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42817
42818 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42819 macro.
42820
42821 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42822 (sendmmsg): Move declarations...
42823 * socket/sys/socket.h: ... here.
42824 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42825 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42826 include it from...
42827 * socket/recvmmsg.c: ... this new file.
42828 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42829 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42830 definition of __sendmmsg hidden.
42831 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42832 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42833 Move ENOSYS stub into and include it from...
42834 * socket/sendmmsg.c: ... this new file.
42835 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42836 (sysdep_routines): Move recvmmsg and sendmmsg...
42837 * socket/Makefile (routines): ... here.
42838 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42839 (GLIBC_PRIVATE): Add __sendmmsg.
42840 * include/sys/socket.h (__sendmmsg): Add declarations.
42841 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42842 sendmmsg.
42843
42844 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42845
42846 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42847 variable I1 with __attribute__ ((unused)).
42848 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42849
42850 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42851
42852 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42853 DUMMY variables with __attribute__ ((unused)).
42854
42855 * bits/byteswap.h: Include <bits/types.h>.
42856 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42857
42858 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42859
42860 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42861 string_t. Do not manually set errno.
42862 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42863 length with __strnlen. Make sure to both set errno and return it on
42864 failure.
42865
42866 2012-11-19 David S. Miller <davem@davemloft.net>
42867
42868 With help from Joseph Myers.
42869 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42870 very large arguments properly.
42871 * math/libm-test.inc (atan_test): New tests.
42872 (atan2_test): New tests.
42873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42875
42876 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42877
42878 [BZ #14856]
42879 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42880 Define to 3.
42881
42882 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42883 [POSIX] (EADDRNOTAVAIL): Likewise.
42884 [POSIX] (EAFNOSUPPORT): Likewise.
42885 [POSIX] (EALREADY): Likewise.
42886 [POSIX] (ECONNABORTED): Likewise.
42887 [POSIX] (ECONNREFUSED): Likewise.
42888 [POSIX] (ECONNRESET): Likewise.
42889 [POSIX] (EDESTADDRREQ): Likewise.
42890 [POSIX] (EDQUOT): Likewise.
42891 [POSIX] (EHOSTUNREACH): Likewise.
42892 [POSIX] (EIDRM): Likewise.
42893 [POSIX] (EISCONN): Likewise.
42894 [POSIX] (ELOOP): Likewise.
42895 [POSIX] (EMULTIHOP): Likewise.
42896 [POSIX] (ENETDOWN): Likewise.
42897 [POSIX] (ENETUNREACH): Likewise.
42898 [POSIX] (ENOBUFS): Likewise.
42899 [POSIX] (ENODATA): Likewise.
42900 [POSIX] (ENOLINK): Likewise.
42901 [POSIX] (ENOMSG): Likewise.
42902 [POSIX] (ENOPROTOOPT): Likewise.
42903 [POSIX] (ENOSR): Likewise.
42904 [POSIX] (ENOSTR): Likewise.
42905 [POSIX] (ENOTCONN): Likewise.
42906 [POSIX] (ENOTSOCK): Likewise.
42907 [POSIX] (EOPNOTSUPP): Likewise.
42908 [POSIX] (EOVERFLOW): Likewise.
42909 [POSIX] (EPROTO): Likewise.
42910 [POSIX] (EPROTONOSUPPORT): Likewise.
42911 [POSIX] (EPROTOTYPE): Likewise.
42912 [POSIX] (ESTALE): Likewise.
42913 [POSIX] (ETIME): Likewise.
42914 [POSIX] (ETXTBSY): Likewise.
42915 [POSIX] (EWOULDBLOCK): Likewise.
42916 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42917 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42918 [POSIX] (SEEK_CUR): Likewise.
42919 [POSIX] (SEEK_END): Likewise.
42920 [POSIX || UNIX98] (mode_t): Do not require.
42921 [POSIX] (off_t): Likewise.
42922 [POSIX] (pid_t): Likewise.
42923 [POSIX] (sys/stat.h): Do not allow header.
42924 [POSIX] (unistd.h): Likewise.
42925 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42926 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42927 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42928 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42929 require.
42930 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42931 sigevent): Specify elements.
42932 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42933 entry.
42934 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42935 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42936
42937 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42938 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42939 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42940 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42941 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42942 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42943 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42944 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42945 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42946 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42947 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42948 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42949 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42950 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42951 Likewise.
42952 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42953 Likewise.
42954 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42955 Likewise.
42956 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42957 Likewise.
42958 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42959 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42960 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42961 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42962 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42963 Specify lower bound on value.
42964 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42965 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42966 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42967 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42968 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42969 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42970 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42971 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42972 value.
42973 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42974 as optional.
42975 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42976 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42977 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42978 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42979 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42980 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42981 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42982 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42983 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42984 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42985 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42986 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42987 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42988 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42989 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42990 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42991 entry.
42992 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42993 optional.
42994 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42995 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42996 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42997 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42998 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42999 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43000 Likewise.
43001 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43002 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43003 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43004 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43005 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
43006 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43007 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43008 as optional.
43009 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43010 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43011 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43012 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43013 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43014 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43015 specify as optional.
43016 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43017 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43018 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43019 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43020 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43021 [XPG3] (NL_LANGMAX): Likewise.
43022 [POSIX || XPG3] (NL_MSGMAX): Likewise.
43023 [POSIX || XPG3] (NL_NMAX): Likewise.
43024 [POSIX || XPG3] (NL_SETMAX): Likewise.
43025 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43026 [XPG3] (NZERO): Likewise.
43027 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43028 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43029 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43030 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43031 (REG_ERANGE): Expect.
43032 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43033 optional-constant.
43034 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43035 Use (void) in prototype.
43036 [POSIX] (*_t): Allow.
43037 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43038 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43039 (WRDE_BADVAL): Expect.
43040
43041 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43042 expect.
43043 [XPG3 || XPG4] (O_RSYNC): Likewise.
43044 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43045 Likewise.
43046 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43047 [XPG3 || XPG4] (sigqueue): Likewise.
43048 [XPG3 || XPG4] (sigtimedwait): Likewise.
43049 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43050 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43051 [XPG3 || XPG4] (vsnprintf): Likewise.
43052 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43053 Likewise.
43054 [XPG3 || XPG4] (blksize_t): Likewise.
43055 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43056 Likewise.
43057 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43058 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43059 [XPG3 || XPG4] (struct itimerspec): Likewise.
43060 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43061 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43062 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43063 [XPG3 || XPG4] (clockid_t): Likewise.
43064 [XPG3 || XPG4] (timer_t): Likewise.
43065 [XPG3 || XPG4] (clock_getres): Likewise.
43066 [XPG3 || XPG4] (clock_gettime): Likewise.
43067 [XPG3 || XPG4] (clock_settime): Likewise.
43068 [XPG3 || XPG4] (nanosleep): Likewise.
43069 [XPG3 || XPG4] (timer_create): Likewise.
43070 [XPG3 || XPG4] (timer_delete): Likewise.
43071 [XPG3 || XPG4] (timer_gettime): Likewise.
43072 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43073 [XPG3 || XPG4] (timer_settime): Likewise.
43074 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43075 [XPG3 || XPG4] (getlogin_r): Likewise.
43076 [XPG3 || XPG4] (pread): Likewise.
43077 [XPG3 || XPG4] (pthread_atfork): Likewise.
43078 [XPG3 || XPG4] (pwrite): Likewise.
43079
43080 [BZ #14835]
43081 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43082 <bits/siginfo.h>.
43083
43084 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43085
43086 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43087 finalizing MALLSTREAM.
43088
43089 * sysdeps/mach/hurd/syncfs.c: New file.
43090
43091 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43092
43093 [BZ #14719]
43094 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43095 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43096 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43097 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43098 (_nss_dns_gethostbyname4_r): Likewise.
43099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43100 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43101
43102 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43103
43104 [BZ #13763]
43105 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43106
43107 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43108
43109 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43110 * elf/cache.c (print_entry): Print ",AArch64" for
43111 FLAG_AARCH64_LIB64
43112
43113 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43114 * elf/cache.c (print_entry): Print ",hard-float" for
43115 FLAG_ARM_LIBHF.
43116
43117 2012-11-18 David S. Miller <davem@davemloft.net>
43118
43119 With help from Joseph Myers.
43120 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43121 cutoff to 2**-13.
43122 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43123 cutoff to 2**-25.
43124 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43125 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43126 small.
43127 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43128 * math/libm-test.inc (y0_test): New tests.
43129 (y1_test): New tests.
43130 * sysdeps/i386/fpu/libm-test-ulps: Update.
43131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43133
43134 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
43135
43136 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43137 64-bit targets.
43138 * configure: Regenerated.
43139
43140 2012-11-17 David S. Miller <davem@davemloft.net>
43141
43142 [BZ #14811]
43143 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43144 nonzero exponents with absolute value below 0x1p-128 to +/-
43145 0x1p-128.
43146
43147 2012-11-17 Joseph Myers <joseph@codesourcery.com>
43148
43149 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43150
43151 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43152
43153 * posix/getconf-speclist.c: New file.
43154 * posix/posix-envs.def: Likewise.
43155 * posix/confstr.c (START_ENV_GROUP): New macro.
43156 (END_ENV_GROUP): Likewise.
43157 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43158 (KNOWN_PRESENT_ENV_STRING): Likewise.
43159 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43160 (UNKNOWN_ENVIRONMENT): Likewise.
43161 (confstr): Include posix-envs.def instead of handling
43162 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43163 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43164 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43165 (END_ENV_GROUP): Likewise.
43166 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43167 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43168 (UNKNOWN_ENVIRONMENT): Likewise.
43169 (__sysconf): Include posix-envs.def instead of handling associated
43170 cases directly here.
43171 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43172 preprocessing getconf-speclist.c rather than running getconf or
43173 generating empty file.
43174
43175 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
43176
43177 * scripts/check-local-headers.sh: Ignore 'mach' headers.
43178
43179 2012-11-16 Andrej Lajovic <natrij@gmail.com>
43180
43181 [BZ #14672]
43182 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43183
43184 2012-11-16 David S. Miller <davem@davemloft.net>
43185
43186 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43187 smaller than LDBL_EPSILON/2.0L, just return xm1.
43188
43189 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
43190
43191 * elf/tst-array1.c (init): Set constructor priority to 1000.
43192 (fini): Set destructor priority to 1000.
43193 * elf/tst-array2dep.c: Likewise.
43194
43195 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43196
43197 [BZ #11741]
43198 * libio/fileops.c (_IO_new_file_write): Correctly return error.
43199 (_IO_new_file_xsputn): Also return EOF if none of the input
43200 data was written when overflow failed.
43201 * libio/iopadn.c (_IO_padn): Likewise.
43202 * libio/iowpadn.c (_IO_wpadn): Likewise.
43203 * stdio-common/tst-put-error.c: Add copyright notice.
43204 (do_test): Add case for printing padded string.
43205 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43206 _IO_padn returned error.
43207 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43208 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43209 return EOF.
43210
43211 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43212
43213 * libio/libioP.h: Add comment note that the references to C++
43214 bits are now obsolete.
43215
43216 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43217
43218 * math/libm-test.inc (check_complex): Use asprintf.
43219
43220 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43221
43222 * debug/pcprofiledump.c (print_version): Update copyright year.
43223 * malloc/memusagestat.c (print_version): Likewise.
43224
43225 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43226
43227 [BZ #14831]
43228 * elf/Makefile (tests): Add tst-audit8.
43229 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43230 ($(objpfx)tst-audit8.out): New target.
43231 (tst-audit8-ENV): New variable.
43232 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43233 audit if l_reloc_result is NULL.
43234 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43235 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43236 * elf/tst-audit8.c: New file.
43237
43238 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43239
43240 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43241 * misc/Makefile (CFLAGS-select.c): Define.
43242 * posix/Makefile (CFLAGS-pause.c): Define.
43243
43244 2012-11-13 David S. Miller <davem@davemloft.net>
43245
43246 * crypt/Makefile: Move test targets after toplevel Rules
43247 inclusion. Grab any necessary sysdep routines when linking.
43248 * crypt/md5.c (md5_process_block): Remove define, we will always
43249 name it __md5_process_block.
43250 (md5_finish_ctx): Update md5_process_block call.
43251 (md5_stream): Likewise.
43252 (md5_process_bytes): Likewise.
43253 (md5_process_block): Rename to __md5_process_block and move to ...
43254 * crypt/md5-block.c: ... here.
43255 * crypt/sha256.c (sha256_process_block): Move to ...
43256 * crypt/sha256-block.c: ... here.
43257 * crypt/sha512.c (sha512_process_block): Move to ...
43258 * crypt/sha512-block.c: ... here.
43259 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43260 path.
43261 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43262 * sysdeps/sparc/sparc64/multiarch/Makefile
43263 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43264 crypt subdir.
43265 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43266 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43267 multiarch changes.
43268 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43269 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43270 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43271 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43272 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43273 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43274 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43275 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43276 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43277 file.
43278 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43279 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43280 file.
43281 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43282
43283 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43284
43285 * timezone/tzselect.ksh: Update from tzcode git revision
43286 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43287 * timezone/zdump.c: Likewise.
43288 * timezone/zic.c: Likewise.
43289 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43290 in TZVERSION setting, not $(PKGVERSION).
43291 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43292 REPORT_BUGS_TO settings.
43293
43294 [BZ #14838]
43295 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43296 macro.
43297
43298 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43299
43300 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43301 detection to immediately after _FP_ROUND().
43302 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43303 bits are 0.
43304
43305 2012-11-11 David S. Miller <davem@davemloft.net>
43306
43307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43308 inttypes.h
43309 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43310 __close rather than their public counterparts.
43311
43312 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43313
43314 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43315 file.
43316 [UNIX98] (sem_timedwait): Do not expect.
43317 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43318 [XPG4 || UNIX98] (sockatmark): Do not expect.
43319 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43320 (clock_getcpuclockid): Do not expect.
43321 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43322 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43323 Do not expect.
43324 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43325 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43326 [UNIX98] (vwscanf): Likewise.
43327 [UNIX98] (vswscanf): Likewise.
43328
43329 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43330
43331 * timezone/version.h: Remove file.
43332 * timezone/README: Do not refer to version.h.
43333 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43334 $(objpfx)version.h.
43335 ($(objpfx)zdump.o): Likewise.
43336 ($(objpfx)version.h): New target.
43337
43338 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43339 2012i.
43340 * timezone/README: Don't mention modification to tzselect.ksh.
43341 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43342 work on unmodified tzselect.ksh. Substitute version numbers in
43343 tzselect.ksh.
43344
43345 * Makefile (format-me): Remove.
43346 (INSTALL): Adjust indentation. Use commands directly instead of
43347 using $(format-me).
43348
43349 * aclocal.m4 (ACX_PKGVERSION): New macro.
43350 (ACX_BUGURL): Likewise.
43351 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43352 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43353 (REPORT_BUGS_TO): Likewise.
43354 * configure: Regenerated.
43355 * config.h.in (PKGVERSION): New macro.
43356 (REPORT_BUGS_TO): Likewise.
43357 * config.make.in (PKGVERSION): New variable.
43358 (PKGVERSION_TEXI): Likewise.
43359 (REPORT_BUGS_TO): Likewise.
43360 (REPORT_BUGS_TEXI): Likewise.
43361 * Makefile (format-me): Use -I$(common-objpfx)manual.
43362 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43363 ($(common-objpfx)manual/%): New target.
43364 (manual/%): Remove target.
43365 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43366 (print_version): Use PKGVERSION.
43367 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43368 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43369 and REPORT_BUGS_TO.
43370 ($(objpfx)xtrace): Likewise.
43371 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43372 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43373 (print_version): Use PKGVERSION.
43374 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43375 (do_version): Use PKGVERSION.
43376 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43377 REPORT_BUGS_TO.
43378 (common-ldd-rewrite): Likewise.
43379 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43380 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43381 (print_version): Use PKGVERSION.
43382 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43383 * elf/pldd.c (argp_program_bug_address): Remove variable.
43384 (more_help): New function.
43385 (argp): Use more_help.
43386 (print_version): Use PKGVERSION.
43387 * elf/sln.c (main): Use PKGVERSION.
43388 (usage): Use REPORT_BUGS_TO.
43389 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43390 (top level): Use PKGVERSION.
43391 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43392 (print_version): Use PKGVERSION.
43393 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43394 (print_version): Use PKGVERSION.
43395 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43396 (print_version): Use PKGVERSION.
43397 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43398 (print_version): Use PKGVERSION.
43399 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43400 (print_version): Use PKGVERSION.
43401 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43402 (print_version): Use PKGVERSION.
43403 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43404 and BUGURL.
43405 ($(objpfx)memusage): Likewise.
43406 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43407 (do_version): Use PKGVERSION.
43408 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43409 (print_version): Use PKGVERSION.
43410 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43411 ($PKGVERSION): New variable.
43412 ($REPORT_BUGS_TO): Likewise.
43413 (usage): Use $REPORT_BUGS_TO.
43414 (top level): Use $PKGVERSION.
43415 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43416 ($(objpfx)pkgvers.texi): New rule.
43417 ($(objpfx)stamp-pkgvers): Likewise.
43418 * manual/install.texi: Include pkgvers.texi.
43419 (--with-pkgversion): Document new configure option.
43420 (--with-bugurl): Likewise.
43421 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43422 than necessarily for this particular distribution. Use
43423 REPORT_BUGS_TO for where to report bugs.
43424 * INSTALL: Regenerated.
43425 * manual/libc.texinfo: Include pkgvers.texi.
43426 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43427 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43428 (print_version): Use PKGVERSION.
43429 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43430 (print_version): Use PKGVERSION.
43431 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43432 (print_version): Use PKGVERSION.
43433 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43434 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43435 macro.
43436 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43437 (print_version): Use PKGVERSION.
43438 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43439 (print_version): Use PKGVERSION.
43440 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43441 and PKGVERSION.
43442
43443 * timezone/checktab.awk: Update from tzcode 2012i.
43444 * timezone/ialloc.c: Likewise.
43445 * timezone/private.h: Likewise.
43446 * timezone/scheck.c: Likewise.
43447 * timezone/tzfile.h: Likewise.
43448 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43449 (TZVERSION): Hardcode tzcode version number.
43450 * timezone/zdump.c: Update from tzcode 2012i.
43451 * timezone/zic.c: Likewise.
43452 * timezone/version.h: New file.
43453 * timezone/README: Describe version.h. Update upstream location.
43454
43455 [BZ #14824]
43456 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43457 (mktemp): Enable declaration.
43458 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43459 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43460 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43461 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43462 Likewise.
43463 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43464 Likewise.
43465 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43466 Likewise.
43467 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43468 Likewise.
43469 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43470 Likewise.
43471 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43472 Likewise.
43473
43474 [BZ #14821]
43475 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43476 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43477 for copies of such integer values.
43478 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43479 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43480
43481 2012-11-09 Andreas Jaeger <aj@suse.de>
43482
43483 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43484 definitions and declarations that are provided by
43485 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43486
43487 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43488
43489 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43490 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43491 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43492 definition.
43493
43494 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43495
43496 * elf/elf.h: Update comment before AArch64 relocations.
43497
43498 2012-11-07 David S. Miller <davem@davemloft.net>
43499
43500 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43501 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43502 (__start_context): Declare.
43503 (__makecontext_ret): Delete.
43504 (__makecontext): Hook up __start_context instead of
43505 __makecontext_ret.
43506 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43507 (sysdep_routines): Add __start_context when in stdlib.
43508
43509 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43510
43511 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43512 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43513 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43514 hardcoded "nm".
43515 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43516 (READELF): New variable. Use it instead of hardcoded "readelf".
43517
43518 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43519
43520 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43521 * sysdeps/x86/Makefile: Here.
43522 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43523 * sysdeps/x86/tst-xmmymm.sh: This.
43524
43525 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43526
43527 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43528 expectations.
43529 [UNIX98] (pthread_barrier_t): Do not expect.
43530 [UNIX98] (pthread_barrierattr_t): Likewise.
43531 [UNIX98] (pthread_spinlock_t): Likewise.
43532 [UNIX98] (pthread_barrier_destroy): Likewise.
43533 [UNIX98] (pthread_barrier_init): Likewise.
43534 [UNIX98] (pthread_barrier_wait): Likewise.
43535 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43536 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43537 [UNIX98] (pthread_barrierattr_init): Likewise.
43538 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43539 [UNIX98] (pthread_getcpuclockid): Likewise.
43540 [UNIX98] (pthread_mutex_timedlock): Likewise.
43541 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43542 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43543 [UNIX98] (pthread_sigmask): Likewise.
43544 [UNIX98] (pthread_spin_destroy): Likewise.
43545 [UNIX98] (pthread_spin_init): Likewise.
43546 [UNIX98] (pthread_spin_lock): Likewise.
43547 [UNIX98] (pthread_spin_trylock): Likewise.
43548 [UNIX98] (pthread_spin_unlock): Likewise.
43549 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43550 Do not expect.
43551 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43552 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43553 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43554 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43555 [XPG3 || XPG4] (pthread_key_t): Likewise.
43556 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43557 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43558 [XPG3 || XPG4] (pthread_once_t): Likewise.
43559 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43560 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43561 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43562 [XPG3 || XPG4] (pthread_t): Likewise.
43563
43564 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43565 not expect.
43566 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43567
43568 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43569 Change function return type to int.
43570
43571 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43572 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43573 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43574 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43575 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43576 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43577 [!POSIX] (posix_madvise): Likewise.
43578 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43579 && !UNIX98].
43580 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43581 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43582 (mode_t): Likewise.
43583 (posix_mem_offset): Likewise.
43584 (posix_typed_mem_get_info): Likewise.
43585 (posix_typed_mem_open): Likewise.
43586
43587 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43588 Change condition to [XOPEN2K8].
43589
43590 * conform/conformtest.pl: Preprocess allow-header data with -x c
43591 instead of from stdin.
43592 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43593 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43594 [C99-based standards] (cerfc): Likewise.
43595 [C99-based standards] (cexp2): Likewise.
43596 [C99-based standards] (cexpm1): Likewise.
43597 [C99-based standards] (clog10): Likewise.
43598 [C99-based standards] (clog1p): Likewise.
43599 [C99-based standards] (clog2): Likewise.
43600 [C99-based standards] (clgamma): Likewise.
43601 [C99-based standards] (ctgamma): Likewise.
43602 [C99-based standards] (cerff): Likewise.
43603 [C99-based standards] (cerfcf): Likewise.
43604 [C99-based standards] (cexp2f): Likewise.
43605 [C99-based standards] (cexpm1f): Likewise.
43606 [C99-based standards] (clog10f): Likewise.
43607 [C99-based standards] (clog1pf): Likewise.
43608 [C99-based standards] (clog2f): Likewise.
43609 [C99-based standards] (clgammaf): Likewise.
43610 [C99-based standards] (ctgammaf): Likewise.
43611 [C99-based standards] (cerfl): Likewise.
43612 [C99-based standards] (cerfcl): Likewise.
43613 [C99-based standards] (cexp2l): Likewise.
43614 [C99-based standards] (cexpm1l): Likewise.
43615 [C99-based standards] (clog10l): Likewise.
43616 [C99-based standards] (clog1pl): Likewise.
43617 [C99-based standards] (clog2l): Likewise.
43618 [C99-based standards] (clgammal): Likewise.
43619 [C99-based standards] (ctgammal): Likewise.
43620 * conform/data/inttypes.h-data [C99-based standards]: Include
43621 stdint.h-data. Remove all expectations for stdint.h contents.
43622 [C99-based standards] (PRI*): Do not allow.
43623 [C99-based standards] (SCN*): Likewise.
43624 [C99-based standards] (*_t): Likewise.
43625 [C99-based-standards] (PRId8): Expect macro.
43626 [C99-based-standards] (PRIi8): Likewise.
43627 [C99-based-standards] (PRIo8): Likewise.
43628 [C99-based-standards] (PRIu8): Likewise.
43629 [C99-based-standards] (PRIx8): Likewise.
43630 [C99-based-standards] (PRIX8): Likewise.
43631 [C99-based-standards] (SCNd8): Likewise.
43632 [C99-based-standards] (SCNi8): Likewise.
43633 [C99-based-standards] (SCNo8): Likewise.
43634 [C99-based-standards] (SCNu8): Likewise.
43635 [C99-based-standards] (SCNx8): Likewise.
43636 [C99-based-standards] (PRIdLEAST8): Likewise.
43637 [C99-based-standards] (PRIiLEAST8): Likewise.
43638 [C99-based-standards] (PRIoLEAST8): Likewise.
43639 [C99-based-standards] (PRIuLEAST8): Likewise.
43640 [C99-based-standards] (PRIxLEAST8): Likewise.
43641 [C99-based-standards] (PRIXLEAST8): Likewise.
43642 [C99-based-standards] (SCNdLEAST8): Likewise.
43643 [C99-based-standards] (SCNiLEAST8): Likewise.
43644 [C99-based-standards] (SCNoLEAST8): Likewise.
43645 [C99-based-standards] (SCNuLEAST8): Likewise.
43646 [C99-based-standards] (SCNxLEAST8): Likewise.
43647 [C99-based-standards] (PRIdFAST8): Likewise.
43648 [C99-based-standards] (PRIiFAST8): Likewise.
43649 [C99-based-standards] (PRIoFAST8): Likewise.
43650 [C99-based-standards] (PRIuFAST8): Likewise.
43651 [C99-based-standards] (PRIxFAST8): Likewise.
43652 [C99-based-standards] (PRIXFAST8): Likewise.
43653 [C99-based-standards] (SCNdFAST8): Likewise.
43654 [C99-based-standards] (SCNiFAST8): Likewise.
43655 [C99-based-standards] (SCNoFAST8): Likewise.
43656 [C99-based-standards] (SCNuFAST8): Likewise.
43657 [C99-based-standards] (SCNxFAST8): Likewise.
43658 [C99-based-standards] (PRId16): Likewise.
43659 [C99-based-standards] (PRIi16): Likewise.
43660 [C99-based-standards] (PRIo16): Likewise.
43661 [C99-based-standards] (PRIu16): Likewise.
43662 [C99-based-standards] (PRIx16): Likewise.
43663 [C99-based-standards] (PRIX16): Likewise.
43664 [C99-based-standards] (SCNd16): Likewise.
43665 [C99-based-standards] (SCNi16): Likewise.
43666 [C99-based-standards] (SCNo16): Likewise.
43667 [C99-based-standards] (SCNu16): Likewise.
43668 [C99-based-standards] (SCNx16): Likewise.
43669 [C99-based-standards] (PRIdLEAST16): Likewise.
43670 [C99-based-standards] (PRIiLEAST16): Likewise.
43671 [C99-based-standards] (PRIoLEAST16): Likewise.
43672 [C99-based-standards] (PRIuLEAST16): Likewise.
43673 [C99-based-standards] (PRIxLEAST16): Likewise.
43674 [C99-based-standards] (PRIXLEAST16): Likewise.
43675 [C99-based-standards] (SCNdLEAST16): Likewise.
43676 [C99-based-standards] (SCNiLEAST16): Likewise.
43677 [C99-based-standards] (SCNoLEAST16): Likewise.
43678 [C99-based-standards] (SCNuLEAST16): Likewise.
43679 [C99-based-standards] (SCNxLEAST16): Likewise.
43680 [C99-based-standards] (PRIdFAST16): Likewise.
43681 [C99-based-standards] (PRIiFAST16): Likewise.
43682 [C99-based-standards] (PRIoFAST16): Likewise.
43683 [C99-based-standards] (PRIuFAST16): Likewise.
43684 [C99-based-standards] (PRIxFAST16): Likewise.
43685 [C99-based-standards] (PRIXFAST16): Likewise.
43686 [C99-based-standards] (SCNdFAST16): Likewise.
43687 [C99-based-standards] (SCNiFAST16): Likewise.
43688 [C99-based-standards] (SCNoFAST16): Likewise.
43689 [C99-based-standards] (SCNuFAST16): Likewise.
43690 [C99-based-standards] (SCNxFAST16): Likewise.
43691 [C99-based-standards] (PRId32): Likewise.
43692 [C99-based-standards] (PRIi32): Likewise.
43693 [C99-based-standards] (PRIo32): Likewise.
43694 [C99-based-standards] (PRIu32): Likewise.
43695 [C99-based-standards] (PRIx32): Likewise.
43696 [C99-based-standards] (PRIX32): Likewise.
43697 [C99-based-standards] (SCNd32): Likewise.
43698 [C99-based-standards] (SCNi32): Likewise.
43699 [C99-based-standards] (SCNo32): Likewise.
43700 [C99-based-standards] (SCNu32): Likewise.
43701 [C99-based-standards] (SCNx32): Likewise.
43702 [C99-based-standards] (PRIdLEAST32): Likewise.
43703 [C99-based-standards] (PRIiLEAST32): Likewise.
43704 [C99-based-standards] (PRIoLEAST32): Likewise.
43705 [C99-based-standards] (PRIuLEAST32): Likewise.
43706 [C99-based-standards] (PRIxLEAST32): Likewise.
43707 [C99-based-standards] (PRIXLEAST32): Likewise.
43708 [C99-based-standards] (SCNdLEAST32): Likewise.
43709 [C99-based-standards] (SCNiLEAST32): Likewise.
43710 [C99-based-standards] (SCNoLEAST32): Likewise.
43711 [C99-based-standards] (SCNuLEAST32): Likewise.
43712 [C99-based-standards] (SCNxLEAST32): Likewise.
43713 [C99-based-standards] (PRIdFAST32): Likewise.
43714 [C99-based-standards] (PRIiFAST32): Likewise.
43715 [C99-based-standards] (PRIoFAST32): Likewise.
43716 [C99-based-standards] (PRIuFAST32): Likewise.
43717 [C99-based-standards] (PRIxFAST32): Likewise.
43718 [C99-based-standards] (PRIXFAST32): Likewise.
43719 [C99-based-standards] (SCNdFAST32): Likewise.
43720 [C99-based-standards] (SCNiFAST32): Likewise.
43721 [C99-based-standards] (SCNoFAST32): Likewise.
43722 [C99-based-standards] (SCNuFAST32): Likewise.
43723 [C99-based-standards] (SCNxFAST32): Likewise.
43724 [C99-based-standards] (PRId64): Likewise.
43725 [C99-based-standards] (PRIi64): Likewise.
43726 [C99-based-standards] (PRIo64): Likewise.
43727 [C99-based-standards] (PRIu64): Likewise.
43728 [C99-based-standards] (PRIx64): Likewise.
43729 [C99-based-standards] (PRIX64): Likewise.
43730 [C99-based-standards] (SCNd64): Likewise.
43731 [C99-based-standards] (SCNi64): Likewise.
43732 [C99-based-standards] (SCNo64): Likewise.
43733 [C99-based-standards] (SCNu64): Likewise.
43734 [C99-based-standards] (SCNx64): Likewise.
43735 [C99-based-standards] (PRIdLEAST64): Likewise.
43736 [C99-based-standards] (PRIiLEAST64): Likewise.
43737 [C99-based-standards] (PRIoLEAST64): Likewise.
43738 [C99-based-standards] (PRIuLEAST64): Likewise.
43739 [C99-based-standards] (PRIxLEAST64): Likewise.
43740 [C99-based-standards] (PRIXLEAST64): Likewise.
43741 [C99-based-standards] (SCNdLEAST64): Likewise.
43742 [C99-based-standards] (SCNiLEAST64): Likewise.
43743 [C99-based-standards] (SCNoLEAST64): Likewise.
43744 [C99-based-standards] (SCNuLEAST64): Likewise.
43745 [C99-based-standards] (SCNxLEAST64): Likewise.
43746 [C99-based-standards] (PRIdFAST64): Likewise.
43747 [C99-based-standards] (PRIiFAST64): Likewise.
43748 [C99-based-standards] (PRIoFAST64): Likewise.
43749 [C99-based-standards] (PRIuFAST64): Likewise.
43750 [C99-based-standards] (PRIxFAST64): Likewise.
43751 [C99-based-standards] (PRIXFAST64): Likewise.
43752 [C99-based-standards] (SCNdFAST64): Likewise.
43753 [C99-based-standards] (SCNiFAST64): Likewise.
43754 [C99-based-standards] (SCNoFAST64): Likewise.
43755 [C99-based-standards] (SCNuFAST64): Likewise.
43756 [C99-based-standards] (SCNxFAST64): Likewise.
43757 [C99-based-standards] (PRIdMAX): Likewise.
43758 [C99-based-standards] (PRIiMAX): Likewise.
43759 [C99-based-standards] (PRIoMAX): Likewise.
43760 [C99-based-standards] (PRIuMAX): Likewise.
43761 [C99-based-standards] (PRIxMAX): Likewise.
43762 [C99-based-standards] (PRIXMAX): Likewise.
43763 [C99-based-standards] (SCNdMAX): Likewise.
43764 [C99-based-standards] (SCNiMAX): Likewise.
43765 [C99-based-standards] (SCNoMAX): Likewise.
43766 [C99-based-standards] (SCNuMAX): Likewise.
43767 [C99-based-standards] (SCNxMAX): Likewise.
43768 [C99-based-standards] (PRIdPTR): Likewise.
43769 [C99-based-standards] (PRIiPTR): Likewise.
43770 [C99-based-standards] (PRIoPTR): Likewise.
43771 [C99-based-standards] (PRIuPTR): Likewise.
43772 [C99-based-standards] (PRIxPTR): Likewise.
43773 [C99-based-standards] (PRIXPTR): Likewise.
43774 [C99-based-standards] (SCNdPTR): Likewise.
43775 [C99-based-standards] (SCNiPTR): Likewise.
43776 [C99-based-standards] (SCNoPTR): Likewise.
43777 [C99-based-standards] (SCNuPTR): Likewise.
43778 [C99-based-standards] (SCNxPTR): Likewise.
43779 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43780 allow.
43781 * conform/data/stdint.h-data: Update comments to clarify
43782 requirements.
43783 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43784 type.
43785 [C99-based standards] (INT8_MAX): Likewise.
43786 [C99-based standards] (INT16_MIN): Likewise.
43787 [C99-based standards] (INT16_MAX): Likewise.
43788 [C99-based standards] (INT32_MIN): Likewise.
43789 [C99-based standards] (INT32_MAX): Likewise.
43790 [C99-based standards] (INT64_MIN): Likewise.
43791 [C99-based standards] (INT64_MAX): Likewise.
43792 [C99-based standards] (UINT8_MAX): Likewise.
43793 [C99-based standards] (UINT16_MAX): Likewise.
43794 [C99-based standards] (UINT32_MAX): Likewise.
43795 [C99-based standards] (UINT64_MAX): Likewise.
43796 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43797 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43798 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43799 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43800 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43801 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43802 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43803 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43804 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43805 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43806 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43807 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43808 [C99-based standards] (INT_FAST8_MIN): Likewise.
43809 [C99-based standards] (INT_FAST8_MAX): Likewise.
43810 [C99-based standards] (INT_FAST16_MIN): Likewise.
43811 [C99-based standards] (INT_FAST16_MAX): Likewise.
43812 [C99-based standards] (INT_FAST32_MIN): Likewise.
43813 [C99-based standards] (INT_FAST32_MAX): Likewise.
43814 [C99-based standards] (INT_FAST64_MIN): Likewise.
43815 [C99-based standards] (INT_FAST64_MAX): Likewise.
43816 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43817 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43818 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43819 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43820 [C99-based standards] (INTPTR_MIN): Likewise.
43821 [C99-based standards] (INTPTR_MAX): Likewise.
43822 [C99-based standards] (UINTPTR_MAX): Likewise.
43823 [C99-based standards] (INTMAX_MIN): Likewise.
43824 [C99-based standards] (INTMAX_MAX): Likewise.
43825 [C99-based standards] (UINTMAX_MAX): Likewise.
43826 [C99-based standards] (PTRDIFF_MIN): Likewise.
43827 [C99-based standards] (PTRDIFF_MAX): Likewise.
43828 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43829 [C99-based standards] (SIZE_MAX): Likewise.
43830 [C99-based standards] (WCHAR_MAX): Likewise.
43831 [C99-based standards] (WINT_MAX): Likewise.
43832 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43833 constraint on value.
43834 [C99-based standards] (WCHAR_MIN): Likewise.
43835 [C99-based standards] (WINT_MIN): Likewise.
43836 [C99-based standards] (*_t): Allow.
43837 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43838 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43839 Include math.h-data and complex.h-data. Remove all expectations
43840 of math.h and complex.h contents.
43841 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43842 at end of line.
43843 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43844 (struct tm): Expect tag.
43845 [C99-based-standards] (wcstof): Expect function.
43846 [C99-based-standards] (wcstold): Likewise.
43847 [C99-based-standards] (wcstoll): Likewise.
43848 [C99-based-standards] (wcstoull): Likewise.
43849 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43850 macro-int-constant. Specify type.
43851 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43852 constraint on value.
43853 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43854 Specify type.
43855 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43856 Specify value.
43857 [ISO C standards]: Do not allow headers.
43858 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43859 wcs[abcdefghijklmnopqrstuvwxyz]*.
43860 [ISO C standards] (*_t): Do not allow.
43861 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43862 Expect function.
43863 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43864 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43865 Specify type.
43866 [ISO C standards]: Do not allow headers.
43867 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43868 is[abcdefghijklmnopqrstuvwxyz]*.
43869 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43870 to[abcdefghijklmnopqrstuvwxyz]*.
43871 [ISO C standards] (*_t): Do not allow.
43872 * conform/data/stdalign.h-data: New file.
43873 * conform/data/stdbool.h-data: Likewise.
43874 * conform/data/stdnoreturn.h-data: Likewise.
43875
43876 2012-11-07 Roland McGrath <roland@hack.frob.com>
43877
43878 [BZ #14815]
43879 * manual/filesys.texi (Directory Entries): Typo fix.
43880 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43881
43882 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43883
43884 * elf/elf.h (EM_AARCH64): New macro.
43885 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43886 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43887 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43888 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43889 (R_AARCH64_TLSDESC): Likewise.
43890 (NT_ARM_TLS): Likewise.
43891 (NT_ARM_HW_BREAK): Likewise.
43892 (NT_ARM_HW_WATCH): Likewise.
43893
43894 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43895
43896 [BZ #14811]
43897 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43898 (__ieee754_powl): Saturate nonzero exponents with absolute value
43899 below 0x1p-79 to +/- 0x1p-79.
43900 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43901 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43902 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43903 nonzero exponents with absolute value below 0x1p-32 to +/-
43904 0x1p-32.
43905 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43906 (__ieee754_powl): Saturate nonzero exponents with absolute value
43907 below 0x1p-79 to +/- 0x1p-79.
43908 * math/libm-test.inc (pow_test): Add more tests.
43909
43910 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43911
43912 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43913 _dl_s390_cap_flags with kernel. Increase string length.
43914 (_dl_s390_platforms): Add z196 and zEC12.
43915
43916 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43917
43918 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43919 Change XOPEN21K to XOPEN2K.
43920
43921 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43922
43923 * string/memmove.c: Use memcpy when possible.
43924
43925 2012-11-06 Andreas Jaeger <aj@suse.de>
43926
43927 * po/eo.po: Update from translation team.
43928
43929 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43930
43931 [BZ #14793]
43932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43933 exponent and small x and y exponents, scale x or y up. Increase
43934 by 2 the exponent used in scaling up.
43935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43937 * math/libm-test.inc (fma_test): Add more tests.
43938 (fma_test_towardzero): Likewise.
43939 (fma_test_downward): Likewise.
43940 (fma_test_upward): Likewise.
43941
43942 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43943
43944 [BZ #14805]
43945 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43946 fenv_t *.
43947
43948 [BZ #14801]
43949 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43950 namespace for names of struct fields.
43951 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43952 fenv_t fields.
43953 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43954 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43955
43956 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43957
43958 [BZ #3665]
43959 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43960
43961 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43962
43963 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43964 PTR_DEMANGLE.
43965
43966 [BZ #5246]
43967 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43968 PTR_DEMANGLE.
43969
43970 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43971
43972 [BZ #14797]
43973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43974 definitely overflow as x * y not x * y + z.
43975 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43976 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43977 * math/libm-test.inc (fma_test): Add more tests.
43978 (fma_test_towardzero): Likewise.
43979 (fma_test_downward): Likewise.
43980 (fma_test_upward): Likewise.
43981
43982 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43983
43984 [BZ #157]
43985
43986 * include/stub-tag.h: Remove file.
43987 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43988 '#include' of it.
43989 * manual/maint.texi (Porting): Don't reference it.
43990 * Makerules ($(objpfx)stubs): Likewise.
43991 * dirent/closedir.c: Don't include <stub-tag.h>.
43992 * dirent/dirfd.c: Likewise.
43993 * dirent/fdopendir.c: Likewise.
43994 * dirent/getdents.c: Likewise.
43995 * dirent/getdents64.c: Likewise.
43996 * dirent/opendir.c: Likewise.
43997 * dirent/readdir.c: Likewise.
43998 * dirent/readdir64.c: Likewise.
43999 * dirent/readdir64_r.c: Likewise.
44000 * dirent/readdir_r.c: Likewise.
44001 * dirent/rewinddir.c: Likewise.
44002 * dirent/seekdir.c: Likewise.
44003 * dirent/telldir.c: Likewise.
44004 * gmon/profil.c: Likewise.
44005 * grp/setgroups.c: Likewise.
44006 * inet/if_index.c: Likewise.
44007 * io/access.c: Likewise.
44008 * io/chdir.c: Likewise.
44009 * io/chmod.c: Likewise.
44010 * io/chown.c: Likewise.
44011 * io/close.c: Likewise.
44012 * io/dup.c: Likewise.
44013 * io/dup2.c: Likewise.
44014 * io/dup3.c: Likewise.
44015 * io/euidaccess.c: Likewise.
44016 * io/faccessat.c: Likewise.
44017 * io/fchdir.c: Likewise.
44018 * io/fchmod.c: Likewise.
44019 * io/fchmodat.c: Likewise.
44020 * io/fchown.c: Likewise.
44021 * io/fchownat.c: Likewise.
44022 * io/fcntl.c: Likewise.
44023 * io/flock.c: Likewise.
44024 * io/fstatfs.c: Likewise.
44025 * io/fstatfs64.c: Likewise.
44026 * io/fstatvfs.c: Likewise.
44027 * io/fstatvfs64.c: Likewise.
44028 * io/futimens.c: Likewise.
44029 * io/fxstat.c: Likewise.
44030 * io/fxstat64.c: Likewise.
44031 * io/fxstatat.c: Likewise.
44032 * io/fxstatat64.c: Likewise.
44033 * io/getcwd.c: Likewise.
44034 * io/isatty.c: Likewise.
44035 * io/lchmod.c: Likewise.
44036 * io/lchown.c: Likewise.
44037 * io/link.c: Likewise.
44038 * io/linkat.c: Likewise.
44039 * io/lseek.c: Likewise.
44040 * io/lseek64.c: Likewise.
44041 * io/lxstat64.c: Likewise.
44042 * io/mkdir.c: Likewise.
44043 * io/mkdirat.c: Likewise.
44044 * io/mkfifo.c: Likewise.
44045 * io/mkfifoat.c: Likewise.
44046 * io/open.c: Likewise.
44047 * io/open64.c: Likewise.
44048 * io/openat.c: Likewise.
44049 * io/openat64.c: Likewise.
44050 * io/pipe.c: Likewise.
44051 * io/pipe2.c: Likewise.
44052 * io/poll.c: Likewise.
44053 * io/posix_fadvise.c: Likewise.
44054 * io/posix_fadvise64.c: Likewise.
44055 * io/posix_fallocate.c: Likewise.
44056 * io/posix_fallocate64.c: Likewise.
44057 * io/read.c: Likewise.
44058 * io/readlink.c: Likewise.
44059 * io/readlinkat.c: Likewise.
44060 * io/rmdir.c: Likewise.
44061 * io/sendfile.c: Likewise.
44062 * io/sendfile64.c: Likewise.
44063 * io/statfs.c: Likewise.
44064 * io/statfs64.c: Likewise.
44065 * io/statvfs.c: Likewise.
44066 * io/statvfs64.c: Likewise.
44067 * io/symlink.c: Likewise.
44068 * io/symlinkat.c: Likewise.
44069 * io/ttyname.c: Likewise.
44070 * io/ttyname_r.c: Likewise.
44071 * io/umask.c: Likewise.
44072 * io/unlink.c: Likewise.
44073 * io/unlinkat.c: Likewise.
44074 * io/utime.c: Likewise.
44075 * io/utimensat.c: Likewise.
44076 * io/write.c: Likewise.
44077 * io/xmknod.c: Likewise.
44078 * io/xmknodat.c: Likewise.
44079 * io/xstat.c: Likewise.
44080 * io/xstat64.c: Likewise.
44081 * login/getpt.c: Likewise.
44082 * login/grantpt.c: Likewise.
44083 * login/unlockpt.c: Likewise.
44084 * math/e_acoshl.c: Likewise.
44085 * math/e_acosl.c: Likewise.
44086 * math/e_asinl.c: Likewise.
44087 * math/e_atan2l.c: Likewise.
44088 * math/e_atanhl.c: Likewise.
44089 * math/e_coshl.c: Likewise.
44090 * math/e_expl.c: Likewise.
44091 * math/e_fmodl.c: Likewise.
44092 * math/e_gammal_r.c: Likewise.
44093 * math/e_hypotl.c: Likewise.
44094 * math/e_j0l.c: Likewise.
44095 * math/e_j1l.c: Likewise.
44096 * math/e_jnl.c: Likewise.
44097 * math/e_lgammal_r.c: Likewise.
44098 * math/e_log10l.c: Likewise.
44099 * math/e_log2l.c: Likewise.
44100 * math/e_logl.c: Likewise.
44101 * math/e_powl.c: Likewise.
44102 * math/e_rem_pio2l.c: Likewise.
44103 * math/e_sinhl.c: Likewise.
44104 * math/e_sqrtl.c: Likewise.
44105 * math/fclrexcpt.c: Likewise.
44106 * math/fedisblxcpt.c: Likewise.
44107 * math/feenablxcpt.c: Likewise.
44108 * math/fegetenv.c: Likewise.
44109 * math/fegetexcept.c: Likewise.
44110 * math/fegetround.c: Likewise.
44111 * math/feholdexcpt.c: Likewise.
44112 * math/fesetenv.c: Likewise.
44113 * math/fesetround.c: Likewise.
44114 * math/feupdateenv.c: Likewise.
44115 * math/fgetexcptflg.c: Likewise.
44116 * math/fraiseexcpt.c: Likewise.
44117 * math/fsetexcptflg.c: Likewise.
44118 * math/ftestexcept.c: Likewise.
44119 * math/k_cosl.c: Likewise.
44120 * math/k_rem_pio2l.c: Likewise.
44121 * math/k_sinl.c: Likewise.
44122 * math/k_tanl.c: Likewise.
44123 * math/s_asinhl.c: Likewise.
44124 * math/s_atanl.c: Likewise.
44125 * math/s_cbrtl.c: Likewise.
44126 * math/s_erfl.c: Likewise.
44127 * math/s_expm1l.c: Likewise.
44128 * math/s_log1pl.c: Likewise.
44129 * math/s_tanhl.c: Likewise.
44130 * misc/acct.c: Likewise.
44131 * misc/brk.c: Likewise.
44132 * misc/chflags.c: Likewise.
44133 * misc/chroot.c: Likewise.
44134 * misc/fchflags.c: Likewise.
44135 * misc/fgetxattr.c: Likewise.
44136 * misc/flistxattr.c: Likewise.
44137 * misc/fremovexattr.c: Likewise.
44138 * misc/fsetxattr.c: Likewise.
44139 * misc/fsync.c: Likewise.
44140 * misc/ftruncate.c: Likewise.
44141 * misc/futimes.c: Likewise.
44142 * misc/futimesat.c: Likewise.
44143 * misc/getdomain.c: Likewise.
44144 * misc/getdtsz.c: Likewise.
44145 * misc/gethostid.c: Likewise.
44146 * misc/gethostname.c: Likewise.
44147 * misc/getloadavg.c: Likewise.
44148 * misc/getpagesize.c: Likewise.
44149 * misc/getsysstats.c: Likewise.
44150 * misc/getxattr.c: Likewise.
44151 * misc/gtty.c: Likewise.
44152 * misc/ioctl.c: Likewise.
44153 * misc/lgetxattr.c: Likewise.
44154 * misc/listxattr.c: Likewise.
44155 * misc/llistxattr.c: Likewise.
44156 * misc/lremovexattr.c: Likewise.
44157 * misc/lsetxattr.c: Likewise.
44158 * misc/lutimes.c: Likewise.
44159 * misc/madvise.c: Likewise.
44160 * misc/mincore.c: Likewise.
44161 * misc/mlock.c: Likewise.
44162 * misc/mlockall.c: Likewise.
44163 * misc/mmap.c: Likewise.
44164 * misc/mprotect.c: Likewise.
44165 * misc/msync.c: Likewise.
44166 * misc/munlock.c: Likewise.
44167 * misc/munlockall.c: Likewise.
44168 * misc/munmap.c: Likewise.
44169 * misc/preadv.c: Likewise.
44170 * misc/preadv64.c: Likewise.
44171 * misc/ptrace.c: Likewise.
44172 * misc/pwritev.c: Likewise.
44173 * misc/pwritev64.c: Likewise.
44174 * misc/readv.c: Likewise.
44175 * misc/reboot.c: Likewise.
44176 * misc/remap_file_pages.c: Likewise.
44177 * misc/removexattr.c: Likewise.
44178 * misc/revoke.c: Likewise.
44179 * misc/select.c: Likewise.
44180 * misc/setdomain.c: Likewise.
44181 * misc/setegid.c: Likewise.
44182 * misc/seteuid.c: Likewise.
44183 * misc/sethostid.c: Likewise.
44184 * misc/sethostname.c: Likewise.
44185 * misc/setregid.c: Likewise.
44186 * misc/setreuid.c: Likewise.
44187 * misc/setxattr.c: Likewise.
44188 * misc/sstk.c: Likewise.
44189 * misc/stty.c: Likewise.
44190 * misc/swapoff.c: Likewise.
44191 * misc/swapon.c: Likewise.
44192 * misc/sync.c: Likewise.
44193 * misc/syncfs.c: Likewise.
44194 * misc/syscall.c: Likewise.
44195 * misc/truncate.c: Likewise.
44196 * misc/ualarm.c: Likewise.
44197 * misc/usleep.c: Likewise.
44198 * misc/ustat.c: Likewise.
44199 * misc/utimes.c: Likewise.
44200 * misc/vhangup.c: Likewise.
44201 * misc/writev.c: Likewise.
44202 * posix/_exit.c: Likewise.
44203 * posix/alarm.c: Likewise.
44204 * posix/execve.c: Likewise.
44205 * posix/fexecve.c: Likewise.
44206 * posix/fork.c: Likewise.
44207 * posix/fpathconf.c: Likewise.
44208 * posix/getaddrinfo.c: Likewise.
44209 * posix/getegid.c: Likewise.
44210 * posix/geteuid.c: Likewise.
44211 * posix/getgid.c: Likewise.
44212 * posix/getgroups.c: Likewise.
44213 * posix/getlogin.c: Likewise.
44214 * posix/getlogin_r.c: Likewise.
44215 * posix/getpgid.c: Likewise.
44216 * posix/getpid.c: Likewise.
44217 * posix/getppid.c: Likewise.
44218 * posix/getresgid.c: Likewise.
44219 * posix/getresuid.c: Likewise.
44220 * posix/getsid.c: Likewise.
44221 * posix/getuid.c: Likewise.
44222 * posix/glob64.c: Likewise.
44223 * posix/nanosleep.c: Likewise.
44224 * posix/pathconf.c: Likewise.
44225 * posix/pause.c: Likewise.
44226 * posix/posix_madvise.c: Likewise.
44227 * posix/pread.c: Likewise.
44228 * posix/pread64.c: Likewise.
44229 * posix/pwrite.c: Likewise.
44230 * posix/pwrite64.c: Likewise.
44231 * posix/sched_getaffinity.c: Likewise.
44232 * posix/sched_getp.c: Likewise.
44233 * posix/sched_gets.c: Likewise.
44234 * posix/sched_primax.c: Likewise.
44235 * posix/sched_primin.c: Likewise.
44236 * posix/sched_rr_gi.c: Likewise.
44237 * posix/sched_setaffinity.c: Likewise.
44238 * posix/sched_setp.c: Likewise.
44239 * posix/sched_sets.c: Likewise.
44240 * posix/sched_yield.c: Likewise.
44241 * posix/setgid.c: Likewise.
44242 * posix/setlogin.c: Likewise.
44243 * posix/setpgid.c: Likewise.
44244 * posix/setresgid.c: Likewise.
44245 * posix/setresuid.c: Likewise.
44246 * posix/setsid.c: Likewise.
44247 * posix/setuid.c: Likewise.
44248 * posix/sleep.c: Likewise.
44249 * posix/spawni.c: Likewise.
44250 * posix/sysconf.c: Likewise.
44251 * posix/times.c: Likewise.
44252 * posix/wait.c: Likewise.
44253 * posix/wait3.c: Likewise.
44254 * posix/wait4.c: Likewise.
44255 * posix/waitpid.c: Likewise.
44256 * resolv/gai_sigqueue.c: Likewise.
44257 * resource/getpriority.c: Likewise.
44258 * resource/getrlimit.c: Likewise.
44259 * resource/getrusage.c: Likewise.
44260 * resource/nice.c: Likewise.
44261 * resource/setpriority.c: Likewise.
44262 * resource/setrlimit.c: Likewise.
44263 * resource/ulimit.c: Likewise.
44264 * rt/aio_cancel.c: Likewise.
44265 * rt/aio_fsync.c: Likewise.
44266 * rt/aio_read.c: Likewise.
44267 * rt/aio_sigqueue.c: Likewise.
44268 * rt/aio_suspend.c: Likewise.
44269 * rt/aio_write.c: Likewise.
44270 * rt/clock_getres.c: Likewise.
44271 * rt/clock_gettime.c: Likewise.
44272 * rt/clock_nanosleep.c: Likewise.
44273 * rt/clock_settime.c: Likewise.
44274 * rt/lio_listio.c: Likewise.
44275 * rt/mq_close.c: Likewise.
44276 * rt/mq_getattr.c: Likewise.
44277 * rt/mq_notify.c: Likewise.
44278 * rt/mq_open.c: Likewise.
44279 * rt/mq_receive.c: Likewise.
44280 * rt/mq_send.c: Likewise.
44281 * rt/mq_setattr.c: Likewise.
44282 * rt/mq_timedreceive.c: Likewise.
44283 * rt/mq_timedsend.c: Likewise.
44284 * rt/mq_unlink.c: Likewise.
44285 * rt/shm_open.c: Likewise.
44286 * rt/shm_unlink.c: Likewise.
44287 * rt/timer_create.c: Likewise.
44288 * rt/timer_delete.c: Likewise.
44289 * rt/timer_getoverr.c: Likewise.
44290 * rt/timer_gettime.c: Likewise.
44291 * rt/timer_settime.c: Likewise.
44292 * setjmp/__longjmp.c: Likewise.
44293 * setjmp/setjmp.c: Likewise.
44294 * signal/kill.c: Likewise.
44295 * signal/killpg.c: Likewise.
44296 * signal/raise.c: Likewise.
44297 * signal/sigaction.c: Likewise.
44298 * signal/sigaltstack.c: Likewise.
44299 * signal/sigblock.c: Likewise.
44300 * signal/sigignore.c: Likewise.
44301 * signal/sigintr.c: Likewise.
44302 * signal/signal.c: Likewise.
44303 * signal/sigpause.c: Likewise.
44304 * signal/sigpending.c: Likewise.
44305 * signal/sigqueue.c: Likewise.
44306 * signal/sigreturn.c: Likewise.
44307 * signal/sigset.c: Likewise.
44308 * signal/sigsetmask.c: Likewise.
44309 * signal/sigstack.c: Likewise.
44310 * signal/sigsuspend.c: Likewise.
44311 * signal/sigtimedwait.c: Likewise.
44312 * signal/sigvec.c: Likewise.
44313 * signal/sigwait.c: Likewise.
44314 * signal/sigwaitinfo.c: Likewise.
44315 * signal/sysv_signal.c: Likewise.
44316 * socket/accept.c: Likewise.
44317 * socket/accept4.c: Likewise.
44318 * socket/bind.c: Likewise.
44319 * socket/connect.c: Likewise.
44320 * socket/getpeername.c: Likewise.
44321 * socket/getsockname.c: Likewise.
44322 * socket/getsockopt.c: Likewise.
44323 * socket/isfdtype.c: Likewise.
44324 * socket/listen.c: Likewise.
44325 * socket/recv.c: Likewise.
44326 * socket/recvfrom.c: Likewise.
44327 * socket/recvmsg.c: Likewise.
44328 * socket/send.c: Likewise.
44329 * socket/sendmsg.c: Likewise.
44330 * socket/sendto.c: Likewise.
44331 * socket/setsockopt.c: Likewise.
44332 * socket/shutdown.c: Likewise.
44333 * socket/sockatmark.c: Likewise.
44334 * socket/socket.c: Likewise.
44335 * socket/socketpair.c: Likewise.
44336 * stdio-common/ctermid.c: Likewise.
44337 * stdio-common/cuserid.c: Likewise.
44338 * stdio-common/remove.c: Likewise.
44339 * stdio-common/rename.c: Likewise.
44340 * stdio-common/renameat.c: Likewise.
44341 * stdio-common/tempname.c: Likewise.
44342 * stdlib/getcontext.c: Likewise.
44343 * stdlib/makecontext.c: Likewise.
44344 * stdlib/setcontext.c: Likewise.
44345 * stdlib/swapcontext.c: Likewise.
44346 * stdlib/system.c: Likewise.
44347 * streams/fattach.c: Likewise.
44348 * streams/fdetach.c: Likewise.
44349 * streams/getmsg.c: Likewise.
44350 * streams/getpmsg.c: Likewise.
44351 * streams/putmsg.c: Likewise.
44352 * streams/putpmsg.c: Likewise.
44353 * sysdeps/unix/bsd/getpt.c: Likewise.
44354 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44355 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44356 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44358 Likewise.
44359 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44360 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44361 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44362 * sysvipc/msgctl.c: Likewise.
44363 * sysvipc/msgget.c: Likewise.
44364 * sysvipc/msgrcv.c: Likewise.
44365 * sysvipc/msgsnd.c: Likewise.
44366 * sysvipc/semctl.c: Likewise.
44367 * sysvipc/semget.c: Likewise.
44368 * sysvipc/semop.c: Likewise.
44369 * sysvipc/semtimedop.c: Likewise.
44370 * sysvipc/shmat.c: Likewise.
44371 * sysvipc/shmctl.c: Likewise.
44372 * sysvipc/shmdt.c: Likewise.
44373 * sysvipc/shmget.c: Likewise.
44374 * termios/tcdrain.c: Likewise.
44375 * termios/tcflow.c: Likewise.
44376 * termios/tcflush.c: Likewise.
44377 * termios/tcgetattr.c: Likewise.
44378 * termios/tcgetpgrp.c: Likewise.
44379 * termios/tcsendbrk.c: Likewise.
44380 * termios/tcsetattr.c: Likewise.
44381 * termios/tcsetpgrp.c: Likewise.
44382 * time/adjtime.c: Likewise.
44383 * time/clock.c: Likewise.
44384 * time/getitimer.c: Likewise.
44385 * time/gettimeofday.c: Likewise.
44386 * time/setitimer.c: Likewise.
44387 * time/settimeofday.c: Likewise.
44388 * time/stime.c: Likewise.
44389 * time/time.c: Likewise.
44390
44391 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44392
44393 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44394 /usr/old/bin.
44395
44396 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44397 instead of spaces.
44398 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44399
44400 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44401
44402 [BZ #14796]
44403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44404 FE_TONEAREST before applying Dekker multiplication and Knuth
44405 addition. Clear inexact exceptions and check for exact zero
44406 results afterwards.
44407 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44408 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44409 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44410 * math/libm-test.inc (fma_test): Add more tests.
44411 (fma_test_towardzero): Likewise.
44412 (fma_test_downward): Likewise.
44413 (fma_test_upward): Likewise.
44414 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44415 function.
44416 (libc_fesetround): New macro.
44417 (libc_fesetroundf): Likewise.
44418 (libc_fesetroundl): Likewise.
44419 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44420 function.
44421 (libc_fesetround_387): Likewise.
44422 (libc_fesetroundf): New macro.
44423 (libc_fesetround): Likewise.
44424 (libc_fesetroundl): Likewise.
44425 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44426 function.
44427 (libc_fesetroundf): New macro.
44428 (libc_fesetround): Likewise.
44429 (libc_fesetroundl): Likewise.
44430 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44431 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44432 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44433 libm_hidden_ver.
44434 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44435 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44436 libm_hidden_def.
44437 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44438 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44439 libm_hidden_ver.
44440 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44441 libm_hidden_def.
44442
44443 [BZ #3439]
44444 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44445 integer constant usable in #if and use that to give value to enum
44446 constant.
44447 (FE_DIVBYZERO): Likewise.
44448 (FE_UNDERFLOW): Likewise.
44449 (FE_OVERFLOW): Likewise.
44450 (FE_INVALID): Likewise.
44451 (FE_INVALID_SNAN): Likewise.
44452 (FE_INVALID_ISI): Likewise.
44453 (FE_INVALID_IDI): Likewise.
44454 (FE_INVALID_ZDZ): Likewise.
44455 (FE_INVALID_IMZ): Likewise.
44456 (FE_INVALID_COMPARE): Likewise.
44457 (FE_INVALID_SOFTWARE): Likewise.
44458 (FE_INVALID_SQRT): Likewise.
44459 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44460 (FE_TONEAREST): Likewise.
44461 (FE_TOWARDZERO): Likewise.
44462 (FE_UPWARD): Likewise.
44463 (FE_DOWNWARD): Likewise.
44464 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44465 (FE_DIVBYZERO): Likewise.
44466 (FE_OVERFLOW): Likewise.
44467 (FE_UNDERFLOW): Likewise.
44468 (FE_INEXACT): Likewise.
44469 (FE_TONEAREST): Likewise.
44470 (FE_DOWNWARD): Likewise.
44471 (FE_UPWARD): Likewise.
44472 (FE_TOWARDZERO): Likewise.
44473 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44474 (FE_UNDERFLOW): Likewise.
44475 (FE_OVERFLOW): Likewise.
44476 (FE_DIVBYZERO): Likewise.
44477 (FE_INVALID): Likewise.
44478 (FE_TONEAREST): Likewise.
44479 (FE_TOWARDZERO): Likewise.
44480 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44481 (FE_OVERFLOW): Likewise.
44482 (FE_UNDERFLOW): Likewise.
44483 (FE_DIVBYZERO): Likewise.
44484 (FE_INEXACT): Likewise.
44485 (FE_TONEAREST): Likewise.
44486 (FE_TOWARDZERO): Likewise.
44487 (FE_UPWARD): Likewise.
44488 (FE_DOWNWARD): Likewise.
44489 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44490 (FE_DIVBYZERO): Likewise.
44491 (FE_OVERFLOW): Likewise.
44492 (FE_UNDERFLOW): Likewise.
44493 (FE_INEXACT): Likewise.
44494 (FE_TONEAREST): Likewise.
44495 (FE_DOWNWARD): Likewise.
44496 (FE_UPWARD): Likewise.
44497 (FE_TOWARDZERO): Likewise.
44498
44499 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44500
44501 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44502
44503 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44504
44505 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44506 commands. Quote $PWD.
44507 (blacklist_exports): Don't use remove_newlines. Replace "declare
44508 -x" by "export".
44509 (remove_newlines): Remove.
44510
44511 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44512
44513 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44514 * stdlib/stdlib.h (atof): Moved to ...
44515 * include/bits/stdlib-float.h: Here. New file.
44516 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44517 * stdlib/bits/stdlib-float.h: New file.
44518 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44519 -mno-sse -mno-mmx.
44520 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44521 <xmmintrin.h>.
44522
44523 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44524
44525 * conform/conformtest.pl (@headers): Add fenv.h.
44526 * conform/data/fenv.h-data: New file.
44527 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44528 include of <math/fenv.h>.
44529
44530 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44531 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44532 && !UNIX98]. Enables tests for XOPEN2K8.
44533 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44534 POSIX2008]: Likewise.
44535
44536 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44537 (struct rusage): Do not expect type or its members.
44538
44539 [BZ #3439]
44540 * math/math.h (FP_NAN): Define macro to integer constant usable in
44541 #if and use that to give value to enum constant.
44542 (FP_INFINITE): Likewise.
44543 (FP_ZERO): Likewise.
44544 (FP_SUBNORMAL): Likewise.
44545 (FP_NORMAL): Likewise.
44546
44547 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44548
44549 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44550 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44551 arguments.
44552
44553 2012-11-02 Roland McGrath <roland@hack.frob.com>
44554
44555 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44556 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44557 autoconf-time if not.
44558 * configure.in: Remove AC_PREREQ.
44559
44560 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44561
44562 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44563 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44564 of the internal implementation.
44565
44566 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44567
44568 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44569 except include of <misc/sys/syslog.h>.
44570
44571 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44572
44573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44574 function returns with a NULL context exit with zero.
44575
44576 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44577
44578 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44579
44580 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44581
44582 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44583 (run_program_cmd): This.
44584 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44585 (tst_langinfo): New variable. Use it.
44586
44587 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44588
44589 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44590 floating point opcodes.
44591
44592 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44593
44594 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44595 variable.
44596
44597 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44598
44599 * sysdeps/mach/hurd/powerpc: Remove directory.
44600 * sysdeps/mach/powerpc: Likewise.
44601
44602 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44603
44604 * scripts/check-local-headers.sh: Ignore c++ headers.
44605
44606 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44607
44608 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44609 __libc_cleanup_region_start argument.
44610
44611 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44612
44613 [BZ #14784]
44614 [BZ #14785]
44615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44616 x * y using scaling, not as x * y + z.
44617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44618 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44619 * math/libm-test.inc (fma_test): Add more tests.
44620 (fma_test_towardzero): Likewise.
44621 (fma_test_downward): Likewise.
44622 (fma_test_upward): Likewise.
44623
44624 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44625
44626 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44627
44628 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44629
44630 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44631 New variable.
44632
44633 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44634
44635 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44636
44637 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44638
44639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44640 Fix sort order.
44641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44642 Likewise.
44643
44644 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44645
44646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44647 Fix the order of the list for glibc 2.17.
44648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44649 Likewise.
44650
44651 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44652
44653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44654
44655 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44656
44657 [BZ #14610]
44658 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44659 for low part of x being zero before using __atanl (y).
44660 * math/libm-test.inc (atan2_test): Add another test.
44661
44662 * manual/install.texi (Configuring and compiling): Document
44663 general use of test-wrapper and test-wrapper-env.
44664 * INSTALL: Regenerated.
44665
44666 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44667 (__fma): Do not extract and scale down low bits on after-rounding
44668 systems when result rounded to normal precision would have normal
44669 exponent.
44670 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44671 (__fmal): Do not extract and scale down low bits on after-rounding
44672 systems when result rounded to normal precision would have normal
44673 exponent.
44674 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44675 (__fmal): Do not extract and scale down low bits on after-rounding
44676 systems when result rounded to normal precision would have normal
44677 exponent.
44678 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44679 macro.
44680 (fma_test): Add more tests.
44681 (fma_test_towardzero): Likewise.
44682 (fma_test_downward): Likewise.
44683 (fma_test_upward): Likewise.
44684
44685 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44686
44687 * sysdeps/i386/tininess.h: Renamed to ...
44688 * sysdeps/x86/tininess.h: This.
44689 * sysdeps/x86_64/tininess.h: Removed.
44690
44691 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44692
44693 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44694 input. Use $(build-program-cmd).
44695 ($(objpfx)tst-array1-static.out): Likewise.
44696 ($(objpfx)tst-array2.out): Likewise.
44697 ($(objpfx)tst-array3.out): Likewise.
44698 ($(objpfx)tst-array4.out): Likewise.
44699 ($(objpfx)tst-array5.out): Likewise.
44700 ($(objpfx)tst-array5-static.out): Likewise.
44701
44702 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44703
44704 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44705 if defined.
44706
44707 * nss/nsswitch.h (nss_interface_function): Provide new
44708 macro for use with NSS functions.
44709 * grp/initgroups.c: Use new macro.
44710 * nss/getXXbyYY.c: Likewise.
44711 * nss/getXXbyYY_r.c: Likewise.
44712 * nss/getXXent.c: Likewise.
44713 * nss/getXXent_r.c: Likewise.
44714 * sysdeps/posix/getaddrinfo.c: Likewise.
44715
44716 2012-10-30 Andreas Jaeger <aj@suse.de>
44717
44718 * po/ru.po: Update Russion translation from translation project.
44719
44720 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44721
44722 [BZ #14152]
44723 [BZ #14783]
44724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44725 result and shift together with sticky bit instead of replicating
44726 round-to-nearest rounding.
44727 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44728 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44729 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44730 missing underflow exceptions.
44731 (fma_test_towardzero): Add more tests.
44732 (fma_test_downward): Likewise.
44733 (fma_test_upward): Likewise.
44734
44735 [BZ #14047]
44736 * sysdeps/generic/tininess.h: New file.
44737 * sysdeps/i386/tininess.h: Likewise.
44738 * sysdeps/sh/tininess.h: Likewise.
44739 * sysdeps/x86_64/tininess.h: Likewise.
44740 * stdlib/tst-strtod-underflow.c: Likewise.
44741 * stdlib/tst-tininess.c: Likewise.
44742 * stdlib/strtod_l.c: Include <tininess.h>.
44743 (round_and_return): Do not set errno for exact underflow cases.
44744 Force an underflow exception when setting errno for underflow.
44745 Determine underflow based on rounding to normal precision if
44746 TININESS_AFTER_ROUNDING.
44747 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44748 ERANGE for exact underflow cases.
44749 * stdlib/Makefile (tests): Add tst-tininess and
44750 tst-strtod-underflow.
44751 ($(objpfx)tst-tininess): Use $(link-libm).
44752 ($(objpfx)tst-strtod-underflow): Likewise.
44753
44754 2012-10-30 Andreas Jaeger <aj@suse.de>
44755
44756 [BZ#14767]
44757 * elf/Makefile (tests): Remove conditional for have-initfini-array
44758 since this is now always required and the variable does not exist
44759 anymore.
44760 (tests-static): Likewise.
44761 (modules-names): Likewise.
44762
44763 * po/eo.po: Add Esperanto translation from translation project.
44764
44765 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44766 merged with constructor/destructor.
44767 (init_array): Likewise.
44768 * elf/tst-array2dep.c (fini_array): Likewise.
44769 (init_array): Likewise.
44770
44771 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44772
44773 * manual/message.texi: Delete @cartouche tags.
44774
44775 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44776
44777 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44778 EOPNOTSUPP.
44779 * sysdeps/mach/hurd/fsync.c: Likewise.
44780
44781 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44782 [_POSIX_REALTIME_SIGNALS]: Change condition to
44783 [_POSIX_REALTIME_SIGNALS > 0].
44784
44785 2012-10-27 Andreas Jaeger <aj@suse.de>
44786
44787 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44788 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44790 [__WORDSIZE != 64]: Likewise.
44791
44792 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44793
44794 * iconvdata/tst-table.sh: Remove ${SHELL}.
44795 * iconvdata/tst-tables.sh: Likewise.
44796
44797 2012-10-25 David S. Miller <davem@davemloft.net>
44798
44799 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44800 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44801 of strtoull.
44802
44803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44804 ifunc-impl-list.c
44805 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44806 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44807 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44808 file.
44809
44810 2012-10-25 Roland McGrath <roland@hack.frob.com>
44811
44812 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44813 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44814 __getdirentries.
44815
44816 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44817 Jim Blandy <jimb@codesourcery.com>
44818
44819 * scripts/cross-test-ssh.sh: New file.
44820 * manual/install.texi (Configuring and compiling): Document use of
44821 cross-test-ssh.sh.
44822 * INSTALL: Regenerated.
44823
44824 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44825
44826 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44827 EOPNOTSUPP.
44828
44829 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44830
44831 * Makeconfig (run-program-prefix): Fix comment.
44832
44833 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44834 Jim Blandy <jimb@codesourcery.com>
44835
44836 * Makeconfig (test-wrapper): New variable,
44837 (test-wrapper-env): Likewise.
44838 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44839 (run-built-tests): Define to yes.
44840 (run-program-prefix): Use $(test-wrapper).
44841 (built-program-cmd): Likewise.
44842 * Rules (make-test-out): Use $(test-wrapper-env) and
44843 $(host-built-program-cmd).
44844 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44845 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44846 tst-pathopt.sh.
44847 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44848 $(test-wrapper-env) to tst-rtld-load-self.sh.
44849 ($(objpfx)order2.out): Use $(test-wrapper).
44850 ($(objpfx)tst-initorder.out): Likewise.
44851 ($(objpfx)tst-initorder2.out): Likewise.
44852 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44853 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44854 (test_wrapper_env): New variable. Use it to run ld.so.
44855 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44856 Use it to run ld.so.
44857 (test_wrapper_env): Likewise.
44858 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44859 $(test-wrapper) to run-iconv-test.sh.
44860 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44861 (ICONV): Use $test_wrapper.
44862 * posix/Makefile ($(objpfx)globtest.out): Pass
44863 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44864 globtest.sh, not $(run-program-prefix).
44865 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44866 (test_wrapper): Likewise.
44867 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44868 set together with run_via_rtld_prefix.
44869 (run_program_prefix): Define in terms of test_wrapper and
44870 run_via_rtld_prefix.
44871
44872 2012-10-24 Roland McGrath <roland@hack.frob.com>
44873
44874 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44875 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44876 Targets removed.
44877
44878 [BZ #14743]
44879 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44880 Declare __clock_getres, __clock_gettime, __clock_settime,
44881 __clock_nanosleep, and __clock_getcpuclockid.
44882 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44883 Remove librt_hidden_def (clock_gettime).
44884 * sysdeps/unix/clock_gettime.c: Likewise.
44885 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44886 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44887 * rt/clock_getres.c: Define __clock_getres as an alias.
44888 * sysdeps/posix/clock_getres.c: Likewise.
44889 * rt/clock_settime.c: Define __clock_settime as an alias.
44890 * sysdeps/unix/clock_settime.c: Likewise.
44891 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44892 * sysdeps/unix/clock_nanosleep.c: Likewise.
44893 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44894 * rt/clock-compat.c: New file.
44895 * rt/Makefile (librt-routines): Add clock-compat and move
44896 $(clock-routines) to ...
44897 (routines): ... here, new variable.
44898 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44899 Don't add get_clockfreq here.
44900 * rt/Versions (libc: GLIBC_2.17): New version set.
44901 Add clock_* symbols here.
44902 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44904 (GLIBC_2.17): Add clock_* symbols.
44905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44907 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44909 Likewise.
44910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44911 Likewise.
44912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44916 * NEWS: Mention the move.
44917
44918 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44919 Use __open, __read, __close rather than their public counterparts.
44920 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44921 (__get_clockfreq_via_cpuinfo): Likewise.
44922 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44923 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44924
44925 * config.h.in (HAVE_IFUNC): New #undef.
44926 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44927 was successful.
44928 * configure: Regenerated.
44929
44930 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44931
44932 * configure.in: Move READELF check to start of file.
44933 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44934 libc_cv_asm_gnu_indirect_function in the process.
44935 * configure: Regenerated.
44936
44937 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44938
44939 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44940 send the output to /dev/null.
44941 (libc_cv_cc_with_libunwind): Likewise.
44942 (libc_cv_as_noexecstack): Likewise.
44943 * configure: Regenerate.
44944
44945 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44946
44947 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44948
44949 * posix/globtest.sh (TMPDIR): Do not set.
44950 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44951 (testout): Likewise.
44952
44953 2012-10-24 Andreas Jaeger <aj@suse.de>
44954
44955 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44956 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44957 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44958 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44959 posix_fadvise64, posix_fallocate64.
44960
44961 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44962 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44963 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44964 Likewise.
44965 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44966 Likewise.
44967 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44968
44969 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44970 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44971 <bits/fcntl-linux.h>.
44972 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44973
44974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44975 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44976 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44977 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44978 [__WORDSIZE != 64]: Likewise.
44979
44980 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44981
44982 * Makeconfig (run-built-tests): New variable.
44983 * Rules [$(cross-compiling) = yes]: Change condition to
44984 [$(run-built-tests) = no].
44985 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44986 to [$(run-built-tests) = yes].
44987 * elf/Makefile [$(cross-compiling) = no]: Likewise
44988 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44989 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44990 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44991 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44992 * io/Makefile [$(cross-compiling) = no]: Likewise.
44993 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44994 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44995 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44996 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44997 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44998 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44999 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45000 * string/Makefile [$(cross-compiling) = no]: Likewise.
45001
45002 * posix/Makefile ($(objpfx)globtest.out): Pass
45003 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45004 $(rtld-installed-name).
45005 * posix/globtest.sh (elf_objpfx): Remove variable.
45006 (rtld_installed_name): Likewise.
45007 (library_path): Likewise.
45008 (run_program_prefix): New variable. Use for running globtest
45009 binary.
45010
45011 2012-10-23 Jim Blandy <jimb@codesourcery.com>
45012 Joseph Myers <joseph@codesourcery.com>
45013
45014 * Makeconfig (host-built-program-cmd): New variable.
45015 * elf/Makefile (tst-stackguard1-ARGS): Use
45016 $(host-built-program-cmd).
45017 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45018 (tst-spawn-ARGS): Likewise.
45019 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45020
45021 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45022 Jim Blandy <jimb@codesourcery.com>
45023
45024 * Makeconfig (run-via-rtld-prefix): New variable.
45025 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45026 (built-program-cmd): Likewise.
45027
45028 2012-10-22 Andreas Jaeger <aj@suse.de>
45029
45030 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45031 __O_RSYNC if it exists, otherwise to O_SYNC.
45032
45033 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45034 Joseph Myers <joseph@codesourcery.com>
45035
45036 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45037 /dev/null.
45038 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45039 from /dev/null
45040 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45041 /dev/null.
45042
45043 2012-10-22 Andreas Jaeger <aj@suse.de>
45044
45045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45046 Define always.
45047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45048
45049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45050 bits/fcntl-linux.h.
45051
45052 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45053 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45054
45055 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45056 to __O_LARGEFILE.
45057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45058 to __O_LARGEFILE.
45059
45060 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45061 Joseph Myers <joseph@codesourcery.com>
45062
45063 * config.make.in (NM): New variable.
45064
45065 2012-10-21 Andreas Jaeger <aj@suse.de>
45066
45067 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45068 definitions and declarations that are provided by
45069 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45070
45071 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45072
45073 [BZ #14683]
45074 * elf/Makefile (tests-static): Add tst-leaks1-static.
45075 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45076 ($(objpfx)tst-leaks1-static): New rule.
45077 ($(objpfx)tst-leaks1-static-mem): Likewise.
45078 (tst-leaks1-static-ENV): New macro.
45079 * elf/dl-open.c (dl_open_worker): Check the main application
45080 only if SHARED is defined.
45081 * elf/tst-leaks1-static.c: New file.
45082
45083 2012-10-20 Andreas Jaeger <aj@suse.de>
45084
45085 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45086 generic values for Linux.
45087 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45088 and declarations that are provided by <bits/fcntl-linux.h> and
45089 include <bits/fcntl-linux.h>.
45090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45091 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45092
45093 2012-10-20 Roland McGrath <roland@hack.frob.com>
45094
45095 * io/fcntl.h: Move include of <bits/types.h> to the top and
45096 include it unconditionally.
45097
45098 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45099
45100 * wcsmbs/Makefile (tests-ifunc): New variable.
45101 (tests): Add $(tests-ifunc).
45102 * wcsmbs/test-wcschr-ifunc.c: New file.
45103 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45104 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45105 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45106 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45107 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45108
45109 * string/Makefile (tests-ifunc): New variable.
45110 (tests): Add $(tests-ifunc).
45111 * string/test-memccpy.c (TEST_NAME): New macro.
45112 * string/test-memchr.c (TEST_NAME): Likewise.
45113 * string/test-memcmp.c (TEST_NAME): Likewise.
45114 * string/test-memcpy.c (TEST_NAME): Likewise.
45115 * string/test-memmem.c (TEST_NAME): Likewise.
45116 * string/test-memmove.c (TEST_NAME): Likewise.
45117 * string/test-memset.c (TEST_NAME): Likewise.
45118 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45119 * string/test-stpcpy.c (TEST_NAME): Likewise.
45120 * string/test-stpncpy.c (TEST_NAME): Likewise.
45121 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45122 * string/test-strcasestr.c (TEST_NAME): Likewise.
45123 * string/test-strcat.c (TEST_NAME): Likewise.
45124 * string/test-strchr.c (TEST_NAME): Likewise.
45125 * string/test-strcmp.c(TEST_NAME): Likewise.
45126 * string/test-strcpy.c (TEST_NAME): Likewise.
45127 * string/test-strcspn.c (TEST_NAME): Likewise.
45128 * string/test-strlen.c (TEST_NAME): Likewise.
45129 * string/test-strncasecmp.c (TEST_NAME): Likewise.
45130 * string/test-strncmp.c (TEST_NAME): Likewise.
45131 * string/test-strncpy.c (TEST_NAME): Likewise.
45132 * string/test-strnlen.c (TEST_NAME): Likewise.
45133 * string/test-strpbrk.c (TEST_NAME): Likewise.
45134 * string/test-strrchr.c (TEST_NAME): Likewise.
45135 * string/test-strspn.c (TEST_NAME): Likewise.
45136 * string/test-strstr.c (TEST_NAME): Likewise.
45137 * string/test-bcopy-ifunc.c: New file.
45138 * string/test-bzero-ifunc.c: Likewise.
45139 * string/test-memccpy-ifunc.c: Likewise.
45140 * string/test-memchr-ifunc.c: Likewise.
45141 * string/test-memcmp-ifunc.c: Likewise.
45142 * string/test-memcpy-ifunc.c: Likewise.
45143 * string/test-memmem-ifunc.c: Likewise.
45144 * string/test-memmove-ifunc.c: Likewise.
45145 * string/test-mempcpy-ifunc.c: Likewise.
45146 * string/test-memset-ifunc.c: Likewise.
45147 * string/test-rawmemchr-ifunc.c: Likewise.
45148 * string/test-stpcpy-ifunc.c: Likewise.
45149 * string/test-stpncpy-ifunc.c: Likewise.
45150 * string/test-strcasecmp-ifunc.c: Likewise.
45151 * string/test-strcasestr-ifunc.c: Likewise.
45152 * string/test-strcat-ifunc.c: Likewise.
45153 * string/test-strchr-ifunc.c: Likewise.
45154 * string/test-strchrnul-ifunc.c: Likewise.
45155 * string/test-strcmp-ifunc.c: Likewise.
45156 * string/test-strcpy-ifunc.c: Likewise.
45157 * string/test-strcspn-ifunc.c: Likewise.
45158 * string/test-strlen-ifunc.c: Likewise.
45159 * string/test-strncasecmp-ifunc.c: Likewise.
45160 * string/test-strncat-ifunc.c: Likewise.
45161 * string/test-strncmp-ifunc.c: Likewise.
45162 * string/test-strncpy-ifunc.c: Likewise.
45163 * string/test-strnlen-ifunc.c: Likewise.
45164 * string/test-strpbrk-ifunc.c: Likewise.
45165 * string/test-strrchr-ifunc.c: Likewise.
45166 * string/test-strspn-ifunc.c: Likewise.
45167 * string/test-strstr-ifunc.c: Likewise.
45168
45169 * debug/Makefile (tests-ifunc): New variable.
45170 (tests): Add $(tests-ifunc).
45171 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45172 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45173 * debug/test-stpcpy_chk-ifunc.c: New file.
45174 * debug/test-strcpy_chk-ifunc.c: Likewise.
45175
45176 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45177
45178 [BZ #13601]
45179 * elf/dl-load.c (open_verify): Retry read if the entire ELF
45180 header is not read in.
45181
45182 2012-10-19 Joseph Myers <joseph@codesourcery.com>
45183
45184 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
45185 script to $(SHELL) as $<. Pass $(common-objpfx) to script
45186 directly. Pass built executable to script as
45187 $(built-program-cmd).
45188 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
45189 $testprogram without using LD_LIBRARY_PATH and $ldso.
45190
45191 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45192 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45193 $(rtld-installed-name).
45194 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45195 (rtld_installed_name): Likewise.
45196 (library_path): Likewise.
45197 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
45198 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45199 $(run-program-prefix) to tst-tables.sh.
45200 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
45201 it to run tst-table-from and tst-table-to.
45202 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45203 Pass it to tst-table.sh.
45204 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45205 $(run-program-prefix) to tst-gettext.sh.
45206 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45207 tst-translit.sh.
45208 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45209 tst-gettext2.sh.
45210 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
45211 to run tst-gettext.
45212 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
45213 to run tst-gettext2.
45214 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
45215 to run tst-translit.
45216 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45217 $(run-program-prefix) to tst-mtrace.sh.
45218 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
45219 to run tst-mtrace.
45220 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45221 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45222 $(rtld-installed-name).
45223 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45224 (rtld_installed_name): Likewise.
45225 (run_program_prefix): New variable. Use it to run wordexp-test.
45226
45227 * Makeconfig (ARCH): Remove all definitions.
45228 (machine): Likewise.
45229 [ARCH]: Remove conditional code.
45230 [!objdir]: Give error.
45231 [!objdir] (objpfx): Remove.
45232 [!objdir] (common-objpfx): Likewise.
45233 [!objdir] (common-objdir): Likewise.
45234 * configure.in (config_makefile): Remove. Hardcode Makefile in
45235 AC_CONFIG_FILES call.
45236 * configure: Regenerated.
45237
45238 [BZ #13888]
45239 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45240 or TMPDIR.
45241 (testout): Likewise.
45242
45243 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45244 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45245 $(rtld-installed-name).
45246 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45247 (rtld_installed_name): Likwise.
45248 (runit): Remove function.
45249 (run_getconf): New variable, Use it for running getconf binary.
45250
45251 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45252
45253 [BZ #14716]
45254 * string/test-memmem.c (check_result): New function.
45255 (do_one_test): Use it.
45256 (check1): New function.
45257 (test_main): Use it.
45258
45259 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45260
45261 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45262
45263 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45264
45265 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45266 (_G_LSEEK64): Likewise.
45267 (_G_MMAP64): Likewise.
45268 (_G_FSTAT64): Likewise.
45269 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45270 (_G_LSEEK64): Likewise.
45271 (_G_MMAP64): Likewise.
45272 (_G_FSTAT64): Likewise.
45273 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45274 unconditional. Call __mmap64 directly.
45275 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45276 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45277 __lseek64 directly.
45278 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45279 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45280 __mmap64 directly.
45281 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45282 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45283 __lseek64 directly.
45284 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45285 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45286 __lseek64 directly.
45287 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45288 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45289 __lseek64 directly.
45290 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45291 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45292 __fxstat64 directly.
45293 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45294 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45295 unconditional.
45296 (freopen64) [!_G_OPEN64]: Remove conditional code.
45297 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45298 unconditional.
45299 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45300 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45301 unconditional.
45302 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45303 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45304 unconditional.
45305 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45306 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45307 unconditional.
45308 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45309 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45310 unconditional.
45311 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45312 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45313 unconditional.
45314 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45315 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45316 unconditional.
45317 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45318
45319 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45320
45321 [BZ #12140]
45322 * manual/memory.texi (Malloc Tunable Parameters): Add note
45323 about free list pointers overwriting some perturb bytes.
45324 Wording suggested by Roland McGrath.
45325
45326 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45327
45328 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45329 (lgamma_test): Likewise.
45330 (tgamma_test): Likewise.
45331
45332 2012-10-16 Florian Weimer <fweimer@redhat.com>
45333
45334 [BZ #14700]
45335 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45336 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45337
45338 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45339
45340 * NEWS: Mention BZ #14716.
45341 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45342 when removing AVAILABLE1_USES_J macro.
45343
45344 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45345
45346 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45347 (__bswap_64): __uint64_t for unsigned 64-bit int.
45348
45349 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45350
45351 * include/string.h (memmem): Declare libc hidden alias.
45352 * string/memmem.c (memmem): Define libc hidden alias.
45353 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45354 __read, __close instead of open, read, close.
45355
45356 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45357
45358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45359 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45360 global and hidden.
45361 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45362 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45363 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45364 Likewise.
45365 (__rawmemchr_sse2): Likewise.
45366 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45367 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45368 (__strchr_sse2): Likewise.
45369 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45370 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45371 (__strcasecmp_sse2): Likewise.
45372 (__strncasecmp_sse2): Likewise.
45373 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45374 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45375 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45376 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45377 (__strrchr_sse2): Likewise.
45378 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45379 ifunc-impl-list.c.
45380 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45381 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45382 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45383 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45384 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45385 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45386 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45387 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45388 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45389 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45390 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45391 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45392 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45393 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45394 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45395 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45396 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45397 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45398 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45399 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45400 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45401 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45402 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45403 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45404 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45405 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45406 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45407 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45408 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45409 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45410
45411 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45412 global and hidden.
45413 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45414 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45415 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45416 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45417 Likewise.
45418 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45419 Likewise.
45420 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45421 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45422 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45423 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45424 ifunc-impl-list.c.
45425 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45426 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45427 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45428 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45429 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45430 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45431 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45432 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45433 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45434 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45435 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45436 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45437 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45438 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45439 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45440 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45441 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45442 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45443 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45444 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45445 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45446 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45447 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45448 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45449 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45450 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45451 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45452 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45453 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45454 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45455 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45456 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45457 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45458 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45459 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45460 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45461 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45462 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45463 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45464 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45465 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45466
45467 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45468 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45469 * include/ifunc-impl-list.h: New file.
45470 * misc/ifunc-impl-list.c: Likewise.
45471 * misc/Makefile (routines): Add ifunc-impl-list.
45472 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45473 * string/test-string.h: Include <ifunc-impl-list.h>.
45474 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45475 TEST_NAME]: New variables.
45476 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45477 are defined.
45478 (test_init): Call __libc_ifunc_impl_list to initialize
45479 func_list if TEST_IFUNC and TEST_NAME are defined.
45480
45481 * string/Makefile (strop-tests): Add bcopy and bzero.
45482 * string/test-bcopy.c: New file.
45483 * string/test-bzero.c: Likewise.
45484 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45485 defined.
45486 * string/test-memset.c: Support bzero test if TEST_BZERO is
45487 defined.
45488 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45489 __libc_memmove.
45490 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45491 __libc_memset.
45492 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45493 of memset.
45494
45495 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45496
45497 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45498 * configure: Regenerated.
45499
45500 * Makeconfig (+link-static-before-libc): Don't include
45501 $(link-static-libc).
45502
45503 * libio/libio.h (_IO_pos_t): Remove.
45504
45505 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45506
45507 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45508 McGrath.
45509
45510 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45511
45512 * crypt/crypt-entry.c: Include fips-private.h.
45513 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45514 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45515 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45516 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45517
45518 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45519
45520 * crypt/crypt-private.h: Include stdbool.h.
45521 (_ufc_setup_salt_r): Return bool.
45522 * crypt/crypt-entry.c: Include errno.h.
45523 (__crypt_r): Return NULL with EINVAL for bad salt.
45524 * crypt/crypt_util.c (bad_for_salt): New.
45525 (_ufc_setup_salt_r): Check that salt is long enough and within
45526 the specified alphabet.
45527 * crypt/badsalttest.c: New file.
45528 * crypt/Makefile (tests): Add it.
45529 ($(objpfx)badsalttest): New.
45530
45531 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45532
45533 * NEWS: Add entry for BZ #14602.
45534
45535 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45536
45537 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45538 type-generic.
45539 * math/libm-test.inc: Update comment listing what functions and
45540 macros are tested.
45541 (isgreater_test): New function.
45542 (isgreaterequal_test): Likewise.
45543 (isless_test): Likewise.
45544 (islessequal_test): Likewise.
45545 (islessgreater_test): Likewise.
45546 (isunordered_test): Likewise.
45547 (main): Call the new functions.
45548
45549 2012-10-09 Roland McGrath <roland@hack.frob.com>
45550
45551 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45552 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45553 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45554 * sysdeps/i386/configure: Regenerated.
45555 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45556 * sysdeps/mach/configure: Regenerated.
45557 * sysdeps/mach/hurd/configure: Regenerated.
45558 * sysdeps/powerpc/configure: Regenerated.
45559 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45560 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45561 * sysdeps/s390/s390-32/configure: Regenerated.
45562 * sysdeps/s390/s390-64/configure: Regenerated.
45563 * sysdeps/sh/configure: Regenerated.
45564 * sysdeps/sparc/configure: Regenerated.
45565 * sysdeps/unix/sysv/linux/configure: Regenerated.
45566 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45567 * sysdeps/x86_64/configure: Regenerated.
45568
45569 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45570 defined. Don't check if MAP is NULL.
45571
45572 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45573
45574 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45575 (_G_stat64): Likewise.
45576 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45577 (_G_stat64): Likewise.
45578 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45579 instead of struct _G_stat64.
45580 * libio/fileops.c (mmap_remap_check): Likewise.
45581 (decide_maybe_mmap): Likewise.
45582 (_IO_new_file_seekoff): Likewise.
45583 (_IO_file_stat): Likewise.
45584 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45585 _G_off64_t.
45586 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45587 instead of struct _G_stat64.
45588 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45589
45590 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45591
45592 [BZ #14602]
45593 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45594 Replace with ...
45595 (CHECK_EOL): New macro.
45596 (two_way_short_needle): Check beginning of haystack for EOL. Use
45597 CHECK_EOL.
45598 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45599 Replace with CHECK_EOL.
45600 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45601 Replace with CHECK_EOL.
45602
45603 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45604
45605 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45606 type-generic.
45607 * math/libm-test.inc: Update comment listing what functions and
45608 macros are tested.
45609 (finite_test): New function.
45610 (isinf_test): Likewise.
45611 (isnan_test): Likewise.
45612 (fpclassify_test): Test subnormal input.
45613 (isfinite_test): Likewise.
45614 (isnormal_test): Likewise.
45615 (main): Call the new functions.
45616
45617 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45618
45619 [BZ #14660]
45620 * Makerules (%.dynsym): Force C locale when running
45621 $(OBJDUMP) --dynamic-syms.
45622
45623 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45624
45625 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45626 <stdint.h>.
45627
45628 2012-10-06 David S. Miller <davem@davemloft.net>
45629
45630 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45631 upper 32-bits of the length value in %o2 since we use branch-on-register
45632 tests which consider the entire 64-bit register.
45633
45634 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45635
45636 * string/test-strstr.c (check2): Add a test for page boundary.
45637
45638 2012-10-05 David S. Miller <davem@davemloft.net>
45639
45640 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45641 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45642 file.
45643 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45644 sysdep_routines.
45645 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45646 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45647 and bzero when HWCAP_SPARC_CRYPTO is present.
45648
45649 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45650
45651 [BZ #14602]
45652 * string/test-strstr.c (check2): New function.
45653 (test_main): Call check2.
45654
45655 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45656 and bug-strchr1.
45657 * string/bug-strcasestr1.c (do_test): Moved to ...
45658 * string/test-strcasestr.c (check1): Here. New function.
45659 (do_one_test): Break out result checking code into ...
45660 (check_result): This. New function.
45661 (do_one_test): Call check_result.
45662 (test_main): Call check1.
45663 * string/bug-strchr1.c (do_test): Moved to ...
45664 * string/test-strchr.c (check1): Here. New function.
45665 (do_one_test): Break out result checking code into ...
45666 (check_result): This. New function.
45667 (do_one_test): Call check_result.
45668 (test_main): Call check1.
45669 * string/bug-strstr1.c (main): Moved to ...
45670 * string/test-strstr.c (check1): Here. New function.
45671 (do_one_test): Break out result checking code into ...
45672 (check_result): This. New function.
45673 (do_one_test): Call check_result.
45674 (test_main): Call check1.
45675 * string/bug-strcasestr1.c: Removed.
45676 * string/bug-strchr1.c: Likewise.
45677 * string/bug-strstr1.c: Likewise.
45678
45679 * elf/Makefile (dl-routines): Add hwcaps.
45680 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45681 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45682 (_dl_important_hwcaps): Moved to ...
45683 * elf/dl-hwcaps.c: Here. New file.
45684 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45685
45686 [BZ #14557]
45687 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45688 if IS_IN_rtld isn't defined.
45689
45690 * elf/dl-support.c (_dl_sysinfo_map): New.
45691 Include "get-dynamic-info.h" and "setup-vdso.h".
45692 (_dl_non_dynamic_init): Call setup_vdso.
45693 * elf/dynamic-link.h: Don't include <assert.h>.
45694 (elf_get_dynamic_info): Moved to ...
45695 * elf/get-dynamic-info.h: Here. New file.
45696 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45697 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45698 * elf/setup-vdso.h: Here. New file.
45699 * elf/rtld.c: Include "setup-vdso.h".
45700 (dl_main): Call setup_vdso.
45701
45702 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45703
45704 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45705 creal in comment listing functions tested. List finite, isinf,
45706 isnan, isless, islessequal, isgreater, isgreaterequal,
45707 islessgreater, isunordered, lgamma_r and pow10 as functions and
45708 macros not tested. Mention which functions not tested are aliases
45709 for other functions. Fix typo. Note that signs of NaNs are not
45710 tested.
45711
45712 * scripts/config.guess: Update from config.git.
45713 * scripts/config.sub: Likewise.
45714
45715 2012-10-04 Roland McGrath <roland@hack.frob.com>
45716
45717 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45718 * misc/madvise.c (madvise): Renamed to __madvise.
45719 Make madvise a weak alias.
45720 * include/sys/mman.h: Declare __madvise.
45721 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45722 * sysdeps/unix/syscalls.list
45723 (madvise): Make __madvise the strong name, and madvise a weak alias.
45724 * sysdeps/unix/sysv/linux/syscalls.list
45725 (madvise, mmap): Remove redundant entries.
45726 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45727 * malloc/malloc.c (mtrim): Likewise.
45728 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45729
45730 2012-10-03 Roland McGrath <roland@hack.frob.com>
45731
45732 * sysdeps/mach/hurd/dl-cache.c: File removed.
45733 * config.h.in (USE_LDCONFIG): New #undef.
45734 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45735 * configure: Regenerated.
45736 * elf/Makefile (dl-routines): Add dl-cache only under
45737 [$(use-ldconfig) = yes].
45738 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45739 cache on [USE_LDCONFIG].
45740 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45741 [USE_LDCONFIG].
45742 * elf/rtld.c (dl_main): Likewise.
45743
45744 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45745
45746 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45747 _SC_LEVEL4_CACHE_LINESIZE.
45748
45749 2012-10-03 Roland McGrath <roland@hack.frob.com>
45750
45751 * sysdeps/unix/bsd/confstr.h: File removed.
45752
45753 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45754
45755 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45756 sys/sdt-config.h.
45757
45758 2012-10-02 Roland McGrath <roland@hack.frob.com>
45759
45760 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45761 Make 'mapoff' field ElfW(Off) rather than off_t.
45762
45763 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45764
45765 * nscd/Makefile: Remove nscd-cflags and all its users.
45766 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45767 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45768
45769 [BZ #10631]
45770 * malloc.c (malloc_printerr): Clarify error message.
45771
45772 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45773
45774 [BZ #14648]
45775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45776 Set bit_FMA_Usable if FMA is supported.
45777 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45778 macro.
45779 (bit_FMA4_Usable): Updated.
45780 (index_FMA_Usable): New macro.
45781 (CPUID_FMA): Likewise
45782 (HAS_FMA): Defined with bit_FMA_Usable.
45783
45784 2012-10-01 Roland McGrath <roland@hack.frob.com>
45785
45786 * bits/types.h (__swblk_t): Type removed.
45787 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45788 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45789 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45790 (__SWBLK_T_TYPE): Likewise.
45791 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45792 (__SWBLK_T_TYPE): Likewise.
45793 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45794 (__SWBLK_T_TYPE): Likewise.
45795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45796 (__SWBLK_T_TYPE): Likewise.
45797
45798 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45799 Honza Horak <hhorak@redhat.com>
45800
45801 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45802 (xdr_mapname): Use YPMAXMAP as maxsize.
45803 (xdr_peername): Use YPMAXPEER as maxsize.
45804 (xdr_keydat): Use YPAXRECORD as maxsize.
45805 (xdr_valdat): Use YPMAXRECORD as maxsize.
45806
45807 2012-10-01 Roland McGrath <roland@hack.frob.com>
45808
45809 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45810
45811 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45812 * csu/init-first.c: ... here.
45813 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45814 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45815 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45816 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45817 * sysdeps/i386/init-first.c: File removed.
45818 * sysdeps/sh/init-first.c: File removed.
45819
45820 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45821
45822 [BZ #14645]
45823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45824 if x * y might underflow to zero and z is zero.
45825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45827 * math/libm-test.inc (min_subnorm_value): New variable.
45828 (fma_test): Add more tests.
45829 (fma_test_towardzero): Likewise.
45830 (fma_test_downward): Likewise
45831 (fma_test_upward): Likewise.
45832 (initialize): Set min_subnorm_value.
45833
45834 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45835
45836 [BZ #14638]
45837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45838 0 + 0.
45839 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45840 mode for addition resulting in exact zero.
45841 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45843 exact 0 + 0.
45844 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45845 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45846 * math/libm-test.inc (fma_test): Add more tests.
45847 (fma_test_towardzero): New function.
45848 (fma_test_downward): Likewise.
45849 (fma_test_upward): Likewise.
45850 (main): Call the new functions.
45851
45852 2012-09-28 David S. Miller <davem@davemloft.net>
45853
45854 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45855
45856 2012-09-28 Roland McGrath <roland@hack.frob.com>
45857
45858 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45859 instead of SIGALRM.
45860
45861 * sysdeps/gnu/_G_config.h: Moved to ...
45862 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45863 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45864 * sysdeps/generic/_G_config.h: ... here.
45865
45866 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45867
45868 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45869
45870 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45871 Conditionalize target on [libnss_test1.so-version].
45872
45873 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45874
45875 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45876 (elfobjdir): Move out of conditionals.
45877
45878 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45879 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45880 (__nss_lookup_function): Conditionalize label remove_from_tree on
45881 [!DO_STATIC_NSS || SHARED], matching its only use.
45882
45883 2012-09-28 David S. Miller <davem@davemloft.net>
45884
45885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45886 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45887 file.
45888 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45889 sysdep_routines.
45890 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45891 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45892 when HWCAP_SPARC_CRYPTO is present.
45893
45894 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45895
45896 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45897
45898 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45899
45900 [BZ #6530]
45901 * stdio-common/vfprintf.c (process_string_arg): Revert
45902 2000-07-22 change.
45903
45904 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45905
45906 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45907 for testcase.
45908 * stdio-common/tst-sprintf.c: Include <locale.h>
45909 (main): Test sprintf's handling of incomplete multibyte
45910 characters.
45911
45912 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45913
45914 * elf/dl-runtime.c (VERSYMIDX): Removed.
45915 * elf/dl-version.c (VERSYMIDX): Likewise.
45916 * elf/do-rel.h (VERSYMIDX): Likewise.
45917 (VALIDX): Likewise.
45918 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45919 * elf/rtld.c (VALIDX): Likewise.
45920 (ADDRIDX): Likewise.
45921 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45922 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45923 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45924 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45925 (VALIDX): Likewise.
45926 (ADDRIDX): Likewise.
45927
45928 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45929
45930 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45931
45932 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45933
45934 [BZ #11438]
45935 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45936 to global scope.
45937 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45938 addresses are in the same scope as 192.0.2/24.
45939 * posix/gai.conf: Document new scope table defaults.
45940
45941 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45942
45943 [BZ #5298]
45944 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45945 for ftell. Compute offsets from write pointers instead.
45946 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45947
45948 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45949
45950 [BZ #14543]
45951 * libio/Makefile (tests): New test case tst-fseek.
45952 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45953 combination works in wide mode.
45954 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45955 state when the external buffer state changes.
45956
45957 2012-09-27 David S. Miller <davem@davemloft.net>
45958
45959 [BZ #14376]
45960 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45961 pass reloc->r_addend in as the 'high' argument to
45962 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45963
45964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45965
45966 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45967
45968 * rt/tst-aio2.c: Include <pthread.h>.
45969 * rt/tst-aio3.c: Likewise.
45970
45971 2012-09-27 Steve Ellcey <sellcey@mips.com>
45972
45973 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45974
45975 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45976
45977 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45978 contents on [SHARED].
45979
45980 2012-09-26 Marek Polacek <polacek@redhat.com>
45981
45982 [BZ #14530]
45983 [BZ #13741]
45984 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45985 for C++ and GCC <4.3 as well as for non GCC compilers.
45986
45987 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45988
45989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45990
45991 2012-09-25 Roland McGrath <roland@hack.frob.com>
45992
45993 * Makefile.in (all, install): Declare with .PHONY.
45994 Reported by Michael Hope <michael.hope@linaro.org>.
45995
45996 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45997
45998 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45999 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46000 system header.
46001 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46002 Likewise.
46003 (sydep_routines): Add the new and the internal functions.
46004 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46005 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46007 (GLIBC_2.17): Add the new function.
46008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46009 (GLIBC_2.17): Likewise.
46010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46011 (GLIBC_2.17): Likewise.
46012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46013 (GLIBC_2.17): Likewise.
46014 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46015
46016 2012-09-25 Alan Modra <amodra@gmail.com>
46017
46018 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46019 Add release barrier before setting once_control to say
46020 initialisation is done. Add hints on lwarx. Use macro in
46021 place of isync.
46022 (clear_once_control): Add release barrier.
46023
46024 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46025
46026 [BZ #13629]
46027 * math/s_clog.c (__clog): Handle more values close to |z| = 1
46028 specially.
46029 * math/s_clog10.c (__clog10): Likewise.
46030 * math/s_clog10f.c (__clog10f): Likewise.
46031 * math/s_clog10l.c (__clog10l): Likewise.
46032 * math/s_clogf.c (__clogf): Likewise.
46033 * math/s_clogl.c (__clogl): Likewise.
46034 * math/Makefile (libm-calls): Add x2y2m1.
46035 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46036 (__x2y2m1): Likewise.
46037 (__x2y2m1l): Likewise.
46038 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46039 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46040 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46041 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46042 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46043 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46044 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46045 * sysdeps/i386/fpu/libm-test-ulps: Update.
46046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46047
46048 [BZ #14621]
46049 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46050 int as type of variable DEPTH.
46051 (glob): Use size_t instead of int as type of variables NEWCOUNT
46052 and OLD_PATHC.
46053
46054 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46055
46056 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46057 Add s_sincosf-sse2.
46058 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46059 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46060 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46061 macros for using routine as __sincosf_ia32.
46062 Use macro for function declaration and weak_alias.
46063 * sysdeps/i386/fpu/libm-test-ulps: Update.
46064
46065 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46067
46068 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46069 subnormal argument.
46070 * math/s_cexpf.c (__cexpf): Likewise.
46071 * math/s_csinf.c (__csinf): Likewise.
46072 * math/s_csinhf.c (__csinhf): Likewise.
46073 * math/s_ctanf.c (__ctanf): Likewise.
46074 * math/s_ctanhf.c (__ctanhf): Likewise.
46075 * math/s_ccosh.c (__ccoshf): Likewise.
46076 * math/s_cexp.c (__cexpl): Likewise.
46077 * math/s_csin.c (__csin): Likewise.
46078 * math/s_csinh.c (__csinh): Likewise.
46079 * math/s_ctan.c (__ctan): Likewise.
46080 * math/s_ctanh.c (ctanh): Likewise.
46081 * math/s_ccoshl.c (__ccoshl): Likewise.
46082 * math/s_cexpl.c (__cexpl): Likewise.
46083 * math/s_csinl.c (__csinl): Likewise.
46084 * math/s_csinhl.c (__csinhl): Likewise.
46085 * math/s_ctanl.c (__ctanl): Likewise.
46086 * math/s_ctanhl.c (__ctanhl): Likewise.
46087
46088 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46089
46090 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46091 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46092 (_IO_off_t): Define to __off_t, not _G_off_t.
46093 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46094 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46095 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46096 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46097 type of __dummy and __dummy2 fields.
46098 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46099 (_G_ssize_t): Likewise.
46100 (_G_off_t): Likewise.
46101 (_G_pid_t): Likewise.
46102 (_G_uid_t): Likewise.
46103 (_G_wchar_t): Likewise.
46104 (_G_wint_t): Likewise.
46105 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46106 (_G_ssize_t): Likewise.
46107 (_G_off_t): Likewise.
46108 (_G_pid_t): Likewise.
46109 (_G_uid_t): Likewise.
46110 (_G_wchar_t): Likewise.
46111 (_G_wint_t): Likewise.
46112 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46113 (_G_ssize_t): Likewise.
46114 (_G_off_t): Likewise.
46115 (_G_pid_t): Likewise.
46116 (_G_uid_t): Likewise.
46117 (_G_wchar_t): Likewise.
46118 (_G_wint_t): Likewise.
46119
46120 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46121
46122 * malloc/arena.c: Include malloc-sysdep.h.
46123 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46124 is sufficient to shrink the heap or an unmap is needed.
46125 * sysdeps/generic/malloc-sysdep.h: New file. Define
46126 new function check_may_shrink_heap.
46127 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
46128 new function check_may_shrink_heap.
46129
46130 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46131
46132 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46133 comments.
46134
46135 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
46136
46137 * catgets/test-gencat.sh: Add "set -e".
46138 * elf/tst-pathopt.sh: Likewise.
46139 * grp/tst_fgetgrent.sh: Likewise.
46140 * iconvdata/run-iconv-test.sh: Likewise.
46141 * intl/tst-gettext.sh: Likewise.
46142 * intl/tst-gettext2.sh: Likewise.
46143 * intl/tst-gettext4.sh: Likewise.
46144 * intl/tst-gettext6.sh: Likewise.
46145 * intl/tst-translit.sh: Likewise.
46146 * io/ftwtest-sh: Likewise.
46147 * libio/test-freopen.sh: Likewise.
46148 * malloc/tst-mtrace.sh: Likewise.
46149 * posix/globtest.sh: Likewise.
46150 * posix/tst-getconf.sh: Likewise.
46151 * posix/wordexp-tst.sh: Likewise.
46152 * stdio-common/tst-printf.sh: Likewise.
46153 * stdio-common/tst-unbputc.sh: Likewise.
46154 * stdlib/tst-fmtmsg.sh: Likewise.
46155 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46156 * catgets/Makefile: Do not specify -e option when running
46157 testsuite shell scripts.
46158 * elf/Makefile: Likewise.
46159 * grp/Makefile: Likewise.
46160 * iconvdata/Makefile: Likewise.
46161 * intl/Makefile: Likewise.
46162 * io/Makefile: Likewise.
46163 * libio/Makefile: Likewise.
46164 * malloc/Makefile: Likewise.
46165 * posix/Makefile: Likewise.
46166 * stdio-common/Makefile: Likewise.
46167 * stdlib/Makefile: Likewise.
46168 * sysdeps/x86_64/Makefile: Likewise.
46169
46170 * io/ftwtest-sh: Add copyright header.
46171 * posix/globtest.sh: Likewise.
46172 * posix/tst-getconf.sh: Likewise.
46173 * posix/wordexp-tst.sh: Likewise.
46174 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46175
46176 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
46177
46178 [BZ #13679]
46179 * Makeconfig (+link): Defined as $(+link-static) if
46180 $(build-shared) isn't yes.
46181 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46182 isn't yes.
46183 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46184
46185 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46186
46187 [BZ #14562]
46188 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46189 new chunk size with MALLOC_ALIGN_MASK.
46190
46191 2012-09-24 Joseph Myers <joseph@codesourcery.com>
46192
46193 [BZ #5044]
46194 * stdio-common/printf_fphex.c: Include <stdbool.h> and
46195 <rounding-mode.h>.
46196 (__printf_fphex): Determine rounding using get_rounding_mode and
46197 round_away.
46198 * stdio-common/tst-printf-round.c (struct hex_test): New
46199 structure.
46200 (hex_tests): New variable.
46201 (test_hex_in_one_mode): New function.
46202 (do_test): Also run tests for hex float output.
46203
46204 2012-09-21 Joseph Myers <joseph@codesourcery.com>
46205
46206 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46207 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46208 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46209 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46210 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46211 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46212 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46213 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46214
46215 2012-09-20 Joseph Myers <joseph@codesourcery.com>
46216
46217 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46218 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46219 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46220 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46221
46222 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46223
46224 [BZ #14579]
46225 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46226 mode only.
46227 * elf/tst-rtld-load-self.sh: New test.
46228 * elf/Makefile: Run it.
46229
46230 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46231
46232 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46233 (tst-writev-ENV): Remove.
46234 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46235
46236 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46237
46238 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46239
46240 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46241
46242 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46243 unconditional.
46244 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46245 Likewise.
46246 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46247 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46248 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46249 Likewise.
46250
46251 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46252
46253 [BZ #14587]
46254 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46255 * config.make.in (have-cpp-asm-debuginfo): Removed.
46256 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46257 * configure: Regenerated.
46258
46259 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46260
46261 [BZ #5044]
46262 * stdio-common/printf_fp.c: Include <stdbool.h> and
46263 <rounding-mode.h>.
46264 (___printf_fp): Determine rounding using get_rounding_mode and
46265 round_away.
46266 * stdio-common/tst-printf-round.c: New file.
46267 * stdio-common/Makefile (tests): Add tst-printf-round.
46268 (link-libm): New variable.
46269 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46270
46271 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46272
46273 [BZ #14576]
46274 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46275 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46276 Likewise.
46277 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46278 Likewise.
46279
46280 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46281
46282 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46283 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46284 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46285 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46286
46287 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46288
46289 [BZ #14518]
46290 * include/rounding-mode.h: New file.
46291 * sysdeps/generic/get-rounding-mode.h: Likewise.
46292 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46293 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46294 (MAX_VALUE): New macro.
46295 (MIN_VALUE): Likewise.
46296 (overflow_value): New function.
46297 (underflow_value): Likewise.
46298 (round_and_return): Use overflow_value and underflow_value to
46299 determine return values in overflow and underflow cases. Use
46300 round_away to determine rounding depending on rounding mode.
46301 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46302 determine return values in overflow and underflow cases.
46303 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46304 (struct test_results): New structure.
46305 (struct test): Use struct test_results to store expected results
46306 for all rounding modes.
46307 (TEST): Include expected results for all rounding modes.
46308 (test_in_one_mode): New function.
46309 (do_test): Use test_in_one_mode to compute and check results.
46310 Check results for all rounding modes.
46311 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46312 $(link-libm).
46313
46314 2012-12-09 Allan McRae <allan@archlinux.org>
46315
46316 * sysdeps/i386/fpu/libm-test-ulps: Update
46317
46318 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46319
46320 * sysdeps/generic/_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 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46329 (_G_int32_t): Likewise.
46330 (_G_uint16_t): Likewise.
46331 (_G_uint32_t): Likewise.
46332 (_G_HAVE_BOOL): Likewise.
46333 (_G_HAVE_ATEXIT): Likewise.
46334 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46335 (_G_HAVE_IO_FILE_OPEN): Likewise.
46336 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46337 (_G_int32_t): Likewise.
46338 (_G_uint16_t): Likewise.
46339 (_G_uint32_t): Likewise.
46340 (_G_HAVE_BOOL): Likewise.
46341 (_G_HAVE_ATEXIT): Likewise.
46342 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46343 (_G_HAVE_IO_FILE_OPEN): Likewise.
46344
46345 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46346
46347 * csu/libc-tls.c: Update copyright years.
46348
46349 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46350
46351 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46352 [!_G_USING_THUNKS]: Remove conditional code.
46353 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46354 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46355
46356 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46357 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46358 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46359 (_G_VTABLE_LABEL_PREFIX): Likewise.
46360 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46361 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46362 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46363 (_G_VTABLE_LABEL_PREFIX): Likewise.
46364 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46365 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46366 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46367 (_G_VTABLE_LABEL_PREFIX): Likewise.
46368 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46369
46370 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46371
46372 * libio/Makefile: Include ../Makeconfig before tests.
46373 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46374 only if $(build-shared) is yes.
46375
46376 * iconv/gconv_db.c: Update copyright years.
46377
46378 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46379
46380 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46381 unwind info if defined PIC. Fix special cases description.
46382 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46383
46384 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46385 DP_HI_MASK entry.
46386 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46387
46388 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46389
46390 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46391
46392 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46393 is NULL.
46394
46395 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46396 (LDLIBS-tst-chk4): This.
46397 (LDFLAGS-tst-chk5): Renamed to ...
46398 (LDLIBS-tst-chk5): This.
46399 (LDFLAGS-tst-chk6): Renamed to ...
46400 (LDLIBS-tst-chk6): This.
46401 (LDFLAGS-tst-lfschk4): Renamed to ...
46402 (LDLIBS-tst-lfschk4): This.
46403 (LDFLAGS-tst-lfschk5): Renamed to ...
46404 (LDLIBS-tst-lfschk5): This.
46405 (LDFLAGS-tst-lfschk6): Renamed to ...
46406 (LDLIBS-tst-lfschk6): This.
46407
46408 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46409 on $(common-objpfx)soversions.mk.
46410
46411 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46412
46413 [BZ #10014]
46414 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46415 example host name.
46416
46417 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46418
46419 * malloc/arena.c (arena_get_retry): New function that gets
46420 another arena for the caller to try its request on.
46421 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46422 current arena cannot fulfill the request.
46423 (__libc_memalign): Likewise.
46424 (__libc_memalign): Likewise.
46425 (__libc_pvalloc): Likewise.
46426 (__libc_calloc): Likewise.
46427
46428 2012-09-05 John Tobey <john.tobey@gmail.com>
46429
46430 [BZ #13542]
46431 * manual/arith.texi (Operations on Complex): Fix description
46432 of carg branch cut.
46433
46434 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46435
46436 [BZ #10014]
46437 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46438 host name.
46439
46440 [BZ #10038]
46441 * manual/memory.texi (Memory): Make order of menu items match
46442 order of sections.
46443
46444 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46445
46446 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46447 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46448 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46449
46450 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46451
46452 * csu/libc-tls.c (static_dtv): Renamed to ...
46453 (_dl_static_dtv): This. Make it global.
46454 (_dl_initial_dtv): Removed.
46455 (__libc_setup_tls): Updated.
46456 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46457 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46458 DL_INITIAL_DTV.
46459
46460 2012-09-06 Petr Machata <pmachata@redhat.com>
46461
46462 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46463 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46464 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46465 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46466
46467 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46468
46469 [BZ #14545]
46470 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46471 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46472 freeing dtv[-1].
46473
46474 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46475
46476 [BZ #14544]
46477 * Makeconfig (link-static-before-libc): Replace $(+prector)
46478 with $(+prectorT).
46479 (link-static-after-libc): Replace $(+postctor) with
46480 $(+postctorT).
46481 (link-bounded): Replace $(+prector)/$(+postctor) with
46482 $(+prectorT)/$(+postctorT).
46483 (+prectorT): New macro.
46484 (+postctorT): Likewise.
46485
46486 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46487
46488 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46489 (round_str): Handle values above the maximum for IBM long double
46490 as inexact.
46491 * stdlib/tst-strtod-round.c (tests): Regenerated.
46492
46493 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46494
46495 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46496 assembler flag.
46497 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46498 zarch_nohighgprs around the zarch optimized routines.
46499 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46500 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46501 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46502 for zarch.
46503
46504 2012-09-05 David S. Miller <davem@davemloft.net>
46505
46506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46507
46508 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46509 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46510 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46511 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46512 entries.
46513
46514 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46515
46516 * malloc/arena.c: Fold copyright years.
46517 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46518
46519 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46520
46521 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46522
46523 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46524
46525 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46526
46527 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46528
46529 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46530 change internal state upon failure.
46531
46532 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46533
46534 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46535 * malloc/memusage.c (mmap): Likewise.
46536 (mmap64, mremap): Likewise. Adjust name in comment.
46537
46538 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46539
46540 * libio/fileops.c: Fix typos in comments.
46541 * libio/oldfileops.c: Likewise.
46542 * libio/wfileops.c: Likewise.
46543
46544 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46545
46546 [BZ #1349]
46547 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46548 (tst-malloc-usable-ENV): Set environment for test case.
46549 * malloc/hooks.c (malloc_check_get_size): New function to get
46550 requested size.
46551 * malloc/malloc.c (musable): Use malloc_check_get_size.
46552 * malloc/tst-malloc-usable.c: New test case.
46553
46554 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46555
46556 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46557
46558 2012-09-05 Allan McRae <allan@archlinux.org>
46559
46560 [BZ #13966]
46561 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46562 determine header location.
46563 * configure: Regenerated.
46564
46565 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46566
46567 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46568 float format.
46569 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46570 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46571 format.
46572 (test): Regenerate.
46573
46574 2012-09-04 David S. Miller <davem@davemloft.net>
46575
46576 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46577 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46578 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46579
46580 2012-09-04 Florian Weimer <fweimer@redhat.com>
46581
46582 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46583 failures.
46584
46585 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46586
46587 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46588
46589 [BZ #9914]
46590 * libio/iogetdelim.c: Include <limits.h>.
46591 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46592 + len + 1 would overflow.
46593
46594 2012-09-03 Andreas Jaeger <aj@suse.de>
46595
46596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46597 * sysdeps/i386/fpu/libm-test-ulps: Update.
46598
46599 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46600
46601 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46602 Add s_sinf-sse2, s_conf-sse2.
46603
46604 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46605 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46606 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46607 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46608
46609 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46610 for using routine as __sinf_ia32.
46611 Use macro for function declaration and weak_alias.
46612 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46613 for using routine as __cosf_ia32.
46614 Use macro for function declaration and weak_alias.
46615
46616 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46617 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46618
46619 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46620 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46622
46623 * math/libm-test.inc (cos_test): Add more test cases.
46624 (sin_test): Likewise.
46625 (sincos_test): Likewise.
46626
46627 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46628
46629 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46630 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46631 hidden.
46632 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46633
46634 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46635
46636 [BZ #14538]
46637 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46638 first element of the GOT.
46639 (elf_machine_load_address): Return the difference between
46640 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46641
46642 2012-09-01 Allan McRae <allan@archlinux.org>
46643
46644 [BZ #13412]
46645 * configure.in (AWK): Require gawk version 3.0 or later.
46646 * configure: Regenerated.
46647
46648 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46649
46650 * sysdeps/unix/sysv/linux/kernel-features.h
46651 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46652 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46653 [__NR_clock_getres]: Make code unconditional.
46654 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46655 (clock_getcpuclockid): Remove code left unreachable by removal of
46656 conditionals.
46657 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46658 code unconditional.
46659 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46660 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46661 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46662 Make code unconditional.
46663 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46664 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46665 * sysdeps/unix/sysv/linux/clock_settime.c
46666 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46667 conditional code.
46668 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46669 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46670
46671 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46672
46673 [BZ #14476]
46674 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46675 scripts/test-installation.pl.
46676
46677 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46678 and $ld_so_version if it is set.
46679
46680 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46681
46682 [BZ #14516]
46683 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46684 failure if reading from procfs failed.
46685 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46686
46687 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46688
46689 * sysdeps/unix/sysv/linux/kernel-features.h
46690 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46691 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46692 Remove conditional code.
46693 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46694 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46695 Remove conditional code.
46696 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46697 * sysdeps/unix/sysv/linux/i386/fxstat.c
46698 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46699 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46700 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46701 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46702 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46703 * sysdeps/unix/sysv/linux/i386/lxstat.c
46704 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46705 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46706 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46707 Remove conditional code.
46708 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46709 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46710 Remove conditional code.
46711 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46712 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46713 <kernel-features.h>.
46714 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46715 Remove.
46716 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46717 Remove conditional code.
46718 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46719 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46720 Remove conditional.
46721
46722 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46723
46724 [BZ #5400]
46725 * NEWS: Add fixed bug number.
46726
46727 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46728
46729 [BZ #14519]
46730 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46731 underflowing exponent in case of negative sign.
46732 * stdlib/tst-strtod-round-data: Add more tests.
46733 * stdlib/tst-strtod-round.c (tests): Regenerated.
46734
46735 [BZ #3479]
46736 * stdlib/strtod_l.c (NDIG): Remove.
46737 (HEXNDIG): Likewise.
46738 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46739 smallest representable value.
46740 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46741 lie within an exact representation of 1/2 ulp of the result.
46742 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46743 unconditionally.
46744 (TENS_P9_IDX): Define unconditionally.
46745 (TENS_P9_SIZE): Likewise.
46746 (TENS_P10_IDX): Likewise.
46747 (TENS_P10_SIZE): Likewise.
46748 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46749 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46750 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46751 entries for 10^2^13 and 10^2^14.
46752 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46753 (TENS_P13_IDX): Define.
46754 (TENS_P13_SIZE): Likewise.
46755 (TENS_P14_IDX): Likewise.
46756 (TENS_P14_SIZE): Likewise.
46757 (_fpioconst_pow10): Change array size to
46758 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46759 unconditional.
46760 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46761 1024]: Add entries for 10^2^13 and 10^2^14.
46762 [LAST_POW10 > _LAST_POW10]: Remove #error.
46763 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46764 (_fpioconst_pow10): Change array size to
46765 FPIOCONST_POW10_ARRAY_SIZE.
46766 * stdlib/gen-fpioconst.c: New file.
46767 * stdlib/gen-tst-strtod-round.c: Likewise.
46768 * stdlib/tst-strtod-round-data: Likewise.
46769 * stdlib/tst-strtod-round.c: Likewise.
46770 * stdlib/Makefile (tests): Add tst-strtod-round.
46771
46772 [BZ #14459]
46773 * stdlib/strtod_l.c: Include <stdint.h>.
46774 (NDEBUG): Do not define.
46775 (round_and_return): Change EXPONENT parameter to type intmax_t.
46776 Rearrange calculations to avoid internal overflow possibilities.
46777 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46778 Rearrange calculations to avoid internal overflow possibilities.
46779 Assert that number fits inside MPNSIZE limbs.
46780 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46781 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46782 calculations and add assertions to avoid internal overflow
46783 possibilities. Add casts to avoid signed/unsigned operations.
46784 * stdlib/tst-strtod-overflow.c: New file.
46785 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46786
46787 2012-08-25 Marek Polacek <polacek@redhat.com>
46788
46789 * time/time.h: Fix some typos in comments.
46790
46791 2012-08-23 Roland McGrath <roland@hack.frob.com>
46792
46793 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46794 * posix/tst-rfc3484-2.c: Likewise.
46795 * posix/tst-rfc3484-3.c: Likewise.
46796
46797 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46798
46799 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46800 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46801
46802 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46803
46804 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46805 #include of fxstatat64.c.
46806
46807 2012-08-22 Roland McGrath <roland@hack.frob.com>
46808
46809 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46810 * shadow/getspent_r.c: Likewise.
46811 * shadow/getspnam.c: Likewise.
46812 * shadow/getspnam_r.c: Likewise.
46813 * gshadow/getsgent.c: Likewise.
46814 * gshadow/getsgent_r.c: Likewise.
46815 * gshadow/getsgnam.c: Likewise.
46816 * gshadow/getsgnam_r.c: Likewise.
46817 * inet/getnetbyad.c: Likewise.
46818 * inet/getnetbyad_r.c: Likewise.
46819 * inet/getnetbynm.c: Likewise.
46820 * inet/getnetbynm_r.c: Likewise.
46821 * inet/getnetent.c: Likewise.
46822 * inet/getnetent_r.c: Likewise.
46823 * inet/getproto.c: Likewise.
46824 * inet/getproto_r.c: Likewise.
46825 * inet/getprtent.c: Likewise.
46826 * inet/getprtent_r.c: Likewise.
46827 * inet/getprtname.c: Likewise.
46828 * inet/getprtname_r.c: Likewise.
46829 * inet/getrpcbyname.c: Likewise.
46830 * inet/getrpcbyname_r.c: Likewise.
46831 * inet/getrpcbynumber.c: Likewise.
46832 * inet/getrpcbynumber_r.c: Likewise.
46833 * inet/getrpcent.c: Likewise.
46834 * inet/getrpcent_r.c: Likewise.
46835 * inet/getaliasent.c: Likewise.
46836 * inet/getaliasent_r.c: Likewise.
46837 * inet/getaliasname.c: Likewise.
46838 * inet/getaliasname_r.c: Likewise.
46839 * nscd/getgrgid_r.c: Likewise.
46840 * nscd/getgrnam_r.c: Likewise.
46841 * nscd/gethstbyad_r.c: Likewise.
46842 * nscd/gethstbynm3_r.c: Likewise.
46843 * nscd/getpwnam_r.c: Likewise.
46844 * nscd/getpwuid_r.c: Likewise.
46845 * nscd/getsrvbynm_r.c: Likewise.
46846 * nscd/getsrvbypt_r.c: Likewise.
46847 * nscd/gai.c: Likewise.
46848
46849 * configure.in (build_nscd): New substituted variable, set
46850 by --disable-build-nscd and defaults to $use_nscd.
46851 * configure: Regenerated.
46852 * config.make.in (build-nscd): New substituted variable.
46853 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46854 Change conditional to require [$(build-nscd) = yes] as well.
46855 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46856
46857 [BZ# 13696]
46858 * configure.in (use_nscd): New substituted variable, set by
46859 --disable-nscd. If enabled, define USE_NSCD.
46860 * configure: Regenerated.
46861 * config.h.in: Add USE_NSCD.
46862 * config.make.in (use-nscd): New substituted variable.
46863 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46864 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46865 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46866 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46867 (CFLAGS-getgrnam_r.c): Likewise.
46868 (CFLAGS-initgroups.c): Likewise.
46869 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46870 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46871 Variables removed.
46872 * inet/getnetgrent_r.c
46873 (nscd_setnetgrent): New function, broken out of ...
46874 (setnetgrent): ... here. Call it.
46875 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46876 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46877 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46878 * nscd/Makefile (routines, aux): Move definitions after include of
46879 Makeconfig. Conditionalize on [$(use-nscd) != no].
46880 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46881 Conditionalize on [USE_NSCD].
46882 (is_nscd, nscd_init_cb): Likewise.
46883 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46884 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46885 * nss/nss_db/db-init.c: Likewise.
46886 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46887 [USE_NSCD].
46888 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46889 (make_request): Use it.
46890 (cache_valid_p): New function.
46891 (__check_pf): Use it.
46892 * NEWS: Add item for --disable-nscd.
46893
46894 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46895
46896 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46897 to support sed >= 4.2.1-20-ga9bf076.
46898 * configure: Regenerated.
46899
46900 2012-08-22 Roland McGrath <roland@hack.frob.com>
46901
46902 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46903 Conditionalize whole body on [IREL].
46904
46905 2012-08-22 Jeff Law <law@redhat.com>
46906
46907 [BZ #14505]
46908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46909 if the family is PF_UNSPEC.
46910
46911 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46912
46913 * Makerules (lib-version): Rename from V.
46914 (install-lib-nosubdir): Change V to lib-version.
46915
46916 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46917
46918 [BZ #14252]
46919 * powerpc32/power6/wcschr.c: New file.
46920 * powerpc32/power6/wcscpy.c: New file.
46921 * powerpc32/power6/wcsrchr.c: New file.
46922 * powerpc64/power6/wcschr.c: New file.
46923 * powerpc64/power6/wcscpy.c: New file.
46924 * powerpc64/power6/wcsrchr.c: New file.
46925
46926 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46927
46928 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46929 (two_way_short_needle): Use it.
46930 * string/strstr.c (AVAILABLE1_USES_J): Define.
46931 * string/strcasestr.c: Likewise.
46932
46933 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46934 array references.
46935 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46936
46937 [BZ #11607]
46938 * NEWS: Add an entry.
46939 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46940 define their defaults.
46941 (two_way_short_needle): Detect end-of-string on-the-fly.
46942 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46943 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46944 * string/bug-strcasestr1.c: New test.
46945 * string/Makefile: Run it.
46946
46947 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46948
46949 [BZ #11607]
46950 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46951 the first character.
46952
46953 2012-08-21 Roland McGrath <roland@hack.frob.com>
46954
46955 * csu/elf-init.c (__libc_csu_irel): Function removed.
46956 * csu/libc-start.c (apply_irel): New function.
46957 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46958
46959 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46960
46961 * sysdeps/unix/sysv/linux/kernel-features.h
46962 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46963 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46964 <kernel-features.h>.
46965 [__NR_fadvise64_64]: Make code unconditional.
46966 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46967 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46968 !__NR_fadvise64_64)]: Likewise.
46969 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46970 !__NR_fadvise64_64))]: Likewise.
46971 [__NR_fadvise64]: Make code unconditional.
46972 [!__NR_fadvise64]: Remove conditional code.
46973 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46974 <kernel-features.h>.
46975 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46976 unconditional.
46977 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46978 conditional code.
46979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46980 not include <kernel-features.h>.
46981 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46982 unconditional.
46983 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46984 conditional code.
46985 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46986 include <kernel-features.h>.
46987 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46988 unconditional.
46989 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46990 conditional code.
46991
46992 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46993
46994 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46995 slight instruction rearrangements per scrollpipe analysis.
46996 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46997
46998 2012-08-20 Roland McGrath <roland@hack.frob.com>
46999
47000 * manual/syslog.texi (syslog; vsyslog, closelog):
47001 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47002 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47003
47004 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47005 DSOCAPS to match condition on defining it.
47006
47007 2012-08-20 Joseph Myers <joseph@codesourcery.com>
47008
47009 * sysdeps/unix/sysv/linux/kernel-features.h
47010 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47012 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47013 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47015 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47016 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47018 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47019 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47020
47021 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47022 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47023
47024 * sysdeps/unix/sysv/linux/kernel-features.h
47025 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47026 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47027 unconditional.
47028 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47029 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47030 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47031 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47032 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47033 Make code unconditional.
47034 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47035 (__mmap64) [!__NR_mmap2]: Likewise.
47036 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47037 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47038 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47039 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47040 [__NR_mmap2]: Make code unconditional.
47041 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47042 (__mmap64) [!__NR_mmap2]: Likewise.
47043
47044 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47045
47046 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47047
47048 2012-08-18 Andreas Jaeger <aj@suse.de>
47049
47050 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47051
47052 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47053
47054 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47055 * include/unistd.h (__have_sock_cloexec): Likewise.
47056 (__have_pipe2): Likewise.
47057 (__have_dup3): Likewise.
47058
47059 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47060
47061 [BZ #9685]
47062 * include/unistd.h (__have_pipe2): Change define into an extern int.
47063 (__have_dup3): Likewise.
47064 * socket/have_sock_cloexec.c: Include fcntl.h.
47065 (__have_pipe2): New variable.
47066 (__have_dup3): Likewise.
47067
47068 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47069
47070 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47071
47072 2012-08-17 Marek Polacek <polacek@redhat.com>
47073
47074 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47075 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47076
47077 2012-08-17 Roland McGrath <roland@hack.frob.com>
47078
47079 * configure.in: Add AC_SUBST for sysheaders.
47080 * configure: Regenerated.
47081 * config.make.in (sysheaders): New substituted variable.
47082
47083 * sysdeps/unix/mkfifo.c: Moved ...
47084 * sysdeps/posix/mkfifo.c: ... here.
47085 * sysdeps/unix/mkfifoat.c: Moved ...
47086 * sysdeps/posix/mkfifoat.c: ... here.
47087
47088 * sysdeps/unix/utime.c: Moved ...
47089 * sysdeps/posix/utime.c: ... here.
47090
47091 * sysdeps/unix/time.c: Moved ...
47092 * sysdeps/posix/time.c: ... here.
47093 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47094 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47095
47096 * sysdeps/unix/nice.c: Moved ...
47097 * sysdeps/posix/nice.c: ... here.
47098
47099 * sysdeps/unix/alarm.c: Moved ...
47100 * sysdeps/posix/alarm.c: ... here.
47101
47102 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47103
47104 2012-08-17 Jeff Law <law@redhat.com>
47105
47106 * intl/Makefile (codeset_mo): New variable.
47107 ($(codeset_mo)): New target.
47108 (tst-codeset.out): Depend on that. Remove explicit rule.
47109 (tst-gettext3.out, tst-gettext5.out): Likewise.
47110 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47111 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47112 * intl/tst-codeset.sh: Remove.
47113 * intl/tst-gettext3.sh: Likewise.
47114 * intl/tst-gettext5.sh: Likewise.
47115
47116 2012-08-17 Roland McGrath <roland@hack.frob.com>
47117
47118 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47119 * sysdeps/unix/syscalls.list: ... here.
47120
47121 * sysdeps/posix/getaddrinfo.c
47122 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47123 (gaiconf_init, gaiconf_reload): Use them.
47124 [!_STATBUF_ST_NSEC]
47125 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47126 Define using time_t rather than struct timespec.
47127
47128 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47129 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47130 Macros removed.
47131 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47132 [!NO_THREADS].
47133 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47134 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47135 Likewise.
47136
47137 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47138 __libc_cleanup_push argument.
47139
47140 * bits/param.h: New file.
47141 * misc/sys/param.h: New file.
47142 * include/sys/param.h: New file.
47143 * misc/Makefile (headers): Add bits/param.h.
47144 * sysdeps/generic/sys/param.h: File removed.
47145 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47146 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47147 * sysdeps/mach/hurd/bits/param.h: New file.
47148 * sysdeps/mach/hurd/sys/param.h: File removed.
47149
47150 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47151 last change.
47152
47153 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47154 [_IO_MTSAFE_IO].
47155 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47156 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47157 New macros.
47158
47159 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47160 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47161 rather than -D_IO_MTSAFE_IO conditionally.
47162 * stdio-common/Makefile (CPPFLAGS): Likewise.
47163 * wcsmbs/Makefile (CPPFLAGS): Likewise.
47164 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47165 Use $(libio-mtsafe).
47166 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47167 of -D_IO_MTSAFE_IO.
47168 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47169 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47170 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47171 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47172 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47173 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47174 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47175 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47176 (CFLAGS-fread_u_chk.c): Likewise.
47177 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47178 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47179 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47180 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47181 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47182 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47183 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47184 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47185 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47186
47187 * libio/Makefile: Test [$(libc-reentrant) = yes]
47188 instead of [$(filter %REENTRANT, $(defines)) nonempty].
47189
47190 * Makeconfig
47191 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47192 * sysdeps/pthread/configure: File removed.
47193 * sysdeps/pthread/Makeconfig: New file.
47194 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47195 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47196
47197 2012-08-16 Gary Benson <gbenson@redhat.com>
47198
47199 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47200 unmapping the first object in a namespace.
47201
47202 2012-08-16 Roland McGrath <roland@hack.frob.com>
47203
47204 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47205 (__internal_setnetgrent): ... this. Add internal_function to
47206 definition. Add libc_hidden_def.
47207 (setnetgrent): Update caller.
47208 (internal_endnetgrent): Renamed to ...
47209 (__internal_endnetgrent): ... this. Add internal_function to
47210 definition. Add libc_hidden_def.
47211 (endnetgrent): Update caller.
47212 (internal_getnetgrent_r): Renamed to ...
47213 (__internal_getnetgrent_r): ... this. Add internal_function to
47214 definition. Add libc_hidden_def.
47215 (__getnetgrent_r): Update caller.
47216 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
47217
47218 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47219
47220 * stdlib/longlong.h: Update from GCC.
47221
47222 2012-08-16 Roland McGrath <roland@hack.frob.com>
47223
47224 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47225 on _QL, which is set by umul_ppmm but never used.
47226 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47227 variables, which are set by GMP macros but never used.
47228 * stdio-common/_itowa.c (_itowa): Likewise.
47229 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47230 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47231
47232 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47233
47234 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47235 struct La_sh_regs is not constant.
47236 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47237 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47238 and struct La_sparc64_regs are not constant.
47239
47240 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47241
47242 * sysdeps/unix/sysv/linux/kernel-features.h
47243 (__ASSUME_POSIX_TIMERS): Remove.
47244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47245 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47246 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47247 Make code unconditional.
47248 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47249 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47250 Make code unconditional.
47251 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47252 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47253 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47254 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47255 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47256 Make code unconditional.
47257 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47258 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47259 (__libc_missing_posix_timers): Remove.
47260
47261 2012-08-15 Roland McGrath <roland@hack.frob.com>
47262
47263 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47264 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47265
47266 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47267
47268 * elf/dl-sym.c: Include <stdlib.h>.
47269
47270 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47271 constants, which avoids warnings in 32-bit builds.
47272
47273 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47274 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47275
47276 * misc/lseek.c: File moved to ...
47277 * io/lseek.c: ... here.
47278
47279 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47280
47281 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47282 shifting LEN more than 31 bits at once.
47283
47284 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47285
47286 [BZ #14195]
47287 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47288 segmentation fault for a case of two empty input strings.
47289 * string/test-strncasecmp.c (check1): Renamed to...
47290 (bz12205): ...this.
47291 (bz14195): Add new testcase for two empty input strings and N > 0.
47292 (test_main): Call new testcase, adapt for renamed function.
47293
47294 2012-08-15 Andreas Jaeger <aj@suse.de>
47295
47296 [BZ #14090]
47297 * crypt/md5test2.c: New test, based on test supplied by Serge
47298 Belyshev <belyshev@depni.sinp.msu.ru>.
47299 * crypt/Makefile (xtests): Add md5test-giant..
47300 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47301
47302 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47303
47304 [BZ #14090]
47305 * crypt/md5.c (md5_process_block): Don't assume the buffer
47306 length is less than 2**32.
47307 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47308 length is less than 2**64.
47309
47310 2012-08-15 Roland McGrath <roland@hack.frob.com>
47311
47312 * string/str-two-way.h: Include <sys/param.h>.
47313 (MAX): Macro removed.
47314
47315 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47316 Move #define and #undef of memmove to just before and after
47317 including <string.h>.
47318
47319 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47320 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47321 and after including <string.h>. Move declarations of
47322 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47323 to before #include "string/memmove.c".
47324
47325 * include/dirent.h: Declare __getdirentries.
47326
47327 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47328 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47329
47330 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47331
47332 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47333 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47334 * sysdeps/i386/configure: Regenerated.
47335 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47336 STABS_CURRENT_FILE, and STABS_FUN.
47337 (END): Remove call to STABS_FUN_END.
47338 (STABS_CURRENT_FILE1): Delete.
47339 (STABS_CURRENT_FILE): Likewise.
47340 (STABS_FUN): Likewise.
47341 (STABS_FUN_END): Likewise.
47342 (STABS_FUN2): Likewise.
47343 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47344 * sysdeps/x86_64/configure: Regenerated.
47345
47346 2012-08-14 Roland McGrath <roland@hack.frob.com>
47347
47348 * elf/dl-open.c: Include <atomic.h>.
47349 * elf/dl-lookup.c: Likewise.
47350
47351 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47352
47353 * sysdeps/unix/sysv/linux/kernel-features.h
47354 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47355 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47356 unconditionally.
47357 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47358 unconditionally.
47359 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47360 condition on __ASSUME_CLONE_THREAD_FLAGS.
47361
47362 2012-08-14 Andreas Jaeger <aj@suse.de>
47363
47364 * sysdeps/i386/fpu/libm-test-ulps: Update.
47365
47366 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47367
47368 * include/atomic.h (atomic_exchange_and_add): Split into ...
47369 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47370 New atomic macros.
47371
47372 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47373
47374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47375
47376 2012-08-13 Jeff Law <law@redhat.com>
47377
47378 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47379 null byte in the output string.
47380
47381 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47382
47383 * sysdeps/unix/sysv/linux/kernel-features.h
47384 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47385 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47386 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47387 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47388 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47389 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47390 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47391
47392 2012-08-09 Jeff Law <law@redhat.com>
47393
47394 [BZ #13939]
47395 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47396 When avoid_arena is set, don't retry in the that arena. Pick the
47397 next one, whatever it might be.
47398 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47399 (arena_lock): Pass in new parameter to arena_get2.
47400 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47401 arena_get2.
47402 (__libc_malloc): Unify retrying after main arena failure with
47403 __libc_memalign version.
47404 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47405
47406 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47407
47408 [BZ #14166]
47409 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47410 to __redirect_strstr.
47411 (__strstr_sse42): Use typeof __redirect_strstr.
47412 (__strstr_ia32): Likewise.
47413 (__libc_strstr): New prototype.
47414 (strstr): Renamed to ...
47415 (__libc_strstr): This.
47416 (strstr): New strong alias of __libc_strstr.
47417 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47418 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47419 __redirect_time.
47420 Include <time.h>.
47421 (__libc_time): New prototype.
47422 (time_ifunc): Replace time with __libc_time.
47423 (time): New strong alias and hidden definition of __libc_time.
47424 (__GI_time): Remove strong alias.
47425 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47426 Include <stddef.h>.
47427 (memmove): Redefined to __redirect_memmove.
47428 (__memmove_sse2): Use typeof __redirect_memmove.
47429 (__memmove_ssse3): Likewise.
47430 (__memmove_ssse3_back): Likewise.
47431 (__libc_memmove): New prototype.
47432 (memmove): Renamed to ...
47433 (__libc_memmove): This.
47434 (memmove): New strong alias of __libc_memmove.
47435
47436 2012-08-08 Mark Salter <msalter@redhat.com>
47437
47438 * elf/elf.h
47439 (R_MN10300_TLS_GD): Define.
47440 (R_MN10300_TLS_LD): Likewise.
47441 (R_MN10300_TLS_LDO): Likewise.
47442 (R_MN10300_TLS_GOTIE): Likewise.
47443 (R_MN10300_TLS_IE): Likewise.
47444 (R_MN10300_TLS_LE): Likewise.
47445 (R_MN10300_TLS_DTPMOD): Likewise.
47446 (R_MN10300_TLS_DTPOFF): Likewise.
47447 (R_MN10300_TLS_TPOFF): Likewise.
47448 (R_MN10300_SYM_DIFF): Likewise.
47449 (R_MN10300_ALIGN): Likewise.
47450 (R_MN10300_NUM): Update.
47451
47452 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47453
47454 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47455 Remove.
47456
47457 2012-08-08 Roland McGrath <roland@hack.frob.com>
47458
47459 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47460
47461 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47462 sysdeps/unix -> sysdeps/posix move.
47463 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47464
47465 2012-08-07 Allan McRae <allan@archlinux.org>
47466
47467 [BZ #14303]
47468 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47469 (SUNOS_CPP): Likewise.
47470 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47471 not found.
47472 (open_input): Call CPP using execvp.
47473
47474 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47475
47476 * sysdeps/unix/sysv/linux/kernel-features.h
47477 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47478 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47479 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47480 (__ASSUME_WAITID_SYSCALL): Likewise.
47481 * sysdeps/unix/sysv/linux/dl-execstack.c
47482 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47483 code unconditional.
47484 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47485 conditional code.
47486 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47487 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47488 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47489 code.
47490 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47491 unconditional.
47492 [__ASSUME_WAITID_SYSCALL]: Likewise.
47493 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47494
47495 2012-08-07 Roland McGrath <roland@hack.frob.com>
47496
47497 * sysdeps/unix/closedir.c: Renamed to ...
47498 * sysdeps/posix/closedir.c: ... here.
47499 * sysdeps/unix/dirfd.c: Renamed to ...
47500 * sysdeps/posix/dirfd.c: ... here.
47501 * sysdeps/unix/dirstream.h: Renamed to ...
47502 * sysdeps/posix/dirstream.h: ... here.
47503 * sysdeps/unix/fdopendir.c: Renamed to ...
47504 * sysdeps/posix/fdopendir.c: ... here.
47505 * sysdeps/unix/opendir.c: Renamed to ...
47506 * sysdeps/posix/opendir.c: ... here.
47507 * sysdeps/unix/readdir.c: Renamed to ...
47508 * sysdeps/posix/readdir.c: ... here.
47509 * sysdeps/unix/readdir_r.c: Renamed to ...
47510 * sysdeps/posix/readdir_r.c: ... here.
47511 * sysdeps/unix/rewinddir.c: Renamed to ...
47512 * sysdeps/posix/rewinddir.c: ... here.
47513 * sysdeps/unix/seekdir.c: Renamed to ...
47514 * sysdeps/posix/seekdir.c: ... here.
47515 * sysdeps/unix/telldir.c: Renamed to ...
47516 * sysdeps/posix/telldir.c: ... here.
47517 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47518 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47519 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47520 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47521
47522 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47523 * bits/fcntl.h: ... here.
47524
47525 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47526 not 0.
47527 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47528 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47529 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47530 (struct flock): Move l_start, l_len to the beginning.
47531 Use __pid_t for l_pid.
47532 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47533 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47534 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47535 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47536 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47537 [__USE_LARGEFILE64] (struct flock64): New type.
47538 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47539
47540 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47541 * bits/dirent.h: ... here.
47542
47543 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47544 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47545
47546 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47547
47548 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47549 Change from 2.6.0 to 2.6.16.
47550 * sysdeps/unix/sysv/linux/configure: Regenerated.
47551 * sysdeps/unix/sysv/linux/kernel-features.h
47552 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47553 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47554 version.
47555 (__ASSUME_UTIMES): Likewise.
47556 (__ASSUME_CLONE_STOPPED): Remove.
47557 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47558 architectures, not kernel version.
47559 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47560 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47561 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47562 (__ASSUME_WAITID_SYSCALL): Likewise.
47563 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47564 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47565 * README: State 2.6.16 as minimum Linux kernel version. Do not
47566 refer to older versions.
47567
47568 2012-08-06 Roland McGrath <roland@hack.frob.com>
47569
47570 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47571 Define alphasort64 as an alias.
47572 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47573 Define versionsort64 as an alias.
47574 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47575 Define scandir64 as an alias.
47576 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47577 Define scandirat64 as an alias.
47578 * dirent/alphasort64.c (alphasort64):
47579 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47580 * dirent/versionsort64.c: Likewise.
47581 * dirent/scandir64.c: Likewise.
47582 * dirent/scandirat64.c: Likewise.
47583 * sysdeps/wordsize-64/alphasort.c: File removed.
47584 * sysdeps/wordsize-64/alphasort64.c: File removed.
47585 * sysdeps/wordsize-64/scandir.c: File removed.
47586 * sysdeps/wordsize-64/scandir64.c: File removed.
47587 * sysdeps/wordsize-64/scandirat.c: File removed.
47588 * sysdeps/wordsize-64/scandirat64.c: File removed.
47589 * sysdeps/wordsize-64/versionsort.c: File removed.
47590 * sysdeps/wordsize-64/versionsort64.c: File removed.
47591 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47592 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47593 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47594 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47595 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47596 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47597 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47598 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47599
47600 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47601 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47602 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47604 [defined __arch64__ || defined __sparcv9]
47605 (__INO_T_MATCHES_INO64_T): New macro.
47606 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47607 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47608 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47609 * sysdeps/unix/sysv/linux/bits/dirent.h
47610 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47611 (_DIRENT_MATCHES_DIRENT64): New macro.
47612
47613 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47614 Define lockf64 as an alias.
47615 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47616 Define fseeko64 as an alias.
47617 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47618 Define ftello64 as an alias.
47619 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47620 Define _IO_fgetpos64 and fgetpos64 as aliases.
47621 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47622 Define _IO_fsetpos64 and fsetpos64 as aliases.
47623 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47624 Conditionalize body on this.
47625 * libio/fseeko64.c: Likewise.
47626 * libio/ftello64.c: Likewise.
47627 * libio/iofgetpos64.c: Likewise.
47628 * libio/iofsetpos64.c: Likewise.
47629 * sysdeps/wordsize-64/lockf.c: File removed.
47630 * sysdeps/wordsize-64/lockf64.c: File removed.
47631 * sysdeps/wordsize-64/fseeko.c: File removed.
47632 * sysdeps/wordsize-64/fseeko64.c: File removed.
47633 * sysdeps/wordsize-64/ftello.c: File removed.
47634 * sysdeps/wordsize-64/ftello64.c: File removed.
47635 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47636 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47637 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47638 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47639 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47640 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47641 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47642 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47643 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47644 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47645 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47646 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47647 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47648 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47649
47650 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47651 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47652 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47654 [defined __arch64__ || defined __sparcv9]
47655 (__OFF_T_MATCHES_OFF64_T): New macro.
47656 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47657 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47658 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47659 (__OFF_T_MATCHES_OFF64_T): New macro.
47660
47661 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47662
47663 * stdlib/secure-getenv.c (__secure_getenv): Replace
47664 GLIBC_2_16 with GLIBC_2_17.
47665
47666 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47667
47668 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47669 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47670
47671 2012-08-03 David S. Miller <davem@davemloft.net>
47672
47673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47674
47675 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47676
47677 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47678 Remove.
47679 (__ASSUME_CORRECT_SI_PID): Likewise.
47680 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47681 (__ASSUME_TMPFS_NAME): Likewise.
47682 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47683 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47684 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47685 (HAVE_AUX_SECURE): Make definition unconditional.
47686 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47687 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47688
47689 2012-08-03 Roland McGrath <roland@hack.frob.com>
47690
47691 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47692 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47693 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47694 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47695 __eloop_threshold instead of SYMLOOP_MAX.
47696
47697 * sysdeps/generic/eloop-threshold.h: New file.
47698 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47699 of MAXSYMLINKS.
47700 * elf/chroot_canon.c (chroot_canon): Likewise.
47701
47702 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47703
47704 [BZ #13717]
47705 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47706 Change to 2.6.0 everywhere.
47707 * sysdeps/unix/sysv/linux/configure: Regenerated.
47708 * sysdeps/unix/sysv/linux/kernel-features.h
47709 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47710 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47711 kernel versions.
47712 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47713 (__ASSUME_FUTEX_REQUEUE): Remove.
47714 (__ASSUME_STATFS64): Define unconditionally.
47715 (__ASSUME_AT_SECURE): Likewise.
47716 (__ASSUME_CORRECT_SI_PID): Likewise.
47717 (__ASSUME_TGKILL): Define without depending on kernel version for
47718 i386.
47719 (__ASSUME_UTIMES): Likewise.
47720 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47721 kernel version.
47722 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47723 (__ASSUME_TMPFS_NAME): Likewise.
47724 * README: Update reference to Linux kernel versions.
47725
47726 2012-08-02 Marek Polacek <polacek@redhat.com>
47727
47728 [BZ# 14150]
47729 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47730 libc_cv_asm_type_prefix with %.
47731 * configure: Regenerated.
47732 * include/libc-symbols.h: Remove comment about
47733 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47734 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47735 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47736 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47737 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47738 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47739 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47740 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47741 * elf/tst-unique2mod1.c: Likewise.
47742 * elf/tst-unique1mod2.c: Likewise.
47743 * elf/tst-unique1mod1.c: Likewise.
47744 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47745 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47746 Replace ASM_TYPE_DIRECTIVE with .type.
47747 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47748 * sysdeps/i386/sysdep.h: Likewise.
47749 * sysdeps/x86_64/sysdep.h: Likewise.
47750 * sysdeps/sh/sysdep.h: Likewise.
47751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47752 Do not define ASM_TYPE_DIRECTIVE.
47753 * sysdeps/powerpc/sysdep.h: Likewise.
47754 * sysdeps/powerpc/powerpc32/sysdep.h:
47755 Replace ASM_TYPE_DIRECTIVE with .type.
47756 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47757 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47758 * sysdeps/i386/fpu/e_powf.S: Likewise.
47759 * sysdeps/i386/fpu/e_expl.S: Likewise.
47760 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47761 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47762 * sysdeps/i386/fpu/e_pow.S: Likewise.
47763 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47764 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47765 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47766 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47767 * sysdeps/i386/fpu/e_log2.S: Likewise.
47768 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47769 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47770 * sysdeps/i386/fpu/e_powl.S: Likewise.
47771 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47772 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47773 * sysdeps/i386/fpu/e_logl.S: Likewise.
47774 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47775 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47776 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47777 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47778 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47779 * sysdeps/i386/fpu/e_log.S: Likewise.
47780 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47781 * sysdeps/i386/fpu/e_logf.S: Likewise.
47782 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47783 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47784 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47785 * sysdeps/i386/fpu/e_log10.S: Likewise.
47786 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47787 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47788 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47789 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47790 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47791 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47792 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47793 * sysdeps/i386/i686/strtok.S: Likewise.
47794 * sysdeps/i386/i386-mcount.S: Likewise.
47795 * sysdeps/i386/strtok.S: Likewise.
47796 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47797 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47798 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47799 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47800 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47801 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47802 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47803 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47804 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47805 * sysdeps/x86_64/_mcount.S: Likewise.
47806 * sysdeps/x86_64/strtok.S: Likewise.
47807 * sysdeps/sh/_mcount.S: Likewise.
47808
47809 2012-08-01 Roland McGrath <roland@hack.frob.com>
47810
47811 * libio/iofopen.c: Include <fcntl.h>.
47812 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47813 (_IO_fopen64, fopen64): Define as aliases.
47814 * libio/iofopen64.c: Include <fcntl.h>.
47815 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47816 Conditionalize body on this.
47817 * sysdeps/wordsize-64/iofopen.c: File removed.
47818 * sysdeps/wordsize-64/iofopen64.c: File removed.
47819
47820 2012-08-01 Marek Polacek <polacek@redhat.com>
47821
47822 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47823 Use dlfcn directly instead of a variable.
47824 (binfmt-subdir): Do not define.
47825 (dlfcn): Likewise.
47826
47827 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47828
47829 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47830 Remove all definitions.
47831 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47832 <kernel-features.h>.
47833 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47834 (miss_F_GETOWN_EX): Remove all definitions.
47835 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47836 macro definition.
47837 [!__ASSUME_FCNTL64]: Remove conditional code.
47838 [__ASSUME_FCNTL64]: Make code unconditional.
47839 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47840 <kernel-features.h>.
47841 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47842 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47843 (lockf64) [__NR_fcntl64]: Make code unconditional.
47844 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47845
47846 * sysdeps/unix/sysv/linux/kernel-features.h
47847 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47848 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47849 Make code unconditional.
47850 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47851 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47853 [__NR_vfork]: Make code unconditional.
47854 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47855 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47857 [__NR_vfork]: Make code unconditional.
47858 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47859 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47860
47861 2012-08-01 Roland McGrath <roland@hack.frob.com>
47862
47863 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47864 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47865
47866 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47867 Define mkstemp64 as an alias.
47868 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47869 Define mkstemps64 as an alias.
47870 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47871 Define mkostemp64 as an alias.
47872 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47873 Define mkostemps64 as an alias.
47874 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47875 Conditionalize body on this.
47876 * misc/mkostemp64.c: Likewise.
47877 * misc/mkostemps64.c: Likewise.
47878 * misc/mkstemps64.c: Likewise.
47879 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47880 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47881 * sysdeps/wordsize-64/mkostemp.c: File removed.
47882 * sysdeps/wordsize-64/mkstemp.c: File removed.
47883 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47884 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47885 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47886 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47887
47888 [BZ #14138]
47889 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47890 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47891 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47892 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47893
47894 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47895 compat_symbol macros from <shlib-compat.h> rather than the underlying
47896 default_symbol_version and symbol_version macros, so that DEFAULT
47897 lines in shlib-versions are respected.
47898 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47899
47900 2012-08-01 Florian Weimer <fweimer@redhat.com>
47901
47902 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47903 Declare with warn_unused_result.
47904 (setgid, setregid, setegid, setresgid): Likewise.
47905 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47906 Likewise.
47907 * WUR-REPORT: Remove set*id functions.
47908
47909 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47910
47911 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47912
47913 2012-07-31 Roland McGrath <roland@hack.frob.com>
47914
47915 [BZ #10191]
47916 * include/sys/socket.h (__libc_accept, __libc_accept4):
47917 Add attribute_hidden.
47918 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47919
47920 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47921 use of PTR_MANGLE.
47922 * inet/getnetgrent_r.c (setup): Likewise.
47923
47924 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47925
47926 2012-07-31 David S. Miller <davem@davemloft.net>
47927
47928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47929
47930 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47931
47932 [BZ #13629]
47933 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47934 value between 1.0 and 2.0 and smaller part has absolute value less
47935 than 1.0.
47936 * math/s_clog10.c (__clog10): Likewise.
47937 * math/s_clog10f.c (__clog10f): Likewise.
47938 * math/s_clog10l.c (__clog10l): Likewise.
47939 * math/s_clogf.c (__clogf): Likewise.
47940 * math/s_clogl.c (__clogl): Likewise.
47941 * math/libm-test.inc (clog_test): Add more tests.
47942 (clog10_test): Likewise.
47943 * sysdeps/i386/fpu/libm-test-ulps: Update.
47944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47945
47946 2012-07-31 Florian Weimer <fweimer@redhat.com>
47947
47948 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47949 Exit with zero in case no suitable GID is found, and write a
47950 message to standard error.
47951
47952 2012-07-30 Roland McGrath <roland@hack.frob.com>
47953
47954 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47955 rather than to 1.
47956 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47957 (MAXPATHLEN): Removed.
47958 (NOGROUP, NODEV): New macros.
47959 (setbit, clrbit, isset, isclr): New macros.
47960 (howmany, roundup, powerof2): New macros.
47961 (DEV_BSIZE): New macro.
47962
47963 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47964 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47965
47966 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47967 definition on [!__NO_LONG_DOUBLE_MATH].
47968
47969 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47970 PTR_MANGLE and PTR_DEMANGLE.
47971
47972 * socket/accept4.c (accept4): Rename to __libc_accept4.
47973 Define accept4 as a weak alias.
47974
47975 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47976 on [_DIRENT_HAVE_D_TYPE].
47977 * io/ftw.c (ftw_dir): Likewise.
47978
47979 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47980
47981 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47982
47983 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47984 Use the BSD numbers rather than the arbitrary ones we had.
47985 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47986 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47987 (SIGXCPU, SIGXFSZ): New macros.
47988 (_NSIG): Now 32.
47989
47990 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47991 initializer on [_LIBC_REENTRANT].
47992
47993 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47994 definitions inside [_POSIX_MAPPED_FILES].
47995
47996 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47997
47998 * dirent/opendir.c: Include <fcntl.h>.
47999
48000 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48001 (__libc_getspecific): Likewise.
48002 (__libc_key_create): Likewise.
48003
48004 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48005 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48006 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48007 (tmpfile64): Define as alias.
48008 * sysdeps/wordsize-64/tmpfile.c: File removed.
48009 * sysdeps/wordsize-64/tmpfile64.c: File removed.
48010 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48011 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48012
48013 * stdio-common/vfscanf.c: Include <stdbool.h>.
48014 * nss/makedb.c: Likewise.
48015 * stdio-common/_i18n_number.h: Likewise.
48016 * argp/argp-help.c: Likewise.
48017 * posix/wordexp.c: Likewise.
48018 * sysdeps/posix/spawni.c: Likewise.
48019 * nss/nss_files/files-initgroups.c: Likewise.
48020 * stdio-common/reg-modifier.c: Include <stdlib.h>.
48021 * nss/nss_files/files-initgroups.c: Likewise.
48022 * nss/nss_db/db-netgrp.c: Likewise.
48023 * nss/nss_db/db-initgroups.c: Likewise.
48024 * io/fchmodat.c: Include <sys/stat.h>.
48025
48026 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48027 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48028
48029 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48030 [HAVE_MMAP].
48031
48032 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48033 Add multiple inclusion protection.
48034
48035 2012-07-27 David S. Miller <davem@davemloft.net>
48036
48037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48038
48039 2012-07-27 Gary Benson <gbenson@redhat.com>
48040
48041 [BZ #14298]
48042 * elf/rtld.c: Include <stap-probe.h>.
48043 (dl_main): Added static probes "init_start" and "init_complete".
48044 * elf/dl-load.c: Include <stap-probe.h>.
48045 (lose): Take new parameter "nsid".
48046 Added static probe "map_failed".
48047 (_dl_map_object_from_fd): Pass namespace id to lose.
48048 Added static probe "map_start".
48049 (open_verify): Pass namespace id to lose.
48050 * elf/dl-open.c: Include <stap-probe.h>.
48051 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48052 and "reloc_complete".
48053 * elf/dl-close.c: Include <stap-probe.h>.
48054 (_dl_close_worker): Added static probes "unmap_start" and
48055 "unmap_complete".
48056 * elf/rtld-debugger-interface.txt: New file documenting the above.
48057
48058 2012-07-26 Roland McGrath <roland@hack.frob.com>
48059
48060 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48061 rather than a string variable.
48062 * sunrpc/rpc_main.c (h_output): Likewise.
48063 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48064
48065 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48066
48067 * inet/check_native.c: New file.
48068
48069 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48070
48071 [BZ #13629]
48072 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48073 if larger part has absolute value 1.0.
48074 * math/s_clog10.c (__clog10): Likewise.
48075 * math/s_clog10f.c (__clog10f): Likewise.
48076 * math/s_clog10l.c (__clog10l): Likewise.
48077 * math/s_clogf.c (__clogf): Likewise.
48078 * math/s_clogl.c (__clogl): Likewise.
48079 * math/libm-test.inc (clog_test): Add more tests.
48080 (clog10_test): Likewise.
48081 * sysdeps/i386/fpu/libm-test-ulps: Update.
48082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48083
48084 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48085 (pltexit): Likewise.
48086 (La_regs): Likewise.
48087 (La_retval): Likewise.
48088 (int_retval): Likewise.
48089 Update #error for removed macros to refer only to definitions in
48090 tst-audit.h.
48091 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48092 macro.
48093 (pltexit): Likewise.
48094 (La_regs): Likewise.
48095 (La_retval): Likewise.
48096 (int_retval): Likewise.
48097 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48098 macro.
48099 (pltexit): Likewise.
48100 (La_regs): Likewise.
48101 (La_retval): Likewise.
48102 (int_retval): Likewise.
48103 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48104 macro.
48105 (pltexit): Likewise.
48106 (La_regs): Likewise.
48107 (La_retval): Likewise.
48108 (int_retval): Likewise.
48109 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48110 macro.
48111 (pltexit): Likewise.
48112 (La_regs): Likewise.
48113 (La_retval): Likewise.
48114 (int_retval): Likewise.
48115 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48116 macro.
48117 (pltexit): Likewise.
48118 (La_regs): Likewise.
48119 (La_retval): Likewise.
48120 (int_retval): Likewise.
48121 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48122 macro.
48123 (pltexit): Likewise.
48124 (La_regs): Likewise.
48125 (La_retval): Likewise.
48126 (int_retval): Likewise.
48127 * sysdeps/generic/tst-audit.h: Update comment to refer only to
48128 macro definitions in tst-audit.h.
48129 * sysdeps/i386/tst-audit.h: New file.
48130 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48131 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48132 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48133 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48134 * sysdeps/sh/tst-audit.h: Likewise.
48135 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48136 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48137 * sysdeps/x86_64/tst-audit.h: Likewise.
48138
48139 2012-07-26 Andreas Jaeger <aj@suse.de>
48140
48141 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48142 ptrace.
48143
48144 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48145 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48146 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48147 PTRACE_O_MASK.
48148 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48149 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48150 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48151
48152 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48153 value.
48154
48155 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48156 _sigsys.
48157 (si_call_addr, si_syscall, si_arch): Define new macro.
48158 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48159 _sigsys.
48160 (si_call_addr, si_syscall, si_arch): Define new marcro.
48161 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48162 _sigsys.
48163 (si_call_addr, si_syscall, si_arch): Define new macro.
48164 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48165 _sigsys.
48166 (si_call_addr, si_syscall, si_arch): Define new macro.
48167
48168 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48169
48170 [BZ #13717]
48171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48172 Change to 2.4.21 where previously 2.4.1.
48173 * sysdeps/unix/sysv/linux/configure: Regenerated.
48174 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48175 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48176 Linux kernel version.
48177 (__ASSUME_STD_AUXV): Remove.
48178 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48179 kernel version.
48180 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48181 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48182 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48183 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48184 (__ASSUME_NETLINK_SUPPORT): Likewise.
48185 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48186 (__no_netlink_support): Remove conditional definition.
48187 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48188 Remove.
48189 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48190 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48191 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48192 (if_nameindex_ioctl): Remove.
48193 (if_nameindex_netlink): Do not handle __no_netlink_support.
48194 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48195 code.
48196 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48197 Remove conditional code.
48198 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48199 code.
48200 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48201 unconditional.
48202 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48203 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48204 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48205 Remove.
48206 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48207 [!__ASSUME_STD_AUXV]: Remove conditional code.
48208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48209 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48210 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48212 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48213 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48214 code.
48215 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48217 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48218 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48219 conditional code.
48220 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48222 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48223 code.
48224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48225 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48226 conditional code.
48227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48228 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48229 code unconditional.
48230 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48231 conditional code.
48232 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48233 unconditional.
48234 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48235 conditional code.
48236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48237 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48238 unconditional.
48239 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48240 conditional code.
48241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48242 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48243 code unconditional.
48244 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48245 conditional code.
48246 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48247 unconditional.
48248 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48249 conditional code.
48250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48251 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48252 code unconditional.
48253 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48254 conditional code.
48255 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48256 unconditional.
48257 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48258 conditional code.
48259
48260 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48261
48262 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48263 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48264 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48265 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48266 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48267 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48268 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48269 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48270 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48271 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48272 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48273 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48274 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48275 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48276 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48277 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48278 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48279 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48280 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48282 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48283 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48284 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48285
48286 2012-07-25 Florian Weimer <fweimer@redhat.com>
48287
48288 * Versions.def: Add GLIBC_2.17.
48289 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48290 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48291 Introduce __libc_secure_getenv.
48292 * stdlib/Versions (2.17): Add secure_getenv
48293 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48294 * stdlib/secure-getenv.c: Rename __secure_getenv to
48295 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48296 symbol __secure_getenv for GLIBC_2.0.
48297 * stdlib/tst-secure-getenv.c: New.
48298 * stdlib/Makefile (tests): Add testcase.
48299 * manual/startup.texi (Environment Access): Document
48300 secure_getenv.
48301 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48302 __libc_secure_getenv.
48303 * inet/ruserpass.c (ruserpass): Likewise.
48304 * malloc/mtrace.c (mtrace): Likewise.
48305 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48306 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48307 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48308 * sysdeps/posix/tempname.c: Likewise. Evaluate
48309 HAVE_SECURE_GETENV.
48310 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48311 __secure_getenv to __libc_secure_getenv.
48312 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48314 Likewise.
48315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48316 Likewise.
48317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48319 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48324
48325 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48326
48327 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48328 (struct La_i86_retval): Likewise.
48329 (struct La_x86_64_regs): Likewise.
48330 (struct La_x86_64_retval): Likewise.
48331 (struct La_x32_regs): Likewise.
48332 (struct La_x32_retval): Likewise.
48333 (struct La_ppc32_regs): Likewise.
48334 (struct La_ppc32_retval): Likewise.
48335 (struct La_ppc64_regs): Likewise.
48336 (struct La_ppc64_retval): Likewise.
48337 (struct La_sh_regs): Likewise.
48338 (struct La_sh_retval): Likewise.
48339 (struct La_s390_32_regs): Likewise.
48340 (struct La_s390_32_retval): Likewise.
48341 (struct La_s390_64_regs): Likewise.
48342 (struct La_s390_64_retval): Likewise.
48343 (struct La_sparc32_regs): Likewise.
48344 (struct La_sparc32_retval): Likewise.
48345 (struct La_sparc64_regs): Likewise.
48346 (struct La_sparc64_retval): Likewise.
48347 (struct audit_ifaces): Remove architecture-specific pltenter and
48348 pltexit members.
48349 * sysdeps/i386/ldsodefs.h: New file.
48350 * sysdeps/powerpc/ldsodefs.h: Likewise.
48351 * sysdeps/s390/ldsodefs.h: Likewise.
48352 * sysdeps/sh/ldsodefs.h: Likewise.
48353 * sysdeps/sparc/ldsodefs.h: Likewise.
48354 * sysdeps/x86_64/ldsodefs.h: Likewise.
48355
48356 2012-07-25 Marek Polacek <polacek@redhat.com>
48357
48358 [BZ #6808]
48359 * math/libm-test.inc (yn_test): Add another test.
48360 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48361 to ERANGE when the result is +-Inf.
48362 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48363 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48364 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48365 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48366
48367 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48368
48369 * conform/data/time.h-data (NULL): Use macro-constant. Require
48370 equal to 0.
48371 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48372 clock_t.
48373 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48374
48375 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48376
48377 * configure.in <sysdeps resolving>: Correct printing
48378 Implies_before.
48379 * configure: Regenerate.
48380
48381 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48382
48383 * math/w_ilogb.c: Include <limits.h>.
48384 * math/w_ilogbl.c: Likewise.
48385
48386 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48387
48388 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48389 va_copy. Document allowing for unavailable va_copy only as
48390 pre-C99 compatibility.
48391 * manual/string.texi (Copying and Concatenation): Use va_copy
48392 instead of __va_copy in concat example.
48393
48394 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48395
48396 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48397 (__sendto): Use create_address_port. Initialize APORT and deallocate
48398 it if not null.
48399
48400 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48401 with O_NOLINK passed to __file_name_lookup.
48402
48403 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48404 with O_NOLINK passed to __file_name_lookup.
48405
48406 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48407 negative N or less than NGIDS.
48408
48409 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48410 type to string_t. Set ERANGE as errno and return it if NAME is not big
48411 enough. Use memcpy instead of strncpy.
48412
48413 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48414
48415 * elf/Makefile (check-data): Remove.
48416 (localplt.data): New vpath directive.
48417 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48418 instead of $(check-data).
48419 * scripts/data/localplt-generic.data: Move to ...
48420 * sysdeps/generic/localplt.data: ... here.
48421 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48422 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48423 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48425 ... here.
48426 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48428 ... here.
48429 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48431 ... here.
48432 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48434 ... here.
48435 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48437 ... here.
48438 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48440 ... here.
48441
48442 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48443
48444 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48445 PPC32 and PPC64 files.
48446 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48447 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48448
48449 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48450
48451 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48452 __makecontext_ret to ...
48453 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48454 ... here and call exit if uc_link is NULL. New file.
48455 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48456 __makecontext_ret.S.
48457 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48458 __makecontext_ret to ...
48459 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48460 ... here and call exit if uc_link is NULL. New file.
48461 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48462 __makecontext_ret.S.
48463
48464 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48465
48466 * elf/elf.h (R_390_IRELATIVE): New definition.
48467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48468 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48469 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48470 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48471 (elf_machine_lazy_rel): Likewise.
48472 * sysdeps/s390/dl-irel.h: New file.
48473 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48474 * sysdeps/s390/s390-64/memset.S: New asm code.
48475 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48476 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48477 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48478 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48479 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48480 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48481 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48482 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48483 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48484 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48485 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48486 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48487 * sysdeps/s390/s390-32/memset.S: New asm code.
48488 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48489
48490 2012-07-17 Marek Polacek <polacek@redhat.com>
48491
48492 [BZ #14349]
48493 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48494 * sysdeps/s390/s390-64/configure.in: Likewise.
48495 * sysdeps/sparc/configure.in: Likewise.
48496 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48497 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48498 * sysdeps/i386/configure.in: Likewise.
48499 * sysdeps/x86_64/configure.in: Likewise.
48500 * sysdeps/sh/configure.in: Likewise.
48501 * sysdeps/s390/s390-32/configure: Regenerated.
48502 * sysdeps/s390/s390-64/configure: Likewise.
48503 * sysdeps/x86_64/configure: Likewise.
48504 * sysdeps/sh/configure: Likewise.
48505 * sysdeps/powerpc/powerpc64/configure: Likewise.
48506 * sysdeps/powerpc/powerpc32/configure: Likewise.
48507 * sysdeps/sparc/configure: Likwise.
48508 * sysdeps/i386/configure: Likewise.
48509
48510 * elf/dl-open.c: Comment fixes.
48511
48512 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48513
48514 * Makefile [CXX] (check-data): Remove.
48515 [CXX] (c++-types.data): New vpath directive.
48516 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48517 vpath. Do not allow for C++ type data being missing.
48518 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48519 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48520 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48521 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48522 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48523 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48524 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48526 ... here.
48527 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48529 ... here.
48530 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48532 ... here.
48533 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48535 ... here.
48536 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48538 ... here.
48539 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48541 ... here.
48542 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48544 ... here.
48545 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48547
48548 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48549 definitions to architecture-specific files.
48550 (TLS_IE): Likewise.
48551 (TLS_LD): Likewise.
48552 (TLS_GD): Likewise.
48553 * sysdeps/i386/tls-macros.h: New file.
48554 * sysdeps/powerpc/tls-macros.h: Likewise.
48555 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48556 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48557 * sysdeps/sh/tls-macros.h: Likewise.
48558 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48559 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48560 * sysdeps/x86_64/tls-macros.h: Likewise.
48561
48562 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48563
48564 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48565 zero value for regular exit case.
48566
48567 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48568 (__start_context): Preserve zero value for regular exit case.
48569
48570 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48571 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48572
48573 * manual/setjmp.texi (setcontext): Clarify normal process
48574 termination when uc_link is the null pointer.
48575 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48576 exit call.
48577
48578 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48579
48580 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48581 preprocessor. Test for each exception mask separately.
48582
48583 2012-07-16 Andreas Jaeger <aj@suse.de>
48584
48585 * po/ru.po: Update from translation team.
48586
48587 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48588
48589 * conform/data/string.h-data (NULL): Use macro-constant. Require
48590 equal to 0.
48591 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48592 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48593 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48594 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48595 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48596
48597 2012-07-13 Andreas Jaeger <aj@suse.de>
48598
48599 * po/fr.po: Update from translation team.
48600
48601 2012-07-12 Marek Polacek <polacek@redhat.com>
48602
48603 [BZ #14173]
48604 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48605 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48606 loop condition.
48607
48608 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48609
48610 [BZ #13717]
48611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48612 Change to 2.4.1 where previously 2.4.0.
48613 * sysdeps/unix/sysv/linux/configure: Regenerated.
48614 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48615 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48616 version.
48617 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48618 (__ASSUME_AT_CLKTCK): Remove.
48619 (__ASSUME_AT_PAGESIZE): Likewise.
48620 (__ASSUME_AT_XID): Likewise.
48621 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48622 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48623 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48624 unconditionally.
48625 (HAVE_AUX_PAGESIZE): Likewise.
48626 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48627 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48628 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48629
48630 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48631
48632 [BZ #14307]
48633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48634 the temporary buffer used to invoke __gethostbyname2_r,
48635 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48636 host_data / struct gaih_addrtuple.
48637 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48638 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48639 header file nss/nsswitch.h.
48640 * nss/nsswitch.h (global scope): Add definition of implementation
48641 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48642 resolv/nss_dns/dns-host.c).
48643
48644 2012-07-11 Andreas Jaeger <aj@suse.de>
48645
48646 * po/fr.po: Update from translation team.
48647
48648 * po/sv.po: Update from translation team
48649 * po/fr.po: Another update from translation team.
48650
48651 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48652
48653 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48654 for subnormals or multiply small sinh result by itself.
48655 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48657
48658 2012-07-11 David S. Miller <davem@davemloft.net>
48659
48660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48661
48662 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48663
48664 [BZ #14347]
48665 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48666 (INTERNAL_MARK): Shift it here.
48667
48668 2012-07-10 Marek Polacek <polacek@redhat.com>
48669
48670 [BZ #14151]
48671 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48672 libc_cv_asm_global_directive with .globl.
48673 * configure: Regenerated.
48674 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48675 with .globl.
48676 * sysdeps/i386/configure: Regenerated.
48677 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48678 with .globl.
48679 * sysdeps/x86_64/configure: Regenerated.
48680 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48681 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48682 * elf/tst-unique2mod2.c: Likewise.
48683 * elf/tst-unique2mod1.c: Likewise.
48684 * elf/tst-unique1mod2.c: Likewise.
48685 * elf/tst-unique1mod1.c: Likewise.
48686 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48687 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48688 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48689 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48690 * sysdeps/mach/sysdep.h: Likewise.
48691 * sysdeps/i386/sysdep.h: Likewise.
48692 * sysdeps/i386/i386-mcount.S: Likewise.
48693 * sysdeps/x86_64/_mcount.S: Likewise.
48694 * sysdeps/x86_64/sysdep.h: Likewise.
48695 * sysdeps/sh/_mcount.S: Likewise.
48696 * sysdeps/sh/sysdep.h: Likewise.
48697 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48698 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48699 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48700 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48701 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48702 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48703 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48704 * locale/localeinfo.h: Likewise.
48705 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48706 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48707
48708 2012-07-09 Roland McGrath <roland@hack.frob.com>
48709
48710 [BZ #14336]
48711 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48712 system".
48713 * manual/message.texi (The Uniforum approach): Likewise.
48714 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48715 (glibc iconv Implementation): Likewise.
48716
48717 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48718
48719 [BZ #14337]
48720 * math/s_clog.c (__clog): Avoid scaling a value down where that
48721 could result in underflow.
48722 * math/s_clog10.c (__clog10): Likewise.
48723 * math/s_clog10f.c (__clog10f): Likewise.
48724 * math/s_clog10l.c (__clog10l): Likewise.
48725 * math/s_clogf.c (__clogf): Likewise.
48726 * math/s_clogl.c (__clogl): Likewise.
48727 * math/libm-test.inc (clog_test): Add more tests.
48728 (clog10_test): Likewise.
48729 * sysdeps/i386/fpu/libm-test-ulps: Update.
48730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48731
48732 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48733
48734 [BZ #14283]
48735 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48736 by 7 not 8 to examine high bit of fractional part.
48737
48738 [BZ #14042]
48739 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48740 for call to __mcount_internal.
48741 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48742 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48743 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48744
48745 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48746
48747 [BZ #14154]
48748 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48749 approximation for values within 0x1p-13f of an odd multiple of
48750 pi/4.
48751 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48752 exception. Add more tests.
48753 * sysdeps/i386/fpu/libm-test-ulps: Update.
48754
48755 [BZ #6778]
48756 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48757 inputs and return -1 for them. Do not check for +Inf in case not
48758 reachable for +Inf.
48759 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48760 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48761 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48762 and return -1 for them. Do not check for +Inf in case not
48763 reachable for +Inf.
48764 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48765 define.
48766 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48767 and return -1 for them. Do not check for +Inf in case not
48768 reachable for +Inf.
48769 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48770 spurious underflow.
48771 * sysdeps/i386/fpu/libm-test-ulps: Update.
48772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48773
48774 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48775
48776 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48777
48778 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48779
48780 [BZ #14157]
48781 [BZ #14331]
48782 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48783 could result in spurious underflow. Scale down values above
48784 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48785 * math/s_csqrtf.c (__csqrtf): Likewise.
48786 * math/s_csqrtl.c (__csqrtl): Likewise.
48787 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48788 spurious underflow.
48789 * sysdeps/i386/fpu/libm-test-ulps: Update.
48790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48791
48792 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48793
48794 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48795 xopen-msg.sed.
48796 * catgets/xopen-msg.awk: New file.
48797 * catgets/xopen-msg.sed: Removed.
48798
48799 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48800 po2text.sed.
48801 * intl/po2test.awk: New file.
48802 * intl/po2test.sed: Removed.
48803
48804 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48805
48806 [BZ #14328]
48807 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48808 or multiply small sinh result by itself.
48809 * math/s_ctanf.c (__ctanf): Likewise.
48810 * math/s_ctanh.c (__ctanh): Likewise.
48811 * math/s_ctanhf.c (__ctanhf): Likewise.
48812 * math/s_ctanhl.c (__ctanhl): Likewise.
48813 * math/s_ctanl.c (__ctanl): Likewise.
48814 * math/libm-test.inc (ctan_test_tonearest): New function.
48815 (ctan_test_towardzero): Likewise.
48816 (ctan_test_downward): Likewise.
48817 (ctan_test_upward): Likewise.
48818 (ctanh_test_tonearest): Likewise.
48819 (ctanh_test_towardzero): Likewise.
48820 (ctanh_test_downward): Likewise.
48821 (ctanh_test_upward): Likewise.
48822 (main): Call these new functions.
48823 * sysdeps/i386/fpu/libm-test-ulps: Update.
48824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48825
48826 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48827
48828 * .gitignore: Delete /ports entry.
48829
48830 2012-07-03 Andreas Jaeger <aj@suse.de>
48831
48832 * po/bg.po: Update from translation team.
48833 * po/cs.po: Likewise.
48834 * po/de.po: Likewise.
48835 * po/hr.po: Likewise.
48836 * po/nl.pl: Likewise.
48837 * po/pl.po: Likewise.
48838 * po/vi.po: Likewise.
48839
48840 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48841
48842 * Makeconfig [!+link] (+link-before-libc): New variable.
48843 [!+link] (+link-after-libc): Likewise.
48844 [!+link] (+link-tests): Likewise.
48845 [!+link] (+link): Define in terms of $(+link-before-libc) and
48846 $(+link-after-libc).
48847 [!+link-static] (+link-static-before-libc): New variable.
48848 [!+link-static] (+link-static-after-libc): Likewise.
48849 [!+link-static] (+link-static-tests): Likewise.
48850 [!+link-static] (+link-static): Define in terms of
48851 $(+link-static-before-libc) and $(+link-static-after-libc).
48852 [build-shared] (link-libc-before-gnulib): New variable.
48853 [build-shared] (link-libc-tests): Likewise.
48854 [build-shared] (link-libc): Define in terms of
48855 $(link-libc-before-gnulib).
48856 [!build-shared] (link-libc-tests): New variable.
48857 (link-libc-static-tests): New variable.
48858 [!gnulib] (gnulib-arch): New variable.
48859 [!gnulib] (gnulib-tests): Likewise.
48860 [!gnulib] (static-gnulib-arch): Likewise.
48861 [!gnulib] (static-gnulib-tests): Likewise.
48862 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48863 Define with "=" instead of ":=".
48864 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48865 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48866 * Rules (binaries-all-notests): New variable.
48867 (binaries-all-tests): Likewise.
48868 (binaries-static-notests): Likewise.
48869 (binaries-static-tests): Likewise.
48870 (binaries-all): Define using $(binaries-all-notests) and
48871 $(binaries-all-tests).
48872 (binaries-static): Define using $(binaries-static-notests) and
48873 $(binaries-static-tests).
48874 (binaries-shared-tests): New variable.
48875 (binaries-shared-notests): Likewise.
48876 (binaries-shared): Remove variable.
48877 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48878 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48879 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48880 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48881 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48882 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48883 * elf/Makefile (sln-modules): New variable.
48884 (extra-objs): Add $(sln-modules:=.o).
48885 (ldconfig-modules): Add static-stubs.
48886 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48887 * elf/static-stubs.c: New file.
48888
48889 [BZ #14283]
48890 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48891 by 7 not 8 to examine high bit of fractional part. Use volatile
48892 variables when splitting into final array of floats if
48893 __FLT_EVAL_METHOD__ != 0.
48894 * math/libm-test.inc (cos_test): Add another test.
48895 (sin_test): Likewise.
48896 * sysdeps/i386/fpu/libm-test-ulps: Update.
48897
48898 [BZ #14273]
48899 * math/libm-test.inc (cosh_test): Add more tests.
48900
48901 * version.h (RELEASE): Set to "development".
48902 (VERSION): Set to "2.16.90".
48903
48904 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48905
48906 * NEWS: Update copyright. Remove last-updated date.
48907 Mention math library bug fixes and timezone data changes.
48908 * README: Mention GNU/Hurd, x32, and HPPA support status.
48909
48910 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48911
48912 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48913
48914 2012-06-27 Andreas Jaeger <aj@suse.de>
48915
48916 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48917
48918 2012-06-25 Andreas Jaeger <aj@suse.de>
48919
48920 * sysdeps/s390/fpu/libm-test-ulps: Update.
48921
48922 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48923 Thomas Schwinge <thomas@codesourcery.com>
48924
48925 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48926 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48928 fanotify_mark.
48929
48930 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48931
48932 * sysdeps/mach/start.c: Remove file.
48933 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48934 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48935 * sysdeps/sh/init-first.c: Likewise.
48936
48937 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48938 registers for frame unwinding purposes, add CFI directives.
48939 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48940 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48941 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48942 Likewise.
48943
48944 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48945 __fortify_fail returning.
48946 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48947
48948 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48949 sysdeps/sh/____longjmp_chk.S.
48950 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48951 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48952 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48953 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48954
48955 * sysdeps/sh/abort-instr.h: New file.
48956 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48957 process in case exit returns.
48958
48959 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48960 initialize the GOT register before use.
48961
48962 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48963 calculation of ARGC > 4.
48964
48965 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48966 meaningful names to some local labels.
48967
48968 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48969 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48970
48971 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48972 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48973 (__arch_compare_and_exchange_val_16_acq): Likewise.
48974 (__arch_compare_and_exchange_val_32_acq): Likewise.
48975 (atomic_exchange_and_add): Fix gUSA sequence.
48976 (atomic_add): Likewise.
48977 (atomic_add_negative): Likewise.
48978 (atomic_add_zero): Likewise.
48979 (atomic_bit_test_set): Likewise.
48980
48981 2012-06-22 Andreas Schwab <schwab@redhat.com>
48982
48983 [BZ #13579]
48984 * include/link.h (struct link_map): Add l_free_initfini.
48985 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48986 l_initfini.
48987 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48988 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48989 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48990 set.
48991
48992 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48993
48994 * configure.in: Use AC_LANG_SOURCE.
48995 * configure: Regenerate.
48996
48997 2012-06-22 Roland McGrath <roland@hack.frob.com>
48998
48999 * configure.in (libc_cv_localstatedir): New substituted variable.
49000 * configure: Regenerated.
49001 * config.make.in (localstatedir): New variable, substituted from
49002 libc_cv_localstatedir.
49003 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49004 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49005 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49006 * sysdeps/gnu/configure: Regenerated.
49007
49008 2012-06-21 Jeff Law <law@redhat.com>
49009
49010 [BZ #14277]
49011 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49012 free. Simplify list management for _LIBC case.
49013
49014 2012-06-21 Joseph Myers <joseph@codesourcery.com>
49015
49016 [BZ #14273]
49017 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49018 Clear sign bit of 64-bit integer value before comparing against
49019 overflow value.
49020
49021 * sysdeps/mach/configure: Regenerated.
49022
49023 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
49024
49025 [BZ #14278]
49026 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49027
49028 2012-06-21 Jeff Law <law@redhat.com>
49029
49030 [BZ #13882]
49031 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49032 uint16_t for elements in the "seen" array to avoid char overflows.
49033 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49034 * elf/dl-open.c (dl_open_worker): Likewise.
49035
49036 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49037
49038 * scripts/list-sources.sh: Scan PORTS for translations.
49039 * po/libc.pot: Regenerated.
49040
49041 2012-06-21 Andreas Jaeger <aj@suse.de>
49042
49043 [BZ #12194]
49044 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49045 warning.
49046 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49047 * bits/byteswap-16.h (__bswap_16): Likewise.
49048 * bits/byteswap.h (__bswap_constant_16): Likewise.
49049
49050 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49051
49052 [BZ #14117]
49053 * sysdeps/i386/fpu_control.h: Removed.
49054 * sysdeps/x86_64/fpu_control.h: Moved to ...
49055 * sysdeps/x86/fpu_control.h: Here.
49056
49057 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49058 (_FPU_SETCW): Likewise.
49059
49060 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49061
49062 [BZ #14117]
49063 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49064 * sysdeps/x86/fpu/bits/mathinline.h: This.
49065 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49066
49067 [BZ #14050]
49068 [BZ #14117]
49069 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49070 functions if __x86_64__ is defined.
49071
49072 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49073
49074 * string/endian.h: Add !__ASSEMBLER__ condition for including
49075 conversion interfaces.
49076
49077 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49078
49079 [BZ #14241]
49080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49081 of ABS(x) in calculating zero to negative powers other than odd
49082 integers.
49083 * math/libm-test.inc (pow_test): Add more tests.
49084
49085 2012-06-15 Andreas Jaeger <aj@suse.de>
49086
49087 * manual/contrib.texi (Contributors): Update entry of Liubov
49088 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49089 Machado Filho.
49090
49091 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49092
49093 * string/string.h: Add __wur to GNU version of strerror_r.
49094
49095 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49096
49097 [BZ #14229]
49098 * string/Makefile (tests): Add tst-strtok_r.
49099 * string/tst-strtok_r.c: New file.
49100 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49101 RAX_LP/RDX_LP on SAVE_PTR.
49102
49103 2012-06-14 Roland McGrath <roland@hack.frob.com>
49104
49105 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49106
49107 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49108
49109 * libm_test.inc (csqrt_test): Allow more spurious underflow
49110 exceptions.
49111 (j0_test): Likewise.
49112 (j1_test): Likewise.
49113 (y0_test): Likewise.
49114 (y1_test): Likewise.
49115
49116 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49117
49118 * po/Makefile (libc.pot): Use UTF-8 charset.
49119
49120 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49121
49122 [BZ #14210]
49123 Suppress sign-conversion warning from FD_SET.
49124 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49125 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49126 not unsigned long int.
49127 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49128
49129 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
49130
49131 [BZ #14050]
49132 [BZ #14117]
49133 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49134 __extern_always_inline instead of __extern_inline.
49135 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49136 (__signbit): Likewise.
49137 (__signbitl): Support C++ namespace.
49138 (lrintf): New inline function.
49139 (lrint): Likewise.
49140 (llrintf): Likewise.
49141 (llrint): Likewise.
49142 (fmaxf): Likewise.
49143 (fmax): Likewise.
49144 (fminf): Likewise.
49145 (fmin): Likewise.
49146 (rint): Likewise.
49147 (rintf): Likewise.
49148 (ceil): Likewise.
49149 (ceilf): Likewise.
49150 (floor): Likewise.
49151 (floorf): Likewise.
49152 (nearbyint): Likewise.
49153 (nearbyintf): Likewise.
49154
49155 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
49156
49157 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49158 non-default versions.
49159
49160 2012-06-11 Roland McGrath <roland@hack.frob.com>
49161
49162 [BZ #14218]
49163 * manual/argp.texi (Argp): Reword argp_parse description slightly.
49164
49165 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
49166
49167 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49168 (FE_UPWARD, FE_DOWNWARD): Don't define.
49169 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49170 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49171
49172 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49173 reading it.
49174 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49175 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49176
49177 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49178
49179 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49181 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49182 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49183
49184 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
49185
49186 [BZ #14117]
49187 * sysdeps/i386/fpu/bits/fenv.h: Removed.
49188 * sysdeps/i386/fpu/Implies: New file.
49189 * sysdeps/x86_64/fpu/Implies: Likewise.
49190 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49191 * sysdeps/x86/fpu/bits/fenv.h: This.
49192
49193 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49194 __SSE_MATH__.
49195
49196 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49197
49198 [BZ #14134]
49199 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49200 character 0xffff that matches the last element of the
49201 conversion table.
49202
49203 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49204
49205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49206 fmodl commit.
49207
49208 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49209
49210 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49211 values higher than 25.6283.
49212
49213 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49214
49215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49216 subnormal exponent extraction and add some __builtin_expect.
49217 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49218 Fix for subnormal mantissa calculation.
49219
49220 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49221
49222 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49223 cpu2 is -1 and errno is not ENOSYS.
49224
49225 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49226
49227 [BZ #14117]
49228 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49229 * sysdeps/x86/bits/string.h: This.
49230 * sysdeps/x86_64/bits/string.h: Removed.
49231
49232 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49233 if not compiling for x86-64, but compiling for >= i486.
49234
49235 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49236 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49237
49238 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49239 New macro from Linux kernel 3.4.0.
49240 (FP_XSTATE_MAGIC2): Likewise.
49241 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49242 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49243 (struct _fpx_sw_bytes): New struct.
49244 (struct _xsave_hdr): Likewise.
49245 (struct _ymmh_state): Likewise.
49246 (struct _xstate): Likewise.
49247
49248 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49249 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49250 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49251 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49252 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49253 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49254
49255 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49256 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49257 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49258 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49259 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49260 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49261
49262 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49263
49264 [BZ #13743]
49265 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49266 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49267 (sysdep_headers): Include sys/platform/ppc.h.
49268 * sysdeps/powerpc/test-gettimebase.c: Test for
49269 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49270 * manual/Makefile (appendices): Include platform.texi.
49271 * manual/contrib.texi (Contributors): Update @node pointers.
49272 * manual/maint.texi (Maintenance): Likewise.
49273 (Platform): New node.
49274 * manual/platform.texi: New file. Document the new features.
49275
49276 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49277 Jakub Jelinek <jakub@redhat.com>
49278
49279 [BZ #14188]
49280 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49281 where __builtin_expect is unavailable.
49282
49283 2012-06-03 David S. Miller <davem@davemloft.net>
49284
49285 * stdlib/longlong.h: Updated from GCC.
49286
49287 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49288
49289 [BZ #14042]
49290 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49291 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49292 __mcount_internal.
49293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49294 (GLIBC_2.16): Likewise.
49295
49296 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49297
49298 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49299
49300 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49301
49302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49303 (default-abi): New variable.
49304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49305 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49306 variable.
49307 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49308 Likewise.
49309 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49310 Likewise.
49311 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49312 Likewise.
49313
49314 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49315 definition. Document in comment.
49316
49317 2012-06-01 David S. Miller <davem@davemloft.net>
49318
49319 * stdlib/longlong.h: Updated from GCC.
49320
49321 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49322
49323 [BZ #14117]
49324 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49325 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49326 sys/debugreg.h sys/io.h here.
49327 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49328 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49329 sys/io.h.
49330 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49331 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49332 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49333 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49334 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49335 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49336
49337 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49338 Define only if __x86_64__ is defined.
49339
49340 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49341
49342 [BZ #14048]
49343 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49344 Use int64_t for variable i.
49345 * math/libm-test.inc (fmod_test): Add more tests.
49346
49347 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49348 z computation is not scheduled after fetestexcept.
49349 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49350 Use math_force_eval instead of asm to ensure calculation scheduled
49351 before exception test.
49352 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49353 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49354
49355 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49356
49357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49358 computation is not scheduled after fetestexcept.
49359
49360 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49361
49362 [BZ #14117]
49363 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49364 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49365
49366 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49367
49368 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49369 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49370
49371 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49372
49373 [BZ #14117]
49374 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49375 <bits/wordsize.h>.
49376 (__WCHAR_MIN): Support __WORDSIZE == 64.
49377 (__WCHAR_MAX): Likewise.
49378
49379 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49380 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49381
49382 [BZ #14183]
49383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49384 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49385
49386 [BZ #14117]
49387 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49388 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49389
49390 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49391 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49392
49393 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49394 Defined to 1 if __x86_64__ isn't defined.
49395 (_STAT_VER_LINUX_OLD): New.
49396 (st_atime): Remove duplicate.
49397 (st_mtime): Likewise.
49398 (st_ctime): Likewise.
49399
49400 2012-05-31 David S. Miller <davem@davemloft.net>
49401
49402 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49403 entries.
49404
49405 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49406
49407 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49408 gen-libm-test.pl.
49409
49410 [BZ #14132]
49411 * elf/dl-reloc.c: Include <_itoa.h>.
49412 (_dl_reloc_bad_type): Remove use of INTUSE.
49413 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49414 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49415 * stdio-common/psiginfo.c (psiginfo): Likewise.
49416 * stdio-common/psignal.c (psignal): Likewise.
49417 * string/strsignal.c (strsignal): Likewise.
49418 * include/signal.h (_sys_siglist): Declare hidden proto.
49419 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49420 INTVARDEF with libc_hidden_data_def.
49421 * stdio-common/itoa-udigits.c: Likewise.
49422 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49423 (_itoa_lower_digits_internal): Remove declaration.
49424 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49425 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49426 (_sys_sigabbrev_internal): Remove aliases.
49427 (_sys_siglist): Define hidden alias.
49428
49429 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49430
49431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49432 bits/sysctl.h.
49433
49434 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49435
49436 [BZ #14117]
49437 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49438 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49439
49440 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49441 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49442 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49443 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49444 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49445 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49446
49447 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49448 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49449 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49450
49451 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49452 with __addr.
49453 (insw): Likewise.
49454 (insl): Likewise.
49455 (outsb): Likewise.
49456 (outsw): Likewise.
49457 (outsl): Likewise.
49458
49459 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49460 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49461 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49462
49463 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49464 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49465 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49466 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49467 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49468 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49469
49470 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49471 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49472
49473 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49474 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49475
49476 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49477 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49478 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49479
49480 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49481 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49482 to ...
49483 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49484
49485 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49486 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49487 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49488
49489 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49490 for x86-64.
49491 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49492
49493 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49494
49495 * math/math.h (M_El): Use two more decimal places.
49496 (M_LOG2El): Likewise.
49497 (M_LOG10El): Likewise.
49498 (M_LN2l): Likewise.
49499 (M_LN10l): Likewise.
49500 (M_PIl): Likewise.
49501 (M_PI_2l): Likewise.
49502 (M_PI_4l): Likewise.
49503 (M_1_PIl): Likewise.
49504 (M_2_PIl): Likewise.
49505 (M_2_SQRTPIl): Likewise.
49506 (M_SQRT2l): Likewise.
49507 (M_SQRT1_2l): Likewise.
49508
49509 2012-05-31 David S. Miller <davem@davemloft.net>
49510
49511 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49512 values between float registers.
49513 * sysdeps/sparc/sparc64/memset.S: Likewise.
49514 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49515
49516 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49517
49518 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49519 -D_FORTIFY_SOURCE=1.
49520 (CPPFLAGS-tst-longjmp_chk.c): Define.
49521 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49522 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49523 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49524 CFLAGS-tst-wchar-h.c.
49525
49526 2012-05-31 Marek Polacek <polacek@redhat.com>
49527
49528 [BZ #14132]
49529 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49530 __endmntent_internal): Remove declaration.
49531 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49532 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49533 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49534
49535 2012-05-30 David S. Miller <davem@davemloft.net>
49536
49537 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49538 (___Q_simulate_exceptions): Use real FP ops rather than writing
49539 into the %fsr.
49540 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49541 Likewise.
49542
49543 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49544
49545 [BZ #14117]
49546 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49547 * sysdeps/x86/bits/xtitypes.h: This.
49548
49549 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49550 * sysdeps/x86/bits/wordsize.h: This.
49551
49552 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49553 * sysdeps/x86/bits/huge_vall.h: This.
49554
49555 * sysdeps/i386/bits/select.h: Removed.
49556 * sysdeps/x86_64/bits/select.h: Renamed to ...
49557 * sysdeps/x86/bits/select.h: This.
49558
49559 * sysdeps/i386/bits/setjmp.h: Removed.
49560 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49561 * sysdeps/x86/bits/setjmp.h: This.
49562
49563 * sysdeps/i386/bits/mathdef.h: Removed.
49564 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49565 * sysdeps/x86/bits/mathdef.h: This.
49566
49567 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49568
49569 [BZ #14132]
49570 * include/sys/socket.h (__connect_internal)
49571 (__libc_sa_len_internal): Remove declaration.
49572 (__connect, __libc_sa_len): Declare hidden_proto.
49573 (SA_LEN): Remove use of INTUSE.
49574 * socket/connect.c: Add libc_hidden_def.
49575 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49576 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49577 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49578 alias.
49579 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49580 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49581 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49582 of adding _internal alias.
49583
49584 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49585
49586 [BZ #14117]
49587 * sysdeps/i386/bits/link.h: Removed.
49588 * sysdeps/i386/bits/linkmap.h: Likewise.
49589 * sysdeps/x86_64/bits/link.h: Renamed to ...
49590 * sysdeps/x86/bits/link.h: This.
49591 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49592 * sysdeps/x86/bits/linkmap.h: This.
49593
49594 * sysdeps/i386/bits/endian.h: Removed.
49595 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49596 * sysdeps/x86/bits/endian.h: This.
49597
49598 * sysdeps/i386/bits/byteswap.h: Removed.
49599 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49600 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49601 * sysdeps/x86/bits/byteswap.h: This.
49602 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49603 * sysdeps/x86/bits/byteswap-16.h: This.
49604 * sysdeps/i386/Implies: Add x86.
49605 * sysdeps/x86_64/Implies: Likewise.
49606
49607 2012-05-30 David S. Miller <davem@davemloft.net>
49608
49609 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49610 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49611 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49612 (FP_TRAPPING_EXCEPTIONS): Define.
49613 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49614 (FP_TRAPPING_EXCEPTIONS): Define.
49615 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49616 subnormals only when inexact has been signalled or underflow
49617 exceptions are enabled.
49618 (_FP_PACK_CANONICAL): Likewise.
49619
49620 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49621
49622 [BZ #14183]
49623 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49624 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49625
49626 2012-05-30 Richard Henderson <rth@twiddle.net>
49627
49628 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49629 with #ifndef NOT_IN_libc.
49630
49631 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49632 marked to avoid plt entry.
49633
49634 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49635
49636 [BZ #14112]
49637 * Makeconfig (default-abi): New macro.
49638 (abi-includes): Likewise.
49639 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49640 $(abi-$(default-abi)-lib-soname) for soname if defined.
49641 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49642 abi-variants.
49643 * Makefile (installed-stubs): Likewise.
49644 * include/stubs-biarch.h: Removed.
49645 * scripts/lib-names.awk: Only handle one library at a time.
49646 * scripts/soversions.awk: Remove WORDSIZE support.
49647 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49648 entries.
49649 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49650 Removed.
49651 (syscall-list-default-condition): Likewise.
49652 (syscall-list-default-condition): Likewise.
49653 (syscall-list-includes): Likewise.
49654 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49655 syscall-list-* with abi-*. Handle undefined abi-variants.
49656 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49657 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49658 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49659 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49660 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49661 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49662 Removed.
49663 (syscall-list-32-options): Likewise.
49664 (syscall-list-32-condition): Likewise.
49665 (syscall-list-64-options): Likewise.
49666 (syscall-list-64-condition): Likewise.
49667 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49668 macro.
49669 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49670 Renamed to ...
49671 (abi-*): This.
49672 (abi-64-ld-soname): New macro.
49673 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49674 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49675 Renamed to ...
49676 (abi-*): This.
49677 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49678 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49679
49680 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49681
49682 * sysdeps/unix/sysv/linux/kernel-features.h
49683 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49684 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49685 include <kernel-features.h>.
49686 [!__NR_ftruncate64]: Remove conditional code.
49687 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49688 [__NR_ftruncate64]: Make code unconditional.
49689 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49690 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49691 include <kernel-features.h>.
49692 [!__NR_ftruncate64]: Remove conditional code.
49693 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49694 [__NR_ftruncate64]: Make code unconditional.
49695 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49697 include <kernel-features.h>.
49698 [!__NR_ftruncate64]: Remove conditional code.
49699 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49700 [__NR_ftruncate64]: Make code unconditional.
49701 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49703 include <kernel-features.h>.
49704 [!__NR_ftruncate64]: Remove conditional code.
49705 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49706 [__NR_ftruncate64]: Make code unconditional.
49707 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49708
49709 * configure.in (libc_cv_fpie): Weaken to a compile test using
49710 LIBC_TRY_CC_OPTION.
49711 * configure: Regenerated.
49712
49713 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49714
49715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49719 Refreshed.
49720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49726 Refreshed.
49727
49728 2012-05-27 David S. Miller <davem@davemloft.net>
49729
49730 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49731 (___Q_zero): New.
49732 (__Q_simulate_exceptions): Return void. Change to simulate
49733 exceptions by writing into the %fsr.
49734 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49735 (__Qp_handle_exceptions): Likewise.
49736 (numbers): Delete.
49737 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49738 __Qp_handle_exceptions.
49739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49740 __Qp_handle_exceptions.
49741 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49742 as unused and give dummy FP_RND_NEAREST initializer.
49743 (FP_INHIBIT_RESULTS): Define.
49744 (___Q_simulate_exceptions): Update declaration.
49745 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49746 formatting.
49747 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49748 as unused and give dummy FP_RND_NEAREST initializer.
49749 (__Qp_handle_exceptions): Update declaration.
49750 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49751 formatting.
49752
49753 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49754
49755 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49756 the temporary FPU control word.
49757 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49758 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49759 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49760 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49761 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49762 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49763 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49764 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49765 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49766 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49767 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49768
49769 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49770
49771 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49772 fields.
49773
49774 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49775
49776 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49777 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49778 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49779 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49780 Likewise.
49781 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49782 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49783 Likewise.
49784
49785 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49786
49787 * po/h.po: Update from translation team.
49788
49789 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49790
49791 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49792
49793 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49794 handling of denormals.
49795 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49796 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49797 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49798 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49799 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49802 Likewise.
49803
49804 2012-05-26 Marek Polacek <polacek@redhat.com>
49805
49806 [BZ #14152]
49807 * math/libm-test.inc (fma_test): Don't always expect underflow
49808 exception.
49809
49810 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49811
49812 [BZ #12416]
49813 * elf/tst-execstack.c: Include stackinfo.h.
49814 (do_test): Adjust test case to ensure that pthread_getattr_np
49815 behaviour remains the same after marking stack executable.
49816
49817 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49818
49819 * sysdeps/unix/sysv/linux/kernel-features.h
49820 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49821 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49822 kernel-features.h.
49823 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49824 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49825 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49826 kernel-features.h.
49827 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49828 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49829
49830 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49831
49832 * configure.in: Define the default includes to being none.
49833 * configure: Regenerated.
49834
49835 2012-05-25 Roland McGrath <roland@hack.frob.com>
49836
49837 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49838 * sysdeps/x86_64/setjmp.S: Likewise.
49839 * sysdeps/i386/bsd-setjmp.S: Likewise.
49840 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49841 * sysdeps/i386/setjmp.S: Likewise.
49842 * sysdeps/i386/__longjmp.S: Likewise.
49843 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49844 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49845
49846 * include/stap-probe.h: New file.
49847 * configure.in: Handle --enable-systemtap.
49848 * configure: Regenerated.
49849 * config.h.in (USE_STAP_PROBE): New #undef.
49850 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49851 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49852 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49853
49854 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49855
49856 [BZ #13717]
49857 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49858 to 2.4.0 where earlier.
49859 * sysdeps/unix/sysv/linux/configure: Regenerated.
49860 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49861 <kernel-features.h>.
49862 [__ASSUME_32BITUIDS]: Make code unconditional.
49863 [!__ASSUME_32BITUIDS]: Remove conditional code.
49864 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49865 <kernel-features.h>.
49866 [__ASSUME_32BITUIDS]: Make code unconditional.
49867 [!__ASSUME_32BITUIDS]: Remove conditional code.
49868 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49869 [__ASSUME_32BITUIDS]: Make code unconditional.
49870 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49871 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
49896 <kernel-features.h>.
49897 [__ASSUME_32BITUIDS]: Make code unconditional.
49898 [!__ASSUME_32BITUIDS]: Remove conditional code.
49899 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49900 <kernel-features.h>.
49901 [__ASSUME_32BITUIDS]: Make code unconditional.
49902 [!__ASSUME_32BITUIDS]: Remove conditional code.
49903 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49904 <kernel-features.h>.
49905 [__ASSUME_32BITUIDS]: Make code unconditional.
49906 [!__ASSUME_32BITUIDS]: Remove conditional code.
49907 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49908 <kernel-features.h>.
49909 [__ASSUME_32BITUIDS]: Make code unconditional.
49910 [!__ASSUME_32BITUIDS]: Remove conditional code.
49911 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49912 <kernel-features.h>.
49913 [__NR_setresgid] (__setresgid): Do not declare.
49914 [__ASSUME_32BITUIDS]: Make code unconditional.
49915 [!__ASSUME_32BITUIDS]: Remove conditional code.
49916 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49917 <kernel-features.h>.
49918 [__NR_setresuid] (__setresuid): Do not declare.
49919 [__ASSUME_32BITUIDS]: Make code unconditional.
49920 [!__ASSUME_32BITUIDS]: Remove conditional code.
49921 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
49946 <kernel-features.h>.
49947 [__ASSUME_32BITUIDS]: Make code unconditional.
49948 [!__ASSUME_32BITUIDS]: Remove conditional code.
49949 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49950 <kernel-features.h>.
49951 [__ASSUME_32BITUIDS]: Make code unconditional.
49952 [!__ASSUME_32BITUIDS]: Remove conditional code.
49953 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49954 <kernel-features.h>.
49955 [__ASSUME_32BITUIDS]: Make code unconditional.
49956 [!__ASSUME_32BITUIDS]: Remove conditional code.
49957 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49958 <kernel-features.h>.
49959 [__ASSUME_32BITUIDS]: Make code unconditional.
49960 [!__ASSUME_32BITUIDS]: Remove conditional code.
49961 * sysdeps/unix/sysv/linux/kernel-features.h
49962 (__ASSUME_SETRESUID_SYSCALL): Remove.
49963 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49964 (__ASSUME_32BITUIDS): Likewise.
49965 (__ASSUME_LDT_WORKS): Likewise.
49966 (__ASSUME_O_DIRECTORY): Likewise.
49967 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49968 architecture but not kernel version.
49969 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49970 (__ASSUME_MMAP2_SYSCALL): Likewise.
49971 (__ASSUME_STAT64_SYSCALL): Likewise.
49972 (__ASSUME_IPC64): Likewise.
49973 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49974 <kernel-features.h>.
49975 [__ASSUME_32BITUIDS]: Make code unconditional.
49976 [!__ASSUME_32BITUIDS]: Remove conditional code.
49977 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49978 <kernel-features.h>.
49979 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49980 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49981 132096]: Remove conditional code.
49982 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49983 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49984 <kernel-features.h>.
49985 [__ASSUME_32BITUIDS]: Make code unconditional.
49986 [!__ASSUME_32BITUIDS]: Remove conditional code.
49987 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49988 <kernel-features.h>.
49989 [__ASSUME_32BITUIDS]: Make code unconditional.
49990 [!__ASSUME_32BITUIDS]: Remove conditional code.
49991 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49992 <kernel-features.h>.
49993 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49994 unconditional.
49995 (__setresgid): Do not declare.
49996 [__ASSUME_32BITUIDS]: Make code unconditional.
49997 [!__ASSUME_32BITUIDS]: Remove conditional code.
49998 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49999 <kernel-features.h>.
50000 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50001 unconditional.
50002 (__setresuid): Do not declare.
50003 [__ASSUME_32BITUIDS]: Make code unconditional.
50004 [!__ASSUME_32BITUIDS]: Remove conditional code.
50005 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50006 <kernel-features.h>.
50007 [__ASSUME_32BITUIDS]: Make code unconditional.
50008 [!__ASSUME_32BITUIDS]: Remove conditional code.
50009 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
50010 <kernel-features.h>.
50011 [__ASSUME_32BITUIDS]: Make code unconditional.
50012 [!__ASSUME_32BITUIDS]: Remove conditional code.
50013
50014 2012-05-25 Richard Henderson <rth@twiddle.net>
50015
50016 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50017 dl_hwcap to ifunc resolver.
50018 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50019 elf_ifunc_invoke.
50020 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50021 dl_hwcap to ifunc resolver.
50022 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50023
50024 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50025
50026 [BZ #14153]
50027 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50028 for |x| <= 2**-26, not 2**-57.
50029 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50030 exception.
50031
50032 2012-05-24 Jeff Law <law@redhat.com>
50033
50034 * stdio-common/Makefile (tests): Add bug25.
50035 * stdio-common/bug25.c: New test.
50036
50037 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50038
50039 [BZ #13576]
50040 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50041 multiple of MALLOC_ALIGNMENT in size.
50042 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50043
50044 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50045
50046 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50047 Require >= 256.
50048 (FILENAME_MAX): Use macro-int-constant.
50049 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50050 (_IOFBF): Use macro-int-constant.
50051 (_IOLBF): Likewise.
50052 (_IONBF): Likewise.
50053 (SEEK_CUR): Likewise.
50054 (SEEK_END): Likewise.
50055 (SEEK_SET): Likewise.
50056 (TMP_MAX): Likewise.
50057 (EOF): Use macro-int-constant. Require < 0.
50058 (NULL): Use macro-constant. Require == 0.
50059 (stdin): Require type to be FILE *.
50060 (stdout): Likewise.
50061 (stderr): Likewise.
50062 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50063 macro-int-constant.
50064 (EXIT_SUCCESS): Likewise.
50065 (NULL): Use macro-constant. Require == 0.
50066 (RAND_MAX): Use macro-int-constant.
50067 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50068 [C99-based standards] (strtof): Require function.
50069 [C99-based standards] (strtold): Likewise.
50070 [C99-based standards] (strtoll): Likewise.
50071 [C99-based standards] (strtoull): Likewise.
50072 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50073 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50074 [ISO || ISO99 || ISO11] (math.h): Likewise.
50075 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50076 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50078
50079 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50080
50081 [BZ #14132]
50082 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50083 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50084 * intl/dgettext.c (DCGETTEXT): Likewise.
50085 * intl/gettext.c (DCGETTEXT): Likewise.
50086 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50087 * posix/regex_internal.h (gettext): Likewise.
50088 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50089 Remove declaration.
50090 * include/argz.h (__argz_count_internal)
50091 (__argz_stringify_internal): Remove declaration.
50092 (__argz_count, __argz_stringify): Declare hidden proto.
50093 * intl/dcgettext.c: Remove use of INTDEF.
50094 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50095 * string/argz-stringify.c: Likewise.
50096 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50097 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50098 Declare hidden proto.
50099 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50100 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50101 Declare hidden proto.
50102 * include/stdio.h (__asprintf_internal): Don't declare.
50103 (__asprintf): Don't define as macro. Declare hidden proto.
50104 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50105 (__fsetlocking): Declare hidden proto.
50106 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50107 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50108 hidden proto.
50109 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50110 (_IO_setlinebuf): Remove use of INTUSE.
50111 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50112 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50113 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50114 Remove declaration.
50115 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50116 (_IO_do_flush): Remove use of INTUSE.
50117 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50118 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50119 (_IO_adjust_column, _IO_least_wmarker)
50120 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50121 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50122 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50123 (_IO_default_doallocate, _IO_wdefault_doallocate)
50124 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50125 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50126 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50127 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50128 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50129 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50130 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50131 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50132 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50133 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50134 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50135 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50136 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50137 proto.
50138 (_IO_flush_all_internal, _IO_adjust_column_internal)
50139 (_IO_default_uflow_internal, _IO_default_finish_internal)
50140 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50141 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50142 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50143 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50144 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50145 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50146 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50147 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50148 (_IO_file_close_internal, _IO_file_close_it_internal)
50149 (_IO_file_underflow_internal, _IO_file_overflow_internal)
50150 (_IO_file_init_internal, _IO_file_attach_internal)
50151 (_IO_file_fopen_internal, _IO_file_read_internal)
50152 (_IO_file_sync_internal, _IO_file_seek_internal)
50153 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50154 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50155 (_IO_str_underflow_internal, _IO_str_overflow_internal)
50156 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50157 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50158 (_IO_list_all_internal, _IO_link_in_internal)
50159 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50160 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50161 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50162 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50163 (_IO_do_write_internal, _IO_padn_internal)
50164 (_IO_getline_info_internal, _IO_getline_internal)
50165 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50166 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50167 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50168 (_IO_vfscanf_internal, _IO_vfprintf_internal)
50169 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50170 (_IO_init_internal, _IO_un_link_internal): Don't declare.
50171 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50172 with libc_hidden_ver, remove use of INTUSE.
50173 * libio/genops.c: Likewise.
50174 * libio/freopen.c: Likewise.
50175 * libio/freopen64.c: Likewise.
50176 * libio/iofclose.c: Likewise.
50177 * libio/iofdopen.c: Likewise.
50178 * libio/iofflush.c: Likewise.
50179 * libio/iofflush_u.c: Likewise.
50180 * libio/iofgets.c: Likewise.
50181 * libio/iofgets_u.c: Likewise.
50182 * libio/iofopen.c: Likewise.
50183 * libio/iofopncook.c: Likewise.
50184 * libio/iofread.c: Likewise.
50185 * libio/iofread_u.c: Likewise.
50186 * libio/ioftell.c: Likewise.
50187 * libio/iofwrite.c: Likewise.
50188 * libio/iogetline.c: Likewise.
50189 * libio/iogets.c: Likewise.
50190 * libio/iogetwline.c: Likewise.
50191 * libio/iopadn.c: Likewise.
50192 * libio/iopopen.c: Likewise.
50193 * libio/ioseekoff.c: Likewise.
50194 * libio/ioseekpos.c: Likewise.
50195 * libio/iosetbuffer.c: Likewise.
50196 * libio/iosetvbuf.c: Likewise.
50197 * libio/ioungetc.c: Likewise.
50198 * libio/ioungetwc.c: Likewise.
50199 * libio/iovdprintf.c: Likewise.
50200 * libio/iovsprintf.c: Likewise.
50201 * libio/iovsscanf.c: Likewise.
50202 * libio/memstream.c: Likewise.
50203 * libio/obprintf.c: Likewise.
50204 * libio/oldfileops.c: Likewise.
50205 * libio/oldiofclose.c: Likewise.
50206 * libio/oldiofdopen.c: Likewise.
50207 * libio/oldiofopen.c: Likewise.
50208 * libio/oldiopopen.c: Likewise.
50209 * libio/oldstdfiles.c: Likewise.
50210 * libio/putc.c: Likewise.
50211 * libio/setbuf.c: Likewise.
50212 * libio/setlinebuf.c: Likewise.
50213 * libio/stdfiles.c: Likewise.
50214 * libio/strops.c: Likewise.
50215 * libio/vasprintf.c: Likewise.
50216 * libio/vscanf.c: Likewise.
50217 * libio/vsnprintf.c: Likewise.
50218 * libio/vswprintf.c: Likewise.
50219 * libio/wfiledoalloc.c: Likewise.
50220 * libio/wfileops.c: Likewise.
50221 * libio/wgenops.c: Likewise.
50222 * libio/wmemstream.c: Likewise.
50223 * libio/wstrops.c: Likewise.
50224 * libio/__fpurge.c: Likewise.
50225 * libio/__fsetlocking.c: Likewise.
50226 * assert/assert.c: Likewise.
50227 * debug/fgets_chk.c: Likewise.
50228 * debug/fgets_u_chk.c: Likewise.
50229 * debug/fread_chk.c: Likewise.
50230 * debug/fread_u_chk.c: Likewise.
50231 * debug/gets_chk.c: Likewise.
50232 * debug/obprintf_chk.c: Likewise.
50233 * debug/vasprintf_chk.c: Likewise.
50234 * debug/vdprintf_chk.c: Likewise.
50235 * debug/vsnprintf_chk.c: Likewise.
50236 * debug/vsprintf_chk.c: Likewise.
50237 * malloc/mtrace.c: Likewise.
50238 * misc/error.c: Likewise.
50239 * misc/syslog.c: Likewise.
50240 * stdio-common/asprintf.c: Likewise.
50241 * stdio-common/fxprintf.c: Likewise.
50242 * stdio-common/getw.c: Likewise.
50243 * stdio-common/isoc99_fscanf.c: Likewise.
50244 * stdio-common/isoc99_scanf.c: Likewise.
50245 * stdio-common/isoc99_vfscanf.c: Likewise.
50246 * stdio-common/isoc99_vscanf.c: Likewise.
50247 * stdio-common/isoc99_vsscanf.c: Likewise.
50248 * stdio-common/printf-prs.c: Likewise.
50249 * stdio-common/printf_fp.c: Likewise.
50250 * stdio-common/printf_fphex.c: Likewise.
50251 * stdio-common/printf_size.c: Likewise.
50252 * stdio-common/putw.c: Likewise.
50253 * stdio-common/scanf.c: Likewise.
50254 * stdio-common/sprintf.c: Likewise.
50255 * stdio-common/tmpfile.c: Likewise.
50256 * stdio-common/vfprintf.c: Likewise.
50257 * stdio-common/vfscanf.c: Likewise.
50258 * stdlib/strfmon_l.c: Likewise.
50259 * sunrpc/openchild.c: Likewise.
50260 * sunrpc/xdr_stdio.c: Likewise.
50261 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50262 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50263
50264 2012-05-24 Roland McGrath <roland@hack.frob.com>
50265
50266 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50267
50268 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50269 in the third column, to generate for the shared library an IFUNC
50270 that uses _dl_vdso_vsym.
50271 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50272 * Makeconfig (object-suffixes-noshared): New variable.
50273
50274 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50275 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50276 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50277 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50278
50279 [BZ #14132]
50280 * include/sys/time.h (__gettimeofday): Remove macro.
50281 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50282 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50283 Remove INTDEF.
50284 (__gettimeofday): Add libc_hidden_def.
50285 (gettimeofday): Add libc_hidden_weak.
50286 * sysdeps/mach/gettimeofday.c: Likewise.
50287 * sysdeps/posix/gettimeofday.c: Likewise.
50288 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50289 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50290 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50291 (__gettimeofday_internal): Remove strong_alias.
50292 (__gettimeofday): Add libc_hidden_def.
50293 (gettimeofday): Add libc_hidden_weak.
50294 * sysdeps/unix/syscalls.list (gettimeofday):
50295 Remove __gettimeofday_internal alias.
50296
50297 2012-05-24 Daniel Jacobowitz <drow@false.org>
50298 H.J. Lu <hongjiu.lu@intel.com>
50299
50300 [BZ #12495]
50301 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50302 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50303 (largebin_index_32_big): New.
50304 (largebin_index): Use it for 16-byte alignment.
50305 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50306 correction with front_misalign.
50307
50308 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50309
50310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50312 Likewise.
50313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50314 Likewise.
50315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50316 Likewise.
50317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50318 Likewise.
50319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50320 Likewise.
50321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50322 Likewise.
50323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50324 Likewise.
50325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50326 Likewise.
50327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50328 Likewise.
50329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50330 Likewise.
50331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50332 Likewise.
50333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50334 Likewise.
50335
50336 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50337 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50338
50339 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50340
50341 [BZ #10846]
50342 [BZ #14036]
50343 * math/libm-test.inc (exp_test): Add test from bug 14036.
50344 (pow_test): Add test from bug 10846.
50345
50346 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50347 and other flags.
50348 (special_function): Do not include flags in test name.
50349 (parse_args): Likewise.
50350 * sysdeps/i386/fpu/libm-test-ulps: Update.
50351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50352 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50353 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50355
50356 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50357 exceptions.
50358 * math/libm-test.inc ("Philosophy"): Update comment about
50359 exception testing.
50360 (UNDERFLOW_EXCEPTION): New macro.
50361 (UNDERFLOW_EXCEPTION_OK): Likewise.
50362 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50363 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50364 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50365 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50366 (INVALID_EXCEPTION_OK): Update value.
50367 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50368 (OVERFLOW_EXCEPTION_OK): Likewise.
50369 (IGNORE_ZERO_INF_SIGN): Likewise.
50370 (test_exceptions): Handle underflow exceptions.
50371 (acos_test): Update for underflow exception expectations.
50372 (cexp_test): Likewise.
50373 (clog_test): Likewise.
50374 (clog10_test): Likewise.
50375 (csqrt_test): Likewise.
50376 (ctan_test): Likewise.
50377 (ctanh_test): Likewise.
50378 (exp_test): Likewise.
50379 (exp10_test): Likewise.
50380 (exp2_test): Likewise.
50381 (expm1_test): Likewise.
50382 (fma_test): Likewise.
50383 (j0_test): Likewise.
50384 (jn_test): Likewise.
50385 (nexttoward_test): Likewise.
50386 (pow_test): Likewise.
50387 (scalbn_test): Likewise.
50388 (scalbln_test): Likewise.
50389 (tan_test): Likewise.
50390 (y1_test): Likewise.
50391 * sysdeps/i386/fpu/libm-test-ulps: Update.
50392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50393
50394 2012-05-23 David S. Miller <davem@davemloft.net>
50395
50396 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50397 (__libc_sigaction): Remove unused local variables.
50398
50399 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50400
50401 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50402
50403 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50404
50405 mktime: avoid signed integer overflow
50406 * time/mktime.c (__mktime_internal): Do not mishandle the case
50407 where diff == INT_MIN.
50408
50409 mktime: simplify computation of average
50410 * time/mktime.c (ranged_convert): Use new time_t_avg function
50411 instead of rolling our own (probably-slower) code.
50412
50413 mktime: do not assume signed right shift propagates sign bit
50414 * time/mktime.c (isdst_differ): New static function.
50415 (__mktime_internal): No need to normalize tm_isdst now.
50416 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50417 tm_isdst values.
50418
50419 mktime: merge another wrapv change from gnulib
50420 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50421 from some compilers.
50422
50423 mktime: remove incorrect attempt at unusual arithmetics
50424 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50425 The code didn't really work on such machines anyway.
50426 (TYPE_MINIMUM): Assume two's complement.
50427 (twos_complement_arithmetic): Verify that long_int and time_t
50428 are two's complement (or unsigned, in the latter case).
50429
50430 mktime: check signed shifts on long_int and time_t, too
50431 * time/mktime.c (SHR): Check that shifts work as desired
50432 on the types long_int and time_t too, as SHR is used on
50433 such types.
50434
50435 mktime: do not assume 'long' is wide enough
50436 * time/mktime.c (verify): Move decl up.
50437 (long_int): New type.
50438 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50439 to remove assumption in the code that 'long' is wide enough to
50440 store year values. This assumption is not true on x32 and on
50441 some non-glibc platforms.
50442
50443 mktime: merge wrapv change from gnulib
50444 * time/mktime.c (WRAPV): New macro.
50445 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50446 (guess_time_tm, __mktime_internal): Do not assume that signed
50447 integer overflow wraps around; modern compilers generate code
50448 where this assumption is no longer valid.
50449
50450 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50451
50452 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50453 Replace "jmp L(pseudo_end)" with "ret".
50454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50455 Likewise.
50456
50457 2012-05-23 Andreas Jaeger <aj@suse.de>
50458
50459 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50460 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50461
50462 2012-05-23 Andreas Jaeger <aj@suse.de>
50463 Maximilian Attems <max@stro.at>
50464
50465 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50466 New macros.
50467
50468 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50469
50470 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50471 code so that pseudo_end is just ret and the stack pointer is
50472 correct also for static library in error case.
50473
50474 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50475
50476 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50477 move to syscalls.list.
50478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50482
50483 * manual/install.texi (Running make install): Do not mention Linux
50484 kernel version for which pt_chown is not needed.
50485 (Linux): Do not mention problems with nscd with 2.0 kernels.
50486 * INSTALL: Regenerated.
50487
50488 2012-05-23 Andreas Jaeger <aj@suse.de>
50489
50490 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50491 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50492 macro.
50493 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50494 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50495 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50496 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50497 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50498 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50499 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50500 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50501 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50502 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50503 * sysdeps/unix/sysv/linux/bits/in.h
50504 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50505
50506 2012-05-22 Roland McGrath <roland@hack.frob.com>
50507
50508 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50509 (PREPARE_VERSION): Just use assert instead, it will be elided
50510 under [NDEBUG] anyway.
50511
50512 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50513
50514 * sysdeps/unix/sysv/linux/Makefile: Include
50515 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50516 (sysdep_routines): Remove sysctl.
50517 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50518 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50519 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50520 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50521 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50522
50523 2012-05-22 Andreas Jaeger <aj@suse.de>
50524
50525 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50526 that pseudo_end is just ret and the stack pointer is correct also
50527 for static library in error case.
50528
50529 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50530
50531 [BZ #14122]
50532 * nss/nsswitch.c (defconfig_entries): New variable.
50533 (__nss_database_lookup): Don't leak defconfig entries.
50534 (nss_parse_service_list): Don't leak on error paths.
50535 (free_database_entries): New function.
50536 (free_defconfig): New function.
50537 (free_mem): Move common code to free_database_entries.
50538
50539 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50540
50541 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50542 Add arch_prctl.
50543 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50544
50545 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50546 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50548 New macro.
50549 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50550 (INTERNAL_SYSCALL_TYPES): Likewise.
50551 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50552 (LOAD_REGS_TYPES_[1-6]): Likewise.
50553 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50554 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50555
50556 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50557
50558 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50559 copysignl for GLIBC_2_0.
50560 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50561 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50563 logbl for GLIBC_2_0.
50564 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50565 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50566
50567 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50568
50569 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50570 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50571
50572 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50573 Use "neg %eax".
50574
50575 * time/mktime.c: Update copyright years.
50576
50577 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50578
50579 mktime: merge comment-quoting-style change from gnulib
50580 * time/mktime.c: Quote 'like this' in comments.
50581 The GNU coding standards suggest that we no longer quote `like this',
50582 as "`" and "'" are typically rendered asymmetrically nowadays.
50583 The typical gnulib style is to quote 'like this' when quoting
50584 code, and "like this" when quoting English.
50585
50586 * time/mktime.c (compile-command): Add "-I.".
50587
50588 mktime: merge mktime-internal.h change from gnulib
50589 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50590
50591 mktime: merge time_r change from gnulib
50592 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50593
50594 mktime: merge DEBUG change from gnulib
50595 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50596 case system <time.h> has a #define.
50597
50598 mktime: merge <sys/types.h> change from gnulib
50599 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50600 since <time.t> is now guaranteed to define time_t.
50601
50602 mktime: merge HAVE_CONFIG_H change from gnulib
50603 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50604
50605 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50606
50607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50608 Use "neg %eax".
50609
50610 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50611 __rlim_t cast.
50612 (struct rusage): Use anonymous union to pad each field to
50613 __syscall_slong_t.
50614
50615 2012-05-21 David S. Miller <davem@davemloft.net>
50616
50617 * Makefules (o-iterator): Remove .s cases.
50618 (compile-command.s): Delete.
50619 (COMPILE.s): Delete.
50620 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50621
50622 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50623
50624 * configure.in (libc_cv_predef_stack_protector): Only consider
50625 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50626 * configure: Regenerated.
50627
50628 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50629
50630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50631 New macro. Use R*LP on int and pointer.
50632 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50633 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50634 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50635 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50636
50637 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50638 [__WORDSIZE_TIME64_COMPAT32] instead of
50639 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50640 (struct utmp): Likewise.
50641 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50642 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50643 Renamed to ...
50644 (__WORDSIZE_TIME64_COMPAT32): This.
50645 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50646 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50647 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50648 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50649 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50650 (__WORDSIZE_TIME64_COMPAT32): New macro.
50651
50652 2012-05-21 Andreas Jaeger <aj@suse.de>
50653
50654 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50655 only if [SHARED]. Add prototype for __wcschr_ia32.
50656
50657 2012-05-21 Roland McGrath <roland@hack.frob.com>
50658
50659 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50660 of %rbp unmolested in the jmp_buf while mangling the low bits.
50661 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50662 unmolested high bits of %rbp while demangling the low bits.
50663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50664
50665 2012-05-21 Andreas Jaeger <aj@suse.de>
50666
50667 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50668 * sunrpc/svc_simple.c: Use it for registerrpc.
50669 * sunrpc/xcrypt.c: Use it for passwd2des.
50670
50671 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50672
50673 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50674
50675 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50676 Don't define if [__SYSCALL_WORDSIZE != 32].
50677 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50678 New macro.
50679
50680 2012-05-21 Bruno Haible <bruno@clisp.org>
50681 Andreas Jaeger <aj@suse.de>
50682
50683 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50684 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50685 inptr and inend for must_buffer_ch.
50686 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50687 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50688 * stdio-common/Makefile (tests): Remove bug15.
50689 (bug15-ENV): Remove macro.
50690 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50691 anymore.
50692
50693 2012-05-19 Andreas Jaeger <aj@suse.de>
50694 Roland McGrath <roland@hack.frob.com>
50695
50696 * manual/contrib.texi: Completely rewritten. It contains now an
50697 alphabetical list of contributors and their contributions.
50698
50699 2012-05-21 Richard Henderson <rth@twiddle.net>
50700
50701 * misc/getauxval.c (__getauxval): Use unsigned long int.
50702 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50703 (getauxval): Use unsigned long int.
50704
50705 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50706
50707 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50708
50709 2012-05-21 Roland McGrath <roland@hack.frob.com>
50710
50711 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50712 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50713 __alignof__ (long double).
50714
50715 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50716
50717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50718
50719 2012-05-20 Richard Henderson <rth@twiddle.net>
50720
50721 * misc/getauxval.c: New file.
50722 * misc/sys/auxv.h: New file.
50723 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50724 (routines): Add getauxval.
50725 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50726 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50727 * elf/dl-sysdep.c (_dl_auxv): Remove.
50728 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50729 * elf/dl-support.c (_dl_auxv): New variable.
50730 (_dl_aux_init): Initialize it.
50731 * manual/startup.texi (Auxiliary Vector): New node.
50732 * sysdeps/generic/bits/hwcap.h: New file.
50733 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50734 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50735 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50736 * sysdeps/sparc/sysdep.h: ... here. Include it.
50737 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50738 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50740 Update.
50741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50744 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50749
50750 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50751
50752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50753
50754 2012-05-19 David S. Miller <davem@davemloft.net>
50755
50756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50757
50758 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50759
50760 [BZ #14123]
50761 * math/s_ccosh.c: Include <float.h>
50762 (__ccosh): Avoid internal overflow calculating sinh and cosh
50763 values before multiplying by sin and cos values.
50764 * math/s_ccoshf.c: Likewise.
50765 * math/s_ccoshl.c: Likewise.
50766 * math/s_csin.c: Likewise.
50767 * math/s_csinf.c: Likewise.
50768 * math/s_csinl.c: Likewise.
50769 * math/s_csinh.c: Likewise.
50770 * math/s_csinhf.c: Likewise.
50771 * math/s_csinhl.c: Likewise.
50772 * math/libm-test.inc (ccos_test): Add more tests.
50773 (ccosh_test): Likewise.
50774 (csin_test): Likewise.
50775 (csinh_test): Likewise.
50776 * sysdeps/i386/fpu/libm-test-ulps: Update.
50777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50778
50779 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50780
50781 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50782 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50783
50784 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50785
50786 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50787
50788 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50789 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50790 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50791 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50792 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50793 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50794 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50795 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50796 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50797 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50798 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50799 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50800 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50801 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50802 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50803 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50804 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50805 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50806 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50807 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50808 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50809 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50810 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50811 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50812 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50813 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50814 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50815 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50816 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50817 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50818 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50819
50820 2012-05-18 Andreas Jaeger <aj@suse.de>
50821
50822 * csu/.gitignore: Delete.
50823
50824 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50825
50826 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50827 (timex): Use __syscall_slong_t.
50828
50829 2012-05-18 Andreas Jaeger <aj@suse.de>
50830 Carlos O'Donell <carlos_odonell@mentor.com>
50831
50832 * manual/install.texi (Configuring and compiling): Update
50833 description about files modified in the source directory.
50834 * INSTALL: Regenerated.
50835
50836 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50837
50838 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50839 value. Use "or" to set return value to -1.
50840 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50841 negate return value.
50842
50843 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50844
50845 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50846 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50847 failure if the compiler has Graphite support disabled.
50848 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50849 Likewise.
50850 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50851 (CFLAGS-memmove.c): Likewise.
50852 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50853 Likewise.
50854
50855 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50856
50857 * sysdeps/x86_64/x32/_itoa.h: New file.
50858
50859 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50860 getdents system call only if kernel and user dirents have the
50861 same d_ino and d_off.
50862
50863 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50864 LLONG_MAX != LONG_MAX.
50865 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50866 (_fitoa_word): Likewise.
50867
50868 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50869 years.
50870 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50871 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50872 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50873
50874 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50875 include <bits/wordsize.h>. Check __x86_64__ instead of
50876 __WORDSIZE.
50877 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50878 if __x86_64__ is defined. Use anonymous union on fpstate.
50879
50880 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50881 anonymous union.
50882
50883 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50884
50885 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50886 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50887 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50888 Refer to _rtld_local_ro instead of _rtld_global_ro.
50889 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50890 Likewise.
50891 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50892 Likewise.
50893 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50894 Likewise.
50895 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50896 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50897 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50898
50899 [BZ #10882]
50900 * sysdeps/powerpc/powerpc32/dl-machine.c
50901 (__elf_machine_runtime_setup) [PROF]: Don't reference
50902 _dl_prof_resolve.
50903
50904 2012-05-18 Andreas Jaeger <aj@suse.de>
50905
50906 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50907 function only available for GCCs before 3.4 since GCC 3.4
50908 introduced a builtin.
50909 (lrint): Likewise.
50910 (llrintf): Likewise.
50911 (llrint): Likewise.
50912 (fmaxf): Likewise.
50913 (fmax): Likewise.
50914 (fminf): Likewise.
50915 (fmin): Likewise.
50916 (rint): Likewise.
50917 (rintf): Likewise.
50918 (nearbyint): Likewise.
50919 (nearbyintf): Likewise.
50920 (ceil): Likewise.
50921 (ceilf): Likewise.
50922 (floor): Likewise.
50923 (floorf): Likewise.
50924
50925 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50926
50927 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50928 on both fields and cast pointer to __syscall_ulong_t.
50929
50930 * bits/types.h (__fsword_t): New type.
50931 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50932 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50933 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50934 (__FSWORD_T_TYPE): Likewise.
50935 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50936 (__FSWORD_T_TYPE): Likewise.
50937 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50938 (__FSWORD_T_TYPE): Likewise.
50939 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50940 (__FSWORD_T_TYPE): Likewise.
50941 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50942 __SWORD_TYPE with __fsword_t.
50943 (statfs64): Likewise.
50944
50945 2012-05-17 David S. Miller <davem@davemloft.net>
50946
50947 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50948
50949 2012-05-17 Andreas Jaeger <aj@suse.de>
50950
50951 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50952 warning.
50953
50954 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50955
50956 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50957
50958 2012-05-17 Andreas Jaeger <aj@suse.de>
50959
50960 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50961 when it is used.
50962
50963 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50964
50965 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50966
50967 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50968
50969 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50970 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50971
50972 2012-05-17 Andreas Jaeger <aj@suse.de>
50973 Carlos O'Donell <carlos_odonell@mentor.com>
50974
50975 [BZ #14059]
50976 * sysdeps/x86_64/multiarch/init-arch.h
50977 (bit_YMM_Usable): Rename to...
50978 (bit_AVX_Usable): ... this.
50979 (bit_FMA4_Usable): New macro.
50980 (bit_XMM_state): New macro.
50981 (bit_YMM_state): New macro.
50982 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50983 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50984 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50985 (CPUID_OSXSAVE): New macro.
50986 (CPUID_AVX): New macro.
50987 (CPUID_FMA4): New macro.
50988 (index_YMM_Usable): Rename to...
50989 (index_AVX_Usable): ... this.
50990 (HAS_AVX): Use HAS_ARCH_FEATURE.
50991 (HAS_FMA4): Likewise.
50992 (HAS_YMM_USABLE): Remove.
50993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50994 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50995 are present.
50996 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50997 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50998 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50999 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51000 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51001
51002 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51003
51004 * math/libm-test.c: Support platforms without multiple rounding modes.
51005 * math/bug-nextafter.c: Support platforms without FP exceptions.
51006 * math/bug-nexttoward.c: Likewise.
51007 * math/test-fenv.c: Likewise.
51008 * math/test-misc.c: Likewise.
51009 * stdlib/bug-getcontext.c: Likewise.
51010
51011 2012-05-17 Andreas Jaeger <aj@suse.de>
51012
51013 * manual/examples/search.c (critter_cmp): Change signature to
51014 avoid warnings.
51015 * manual/string.texi (Collation Functions): Likewise.
51016
51017 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51018
51019 * bits/types.h: Fold copyright years.
51020 * bits/typesizes.h: Likewise.
51021 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51022 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51023 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51024 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51025 * time/time.h: Likewise.
51026
51027 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
51028
51029 [BZ #208]
51030 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51031 in instead of returning them. Return void.
51032 (__libc_mallinfo): Accumulate over all arenas.
51033 (__malloc_stats): Adjust for change in int_mallinfo interface.
51034
51035 2012-05-16 Roland McGrath <roland@hack.frob.com>
51036
51037 [BZ #10375]
51038 * configure.in (NM): Add AC_CHECK_TOOL for it.
51039 (libc_extra_cflags): New substituted variable.
51040 Check for -fstack-protector being used implicitly.
51041 * configure: Regenerated.
51042 * config.make.in (config-extra-cflags): New variable,
51043 gets @libc_extra_cflags@.
51044 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51045
51046 [BZ #10375]
51047 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51048 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51049 * configure: Regenerated.
51050 * config.make.in (CPPUNDEFS): New substituted variable.
51051 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51052 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51053 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51054
51055 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51056
51057 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51058 (mq_attr): Use __syscall_slong_t.
51059
51060 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51061
51062 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51063 Check __x86_64__ instead of __WORDSIZE.
51064 (_STAT_VER_LINUX): Likewise.
51065 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51066 __syscall_ulong_t and __syscall_slong_t.
51067 (stat64): Likewise.
51068
51069 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51070
51071 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51072
51073 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51074
51075 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51076
51077 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51078
51079 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51080 __syscall_ulong_t.
51081
51082 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51083 include <bits/wordsize.h>. Check __x86_64__ instead of
51084 __WORDSIZE.
51085 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51086 defined.
51087 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51088
51089 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51090 include <bits/wordsize.h>. Check __x86_64__ instead of
51091 __WORDSIZE.
51092 (user_regs_struct): Use "__extension__ unsigned long long"
51093 instead of "unsigned long" if __x86_64__ is defined.
51094 (user): Likewise. Pad after pointer field if __ILP32__ is
51095 defined.
51096
51097 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51098
51099 * configure.in (makeinfo): Require version 4.5 or later. Allow
51100 versions 5 to 9.
51101 * configure: Regenerated.
51102 * manual/install.texi (texinfo): Increase version requirement to
51103 4.5 or later.
51104 * INSTALL: Regenerated.
51105
51106 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51107
51108 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51109
51110 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51111
51112 * sysdeps/x86_64/x32/ffs.c: New file.
51113
51114 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51115 __syscall_ulong_t.
51116 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51117 defined. Use __syscall_ulong_t.
51118 (shminfo): Use __syscall_ulong_t.
51119 (shm_info): Likewise.
51120
51121 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51122 __syscall_ulong_t.
51123
51124 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51125 <bits/wordsize.h>.
51126 (msgqnum_t): Use __syscall_ulong_t.
51127 (msglen_t): Likewise.
51128 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
51129 __syscall_ulong_t.
51130
51131 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51132 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51133
51134 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51135
51136 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51137 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51138
51139 * sysvipc/sys/msg.h (msgbuf): Replace long int with
51140 __syscall_slong_t.
51141
51142 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51143 include <bits/wordsize.h>. Check __x86_64__ instead of
51144 __WORDSIZE.
51145
51146 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51147 "unsigned long long int" if __x86_64__ is defined.
51148 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51149
51150 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51151 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51152 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51153
51154 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51155 <stdint.h>.
51156 (GET_PC): Cast to uintptr_t first.
51157 (GET_FRAME): Likewise.
51158 (GET_STACK): Likewise.
51159
51160 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51161 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51162 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51163 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51164 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51165 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51166 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51167 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51168 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51169 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51170 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51171 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51172 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51173 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51174 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51175 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51176 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51177 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51178 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51179 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51180 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51181 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51182 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51183 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51184 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51185 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51186 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51187 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51188 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51189
51190 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
51191
51192 * Makerules (+depfiles): Also collect depfiles from .oS in
51193 $(extra-objs).
51194 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51195 .oS, $(libnldbl-routines)).
51196
51197 * Makerules (native-compile-mkdep-flags): Define.
51198 * sunrpc/Makefile (extra-objs): Add $(addprefix
51199 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51200 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51201 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
51202 calling $(make-target-directory).
51203
51204 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51205
51206 * bits/types.h (__snseconds_t): Removed.
51207 * time/time.h (struct timespec): Replace __snseconds_t with
51208 __syscall_slong_t.
51209 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51210 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51211 Likewise.
51212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51213 (__SNSECONDS_T_TYPE): Likewise.
51214 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51215 (__SNSECONDS_T_TYPE): Likewise.
51216 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51217 (__SNSECONDS_T_TYPE): Likewise.
51218
51219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51220
51221 * sysdeps/mach/hurd/bits/typesizes.h
51222 (__SYSCALL_SLONG_TYPE): New macro.
51223 (__SYSCALL_ULONG_TYPE): Likewise.
51224
51225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51226
51227 * bits/types.h (__syscall_slong_t): New type.
51228 (__syscall_ulong_t): Likewise.
51229
51230 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51231 (__SYSCALL_ULONG_TYPE): Likewise.
51232 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51233 (__SYSCALL_SLONG_TYPE): Likewise.
51234 (__SYSCALL_ULONG_TYPE): Likewise.
51235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51236 (__SYSCALL_SLONG_TYPE): Likewise.
51237 (__SYSCALL_ULONG_TYPE): Likewise.
51238 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51239 (__SYSCALL_SLONG_TYPE): Likewise.
51240 (__SYSCALL_ULONG_TYPE): Likewise.
51241
51242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51243
51244 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51245 Add sigaltstack-offsets.sym.
51246 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51247 <sigaltstack-offsets.h>.
51248 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51249 longjmp_msg pointer.
51250 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51251 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51252 signal stack.
51253 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51254
51255 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51256
51257 * elf/stackguard-macros.h: Remove file.
51258 * sysdeps/generic/stackguard-macros.h: New file.
51259 * sysdeps/i386/stackguard-macros.h: Likewise.
51260 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51261 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51262 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51263 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51264 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51265 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51266 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51267 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51268 <elf/stackguard-macros.h>.
51269
51270 [BZ #14109]
51271 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51272 __aligned__ in attribute.
51273 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51274 (gregset_t): Likewise.
51275
51276 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51277
51278 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51279 * sysdeps/x86_64/64/Implies-after: Here. New file.
51280 * sysdeps/x86_64/x32/Implies-after: New file.
51281
51282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51283
51284 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51285 and access return value for _dl_profile_fixup. Use R10_LP to
51286 load frame size.
51287
51288 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51289
51290 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51291
51292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51293
51294 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51295 * sysdeps/x86_64/x32/sysdep.h: New file.
51296
51297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51298
51299 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51300 * sysdeps/x86_64/setjmp.S: Likewise.
51301
51302 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51303
51304 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51305 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51306 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51307 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51308 remove unused global constant.
51309
51310 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51311
51312 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51313 include of <not-cancel.h>.
51314
51315 2012-05-15 Roland McGrath <roland@hack.frob.com>
51316
51317 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51318
51319 2012-05-15 Jeff Law <law@redhat.com>
51320 Andreas Jaeger <aj@suse.de>
51321
51322 [BZ #13594]
51323 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51324 out from...
51325 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51326 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51327 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51328 code changing __hst_map_handle.map.
51329
51330 2012-05-15 Roland McGrath <roland@hack.frob.com>
51331
51332 * configure.in (sysnames): Look for Implies-before and Implies-after
51333 files.
51334 * configure: Regenerated.
51335
51336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51337
51338 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51339 8-byte data alignment with LP_SIZE alignment.
51340
51341 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51342
51343 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51344 into R10_LP.
51345
51346 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51347
51348 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51349
51350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51351
51352 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51353 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51354 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51355 Likewise.
51356 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51357
51358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51359
51360 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51361 (stackinfo_sub_sp): Likewise.
51362
51363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51364
51365 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51366 RAX_LP.
51367
51368 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51369
51370 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51371 into R*_LP.
51372
51373 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51374
51375 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51376 sizes into R*_LP.
51377
51378 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51379
51380 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51381
51382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51383
51384 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51385 into R11_LP and load __x86_64_shared_cache_size_half into
51386 R8_LP.
51387
51388 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51389
51390 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51391 R8_LP.
51392
51393 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51394
51395 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51396 logb for POWER7.
51397 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51398 logbf for POWER7.
51399 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51400 logbl for POWER7.
51401 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51402 powerpc32/power7/fpu/s_logb.c via #include.
51403 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51404 powerpc32/power7/fpu/s_logbf.c via #include.
51405 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51406 powerpc32/power7/fpu/s_logbl.c via #include.
51407
51408 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51409
51410 * README.libm: Remove file.
51411
51412 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51413
51414 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51415 count for x32. Use R*_LP and omit operand-size suffix.
51416
51417 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51418
51419 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51420 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51421 * sysdeps/x86_64/x32/shlib-versions: New file.
51422
51423 2012-05-14 Roland McGrath <roland@hack.frob.com>
51424
51425 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51426 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51427 Use _dl_fatal_printf instead.
51428
51429 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51430
51431 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51432 set if not set by the user. Do not allow for being unset.
51433 * sysdeps/unix/sysv/linux/configure: Regenerated.
51434
51435 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51436
51437 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51438 the `q' suffix from lea and replace .quad with ASM_ADDR.
51439
51440 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51441
51442 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51443 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51444 instead of $17.
51445 (PTR_DEMANGLE): Likewise.
51446
51447 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51448
51449 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51450 (LP_OP): Likewise.
51451 (ASM_ADDR): Likewise.
51452 (RAX_LP): Likewise.
51453 (RBP_LP): Likewise.
51454 (RBX_LP): Likewise.
51455 (RCX_LP): Likewise.
51456 (RDI_LP): Likewise.
51457 (RSI_LP): Likewise.
51458 (RSP_LP): Likewise.
51459 (R8_LP): Likewise.
51460 (R9_LP): Likewise.
51461 (R10_LP): Likewise.
51462 (R10_LP): Likewise.
51463 (R11_LP): Likewise.
51464 (R12_LP): Likewise.
51465 (R13_LP): Likewise.
51466 (R14_LP): Likewise.
51467 (R15_LP): Likewise.
51468
51469 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51470
51471 * sysdeps/x86_64/x32/dl-machine.h: New file.
51472
51473 2012-05-14 Andreas Jaeger <aj@suse.de>
51474
51475 * manual/Makefile (subdir): Remove export of subdir.
51476 (all): Remove target.
51477 (.PHONY): Remove all from list.
51478 (mkinstalldirs): Remove.
51479 (.PHONY): Remove installdirs from list.
51480 ($(inst_infodir)/libc.info): Use make-target-directory.
51481 (installdirs): Remove.
51482 (subdir_%): Remove.
51483 (glibc-targets): Remove.
51484 (lib): Remove.
51485 (stubs): Remove.
51486 ($(objpfx)stubs ../po/manual.pot): Remove.
51487 ($(objpfx)stamp%): Remove.
51488 (make-target-directory): Remove.
51489 (subdir_install): Remove.
51490 (routines): Remove.
51491 (aux): Remove.
51492 (sources): Remove.
51493 (objects): Remove.
51494 (headers): Remove.
51495
51496 [BZ #13750]
51497 * manual/.gitignore: Remove, it's not needed anymore.
51498 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51499 all files in it.
51500 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51501 directory.
51502 (texis): Renamed to $(objpfx)texis.
51503 (texis-path): New, contains path to generated files.
51504 (chapters.%): Use texis-path for complete path, add extra argument
51505 libc-texinfo.sh.
51506 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51507 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51508 (summary,texi, stamp-summary): Use complete path of
51509 files. Generate files in build dir.
51510 (dir-add.texi): Build in build dir.
51511 (libm-err.texi,stamp-libm-err): Likewise.
51512 (version.texi, stamp-version): Likewise.
51513 (.%c.texi): Likewise.
51514 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51515 (mostlyclean): Remove target.
51516 (realclean): Remove target.
51517 (generated): Add new variable with contents from mostlyclean and
51518 realclean, remove entries duplicated in common-mostlyclean, add
51519 stamp-libm-err and stamp-version.
51520 (generated-dirs): Add libc directory.
51521 ($(inst_infodir)/libc.info): Install files from build dir.
51522
51523 * manual/install.texi (Configuring and compiling): Adjust since
51524 the info files are not part of the tar ball anymore.
51525
51526 2012-05-14 Andreas Jaeger <aj@suse.de>
51527
51528 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51529 variable.
51530
51531 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51532
51533 [BZ #13717]
51534 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51535 to 2.2.0 where earlier.
51536 * sysdeps/unix/sysv/linux/configure: Regenerated.
51537 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51538 Remove conditional code.
51539 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51540 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51541 Remove conditional code.
51542 [!__NR_lchown]: Likewise.
51543 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51544 [__NR_lchown]: Likewise.
51545 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51546 comment referencing __ASSUME_LCHOWN_SYSCALL.
51547 * sysdeps/unix/sysv/linux/i386/sigaction.c
51548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51550 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51551 Remove conditional code.
51552 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51553 (__protocol_available): Remove #if 0 code.
51554 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51555 conditional code.
51556 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51557 * sysdeps/unix/sysv/linux/kernel-features.h
51558 (__ASSUME_GETCWD_SYSCALL): Don't define.
51559 (__ASSUME_REALTIME_SIGNALS): Likewise.
51560 (__ASSUME_PREAD_SYSCALL): Likewise.
51561 (__ASSUME_PWRITE_SYSCALL): Likewise.
51562 (__ASSUME_POLL_SYSCALL): Likewise.
51563 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51564 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51565 non-SPARC.
51566 (__ASSUME_SIOCGIFNAME): Don't define.
51567 (__ASSUME_MSG_NOSIGNAL): Likewise.
51568 (__ASSUME_SENDFILE): Define unconditionally.
51569 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51570 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51571 conditional code.
51572 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51573 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51574 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51575 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51576 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51577 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51578 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51580 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51581 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51583 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51584 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51586 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51589 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51590 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51592 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51593 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51595 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51596 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51598 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51599 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51601 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51602 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51603 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51604 Remove conditional code.
51605 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51606 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51607 Remove conditional code.
51608 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51609 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51610 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51611 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51612 Remove conditional code.
51613 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51614 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51615 Remove conditional code.
51616 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51617 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51618 Remove conditional code.
51619 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51620 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51621 Remove conditional code.
51622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51623 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51624 Remove conditional code.
51625 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51626 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51627 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51629 * sysdeps/unix/sysv/linux/sigaction.c
51630 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51631 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51632 * sysdeps/unix/sysv/linux/sigpending.c
51633 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51634 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51635 * sysdeps/unix/sysv/linux/sigprocmask.c
51636 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51637 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51638 * sysdeps/unix/sysv/linux/sigsuspend.c
51639 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51640 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51641 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51642 (__libc_missing_rt_sigs): Remove.
51643 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51644 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51645 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51646 Remove conditional code.
51647 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51648 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51649 return 1.
51650 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51651 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51652 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51653 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51654
51655 2012-05-14 Andreas Jaeger <aj@suse.de>
51656
51657 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51658 it's not used in glibc.
51659 (__coshm1): Likewise.
51660 (__acosh1p): Likewise.
51661 (__sgn): Likewise.
51662
51663 * manual/string.texi (Copying and Concatenation): Add missing
51664 variable in concat example.
51665 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51666
51667 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51668
51669 [BZ #14103]
51670 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51671 __builtin_clzl with __builtin_clzll.
51672
51673 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51674
51675 [BZ #14104]
51676 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51677 libc_freeres_ptr.
51678
51679 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51680
51681 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51682 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51683 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51684 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51685
51686 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51687
51688 * NEWS: Update ia64 info.
51689
51690 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51691
51692 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51693 used as bcopy.
51694
51695 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51696
51697 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51698 * sysdeps/unix/syscalls.list (dup3): Likewise.
51699 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51700 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51701
51702 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51703
51704 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51705 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51706
51707 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51708
51709 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51710 thread pointer.
51711 (TLS_IE): Use mov/add instead of movq/addq to load thread
51712 pointer.
51713 (TLS_GD_PREFIX): New.
51714 (TLS_GD): Use it.
51715
51716 2012-05-11 David S. Miller <davem@davemloft.net>
51717
51718 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51719 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51720 (_FPU_SETCW): Likewise.
51721
51722 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51723
51724 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51725 is 32-byte aligned.
51726
51727 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51728
51729 [BZ #11837]
51730 * iconvdata/gb18030.c: Update tables.
51731 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51732 characters specially.
51733 (BODY for TO_LOOP): Add encoding of missing ranges.
51734
51735 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51736
51737 [BZ #13673]
51738 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51739 * sysdeps/mach/hurd/dup3.c: Likewise.
51740 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51741 * sysdeps/powerpc/memmove.c:: Likewise.
51742
51743 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51744
51745 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51746 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51747
51748 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51749
51750 * elf/elf.h (R_X86_64_RELATIVE64): New.
51751 (R_X86_64_NUM): Updated.
51752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51753 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51754 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51755 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51756 tst-quad1pie tst-quad2pie
51757 (modules-names): Add tst-quadmod1 tst-quadmod2.
51758 ($(objpfx)tst-quad1): New dependency.
51759 ($(objpfx)tst-quad2): Likewise.
51760 ($(objpfx)tst-quad1pie): Likewise.
51761 ($(objpfx)tst-quad2pie): Likewise.
51762 * sysdeps/x86_64/tst-quad1.c: New file.
51763 * sysdeps/x86_64/tst-quad1pie.c: New file.
51764 * sysdeps/x86_64/tst-quad2.c: Likewise.
51765 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51766 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51767 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51768 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51769 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51770
51771 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51772
51773 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51774 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51775 * streams/stropts.h (t_scalar_t): Define type.
51776
51777 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51778 (_PATH_PRESERVE): Set to "/var/lib".
51779 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51780
51781 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51782 instead of int.
51783
51784 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51785 if __dir_mkfile succeeded.
51786
51787 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51788 checking for _hurd_dtablesize. Unlock it right after having
51789 finished _hurd_dtable allocation.
51790
51791 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51792
51793 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51794 * sysdeps/mach/hurd/configure: Regenerated.
51795 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51796 special-casing to...
51797 * sysdeps/gnu/configure.in: ... this new file.
51798 * sysdeps/unix/sysv/linux/configure: Regenerated.
51799 * sysdeps/gnu/configure: New generated file.
51800
51801 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51802 for Linux: use nsec instead of usec, as well as:
51803 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51804 members of type struct timespec.
51805 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51806 New macros.
51807 (struct stat64): Likewise.
51808 (_STATBUF_ST_NSEC): New macro.
51809 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51810
51811 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51812 __strtoul_internal rather than strtoul.
51813
51814 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51815
51816 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51817 and reject them.
51818
51819 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51820
51821 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51822 which preserves existing values.
51823 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51824
51825 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51826
51827 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51828 TIMEOUT values. Return EINVAL for NFDS values either negative or
51829 greater than FD_SETSIZE.
51830
51831 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51832
51833 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51834 allocated, call __vm_protect to finish enabling the existing space, and
51835 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51836 allocate the remainder.
51837
51838 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51839
51840 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51841 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51842
51843 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51844
51845 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51846 sysdeps/mach/hurd/readlink.c.
51847
51848 * posix/tst-sysconf.c (posix_options): Only use
51849 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51850 _POSIX_SYNCHRONIZED_IO when they are defined
51851 * sysdeps/mach/hurd/bits/posix_opt.h:
51852 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51853 (_XOPEN_REALTIME): Undefine macro.
51854 (_XOPEN_REALTIME_THREADS): Undefine macro.
51855 (_XOPEN_SHM): Undefine macro.
51856 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51857 macro to -1.
51858 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51859 macro to -1.
51860 (_POSIX_ASYNC_IO): Undefine macro.
51861 (_POSIX_PRIORITIZED_IO): Undefine macro.
51862 (_POSIX_SPIN_LOCKS): Define macro to -1.
51863
51864 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51865 SA_NODEFER, SA_RESETHAND.
51866 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51867 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51868 F_DUPFD_CLOEXEC.
51869
51870 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51871
51872 * elf/Makefile (pldd-modules): Define unconditionally.
51873
51874 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51875
51876 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51877
51878 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51879
51880 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51881 Return ENOENT when name is empty.
51882 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51883
51884 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51885
51886 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51887
51888 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51889
51890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51891
51892 Fix mlock in all cases except non-readable pages.
51893 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51894 instead of VM_PROT_ALL as parameter to __vm_wire function.
51895
51896 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51897 (__mkdir): When path is `/', just fail with EEXIST.
51898 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51899
51900 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51901
51902 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51903 <sys/uio.h> (for writev).
51904 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51905 and <sys/param.h> (for MIN).
51906
51907 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51908
51909 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51910 REQUESTED_TIME. Properly set the remaining time and return EINTR
51911 if interrupted.
51912
51913 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51914
51915 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51916 Depend on against $(link-rpcuserlibs).
51917
51918 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51919
51920 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51921 (__libc_stack_end): Do not use attribute_relro.
51922 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51923 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51924 to libthread-provided value.
51925 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51926 attribute_relro.
51927
51928 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51929
51930 [BZ #3748]
51931 * bits/libc-lock.h (__libc_once_get): New macro.
51932 * sysdeps/mach/bits/libc-lock.h: Likewise.
51933 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51934 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51935 instead of using implementation details.
51936
51937 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51938 * libio/freopen.c: Likewise.
51939 * libio/freopen64.c: Likewise.
51940 * misc/syslog.c: Likewise.
51941 * nscd/connections.c: Likewise.
51942 * nscd/netgroupcache.c: Likewise.
51943 * sysdeps/posix/getcwd.c: Likewise.
51944
51945 2012-05-10 Roland McGrath <roland@hack.frob.com>
51946
51947 * math/w_ilogbf.c: Add #include <limits.h>.
51948
51949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51950
51951 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51952 path instead of returning without unlocking.
51953
51954 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51955 immediate-write ioctls.
51956 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51957
51958 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51959
51960 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51961 __builtin_frame_address instead of making assumptions about the
51962 location of the return address relative to DATA. Force early load of
51963 the return address.
51964 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51965 __builtin_frame_address.
51966
51967 dup3 for GNU Hurd.
51968 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51969 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51970 implement dup3 and do some further code clean-ups.
51971 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51972 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51973
51974 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51975
51976 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51977
51978 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51979 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51980 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51981 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51982 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51983 d->port.lock.
51984
51985 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51986 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51987 when handler == SIG_ERR, not when handler != SIG_ERR.
51988
51989 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51990
51991 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51992 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51993 definitions.
51994
51995 accept4 for GNU Hurd.
51996 * include/sys/socket.h (__libc_accept4): New prototype.
51997 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51998 to implement __libc_accept4.
51999 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52000 __libc_accept4.
52001 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52002
52003 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52004 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52005 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52006 signal-defines.sym.
52007
52008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52009
52010 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52011
52012 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52013
52014 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52015 assertion on O_CLOEXEC flag.
52016 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52017 * hurd/intern-fd.c: Likewise.
52018 * hurd/port2fd.c: Likewise.
52019
52020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52021
52022 [BZ #3906]
52023 * bits/in.h (IPV6_PKTINFO): Define new macro.
52024 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52025
52026 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52027
52028 [BZ #13954]
52029 [BZ #13955]
52030 [BZ #13956]
52031 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52032 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52033 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52034 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52035 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52036 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52037 * math/libm-test.inc (logb_test) : Additional logb tests.
52038
52039 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52040 Andreas Jaeger <aj@suse.de>
52041
52042 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52043 * configure: Regenerated.
52044 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52045 * config.make.in (link-obsolete-rpc): New substituted variable.
52046 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52047 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52048 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52049 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52050 so that libc.a contains the symbols.
52051 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52052 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52053 * sunrpc/auth_none.c: Likewise.
52054 * sunrpc/auth_unix.c: Likewise.
52055 * sunrpc/authdes_prot.c: Likewise.
52056 * sunrpc/authuxprot.c: Likewise.
52057 * sunrpc/clnt_gen.c: Likewise.
52058 * sunrpc/clnt_perr.c: Likewise.
52059 * sunrpc/clnt_raw.c: Likewise.
52060 * sunrpc/clnt_simp.c: Likewise.
52061 * sunrpc/clnt_tcp.c: Likewise.
52062 * sunrpc/clnt_udp.c: Likewise.
52063 * sunrpc/clnt_unix.c: Likewise.
52064 * sunrpc/des_crypt.c: Likewise.
52065 * sunrpc/des_soft.c: Likewise.
52066 * sunrpc/get_myaddr.c: Likewise.
52067 * sunrpc/key_call.c: Likewise.
52068 * sunrpc/key_prot.c: Likewise.
52069 * sunrpc/netname.c: Likewise.
52070 * sunrpc/pm_getmaps.c: Likewise.
52071 * sunrpc/pm_getport.c: Likewise.
52072 * sunrpc/pmap_clnt.c: Likewise.
52073 * sunrpc/pmap_prot.c: Likewise.
52074 * sunrpc/pmap_prot2.c: Likewise.
52075 * sunrpc/pmap_rmt.c: Likewise.
52076 * sunrpc/publickey.c: Likewise.
52077 * sunrpc/rpc_cmsg.c: Likewise.
52078 * sunrpc/rpc_common.c: Likewise.
52079 * sunrpc/rpc_dtable.c: Likewise.
52080 * sunrpc/rpc_prot.c: Likewise.
52081 * sunrpc/rpc_thread.c: Likewise.
52082 * sunrpc/rtime.c: Likewise.
52083 * sunrpc/svc.c: Likewise.
52084 * sunrpc/svc_auth.c: Likewise.
52085 * sunrpc/svc_raw.c: Likewise.
52086 * sunrpc/svc_run.c: Likewise.
52087 * sunrpc/svc_tcp.c: Likewise.
52088 * sunrpc/svc_udp.c: Likewise.
52089 * sunrpc/svc_unix.c: Likewise.
52090 * sunrpc/svcauth_des.c: Likewise.
52091 * sunrpc/xcrypt.c: Likewise.
52092 * sunrpc/xdr.c: Likewise.
52093 * sunrpc/xdr_array.c: Likewise.
52094 * sunrpc/xdr_float.c: Likewise.
52095 * sunrpc/xdr_intXX_t.c: Likewise.
52096 * sunrpc/xdr_mem.c: Likewise.
52097 * sunrpc/xdr_rec.c: Likewise.
52098 * sunrpc/xdr_ref.c: Likewise.
52099 * sunrpc/xdr_sizeof.c: Likewise.
52100 * sunrpc/xdr_stdio.c: Likewise.
52101
52102 2012-05-10 Roland McGrath <roland@hack.frob.com>
52103
52104 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52105 change. Update copyright years.
52106
52107 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52108
52109 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52110
52111 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52112 Joseph Myers <joseph@codesourcery.com>
52113 Paul Pluzhnikov <ppluzhnikov@google.com>
52114
52115 [BZ #14012]
52116 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52117 requiring rpcgen.
52118 [cross-compiling] (extra-libs): Likewise.
52119 [cross-compiling] (extra-libs-others): Likewise.
52120 [cross-compiling] (librpcsvc-routines): Likewise.
52121 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52122 [cross-compiling] (omit-deps): Likewise.
52123 (sunrpc-CPPFLAGS): New variable.
52124 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52125 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52126 (cross-rpcgen-objs): New variable.
52127 (extra-objs): Append $(cross-rpcgen-objs).
52128 ($(cross-rpcgen-objs)): New rule.
52129 ($(objpfx)cross-rpcgen): Likewise.
52130 (rpcgen-cmd): Define to use $(built-program-file). Expand
52131 comment.
52132 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52133 ($(objpfx)x%.stmp): Likewise.
52134 * sunrpc/proto.h [IS_IN_build] (_): Define.
52135 [IS_IN_build] (_libc_intl_domainname): Likewise.
52136
52137 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52138
52139 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52140 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52141 and R_X86_64_TPOFF64.
52142
52143 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52144
52145 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52146 sysdeps/unix/sysv/syscalls.list.
52147 (stime): Likewise.
52148 (utime): Likewise.
52149 * sysdeps/unix/sysv/syscalls.list: Remove file.
52150
52151 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
52152
52153 [BZ #3440]
52154 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52155 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52156 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52157 (__LC_IDENTIFICATION): Make these macros useful in #if
52158 expressions, as required by C99.
52159
52160 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52161
52162 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52163 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
52164 after this.
52165
52166 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
52167
52168 * stdlib/longlong.h: Updated from GCC.
52169
52170 2012-05-09 Andreas Jaeger <aj@suse.de>
52171
52172 * nscd/nscd.c (run_modes): Make named enum, reorder so that
52173 default is first entry.
52174 (run_mode): Set type.
52175 (main): Remove informal message about syslog.
52176 (options): Fix typo.
52177
52178 [BZ #14053]
52179 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52180 to asm.
52181 (lrint): Likewise.
52182 (llrintf): Likewise.
52183 (llrint): Likewise.
52184 (rint): Likewise.
52185 (rintf): Likewise.
52186 (nearbyint): Likewise.
52187 (nearbyintf): Likewise.
52188
52189 2012-05-09 Andreas Jaeger <aj@suse.de>
52190 Pedro Alves <palves@redhat.com>
52191
52192 * nscd/nscd.c (run_mode): Use enum.
52193 (main): Cleanup coding style issue.
52194
52195 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
52196 Andreas Jaeger <aj@suse.de>
52197
52198 * nscd/nscd.c (go_background): Replaced with...
52199 (run_mode): ... this.
52200 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52201 (options): Add -F --foreground.
52202 (main): Implement it.
52203 (parse_opt): Parse it.
52204
52205 2012-05-09 Andreas Jaeger <aj@suse.de>
52206
52207 [BZ #14083]
52208 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52209 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52210 -Wconversion warning.
52211 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52212 Likewise.
52213
52214 2012-05-09 Joseph Myers <joseph@codesourcery.com>
52215
52216 * conform/data/locale.h-data (NULL): Use macro-constant. Require
52217 == 0.
52218 (LC_ALL): Use macro-int-constant.
52219 (LC_COLLATE): Likewise.
52220 (LC_CTYPE): Likewise.
52221 (LC_MESSAGES): Likewise.
52222 (LC_MONETARY): Likewise.
52223 (LC_NUMERIC): Likewise.
52224 (LC_TIME): Likewise.
52225 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52226 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52228 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52229 Specify type.
52230 [C99-based standards] (float_t): Expect type.
52231 [C99-based standards] (double_t): Expect type.
52232 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52233 type.
52234 [C99-based standards] (HUGE_VALL): Likewise.
52235 [C99-based standards] (INFINITY): Likewise.
52236 [C99-based standards] (NAN): Likewise.
52237 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52238 [C99-based standards] (FP_NAN): Likewise.
52239 [C99-based standards] (FP_NORMAL): Likewise.
52240 [C99-based standards] (FP_SUBNORMAL): Likewise.
52241 [C99-based standards] (FP_ZERO): Likewise.
52242 [C99-based standards] (FP_FAST_FMA): Use
52243 optional-macro-int-constant. Specify type. Require == 1.
52244 [C99-based standards] (FP_FAST_FMAF): Likewise.
52245 [C99-based standards] (FP_FAST_FMAL): Likewise.
52246 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52247 [C99-based standards] (FP_ILOGBNAN): Likewise.
52248 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52249 Specify type.
52250 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52251 [C99-based standards] (math_errhandling): Specify type.
52252 [ISO99 || ISO11] (signgam): Do not allow.
52253 [non-C99-based standards] (copysignf): Do not allow.
52254 [non-C99-based standards] (exp2f): Likewise.
52255 [non-C99-based standards] (log2f): Likewise.
52256 [non-C99-based standards] (modff): Allow.
52257 [non-C99-based standards] (erff): Do not allow.
52258 [non-C99-based standards] (erfcf): Likewise.
52259 [non-C99-based standards] (gammaf): Likewise.
52260 [non-C99-based standards] (hypotf): Likewise.
52261 [non-C99-based standards] (j0f): Likewise.
52262 [non-C99-based standards] (j1f): Likewise.
52263 [non-C99-based standards] (jnf): Likewise.
52264 [non-C99-based standards] (lgammaf): Likewise.
52265 [non-C99-based standards] (tgammaf): Likewise.
52266 [non-C99-based standards] (y0f): Likewise.
52267 [non-C99-based standards] (y1f): Likewise.
52268 [non-C99-based standards] (ynf): Likewise.
52269 [non-C99-based standards] (isnanf): Likewise.
52270 [non-C99-based standards] (acoshf): Likewise.
52271 [non-C99-based standards] (asinhf): Likewise.
52272 [non-C99-based standards] (atanhf): Likewise.
52273 [non-C99-based standards] (cbrtf): Likewise.
52274 [non-C99-based standards] (expm1f): Likewise.
52275 [non-C99-based standards] (ilogbf): Likewise.
52276 [non-C99-based standards] (log1pf): Likewise.
52277 [non-C99-based standards] (logbf): Likewise.
52278 [non-C99-based standards] (nextafterf): Likewise.
52279 [non-C99-based standards] (remainderf): Likewise.
52280 [non-C99-based standards] (rintf): Likewise.
52281 [non-C99-based standards] (scalbf): Likewise.
52282 [non-C99-based standards] (copysignl): Likewise.
52283 [non-C99-based standards] (exp2l): Likewise.
52284 [non-C99-based standards] (log2l): Likewise.
52285 [non-C99-based standards] (modfl): Allow.
52286 [non-C99-based standards] (erfl): Do not allow.
52287 [non-C99-based standards] (erfcl): Likewise.
52288 [non-C99-based standards] (gammal): Likewise.
52289 [non-C99-based standards] (hypotl): Likewise.
52290 [non-C99-based standards] (j0l): Likewise.
52291 [non-C99-based standards] (j1l): Likewise.
52292 [non-C99-based standards] (jnl): Likewise.
52293 [non-C99-based standards] (lgammal): Likewise.
52294 [non-C99-based standards] (tgammal): Likewise.
52295 [non-C99-based standards] (y0l): Likewise.
52296 [non-C99-based standards] (y1l): Likewise.
52297 [non-C99-based standards] (ynl): Likewise.
52298 [non-C99-based standards] (isnanl): Likewise.
52299 [non-C99-based standards] (acoshl): Likewise.
52300 [non-C99-based standards] (asinhl): Likewise.
52301 [non-C99-based standards] (atanhl): Likewise.
52302 [non-C99-based standards] (cbrtl): Likewise.
52303 [non-C99-based standards] (expm1l): Likewise.
52304 [non-C99-based standards] (ilogbl): Likewise.
52305 [non-C99-based standards] (log1pl): Likewise.
52306 [non-C99-based standards] (logbl): Likewise.
52307 [non-C99-based standards] (nextafterl): Likewise.
52308 [non-C99-based standards] (remainderl): Likewise.
52309 [non-C99-based standards] (rintl): Likewise.
52310 [non-C99-based standards] (scalbl): Likewise.
52311 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52312 [non-C99-based standards] (FP_*): Do not allow.
52313 [C99-based standards] (FP_*): Change to
52314 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52315 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52316 allow.
52317 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52318 (SIG_ERR): Likewise.
52319 [X/Open-based standards] (SIG_HOLD): Likewise.
52320 (SIG_IGN): Likewise.
52321 (SIGABRT): Use macro-int-constant. Specify type. Require
52322 positive value.
52323 (SIGFPE): Likewise.
52324 (SIGILL): Likewise.
52325 (SIGINT): Likewise.
52326 (SIGSEGV): Likewise.
52327 (SIGTER): Likewise.
52328 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52329 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52330 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52331 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52332 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52333 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52334 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52335 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52336 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52337 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52338 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52339 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52340 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52341 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52342 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52343 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52344 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52345 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52346 [X/Open-based standards] (SIGTRAP): Likewise.
52347 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52348 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52349 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52350 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52351 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52352 allow.
52353
52354 2012-05-08 Ian Wienand <ianw@vmware.com>
52355
52356 [BZ #14080]
52357 * time/tzset.c (__tzset_parse_tz): Update default rules for
52358 daylight time changes in the Energy Policy Act of 2005.
52359
52360 2012-05-09 Andreas Jaeger <aj@suse.de>
52361
52362 [BZ #13983]
52363 * elf/ldconfig.c (parse_conf): Change string to make clear that
52364 ldconfig only issued a warning if ld.so.conf does not exist.
52365
52366 2012-05-08 David S. Miller <davem@davemloft.net>
52367
52368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52369 movxtod instead of popping the value on the stack.
52370
52371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52372
52373 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52374
52375 * config.h.in: Add HAVE_ARM_PCS_VFP.
52376
52377 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52378
52379 [BZ #13979]
52380 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52381 checking but the checks are disabled for any reason.
52382
52383 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52384
52385 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52386 and ELF64_R_TYPE with ELFW(R_TYPE).
52387
52388 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52389
52390 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52391 (ulimit): Likewise.
52392
52393 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52394 (settimeofday): Likewise.
52395
52396 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52397
52398 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52399 a struct th_u2 inside the union, and move tu_block/tu_code into
52400 a new th_u3 union of tu_block/tu_code inside of that. Move
52401 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52402 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52403 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52404 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52405 (th_stuff): Change to th_u1.tu_stuff.
52406 (th_data): Define.
52407 (th_msg): Change to th_u1.th_u2.tu_data.
52408
52409 2012-05-07 David S. Miller <davem@davemloft.net>
52410
52411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52412
52413 [BZ #14074]
52414 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52415 (SETUP_PIC_REG): Use it.
52416 (SETUP_PIC_REG_LEAF): Use it.
52417
52418 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52419
52420 [BZ #13885]
52421 [BZ #13923]
52422 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52423 USE_AS_EXPM1L.
52424 (EXPL_FINITE): Likewise.
52425 (FLDLOG): Likewise.
52426 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52427 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52428 e_expl.S.
52429 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52430 USE_AS_EXPM1L.
52431 (EXPL_FINITE): Likewise.
52432 (FLDLOG): Likewise.
52433 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52434 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52435 e_expl.S.
52436 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52437 test of -max_value argument for long double.
52438 * sysdeps/i386/fpu/libm-test-ulps: Update.
52439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52440
52441 2012-05-06 David S. Miller <davem@davemloft.net>
52442
52443 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52444 quad soft-float symbols whose references which are compiler
52445 generated.
52446 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52447
52448 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52449
52450 [BZ #13884]
52451 [BZ #13914]
52452 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52453 USE_AS_EXP10L.
52454 (EXPL_FINITE): Likewise.
52455 (FLDLOG): Likewise.
52456 (c0): Likewise.
52457 (c1): Likewise.
52458 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52459 Adjust comments for base varying.
52460 (__expl_finite): Change alias to EXPL_FINITE.
52461 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52462 e_expl.S.
52463 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52464 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52465 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52466 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52467 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52468 USE_AS_EXP10L.
52469 (EXPL_FINITE): Likewise.
52470 (FLDLOG): Likewise.
52471 (c0): Likewise.
52472 (c1): Likewise.
52473 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52474 Adjust comments for base varying.
52475 (__expl_finite): Change alias to EXPL_FINITE.
52476 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52477 tests for bugs.
52478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52479
52480 [BZ #14064]
52481 * math/libm-test.inc (check_float_internal): Correct ulp
52482 calculation for subnormal expected results.
52483
52484 2012-05-06 Andreas Jaeger <aj@suse.de>
52485
52486 * Makeconfig (+math-flags): New, set to -frounding-math.
52487 (+cflags): Add +math-flags so that all of glibc gets compiled with
52488 it.
52489
52490 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52491
52492 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52493
52494 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52495 Disable one test.
52496
52497 [BZ #13787]
52498 [BZ #13922]
52499 [BZ #14036]
52500 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52501 (__ieee754_expl): Allow for and saturate large arguments.
52502 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52503 (u_threshold): Likewise.
52504 (__exp): Call __ieee754_exp before checking for overflow and
52505 underflow.
52506 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52507 (u_threshold): Likewise.
52508 (__expf): Call __ieee754_expf before checking for overflow and
52509 underflow.
52510 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52511 (u_threshold): Likewise.
52512 (__expl): Call __ieee754_expl before checking for overflow and
52513 underflow.
52514 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52515 (__ieee754_expl): Allow for and saturate large arguments.
52516 * math/libm-test.inc (exp_test): Add another test. Do not allow
52517 missing overflow exception on overflow.
52518 (expm1_test): Do not allow missing overflow exception on overflow.
52519
52520 * sysdeps/i386/fpu/e_expl.c: Move to ...
52521 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52522 rather than using inline asm.
52523 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52524 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52525 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52526
52527 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52528 (nice): Likewise.
52529 (poll): Likewise.
52530 (signal): Likewise.
52531 (time): Likewise.
52532 (times): Likewise.
52533
52534 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52535
52536 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52537 sysdeps/unix/common/syscalls.list.
52538 (fchmod): Likewise.
52539 (fchown): Likewise.
52540 (ftruncate): Likewise.
52541 (getrusage): Likewise.
52542 (gettimeofday): Likewise.
52543 (setpgid): Likewise.
52544 (setregid): Likewise.
52545 (setreuid): Likewise.
52546 (sigaction): Likewise.
52547 (truncate): Likewise.
52548 (vhangup): Likewise.
52549 * sysdeps/unix/common/syscalls.list: Remove file.
52550 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52551 * sysdeps/unix/sysv/linux/Implies: Likewise.
52552
52553 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52554
52555 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52557 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52558 Moved to ...
52559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52560 Here.
52561 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52562 to ...
52563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52564 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52565 to ...
52566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52567 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52568 to ...
52569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52570 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52571 to ...
52572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52573 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52574 to ...
52575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52576 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52577 to ...
52578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52579 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52580 to ...
52581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52582 Here.
52583 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52584 to ...
52585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52586 Here.
52587 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52588 to ...
52589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52590 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52591 Moved to ...
52592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52593 Here.
52594 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52595 to ...
52596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52597
52598 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52599
52600 * sysdeps/unix/common/bits/dirent.h: Remove file.
52601 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52602
52603 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52604 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52605 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52606 * sysdeps/unix/bsd/isatty.c: Likewise.
52607 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52608 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52609 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52610
52611 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52612
52613 [BZ #13563]
52614 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52615 long double comparison inaccuracies.
52616 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52618
52619 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52620
52621 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52622 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52623
52624 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52625
52626 [BZ #14049]
52627 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52628 nonzero digits before rounding a hex value.
52629 * stdlib/tst-strtod.c (tests): Add another test.
52630
52631 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52632
52633 * sysdeps/s390/fpu/libm-test-ulps: Update.
52634
52635 2012-05-03 Andreas Jaeger <aj@suse.de>
52636
52637 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52638 does not get optimized out.
52639 (malloc_opt_barrier): New.
52640
52641 2012-05-03 Andreas Jaeger <aj@suse.de>
52642 Roland McGrath <roland@hack.frob.com>
52643
52644 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52645 intermediate file deletion.
52646 (generated): Add .symlist files.
52647
52648 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52649
52650 [BZ #13775]
52651 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52652 Redirect under this condition.
52653 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52654 [__USE_GNU] (__dprintf_chk): Not under this condition.
52655 [__USE_GNU] (__vdprintf_chk): Likewise.
52656 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52657 under this condition.
52658 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52659 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52660 [__USE_XOPEN2K8] (vdprintf): Likewise.
52661 [__USE_GNU] (__dprintf_chk): Not under this condition.
52662 [__USE_GNU] (__vdprintf_chk): Likewise.
52663 [__USE_GNU] (dprintf): Likewise.
52664 [__USE_GNU] (vdprintf): Likewise.
52665
52666 2012-05-03 Roland McGrath <roland@hack.frob.com>
52667
52668 * elf/Makefile (common-generated): Set this instead of generated for
52669 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52670 $(all-built-dso)-derived lists.
52671
52672 2012-05-03 Andreas Jaeger <aj@suse.de>
52673
52674 * sysdeps/i386/fpu/libm-test-ulps: Update.
52675
52676 * FAQ: Removed.
52677 * FAQ.in: Likewise.
52678 * scripts/gen-FAQ.pl: Likewise.
52679 * manual/install.texi (Installation): Point to online location of
52680 FAQ.
52681 * Makefile (files-for-dist): Remove FAQ.
52682 (FAQ): Remove.
52683
52684 2012-05-02 Allan McRae <allan@archlinux.org>
52685
52686 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52687 (LDFLAGS-reldepmod5.so): Likewise.
52688 (LDFLAGS-reldep6mod1.so): Likewise.
52689 (LDFLAGS-reldep6mod4.so): Likewise.
52690 (LDFLAGS-reldep8mod3.so): Likewise.
52691 (LDFLAGS-unload4mod1.so): Likewise.
52692 (LDFLAGS-unload4mod2.so): Likewise.
52693 (LDFLAGS-tst-initorder): Likewise.
52694 (LDFLAGS-tst-initordera2.so): Likewise.
52695 (LDFLAGS-tst-initordera3.so): Likewise.
52696 (LDFLAGS-tst-initordera4.so): Likewise.
52697 (LDFLAGS-tst-initorderb2.so): Likewise.
52698 (LDFLAGS-noload): Likewise.
52699 (LDFLAGS-next): Likewise.
52700 (LDFLAGS-order2mod1.so): Likewise.
52701 (LDFLAGS-order2mod2.so): Likewise.
52702 (LDFLAGS-tst-initorder2): Likewise.
52703 (LDFLAGS-tst-initorder2a.so): Likewise.
52704 (LDFLAGS-tst-initorder2b.so): Likewise.
52705 (LDFLAGS-tst-initorder2c.so): Likewise.
52706 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52707
52708 2012-05-02 David S. Miller <davem@davemloft.net>
52709
52710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52711
52712 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52713
52714 [BZ #14055]
52715 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52716
52717 2012-05-02 Andreas Jaeger <aj@suse.de>
52718
52719 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52720 since we manipulate rounding mode.
52721 (CPPFLAGS-test-idouble.c): Likewise.
52722 (CPPFLAGS-test-ifloat.c): Likewise.
52723 (CFLAGS-test-ldouble.c): Likewise.
52724 (CFLAGS-test-double.c): Likewise.
52725 (CFLAGS-test-float.c): Likewise.
52726 (CFLAGS-test-misc.c): Likewise.
52727 (CFLAGS-test-test-fenv.c): Likewise.
52728
52729 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52730
52731 [BZ #2550]
52732 [BZ #2570]
52733 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52734 comparisons to determine direction to adjust input.
52735
52736 2012-05-01 Roland McGrath <roland@hack.frob.com>
52737
52738 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52739 output to the target.
52740
52741 * scripts/localplt.awk: New file.
52742 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52743 (check-localplt-CFLAGS): Variable removed.
52744 ($(all-built-dso:=.jmprel)): New static pattern rule.
52745 (generated): Add those targets.
52746 (localplt-built-dso): New variable.
52747 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52748
52749 * elf/check-localplt.c: File removed.
52750
52751 * scripts/check-execstack.awk: New file.
52752 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52753 (check-execstack-CFLAGS): Variable removed.
52754 ($(objpfx)check-execstack.h): Target removed.
52755 ($(objpfx)execstack-default): New target.
52756 (generated): Add that instead of check-execstack.h.
52757 ($(all-built-dso:=.phdr)): New static pattern rule.
52758 (generated): Add those targets.
52759 * elf/check-execstack.c: File removed.
52760
52761 * scripts/check-textrel.awk: New file.
52762 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52763 (check-textrel-CFLAGS): Variable removed.
52764 (all-built-dso): Use := to define.o
52765 ($(all-built-dso:=.dyn)): New static pattern rule.
52766 (generated): Add those targets.
52767 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52768 * config.make.in (READELF): New substituted variable.
52769 * elf/check-textrel.c: File removed.
52770
52771 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52772
52773 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52774 allow.
52775 * conform/data/ctype.h-data [C99-based standards] (isblank):
52776 Expect function.
52777 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52778 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52780 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52781 Specify type. Require positive value.
52782 (EILSEQ): Likewise.
52783 (ERANGE): Likewise.
52784 [ISO || POSIX] (EILSEQ): Do not expect.
52785 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52786 Specify type. Require positive value.
52787 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52788 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52789 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52790 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52791 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52792 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52793 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52794 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52795 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52796 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52797 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52798 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52799 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52800 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52801 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52802 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52803 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52804 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52805 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52806 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52807 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52808 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52809 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52810 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52811 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52812 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52813 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52814 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52815 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52816 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52817 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52818 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52819 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52820 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52821 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52822 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52823 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52824 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52825 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52826 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52827 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52828 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52829 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52830 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52831 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52832 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52833 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52834 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52835 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52836 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52837 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52838 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52839 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52840 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52841 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52842 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52843 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52844 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52845 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52846 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52847 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52848 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52849 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52850 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52851 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52852 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52853 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52854 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52855 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52856 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52857 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52858 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52859 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52860 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52861 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52862 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52863 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52864 Require >= 2.
52865 (FLT_ROUNDS): Expect as macro, not constant.
52866 (FLT_MANT_DIG): Use macro-int-constant.
52867 (DBL_MANT_DIG): Likewise.
52868 (LDBL_MANT_DIG): Likewise.
52869 (FLT_DIG): Likewise.
52870 (DBL_DIG): Likewise.
52871 (LDBL_DIG): Likewise.
52872 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52873 (DBL_MIN_EXP): Likewise.
52874 (LDBL_MIN_EXP): Likewise.
52875 (FLT_MAX_EXP): Use macro-int-constant.
52876 (DBL_MAX_EXP): Likewise.
52877 (LDBL_MAX_EXP): Likewise.
52878 (FLT_MAX_10_EXP): Likewise.
52879 (DBL_MAX_10_EXP): Likewise.
52880 (LDBL_MAX_10_EXP): Likewise.
52881 (FLT_MAX): Use macro-constant.
52882 (DBL_MAX): Likewise.
52883 (LDBL_MAX): Likewise.
52884 (FLT_EPSILON): Use macro-constant. Give upper bound.
52885 (DBL_EPSILON): Likewise.
52886 (LDBL_EPSILON): Likewise.
52887 (FLT_MIN): Likewise.
52888 (DBL_MIN): Likewise.
52889 (LDBL_MIN): Likewise.
52890 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52891 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52892 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52893 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52894 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52895 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52896 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52897 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52898 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52899 [ISO11] (FLT_TRUE_MIN): Likewise.
52900 [ISO11] (LDBL_TRUE_MIN): Likewise.
52901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52902 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52903 (SCHAR_MIN): Use macro-int-constant. Specify type.
52904 (SCHAR_MAX): Likewise.
52905 (UCHAR_MAX): Likewise.
52906 (CHAR_MIN): Likewise.
52907 (CHAR_MAX): Likewise.
52908 (MB_LEN_MAX): Use macro-int-constant.
52909 (SHRT_MIN): Use macro-int-constant. Specify type.
52910 (SHRT_MAX): Likewise.
52911 (USHRT_MAX): Likewise.
52912 (INT_MAX): Likewise.
52913 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52914 bound negative.
52915 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52916 bound with "U".
52917 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52918 bound with "L".
52919 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52920 bound negative. Suffix upper bound with "L".
52921 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52922 bound with "UL".
52923 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52924 Specify type.
52925 [C99-based standards] (LLONG_MAX): Likewise.
52926 [C99-based standards] (ULLONG_MAX): Likewise.
52927 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52928 == 0.
52929 [ISO11] (max_align_t): Require type.
52930 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52931
52932 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52933 from $CFLAGS, without defining away __attribute__ calls.
52934 (checknamespace): Use $CFLAGS_namespace.
52935
52936 * conform/conformtest.pl (@keywords): Only include C99 keywords
52937 for standards based on C99 or C11.
52938
52939 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52940 Disable tests.
52941 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52942 UNIX98]: Likewise.
52943
52944 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52945 usability of symbols in #if.
52946
52947 * conform/conformtest.pl: If macro or constant types start
52948 "promoted:", expect the symbol to be of the following type
52949 promoted by the integer promotions.
52950
52951 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52952 in one place. Also handle "macro-constant".
52953
52954 * conform/conformtest.pl: Only accept expected macro values with
52955 "==". Parse all "macro" lines in one place.
52956 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52957
52958 * conform/conformtest.pl: Handle braced types on "constant" lines
52959 instead of handling "typed-constant".
52960 * conform/data/signal.h-data: Use "constant" instead of
52961 "typed-constant".
52962
52963 * conform/conformtest.pl: Handle "optional-" at start of lines in
52964 one place rather than duplicating several cases. Handle each
52965 format of "macro" line with initial "optional-".
52966
52967 * conform/conformtest.pl: Only accept expected constant or
52968 optional-constant values with "==". Parse all "constant" lines in
52969 one place. Parse all "optional-constant" lines in one place.
52970 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52971 * conform/data/fmtmsg.h-data: Likewise.
52972 * conform/data/netinet/in.h-data: Likewise.
52973 * conform/data/tar.h-data: Likewise.
52974 * conform/data/limits.h-data: Use "==" form on "constant" and
52975 "optional-constant" lines.
52976
52977 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52978 Use -std=c99 for XOPEN2K.
52979 (@knownproblems): Remove.
52980 (newtoken): Don't check %isknown.
52981
52982 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52983 Do not expect macro.
52984 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52985 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52986 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52987 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52988 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52989 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52990 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52991 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52992 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52993 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52994 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52995 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52996 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52997 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52998 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52999 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53000 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53001 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53002 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53003 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53004 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53005 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53006 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53007 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53008 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53009 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53010 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53011 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53012 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53013 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53014 [XPG3] (acosh): Likewise.
53015 [XPG3] (asinh): Likewise.
53016 [XPG3] (atanh): Likewise.
53017 [XPG3] (cbrt): Likewise.
53018 [XPG3] (expm1): Likewise.
53019 [XPG3] (ilogb): Likewise.
53020 [XPG3] (log1p): Likewise.
53021 [XPG3] (logb): Likewise.
53022 [XPG3] (nextafter): Likewise.
53023 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53024 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53025 [XPG3] (remainder): Likewise.
53026 [XPG3] (rint): Likewise.
53027 [XPG3 || XPG4 || UNIX98] (round): Likewise.
53028 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53029 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53030 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53031 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53032 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53033 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53034 [UNIX98 || XOPEN2K] (scalb): Expect.
53035 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53036 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53037 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53038 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53039 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53040 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53041 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53042 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53043 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53044 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53045 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53046 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53047 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53048 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53049 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53050 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53051 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53052 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53053 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53054 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53055 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53056 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53057 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53058 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53059 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53060 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53061 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53062 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53063 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53064 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53065 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53066 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53067 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53068 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53069 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53070 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53071 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53072 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53073 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53074 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53075 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53076 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53077 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53078 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53079 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53080 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53081 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53082 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53083 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53084 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53085 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53086 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53087 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53088 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53089 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53090 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53091 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53092 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53093 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53094 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53095 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53096 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53097 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53098 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53099 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53100 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53101 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53102 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53103 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53104 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53105 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53106 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53107 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53108 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53109 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53110 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53111 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53112 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53113 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53114 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53115 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53116 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53117 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53118 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53119 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53120 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53121 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53122 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53123 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53124 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53125 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53126 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53127 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53128 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53129 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53130 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53131 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53132 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53133 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53134 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53135 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53136 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53137 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53138 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53139 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53140 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53141 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53142 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53143 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53144 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53145 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53146 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53147 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53148 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53149 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53150 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53151 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53152 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53153 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53154 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53155 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53156 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53157 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53158 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53159 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53160 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53161 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53162 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53163 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53164 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53165 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53166 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53167 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53168 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53169 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53170 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53171 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53172
53173 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53174 _XOPEN_SOURCE_EXTENDED for XPG4.
53175
53176 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53177
53178 * Makeconfig (localtime): Remove variable.
53179 (inst_localtime-file): Likewise.
53180
53181 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53182
53183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53184 Update.
53185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53186 Update.
53187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53188 Update.
53189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53190 Update.
53191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53192 Update.
53193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53194 Update.
53195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53196 Update.
53197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53198 Update.
53199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53200 Update.
53201
53202 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53203
53204 [BZ #2550]
53205 [BZ #2570]
53206 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53207 comparisons to determine direction to adjust input.
53208 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53209 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53210 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53211 Likewise.
53212 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53213 Likewise.
53214 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53215 Likewise.
53216 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53217 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53218 Likewise.
53219 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53220 Likewise.
53221 * math/libm-test.inc (nexttoward_test): Add more tests.
53222
53223 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53224
53225 [BZ #14040]
53226 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53227 in version GLIBC_2.1, not GLIBC_2.0.
53228 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53229 Likewise.
53230
53231 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53232
53233 [BZ #13942]
53234 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53235 (1 - x) * (1 + x).
53236 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53237 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53238 * math/libm-test.inc (acos_test): Add more tests.
53239 (asin_test): Likewise.
53240 * sysdeps/i386/fpu/libm-test-ulps: Update.
53241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53242
53243 [BZ #14034]
53244 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53245 of square root.
53246 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53247 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53248 * math/libm-test.inc (acos_test_tonearest): New function.
53249 (acos_test_towardzero): Likewise.
53250 (acos_test_downward): Likewise.
53251 (acos_test_upward): Likewise.
53252 (asin_test_tonearest): Likewise.
53253 (asin_test_towardzero): Likewise.
53254 (asin_test_downward): Likewise.
53255 (asin_test_upward): Likewise.
53256 (main): Call the new functions.
53257 * sysdeps/i386/fpu/libm-test-ulps: Update.
53258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53259
53260 [BZ #13884]
53261 [BZ #13924]
53262 * math/e_exp10.c: Include <float.h>.
53263 (__ieee754_exp10): Handle underflow here rather than multiplying
53264 large negative argument by M_LN10.
53265 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53266 of __ieee754_expf.
53267 * math/e_exp10l.c: Include <float.h>.
53268 (__ieee754_exp10l): Handle underflow here rather than multiplying
53269 large negative argument by M_LN10l.
53270 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53271 spurious overflow exception on underflow.
53272
53273 2012-04-29 Marek Polacek <polacek@redhat.com>
53274
53275 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53276 (__fortify_function): New macro.
53277 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53278 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53279 __extern_always_inline.
53280 * libio/bits/stdio2.h: Likewise.
53281 * libio/bits/stdio.h: Likewise.
53282 * string/string.h: Likewise.
53283 * string/bits/string3.h: Likewise.
53284 * include/stdio.h: Likewise.
53285 * stdlib/bits/stdlib.h: Likewise.
53286 * stdlib/stdlib.h: Likewise.
53287 * rt/bits/mqueue2.h: Likewise.
53288 * rt/mqueue.h: Likewise.
53289 * posix/bits/unistd.h: Likewise.
53290 * posix/unistd.h: Likewise.
53291 * io/bits/poll2.h: Likewise.
53292 * io/bits/fcntl2.h: Likewise.
53293 * io/fcntl.h: Likewise.
53294 * io/sys/poll.h: Likewise.
53295 * misc/bits/syslog.h: Likewise.
53296 * misc/bits/syslog-ldbl.h: Likewise.
53297 * misc/sys/syslog.h: Likewise.
53298 * socket/bits/socket2.h: Likewise.
53299 * socket/sys/socket.h: Likewise.
53300 * debug/tst-chk1.c: Likewise.
53301 * wcsmbs/bits/wchar2.h: Likewise.
53302 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53303 * wcsmbs/wchar.h: Likewise.
53304
53305 2012-04-29 Andreas Jaeger <aj@suse.de>
53306
53307 * Makerules (tests): Remove enable-check-abi protection.
53308 (check-abi-warn): Remove.
53309 (check-abi-%): Remove check-abi-warn usage.
53310
53311 * configure.in: Remove check-abi configure option.
53312 * configure: Regenerated.
53313 * config.make.in (enable-check-abi): Remove.
53314
53315 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53316
53317 [BZ #14033]
53318 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53319 double functions to double *_finite functions.
53320
53321 [BZ #13941]
53322 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53323 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53324 LDBL_MIN_EXP.
53325 * stdio-common/Makefile (tests): Add tst-sprintf3.
53326 * stdio-common/tst-sprintf3.c: New file.
53327
53328 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53329 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53330
53331 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53332
53333 * conform/conformtest.pl: Remove duplicate typed-constant
53334 handling.
53335
53336 2012-04-28 David S. Miller <davem@davemloft.net>
53337
53338 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53339 (check-abi-%): Remove AWK script prerequisite and explicit
53340 abilist directory.
53341 (check-abi): Rewrite to just diff the symlist with the abilist.
53342 (config-tls, config-abi-config): Delete, no longer used.
53343 (update-abi-%): Remove AWK script and explicit abilist directory.
53344 (update-abi): Rewrite to simply compare and conditionally copy the
53345 symlist and the sysdep abilist file. Remove update-abi-config
53346 checks.
53347 * abilist/ld.abilist: Remove.
53348 * abilist/libBrokenLocale.abilist: Remove.
53349 * abilist/libanl.abilist: Remove.
53350 * abilist/libcrypt.abilist: Remove.
53351 * abilist/libdl.abilist: Remove.
53352 * abilist/librt.abilist: Remove.
53353 * abilist/libthread_db.abilist: Remove.
53354 * abilist/libutil.abilist: Remove.
53355 * scripts/extract-abilist.awk: Remove.
53356 * scripts/merge-abilist.awk: Remove.
53357 * sysdeps/generic/libcidn.abilist: New file.
53358 * sysdeps/generic/libnss_compat.abilist: New file.
53359 * sysdeps/generic/libnss_db.abilist: New file.
53360 * sysdeps/generic/libnss_dns.abilist: New file.
53361 * sysdeps/generic/libnss_files.abilist: New file.
53362 * sysdeps/generic/libnss_hesiod.abilist: New file.
53363 * sysdeps/generic/libnss_nis.abilist: New file.
53364 * sysdeps/generic/libnss_nisplus.abilist: New file.
53365 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53366 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53367 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53368 file.
53369 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53370 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53371 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53372 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53373 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53374 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53375 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53376 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53377 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53378 file.
53379 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53380 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53381 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53382 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53383 file.
53384 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53385 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53386 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53387 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53388 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53389 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53390 file.
53391 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53392 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53393 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53394 file.
53395 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53397 New file.
53398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53399 New file.
53400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53401 New file.
53402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53403 New file.
53404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53405 New file.
53406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53407 New file.
53408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53409 New file.
53410 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53411 New file.
53412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53413 New file.
53414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53415 New file.
53416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53417 New file.
53418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53419 New file.
53420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53421 New file.
53422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53423 file.
53424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53425 New file.
53426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53427 New file.
53428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53429 file.
53430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53431 New file.
53432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53433 New file.
53434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53435 file.
53436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53437 New file.
53438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53439 New file.
53440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53441 New file.
53442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53443 New file.
53444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53445 New file.
53446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53447 New file.
53448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53450 file.
53451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53452 New file.
53453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53454 file.
53455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53456 file.
53457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53458 file.
53459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53460 file.
53461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53462 file.
53463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53464 New file.
53465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53466 file.
53467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53468 file.
53469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53470 New file.
53471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53472 file.
53473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53475 file.
53476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53477 New file.
53478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53479 file.
53480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53481 file.
53482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53483 file.
53484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53485 file.
53486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53487 file.
53488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53489 New file.
53490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53491 file.
53492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53493 file.
53494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53495 New file.
53496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53497 file.
53498 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53499 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53500 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53501 file.
53502 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53503 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53504 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53505 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53506 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53507 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53508 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53509 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53510 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53511 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53514 file.
53515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53516 New file.
53517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53518 file.
53519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53520 file.
53521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53522 file.
53523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53524 file.
53525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53526 file.
53527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53528 New file.
53529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53530 New file.
53531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53532 file.
53533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53534 New file.
53535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53536 file.
53537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53539 file.
53540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53541 New file.
53542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53543 file.
53544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53545 file.
53546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53547 file.
53548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53549 file.
53550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53551 file.
53552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53553 New file.
53554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53555 New file.
53556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53557 file.
53558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53559 New file.
53560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53561 file.
53562
53563 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53564
53565 * conform/conformtest.pl: Fix typo in handling typed-constant from
53566 allow-header.
53567
53568 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53569
53570 * README: Cut down references to pre-2.6 Linux kernels and
53571 Linuxthreads. Update lists of configurations in libc and ports
53572 and sort alphabetically. Say "or newer" with Linux kernel version
53573 requirements.
53574
53575 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53576
53577 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53578
53579 [BZ #887]
53580 * math/libm-test.inc (logb_test_downward): New test to expose
53581 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53582 rounding mode.
53583
53584 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53585
53586 [BZ #14027]
53587 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53588 to be done.
53589 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53590 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53591
53592 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53593
53594 * sysdeps/unix/i386/brk.S: Remove file.
53595 * sysdeps/unix/i386/dl-brk.S: Likewise.
53596 * sysdeps/unix/i386/pipe.S: Likewise.
53597 * sysdeps/unix/i386/sigreturn.S: Likewise.
53598 * sysdeps/unix/i386/syscall.S: Likewise.
53599 * sysdeps/unix/i386/vfork.S: Likewise.
53600 * sysdeps/unix/i386/wait.S: Likewise.
53601
53602 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53603 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53604
53605 * configure.in (arm*-none*): Do not allow without
53606 --enable-hacker-mode.
53607 (netbsd*): Remove case setting base_os.
53608 (386bsd*): Likewise.
53609 (freebsd*): Likewise.
53610 (bsdi*): Likewise.
53611 (osf*): Likewise.
53612 (sunos*): Likewise.
53613 (ultrix*): Likewise.
53614 (newsos*): Likewise.
53615 (dynix*): Likewise.
53616 (*bsd*): Likewise.
53617 (sysv*): Likewise.
53618 (isc*): Likewise.
53619 (esix*): Likewise.
53620 (sco*): Likewise.
53621 (minix*): Likewise.
53622 (irix4*): Likewise.
53623 (irix6*): Likewise.
53624 (solaris[2-9]*): Likewise.
53625 (none): Likewise.
53626 * configure: Regenerated.
53627
53628 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53629
53630 [BZ #11521]
53631 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53632 overflow or cancellation in calculating denominator.
53633 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53634 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53635 down expression to avoid unexpected rounding in newer GCCs.
53636 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53637
53638 2012-04-26 David S. Miller <davem@davemloft.net>
53639
53640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53641 long-double compat symbols.
53642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53655
53656 2012-04-25 David S. Miller <davem@davemloft.net>
53657
53658 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53659 HWCAP_* values only after the memory barriers have been defined.
53660 (atomic_full_barrier): Define.
53661 (atomic_read_barrier): Define.
53662 (atomic_write_barrier): Define.
53663
53664 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53665
53666 * shlib-versions: Add libgcc_s version information.
53667 * sysdeps/generic/libgcc_s.h: Remove.
53668 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53669 libgcc_s.h.
53670 * sysdeps/gnu/unwind-resume.c: Likewise.
53671 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53672
53673 2012-04-25 David S. Miller <davem@davemloft.net>
53674
53675 * sysdeps/unix/sparc/brk.S: Delete.
53676 * sysdeps/unix/sparc/dl-brk.S: Delete.
53677 * sysdeps/unix/sparc/pipe.S: Delete.
53678 * sysdeps/unix/sparc/sysdep.S: Delete.
53679 * sysdeps/unix/sparc/sysdep.h: Delete.
53680 * sysdeps/unix/sparc/vfork.S: Delete.
53681 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53682 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53683 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53684 (ret_ERRVAL, r0, r1, MOVE): Define.
53685 (JUMPTARGET): Remove.
53686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53687 sysdeps/unix/sparc/sysdep.h
53688 (ENTRY, END): Remove.
53689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53690
53691 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53692
53693 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53694 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53695 -DIS_IN_build.
53696
53697 * timezone/README: Update upstream location and email address for
53698 tzcode and tzdata.
53699 * timezone/zdump.c: Update from tzcode 2012b.
53700 * timezone/zic.c: Likewise.
53701
53702 * configure.in (libc_cv_as_needed): Remove test.
53703 * configure: Regenerated.
53704 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53705 conditional definition.
53706 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53707 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53708 * config.make.in (have-as-needed): Remove variable.
53709
53710 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53711 Paul Pluzhnikov <ppluzhnikov@google.com>
53712
53713 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53714 strings correctly.
53715
53716 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53717
53718 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53719 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53720 * sysdeps/sh/strlen.S: Likewise.
53721
53722 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53723
53724 * sysdeps/unix/fork.S: Remove file.
53725 * sysdeps/unix/i386/fork.S: Likewise.
53726 * sysdeps/unix/sparc/fork.S: Likewise.
53727
53728 * sysdeps/unix/system.c: Remove file.
53729 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53730
53731 * sysdeps/unix/getegid.S: Remove file.
53732 * sysdeps/unix/geteuid.S: Likewise.
53733
53734 2012-04-24 Roland McGrath <roland@hack.frob.com>
53735
53736 * scripts/check-localplt.awk: New file.
53737 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53738 of diff.
53739 * scripts/data/localplt-generic.data: Add a comment.
53740
53741 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53742 NODE when __dir_mkfile failed.
53743 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53744 Reported by Ludovic Courtès <ludo@gnu.org>.
53745
53746 2012-04-24 Andreas Jaeger <aj@suse.de>
53747
53748 * Makerules (common-clean): Also remove gen-as-const-headers
53749 files.
53750
53751 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53752
53753 * Makerules (native-compile): Do not change working directory for
53754 build. Use $(OUTPUT_OPTION) in command.
53755 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53756
53757 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53758
53759 [BZ #13886]
53760 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53761 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53762 * math/libm-test.inc (floor_test): Add more tests.
53763 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53764
53765 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53766
53767 * sysdeps/unix/getdents.c: Remove file.
53768 * sysdeps/unix/sysv/getdents.c: Likewise.
53769 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53770
53771 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53772 sysdeps/unix/mman/syscalls.list.
53773 (mmap): Likewise.
53774 (mprotect): Likewise.
53775 (msync): Likewise.
53776 (munmap): Likewise.
53777 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53778 * sysdeps/unix/mman/syscalls.list: Remove.
53779 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53780
53781 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53782 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53783 * configure: Regenerated.
53784 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53785 $(libgcc_s_suffix).
53786 * config.make.in (libgcc_s_suffix): Remove variable.
53787
53788 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53789
53790 * sysdeps/unix/sysv/gethostname.c: Move to ...
53791 * sysdeps/posix/gethostname.c: ... here.
53792
53793 * sysdeps/unix/execve.S: Remove file.
53794
53795 * sysdeps/unix/_exit.S: Remove file.
53796
53797 2012-04-23 Andreas Jaeger <aj@suse.de>
53798
53799 [BZ #13739]
53800 * manual/Makefile: Remove make dist support, there's no
53801 need for a stand-alone documentation tar ball.
53802 (TEXI2DVI): Define always, it's not in Makeconfig.
53803 (dist): Removed.
53804 (tar-it): Removed.
53805 (edition): Removed.
53806 (glibc-doc-$(edition).tar): Removed
53807 (%.Z): Removed.
53808 (%.gz): Removed.
53809 (%.uu): Removed.
53810 (ETAGS): Remove, it's in Makeconfig.
53811 (move-if-change): Remove, it's in Makeconfig.
53812
53813 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53814
53815 [BZ #13970]
53816 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53817 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53818 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53819 (strtod_l, strtof_l, strtold_l): Remove __wur.
53820 It is not necessarily an error to ignore strtol's return value.
53821 One can reliably look at the stored endptr to decide whether
53822 the number had valid syntax.
53823
53824 2012-04-21 Andreas Jaeger <aj@suse.de>
53825
53826 [BZ #13739]
53827 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53828
53829 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53830
53831 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53832 * sysdeps/unix/sysv/Versions: Remove file.
53833
53834 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53835
53836 [BZ #13927]
53837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53838
53839 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53840
53841 [BZ #7064]
53842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53843 version from __vm86.
53844
53845 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53846
53847 * sysdeps/unix/common/lxstat.c: Remove file.
53848 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53849
53850 * sysdeps/unix/sysv/Makefile: Remove file.
53851
53852 * sysdeps/unix/sysv/direct.h: Remove file.
53853
53854 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53855 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53856 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53857 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53858 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53859 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53860 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53861
53862 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53863
53864 * sysdeps/unix/xmknod.c: Remove file.
53865 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53866
53867 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53868
53869 * sysdeps/unix/sysv/i386/time.S: Remove file.
53870
53871 * sysdeps/unix/fxstat.c: Remove file.
53872 * sysdeps/unix/xstat.c: Likewise.
53873 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53874
53875 * sysdeps/unix/sysv/sigaction.c: Remove file.
53876
53877 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53878 (sysdep_headers): Remove variable.
53879 [termio.h not in sysdep_headers] (generated): Likewise.
53880 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53881 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53882 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53883 * sysdeps/unix/sysv/tcflow.c: Likewise.
53884 * sysdeps/unix/sysv/tcflush.c: Likewise.
53885 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53886 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53887 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53888 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53889 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53890
53891 * sysdeps/unix/siglist.c: Remove file.
53892
53893 * sysdeps/unix/getppid.S: Remove file.
53894
53895 * sysdeps/unix/mkdir.c: Remove file.
53896 * sysdeps/unix/rmdir.c: Likewise.
53897
53898 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53899
53900 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53901 ERR_MAX value.
53902 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53903 errlist-compat value.
53904
53905 2012-04-18 David S. Miller <davem@davemloft.net>
53906
53907 * sysdeps/generic/memcopy.h (reg_char): Delete.
53908 * debug/strcat_chk.c: Use char, not reg_char.
53909 * debug/strcpy_chk.c: Likewise.
53910 * debug/strncat_chk.c: Likewise.
53911 * debug/strncpy_chk.c: Likewise.
53912 * string/memchr.c: Likewise.
53913 * string/memrchr.c: Likewise.
53914 * string/rawmemchr.c: Likewise.
53915 * string/strcat.c: Likewise.
53916 * string/strchr.c: Likewise.
53917 * string/strchrnul.c: Likewise.
53918 * string/strcmp.c: Likewise.
53919 * string/strcpy.c: Likewise.
53920 * string/strncat.c: Likewise.
53921 * string/strncmp.c: Likewise.
53922 * string/strncpy.c: Likewise.
53923
53924 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53925
53926 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53927 __builtin_memcopy is called when src and dest ranges are known to not
53928 overlap.
53929
53930 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53931
53932 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53933 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53934 fwd_align_merge macro call.
53935 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53936 bwd_align_merge macro call.
53937 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53938
53939 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53940
53941 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53942 bwd_align_merge macros.
53943 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53944 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53945 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53946
53947 2012-04-18 David S. Miller <davem@davemloft.net>
53948
53949 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53950
53951 2012-04-18 Andreas Jaeger <aj@suse.de>
53952
53953 [BZ# 6794]
53954 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53955 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53956 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53957
53958 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53959 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53960 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53961
53962 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53963 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53964 Adjust for changed ldbl-128 files.
53965
53966 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53967 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53968 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53969
53970 2012-04-17 David S. Miller <davem@davemloft.net>
53971
53972 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53973
53974 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53975
53976 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53977 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53978 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53979 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53980 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53981 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53982
53983 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53984
53985 [BZ #6794]
53986 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53987 * math/libm-test.inc: Add ilogb errno and exception tests.
53988 * math/w_ilogb.c: New file: ilogb wrapper.
53989 * math/w_ilogbf.c: New file: ilogbf wrapper.
53990 * math/w_ilogbl.c: New file: ilogbl wrapper.
53991 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53992 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53993 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53994 exception being thrown with 0.0 as argument.
53995 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53996 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53997 exception being thrown with 0.0 as argument.
53998 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53999 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54000 exception being thrown with 0.0 as argument.
54001 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54002 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54003 exception being thrown with 0.0 as argument.
54004 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54005 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54006 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54007 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54008 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54009 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54010 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54011 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54012 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54013
54014 2012-04-17 Petr Baudis <pasky@ucw.cz>
54015
54016 * include/sys/uio.h: Change __vector to __iovec to avoid clash
54017 with altivec.
54018
54019 2012-04-16 Marek Polacek <polacek@redhat.com>
54020
54021 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54022
54023 2012-04-16 Marek Polacek <polacek@redhat.com>
54024
54025 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54026 operands of fdivp instruction.
54027
54028 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54029
54030 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54031 * elf/tst-auditmod3b.c: Likewise.
54032 * elf/tst-auditmod4b.c: Likewise.
54033 * elf/tst-auditmod5b.c: Likewise.
54034 * elf/tst-auditmod6b.c: Likewise.
54035 * elf/tst-auditmod6c.c: Likewise.
54036 * elf/tst-auditmod7b.c: Likewise.
54037 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54038 * sysdeps/x86_64/preconfigure.in: Likewise.
54039 * sysdeps/x86_64/preconfigure: Regenerated.
54040
54041 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54042
54043 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54044 __ILP32__.
54045
54046 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54047
54048 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54049 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54050
54051 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54052
54053 [BZ #13973]
54054 * locale/iso-639.def: Fix gl language name. Spotted by
54055 Yaron Shahrabani.
54056
54057 2012-04-12 Roland McGrath <roland@hack.frob.com>
54058
54059 [BZ #2074]
54060 * libio/libio.h (__io_write_fn): Update comment.
54061
54062 2012-04-12 Petr Baudis <pasky@ucw.cz>
54063
54064 [BZ #2074]
54065 * stdio.texi (Hook Functions): The user provided writer function
54066 is not allowed to return -1.
54067
54068 2012-04-11 David S. Miller <davem@davemloft.net>
54069
54070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54071
54072 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54073
54074 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54075 Add a leading slash to rtkaio.
54076
54077 2012-04-11 Jim Meyering <meyering@redhat.com>
54078
54079 [BZ #11959]
54080 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54081 It is not necessarily an error to ignore fwrite's return
54082 value. One can reliably use ferror to test for errors after
54083 the fact.
54084
54085 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54086
54087 * bits/types.h (__snseconds_t): New type.
54088 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54089
54090 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54091 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54092 (__SNSECONDS_T_TYPE): Likewise.
54093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54094 (__SNSECONDS_T_TYPE): Likewise.
54095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54096 (__SNSECONDS_T_TYPE): Likewise.
54097
54098 2012-04-10 Andreas Jaeger <aj@suse.de>
54099
54100 [BZ #2636]
54101 * manual/time.texi (Processor Time): Return type of times is
54102 elapsed real time since an arbitrary point in the past.
54103 (CPU Time): Move CLK_TCK from here...
54104 (Processor Time): ...to here. Correct description.
54105 * manual/conf.texi (Constants for Sysconf): Correct description of
54106 _SC_CLK_TCK.
54107
54108 2012-04-10 David S. Miller <davem@davemloft.net>
54109
54110 [BZ #13967]
54111 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54112 where the is a gap between DT_REL(A) and DT_JMPREL.
54113
54114 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54115
54116 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54117 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54118 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54119
54120 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54121
54122 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54123 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54124 (dl_main): Handle --inhibit-cache.
54125 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54126 _dl_inhibit_cache.
54127 * elf/dl-load.c (_dl_map_object): Use it.
54128 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54129
54130 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54131
54132 [BZ #13872]
54133 * sysdeps/i386/fpu/e_powl.S (p78): New object.
54134 (__ieee754_powl): Saturate large exponents rather than testing for
54135 overflow of y*log2(x).
54136 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54137 * math/libm-test.inc (pow_test): Do not permit spurious overflow
54138 exceptions.
54139
54140 [BZ #11521]
54141 * math/s_ctan.c: Include <float.h>.
54142 (__ctan): Avoid internal overflow or cancellation in calculating
54143 denominator.
54144 * math/s_ctanf.c: Likewise.
54145 * math/s_ctanl.c: Likewise.
54146 * math/s_ctanh.c: Likewise.
54147 * math/s_ctanhf.c: Likewise.
54148 * math/s_ctanhl.c: Likewise.
54149 * math/libm-test.inc (ctan_test): Add more tests.
54150 (ctanh_test): Likewise.
54151 * sysdeps/i386/fpu/libm-test-ulps: Update.
54152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54153
54154 2012-04-09 Andreas Jaeger <aj@suse.de>
54155
54156 [BZ #6894]
54157 * manual/filesys.texi (Directory Entries): Mention that d_namlen
54158 is an optional BSD extension.
54159
54160 [BZ #10254]
54161 * manual/stdio.texi (Opening Streams): Document additional fopen
54162 parameters.
54163
54164 2012-04-09 Roland McGrath <roland@hack.frob.com>
54165
54166 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54167 %eax without telling the compiler.
54168
54169 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
54170
54171 [BZ # 13963]
54172 * manual/install.texi: Use sourceware.org.
54173
54174 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54175
54176 [BZ #13873]
54177 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54178 (__ieee754_pow): Generate overflow and underflow using huge*huge
54179 and tiny*tiny rather than just returning constant infinity or zero
54180 for large exponents.
54181 * math/libm-test.inc (pow_test): Require overflow exceptions for
54182 applicable cases of large exponents.
54183
54184 [BZ #706]
54185 * sysdeps/i386/fpu/e_pow.S (p10): New object.
54186 (__ieee754_pow): Use iterative multiplication algorithm only for
54187 integer exponents with absolute value below 1024. Check for odd
54188 integer exponents when using algorithm for real exponents.
54189 * math/libm-test.inc (pow_test): Add more tests.
54190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54191
54192 2012-04-08 Joseph Myers <joseph@codesourcery.com>
54193
54194 [BZ #13705]
54195 * math/libm-test.inc (exp_test): Do not allow overflow exception
54196 on underflow test.
54197
54198 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
54199
54200 [BZ #13705]
54201 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54202 instead of __kernel_standard_f.
54203
54204 2012-04-08 Mike Frysinger <vapier@gentoo.org>
54205
54206 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54207 * sysdeps/x86_64/memset_chk.S: Likewise.
54208
54209 2012-04-08 Andreas Jaeger <aj@suse.de>
54210
54211 [BZ #10153]
54212 * manual/startup.texi (Environment Access): Describe return value
54213 for putenv and setenv.
54214
54215 [BZ #6895]
54216 * manual/filesys.texi (Directory Entries): Add description for
54217 DT_LNK.
54218
54219 [BZ #6890]
54220 * manual/filesys.texi (Directory Entries): Clarify that it's file
54221 system not operating system in the description of DT_UNKNOWN.
54222
54223 [BZ #6578]
54224 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54225
54226 2012-04-08 Stephen Compall <s11@member.fsf.org>
54227
54228 [BZ #6649]
54229 * manual/llio.texi (Opening and Closing Files): Add cross
54230 reference to explain mode argument.
54231
54232 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54233
54234 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54235 * sysdeps/x86_64/memset_chk.S: Likewise.
54236
54237 2012-04-07 David S. Miller <davem@davemloft.net>
54238
54239 * elf/elf.h (R_SPARC_WDISP10): Define.
54240 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54241 R_SPARC_SIZE32.
54242 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54243 R_SPARC_SIZE64 and R_SPARC_H34.
54244
54245 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54246
54247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54248 conditions and remove no longer applicable assertion.
54249
54250 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54251
54252 * bits/byteswap.h: Include <features.h>.
54253 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54254 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54255
54256 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54257
54258 * bits/byteswap.h (__bswap_16): Removed.
54259 Include <bits/byteswap-16.h> to get __bswap_16.
54260 * sysdeps/i386/bits/byteswap.h: Likewise.
54261 * sysdeps/s390/bits/byteswap.h: Likewise.
54262 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54263 * bits/byteswap-16.h: New file.
54264 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54265 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54266 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54267 * string/Makefile (headers): Add bits/byteswap-16.h.
54268
54269 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54270
54271 [BZ #13895]
54272 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54273 extra indirection.
54274 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54275 * nss/tst-nss-static.c: New.
54276
54277 2012-04-06 Robert Millan <rmh@gnu.org>
54278
54279 [BZ #6486]
54280 * manual/llio.texi (File Position Primitive): lseek
54281 refers to WHENCE when it really means OFFSET.
54282
54283 2012-04-06 Andreas Jaeger <aj@suse.de>
54284
54285 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54286 strncmp declarations.
54287
54288 * abilist/libc.abilist: Add __poll and __ppoll.
54289
54290 2012-04-05 David S. Miller <davem@davemloft.net>
54291
54292 * scripts/check-local-headers.sh: Accept a host triplet in the
54293 path matched by the exclude regexp.
54294
54295 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54296 definition.
54297 * sysdeps/powerpc/powerpc32/dl-machine.h
54298 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54299 * sysdeps/s390/s390-32/dl-machine.h
54300 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54301 * sysdeps/sparc/sparc32/dl-machine.h
54302 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54303 * sysdeps/sparc/sparc64/dl-machine.h
54304 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54305
54306 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54307 lazy binding.
54308 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54309 undefined symbol errors.
54310
54311 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54312 DT_NEEDED entries.
54313
54314 2012-04-05 Michael Matz <matz@suse.de>
54315
54316 [BZ #13592]
54317 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54318
54319 2012-04-05 Andreas Jaeger <aj@suse.de>
54320
54321 [BZ #13908]
54322 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54323 comment.
54324
54325 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54326
54327 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54328 which ROUND is no valid rounding mode.
54329
54330 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54331
54332 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54333 read again.
54334 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54335
54336 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54337
54338 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54339 an exception using FPU order intentionally.
54340
54341 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54342
54343 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54344 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54345 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54346 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54347
54348 2012-04-05 Simon Josefsson <simon@josefsson.org>
54349
54350 [BZ #12340]
54351 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54352 EINVAL when BUFLEN is too smal.
54353
54354 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54355
54356 [BZ #13553]
54357 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54358 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54359
54360 2012-04-03 Andreas Jaeger <aj@suse.de>
54361
54362 [BZ #13938]
54363 * manual/setjmp.texi (System V contexts): Fix sentence.
54364
54365 [BZ #13926]
54366 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54367 New macro for this case.
54368 [!__GNUC__] (__bswap_64): New inline function for this case.
54369 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54370 * bits/byteswap.h: Likewise.
54371 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54372 ull, guard with __GLIBC_HAVE_LONG_LONG.
54373
54374 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54375 __GLIBC_HAVE_LONG_LONG.
54376
54377 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54378 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54379
54380 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54381
54382 [BZ #13691]
54383 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54384 inptr and inend, rather than using last_ch.
54385
54386 2012-04-02 David S. Miller <davem@davemloft.net>
54387
54388 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54389 * stdio-common/printf-parse.h (read_int): Change return type to
54390 'int', return -1 on INT_MAX overflow.
54391 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54392 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54393 overflows INT_MAX. Check for overflow of in-format-string precision
54394 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54395 SIZE_MAX not INT_MAX for integer overflow test.
54396 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54397 skip the construct in the format string but do not record anything.
54398 * stdio-common/bug22.c: Adjust to test both width/prevision
54399 INT_MAX overflow as well as total length INT_MAX overflow. Check
54400 explicitly for proper errno values.
54401
54402 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54403
54404 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54405 CHAR_MAX.
54406 * string/test-strcmp.c [! WIDE]: Likewise.
54407 * time/tst-mktime2.c: Likewise for INT_MAX.
54408 * string/test-string.h: #include <sys/param.h> for MIN.
54409
54410 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54411 * sysdeps/i386/init-first.c (init): Likewise.
54412 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54413 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54414 * sysdeps/sh/init-first.c (init): Likewise.
54415
54416 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54417
54418 * po/ru.po: Update from translation team.
54419 * po/vi.po: Likewise.
54420
54421 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54422
54423 * resolv/nss_dns/dns-host.c: Merge copyright years.
54424
54425 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54426
54427 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54428 Optimize memcpy with prefetch if
54429 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54430 src, dst pointers have unequal 16 byte alignments.
54431
54432 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54433
54434 [BZ #13928]
54435 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54436 from a CNAME entry and return the minimum ttl for the query.
54437 (gaih_getanswer_slice): Likewise.
54438
54439 2012-03-30 Jeff Law <law@redhat.com>
54440
54441 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54442 due to long keys.
54443 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54444 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54445
54446 * resolv/nss_dns/dns-host.c: Update copyright year.
54447
54448 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54449
54450 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54451 requests to save a system call. Fix check that all bytes are sent.
54452
54453 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54454 comments for sendmmsg.
54455
54456 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54457
54458 [BZ #13691]
54459 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54460 with only 1 character between 0x0041 and 0x01b0.
54461 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54462 * wcsmbs/tst-mbsnrtowcs.c: New file.
54463
54464 2012-03-29 David S. Miller <davem@davemloft.net>
54465
54466 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54467 small copies by hand.
54468
54469 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54470
54471 [BZ #13761]
54472 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54473 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54474 group memberships.
54475
54476 2012-03-28 David S. Miller <davem@davemloft.net>
54477
54478 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54479 that branches into memcpy.
54480 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54481 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54483 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54484 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54485 bits.
54486 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54487 implementation too.
54488 * sysdeps/sparc/mempcpy.S: New file.
54489
54490 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54491 the IFUNC routine in the libc case.
54492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54493
54494 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54495 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54496 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54497 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54498 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54499 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54500 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54501 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54502
54503 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54504 loop to 256 bytes instead of 64 bytes and fix test signedness.
54505
54506 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54507 * sysdeps/sparc/sparc32/Makefile: rather than here...
54508 * sysdeps/sparc/sparc64/Makefile: and here.
54509
54510 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54511
54512 * malloc/mallocbug.c: Avoid warnings about unused variables.
54513
54514 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54515
54516 [BZ #13760]
54517 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54518 in the right place. Discard and retry query if response is
54519 larger than input buffer size.
54520
54521 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54522
54523 [BZ #369]
54524 [BZ #2678]
54525 [BZ #3866]
54526 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54527 x for large integer exponent.
54528 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54529 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54530 sign of result as needed afterwards.
54531 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54532 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54533 result for underflowing pow the same as for overflow.
54534 (__kernel_standard_l): Handle powl overflow and underflow here
54535 rather than calling __kernel_standard.
54536 * math/libm-test.inc (pow_test): Add more tests.
54537
54538 [BZ #3868]
54539 [BZ #13879]
54540 [BZ #13910]
54541 [BZ #13911]
54542 [BZ #13912]
54543 [BZ #13913]
54544 [BZ #13915]
54545 [BZ #13916]
54546 [BZ #13917]
54547 [BZ #13918]
54548 [BZ #13919]
54549 [BZ #13920]
54550 [BZ #13921]
54551 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54552 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54553 (__kernel_standard_l): New function.
54554 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54555 __kernel_standard.
54556 * math/w_acosl.c (__acosl): Likewise.
54557 * math/w_asinl.c (__asinl): Likewise.
54558 * math/w_atan2l.c (__atan2l): Likewise.
54559 * math/w_atanhl.c (__atanhl): Likewise.
54560 * math/w_coshl.c (__coshl): Likewise.
54561 * math/w_exp10l.c (__exp10l): Likewise.
54562 * math/w_exp2l.c (__exp2l): Likewise.
54563 * math/w_fmodl.c (__fmodl): Likewise.
54564 * math/w_hypotl.c (__hypotl): Likewise.
54565 * math/w_j0l.c (__j0l, __y0l): Likewise.
54566 * math/w_j1l.c (__j1l, __y1l): Likewise.
54567 * math/w_jnl.c (__jnl, __ynl): Likewise.
54568 * math/w_lgammal.c (__lgammal): Likewise.
54569 * math/w_log10l.c (__log10l): Likewise.
54570 * math/w_log2l.c (__log2l): Likewise.
54571 * math/w_logl.c (__logl): Likewise.
54572 * math/w_powl.c (__powl): Likewise.
54573 * math/w_remainderl.c (__remainderl): Likewise.
54574 * math/w_scalbl.c (sysv_scalbl): Likewise.
54575 * math/w_sinhl.c (__sinhl): Likewise.
54576 * math/w_sqrtl.c (__sqrtl): Likewise.
54577 * math/w_tgammal.c (__tgammal): Likewise.
54578 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54579 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54580 * math/libm-test.inc (acos_test): Add more tests.
54581 (acosh_test): Likewise.
54582 (asin_test): Likewise.
54583 (atanh_test): Likewise.
54584 (exp_test): Likewise.
54585 (exp10_test): Likewise.
54586 (exp2_test): Likewise.
54587 (expm1_test): Likewise.
54588 (lgamma_test): Likewise.
54589 (log_test): Likewise.
54590 (log10_test): Likewise.
54591 (log1p_test): Likewise.
54592 (log2_test): Likewise.
54593 (pow_test): Do not allow some spurious overflow exceptions.
54594 (sqrt_test): Add more tests.
54595 (tgamma_test): Likewise.
54596 (y0_test): Likewise.
54597 (y1_test): Likewise.
54598 (yn_test): Likewise.
54599
54600 2012-03-27 Anton Blanchard <anton@samba.org>
54601
54602 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54603 MAP_HUGETLB.
54604 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54605 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54606 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54607
54608 2012-03-27 David S. Miller <davem@davemloft.net>
54609
54610 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54611
54612 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54613 have-as-vis3 check.
54614
54615 2012-03-27 Andreas Jaeger <aj@suse.de>
54616
54617 * sysdeps/x86_64/elf/configure.in: Moved to ...
54618 * sysdeps/x86_64/configure.in: ... here.
54619 * sysdeps/x86_64/elf/start.S: Moved to ...
54620 * sysdeps/x86_64/start.S: ... here.
54621 * sysdeps/x86_64/elf/configure: Delete.
54622
54623 * sysdeps/x86_64/configure.in: Merge contents from
54624 sysdeps/i386/configure.in (without i686 check).
54625
54626 * sysdeps/i386/elf/Versions: Merge into ...
54627 * sysdeps/i386/Versions: ... this.
54628 * sysdeps/i386/elf/Versions: Delete file.
54629 * sysdeps/i386/elf/start.S: Moved to ...
54630 * sysdeps/i386/start.S: ...here.
54631 * sysdeps/i386/elf/configure.in: Merge into...
54632 * sysdeps/i386/configure.in: ...here.
54633 * sysdeps/i386/elf/configure.in: Delete file.
54634 * sysdeps/i386/elf/configure: Delete file.
54635
54636 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54637 * debug/backtracesyms.c: ... here.
54638 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54639 * debug/backtracesymsfd.c: ... here.
54640 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54641 * sysdeps/generic/ifunc-sel.h: ... here.
54642
54643 * sysdeps/unix/i386/start.c: Delete file.
54644 * sysdeps/unix/sparc/start.c: Delete file.
54645 * sysdeps/unix/start.c: Delete file.
54646
54647 * sysdeps/sh/elf/configure.in: Moved to ...
54648 * sysdeps/sh/configure.in: ... here.
54649 * sysdeps/sh/elf/start.S: Moved to ...
54650 * sysdeps/sh/start.S: ... here.
54651 * sysdeps/sh/elf/configure: Delete file.
54652
54653 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54654 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54655 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54656 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54657 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54658 * sysdeps/powerpc/powerpc64/start.S: here.
54659 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54660 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54661 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54662 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54663 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54664
54665 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54666 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54667 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54668 * sysdeps/powerpc/powerpc32/start.S: ... here.
54669 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54670 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54671 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54672
54673 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54674 * sysdeps/powerpc/ifunc-sel.h: ... here.
54675 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54676 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54677
54678 * sysdeps/sparc/elf/configure.in: Moved to ...
54679 * sysdeps/sparc/configure.in: ... here.
54680 * sysdeps/sparc/elf/configure: Delete file.
54681 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54682 * sysdeps/sparc/sparc32/start.S: ... here.
54683 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54684 * sysdeps/sparc/sparc64/start.S: ... here.
54685 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54686 * sysdeps/sparc/sparc32/Makefile: ... this.
54687 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54688 * sysdeps/sparc/sparc64/Makefile: ... this.
54689
54690 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54691 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54692 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54693 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54694 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54695 * sysdeps/s390/s390-32/setjmp.S: ... here.
54696 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54697 * sysdeps/s390/s390-32/configure.in: ... here.
54698 * sysdeps/s390/s390-32/elf/configure: Delete file.
54699 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54700 * sysdeps/s390/s390-32/start.S: ... here.
54701
54702 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54703 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54704 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54705 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54706 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54707 * sysdeps/s390/s390-64/setjmp.S: ... here.
54708 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54709 * sysdeps/s390/s390-64/configure.in: ... here
54710 * sysdeps/s390/s390-64/elf/configure: Delete file.
54711 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54712 * sysdeps/s390/s390-64/start.S: ... here.
54713 * sysdeps/s390/s390-64/elf/configure: Delete.
54714
54715 * configure.in: Remove support for elf directories in sysdeps.
54716
54717 * configure: Regenerated.
54718 * sysdeps/i386/configure: Regenerated.
54719 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54720 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54721 * sysdeps/s390/s390-32/configure: Regenerated.
54722 * sysdeps/s390/s390-64/configure: Regenerated.
54723 * sysdeps/sh/configure: Regenerated.
54724 * sysdeps/sparc/configure: Regenerated.
54725 * sysdeps/x86_64/configure: Regenerated.
54726
54727 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54728
54729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54730
54731 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54732 denormal result into account.
54733
54734 2012-03-25 Roland McGrath <roland@hack.frob.com>
54735
54736 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54737 Reported by Allan McRae <allan@archlinux.org>.
54738
54739 2012-03-23 Jeff Law <law@redhat.com>
54740
54741 * nss/getnssent.c (__nss_getent): Fix typo.
54742
54743 2012-03-23 David S. Miller <davem@davemloft.net>
54744
54745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54746
54747 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54748
54749 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54750 to pad to uint64_t for each field.
54751 (dl_tls_index): Replace unsigned long with uint64_t.
54752
54753 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54754 Paul Pluzhnikov <ppluzhnikov@google.com>
54755
54756 [BZ #6528]
54757 * grp/Makefile (otherlibs): Don't set it.
54758 * inet/Makefile (otherlibs): Likewise.
54759 * login/Makefile (otherlibs): Likewise.
54760 * nscd/Makefile (otherlibs): Likewise.
54761 * posix/Makefile (otherlibs): Likewise.
54762 * pwd/Makefile (otherlibs): Likewise.
54763 * rt/Makefile (otherlibs): Likewise.
54764 * sunrpc/Makefile (otherlibs): Likewise.
54765 * nss/Makefile (otherlibs): Likewise.
54766 Add libnss_files to routines and static-only-routines.
54767 ($(objpfx)getent): Remove rule.
54768 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54769 static-only-routines.
54770
54771 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54772
54773 [BZ #13892]
54774 * math/s_cexp.c: Include <float.h>.
54775 (__cexp): Handle exp result overflowing not necessarily
54776 overflowing both real and imaginary parts of result.
54777 * math/s_cexpf.c: Likewise.
54778 * math/s_cexpl.c: Likewise.
54779 * math/libm-test.inc (cexp_test): Add more tests.
54780 * sysdeps/i386/fpu/libm-test-ulps: Update.
54781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54782
54783 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54784
54785 * include/link.h (ELFW): New macro.
54786 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54787 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54788
54789 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54790
54791 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54792 with uint64_t.
54793
54794 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54795
54796 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54797 declaration.
54798 (struct La_x32_retval): Likewise.
54799
54800 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54801
54802 * sysdeps/x86_64/preconfigure.in: New file.
54803 * sysdeps/x86_64/preconfigure: New generated file.
54804
54805 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54806
54807 [BZ #13824]
54808 * math/e_exp2l.c: Include <float.h>.
54809 (__ieee754_exp2l): Handle overflow and underflow cases
54810 separately. Only pass fractional part of argument to
54811 __ieee754_expl.
54812 * math/libm-test.inc (exp2_test): Add more tests.
54813
54814 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54815 negating x to take absolute value.
54816 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54817 Likewise.
54818 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54819 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54820 Likewise.
54821 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54822 computing low part if x was negated.
54823 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54824
54825 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54826
54827 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54828 la_x32_gnu_pltexit.
54829 (pltexit): Cast int_retval to ptrdiff_t.
54830 * elf/tst-auditmod3b.c: Likewise.
54831 * elf/tst-auditmod4b.c: Likewise.
54832 * elf/tst-auditmod5b.c: Likewise.
54833 * elf/tst-auditmod6b.c: Likewise.
54834 * elf/tst-auditmod6c.c: Likewise.
54835 * elf/tst-auditmod7b.c: Likewise.
54836
54837 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54838 and x32_gnu_pltexit.
54839
54840 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54841 __ELF_NATIVE_CLASS.
54842 (La_x32_regs): New macro.
54843 (La_x32_retval): Likewise.
54844 (la_x32_gnu_pltenter): New function prototype.
54845 (la_x32_gnu_pltexit): Likewise.
54846
54847 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54848
54849 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54850 exponent.
54851
54852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54853
54854 * configure.in (libc_cv_cc_nofma): Check for option to disable
54855 generation of FMA instructions.
54856 * configure: Regenerate.
54857 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54858 * sysdeps/ieee754/dbl-64/Makefile: New file.
54859 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54860 Remove brandred-fma4.
54861 (CFLAGS-brandred-fma4.c): Remove.
54862 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54863 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54864 define.
54865 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54866 define.
54867
54868 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54869
54870 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54871 LLONG_MAX != LONG_MAX.
54872 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54873 (_fitoa_word): Likewise.
54874 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54875 LLONG_MAX != LONG_MAX.
54876 * stdio-common/_itowa.h: Include <_itoa.h>.
54877 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54878 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54879 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54880 only if not defined.
54881 (_ITOA_WORD_TYPE): Likewise.
54882 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54883 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54884
54885 2012-03-21 David S. Miller <davem@davemloft.net>
54886
54887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54888
54889 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54890
54891 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54892 of x86_64 when setting libc_cv_slibdir, libdir and
54893 libc_cv_localedir.
54894 * sysdeps/unix/sysv/linux/configure: Regenerated.
54895
54896 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54897
54898 * manual/lang.texi (Old Varargs): Remove section.
54899 (How Variadic): Update menu.
54900 (va_start): Do not mention varargs.h.
54901
54902 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54903 Joseph Myers <joseph@codesourcery.com>
54904
54905 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54906 link test.
54907 * configure: Regenerated.
54908
54909 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54910
54911 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54912 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54913 conformtest.pl
54914
54915 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54916
54917 * NOTES: Remove.
54918 * Makefile (files-for-dist): Remove NOTES.
54919 (NOTES): Remove rule.
54920 * README: Don't refer to NOTES.
54921 * manual/creature.texi: Don't include macros.texi.
54922 * manual/intro.texi (creature.texi): Remove comment referring to
54923 NOTES.
54924
54925 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54926 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54927 * configure: Regenerated.
54928 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54929 LIBC_TRY_CC_OPTION.
54930 (libc_cv_as_i686): Likewise.
54931 (libc_cv_cc_avx): Likewise.
54932 (libc_cv_cc_sse2avx): Likewise.
54933 (libc_cv_cc_fma4): Likewise.
54934 (libc_cv_cc_novzeroupper): Likewise.
54935 * sysdeps/i386/configure: Regenerated.
54936
54937 [BZ #13883]
54938 * sysdeps/i386/fpu/s_cexp.S: Remove.
54939 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54940 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54941 * math/libm-test.inc (cexp_test): Add more tests.
54942 * sysdeps/i386/fpu/libm-test-ulps: Update.
54943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54944
54945 2012-03-21 Allan McRae <allan@archlinux.org>
54946
54947 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54948
54949 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54950
54951 [BZ #13871]
54952 * math/w_exp2.c: Do not include <float.h>.
54953 (o_threshold, u_threshold): Remove.
54954 (__exp2): Calculate result before checking finiteness and calling
54955 __kernel_standard.
54956 * math/w_exp2f.c: Likewise.
54957 * math/w_exp2l.c: Likewise.
54958 * math/libm-test.inc (exp2_test): Require overflow exception for
54959 1e6 input.
54960
54961 [BZ #3866]
54962 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54963 range of signed 64-bit integers before using fistpll. Remove
54964 checks for whether integers fit in mantissa bits.
54965 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54966 the range of signed 32-bit integers before using fistpl. Remove
54967 checks for whether integers fit in mantissa bits.
54968 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54969 (__ieee754_powl): Test for y outside the range of signed 64-bit
54970 integers before using fistpll. Reduce 64-bit values to 63-bit
54971 ones as needed.
54972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54973 divide-by-zero is raised for zero to large negative powers.
54974 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54975 (__ieee754_powl): Test for y outside the range of signed 64-bit
54976 integers before using fistpll. Reduce 64-bit values to 63-bit
54977 ones as needed.
54978 * math/libm-test.inc (pow_test): Add more tests.
54979
54980 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54981
54982 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54983 <stdio-common/_itoa.h>.
54984 * debug/segfault.c: Likewise.
54985 * elf/dl-cache.c: Likewise.
54986 * elf/dl-minimal.c: Likewise.
54987 * elf/dl-misc.c: Likewise.
54988 * elf/dl-sysdep.c: Likewise.
54989 * elf/dl-version.c: Likewise.
54990 * elf/rtld.c: Likewise.
54991 * hurd/hurdsock.c: Likewise.
54992 * hurd/lookup-retry.c: Likewise.
54993 * malloc/malloc.c: Likewise.
54994 * malloc/mtrace.c: Likewise.
54995 * nscd/nscd_getgr_r.c: Likewise.
54996 * nscd/nscd_getpw_r.c: Likewise.
54997 * nscd/nscd_getserv_r.c: Likewise.
54998 * posix/getopt_init.c: Likewise.
54999 * posix/wordexp.c: Likewise.
55000 * stdio-common/_itoa.c: Likewise.
55001 * stdio-common/printf_fphex.c: Likewise.
55002 * stdio-common/vfprintf.c: Likewise.
55003 * string/_strerror.c: Likewise.
55004 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55005 * sysdeps/i386/i686/hp-timing.h: Likewise.
55006 * sysdeps/mach/_strerror.c: Likewise.
55007 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55008 * sysdeps/mach/hurd/sethostid.c: Likewise.
55009 * sysdeps/mach/hurd/xmknodat.c: Likewise.
55010 * sysdeps/mach/xpg-strerror.c: Likewise.
55011 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55012 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55013 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55014 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55015 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55016 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55017 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55018 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55019 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55020 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55021 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55022 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55023 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55024 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55025 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55026 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55027 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55028 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55029 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55030 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55031 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55032
55033 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55034
55035 * stdio-common/_itoa.h: Moved to ...
55036 * sysdeps/generic/_itoa.h: Here.
55037
55038 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55039
55040 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55041 instead of "_itoa.h" and "_itowa.h".
55042 * stdio-common/vfprintf.: Likewise.
55043
55044 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55045
55046 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55047 <bits/wordsize.h>.
55048 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55049 (__signbit): Likwise.
55050 (llrintf): Likwise.
55051 (llrint): Likwise.
55052
55053 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55054
55055 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55056 __WORDSIZE != 64.
55057
55058 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55059
55060 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55061 OVERFLOW_EXCEPTION_OK.
55062 * math/libm-test.inc ("Philosophy"): Update comment about
55063 exception testing.
55064 (OVERFLOW_EXCEPTION): Define.
55065 (OVERFLOW_EXCEPTION_OK): Likewise.
55066 (INVALID_EXCEPTION_OK): Renumber.
55067 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55068 (IGNORE_ZERO_INF_SIGN): Likewise.
55069 (test_exceptions): Handle FE_OVERFLOW.
55070 (exp10_test): Expect overflow exceptions.
55071 (exp2_test): Likewise.
55072 (expm1_test): Likewise.
55073 (nextafter_test): Likewise.
55074 (pow_test): Likewise.
55075 (scalbn_test): Likewise.
55076 (scalbln_test): Likewise.
55077
55078 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55079
55080 * sysdeps/x86_64/bits/atomic.h
55081 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55082 64bit integer.
55083 (atomic_exchange_acq): Likewise.
55084 (__arch_exchange_and_add_body): Likewise.
55085 (__arch_add_body): Likewise.
55086 (atomic_add_negative): Likewise.
55087 (atomic_add_zero): Likewise.
55088
55089 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55090
55091 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55092 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55093
55094 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55095
55096 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55097 Check __x86_64__ instead of __WORDSIZE.
55098
55099 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55100
55101 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55102
55103 2012-03-19 David S. Miller <davem@davemloft.net>
55104
55105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55106
55107 * sysdeps/sparc/fpu/fenv_private.h: New file.
55108 * sysdeps/sparc/fpu/math_private.h: Use it.
55109 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55110 Remove.
55111 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55112 (libc_feholdexcept_setroundl): Remove.
55113 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55114 Remove.
55115 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55116 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55117
55118 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55119
55120 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55121 int64_t instead of long int.
55122 (INSERT_WORDS64): Likwise.
55123
55124 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55125
55126 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55127 _Unwind_GetCFA return to _Unwind_Ptr first.
55128
55129 2012-03-19 Joseph Myers <joseph@codesourcery.com>
55130
55131 [BZ #13629]
55132 * math/s_clog.c: Include <float.h>.
55133 (__clog): Scale large or subnormal inputs.
55134 * math/s_clogf.c: Likewise.
55135 * math/s_clogl.c: Likewise.
55136 * math/s_clog10.c: Include <float.h>.
55137 (M_LOG10_2): Define.
55138 (__clog10): Scale large or subnormal inputs.
55139 * math/s_clog10f.c: Likewise.
55140 * math/s_clog10l.c: Likewise.
55141 * math/libm-test.inc (clog_test): Add more tests.
55142 (clog10_test): Likewise.
55143 * sysdeps/i386/fpu/libm-test-ulps: Update.
55144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55145
55146 [BZ #11451]
55147 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55148 x and y.
55149 * math/libm-test.inc (atan2_test): Add another test.
55150
55151 * Makerules (common-objdir-compile): Remove.
55152 * sysdeps/unix/Makefile (config-generated): Do not add
55153 $(unix-generated) to variable.
55154 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55155 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55156 Remove rule.
55157 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55158 Likewise.
55159 [generic bits/local_lim.h] (before-compile): Do not append to
55160 variable.
55161 [generic bits/local_lim.h] (common-generated): Likewise.
55162 [generic sys/param.h] (before-compile): Do not append to variable.
55163 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55164 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55165 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55166 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55167 include.
55168 [generic sys/param.h] (sys/param.h-includes): Remove variable.
55169 [generic sys/param.h] (sys/param.h-includes): Remove rule.
55170 [generic sys/param.h] ($(addprefix
55171 $(common-objpfx),$(sys/param.h-includes))): Likewise.
55172 [generic sys/param.h] (common-generated): Do not append to
55173 variable.
55174 [generic sys/param.h] (sysdep_headers): Likewise.
55175 [generic bits/errno.h] (before-compile): Do not append to
55176 variable.
55177 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55178 rule.
55179 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55180 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55181 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55182 [generic bits/errno.h] (common-generated): Do not append to
55183 variable.
55184 [generic bits/ioctls.h] (before-compile): Do not append to
55185 variable.
55186 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55187 rule.
55188 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55189 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55190 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55191 rule.
55192 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55193 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55194 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55195 [generic bits/ioctls.h] (common-generated): Do not append to
55196 variable.
55197 [generic sys/syscall.h] (syscall.h): Remove variable.
55198 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55199 rule.
55200 [generic sys/syscall.h] (before-compile): Do not append to
55201 variable.
55202 [generic sys/syscall.h] (common-generated): Likewise.
55203 * sysdeps/unix/errnos-tmpl.c: Remove file.
55204 * sysdeps/unix/errnos.awk: Likewise.
55205 * sysdeps/unix/ioctls-tmpl.c: Likewise.
55206 * sysdeps/unix/ioctls.awk: Likewise.
55207 * sysdeps/unix/mk-local_lim.c: Likewise.
55208 * sysdeps/unix/snarf-ioctls: Likewise.
55209
55210 2012-03-19 Richard Henderson <rth@twiddle.net>
55211
55212 * sysdeps/i386/fpu/fenv_private.h: New file.
55213 * sysdeps/i386/fpu/math_private.h: Use it.
55214 (math_opt_barrier, math_force_eval): Remove.
55215 (libc_feholdexcept_setround_53bit): Remove.
55216 (libc_feupdateenv_53bit): Remove.
55217 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55218 (math_opt_barrier, math_force_eval): Remove.
55219 (libc_feholdexcept): Remove.
55220 (libc_feholdexcept_setround): Remove.
55221 (libc_fetestexcept, libc_fesetenv): Remove.
55222 (libc_feupdateenv_test): Remove.
55223 (libc_feupdateenv, libc_feholdsetround): Remove.
55224 (libc_feresetround): Remove.
55225
55226 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55227 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55228
55229 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55230 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55231 (libc_feupdateenv_testl): New.
55232 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55233 (libc_feupdateenv_testf): New.
55234 (libc_feupdateenv): Use libc_feupdateenv_test.
55235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55236 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55237
55238 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55239 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55240 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55241 (libc_feresetround_noex): New.
55242 (libc_feresetround_noexf): New.
55243 (libc_feresetround_noexl): New.
55244 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55245 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55246 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55247 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55248 SET_RESTORE_ROUND.
55249 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55250 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55251 (__cos): Likewise.
55252 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55253 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55254 SET_RESTORE_ROUND_NOEX.
55255 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55256 SET_RESTORE_ROUND_NOEXF.
55257 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55258 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55259 (libc_feholdsetroundf): New.
55260 (libc_feresetround, libc_feresetroundf): New.
55261
55262 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55263 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55264 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55265
55266 * sysdeps/generic/math_private.h: Include <fenv.h>.
55267 (default_libc_feholdexcept): New.
55268 (default_libc_feholdexcept_setround): New.
55269 (default_libc_fesetenv, default_libc_feupdateenv): New.
55270 (libc_feholdexcept): Only define if undefined.
55271 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55272 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55273 (libc_feholdexcept_setroundl): Likewise.
55274 (libc_feholdexcept_setround_53bit): Likewise.
55275 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55276 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55277 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55278 (libc_feupdateenv_53bit): Likewise.
55279 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55280 (libc_feholdexcept): Convert from macro to inline function.
55281 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55282 (libc_fesetenv, libc_feupdateenv): Likewise.
55283
55284 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55285 not previously defined.
55286 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55287 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55288 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55289 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55290 * sysdeps/ieee754/flt-32/math_private.h: New file.
55291 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55292 math_private.h below SET_FLOAT_WORD.
55293 (__isnan, __isinf_ns, __finite): Remove.
55294 (__isnanf, __isinf_nsf, __finitef): Remove.
55295
55296 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55297
55298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55299
55300 2012-03-17 David S. Miller <davem@davemloft.net>
55301
55302 [BZ #6471]
55303 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55304 for 2.16.
55305
55306 2012-03-16 David S. Miller <davem@davemloft.net>
55307
55308 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55309 warnings.
55310
55311 [BZ #6471]
55312 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55313 properly.
55314 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55315 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55316 sysdep_routines when subdir is sysvipc.
55317 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55318 __getshmlba helper.
55319
55320 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55321
55322 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55323
55324 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55325 [__LP64__].
55326
55327 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55328
55329 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55330 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55331 (__lround): Renamed to ...
55332 (__llround): This. Replace long int with long long int.
55333 Define lround functions as aliases of llround functions.
55334 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55335
55336 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55337
55338 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55339 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55340 adresses to uintptr_t. Replace "long int" and "unsigned long
55341 int" with "greg_t" on va_arg.
55342
55343 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55344
55345 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55346 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55347
55348 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55349 Move e_machine check before EI_CLASS check. Handle x32
55350 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55351 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55352 SKIP_EM_IA_64 and include
55353 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55354
55355 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55356 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55357 (add_system_dir): New macro.
55358
55359 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55360 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55361
55362 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55363
55364 [BZ #2551]
55365 [BZ #2552]
55366 [BZ #2553]
55367 [BZ #2554]
55368 [BZ #2562]
55369 [BZ #2563]
55370 [BZ #2565]
55371 [BZ #2566]
55372 [BZ #2576]
55373 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55374 (y0): Likewise.
55375 * math/w_j0f.c (j0f): Likewise.
55376 (y0f): Likewise.
55377 * math/w_j0l.c (__j0l): Likewise.
55378 (__y0l): Likewise.
55379 * math/w_j1.c (j1): Likewise.
55380 (y1): Likewise.
55381 * math/w_j1f.c (j1f): Likewise.
55382 (y1f): Likewise.
55383 * math/w_j1l.c (__j1l): Likewise.
55384 (__y1l): Likewise.
55385 * math/w_jn.c (jn): Likewise.
55386 (yn): Likewise.
55387 * math/w_jnf.c (jnf): Likewise.
55388 (ynf): Likewise.
55389 * math/w_jnl.c (__jnl): Likewise.
55390 (__ynl): Likewise.
55391 * math/libm-test.inc (j0_test): Add more tests.
55392 (j1_test): Likewise.
55393 (jn_test): Likewise. Add trailing semicolon to existing test.
55394 (y0_test): Likewise.
55395 (y1_test): Likewise.
55396 * sysdeps/i386/fpu/libm-test-ulps: Update.
55397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55398
55399 [BZ #13851]
55400 [BZ #13854]
55401 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55402 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55403 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55404 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55405 (__tanl): Set errno for infinite argument.
55406 * sysdeps/i386/fpu/mptan.c: Remove.
55407 * sysdeps/i386/fpu/s_tan.S: Likewise.
55408 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55409 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55410 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55411 * math/libm-test.inc (tan_test): Add more tests and enable more
55412 tests for double and long double.
55413 * sysdeps/i386/fpu/libm-test-ulps: Update.
55414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55415
55416 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55417
55418 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55419 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55420
55421 2012-03-16 Roland McGrath <roland@hack.frob.com>
55422
55423 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55424 * configure.in: Use it for both main tree and add-ons.
55425 * configure: Regenerated.
55426
55427 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55428
55429 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55430
55431 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55432
55433 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55434 in comment.
55435
55436 [BZ #13851]
55437 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55438 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55439 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55440 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55441 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55442 infinite argument.
55443 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55444 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55445 != 0 for prec == 2.
55446 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55447 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55448 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55449 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55450 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55451 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55452 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55453 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55454 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55455 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55456 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55457 * math/libm-test.inc (cos_test): Add more tests and enable more
55458 tests for long double.
55459 (sin_test): Likewise.
55460 (sincos_test): Likewise.
55461 * sysdeps/i386/fpu/libm-test-ulps: Update.
55462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55463
55464 2012-03-16 David S. Miller <davem@davemloft.net>
55465
55466 * sysdeps/sparc/fpu/math_private.h: New file.
55467
55468 2012-03-15 David S. Miller <davem@davemloft.net>
55469
55470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55471 file.
55472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55474 file.
55475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55480 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55481 sysdep routines.
55482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55483
55484 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55485 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55486
55487 * sysdeps/sparc/sparc-ifunc.h: New file.
55488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55489 sparc-ifunc.h
55490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55492 Likewise.
55493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55494 Likewise.
55495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55499 Likewise.
55500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55505 Likewise.
55506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55507 Likewise.
55508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55527 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55529 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55530 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55531 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55532
55533 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55534
55535 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55536 scaling.
55537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55538
55539 2012-03-15 Andreas Jaeger <aj@suse.de>
55540
55541 [BZ #13852]
55542 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55543 ieee754/flt-32 implementation for sin, cos and sincos.
55544 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55545 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55546 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55547 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55548 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55549 ieee754/flt-32 implementation for tan.
55550
55551 * math/libm-test.inc (cos_test): Enable some large input tests for
55552 float as well
55553 (sin_test): Likewise.
55554 (sincos_test): Likewise.
55555 (tan_test): Add tests for large input.
55556
55557 * sysdeps/i386/fpu/libm-test-ulps: Update.
55558
55559 2012-03-15 Andreas Jaeger <aj@suse.de>
55560
55561 [BZ #13658]
55562 * math/libm-test.inc (cos_test): Add more test cases.
55563 (sin_test): Likewise.
55564 (sincos_test): Likewise.
55565
55566 2012-03-15 Andreas Jaeger <aj@suse.de>
55567
55568 [BZ #13837]
55569 * math/libm-test.inc (cos_test): Add a test case for large input
55570 value.
55571 (sin_test): Likewise.
55572 (sincos_test): Likewise.
55573
55574 2012-03-15 Andreas Jaeger <aj@suse.de>
55575 Joseph Myers <joseph@codesourcery.com>
55576
55577 [BZ #13658]
55578 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55579 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55580 * sysdeps/i386/fpu/branred.c: Likewise.
55581 * sysdeps/i386/fpu/dosincos.c: Likewise.
55582 * sysdeps/i386/fpu/mpa.c: Likewise.
55583 * sysdeps/i386/fpu/s_cos.S: Likewise.
55584 * sysdeps/i386/fpu/s_sin.S: Likewise.
55585 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55586 * sysdeps/i386/fpu/sincos32.c: Likewise.
55587
55588 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55589 Define.
55590 (libc_feupdateenv_53bit): Define.
55591 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55592 Define.
55593 (libc_feupdateenv_53bit): Define.
55594
55595 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55596 53 bit (without extend i386 double precision).
55597
55598 * math/libm-test.inc (sincos_test): Add tests for large input.
55599 (sin): Likewise.
55600 (cos): Likewise.
55601
55602 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55603
55604 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55605
55606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55607
55608 2012-03-15 David S. Miller <davem@davemloft.net>
55609
55610 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55611 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55612 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55613 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55626 file.
55627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55629 file.
55630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55632 file.
55633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55635 file.
55636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55637 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55638 fmin/fmax sysdep routines.
55639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55640
55641 2012-03-14 David S. Miller <davem@davemloft.net>
55642
55643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55647 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55648 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55650 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55663 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55664 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55665 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55666 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55667 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55668 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55671 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55672 routines.
55673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55674 file.
55675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55677 file.
55678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55680 file.
55681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55683 file.
55684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55686 file.
55687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55689 file.
55690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55691 file.
55692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55693 file.
55694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55695 file.
55696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55697 New file.
55698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55699 file.
55700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55701 file.
55702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55704 file.
55705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55707 file.
55708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55710 file.
55711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55713 VIS3 routines.
55714
55715 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55716 New file.
55717
55718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55719
55720 * sysdeps/sparc/configure.in: New file.
55721 * sysdeps/sparc/configure: Generate.
55722 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55723 * configure: Regenerate.
55724 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55725 * config.make.in (have-as-vis3): New.
55726 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55727 available use -Av9d instead of -Av9a.
55728 * sysdeps/sparc/sparc64/Makefile: Likewise.
55729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55731 New file.
55732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55733 file.
55734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55735 New file.
55736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55737 file.
55738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55743
55744 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55745 fzeros/fnegs to load 0x80000000 into a float register instead of
55746 using the stack.
55747 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55748
55749 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55750
55751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55752 bits/syscall.h.
55753 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55754 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55755 ($(inst_includedir)/bits/syscall.h): Remove rule.
55756 ($(objpfx)bits/syscall.d): Include instead of
55757 $(objpfx)syscall-list.d.
55758 (generated): Change syscall-list.h and syscall-list.d to
55759 bits/syscall.h and bits/syscall.d.
55760
55761 2012-03-14 Roland McGrath <roland@hack.frob.com>
55762
55763 [BZ #13846]
55764 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55765
55766 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55767
55768 [BZ #13841]
55769 * math/s_csqrt.c: Include <float.h>.
55770 (__csqrt): Scale large or subnormal inputs.
55771 * math/s_csqrtf.c: Likewise.
55772 * math/s_csqrtl.c: Likewise.
55773 * math/libm-test.inc (csqrt_test): Add more tests.
55774 * sysdeps/i386/fpu/libm-test-ulps: Update.
55775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55776
55777 [BZ #13840]
55778 * math/libm-test.inc (hypot_test): Add more tests.
55779
55780 2012-03-13 David S. Miller <davem@davemloft.net>
55781
55782 [BZ #13840]
55783 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55784 double-precision for the calculation instead of scaling.
55785
55786 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55787
55788 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55789 manipulate bits before adding and subtracting TWO52[sx].
55790 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55791 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55792 Likewise.
55793 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55794
55795 2012-03-13 David S. Miller <davem@davemloft.net>
55796
55797 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55798 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55799 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55800 rtld-global-offsets.h
55801 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55802
55803 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55804 large parameters.
55805
55806 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55807
55808 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55809 'err' in the ifdef scope in which it is actually used.
55810
55811 * nss/nss_db/db-init.c: Include string.h
55812
55813 2012-03-12 David S. Miller <davem@davemloft.net>
55814
55815 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55816 masking out of the most significant byte of random value used.
55817 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55818 Fix coding style in previous change.
55819
55820 * sysdeps/unix/sysv/linux/kernel-features.h
55821 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55822 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55823 expression.
55824 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55825 later.
55826
55827 2012-03-11 David S. Miller <davem@davemloft.net>
55828
55829 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55830 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55831 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55832 for 'resultvar' otherwise things get truncated on 64-bit.
55833
55834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55835 Fix masking out of the most significant byte of random value used.
55836
55837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55838
55839 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55840
55841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55842
55843 2012-03-09 David S. Miller <davem@davemloft.net>
55844
55845 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55846 variables with appropriate CPP guards.
55847 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55848 from the frame pointer, not the stack pointer. Correct layout
55849 comments. Fix test on resulting framesize and the management of
55850 the outregs buffer for pltexit. Preserve floating point return
55851 values across _dl_call_pltexit call.
55852 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55853 framesize and the management of the outregs buffer for pltexit.
55854 Preserve floating point return values across _dl_call_pltexit
55855 call.
55856 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55857 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55858 (la_sparc64_gnu_pltexit): New functions.
55859 (print_exit): Fix format string for return register value.
55860
55861 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55862
55863 * sunrpc/Makefile (others): Add rpcgen.
55864 ($(objpfx)rpcgen): Remove special build rule and dependency on
55865 libc.
55866 * sunrpc/rpcgen.c: New file.
55867
55868 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55869
55870 [BZ #13673]
55871 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55872 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55873 * sysdeps/i386/crti.S: Likewise.
55874 * sysdeps/i386/crtn.S: Likewise.
55875 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55876 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55877 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55878 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55879 * sysdeps/sh/crti.S: Likewise.
55880 * sysdeps/sh/crtn.S: Likewise.
55881 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55882
55883 [BZ #13673]
55884 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55885 with URL.
55886 * locale/programs/locfile-kw.gperf: Likewise.
55887 * locale/programs/charmap-kw.h: Regenerated.
55888 * locale/programs/locfile-kw.h: Likewise.
55889
55890 [BZ #13673]
55891 * intl/plural.y: Replace FSF snail mail address with URL.
55892 * intl/plural.c: Regenerated.
55893
55894 2012-03-09 Richard Henderson <rth@twiddle.net>
55895
55896 * include/math_private.h: Remove file.
55897 * math/math_private.h: Move file ...
55898 * sysdeps/generic/math_private.h: ... here.
55899
55900 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55901 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55902 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55903
55904 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55905 and <math_private.h>.
55906 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55907 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55908 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55909 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55910 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55911 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55912 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55914 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55915 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55917 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55918 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55919 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55920 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55921 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55922 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55923 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55924 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55925 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55927 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55928 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55930 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55931 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55932 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55933 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55935 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55936 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55937 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55938 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55939 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55940 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55941 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55942 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55943 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55944 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55945 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55946 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55947 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55948 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55949 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55950 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55951 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55952 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55953 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55954 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55955 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55956 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55957 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55958 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55959 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55960 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55961 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55962 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55963 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55964 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55965 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55966 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55967 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55969 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55970 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55971 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55972 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55973 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55974 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55975 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55976 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55977 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55978 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55979 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55980 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55981 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55982 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55983 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55984 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55985 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55986 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55987 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55988 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55989 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55990 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55992 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55993 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55994 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55995 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55996 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55997 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55998 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55999 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56000 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56001 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56002 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56003 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56004 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56005 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56006 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56007 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56008 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56009 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56010 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56011 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56012 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56013 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56014 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56015 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56016 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56017 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56018 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56019 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56020 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56021 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56022 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56023 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56024 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56025 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56026 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56027 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56028 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56029 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56030 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56031 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56032 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56033 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56034 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56035 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56036 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56037 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56038 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56039 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56040 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56041 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56042 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56043 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56044 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56045 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56046 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56047 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56048 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56049 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56050 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56051 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56052 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56053 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56054 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56055 * sysdeps/ieee754/k_standard.c: Likewise.
56056 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56057 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56058 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56059 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56060 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56061 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56062 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56063 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56064 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56065 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56066 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56067 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56068 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56069 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56070 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56071 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56072 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56073 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56074 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56075 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56076 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56077 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56078 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56079 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56080 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56081 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56082 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56083 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56084 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56085 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56086 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56087 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56088 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56089 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56090 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56091 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56092 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56093 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56094 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56095 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56096 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56097 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56098 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56099 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56100 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56101 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56102 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56103 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56104 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56105 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56106 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56107 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56108 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56109 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56110 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56111 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56112 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56113 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56114 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56115 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56116 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56117 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56118 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56119 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56120 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56121 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56122 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56123 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56124 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56125 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56126 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56127 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56128 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56129 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56130 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56131 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56132 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56133 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56134 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56135 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56136 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56137 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56138 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56139 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56140 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56141 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56142 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56143 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56144 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56145 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56146 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56147 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56148 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56149 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56150 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56151 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56152 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56153 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56154 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56155 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56156 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56157 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56158 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56159 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56160 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56161 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56162 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56163 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56164 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56165 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56166 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56167 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56168 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56169 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56170 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56171 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56172 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56173 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56174 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56175 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56176 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56177 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56178 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56179 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56180 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56181 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56182 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56183 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56184 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56185 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56186 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56187 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56188 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56189 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56190 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56191 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56192 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56193 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56194 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56195 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56196 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56197 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56198 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56199 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56200 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56201 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56202 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56203 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56204 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56205 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56206 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56207 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56208 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56209 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56210 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56211 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56212 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56213 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56214 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56215 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56216 * sysdeps/ieee754/s_lib_version.c: Likewise.
56217 * sysdeps/ieee754/s_matherr.c: Likewise.
56218 * sysdeps/ieee754/s_signgam.c: Likewise.
56219 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56220 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56221 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56222 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56223 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56224 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56225 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56226 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56227 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56228 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56229 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56230 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56231 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56232 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56233 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56234 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56235 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56236 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56237 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56238 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56239 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56240
56241 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56242
56243 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56244 * sunrpc/rpc_main.c: Likewise.
56245 * sunrpc/rpc_svcout.c: Likewise.
56246
56247 2012-03-09 David S. Miller <davem@davemloft.net>
56248
56249 * include/math_private.h: New file.
56250
56251 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56252
56253 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56254 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56255 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56256 from <bits/socket_type.h>.
56257 (enum __socket_type): Don't define here.
56258 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56260 bits/socket_type.h.
56261
56262 [BZ #13566]
56263 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56264 checking __USE_GNU.
56265
56266 * Makerules ($(inst_includedir)/%.h): New rule.
56267 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56268 (install-others): Remove variable setting.
56269 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56270
56271 2012-03-08 Richard Henderson <rth@twiddle.net>
56272
56273 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56274 from macro to inline function; merge with the
56275 !__LIBC_INTERNAL_MATH_INLINES version.
56276 (__ieee754_sqrtf): Likewise.
56277
56278 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56279 to inline function.
56280 (__rintf, __floor, __floorf): Likewise.
56281
56282 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56283 macro to inline function.
56284 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56285
56286 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56287 not <math/math_private.h>.
56288
56289 2012-03-08 David S. Miller <davem@davemloft.net>
56290
56291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56292 copyright year.
56293 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56294
56295 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56296
56297 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56298 normalization.
56299 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56300 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56301
56302 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56303
56304 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56305 be defined individually, they must be defined as a block. Define
56306 S for printing a string instead of hidint the different by using a
56307 macro for adding the 'l'.
56308 * stdio-common/tst-fphex-wide.c: Adjust.
56309
56310 2012-03-07 Marek Polacek <polacek@redhat.com>
56311
56312 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56313
56314 2012-03-08 Marek Polacek <polacek@redhat.com>
56315
56316 [BZ #13806]
56317 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56318 * stdio-common/tst-fphex.c: Define a few macros to make the
56319 test reusable. Use them.
56320 * stdio-common/tst-fphex-wide.c: New file.
56321
56322 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56323
56324 [BZ #6911]
56325 * manual/macros.texi (gnusystems): New macro.
56326 (nongnusystems): Likewise.
56327 (gnulinuxhurdsystems): Likewise.
56328 (gnuhurdsystems): Likewise..
56329 (gnulinuxsystems): Likewise.
56330 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56331 variants of the GNU system, not "GNU system".
56332 * manual/conf.texi: Likewise.
56333 * manual/errno.texi: Likewise. Update example of errno macro
56334 expansion.
56335 * manual/filesys.texi: Likewise.
56336 (getumask): Document as specific to GNU/Hurd.
56337 * manual/install.texi: Likewise. Reword some references to
56338 GNU/Linux.
56339 * manual/intro.texi: Likewise.
56340 * manual/io.texi: Likewise.
56341 (File Name Portability): Detail which constraints are inapplicable
56342 to all GNU systems and which are only inapplicable to GNU/Hurd.
56343 * manual/job.texi: Likewise.
56344 * manual/llio.texi: Likewise.
56345 (O_NOCTTY): Document as present on GNU/Linux.
56346 * manual/maint.texi: Likewise.
56347 * manual/memory.texi: Likewise.
56348 * manual/pattern.texi: Likewise.
56349 * manual/pipe.texi: Likewise.
56350 * manual/process.texi: Likewise.
56351 * manual/resource.texi: Likewise.
56352 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56353 child on GNU/Hurd.
56354 * manual/setjmp.texi: Likewise.
56355 * manual/signal.texi: Likewise.
56356 * manual/startup.texi: Likewise.
56357 * manual/stdio.texi: Likewise.
56358 * manual/terminal.texi: Likewise.
56359 (ONLCR): Document as POSIX.
56360 (OXTABS): Document availability on GNU/Linux as XTABS.
56361 (ONOEOT): Document availability separately from other bits.
56362 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56363 * manual/time.texi: Likewise.
56364 * manual/users.texi: Likewise.
56365 * INSTALL: Regenerated.
56366 * sysdeps/gnu/errlist.c: Regenerated.
56367
56368 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56369 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56370 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56371 puts.
56372 * configure: Regenerated.
56373
56374 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56375
56376 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56377 default includes instead of AC_HEADER_CHECK.
56378 * sysdeps/i386/configure: Regenerated.
56379
56380 [BZ #10716]
56381 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56382 * math/s_cacoshf.c (__cacoshf): Likewise.
56383 * math/s_cacoshl.c (__cacoshl): Likewise.
56384 * math/s_casinh.c (__casinh): Set signs of result from argument.
56385 * math/s_casinhf.c (__casinhf): Likewise.
56386 * math/s_casinhl.c (__casinhl): Likewise.
56387 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56388 (casinh_test): Add more tests.
56389 * sysdeps/i386/fpu/libm-test-ulps: Update.
56390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56391
56392 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56393
56394 * po/zh_TW.po: Update from translation team.
56395
56396 * login/Makefile (distribute): Remove variable.
56397 * catgets/Makefile: Likewise.
56398 * mach/Makefile: Likewise.
56399 * malloc/Makefile: Likewise.
56400 * misc/Makefile: Likewise.
56401 * iconv/Makefile: Likewise.
56402 * nscd/Makefile: Likewise.
56403 * hurd/Makefile: Likewise.
56404 * manual/Makefile: Likewise.
56405 * locale/Makefile: Likewise.
56406 * intl/Makefile: Likewise.
56407 * conform/Makefile: Likewise.
56408 * nss/Makefile: Likewise.
56409 * time/Makefile: Likewise.
56410 * soft-fp/Makefile: Likewise.
56411 * dirent/Makefile: Likewise.
56412 * gmon/Makefile: Likewise.
56413 * po/Makefile: Likewise.
56414 * rt/Makefile: Likewise.
56415 * socket/Makefile: Likewise.
56416 * math/Makefile: Likewise.
56417 * signal/Makefile: Likewise.
56418 * debug/Makefile: Likewise.
56419 * elf/Makefile: Likewise.
56420 * timezone/Makefile: Likewise.
56421 * stdlib/Makefile: Likewise.
56422 * iconvdata/Makefile: Likewise.
56423 * sunrpc/Makefile: Likewise.
56424 * io/Makefile: Likewise.
56425 * argp/Makefile: Likewise.
56426 * inet/Makefile: Likewise.
56427 * hesiod/Makefile: Likewise.
56428 * grp/Makefile: Likewise.
56429 * csu/Makefile: Likewise.
56430 * wctype/Makefile: Likewise.
56431 * crypt/Makefile: Likewise.
56432 * libio/Makefile: Likewise.
56433 * string/Makefile: Likewise.
56434 * nis/Makefile: Likewise.
56435 * resolv/Makefile: Likewise.
56436 * stdio-common/Makefile: Likewise.
56437 * wcsmbs/Makefile: Likewise.
56438 * dlfcn/Makefile: Likewise.
56439 * posix/Makefile: Likewise.
56440
56441 [BZ #6959]
56442 * timezone/Makefile: Don't install timezone files, just the programs
56443 and scripts.
56444
56445 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56446
56447 * nss/databases.def: Add missing gshadow entry.
56448
56449 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56450
56451 2012-03-06 Marek Polacek <polacek@redhat.com>
56452
56453 [BZ #13726]
56454 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56455 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56456 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56457 * stdio-common/tst-long-dbl-fphex.c: New file.
56458
56459 2012-03-06 David S. Miller <davem@davemloft.net>
56460
56461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56462 (set_obp_int): New function.
56463 (get_obp_int): New function.
56464 (__get_clockfreq_via_dev_openprom): Likewise.
56465 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56466 Avoid unused variable warnings on 'val' and use builtin_expect.
56467 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56468 __builtin_expect.
56469 (INLINE_CLONE_SYSCALL): Likewise.
56470
56471 2012-03-05 David S. Miller <davem@davemloft.net>
56472
56473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56474
56475 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56476
56477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56478
56479 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56480 only for |x| >= 40.
56481 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56482
56483 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56484
56485 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56486 Replace gettimeofday with __vdso_gettimeofday.
56487
56488 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56489 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56490 __vdso_clock_gettime and __vdso_getcpu.
56491
56492 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56493 time with __vdso_time.
56494
56495 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56496
56497 * manual/lang.texi (size_t): Note types to which size_t may be
56498 equivalent with the GNU C Library, but do not describe when
56499 differences between them are significant.
56500
56501 2012-03-05 Andreas Jaeger <aj@suse.de>
56502
56503 * sysdeps/i386/fpu/libm-test-ulps: Update.
56504
56505 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56506
56507 [BZ #3976]
56508 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56509 (__ieee754_pow): Save and restore rounding mode and use
56510 round-to-nearest for main computations.
56511 * math/libm-test.inc (pow_test_tonearest): New function.
56512 (pow_test_towardzero): Likewise.
56513 (pow_test_downward): Likewise.
56514 (pow_test_upward): Likewise.
56515 (main): Call the new functions.
56516 * sysdeps/i386/fpu/libm-test-ulps: Update.
56517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56518
56519 [BZ #3976]
56520 * math/libm-test.inc (cosh_test_tonearest): New function.
56521 (cosh_test_towardzero): Likewise.
56522 (cosh_test_downward): Likewise.
56523 (cosh_test_upward): Likewise.
56524 (sinh_test_tonearest): Likewise.
56525 (sinh_test_towardzero): Likewise.
56526 (sinh_test_downward): Likewise.
56527 (sinh_test_upward): Likewise.
56528 (main): Call the new functions.
56529 * sysdeps/i386/fpu/libm-test-ulps: Update.
56530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56531
56532 2012-03-05 Tom de Vries <tom@codesourcery.com>
56533
56534 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56535 default stack guard is set in last bytes.
56536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56537
56538 2012-03-05 Kees Cook <keescook@chromium.org>
56539
56540 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56541
56542 [BZ #13656]
56543 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56544 possibly allocate from heap instead of stack.
56545 * stdio-common/bug-vfprintf-nargs.c: New file.
56546 * stdio-common/Makefile (tests): Add nargs overflow test.
56547
56548 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56549
56550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56551
56552 2012-03-03 Marek Polacek <polacek@redhat.com>
56553
56554 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56555 * math/math_private.h: Likewise.
56556 * stdlib/tst-strtod.c: Likewise.
56557 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56558 * sysdeps/x86_64/bits/atomic.h: Likewise.
56559
56560 2012-03-02 David S. Miller <davem@davemloft.net>
56561
56562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56566 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56567 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56568 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56569 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56570
56571 2012-03-02 Roland McGrath <roland@hack.frob.com>
56572
56573 [BZ #13792]
56574 * manual/examples/README: New file, says the example source files
56575 can be used under GPL>=2.
56576 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56577 line containing just "*/".
56578 * manual/examples/add.c: Add copyright header (GPL>=2).
56579 * manual/examples/argp-ex1.c: Likewise.
56580 * manual/examples/argp-ex2.c: Likewise.
56581 * manual/examples/argp-ex3.c: Likewise.
56582 * manual/examples/argp-ex4.c: Likewise.
56583 * manual/examples/atexit.c: Likewise.
56584 * manual/examples/db.c: Likewise.
56585 * manual/examples/dir.c: Likewise.
56586 * manual/examples/dir2.c: Likewise.
56587 * manual/examples/execinfo.c: Likewise.
56588 * manual/examples/filecli.c: Likewise.
56589 * manual/examples/filesrv.c: Likewise.
56590 * manual/examples/fmtmsgexpl.c: Likewise.
56591 * manual/examples/genpass.c: Likewise.
56592 * manual/examples/inetcli.c: Likewise.
56593 * manual/examples/inetsrv.c: Likewise.
56594 * manual/examples/isockad.c: Likewise.
56595 * manual/examples/longopt.c: Likewise.
56596 * manual/examples/memopen.c: Likewise.
56597 * manual/examples/memstrm.c: Likewise.
56598 * manual/examples/mkfsock.c: Likewise.
56599 * manual/examples/mkisock.c: Likewise.
56600 * manual/examples/mygetpass.c: Likewise.
56601 * manual/examples/pipe.c: Likewise.
56602 * manual/examples/popen.c: Likewise.
56603 * manual/examples/rprintf.c: Likewise.
56604 * manual/examples/search.c: Likewise.
56605 * manual/examples/select.c: Likewise.
56606 * manual/examples/setjmp.c: Likewise.
56607 * manual/examples/sigh1.c: Likewise.
56608 * manual/examples/sigusr.c: Likewise.
56609 * manual/examples/stpcpy.c: Likewise.
56610 * manual/examples/strdupa.c: Likewise.
56611 * manual/examples/strftim.c: Likewise.
56612 * manual/examples/strncat.c: Likewise.
56613 * manual/examples/subopt.c: Likewise.
56614 * manual/examples/swapcontext.c: Likewise.
56615 * manual/examples/termios.c: Likewise.
56616 * manual/examples/testopt.c: Likewise.
56617 * manual/examples/testpass.c: Likewise.
56618 * manual/examples/timeval_subtract.c: Likewise.
56619
56620 [BZ #13792]
56621 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56622 function to ...
56623 * manual/timeval_subtract.c.texi: ... here, new file.
56624
56625 2012-03-02 David S. Miller <davem@davemloft.net>
56626
56627 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56628
56629 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56630
56631 [BZ #3976]
56632 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56633 (__sin): Save and restore rounding mode and use round-to-nearest
56634 for all computations.
56635 (__cos): Save and restore rounding mode and use round-to-nearest
56636 for all computations.
56637 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56638 <fenv.h>.
56639 (tan): Save and restore rounding mode and use round-to-nearest for
56640 all computations.
56641 * math/libm-test.inc (cos_test_tonearest): New function.
56642 (cos_test_towardzero): Likewise.
56643 (cos_test_downward): Likewise.
56644 (cos_test_upward): Likewise.
56645 (sin_test_tonearest): Likewise.
56646 (sin_test_towardzero): Likewise.
56647 (sin_test_downward): Likewise.
56648 (sin_test_upward): Likewise.
56649 (tan_test_tonearest): Likewise.
56650 (tan_test_towardzero): Likewise.
56651 (tan_test_downward): Likewise.
56652 (tan_test_upward): Likewise.
56653 (main): Call the new functions.
56654 * sysdeps/i386/fpu/libm-test-ulps: Update.
56655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56656
56657 [BZ #10135]
56658 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56659 small n, then large n, before computing and testing k+n.
56660 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56661 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56662 Likewise.
56663 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56664 Likewise.
56665 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56666 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56667 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56668 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56669 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56670 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56671 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56672 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56673 * math/libm-test.inc (scalbn_test): Add more tests.
56674 (scalbln_test): Likewise.
56675
56676 * manual/filesys.texi (mode_t): Describe constraints on size and
56677 signedness, not exact equivalence to a particular type.
56678 (ino_t): Likewise.
56679 (ino64_t): Likewise.
56680 (dev_t): Likewise.
56681 (nlink_t): Likewise.
56682 (blkcnt_t): Likewise.
56683 (blkcnt64_t): Likewise.
56684 * manual/llio.texi (off_t): Likewise.
56685
56686 [BZ #3976]
56687 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56688 (__ieee754_exp): Save and restore rounding mode and use
56689 round-to-nearest for all computations.
56690 * math/libm-test.inc (exp_test_tonearest): New function.
56691 (exp_test_towardzero): Likewise.
56692 (exp_test_downward): Likewise.
56693 (exp_test_upward): Likewise.
56694 (main): Call the new functions.
56695 * sysdeps/i386/fpu/libm-test-ulps: Update.
56696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56697
56698 2012-03-01 Chris Demetriou <cgd@google.com>
56699
56700 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56701 have predictable order.
56702
56703 2012-03-01 David S. Miller <davem@davemloft.net>
56704
56705 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56706
56707 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56708 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56709 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56710 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56711
56712 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56713 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56714 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56716 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56717 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56718 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56719 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56720 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56721
56722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56723
56724 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56725 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56726 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56727
56728 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56729 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56730 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56731 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56732 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56734 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56735 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56736 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56737 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56738 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56739 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56740 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56741 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56742 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56743 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56744 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56745 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56746 * sysdeps/sparc/elf/configure: Regenerated.
56747
56748 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56749
56750 * configure.in (AS, LD): Require binutils 2.20 or later.
56751 * configure: Regenerated.
56752 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56753 as required minimum version.
56754 * INSTALL: Regenerated.
56755
56756 [BZ #2541]
56757 [BZ #4108]
56758 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56759 before squaring exponent.
56760 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56761 bottom long double and 27 bits of top long double before squaring
56762 exponent.
56763 * math/libm-test.inc (erfc_test): Add more tests.
56764 * sysdeps/i386/fpu/libm-test-ulps: Update.
56765 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56767
56768 2012-03-01 Kai Tietz <ktietz@redhat.com>
56769
56770 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56771 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56772 containing bit-fields.
56773 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56774 * soft-fp/single.h (_FP_UNION_S): Likewise.
56775 * soft-fp/double.h (_FP_UNION_D): Likewise.
56776
56777 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56778
56779 [BZ #13786]
56780 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56781 not include ../strcmp.S.
56782 [USE_AS_STRNCASECMP_L]: Likewise.
56783 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56784 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56785 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56786 (__strncasecmp_l_ia32): Define as alias to
56787 __strncasecmp_l_nonascii.
56788
56789 [BZ #5794]
56790 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56791 * sysdeps/i386/fpu/libm-test-ulps: Update.
56792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56793
56794 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56796
56797 2012-02-29 Jeff Law <law@redhat.com>
56798
56799 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56800 out of bounds read.
56801
56802 2012-02-29 Marek Polacek <polacek@redhat.com>
56803
56804 [BZ #13706]
56805 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56806 * elf/Makefile: Add rules to run tst-unused-dep.out.
56807
56808 2012-02-28 David S. Miller <davem@davemloft.net>
56809
56810 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56811 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56812 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56813 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56814 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56815 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56816
56817 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56818
56819 * math/libm-test.inc (llround_test): Move one test from
56820 lround_test. Use TEST_f_L in moved test.
56821 (lround_test): Move misplaced test to llround_test. Add testcase
56822 from bug 2561.
56823
56824 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56825
56826 * sysdeps/x86_64/fpu/e_expf.S: New file.
56827 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56828
56829 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56830
56831 [BZ #13637]
56832 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56833 of remain_len that may cause incomplete multi-byte character and
56834 false match.
56835 * posix/bug-regex33.c: New file.
56836 * posix/Makefile (tests): Add bug-regex33.
56837
56838 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56839
56840 * manual/macros.texi: New file.
56841 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56842 * manual/libc.texinfo: Include macros.texi.
56843 * manual/creatute.texi: Likewise.
56844 * manual/install.texi: Likewise.
56845 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56846 @glibcadj{} in references to the GNU C Library.
56847 * manual/charset.texi: Likewise.
56848 * manual/conf.texi: Likewise.
56849 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56850 when not using those macros.
56851 * manual/creature.texi: Likewise.
56852 * manual/crypt.texi: Likewise.
56853 * manual/errno.texi: Likewise.
56854 * manual/filesys.texi: Likewise.
56855 * manual/header.texi: Likewise.
56856 * manual/install.texi: Likewise.
56857 * manual/intro.texi: Likewise.
56858 * manual/io.texi: Likewise.
56859 * manual/job.texi: Likewise.
56860 * manual/lang.texi: Likewise.
56861 * manual/libc.texiinfo: Likewise.
56862 * manual/llio.texi: Likewise.
56863 * manual/locale.texi: Likewise.
56864 * manual/maint.texi: Likewise.
56865 * manual/math.texi: Likewise.
56866 * manual/memory.texi: Likewise.
56867 * manual/message.texi: Likewise.
56868 * manual/nss.texi: Likewise.
56869 * manual/pattern.texi: Likewise.
56870 * manual/process.texi: Likewise.
56871 * manual/resource.texi: Likewise.
56872 * manual/search.texi: Likewise.
56873 * manual/setjmp.texi: Likewise.
56874 * manual/signal.texi: Likewise.
56875 * manual/socket.texi: Likewise.
56876 * manual/startup.texi: Likewise.
56877 * manual/stdio.texi: Likewise.
56878 * manual/string.texi: Likewise.
56879 * manual/sysinfo.texi: Likewise.
56880 * manual/syslog.texi: Likewise.
56881 * manual/terminal.texi: Likewise.
56882 * manual/time.texi: Likewise.
56883 * manual/users.texi: Likewise.
56884 * INSTALL: Regenerated.
56885 * NOTES: Regenerated.
56886 * sysdeps/gnu/errlist.c: Regenerated.
56887
56888 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56889
56890 * include/dirent.h: Include <dirstream.h> before
56891 <dirent/dirent.h>.
56892
56893 2012-02-28 David S. Miller <davem@davemloft.net>
56894
56895 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56896 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56897 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56898 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56899
56900 2012-02-27 David S. Miller <davem@davemloft.net>
56901
56902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56904 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56905 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56906
56907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56908 frame pointer instead of stack pointer relative arg slot.
56909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56910 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56911 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56912
56913 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56914
56915 [BZ #3992]
56916 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56917
56918 2012-02-27 David S. Miller <davem@davemloft.net>
56919
56920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56924 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56925 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56926 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56927 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56928
56929 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56930
56931 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56932 later. Allow versions 5-9.
56933 * configure: Regenerated.
56934 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56935 required minimum version and 4.6 as recommended version. Do not
56936 mention bugs in GCC 2.7 and 2.8.
56937 * INSTALL: Regenerated.
56938
56939 2012-02-27 David S. Miller <davem@davemloft.net>
56940
56941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56945 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56946 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56947 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56948 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56949
56950 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56951 manipulate bits before adding and subtracting TWO112[sx].
56952 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56953
56954 2012-02-27 Roland McGrath <roland@hack.frob.com>
56955
56956 [BZ #13775]
56957 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56958 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56959 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56960 being in POSIX, because they are in 1003.1-2008.
56961
56962 * rt/tst-aio.c: Include <fcntl.h>.
56963 * rt/tst-aio7.c: Likewise.
56964 * rt/tst-aio64.c: Likewise.
56965
56966 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56967
56968 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56969
56970 * manual/install.texi (--with-headers): Describe headers as
56971 interface headers, not private headers.
56972 (Specific advice for GNU/Linux systems): Describe use of headers
56973 from "make headers_install", not private headers from older
56974 kernels.
56975 * INSTALL: Regenerated.
56976 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56977 Change to 2.6.19.
56978 * sysdeps/unix/sysv/linux/configure: Regenerated.
56979
56980 * manual/llio.texi (fclean): Remove documentation.
56981
56982 * manual/Makefile (libc-texi-generated): New variable. Include
56983 version.texi.
56984 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56985 $(libc-texi-generated), not duplicated list of files.
56986 (version.texi, stamp-version): New rules.
56987 (realclean): Remove $(libc-texi-generated), not individual files
56988 from that list. Do not remove dir-add.texinfo.
56989 * manual/libc.texinfo: Comment out uses of edition numbers and
56990 references to printed manual. Remove last-updated dates.
56991 (EDITION): Comment out.
56992 (ISBN): Likewise.
56993 (VERSION, UPDATED): Remove.
56994 (version.texi): Include.
56995
56996 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56997
56998 * sysdeps/posix/spawni.c: Include <signal.h>.
56999 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57000 * sysdeps/pthread/aio_fsync.c: Likewise.
57001
57002 2012-02-26 Ulrich Drepper <drepper@gmail.com>
57003
57004 * conform/Makefile (tests): Run only when not cross-compiling and
57005 when fast-check is not defined.
57006
57007 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57008 * conform/data/limits.h-data: Fixes for POSIX2008.
57009 * conform/run-conformtest.sh: Run all tests.
57010 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57011 headers.
57012 * include/bits/dlfcn.h: Likewise.
57013 * include/langinfo.h: Likewise.
57014 * include/monetary.h: Likewise.
57015 * include/sys/poll.h: Likewise.
57016
57017 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57018 for __USE_GNU.
57019 * posix/spawn.h: Define __need_sigset_t.
57020 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57021 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57022 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
57023 to get sigevent_t only.
57024 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57025 only for __USE_GNU.
57026 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57027 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57028 process_vm_writev only for __USE_GNU.
57029 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57030
57031 * conform/Makefile: For now ignore errors from run-conformtest.
57032 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57033 POSIX to avoid namespace pollution. Don't prepend headers.
57034 * conform/data/aio.h-data: Fixes for POSIX testing.
57035 * conform/data/fcntl.h-data: Likewise.
57036 * conform/data/glob.h-data: Likewise.
57037 * conform/data/grp.h-data: Likewise.
57038 * conform/data/pthread.h-data: Likewise.
57039 * conform/data/pwd.h-data: Likewise.
57040 * conform/data/signal.h-data: Likewise.
57041 * conform/data/spawn.h-data: Likewise.
57042 * conform/data/stdio.h-data: Likewise.
57043 * conform/data/stdlib.h-data: Likewise.
57044 * conform/data/stropts.h-data: Likewise.
57045 * conform/data/sys/mman.h-data: Likewise.
57046 * conform/data/sys/stat.h-data: Likewise.
57047 * conform/data/sys/types.h-data: Likewise.
57048 * conform/data/sys/wait.h-data: Likewise.
57049 * conform/data/time.h-data: Likewise.
57050 * conform/data/unistd.h-data: Likewise.
57051 * conform/data/utime.h-data: Likewise.
57052
57053 * io/sys/stat.h: fchmod was always in POSIX.
57054 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57055 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57056 * rt/aio.h: Define __need_timespec before including <time.h>.
57057 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57058 struct. Add forward declaration of pthread_attr_t and use it in
57059 sigevent.
57060 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57061 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57062 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57063 always remove CLK_TCK definition.
57064
57065 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57066
57067 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57068
57069 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57070
57071 * conform/run-conformtest.sh: New file.
57072 * conform/Makefile: Run run-conformtest for tests.
57073 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57074 support.
57075
57076 * conform/data/uchar.h-data: New file.
57077 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57078 * conform/data/arpa/inet.h-data: Likewise.
57079 * conform/data/assert.h-data: Likewise.
57080 * conform/data/complex.h-data: Likewise.
57081 * conform/data/cpio.h-data: Likewise.
57082 * conform/data/ctype.h-data: Likewise.
57083 * conform/data/dirent.h-data: Likewise.
57084 * conform/data/dlfcn.h-data: Likewise.
57085 * conform/data/errno.h-data: Likewise.
57086 * conform/data/fcntl.h-data: Likewise.
57087 * conform/data/float.h-data: Likewise.
57088 * conform/data/fmtmsg.h-data: Likewise.
57089 * conform/data/fnmatch.h-data: Likewise.
57090 * conform/data/ftw.h-data: Likewise.
57091 * conform/data/glob.h-data: Likewise.
57092 * conform/data/grp.h-data: Likewise.
57093 * conform/data/iconv.h-data: Likewise.
57094 * conform/data/inttypes.h-data: Likewise.
57095 * conform/data/langinfo.h-data: Likewise.
57096 * conform/data/libgen.h-data: Likewise.
57097 * conform/data/limits.h-data: Likewise.
57098 * conform/data/locale.h-data: Likewise.
57099 * conform/data/math.h-data: Likewise.
57100 * conform/data/monetary.h-data: Likewise.
57101 * conform/data/mqueue.h-data: Likewise.
57102 * conform/data/ndbm.h-data: Likewise.
57103 * conform/data/net/if.h-data: Likewise.
57104 * conform/data/netdb.h-data: Likewise.
57105 * conform/data/netinet/in.h-data: Likewise.
57106 * conform/data/nl_types.h-data: Likewise.
57107 * conform/data/poll.h-data: Likewise.
57108 * conform/data/pthread.h-data: Likewise.
57109 * conform/data/pwd.h-data: Likewise.
57110 * conform/data/regex.h-data: Likewise.
57111 * conform/data/sched.h-data: Likewise.
57112 * conform/data/search.h-data: Likewise.
57113 * conform/data/semaphore.h-data: Likewise.
57114 * conform/data/setjmp.h-data: Likewise.
57115 * conform/data/signal.h-data: Likewise.
57116 * conform/data/spawn.h-data: Likewise.
57117 * conform/data/stdarg.h-data: Likewise.
57118 * conform/data/stdio.h-data: Likewise.
57119 * conform/data/stdlib.h-data: Likewise.
57120 * conform/data/string.h-data: Likewise.
57121 * conform/data/strings.h-data: Likewise.
57122 * conform/data/stropts.h-data: Likewise.
57123 * conform/data/sys/ipc.h-data: Likewise.
57124 * conform/data/sys/mman.h-data: Likewise.
57125 * conform/data/sys/msg.h-data: Likewise.
57126 * conform/data/sys/resource.h-data: Likewise.
57127 * conform/data/sys/select.h-data: Likewise.
57128 * conform/data/sys/sem.h-data: Likewise.
57129 * conform/data/sys/shm.h-data: Likewise.
57130 * conform/data/sys/socket.h-data: Likewise.
57131 * conform/data/sys/stat.h-data: Likewise.
57132 * conform/data/sys/statvfs.h-data: Likewise.
57133 * conform/data/sys/time.h-data: Likewise.
57134 * conform/data/sys/timeb.h-data: Likewise.
57135 * conform/data/sys/times.h-data: Likewise.
57136 * conform/data/sys/types.h-data: Likewise.
57137 * conform/data/sys/uio.h-data: Likewise.
57138 * conform/data/sys/un.h-data: Likewise.
57139 * conform/data/sys/utsname.h-data: Likewise.
57140 * conform/data/sys/wait.h-data: Likewise.
57141 * conform/data/syslog.h-data: Likewise.
57142 * conform/data/tar.h-data: Likewise.
57143 * conform/data/termios.h-data: Likewise.
57144 * conform/data/utime.h-data: Likewise.
57145 * conform/data/utmpx.h-data: Likewise.
57146 * conform/data/varargs.h-data: Likewise.
57147 * conform/data/wchar.h-data: Likewise.
57148 * conform/data/wctype.h-data: Likewise.
57149 * conform/data/wordexp.h-data: Likewise.
57150
57151 * include/stropts.h: New file.
57152 * include/uchar.h: New file.
57153 * include/aio.h: Changes to allow conformtest.pl to use the headers.
57154 * include/assert.h: Likewise.
57155 * include/ctype.h: Likewise.
57156 * include/dirent.h: Likewise.
57157 * include/dlfcn.h: Likewise.
57158 * include/fcntl.h: Likewise.
57159 * include/fnmatch.h: Likewise.
57160 * include/glob.h: Likewise.
57161 * include/grp.h: Likewise.
57162 * include/libio.h: Likewise.
57163 * include/locale.h: Likewise.
57164 * include/math.h: Likewise.
57165 * include/net/if.h: Likewise.
57166 * include/netdb.h: Likewise.
57167 * include/netinet/in.h: Likewise.
57168 * include/pthread.h: Likewise.
57169 * include/pwd.h: Likewise.
57170 * include/regex.h: Likewise.
57171 * include/sched.h: Likewise.
57172 * include/search.h: Likewise.
57173 * include/setjmp.h: Likewise.
57174 * include/signal.h: Likewise.
57175 * include/stdio.h: Likewise.
57176 * include/stdlib.h: Likewise.
57177 * include/string.h: Likewise.
57178 * include/sys/cdefs.h: Likewise.
57179 * include/sys/mman.h: Likewise.
57180 * include/sys/msg.h: Likewise.
57181 * include/sys/resource.h: Likewise.
57182 * include/sys/select.h: Likewise.
57183 * include/sys/socket.h: Likewise.
57184 * include/sys/stat.h: Likewise.
57185 * include/sys/statvfs.h: Likewise.
57186 * include/sys/time.h: Likewise.
57187 * include/sys/times.h: Likewise.
57188 * include/sys/uio.h: Likewise.
57189 * include/sys/utsname.h: Likewise.
57190 * include/sys/wait.h: Likewise.
57191 * include/termios.h: Likewise.
57192 * include/time.h: Likewise.
57193 * include/ulimit.h: Likewise.
57194 * include/unistd.h: Likewise.
57195 * include/utime.h: Likewise.
57196 * include/wchar.h: Likewise.
57197 * include/wctype.h: Likewise.
57198 * include/wordexp.h: Likewise.
57199
57200 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57201
57202 * time/time.h: TIME_UTC must be a macro.
57203 Make timespec_get available for ISO C11 only as well.
57204
57205 2012-02-24 Ulrich Drepper <drepper@gmail.com>
57206
57207 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57208 Reported by Peng Haitao <penght@cn.fujitsu.com>.
57209
57210 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57211
57212 * configure.in: Use -o not -a in test for unsupported multi-arch.
57213
57214 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57215
57216 * manual/texinfo.tex: Update to version 2012-01-19.16.
57217
57218 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57219
57220 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57221
57222 2012-02-24 Roland McGrath <roland@hack.frob.com>
57223
57224 [BZ #13738]
57225 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57226 * manual/fdl-1.3.texi: New file.
57227 * manual/fdl-1.1.texi: File removed.
57228
57229 [BZ #13738]
57230 * manual/libc.texinfo (FDL_VERSION): New @set.
57231 Use it for mention of FDL in cover text.
57232 (Documentation License): Use it in @include file name.
57233
57234 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57235 Roland McGrath <roland@hack.frob.com>
57236
57237 [BZ #5461]
57238 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57239 (not LONG_LONG_MAX and LONG_LONG_MIN.
57240 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57241 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57242 name.
57243 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57244
57245 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57246
57247 [BZ #2547]
57248 [BZ #11365]
57249 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57250 manipulate bits before adding and subtracting TWO23[sx].
57251 * math/libm-test.inc (nearbyint_test): Add more tests.
57252
57253 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57254
57255 [BZ #2548]
57256 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57257 bits before adding and subtracting TWO23[sx].
57258 * math/libm-test.inc (rint_test): Add more tests.
57259 (rint_test_tonearest): Likewise.
57260 (rint_test_towardzero): Likewise.
57261 (rint_test_downward): Likewise.
57262 (rint_test_upward: Likewise.
57263
57264 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57265
57266 [BZ #10110]
57267 * include/stdc-predef.h: New file. Extracted from features.h.
57268 * include/features.h: Include stdc-predef.h.
57269 * Makefile (headers): Add stdc-predef.h.
57270 * CONFORMANCE (Compiler limitations): Update.
57271
57272 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57273
57274 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57275
57276 2012-02-21 David S. Miller <davem@davemloft.net>
57277
57278 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57279 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57280
57281 2012-02-20 David S. Miller <davem@davemloft.net>
57282
57283 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57284 using a normal save/restore sequence, rather than allocating a
57285 dummy stack frame just to store a frame pointer and restore.
57286 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57287
57288 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57289
57290 * manual/install.texi: Fix stray word in line-wrapped comment.
57291
57292 2012-02-20 David S. Miller <davem@davemloft.net>
57293
57294 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57295 both binutils and gcc support GOTDATA.
57296
57297 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57298 "rd %pc" in the PIC register setup sequences.
57299
57300 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57301 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57302 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57303 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57304 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57305 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57306 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57307 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57308 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57309 (SYSCALL_ERROR_HANDLER): Likewise.
57310 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57311 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57313 (SYSCALL_ERROR_HANDLER): Likewise.
57314
57315 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57316 (HAVE_GCC_GOTDATA): New.
57317 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57318 relocation support in both binutils and gcc.
57319 * sysdeps/sparc/elf/configure: Regenerate.
57320
57321 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57322 * sysdeps/sparc/sparc32/elf/configure: Delete.
57323 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57324 * sysdeps/sparc/sparc64/elf/configure: Delete.
57325 * sysdeps/sparc/elf/configure.in: New file.
57326 * sysdeps/sparc/elf/configure: Generate.
57327
57328 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57329 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57330 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57331 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57332 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57333
57334 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57335
57336 * manual/install.texi: Do not mention specific glibc version
57337 numbers.
57338 * manual/libc.texinfo (VERSION, UPDATED): Update.
57339 (@copying): Use @copyright{} and range of years.
57340
57341 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57342
57343 [BZ #13695]
57344 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57345 [crti.S not in sysdirs] (generated): Do not append.
57346 [crti.S not in sysdirs] (omit-deps): Likewise.
57347 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57348 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57349 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57350 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57351 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57352 Likewise.
57353 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57354 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57355 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57356 * csu/defs.awk: Remove file.
57357 * sysdeps/generic/initfini.c: Likewise.
57358 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57359 variable.
57360 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57361 Likewise.
57362
57363 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57364
57365 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57366 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57367 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57368 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57369 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57370 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57371 <bits/epoll.h>.
57372 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57373 (__EPOLL_PACKED): Define to empty if not defined by
57374 <bits/epoll.h>.
57375 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57377 bits/epoll.h.
57378
57379 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57380
57381 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57382 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57383 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57384 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57385 <bits/timerfd.h>.
57386 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57388 bits/timerfd.h.
57389
57390 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57391
57392 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57393 in C locale.
57394 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57395 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57396 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57398
57399 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57400
57401 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57402 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57403
57404 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57405
57406 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57407 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57408 defined.
57409 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57410 Likewise.
57411 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57412 entry for 2.16.
57413
57414 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57415
57416 * math/w_acos.c: Use non-signaling floating-point comparisons.
57417 * math/w_acosf.c: Likewise.
57418 * math/w_acosh.c: Likewise.
57419 * math/w_acoshf.c: Likewise.
57420 * math/w_acoshl.c: Likewise.
57421 * math/w_acosl.c: Likewise.
57422 * math/w_asin.c: Likewise.
57423 * math/w_asinf.c: Likewise.
57424 * math/w_asinl.c: Likewise.
57425 * math/w_atanh.c: Likewise.
57426 * math/w_atanhf.c: Likewise.
57427 * math/w_atanhl.c: Likewise.
57428 * math/w_exp2.c: Likewise.
57429 * math/w_exp2f.c: Likewise.
57430 * math/w_exp2l.c: Likewise.
57431 * math/w_j0.c: Likewise.
57432 * math/w_j0f.c: Likewise.
57433 * math/w_j0l.c: Likewise.
57434 * math/w_j1.c: Likewise.
57435 * math/w_j1f.c: Likewise.
57436 * math/w_j1l.c: Likewise.
57437 * math/w_jn.c: Likewise.
57438 * math/w_jnf.c: Likewise.
57439 * math/w_log.c: Likewise.
57440 * math/w_log10.c: Likewise.
57441 * math/w_log10f.c: Likewise.
57442 * math/w_log10l.c: Likewise.
57443 * math/w_log2.c: Likewise.
57444 * math/w_log2f.c: Likewise.
57445 * math/w_log2l.c: Likewise.
57446 * math/w_logf.c: Likewise.
57447 * math/w_logl.c: Likewise.
57448 * math/w_sqrt.c: Likewise.
57449 * math/w_sqrtf.c: Likewise.
57450 * math/w_sqrtl.c: Likewise.
57451 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57452 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57453 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57454 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57455 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57456
57457 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57458
57459 [BZ #9739]
57460 * manual/string.texi (strnlen): Use correct parameter name in
57461 equivalent expression.
57462
57463 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57464
57465 [BZ #11174]
57466 * manual/users.texi (seteuid): Consistently use neweuid for
57467 argument name.
57468
57469 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57470
57471 [BZ #13704]
57472 * manual/nss.texi (Services in the NSS configuration): Correct
57473 list of services in example configuration file.
57474
57475 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57476
57477 [BZ #11322]
57478 * manual/arith.texi: Remove statements about negative zero
57479 behaving identically to zero.
57480
57481 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57482
57483 [BZ #5993]
57484 * manual/install.texi: Do not document upgrading from libc5.
57485
57486 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57487
57488 [BZ #4596]
57489 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57490
57491 2012-02-18 David S. Miller <davem@davemloft.net>
57492
57493 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57494 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57495 %o7 across the call.
57496 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57497 instead.
57498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57499 SETUP_PIC_REG_LEAF.
57500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57501 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57502 * sysdeps/sparc/crtn.S: Likewise.
57503
57504 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57505
57506 * aout/Makefile: Remove.
57507
57508 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57509
57510 [BZ #13058]
57511 * manual/examples/argp-ex1.c (main): Format definition in GNU
57512 style.
57513 * manual/examples/argp-ex2.c (main): Likewise.
57514 * manual/examples/argp-ex3.c (main): Likewise.
57515 * manual/examples/argp-ex4.c (main): Likewise.
57516 * manual/examples/longopt.c (main): Use new-style prototype
57517 definition.
57518 * manual/examples/strncat.c (main): Specify return type and use
57519 (void) for arguments.
57520 * manual/examples/subopt.c (main): Use char **argv argument.
57521
57522 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57523
57524 [BZ #5077]
57525 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57526 rounding modes.
57527
57528 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57529
57530 [BZ #6907]
57531 * manual/string.texi (strchr): Change when strchrnul is
57532 recommended.
57533
57534 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57535
57536 [BZ #174]
57537 * manual/locale.texi (setlocale): Document LOCPATH.
57538
57539 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57540
57541 [BZ #10210]
57542 * manual/process.texi (execle): Move @dots{} before last argument.
57543
57544 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57545
57546 [BZ #12047]
57547 * manual/charset.texi (Generic Charset Conversion): Fix typo
57548 (LC_TYPE -> LC_CTYPE).
57549
57550 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57551
57552 [BZ #5805]
57553 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57554 (scalbnf): Likewise.
57555 (scalbnl): Likewise.
57556 (scalbln): Likewise.
57557 (scalblnf): Likewise.
57558 (scalblnl): Likewise.
57559 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57560 (vwarnx): Likewise.
57561 (verr): Likewise.
57562 (verrx): Likewise.
57563 * manual/filesys.texi (telldir): Use braces around return type.
57564 * manual/llio.texi (mmap): Add space after comma.
57565 (mmap64): Likewise.
57566 * manual/math.texi (jn): Use @var{} on parameter names.
57567 (jnf): Likewise.
57568 (jnl): Likewise.
57569 (yn): Likewise.
57570 (ynf): Likewise.
57571 (ynl): Likewise.
57572 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57573 line.
57574 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57575 "...".
57576 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57577 (sched_get_priority_max): Likewise.
57578 * manual/signal.texi (sigvec): Add space after comma.
57579 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57580 names.
57581 (if_indextoname): Likewise.
57582 (if_freenameindex): Likewise.
57583 (sendto): Use ',' instead of '.' in prototype.
57584 * manual/startup.texi (syscall): Use @dots{} instead of literal
57585 "...".
57586 * manual/stdio.texi (__fpending): Separate initial words of
57587 paragraph from @deftypefun line.
57588 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57589 "...".
57590 (vsyslog): Use @var{} on parameter names.
57591 * manual/terminal.texi (stty): Use @var{} on parameter names.
57592 * manual/users.texi (getutmp): Use @var{} on parameter names.
57593 (getutmpx): Likewise.
57594
57595 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57596
57597 [BZ #6884]
57598 * manual/stdio.texi (fopen): Fix typos in description of
57599 ",ccs=STRING".
57600
57601 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57602
57603 [BZ #4026]
57604 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57605 get clock_id definition.
57606
57607 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57608
57609 [BZ #4822]
57610 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57611 (madvise): Cast every argument to void on its own.
57612
57613 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57614
57615 [BZ #9902]
57616 * manual/startup.texi (Exit Status): Fix typo.
57617
57618 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57619
57620 [BZ #10140]
57621 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57622 * manual/examples/argp-ex2.c: Likewise.
57623 * manual/examples/argp-ex3.c: Likewise.
57624
57625 2012-02-16 Richard Henderson <rth@redhat.com>
57626
57627 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57628 * sysdeps/s390/s390-32/initfini.c: Remove.
57629 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57630 * sysdeps/s390/s390-64/initfini.c: Remove.
57631
57632 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57633
57634 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57635 compiler output for sysdeps/generic/initfini.c.
57636 * sysdeps/sh/elf/initfini.c: Remove file.
57637
57638 2012-02-16 David S. Miller <davem@davemloft.net>
57639
57640 [BZ #11494]
57641 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57642
57643 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57644 * sysdeps/sparc/crti.S: New file.
57645 * sysdeps/sparc/crtn.S: New file.
57646 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57647 * sysdeps/sparc/sparc64/Makefile: Likewise.
57648
57649 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57650
57651 [BZ #3335]
57652 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57653
57654 2012-02-15 Roland McGrath <roland@hack.frob.com>
57655
57656 [BZ #4822]
57657 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57658
57659 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57660 (write, read, close): Likewise.
57661 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57662
57663 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57664
57665 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57666 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57667 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57668 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57669 <bits/signalfd.h>.
57670 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57672 bits/signalfd.h.
57673
57674 2012-02-14 Marek Polacek <polacek@redhat.com>
57675
57676 * sysdeps/x86_64/crti.S: New file.
57677 * sysdeps/x86_64/crtn.S: New file.
57678 * sysdeps/x86_64/elf/initfini.c: Remove file.
57679
57680 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57681
57682 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57683 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57684 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57685 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57686 <bits/inotify.h>.
57687 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57689 bits/inotify.h.
57690
57691 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57692
57693 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57694 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57695 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57696 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57697 <bits/eventfd.h>.
57698 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57700 bits/eventfd.h.
57701
57702 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57703
57704 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57705 __feraiseexcept instead of feraiseexcept.
57706
57707 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57708 nanosleep invocations.
57709 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57710 strings, and add error checking for a nanosleep invocations.
57711
57712 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57713
57714 Replace FSF snail mail address with URLs, as per GNU coding standards.
57715 Most of the snail mail addresses were wrong anyway, and omitting
57716 them makes the source code easier to maintain. Almost all of the
57717 changes are to license notices and to locale LC_IDENTIFICATION
57718 addresses, except for this one:
57719 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57720 not its snail mail address.
57721
57722 2012-02-09 Richard Henderson <rth@twiddle.net>
57723
57724 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57725 of kernel-features.h.
57726
57727 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57728
57729 2012-02-08 Marek Polacek <polacek@redhat.com>
57730
57731 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57732 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57733 * sysdeps/gnu/_G_config.h: Likewise.
57734 * sysdeps/generic/_G_config.h: Likewise.
57735
57736 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57737
57738 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57739 tests.
57740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57741
57742 * sysdeps/powerpc/powerpc32/crti.S: New file.
57743 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57744 * sysdeps/powerpc/powerpc64/crti.S: New file.
57745 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57746
57747 * Makeconfig (have-initfini): Don't set.
57748 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57749 * configure.in (nopic_initfini): Don't substitute.
57750 * config.h.in (HAVE_INITFINI): Don't #undef.
57751 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57752 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57753
57754 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57755
57756 Support crti.S and crtn.S provided directly by architectures.
57757 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57758 [crti.S in sysdirs] (omit-deps): Likewise.
57759 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57760 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57761 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57762 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57763 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57764 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57765 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57766 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57767 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57768 compiler output for sysdeps/generic/initfini.c.
57769 * sysdeps/i386/elf/Makefile: Remove file.
57770 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57771
57772 2012-02-07 Marek Polacek <polacek@redhat.com>
57773
57774 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57775 * sysdeps/gnu/_G_config.h: Likewise.
57776 * sysdeps/mach/hurd/_G_config.h: Likewise.
57777
57778 2012-02-07 Marek Polacek <polacek@redhat.com>
57779
57780 * math/Makefile (tests): Add tst-CMPLX2.
57781 * math/tst-CMPLX2.c: New file.
57782
57783 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57784
57785 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57786
57787 * math/libm-test.inc (jn_test): Add missing L suffix.
57788
57789 2012-02-06 Marek Polacek <polacek@redhat.com>
57790
57791 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57792 * sysdeps/i386/fpu/e_powf.S: Likewise.
57793 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57794 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57795 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57796 * sysdeps/i386/fpu/e_pow.S: Likewise.
57797 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57798 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57799 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57800 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57801 * sysdeps/i386/fpu/e_log2.S: Likewise.
57802 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57803 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57804 * sysdeps/i386/fpu/e_powl.S: Likewise.
57805 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57806 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57807 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57808 * sysdeps/i386/fpu/e_logl.S: Likewise.
57809 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57810 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57811 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57812 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57813 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57814 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57815 * sysdeps/i386/fpu/e_log.S: Likewise.
57816 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57817 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57818 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57819 * sysdeps/i386/fpu/e_logf.S: Likewise.
57820 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57821 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57822 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57823 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57824 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57825 * sysdeps/i386/fpu/e_log10.S: Likewise.
57826 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57827 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57828 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57829 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57830 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57831 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57832 * sysdeps/i386/asm-syntax.h: Likewise.
57833 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57834 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57835 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57836 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57837 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57838 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57839 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57840 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57841 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57842 * sysdeps/powerpc/sysdep.h: Likewise.
57843 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57844 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57845
57846 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57847
57848 [BZ #411]
57849 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57850
57851 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57852
57853 * sysdeps/i386/sysdep.h: Include <features.h>.
57854 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57855 version.
57856
57857 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57858
57859 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57860 Define.
57861 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57862 LOAD_PIC_REG_STR.
57863
57864 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57865
57866 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57867 (SETUP_PIC_REG): Use GET_PC_THUNK.
57868 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57869 macro.
57870
57871 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57872
57873 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57874 for non-PIC compilation.
57875 (SETUP_PIC_REG): Add .p2align directive.
57876 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57877 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57878 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57879 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57880 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57881 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57882 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57883 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57884 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57885 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57886 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57887 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57888 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57889 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57890 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57891 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57892 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57893 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57894 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57895 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57896 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57897 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57898 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57899 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57900 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57902 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57903 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57904 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57905 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57906 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57907 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57908 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57909 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57910 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57911 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57912 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57913 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57914 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57915 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57916 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57917
57918 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57919
57920 * math/tst-CMPLX.c: Include <stdio.h>.
57921
57922 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57923
57924 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57925 float.
57926 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57927 * sysdeps/sparc/bits/mathdef.h: Likewise.
57928
57929 2012-01-31 Marek Polacek <polacek@redhat.com>
57930
57931 * libio/libio.h: Don't define _PARAMS.
57932 * locale/programs/config.h: Don't define PARAMS.
57933 * stdlib/strtol_l.c: Likewise.
57934 (__strtol_l): Remove PARAMS from the prototype.
57935
57936 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57937
57938 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57939 names. Just use the correct names. Remove unnecessary wrapper
57940 functions.
57941 * malloc/arena.c: Likewise.
57942 * malloc/hooks.c: Likewise.
57943
57944 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57945 ARENA_TEST says not to. Simplify test for creation of a new arena.
57946 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57947
57948 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57949
57950 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57951 into tail calls.
57952 (update_get_addr): New function.
57953 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57954 GET_ADDR_MODULE parameter.
57955
57956 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57957
57958 * crypt/cert.c: Remove __STDC__ conditionals.
57959 * crypt/crypt-entry.c: Likewise.
57960 * crypt/crypt_util.c: Likewise.
57961 * libio/filedoalloc.c: Likewise.
57962 * libio/fileops.c: Likewise.
57963 * libio/genops.c: Likewise.
57964 * libio/iofclose.c: Likewise.
57965 * libio/iofdopen.c: Likewise.
57966 * libio/iofopen.c: Likewise.
57967 * libio/iofopen64.c: Likewise.
57968 * libio/iogetdelim.c: Likewise.
57969 * libio/iopopen.c: Likewise.
57970 * libio/obprintf.c: Likewise.
57971 * libio/oldfileops.c: Likewise.
57972 * libio/oldiofclose.c: Likewise.
57973 * libio/oldiofdopen.c: Likewise.
57974 * libio/oldiofopen.c: Likewise.
57975 * libio/oldiopopen.c: Likewise.
57976 * libio/wfiledoalloc.c: Likewise.
57977 * libio/wgenops.c: Likewise.
57978 * locale/programs/xmalloc.c: Likewise.
57979 * misc/syslog.c: Likewise.
57980 * stdio-common/xbug.c: Likewise.
57981 * string/memchr.c: Likewise.
57982 * string/memcmp.c: Likewise.
57983 * string/memrchr.c: Likewise.
57984 * string/rawmemchr.c: Likewise.
57985 * sysdeps/posix/getcwd.c: Likewise.
57986 * time/strftime_l.c: Likewise.
57987
57988 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57989
57990 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57991 * config.make.in (config-cflags-sse2avx): Define.
57992 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57993 Fix typo.
57994
57995 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57996
57997 * scripts/config.guess: Update from upstream config git repository.
57998 * scripts/config.sub: Likewise.
57999
58000 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
58001
58002 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58003 (EM_NUM): Update.
58004 (R_TILEPRO_*, R_TILEGX_*): New macros.
58005
58006 * scripts/firstversions.awk: Fix bug in version range handling.
58007
58008 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58009
58010 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58011
58012 * include/sys/epoll.h: New file.
58013 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58014 libc_hidden_def.
58015
58016 2012-01-28 Ulrich Drepper <drepper@gmail.com>
58017
58018 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58019 Avoid unnecessary __WORDSIZE == 64 test.
58020 (fmaxf): Use VEX format if possible.
58021 (fmax): Likewise.
58022 (fminf): Likewise.
58023 (fmin): Likewise.
58024
58025 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58026 * math/math_private.h: Remove libc_fegetround* and
58027 libc_fesetround*.
58028 * sysdeps/i386/configure.in: Check for -msse2avx.
58029 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58030 also if SSE2AVX is defined.
58031 Remove libc_fegetround* and libc_fesetround*.
58032 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58033 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58034 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58035 of HAS_YMM_USABLE.
58036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58037 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58038 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58039 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58040 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58041
58042 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58043
58044 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58045
58046 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58047 size is not set.
58048 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58049
58050 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58051
58052 [BZ #13618]
58053 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58054 relocation.
58055 * Makeconfig (libm): Define.
58056 * elf/Makefile: Add rules to build and run tst-relsort1.
58057 * elf/tst-relsort1.c: New file.
58058 * elf/tst-relsort1mod1.c: New file.
58059 * elf/tst-relsort1mod2.c: New file.
58060
58061 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58062
58063 * math/s_ldexp.c: Remove __STDC__ conditionals.
58064 * math/s_ldexpf.c: Likewise.
58065 * math/s_ldexpl.c: Likewise.
58066 * math/s_nextafter.c: Likewise.
58067 * math/s_nexttowardf.c: Likewise.
58068 * math/s_significand.c: Likewise.
58069 * math/s_significandf.c: Likewise.
58070 * math/s_significandl.c: Likewise.
58071 * math/w_jnl.c: Likewise.
58072 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58073 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58074 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58075 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58076 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58077 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58078 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58079 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58080 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58081 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58082 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58083 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58084 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58085 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58086 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58087 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58088 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58089 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58091 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58092 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58093 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58094 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58095 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58096 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58097 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58098 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58099 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58100 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58101 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58102 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58103 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58104 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58105 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58106 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58107 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58108 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58109 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58110 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58111 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58112 * sysdeps/ieee754/k_standard.c: Likewise.
58113 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58114 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58115 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58116 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58117 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58118 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58119 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58120 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58121 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58122 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58123 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58124 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58125 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58126 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58127 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58128 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58129 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58130 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58131 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58132 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58133 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58134 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58135 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58136 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58137 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58138 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58139 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58140 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58141 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58142 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58143 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58144 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58145 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58146 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58147 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58148 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58149 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58150 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58151 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58152 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58153 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58154 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58155 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58156 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58157 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58158 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58159 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58160 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58161 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58162 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58163 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58164 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58165 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58166 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58167 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58168 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58169 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58170 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58171 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58172 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58173 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58174 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58175 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58176 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58177 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58178 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58179 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58180 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58181 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58182 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58183 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58184 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58185 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58186 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58187 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58188 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58189 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58190 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58191 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58192 * sysdeps/ieee754/s_matherr.c: Likewise.
58193 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58194 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58195 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58196 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58197
58198 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58199
58200 * crypt/md5.h: Remove __STDC__ conditionals.
58201 * libio/libioP.h: Likewise.
58202 * locale/programs/config.h: Likewise.
58203 * sysdeps/generic/sysdep.h: Likewise.
58204 * sysdeps/i386/asm-syntax.h: Likewise.
58205 * sysdeps/s390/asm-syntax.h: Likewise.
58206 * sysdeps/unix/sysdep.h: Likewise.
58207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58209
58210 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58211
58212 * libio/libio.h: Remove __STDC__ conditionals.
58213 * malloc/obstack.h: Likewise.
58214 * math/complex.h: Likewise.
58215 * math/math.h: Likewise.
58216 * sysdeps/generic/_G_config.h: Likewise.
58217 * sysdeps/gnu/_G_config.h: Likewise.
58218 * sysdeps/mach/hurd/_G_config.h: Likewise.
58219 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58220 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58221 * sysdeps/sparc/bits/mathdef.h: Likewise.
58222
58223 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58224
58225 [BZ #13583]
58226 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58227 Clean up HAS_* macros.
58228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58229 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58230 possible.
58231 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58232 HAS_AVX.
58233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58234 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58238
58239 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58240
58241 * elf/tst-unique3.cc (gets): Remove declaration.
58242 * elf/tst-unique3lib.cc (gets): Likewise.
58243 * elf/tst-unique3lib2.cc (gets): Likewise.
58244 * elf/tst-unique4.cc (gets): Likewise.
58245
58246 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58247
58248 * include/stdio.h: Add C++ protection. Add gets declarations and
58249 definitions.
58250 * debug/tst-chk1.c: Don't declare gets here.
58251 * stdio-common/tst-gets.c: Likewise.
58252
58253 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58254
58255 * posix/glob: Remove directory.
58256
58257 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58258
58259 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58260
58261 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58262
58263 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58264 of the non-standard EPFNOSUPPORT.
58265
58266 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58267
58268 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58269 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58270 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58271
58272 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58273
58274 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58275
58276 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58277
58278 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58279 transient errors.
58280 * nscd/grpcache.c (cache_addgr): Likewise.
58281 * nscd/hstcache.c (cache_addhst): Likewise.
58282 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58283 * nscd/pwdcache.c (cache_addpw): Likewise.
58284 * nscd/servicescache.c (cache_addserv): Likewise.
58285
58286 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58287
58288 * malloc/malloc.c: Various cleanups.
58289 * malloc/hooks.c: Likewise.
58290
58291 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58292 * stdlib/bug-fmtmsg1.c: New file.
58293
58294 * stdlib/fmtmsg.c (init): Add missing unlock.
58295 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58296
58297 2012-01-12 Marek Polacek <polacek@redhat.com>
58298
58299 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58300 and _GNU_SOURCE.
58301
58302 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58303
58304 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58305 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58306 macro to ensure uniqueness of label name.
58307 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58308 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58309
58310 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58311
58312 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58313
58314 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58315 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58316 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58317 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58318
58319 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58320
58321 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58322
58323 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58324 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58325 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58326
58327 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58328
58329 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58330 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58331 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58332 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58333
58334 * math/bits/math-finite.h: Add ldexp support.
58335
58336 2012-01-10 Marek Polacek <polacek@redhat.com>
58337
58338 * locale/programs/localedef.h (show_archive_content): Add noreturn
58339 attribute.
58340
58341 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58342
58343 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58344
58345 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58346
58347 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58348
58349 * io/Makefile (headers): Add bits/poll2.h.
58350
58351 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58352
58353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58354 typo #include statement.
58355
58356 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58357
58358 * include/sys/cdefs.h: Define __attribute_alloc_size.
58359 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58360 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58361 * elf/pldd.c: Likewise.
58362 * iconv/iconv_charmap.c: Likewise.
58363 * iconv/iconvconfig.c: Likewise.
58364 * iconv/strtab.c: Likewise.
58365 * locale/programs/locale.c: Likewise.
58366 * locale/programs/localedef.h: Likewise.
58367 * locale/programs/simple-hash.c: Likewise.
58368 * nscd/nscd.h: Likewise.
58369 * nss/makedb.c: Likewise.
58370 * sysdeps/generic/ldconfig.h: Likewise.
58371 * locale/programs/localedef.c: Remove xmalloc prototype.
58372 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58373
58374 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58375
58376 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58377 appropriate.
58378
58379 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58380
58381 * math/Makefile (tests): Add tst-CMPLX.
58382 * math/tst-CMPLX.c: New file.
58383
58384 * math/complex.h (CMPLXL): Fix typo.
58385
58386 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58387 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58388 GLIBC_2.16.
58389 * debug/tst-chk1.c: Add poll and ppoll tests.
58390 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58391 * include/sys/poll.h: Add hidden proto for ppoll.
58392 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58393 * sysdeps/mach/hurd/ppoll.c: Likewise.
58394 * io/ppoll.c: Likewise.
58395 * debug/poll_chk.c: New file.
58396 * debug/ppoll_chk.c: New file.
58397 * include/bits/poll2.h: New file.
58398 * io/bits/poll2.h: New file.
58399
58400 [BZ #1350]
58401 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58402
58403 * configure.in: static is always set to yes. Remove.
58404 * config.make.in: Don't set build-static.
58405 * Makeconfig: Remove use of build-static.
58406 * dlfcn/Makefile: Likewise.
58407 * elf/Makefile: Likewise.
58408 * math/Makefile: Likewise.
58409 * misc/Makefile: Likewise.
58410 * nptl/Makefile: Likewise.
58411 * sysdeps/mach/hurd/Makefile: Likewise.
58412
58413 * configure.in: PWD_P is not used anymore.
58414 * config.make.in: Remove PWD_P entry.
58415
58416 * configure.in: Remove last remnants of RANLIB.
58417 No need to check for signed size_t anymore.
58418 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58419 and IA-64.
58420 Remove __builtin_expect test because we require at least gcc 3.4.
58421 * aclocal.m4: Likewise.
58422
58423 * wcsmbs/mbrtoc16.c: Implement using towc function.
58424 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58425 * wcsmbs/wcsmbsload.c: Likewise.
58426 * iconv/gconv_simple.c: Likewise.
58427 * iconv/gconv_int.h: Likewise.
58428 * iconv/gconv_builtin.h: Likewise.
58429 * iconv/iconv_prog.c: Remove CHAR16 handling.
58430
58431 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58432
58433 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58434
58435 * configure.in: Remove --with-elf and --enable-bounded options.
58436 Dont set base_machine for ia64. More non-ELF conditions removed.
58437 Remove testing and setting of leading underscore information.
58438 * config.make.in (build-bounded): Set to no.
58439 * config.h.in: Remove NO_UNDERSCORES entry.
58440 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58441 them.
58442 * csu/start.c: Remove !NO_UNDERSCORE code.
58443 * locale/localeinfo.h: Likewise.
58444 * sysdeps/generic/machine-gmon.h: Likewise.
58445 * sysdeps/generic/sysdep.h: Likewise.
58446 * sysdeps/i386/sysdep.h: Likewise.
58447 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58448 * sysdeps/mach/sysdep.h: Likewise.
58449 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58450 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58451 * sysdeps/sh/sysdep.h: Likewise.
58452 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58453 * sysdeps/unix/i386/sysdep.S: Likewise.
58454 * sysdeps/unix/sparc/start.c: Likewise.
58455 * sysdeps/unix/sparc/sysdep.S: Likewise.
58456 * sysdeps/unix/sparc/sysdep.h: Likewise.
58457 * sysdeps/unix/start.c: Likewise.
58458 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58459 * sysdeps/x86_64/sysdep.h: Likewise.
58460
58461 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58462
58463 [BZ #13553]
58464 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58465 for non-gcc.
58466 * argp/argp-fmtstream.h: Use const instead __const.
58467 * argp/argp.h: Likewise.
58468 * assert/assert.h: Likewise.
58469 * bits/fenv.h: Likewise.
58470 * bits/sched.h: Likewise.
58471 * bits/sigset.h: Likewise.
58472 * bits/sigthread.h: Likewise.
58473 * catgets/nl_types.h: Likewise.
58474 * conform/data/pthread.h-data: Likewise.
58475 * crypt/crypt-private.h: Likewise.
58476 * crypt/crypt.h: Likewise.
58477 * crypt/crypt_util.c: Likewise.
58478 * ctype/ctype.h: Likewise.
58479 * debug/execinfo.h: Likewise.
58480 * debug/mbsnrtowcs_chk.c: Likewise.
58481 * debug/mbsrtowcs_chk.c: Likewise.
58482 * debug/wcsnrtombs_chk.c: Likewise.
58483 * debug/wcsrtombs_chk.c: Likewise.
58484 * debug/wcstombs_chk.c: Likewise.
58485 * dirent/dirent.h: Likewise.
58486 * dlfcn/dlfcn.h: Likewise.
58487 * elf/neededtest4.c: Likewise.
58488 * grp/grp.h: Likewise.
58489 * gshadow/gshadow.h: Likewise.
58490 * iconv/gconv.h: Likewise.
58491 * iconv/gconv_int.h: Likewise.
58492 * iconv/gconv_simple.c: Likewise.
58493 * iconv/iconv.h: Likewise.
58494 * iconv/loop.c: Likewise.
58495 * iconv/skeleton.c: Likewise.
58496 * include/aio.h: Likewise.
58497 * include/aliases.h: Likewise.
58498 * include/argz.h: Likewise.
58499 * include/arpa/inet.h: Likewise.
58500 * include/assert.h: Likewise.
58501 * include/dirent.h: Likewise.
58502 * include/dlfcn.h: Likewise.
58503 * include/execinfo.h: Likewise.
58504 * include/fcntl.h: Likewise.
58505 * include/fenv.h: Likewise.
58506 * include/glob.h: Likewise.
58507 * include/grp.h: Likewise.
58508 * include/libintl.h: Likewise.
58509 * include/mntent.h: Likewise.
58510 * include/netdb.h: Likewise.
58511 * include/pwd.h: Likewise.
58512 * include/rpc/netdb.h: Likewise.
58513 * include/sched.h: Likewise.
58514 * include/search.h: Likewise.
58515 * include/shadow.h: Likewise.
58516 * include/signal.h: Likewise.
58517 * include/stdio.h: Likewise.
58518 * include/stdlib.h: Likewise.
58519 * include/string.h: Likewise.
58520 * include/sys/socket.h: Likewise.
58521 * include/sys/stat.h: Likewise.
58522 * include/sys/statfs.h: Likewise.
58523 * include/sys/statvfs.h: Likewise.
58524 * include/sys/syslog.h: Likewise.
58525 * include/sys/time.h: Likewise.
58526 * include/sys/uio.h: Likewise.
58527 * include/time.h: Likewise.
58528 * include/unistd.h: Likewise.
58529 * include/utmp.h: Likewise.
58530 * include/wchar.h: Likewise.
58531 * include/wctype.h: Likewise.
58532 * inet/aliases.h: Likewise.
58533 * inet/arpa/inet.h: Likewise.
58534 * inet/netinet/ether.h: Likewise.
58535 * inet/netinet/in.h: Likewise.
58536 * intl/libintl.h: Likewise.
58537 * io/bits/fcntl2.h: Likewise.
58538 * io/fcntl.h: Likewise.
58539 * io/ftw.h: Likewise.
58540 * io/sys/poll.h: Likewise.
58541 * io/sys/stat.h: Likewise.
58542 * io/sys/statfs.h: Likewise.
58543 * io/sys/statvfs.h: Likewise.
58544 * io/utime.h: Likewise.
58545 * libio/bits/stdio.h: Likewise.
58546 * libio/bits/stdio2.h: Likewise.
58547 * libio/libio.h: Likewise.
58548 * libio/libioP.h: Likewise.
58549 * libio/stdio.h: Likewise.
58550 * locale/lc-ctype.c: Likewise.
58551 * locale/locale.h: Likewise.
58552 * login/utmp.h: Likewise.
58553 * malloc/arena.c: Likewise.
58554 * malloc/malloc.c: Likewise.
58555 * malloc/malloc.h: Likewise.
58556 * malloc/mcheck.c: Likewise.
58557 * malloc/mtrace.c: Likewise.
58558 * math/bits/mathcalls.h: Likewise.
58559 * math/fenv.h: Likewise.
58560 * math/math_private.h: Likewise.
58561 * misc/bits/error.h: Likewise.
58562 * misc/bits/syslog.h: Likewise.
58563 * misc/err.h: Likewise.
58564 * misc/error.h: Likewise.
58565 * misc/fstab.h: Likewise.
58566 * misc/mntent.h: Likewise.
58567 * misc/regexp.h: Likewise.
58568 * misc/search.h: Likewise.
58569 * misc/sgtty.h: Likewise.
58570 * misc/sys/mman.h: Likewise.
58571 * misc/sys/syslog.h: Likewise.
58572 * misc/sys/uio.h: Likewise.
58573 * misc/sys/xattr.h: Likewise.
58574 * misc/ttyent.h: Likewise.
58575 * nis/rpcsvc/ypclnt.h: Likewise.
58576 * nss/nss.h: Likewise.
58577 * posix/bits/unistd.h: Likewise.
58578 * posix/fnmatch.h: Likewise.
58579 * posix/glob.h: Likewise.
58580 * posix/sched.h: Likewise.
58581 * posix/spawn.h: Likewise.
58582 * posix/sys/wait.h: Likewise.
58583 * posix/unistd.h: Likewise.
58584 * posix/wordexp.h: Likewise.
58585 * pwd/pwd.h: Likewise.
58586 * resolv/netdb.h: Likewise.
58587 * resource/sys/resource.h: Likewise.
58588 * rt/aio.h: Likewise.
58589 * rt/bits/mqueue2.h: Likewise.
58590 * rt/mqueue.h: Likewise.
58591 * shadow/shadow.h: Likewise.
58592 * signal/signal.h: Likewise.
58593 * socket/send.c: Likewise.
58594 * socket/sendto.c: Likewise.
58595 * socket/sys/socket.h: Likewise.
58596 * stdio-common/printf.h: Likewise.
58597 * stdlib/bits/stdlib.h: Likewise.
58598 * stdlib/fmtmsg.h: Likewise.
58599 * stdlib/monetary.h: Likewise.
58600 * stdlib/stdlib.h: Likewise.
58601 * stdlib/ucontext.h: Likewise.
58602 * streams/stropts.h: Likewise.
58603 * string/argz.h: Likewise.
58604 * string/bits/string2.h: Likewise.
58605 * string/string.h: Likewise.
58606 * string/strings.h: Likewise.
58607 * sunrpc/rpc/auth.h: Likewise.
58608 * sunrpc/rpc/auth_des.h: Likewise.
58609 * sunrpc/rpc/clnt.h: Likewise.
58610 * sunrpc/rpc/netdb.h: Likewise.
58611 * sunrpc/rpc/pmap_clnt.h: Likewise.
58612 * sunrpc/rpc/xdr.h: Likewise.
58613 * sysdeps/generic/inttypes.h: Likewise.
58614 * sysdeps/generic/net/if.h: Likewise.
58615 * sysdeps/generic/sys/swap.h: Likewise.
58616 * sysdeps/gnu/net/if.h: Likewise.
58617 * sysdeps/gnu/utmpx.h: Likewise.
58618 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58619 * sysdeps/i386/i486/bits/string.h: Likewise.
58620 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58621 * sysdeps/s390/bits/string.h: Likewise.
58622 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58623 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58624 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58625 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58626 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58627 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58628 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58629 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58630 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58631 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58632 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58633 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58634 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58635 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58636 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58637 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58638 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58640 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58641 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58642 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58643 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58644 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58645 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58646 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58647 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58648 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58649 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58650 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58651 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58652 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58653 * sysvipc/sys/ipc.h: Likewise.
58654 * sysvipc/sys/msg.h: Likewise.
58655 * sysvipc/sys/sem.h: Likewise.
58656 * sysvipc/sys/shm.h: Likewise.
58657 * termios/termios.h: Likewise.
58658 * time/sys/time.h: Likewise.
58659 * time/time.h: Likewise.
58660 * wcsmbs/bits/wchar2.h: Likewise.
58661 * wcsmbs/uchar.h: Likewise.
58662 * wcsmbs/wchar.h: Likewise.
58663 * wctype/wctype.h: Likewise.
58664
58665 [BZ #13551]
58666 * Makeconfig: Remove all but ELF support including AIX support.
58667 * Makerules: Likewise.
58668 * config.h.in: Likewise.
58669 * config.make.in: Likewise.
58670 * configure: Likewise.
58671 * configure.in: Likewise.
58672 * csu/Makefile: Likewise.
58673 * csu/version.c: Likewise.
58674 * debug/Makefile: Likewise.
58675 * dlfcn/Makefile: Likewise.
58676 * elf/Makefile: Likewise.
58677 * extra-lib.mk: Likewise.
58678 * iconv/Makefile: Likewise.
58679 * include/libc-symbols.h: Likewise.
58680 * include/shlib-compat.h: Likewise.
58681 * resolv/Makefile: Likewise.
58682 * resolv/res_libc.c: Likewise.
58683 * rt/Makefile: Likewise.
58684 * sysdeps/i386/asm-syntax.h: Likewise.
58685 * sysdeps/i386/sysdep.h: Likewise.
58686 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58687 * sysdeps/mach/sysdep.h: Likewise.
58688 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58689 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58690 * sysdeps/s390/asm-syntax.h: Likewise.
58691 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58692 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58693 * sysdeps/sh/sysdep.h: Likewise.
58694 * sysdeps/unix/sparc/sysdep.h: Likewise.
58695 * sysdeps/wordsize-32/divdi3.c: Likewise.
58696 * sysdeps/x86_64/sysdep.h: Likewise.
58697
58698 * argp/Versions: Remove _argp_unlock_xxx.
58699
58700 [BZ #13559]
58701 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58702 * abilist/libBrokenLocale.abilist: Likewise.
58703 * abilist/libanl.abilist: Likewise.
58704 * abilist/libc.abilist: Likewise.
58705 * abilist/libcrypt.abilist: Likewise.
58706 * abilist/libdl.abilist: Likewise.
58707 * abilist/libm.abilist: Likewise.
58708 * abilist/libnsl.abilist: Likewise.
58709 * abilist/libpthread.abilist: Likewise.
58710 * abilist/libresolv.abilist: Likewise.
58711 * abilist/librt.abilist: Likewise.
58712 * abilist/libthread_db.abilist: Likewise.
58713 * abilist/libutil.abilist: Likewise.
58714 * abilist/libnss_db.abilist: New file.
58715
58716 * scripts/abilist.awk: Add support for indirect functions.
58717
58718 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58719
58720 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58721
58722 * shlib-versions: Remove entries for ports architectures.
58723
58724 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58725 files in ports.
58726 * elf/stackguard-macros.h: Remove support for IA-64.
58727 * elf/tst-auditmod1.c: Likewise.
58728 * sysdeps/generic/ldsodefs.h: Likewise.
58729
58730 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58731 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58732 configure files.
58733
58734 [BZ #13552]
58735 * configure.in: Remove --enable-omitfp support.
58736 * FAQ.in: Adjust.
58737 * config.make.in: Likewise.
58738 * Makeconfig: Likewise.
58739 * manual/install.texi: Likewise.
58740
58741 In case anyone cares, the IA-64 architecture could move to ports.
58742 * sysdeps/ia64/*: Removed.
58743 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58744 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58745
58746 [BZ #13555]
58747 * configure.in: Remove entries for unsupported architectures.
58748
58749 [BZ #13533]
58750 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58751 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58752 routines.
58753 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58754 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58755 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58756 fall back to using wcrtomb.
58757 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58758 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58759 renaming.
58760 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58761 * wcsmbs/tst-c16c32-1.c: New file.
58762
58763 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58764 local variable.
58765
58766 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58767
58768 * elf/tst-unique3.cc: Add explicit declaration of gets.
58769 * elf/tst-unique3lib.cc: Likewise.
58770 * elf/tst-unique3lib2.cc: Likewise.
58771 * elf/tst-unique4.cc: Likewise.
58772
58773 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58774
58775 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58776
58777 [BZ #13566]
58778 * assert/assert.h (static_assert): Don't define for C++.
58779 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58780 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58781
58782 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58783
58784 * iconv/loop.c (single loop): Fix assertion in storing of
58785 remaining bytes.
58786
58787 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58788
58789 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58790
58791 * posix/getconf.c: Update copyright year.
58792 * nss/getent.c: Likewise.
58793 * nss/makedb.c: Likewise.
58794 * iconv/iconvconfig.c: Likewise.
58795 * iconv/iconv_prog.c: Likewise.
58796 * elf/ldconfig.c: Likewise.
58797 * elf/pldd.c: Likewise.
58798 * elf/sotruss.ksh: Likewise.
58799 * catgets/gencat.c: Likewise.
58800 * csu/version.c: Likewise.
58801 * elf/ldd.bash.in: Likewise.
58802 * elf/sprof.c (print_version): Likewise.
58803 * locale/programs/locale.c: Likewise.
58804 * locale/programs/localedef.c: Likewise.
58805 * login/programs/pt_chown.c: Likewise.
58806 * nscd/nscd.c (print_version): Likewise.
58807 * debug/xtrace.sh: Likewise.
58808 * malloc/memusage.sh: Likewise.
58809 * malloc/mtrace.pl: Likewise.
58810 * debug/catchsegv.sh: Likewise.
58811
58812 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58813
58814 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58815 pure attribute.
58816
58817 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58818
58819 [BZ #13533]
58820 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58821 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58822 transformations.
58823 * iconv/gconv_int.h: Likewise.
58824 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58825 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58826 from libc for GLIBC_2.16.
58827 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58828 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58829 * wcsmbs/uchar.h: Really define mbstate_t.
58830 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58831 * wcsmbs/c16rtomb.c: New file.
58832 * wcsmbs/mbrtoc16.c: New file.
58833 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58834 for C/POSIX locale.
58835 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58836 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58837
58838 * wcsmbs/wchar.h: Add missing __restrict.
58839
58840 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58841
58842 [BZ #13532]
58843 * time/Makefile (routines): Add timespec_get.
58844 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58845 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58846 timespec for ISO C11.
58847 * time/timespec_get.c: New file.
58848 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58849 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58850
58851 [BZ #13531]
58852 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58853 * stdlib/stdlib.h: Declare aligned_alloc.
58854 * Versions.def: Add GLIBC_2.16 for libc.
58855 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58856
58857 [BZ 13527]
58858 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58859 ISO C11.
58860
58861 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58862 code.
58863
58864 [BZ #13528]
58865 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58866
58867 [BZ #13529]
58868 * assert/assert.h (static_assert): Define.
58869
58870 * version.h: Update for 2.16 development version.
58871
58872 [BZ #13526]
58873 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58874 _ISOC11_SOURCE.
58875
58876 * version.h (RELEASE): Bump for 2.15 release.
58877 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58878
58879 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58880 Patch by Marek Polacek <mpolacek@redhat.com>.
58881
58882 * bits/byteswap.h: Protect long long constants with __extension__.
58883 * sysdeps/i386/bits/byteswap.h: Likewise.
58884 * sysdeps/ia64/bits/byteswap.h: Likewise.
58885 * sysdeps/s390/bits/byteswap.h: Likewise.
58886 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58887
58888 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58889
58890 [BZ #13540]
58891 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58892 destination buffer.
58893 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58894
58895 2011-12-23 Marek Polacek <polacek@redhat.com>
58896
58897 * elf/dl-addr.c (determine_info): Add inline keyword.
58898 * elf/tst-auditmod4b.c (check_avx): Likewise.
58899 * elf/tst-auditmod6b.c (check_avx): Likewise.
58900 * elf/tst-auditmod6c.c (check_avx): Likewise.
58901 * elf/tst-auditmod7b.c (check_avx): Likewise.
58902
58903 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58904
58905 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58906 !__SSE_MATH__.
58907
58908 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58909
58910 [BZ #13540]
58911 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58912 processing for last bytes.
58913
58914 2011-08-06 Bruno Haible <bruno@clisp.org>
58915
58916 [BZ #13061]
58917 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58918 U+0385, not to U+1FEE.
58919
58920 [BZ #13062]
58921 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58922 entry for U+00A5 U+0301.
58923
58924 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58925
58926 [BZ #13166]
58927 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58928 buffer for the output is too small.
58929
58930 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58931 optimization.
58932
58933 [BZ #13185]
58934 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58935 SSE flags if possible.
58936
58937 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58938
58939 [BZ #13540]
58940 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58941 processing for last bytes.
58942
58943 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58944
58945 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58946 (syscall-list-default-options, syscall-list-default-condition)
58947 (syscall-list-includes): Define.
58948 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58949 list of ABIs and options and #if conditions for each ABI. Do not
58950 handle common syscalls between ABIs specially.
58951 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58952 Remove.
58953 (syscall-list-variants, syscall-list-32bit-options)
58954 (syscall-list-32bit-condition, syscall-list-64bit-options)
58955 (syscall-list-64bit-condition): Define.
58956 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58957 (syscall-list-variants, syscall-list-32bit-options)
58958 (syscall-list-32bit-condition, syscall-list-64bit-options)
58959 (syscall-list-64bit-condition): Define.
58960 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58961 Remove.
58962 (syscall-list-variants, syscall-list-32bit-options)
58963 (syscall-list-32bit-condition, syscall-list-64bit-options)
58964 (syscall-list-64bit-condition): Define.
58965 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58966 Remove.
58967 (syscall-list-variants, syscall-list-32bit-options)
58968 (syscall-list-32bit-condition, syscall-list-64bit-options)
58969 (syscall-list-64bit-condition): Define.
58970
58971 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58972
58973 * locale/iso-639.def: Add brx entry.
58974
58975 [BZ #13328]
58976 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58977 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58978
58979 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58980 __feraiseexcept_renamed.
58981
58982 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58983
58984 [BZ #13538]
58985 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58986 EPOLLET with unsigned values.
58987 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58988 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58989
58990 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58991 to large cancellation.
58992 * math/s_cacoshf.c: Likewise.
58993 * math/s_cacoshl.c: Likewise.
58994
58995 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58996
58997 [BZ #13305]
58998 [BZ #12786]
58999 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59000 * math/s_cacoshf.c: Likewise.
59001 * math/s_cacoshl.c: Likewise.
59002
59003 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59004
59005 [BZ #13439]
59006 * iconv/gconv.h: Define __GCONV_SWAP.
59007 * iconvdata/unicode.c: The swap bit must be stored in __flags.
59008 * iconvdata/utf-16.c: Likewise.
59009 * iconvdata/utf-32.c: Likewise.
59010
59011 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
59012
59013 [BZ #13524]
59014 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59015 numerator after shifting it by one limb.
59016
59017 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
59018
59019 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59020 under [__USE_EXTERN_INLINES].
59021
59022 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59023
59024 [BZ #13446]
59025 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59026
59027 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59028
59029 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59030 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59031 optimized code.
59032 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59033 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59034 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59035 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59036 for strncasecmp/strncasecmp_l compilation.
59037 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59038 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59039
59040 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59041
59042 [BZ #13484]
59043 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59044 of __asm__.
59045
59046 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59047
59048 [BZ #13506]
59049 * time/tzfile.c (__tzfile_read): Check values from file header.
59050
59051 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59052
59053 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59054 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59055 * powerpc/powerpc32/dl-start.S: Likewise.
59056 * powerpc/powerpc32/elf/start.S: Likewise.
59057 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59058 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59059 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59060 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59061 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59062 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59063 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59064 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59065 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59066 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59067 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59068 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59069 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59070 * powerpc/powerpc32/memset.S: Likewise.
59071 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59072 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59073 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59074 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59075 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59076 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59077 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59078 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59079 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59080 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59081 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59082 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59083 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59084
59085 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59086
59087 * math/libm-test.inc: Added more nearbyint tests.
59088 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59089 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59090 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59091 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59092
59093 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59094
59095 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59096 FD_CLOEXEC.
59097
59098 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59099
59100 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59101 Add wcscpy-ssse3 wcscpy-c.
59102 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59103 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59104 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59105 * sysdeps/x86_64/wcschr.S: New file.
59106 * sysdeps/x86_64/wcsrchr.S: New file.
59107 * string/test-strcmp.c: Remove checking of wcscmp function for
59108 wrong alignments.
59109 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59110 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59111 wcsrchr-sse2 wcsrchr-c.
59112 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59113 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59114 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59115 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59116 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59117 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59118 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59119 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59120 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59121 * wcsmbc/wcschr.c (WCSCHR): New macro.
59122
59123 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59124
59125 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59126 * wcsmbs/test-wcsrchr.c: New file.
59127 * string/test-strrchr.c: Add wcsrchr support.
59128 (WIDE): New macro.
59129 * wcsmbs/test-wcscpy.c: New file.
59130 * string/test-strcpy.c: Add wcscpy support.
59131 (WIDE): New macro.
59132
59133 2011-12-10 Ulrich Drepper <drepper@gmail.com>
59134
59135 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59136 the inner loop.
59137
59138 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
59139
59140 [BZ #13472]
59141 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59142
59143 2011-12-04 Ulrich Drepper <drepper@gmail.com>
59144
59145 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59146 Minor optimizations.
59147
59148 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59149 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59150 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59151
59152 2011-12-03 Ulrich Drepper <drepper@gmail.com>
59153
59154 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59155 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59156 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59157 for gcc to avoid warnings.
59158 * inet/Makefile (tests): Add tst-checks.
59159 * inet/tst-checks.c: New file.
59160
59161 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59162 warning.
59163
59164 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59165 __wmemcmp_sse2.
59166
59167 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59168 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59169
59170 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59171
59172 2011-12-02 Ulrich Drepper <drepper@gmail.com>
59173
59174 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59175 problem.
59176
59177 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59178
59179 2011-11-29 Joseph Myers <joseph@codesourcery.com>
59180
59181 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59182 conditional on GCC version.
59183 (__arch_compare_and_exchange_val_8_acq)
59184 (__arch_compare_and_exchange_val_16_acq)
59185 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59186 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59187 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59188
59189 2011-12-02 Joseph Myers <joseph@codesourcery.com>
59190
59191 * sysdeps/sh/backtrace.c: New file.
59192
59193 2011-12-02 Andreas Schwab <schwab@redhat.com>
59194
59195 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
59196 parenthesis.
59197
59198 2011-12-01 Andreas Schwab <schwab@redhat.com>
59199
59200 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59201 falling back to utime.
59202
59203 2011-11-30 Andreas Schwab <schwab@redhat.com>
59204
59205 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59206 expectations for float.
59207
59208 2011-11-29 Andreas Schwab <schwab@redhat.com>
59209
59210 * locale/weight.h (findidx): Add parameter len.
59211 * locale/weightwc.h (findidx): Likewise.
59212 * posix/fnmatch_loop.c (FCT): Adjust caller.
59213 * posix/regcomp.c (build_equiv_class): Likewise.
59214 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59215 * posix/regexec.c (check_node_accept_bytes): Likewise.
59216 * string/strcoll_l.c (STRCOLL): Likewise.
59217 * string/strxfrm_l.c (STRXFRM): Likewise.
59218
59219 2011-11-17 Ulrich Drepper <drepper@gmail.com>
59220
59221 * Makefile.in: Remove CVSOPT handling.
59222 * configure.in: Remove use of AC_REVISION.
59223 * iconvdata/Makefile (distribute): No need to filter out CVS.
59224 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59225 handling.
59226
59227 2011-11-16 Andreas Schwab <schwab@redhat.com>
59228
59229 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59230 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59231 [USE_AS_STRNCASECMP_L]: Likewise.
59232 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59233 NO_TLS_DIRECT_SEG_REFS.
59234 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59235 Fix argument offsets for non-PIC.
59236 [USE_AS_STRNCASECMP_L]: Likewise.
59237 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59238 NO_TLS_DIRECT_SEG_REFS.
59239
59240 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59241
59242 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59243 O_CLOEXEC.
59244 * locale/loadlocale.c (_nl_load_locale): Likewise.
59245
59246 2011-11-15 Andreas Schwab <schwab@redhat.com>
59247
59248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59249 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59250 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59251 (SYSCALL_GETTIME): Set errno on error.
59252
59253 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59254 count references to noai6ai_cached.
59255
59256 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59257
59258 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59259
59260 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59261 FD_CLOEXEC for /proc/self/maps.
59262
59263 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59264 FD_CLOEXEC for /proc/meminfo.
59265
59266 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59267 gai.conf.
59268
59269 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59270 FD_CLOEXEC for given file.
59271
59272 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59273
59274 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59275 FD_CLOEXEC for /etc/hosts.
59276 (_gethtent): Likewise.
59277
59278 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59279
59280 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59281 cancellation and set FD_CLOEXEC for /etc/netgroup.
59282
59283 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59284 reading /etc/publickey.
59285
59286 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59287 allow cancellation when reading /etc/group.
59288
59289 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59290 cancellation.
59291 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59292
59293 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59294 when using data file.
59295
59296 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59297
59298 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59299 (write_nis_obj): Use "c" and "e" in fopen.
59300
59301 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59302
59303 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59304
59305 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59306
59307 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59308
59309 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59310 locale.alias.
59311
59312 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59313
59314 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59315
59316 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59317
59318 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59319 file parsing and set FD_CLOEXEC.
59320
59321 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59322
59323 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59324
59325 2011-11-14 Andreas Schwab <schwab@redhat.com>
59326
59327 * malloc/arena.c (arena_get2): Don't call reused_arena when
59328 _int_new_arena failed.
59329
59330 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59331
59332 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59333 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59334 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59335 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59336 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59337 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59338 to compile strcasecmp and strncasecmp.
59339 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59340 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59341
59342 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59343
59344 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59345
59346 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59347 locale-defines.sym to gen-as-const-headers.
59348 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59349 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59351 to compile strcasecmp and strncasecmp.
59352 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59353 strcasecmp_l and strncasecmp_l.
59354 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59355 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59356 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59357 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59358 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59359 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59360 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59361 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59362 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59363 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59364 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59365
59366 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59367
59368 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59369 result of SYSDEP_GETTIME_CPU to retval.
59370 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59371 parameter list to macro. Remove trailing semicolon. Adjust users.
59372
59373 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59374 variable.
59375
59376 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59377 mantissa words.
59378 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59379
59380 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59381 from unused variable.
59382
59383 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59384 DWARF definitions.
59385 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59386 for assembling.
59387
59388 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59389 over namespaces.
59390
59391 * sunrpc/rpc_prot.c (rejected): Fix case value.
59392
59393 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59394 unsigned long long int to avoid warnings in shift.
59395
59396 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59397 of use of trans.
59398 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59399 variable tmp.
59400
59401 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59402 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59403 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59404
59405 * nis/nis_table.c (nis_list): Use variable of correct type for
59406 result of __follow_path call.
59407
59408 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59409
59410 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59411 of math functions ceil, trunc, floor, round, and sqrt, when
59412 avaliable on the platform.
59413 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59414 name clash.
59415 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59416 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59417 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59418
59419 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59420
59421 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59422 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59423
59424 2011-11-11 Roland McGrath <roland@hack.frob.com>
59425
59426 * include/unistd.h: Fix __readlink return type.
59427 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59428
59429 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59430
59431 * stdlib/ucontext.h: Undo last change for makecontext.
59432
59433 2011-11-11 Andreas Schwab <schwab@redhat.com>
59434
59435 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59436
59437 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59438 * setjmp/setjmp.h: Mark functions as non-leaf.
59439 * setjmp/bits/setjmp2.h: Likewise.
59440 * stdlib/ucontext.h: Likewise.
59441
59442 2011-11-10 Andreas Schwab <schwab@redhat.com>
59443
59444 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59445 (reused_arena): Don't check arena limit.
59446 (arena_get2): Atomically check arena limit.
59447
59448 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59449
59450 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59451 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59452
59453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59454 instructions.
59455
59456 2011-11-07 Andreas Schwab <schwab@redhat.com>
59457
59458 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59459 handler when locking.
59460
59461 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59462 Fix size of allocated buffer.
59463
59464 2011-11-04 Andreas Schwab <schwab@redhat.com>
59465
59466 [BZ #10103]
59467 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59468 declarations for long double functions.
59469 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59470
59471 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59472
59473 2011-11-03 Andreas Schwab <schwab@redhat.com>
59474
59475 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59476 installed.
59477
59478 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59479 is disabled.
59480
59481 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59482
59483 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59484
59485 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59486
59487 * include/alloca.h (stackinfo_alloca_round): Define.
59488 (extend_alloca): Use it.
59489 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59490 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59491 here.
59492
59493 * scripts/check-local-headers.sh: Ignore libaudit.h.
59494
59495 * nscd/Makefile (extra-objs): Make recursively expanded.
59496
59497 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59498
59499 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59500 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59501
59502 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59503 * posix/tst-rfc3484-2.c: Likewise.
59504 * posix/tst-rfc3484-3.c: Likewise.
59505
59506 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59507 process_vm_writev.
59508 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59509 process_vm_writev.
59510 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59511 process_vm_writev from libc using GLIBC_2.15 version.
59512
59513 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59514
59515 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59516
59517 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59518 stack usage.
59519
59520 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59521
59522 [BZ #13367]
59523 * nss/getent.c (initgroups_keys): Show error message in case no group
59524 names are given.
59525
59526 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59527 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59528 __bump_nl_timestamp.
59529 * nscd/connections (nscd_init): When host database is served open
59530 netlink socket and request notification about configuration changes.
59531 (main_loop_poll): Track netlink file descriptor and bump timestamp
59532 in case data becomes available.
59533 (main_loop_epoll): Likewise.
59534 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59535 (database_pers_head): Add extra_data fileds.
59536 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59537 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59538 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59539 Adjust caller.
59540 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59541 in6ai data, call __free_in6ai.
59542 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59543 Add -DHAVE_NETLINK.
59544 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59545 interface information. Reuse previous data if netlink timestamp
59546 is not changed.
59547 (__bump_nl_timestamp): New function.
59548 (__free_in6ai): New function.
59549
59550 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59551
59552 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59553 close_not_cancel_no_status here.
59554 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59555
59556 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59557
59558 [BZ #13276]
59559 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59560 return value.
59561
59562 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59563 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59564 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59565
59566 2011-07-03 Andreas Jaeger <aj@suse.de>
59567
59568 [BZ #10709]
59569 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59570 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59571 * math/libm-test.inc (sin_test): Add test case.
59572
59573 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59574
59575 [BZ #13337]
59576 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59577 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59578
59579 * elf/chroot_canon.c (chroot_canon): Cleanups.
59580
59581 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59582
59583 [BZ #13335]
59584 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59585 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59586
59587 * string/test-strchr.c: Make usable for strchrnul testing.
59588 * string/test-strchrnul.c: New file.
59589 * string/Makefile (strop-tests): Add strchrnul.
59590
59591 * po/it.po: Update from translation team.
59592 * po/es.po: Likewise.
59593
59594 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59595
59596 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59597 the three constants needed as parameters. Drop the others.
59598 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59599 __m128i_strloadu_tolower.
59600 Create and initialize variable zero and use it in all the places
59601 where _mm_setzero_si128 was used.
59602
59603 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59604 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59605 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59606 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59607 anymore.
59608 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59609 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59610 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59611 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59612 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59613 __mpranred, __mptan.
59614 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59615 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59616 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59617 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59618 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59619 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59620 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59621 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59622 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59623
59624 2011-10-28 Andreas Schwab <schwab@redhat.com>
59625
59626 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59627 redefine if SHARED.
59628 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59629
59630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59631 wide char related routines to wcsmbs subdir.
59632
59633 2011-10-27 Andreas Schwab <schwab@redhat.com>
59634
59635 [BZ #13344]
59636 * misc/sys/cdefs.h (__THROWNL): Define.
59637 * posix/unistd.h: Use __THREADNL instead of __THREAD
59638 for memory synchronization functions.
59639
59640 2011-10-26 Roland McGrath <roland@hack.frob.com>
59641
59642 [BZ #13349]
59643 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59644 doesn't exist.
59645 * manual/stdio.texi (Obstack Streams): Node removed.
59646
59647 2011-10-26 Andreas Schwab <schwab@redhat.com>
59648
59649 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59650 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59651 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59652
59653 * math/math_private.h (math_force_eval): Allow non-addressable
59654 arguments.
59655 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59656
59657 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59658
59659 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59660 file is not needed.
59661
59662 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59663 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59664 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59665 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59666 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59667 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59668 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59669 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59670 Add AVX variants.
59671 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59672 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59673 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59674 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59675 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59676 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59677 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59678 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59679 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59680 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59681 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59682 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59683 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59684 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59685 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59686 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59687 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59688 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59689 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59690
59691 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59692 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59693
59694 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59695 place. Use VEX encoding when compiling for AVX.
59696
59697 2011-10-25 Andreas Schwab <schwab@redhat.com>
59698
59699 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59700 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59701
59702 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59703
59704 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59705
59706 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59707 useless if() expression.
59708 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59709 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59710 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59711 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59712 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59713 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59714 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59715 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59716 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59717 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59718 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59719 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59720 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59721 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59722 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59723 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59724 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59725 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59726 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59727
59728 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59729
59730 2011-10-25 Andreas Schwab <schwab@redhat.com>
59731
59732 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59733 condition.
59734 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59735
59736 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59737
59738 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59739 .text section. Avoid duplicate constants.
59740 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59742 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59743 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59744 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59746 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59748 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59749 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59750 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59751 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59752 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59753 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59754 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59755 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59756 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59757 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59758 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59760 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59761 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59762 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59763 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59764 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59765 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59766 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59767 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59768 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59769 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59770 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59771 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59772 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59773 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59774 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59775 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59776 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59777 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59778 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59779 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59780 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59781 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59782 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59783 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59784 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59785
59786 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59787
59788 * sysdeps/x86_64/dla.h: Move to ...
59789 * sysdeps/x86_64/fpu/dla.h: ...here.
59790 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59791 situations. Use __builtin_fma only for gcc 4.6 and up.
59792
59793 * config.make.in: Add have-mfma4 entry.
59794 * configure.in: Substitute libc_cv_cc_fma4.
59795 * math/Makefile (dbl-only-routines): Add sincostab.
59796 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59797 Use __sincostab not sincos.
59798 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59799 name is a macro.
59800 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59801 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59804 using __copysign.
59805 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59806 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59807 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59808 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59809 and __inv.
59810 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59811 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59812 __copysign.
59813 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59814 define aliases when function name is a macro.
59815 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59816 sysdeps/ieee754/dbl-64/sincos.tbl.
59817 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59818 fma4-enabled routines.
59819 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59820 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59821 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59822 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59823 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59824 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59825 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59826 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59827 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59828 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59829 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59830 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59831 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59832 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59833 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59834 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59835 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59836 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59837 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59838 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59839 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59840 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59841 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59842 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59844 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59845 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59846 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59847 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59848 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59849
59850 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59851 rename.
59852 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59853 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59854 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59855 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59856 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59857 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59858 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59859 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59860
59861 2011-10-24 Andreas Schwab <schwab@redhat.com>
59862
59863 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59864
59865 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59866
59867 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59868
59869 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59870 prediction.
59871 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59872
59873 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59874 Remove unused variable magic_bits.
59875 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59876
59877 * string/strnlen.c: Define and use STRNLEN macro.
59878 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59879 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59880 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59881 * wcsmbs/wcslen.c: Define and use WCSLEN.
59882 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59883 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59884 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59885 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59886 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59887 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59888 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59889
59890 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59891
59892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59893 strnlen-sse2-no-bsf.
59894 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59895 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59896 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59897 Add strnlen support.
59898 (USE_AS_STRNLEN): New macro.
59899 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59900 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59901 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59902 * sysdeps/x86_64/wcslen.S: New file.
59903
59904 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59905
59906 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59907 XMM-moves are used for copying on small sizes.
59908
59909 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59910
59911 * wcsmbs/Makefile (strop-tests): Add wcschr.
59912 * wcsmbs/test-wcschr.c: New file.
59913 * string/test-strchr.c: Update.
59914 Add wcschr support.
59915 (WIDE): New macro.
59916
59917 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59918
59919 * wcsmbs/Makefile (strop-tests): Add wcslen.
59920 * wcsmbs/test-wcslen.c: New file.
59921 * string/test-strlen.c: Update.
59922 Add wcslen support.
59923 (WIDE): New macro.
59924
59925 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59926
59927 * po/it.po: Update from translation team.
59928
59929 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59930
59931 * sysdeps/x86_64/wcscmp.S: Update.
59932 Fix wrong comparison semantics.
59933 wcscmp shall use signed comparison not unsigned.
59934 Don't use substraction to avoid overflow bug.
59935 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59936 * wcsmbc/wcscmp.c: Likewise.
59937 * string/test-strcmp.c: Likewise.
59938 Add new tests to check cases with negative values.
59939
59940 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59941
59942 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59943 * sysdeps/x86_64/dla.h: ...here. New file.
59944 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59946 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59947 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59948 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59949 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59951 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59953
59954 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59955
59956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59957 __ynl_finite aliases.
59958
59959 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59960
59961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59962
59963 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59964 define DLA_FMA.
59965 [DLA_FMA] (EMULV): Use DLA_FMA.
59966 [DLA_FMA] (MUL12): Use EMULV.
59967 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59968 that are not needed.
59969 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59970 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59971 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59973 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59974 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59975 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59976
59977 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59978
59979 * math/s_nan.c: Undef __nan.
59980 * math/s_nanf.c: Undef __nanf.
59981 * math/s_nanl.c: Undef __nanl.
59982 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59983 "math_private.h".
59984
59985 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59986
59987 * math/s_catan.c: Add branch predictions.
59988 * math/s_catanf.c: Likewise.
59989 * math/s_catanh.c: Likewise.
59990 * math/s_catanhf.c: Likewise.
59991 * math/s_catanhl.c: Likewise.
59992 * math/s_catanl.c: Likewise.
59993 * math/s_cexp.c: Likewise.
59994 * math/s_cexpf.c: Likewise.
59995 * math/s_cexpl.c: Likewise.
59996 * math/s_clog.c: Likewise.
59997 * math/s_clog10.c: Likewise.
59998 * math/s_clog10f.c: Likewise.
59999 * math/s_clog10l.c: Likewise.
60000 * math/s_clogf.c: Likewise.
60001 * math/s_clogl.c: Likewise.
60002 * math/s_csqrt.c: Likewise.
60003 * math/s_csqrtf.c: Likewise.
60004 * math/s_csqrtl.c: Likewise.
60005 * math/s_ctanf.c: Likewise.
60006 * math/s_ctanh.c: Likewise.
60007 * math/s_ctanhf.c: Likewise.
60008 * math/s_ctanhl.c: Likewise.
60009 * math/s_ctanl.c: Likewise.
60010
60011 * math/math_private.h: Define __nan, __nanf, __nanl.
60012 * math/s_cacosh.c: Include <math_private.h>.
60013 * math/s_cacoshl.c: Likewise.
60014 * math/s_casinh.c: Likewise.
60015 * math/s_casinhf.c: Likewise.
60016 * math/s_casinhl.c: Likewise.
60017 * math/s_ccos.c: Rely entire on ccosh.
60018 * math/s_ccosf.c: Rely entire on ccoshf.
60019 * math/s_ccosl.c: Rely entirely on ccoshl.
60020 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
60021 Remove tests for FE_INVALID.
60022 * math/s_ccoshf.c: Likewise.
60023 * math/s_ccoshl.c: Likewise.
60024 * math/s_csin.c: Likewise.
60025 * math/s_csinf.c: Likewise.
60026 * math/s_csinh.c Likewise.
60027 * math/s_csinhf.c: Likewise.
60028 * math/s_csinhl.c: Likewise.
60029 * math/s_csinl.c: Likewise.
60030 * math/s_ctan.c: Likewise.
60031 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60032 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60033 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60034
60035 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60036
60037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60038 compilation problems.
60039
60040 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60041 __builtin_expect.
60042
60043 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60044
60045 * sysdeps/i386/configure.in: Test for -mfma4 option.
60046 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60047 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60048 COMMON_CPUID_INDEX_80000001.
60049 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60050 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60051 use it if FMA3 is not supported.
60052 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60053
60054 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60055 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60056
60057 2011-10-20 Andreas Schwab <schwab@redhat.com>
60058
60059 [BZ #12892]
60060 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60061 it would create a cycle with a link time dependency.
60062
60063 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60064
60065 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60066 instruction.
60067 * string/Makefile (strop-tests): Add rawmemchr.
60068 * string/test-rawmemchr.c: New file.
60069
60070 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60071 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60072 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60073 when compiling str{,n}casecmp and when AVX is available. Hook up
60074 new optimized code in initializers.
60075
60076 2011-10-19 Andreas Schwab <schwab@redhat.com>
60077
60078 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60079 __feraiseexcept instead of feraiseexcept.
60080
60081 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60082
60083 * math/math_private.h: Define defaults for libc_fetestexcept and
60084 libc_feupdateenv.
60085 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60086 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60087 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60088 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60089 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60090 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60091 libc_fetestexcept and libc_feupdateenv.
60092
60093 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60094 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60095 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60096 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60097 libc_feholdexcept_setround.
60098
60099 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60100 Add s_nearbyint-c and s_nearbyintf-c.
60101 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60102 nearbyintf inlines.
60103 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60104 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60105 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60106 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60107
60108 * math/math_private.h: Define defaults for libc_fegetround,
60109 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60110 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60111 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60112 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60113 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60114 standard functions.
60115 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60116 Remove comments and hacks for old compiler versions.
60117 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60118 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60119 libc_feholdexceptl.
60120
60121 2011-10-18 Andreas Schwab <schwab@redhat.com>
60122
60123 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60124 (__feraiseexcept_renamed): Add __NTH.
60125 (feraiseexcept): Add __NTH. Rename local variables to fix
60126 namespace violations.
60127
60128 2011-10-17 Ulrich Drepper <drepper@gmail.com>
60129
60130 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60131
60132 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60133
60134 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60135 recently added interfaces.
60136 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60137
60138 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60139 about macro parameter expansion.
60140
60141 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60142 __NO_MATH_INLINES is defined. Cleanups.
60143
60144 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60145 and __floorf is target has SSE4.1.
60146 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60147 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60148 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60149 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60150
60151 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60152 name.
60153 (floorf): Likewise.
60154
60155 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60156
60157 2011-10-17 Andreas Schwab <schwab@redhat.com>
60158
60159 * misc/sys/cdefs.h: Fix last change.
60160
60161 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60162 database lookup.
60163
60164 2011-10-16 Ulrich Drepper <drepper@gmail.com>
60165
60166 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60167
60168 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60169 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60170 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60171 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60172 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60173 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60174 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60175 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60176 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60177 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60178 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60179 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60180 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60181 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60182 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60183 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60184 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60185 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60186 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60187 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60188 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60189 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60190
60191 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60192 ceil, ceilf, floor, floorf.
60193
60194 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60195 Perform IRELATIVE relocations last.
60196
60197 * elf/do-rel.h: Add another parameter nrelative, replacing the
60198 local variable with the same name. Change name of the function
60199 to end in Rel or Rela (uppercase).
60200 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60201 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
60202 elf_dynamic_do_##reloc function.
60203
60204 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60205
60206 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60207 is sufficient, at least on modern CPUs.
60208
60209 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60210
60211 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60212 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60213
60214 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60215 __expl_finite.
60216 * math/bits/math-finite.h: Add entries for exp.
60217 * math/e_expl.c: Add __*_finite alias.
60218 * sysdeps/i386/fpu/e_exp.S: Likewise.
60219 * sysdeps/i386/fpu/e_expf.S: Likewise.
60220 * sysdeps/i386/fpu/e_expl.c: Likewise.
60221 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60222 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60223 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60224 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60225 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60226 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60227 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60228
60229 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60230 is sufficient, at least on modern CPUs.
60231
60232 * ctype/ctype-info.c (__ctype_init): Define.
60233 * include/ctype.h (__ctype_init): Declare.
60234 (__ctype_b_loc): The variable is always initialized.
60235 (__ctype_toupper_loc): Likewise.
60236 (__ctype_tolower_loc): Likewise.
60237 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60238 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60239
60240 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60241
60242 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60243
60244 * configure.in: Also look in $cxxmachine/include for C++ system
60245 headers.
60246
60247 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60248
60249 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60250 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60251 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60252 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60253 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60254 (USE_AS_WMEMCMP): New macro.
60255 Fixing indents.
60256 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60257 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60258 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60259 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60261 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60262 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60263 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60264 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60265 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60266 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60267 (USE_AS_WMEMCMP): New macro.
60268 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60269 * sysdeps/string/test-memcmp.c: Update.
60270 Fix simple_wmemcmp.
60271 Add new tests.
60272 * wcsmbs/wmemcmp.c: Update.
60273 (WMEMCMP): New macro.
60274 Fix overflow bug.
60275
60276 2011-10-12 Andreas Jaeger <aj@suse.de>
60277
60278 [BZ #13268]
60279 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60280
60281 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60282
60283 * libio/iofwide.c (do_length): Avoid warning.
60284
60285 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60286
60287 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60288
60289 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60290
60291 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60292 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60293 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60294 * sysdeps/i386/i686/fpu/e_log.S: New file.
60295 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60296 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60297
60298 * ctype/ctype.h: Add support for inlined isXXX functions when
60299 compiling C++ code.
60300
60301 2011-10-14 Andreas Schwab <schwab@redhat.com>
60302
60303 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60304
60305 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60306
60307 2011-10-13 Roland McGrath <roland@hack.frob.com>
60308
60309 [BZ #13291]
60310 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60311
60312 2011-10-13 Andreas Schwab <schwab@redhat.com>
60313
60314 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60315 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60316 feraiseexcept.
60317
60318 * sysdeps/x86_64/memrchr.S: Check for zero size.
60319
60320 * string/stratcliff.c: Add memrchr tests.
60321
60322 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60323
60324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60325 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60326 rawmemchr-sse2 rawmemchr-sse2-bsf.
60327 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60328 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60329 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60330 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60331 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60332 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60333 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60334 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60335 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60336 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60337 * string/memrchr.c (MEMRCHR): New macro.
60338
60339 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60340
60341 Add integration with gcc's -ffinite-math-only and optimize wrapper
60342 functions in libm.
60343 * Versions.def: Define GLIBC_2.15 version for libm.
60344 * math/Makefile (headers): Add bits/math-finite.h.
60345 * math/bits/math-finite.h: New file.
60346 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60347 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60348 * math/e_acoshl.c: Add __*_finite alias.
60349 * math/e_acosl.c: Likewise.
60350 * math/e_asinl.c: Likewise.
60351 * math/e_atan2l.c: Likewise.
60352 * math/e_atanhl.c: Likewise.
60353 * math/e_coshl.c: Likewise.
60354 * math/e_exp10.c: Likewise.
60355 * math/e_exp10f.c: Likewise.
60356 * math/e_exp10l.c: Likewise.
60357 * math/e_exp2l.c: Likewise.
60358 * math/e_fmodl.c: Likewise.
60359 * math/e_gammal_r.c: Likewise.
60360 * math/e_hypotl.c: Likewise.
60361 * math/e_j0l.c: Likewise.
60362 * math/e_j1l.c: Likewise.
60363 * math/e_jnl.c: Likewise.
60364 * math/e_lgammal_r.c: Likewise.
60365 * math/e_log10l.c: Likewise.
60366 * math/e_log2l.c: Likewise.
60367 * math/e_logl.c: Likewise.
60368 * math/e_powl.c: Likewise.
60369 * math/e_sinhl.c: Likewise.
60370 * math/e_sqrtl.c: Likewise.
60371 * math/e_scalb.c: Completely rewritten and optimized.
60372 * math/e_scalbf.c: Likewise.
60373 * math/e_scalbl.c: Likewise.
60374 * math/w_acos.c: Likewise.
60375 * math/w_acosf.c: Likewise.
60376 * math/w_acosl.c: Likewise.
60377 * math/w_acosh.c: Likewise.
60378 * math/w_acoshf.c: Likewise.
60379 * math/w_acoshl.c: Likewise.
60380 * math/w_asin.c: Likewise.
60381 * math/w_asinf.c: Likewise.
60382 * math/w_asinl.c: Likewise.
60383 * math/w_atan2.c: Likewise.
60384 * math/w_atan2f.c: Likewise.
60385 * math/w_atan2l.c: Likewise.
60386 * math/w_atanh.c: Likewise.
60387 * math/w_atanhf.c: Likewise.
60388 * math/w_atanhl.c: Likewise.
60389 * math/w_exp10.c: Likewise.
60390 * math/w_exp10f.c: Likewise.
60391 * math/w_exp10l.c: Likewise.
60392 * math/w_fmod.c: Likewise.
60393 * math/w_fmodf.c: Likewise.
60394 * math/w_fmodl.c: Likewise.
60395 * math/w_j0.c: Likewise.
60396 * math/w_j0f.c: Likewise.
60397 * math/w_j0l.c: Likewise.
60398 * math/w_j1.c: Likewise.
60399 * math/w_j1f.c: Likewise.
60400 * math/w_j1l.c: Likewise.
60401 * math/w_jn.c: Likewise.
60402 * math/w_jnf.c: Likewise.
60403 * math/w_log.c: Likewise.
60404 * math/w_logf.c: Likewise.
60405 * math/w_logl.c: Likewise.
60406 * math/w_log10.c: Likewise.
60407 * math/w_log10f.c: Likewise.
60408 * math/w_log10l.c: Likewise.
60409 * math/w_log2.c: Likewise.
60410 * math/w_log2f.c: Likewise.
60411 * math/w_log2l.c: Likewise.
60412 * math/w_pow.c: Likewise.
60413 * math/w_powf.c: Likewise.
60414 * math/w_powl.c: Likewise.
60415 * math/w_remainder.c: Likewise.
60416 * math/w_remainderf.c: Likewise.
60417 * math/w_remainderl.c: Likewise.
60418 * math/w_scalb.c: Likewise.
60419 * math/w_scalbf.c: Likewise.
60420 * math/w_scalbl.c: Likewise.
60421 * math/w_sqrt.c: Likewise.
60422 * math/w_sqrtf.c: Likewise.
60423 * math/w_sqrtl.c: Likewise.
60424 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60425 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60426 used.
60427 * math/math_private.h: Declare __kernel_standard_f.
60428 * math/w_cosh.c: Remove cruft and optimize a bit.
60429 * math/w_coshf.c: Likewise.
60430 * math/w_coshl.c: Likewise.
60431 * math/w_exp2.c: Likewise.
60432 * math/w_exp2f.c: Likewise.
60433 * math/w_exp2l.c: Likewise.
60434 * math/w_hypot.c: Likewise.
60435 * math/w_hypotf.c: Likewise.
60436 * math/w_hypotl.c: Likewise.
60437 * math/w_lgamma.c: Likewise.
60438 * math/w_lgamma_r.c: Likewise.
60439 * math/w_lgammaf.c: Likewise.
60440 * math/w_lgammaf_r.c: Likewise.
60441 * math/w_lgammal.c: Likewise.
60442 * math/w_lgammal_r.c: Likewise.
60443 * math/w_sinh.c: Likewise.
60444 * math/w_sinhf.c: Likewise.
60445 * math/w_sinhl.c: Likewise.
60446 * math/w_tgamma.c: Likewise.
60447 * math/w_tgammaf.c: Likewise.
60448 * math/w_tgammal.c: Likewise.
60449 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60450 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60451 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60452 Minor optimizations. Pretty printing. Remove cruft.
60453 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60454 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60455 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60456 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60457 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60458 * sysdeps/i386/fpu/e_asin.S: Likewise.
60459 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60460 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60461 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60462 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60463 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60464 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60465 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60466 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60467 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60468 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60469 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60470 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60471 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60472 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60473 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60474 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60475 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60476 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60477 * sysdeps/i386/fpu/e_log.S: Likewise.
60478 * sysdeps/i386/fpu/e_log10.S: Likewise.
60479 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60480 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60481 * sysdeps/i386/fpu/e_log2.S: Likewise.
60482 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60483 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60484 * sysdeps/i386/fpu/e_logf.S: Likewise.
60485 * sysdeps/i386/fpu/e_logl.S: Likewise.
60486 * sysdeps/i386/fpu/e_pow.S: Likewise.
60487 * sysdeps/i386/fpu/e_powf.S: Likewise.
60488 * sysdeps/i386/fpu/e_powl.S: Likewise.
60489 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60490 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60491 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60492 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60493 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60494 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60495 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60496 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60497 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60498 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60499 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60501 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60502 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60503 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60504 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60505 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60506 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60507 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60508 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60509 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60510 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60511 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60512 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60514 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60515 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60516 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60517 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60518 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60519 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60520 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60521 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60522 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60523 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60524 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60525 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60526 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60527 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60528 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60529 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60530 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60531 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60532 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60533 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60534 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60535 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60536 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60537 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60538 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60539 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60540 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60541 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60542 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60543 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60544 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60545 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60546 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60547 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60548 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60549 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60550 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60551 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60552 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60553 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60554 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60555 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60556 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60557 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60558 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60559 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60560 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60561 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60562 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60563 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60564 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60565 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60566 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60567 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60568 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60569 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60570 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60571 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60572 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60573 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60574 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60575 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60576 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60577 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60578 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60579 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60580 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60581 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60582 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60583 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60584 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60585 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60586 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60587 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60588 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60589 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60590 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60591 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60592 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60593 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60594 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60595 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60596 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60597 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60598 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60599 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60600 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60601 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60602 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60603 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60604 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60605 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60606 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60607 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60608 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60609 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60610 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60611 (__isnanf): Likewise.
60612 (__isinf_ns): Likewise.
60613 (__isinf_nsf): Likewise.
60614 (__finite): Likewise.
60615 (__finitef): Likewise.
60616 (__ieee754_sqrt): Define as macro.
60617 (__ieee754_sqrtf): Define as macro.
60618 (__ieee754_sqrtl): Define as macro.
60619 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60620 inlined copy.
60621 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60622 __FINITE_MATH_ONLY__ consistent.
60623 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60624
60625 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60626
60627 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60628 of rawmemchr.
60629
60630 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60631
60632 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60633
60634 * po/ja.po: Update from translation team.
60635
60636 2011-10-08 Roland McGrath <roland@hack.frob.com>
60637
60638 * locale/programs/locarchive.c (prepare_address_space): New function.
60639 (create_archive, enlarge_archive, open_archive): Use it.
60640
60641 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60642 inside [SHARED], where it is used.
60643
60644 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60645
60646 * nss/getent.c (netgroup_keys): Remove unused variable.
60647 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60648
60649 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60650
60651 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60652 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60653 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60654 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60655 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60656 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60657 * math/Makefile (libm-calls): Add s_isinf_ns.
60658 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60659 * math/multc3.c: Likewise.
60660 * math/s_casin.c: Likewise.
60661 * math/s_casinf.c: Likewise.
60662 * math/s_casinl.c: Likewise.
60663 * math/s_ccos.c: Likewise.
60664 * math/s_ccosf.c: Likewise.
60665 * math/s_ccosl.c: Likewise.
60666 * math/s_ctan.c: Likewise.
60667 * math/s_ctanf.c: Likewise.
60668 * math/s_ctanh.c: Likewise.
60669 * math/s_ctanhf.c: Likewise.
60670 * math/s_ctanhl.c: Likewise.
60671 * math/s_ctanl.c: Likewise.
60672 * math/w_fmod.c: Likewise.
60673 * math/w_fmodf.c: Likewise.
60674 * math/w_fmodl.c: Likewise.
60675 * math/w_remainder.c: Likewise.
60676 * math/w_remainderf.c: Likewise.
60677 * math/w_remainderl.c: Likewise.
60678 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60679 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60680 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60682 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60683 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60684 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60685 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60686
60687 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60688 of the number.
60689 * stdio-common/printf_fphex.c: Likewise.
60690 * stdio-common/printf_size.c: Likewise.
60691
60692 * math/e_exp10.c: Include math_private.h using <...> not "...".
60693 * math/e_exp10f.c: Likewise.
60694 * math/e_exp10l.c: Likewise.
60695 * math/e_exp2l.c: Likewise.
60696 * math/e_j0l.c: Likewise.
60697 * math/e_j1l.c: Likewise.
60698 * math/e_jnl.c: Likewise.
60699 * math/e_lgammal_r.c: Likewise.
60700 * math/e_rem_pio2l.c: Likewise.
60701 * math/e_scalb.c: Likewise.
60702 * math/e_scalbf.c: Likewise.
60703 * math/e_scalbl.c: Likewise.
60704 * math/k_cosl.c: Likewise.
60705 * math/k_sinl.c: Likewise.
60706 * math/k_tanl.c: Likewise.
60707 * math/s_cacoshf.c: Likewise.
60708 * math/s_catan.c: Likewise.
60709 * math/s_catanf.c: Likewise.
60710 * math/s_catanh.c: Likewise.
60711 * math/s_catanhf.c: Likewise.
60712 * math/s_catanhl.c: Likewise.
60713 * math/s_catanl.c: Likewise.
60714 * math/s_ccosh.c: Likewise.
60715 * math/s_ccoshf.c: Likewise.
60716 * math/s_ccoshl.c: Likewise.
60717 * math/s_cexp.c: Likewise.
60718 * math/s_cexpf.c: Likewise.
60719 * math/s_cexpl.c: Likewise.
60720 * math/s_clog.c: Likewise.
60721 * math/s_clog10.c: Likewise.
60722 * math/s_clog10f.c: Likewise.
60723 * math/s_clog10l.c: Likewise.
60724 * math/s_clogf.c: Likewise.
60725 * math/s_clogl.c: Likewise.
60726 * math/s_csin.c: Likewise.
60727 * math/s_csinf.c: Likewise.
60728 * math/s_csinh.c: Likewise.
60729 * math/s_csinhf.c: Likewise.
60730 * math/s_csinhl.c: Likewise.
60731 * math/s_csinl.c: Likewise.
60732 * math/s_csqrt.c: Likewise.
60733 * math/s_csqrtf.c: Likewise.
60734 * math/s_csqrtl.c: Likewise.
60735 * math/s_ctan.c: Likewise.
60736 * math/s_ctanf.c: Likewise.
60737 * math/s_ctanh.c: Likewise.
60738 * math/s_ctanhf.c: Likewise.
60739 * math/s_ctanhl.c: Likewise.
60740 * math/s_ctanl.c: Likewise.
60741 * math/s_ldexp.c: Likewise.
60742 * math/s_ldexpf.c: Likewise.
60743 * math/s_ldexpl.c: Likewise.
60744 * math/s_significand.c: Likewise.
60745 * math/s_significandf.c: Likewise.
60746 * math/s_significandl.c: Likewise.
60747 * math/w_acos.c: Likewise.
60748 * math/w_acosf.c: Likewise.
60749 * math/w_acosh.c: Likewise.
60750 * math/w_acoshf.c: Likewise.
60751 * math/w_acoshl.c: Likewise.
60752 * math/w_acosl.c: Likewise.
60753 * math/w_asin.c: Likewise.
60754 * math/w_asinf.c: Likewise.
60755 * math/w_asinl.c: Likewise.
60756 * math/w_atan2.c: Likewise.
60757 * math/w_atan2f.c: Likewise.
60758 * math/w_atan2l.c: Likewise.
60759 * math/w_atanh.c: Likewise.
60760 * math/w_atanhf.c: Likewise.
60761 * math/w_atanhl.c: Likewise.
60762 * math/w_cosh.c: Likewise.
60763 * math/w_coshf.c: Likewise.
60764 * math/w_coshl.c: Likewise.
60765 * math/w_dremf.c: Likewise.
60766 * math/w_exp10.c: Likewise.
60767 * math/w_exp10f.c: Likewise.
60768 * math/w_exp10l.c: Likewise.
60769 * math/w_exp2.c: Likewise.
60770 * math/w_exp2f.c: Likewise.
60771 * math/w_fmod.c: Likewise.
60772 * math/w_fmodf.c: Likewise.
60773 * math/w_fmodl.c: Likewise.
60774 * math/w_hypot.c: Likewise.
60775 * math/w_hypotf.c: Likewise.
60776 * math/w_hypotl.c: Likewise.
60777 * math/w_j0.c: Likewise.
60778 * math/w_j0f.c: Likewise.
60779 * math/w_j0l.c: Likewise.
60780 * math/w_j1.c: Likewise.
60781 * math/w_j1f.c: Likewise.
60782 * math/w_j1l.c: Likewise.
60783 * math/w_jn.c: Likewise.
60784 * math/w_jnf.c: Likewise.
60785 * math/w_jnl.c: Likewise.
60786 * math/w_lgamma.c: Likewise.
60787 * math/w_lgamma_r.c: Likewise.
60788 * math/w_lgammaf.c: Likewise.
60789 * math/w_lgammaf_r.c: Likewise.
60790 * math/w_lgammal.c: Likewise.
60791 * math/w_lgammal_r.c: Likewise.
60792 * math/w_log.c: Likewise.
60793 * math/w_log10.c: Likewise.
60794 * math/w_log10f.c: Likewise.
60795 * math/w_log10l.c: Likewise.
60796 * math/w_log2.c: Likewise.
60797 * math/w_log2f.c: Likewise.
60798 * math/w_log2l.c: Likewise.
60799 * math/w_logf.c: Likewise.
60800 * math/w_logl.c: Likewise.
60801 * math/w_pow.c: Likewise.
60802 * math/w_powf.c: Likewise.
60803 * math/w_powl.c: Likewise.
60804 * math/w_remainder.c: Likewise.
60805 * math/w_remainderf.c: Likewise.
60806 * math/w_remainderl.c: Likewise.
60807 * math/w_scalb.c: Likewise.
60808 * math/w_scalbf.c: Likewise.
60809 * math/w_scalbl.c: Likewise.
60810 * math/w_sinh.c: Likewise.
60811 * math/w_sinhf.c: Likewise.
60812 * math/w_sinhl.c: Likewise.
60813 * math/w_sqrt.c: Likewise.
60814 * math/w_sqrtf.c: Likewise.
60815 * math/w_sqrtl.c: Likewise.
60816 * math/w_tgamma.c: Likewise.
60817 * math/w_tgammaf.c: Likewise.
60818 * math/w_tgammal.c: Likewise.
60819
60820 * po/ja.po: Update from translation team.
60821
60822 2011-09-29 Andreas Jaeger <aj@suse.de>
60823
60824 [BZ #13179]
60825 * sunrpc/netname.c (netname2host): Fix logic.
60826
60827 [BZ #6779]
60828 [BZ #6783]
60829 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60830 correctly.
60831 * math/w_remainder.c (__remainder): Likewise.
60832 * math/w_remainderf.c (__remainderf): Likewise.
60833 * math/libm-test.inc (remainder_test): Add test cases.
60834
60835 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60836
60837 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60838 sdiv_qrnnd.
60839
60840 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60841
60842 * string/test-memcmp.c: Avoid unncessary #defines.
60843 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60844
60845 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60846
60847 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60848 Use new sse2 version for core i3 - i7 as it's faster
60849 than sse42 version.
60850 (bit_Prefer_PMINUB_for_stringop): New.
60851 * sysdeps/x86_64/rawmemchr.S: Update.
60852 Replace with faster SSE2 version.
60853 * sysdeps/x86_64/memrchr.S: New file.
60854 * sysdeps/x86_64/memchr.S: Update.
60855 Replace with faster SSE2 version.
60856
60857 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60858
60859 * elf/dl-load.c (lose): Add cast to avoid warning.
60860
60861 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60862
60863 * po/ca.po: Update from translation team.
60864
60865 * inet/getnetgrent_r.c: Hook up nscd.
60866 * nscd/Makefile (routines): Add nscd_netgroup.
60867 (nscd-modules): Add netgroupcache.
60868 (CFLAGS-netgroupcache.c): Define.
60869 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60870 (cache_search): Add const to second parameter.
60871 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60872 INNETGR.
60873 (dbs): Add netgrdb entry.
60874 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60875 (verify_persistent_db): Handle netgrdb.
60876 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60877 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60878 GETFDNETGR.
60879 (netgroup_response_header): Define.
60880 (innetgroup_response_header): Define.
60881 (datahead): Add netgroup_response_header and innetgroup_response_header
60882 elements.
60883 * nscd/nscd.conf: Add entries for netgroup cache.
60884 * nscd/nscd.h (dbtype): Add netgrdb.
60885 (_PATH_NSCD_NETGROUP_DB): Define.
60886 (netgroup_iov_disabled): Declare.
60887 (xmalloc, xcalloc, xrealloc): Move declarations here.
60888 (cache_search): Adjust prototype.
60889 Add netgroup-related prototypes.
60890 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60891 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60892 (__nscd_innetgr): Declare.
60893 * nscd/selinux.c (perms): Use access_vector_t as element type and
60894 add netgroup-related initializers.
60895 * nscd/netgroupcache.c: New file.
60896 * nscd/nscd_netgroup.c: New file.
60897 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60898 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60899 For four parameters use innetgr.
60900 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60901 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60902 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60903 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60904
60905 * nscd/connections.c (register_traced_file): Don't register file
60906 for disabled databases.
60907
60908 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60909
60910 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60911
60912 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60913 from tree and freeing node.
60914
60915 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60916
60917 * nss/nsswitch.c (__nss_database_lookup): Handle
60918 nss_parse_service_list out of memory case.
60919
60920 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60921
60922 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60923 out of memory case.
60924
60925 2011-10-04 Andreas Schwab <schwab@redhat.com>
60926
60927 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60928 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60929 pass it down.
60930 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60931 elf_machine_rela, elf_machine_lazy_rel.
60932 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60933 (ELF_DYNAMIC_DO_REL): Likewise.
60934 (ELF_DYNAMIC_DO_RELA): Likewise.
60935 (ELF_DYNAMIC_RELOCATE): Likewise.
60936 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60937 to ELF_DYNAMIC_DO_REL.
60938 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60939 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60940 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60941 elf_machine_rela.
60942 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60943 skip_ifunc, don't call ifunc function if non-zero.
60944 (elf_machine_rela): Likewise.
60945 (elf_machine_lazy_rel): Likewise.
60946 (elf_machine_lazy_rela): Likewise.
60947 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60948 (elf_machine_lazy_rel): Likewise.
60949 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60950 Likewise.
60951 (elf_machine_lazy_rel): Likewise.
60952 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60953 Likewise.
60954 (elf_machine_lazy_rel): Likewise.
60955 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60956 (elf_machine_lazy_rel): Likewise.
60957 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60958 (elf_machine_lazy_rel): Likewise.
60959 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60960 (elf_machine_lazy_rel): Likewise.
60961 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60962 (elf_machine_lazy_rel): Likewise.
60963 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60964 (elf_machine_lazy_rel): Likewise.
60965 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60966 (elf_machine_lazy_rel): Likewise.
60967
60968 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60969
60970 * nss/nss_files/files-init.c (_nss_files_init): Use static
60971 initialization for all the *_traced_file variables.
60972
60973 2011-09-28 Andreas Schwab <schwab@redhat.com>
60974
60975 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60976
60977 2011-09-27 Roland McGrath <roland@hack.frob.com>
60978
60979 [BZ #13226]
60980 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60981
60982 2011-09-27 Andreas Schwab <schwab@redhat.com>
60983
60984 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60985 Reread the line before reparsing it.
60986
60987 2011-09-26 Andreas Schwab <schwab@redhat.com>
60988
60989 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60990
60991 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60992 Maxim Kuvyrkov <maxim@codesourcery.com>
60993 Joseph Myers <joseph@codesourcery.com>
60994
60995 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60996 if needed for __stack_chk_guard.
60997
60998 2011-09-19 Roland McGrath <roland@hack.frob.com>
60999
61000 * sysdeps/posix/spawni.c (script_execute): Always define it.
61001 It will be optimized away if unused.
61002 (maybe_script_execute): New function.
61003 (__spawni): Call it.
61004
61005 * Makerules: Don't include tls.make.
61006 (config-tls): Always set to thread.
61007 * tls.make.c: File removed.
61008
61009 2011-09-19 Mike Frysinger <vapier@gentoo.org>
61010
61011 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61012 * config.make.in (CPPFLAGS-config): New substituted variable.
61013
61014 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61015
61016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61017
61018 [BZ #13192]
61019 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61020 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61021
61022 2011-09-15 Roland McGrath <roland@hack.frob.com>
61023
61024 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61025 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61026 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61027 (CALL_FAIL): Likewise.
61028 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61029 (CALL_FAIL): Macro removed.
61030 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61031
61032 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61033
61034 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61035 for __FINITE_MATH_ONLY__ == 1.
61036
61037 2011-09-15 Andreas Schwab <schwab@redhat.com>
61038
61039 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61040 __ieee754_sqrt instead of sqrt.
61041 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61042 __ieee754_sqrtf instead of sqrtf.
61043 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61044 __floorf instead of floorf.
61045 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61046 __floorf, __truncf instead of floorf, truncf.
61047
61048 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61049
61050 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61051
61052 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61053 __extern_always_inline.
61054 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61055 32-bit.
61056
61057 2011-09-14 Andreas Schwab <schwab@redhat.com>
61058
61059 * elf/rtld.c (dl_main): Also relocate in dependency order when
61060 doing symbol dependency testing.
61061
61062 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61063
61064 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61065 Always define `refsym'.
61066
61067 2011-09-13 Andreas Schwab <schwab@redhat.com>
61068
61069 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61070 (__FD_ELT): Renamed from __FDELT.
61071 * misc/bits/select2.h (__FD_ELT): Likewise.
61072 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61073 __FD_MASK instead of __FDELT, __FDMASK.
61074 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61075 Likewise.
61076 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61077 Likewise.
61078
61079 * elf/Makefile (gen-ldd): Fix pattern.
61080
61081 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61082 (init_tls): Likewise.
61083
61084 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61085
61086 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61087
61088 2011-09-12 Andreas Schwab <schwab@redhat.com>
61089
61090 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61091 `struct cmsghdr *' instead of `void *'.
61092 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61093 Likewise.
61094
61095 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61096
61097 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61098 if non-absolute.
61099 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61100 ldd_rewrite_script.
61101
61102 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61103
61104 * configure.in: Remove --with-tls option.
61105 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61106 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61107 out in case it is missing.
61108 * sysdeps/ia64/elf/configure.in: Likewise.
61109 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61110 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61111 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61112 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61113 * sysdeps/sh/elf/configure.in: Likewise.
61114 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61115 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61116 * sysdeps/x86_64/elf/configure.in: Likewise.
61117 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61118 * sysdeps/mach/hurd/tls.h: Likewise.
61119
61120 [BZ #13067]
61121 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61122
61123 [BZ #13090]
61124 * configure.in: Fix use of AC_INIT.
61125
61126 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61127
61128 2011-09-10 Ulrich Drepper <drepper@gmail.com>
61129
61130 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61131 __set_errno.
61132 * malloc/hooks.c: Likewise.
61133
61134 [BZ #11929]
61135 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
61136 variables statically.
61137 (narenas): Initialize.
61138 (list_lock): Initialize.
61139 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
61140 initializtion of main_arena and list_lock. Small cleanups.
61141 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61142 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
61143 Add initializers to main_arena and mp_.
61144 (malloc_state): Remove pagesize member. Change all users to use
61145 GLRO(dl_pagesize).
61146
61147 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61148 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
61149 is always initialized.
61150
61151 * malloc/malloc.c: Removed unused configurations and dead code.
61152 * malloc/arena.c: Likewise.
61153 * malloc/hooks.c: Likewise.
61154 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61155
61156 * include/tls.h: Removed. USE___THREAD must always be defined.
61157 * bits/libc-tsd.h: Don't handle !USE___THREAD.
61158 * elf/dl-libc.c: Likewise.
61159 * elf/dl-tsd.c: Likewise.
61160 * include/errno.h: Likewise.
61161 * include/netdb.h: Likewise.
61162 * include/resolv.h: Likewise.
61163 * inet/herrno-loc.c: Likewise.
61164 * inet/herrno.c: Likewise.
61165 * malloc/arena.c: Likewise.
61166 * malloc/hooks.c: Likewise.
61167 * malloc/malloc.c: Likewise.
61168 * resolv/res-state.c: Likewise.
61169 * resolv/res_libc.c: Likewise.
61170 * sysdeps/i386/dl-machine.h: Likewise.
61171 * sysdeps/ia64/dl-machine.h: Likewise.
61172 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61173 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61174 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61175 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61176 * sysdeps/sh/dl-machine.h: Likewise.
61177 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61178 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61179 * sysdeps/unix/i386/sysdep.S: Likewise.
61180 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61181 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61182 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61183 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61184 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61185 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61186 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61187 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61188 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61189 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61190 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61191 * sysdeps/x86_64/dl-machine.h: Likewise.
61192 * tls.make.c: Likewise.
61193
61194 * configure.in: Remove --with-__thread option. Make tests for
61195 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61196 tls_model attribute fail if no support is available. Remove
61197 USE_IN_LIBIO.
61198 * Makeconfig: Adjust for dropped configure option. All features are
61199 now mandatory.
61200 * Makerules: Likewise.
61201 * Versions.def: Likewise.
61202 * argp/argp-fmtstream.c: Likewise.
61203 * argp/argp-fmtstream.h: Likewise.
61204 * argp/argp-help.c: Likewise.
61205 * assert/assert.c: Likewise.
61206 * config.h.in: Likewise.
61207 * config.make.in: Likewise.
61208 * configure: Likewise.
61209 * configure.in: Likewise.
61210 * csu/Versions: Likewise.
61211 * csu/init.c: Likewise.
61212 * elf/tst-audit2.c: Likewise.
61213 * elf/tst-tls10.c: Likewise.
61214 * elf/tst-tls10.h: Likewise.
61215 * elf/tst-tls11.c: Likewise.
61216 * elf/tst-tls12.c: Likewise.
61217 * elf/tst-tls14.c: Likewise.
61218 * elf/tst-tlsmod11.c: Likewise.
61219 * elf/tst-tlsmod12.c: Likewise.
61220 * elf/tst-tlsmod13.c: Likewise.
61221 * elf/tst-tlsmod13a.c: Likewise.
61222 * elf/tst-tlsmod14a.c: Likewise.
61223 * elf/tst-tlsmod15b.c: Likewise.
61224 * elf/tst-tlsmod16a.c: Likewise.
61225 * elf/tst-tlsmod16b.c: Likewise.
61226 * elf/tst-tlsmod7.c: Likewise.
61227 * elf/tst-tlsmod8.c: Likewise.
61228 * elf/tst-tlsmod9.c: Likewise.
61229 * gmon/gmon.c: Likewise.
61230 * grp/fgetgrent_r.c: Likewise.
61231 * grp/putgrent.c: Likewise.
61232 * hurd/fopenport.c: Likewise.
61233 * include/libc-symbols.h: Likewise.
61234 * include/tls.h: Likewise.
61235 * intl/gettextP.h: Likewise.
61236 * intl/loadinfo.h: Likewise.
61237 * locale/global-locale.c: Likewise.
61238 * locale/localeinfo.h: Likewise.
61239 * mach/devstream.c: Likewise.
61240 * malloc/arena.c: Likewise.
61241 * malloc/set-freeres.c: Likewise.
61242 * misc/err.c: Likewise.
61243 * misc/getttyent.c: Likewise.
61244 * misc/mntent_r.c: Likewise.
61245 * posix/getopt.c: Likewise.
61246 * posix/wordexp.c: Likewise.
61247 * pwd/fgetpwent_r.c: Likewise.
61248 * resolv/Versions: Likewise.
61249 * resolv/res_hconf.c: Likewise.
61250 * shadow/fgetspent_r.c: Likewise.
61251 * shadow/putspent.c: Likewise.
61252 * stdio-common/printf_fphex.c: Likewise.
61253 * stdio-common/tmpfile.c: Likewise.
61254 * stdlib/abort.c: Likewise.
61255 * stdlib/fmtmsg.c: Likewise.
61256 * sunrpc/auth_unix.c: Likewise.
61257 * sunrpc/clnt_perr.c: Likewise.
61258 * sunrpc/clnt_tcp.c: Likewise.
61259 * sunrpc/clnt_udp.c: Likewise.
61260 * sunrpc/clnt_unix.c: Likewise.
61261 * sunrpc/openchild.c: Likewise.
61262 * sunrpc/svc_simple.c: Likewise.
61263 * sunrpc/svc_tcp.c: Likewise.
61264 * sunrpc/svc_udp.c: Likewise.
61265 * sunrpc/svc_unix.c: Likewise.
61266 * sunrpc/xdr.c: Likewise.
61267 * sunrpc/xdr_array.c: Likewise.
61268 * sunrpc/xdr_rec.c: Likewise.
61269 * sunrpc/xdr_ref.c: Likewise.
61270 * sunrpc/xdr_stdio.c: Likewise.
61271
61272 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61273
61274 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61275
61276 2011-07-03 Andreas Jaeger <aj@suse.de>
61277
61278 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61279 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61280 regenerate with gen-libm-tests.pl.
61281
61282 2010-05-12 Petr Baudis <pasky@suse.cz>
61283
61284 [BZ #11589]
61285 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61286 around j0() zero points by switching to j1().
61287 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61288 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61289 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61290 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61291
61292 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61293
61294 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61295 instead of 0.
61296 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61297 instead of 0.
61298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61299 Patch in part by Pavel Roskin <proski@gnu.org>.
61300
61301 [BZ #13138]
61302 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61303 realloc.
61304 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61305 Free memory block if necessary.
61306
61307 [BZ #12847]
61308 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61309 be NULL. Don't lock in this case.
61310
61311 2011-09-09 Roland McGrath <roland@hack.frob.com>
61312
61313 * elf/elf.h (ELFOSABI_GNU): New macro.
61314 (ELFOSABI_LINUX): Define to that.
61315
61316 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61317
61318 * string/strncat.c (strncat): Undef the symbol in case it has been
61319 defined in bits/string.h.
61320
61321 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61322
61323 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61324
61325 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61326 link map.
61327
61328 2011-08-17 Andreas Jaeger <aj@suse.de>
61329
61330 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61331
61332 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61333 Ian Lance Taylor <iant@google.com>
61334
61335 * math/libm-test.inc (lround_test): New testcase.
61336 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61337
61338 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61339
61340 * Makefile: Remove support for automatic cvs check-ins.
61341 * Makerules: Likewise.
61342 * config.make.in: Likewise.
61343 * configure.in: Likewise.
61344 * intl/Makefile: Likewise.
61345 * locale/Makefile: Likewise.
61346 * po/Makefile: Likewise.
61347 * posix/Makefile: Likewise.
61348 * sysdeps/gnu/Makefile: Likewise.
61349 * sysdeps/mach/hurd/Makefile: Likewise.
61350 * sysdeps/sparc/sparc32/Makefile: Likewise.
61351
61352 [BZ #13118]
61353 * posix/Makefile (bug-regex32-ENV): Define.
61354 Patch by John Stanley <jpsinthemix@verizon.net>.
61355
61356 * misc/Makefile (headers): Add bits/select2.h.
61357 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61358 * misc/bits/select2.h: New file.
61359 * include/bits/select2.h: New file.
61360 * debug/Makefile (routines): Add fdelt_chk.
61361 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61362 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61363 FD_ISSET.
61364 * debug/fdelt_chk.c: New file.
61365
61366 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61367 * wcsmbs/test-wmemcmp.c: Likewise.
61368 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61369 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61370
61371 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61372
61373 * string/Makefile (strop-tests): Add memcmp.
61374 * string/test-wmemcmp.c: New file.
61375 * string/test-memcmp.c: Add wmemcmp support.
61376
61377 2011-09-08 Roland McGrath <roland@hack.frob.com>
61378
61379 [BZ #13153]
61380 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61381 2011-07-19 change.
61382
61383 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61384 garbage value in a __mach_port_mod_refs call in the cases of the
61385 task-self and thread-self ports.
61386
61387 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61388
61389 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61390
61391 2011-09-08 Andreas Schwab <schwab@redhat.com>
61392
61393 * elf/dl-load.c (lose): Check for non-null L.
61394
61395 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61396
61397 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61398
61399 * elf/dl-libc.c (dlerror_run): Pass back error code from
61400 dl_catch_error.
61401
61402 [BZ #13123]
61403 * elf/dl-load.c (lose): Free l_origin if it is valid.
61404
61405 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61406 names.
61407 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61408 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61409 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61410 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61411 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61412 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61413
61414 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61415
61416 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61417 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61418 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61419 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61420 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61421 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61422 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61423 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61424 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61425 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61426
61427 2011-08-15 Alan Modra <amodra@gmail.com>
61428
61429 [BZ #13092]
61430 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61431 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61432 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61433 ppc_mcount to static-only-routines.
61434 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61435 __mcount_internal.
61436 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61437 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61438
61439 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61440
61441 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61442 for finite and infinity parameters.
61443
61444 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61445
61446 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61447 and add nop instructions for throughput optimization.
61448 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61449
61450 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61451
61452 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61453 aligned copy for power7 with vector-scalar instructions.
61454 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61455
61456 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61457
61458 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61459 AVX check.
61460
61461 2011-09-07 Andreas Schwab <schwab@redhat.com>
61462
61463 [BZ #13144]
61464 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61465 last change.
61466
61467 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61468
61469 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61470 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61471 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61472 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61473 clock_gettime.
61474
61475 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61476
61477 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61478 Forgot to demangle the pointer.
61479
61480 * sysdeps/i386/sysdep.h: Define atom_text_section.
61481 * sysdeps/x86_64/sysdep.h: Likewise.
61482 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61483 section with atom_text_section.
61484 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61485 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61486 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61487 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61488 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61489
61490 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61491 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61492 already be defined. Change to take two parameters and don't assign
61493 result to variable. Adjust all users.
61494 Define INTERNAL_GETTIME if not already defined.
61495 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61496 call.
61497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61498 HAVE_CLOCK_GETTIME_VSYSCALL.
61499 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61500
61501 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61502 gettimeofday vsyscall, just use time.
61503
61504 2011-09-06 Andreas Schwab <schwab@redhat.com>
61505
61506 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61507 <errno.h>.
61508
61509 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61510
61511 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61512 syscall on x86-64.
61513 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61514 syscall.
61515 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61516 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61517 syscall if possible.
61518
61519 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61520
61521 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61522 e_ident. Don't pass to find_mapsXX.
61523 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61524
61525 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61526
61527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61528 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61529 * sysdeps/x86_64/multiarch/strchr.S: Update.
61530 Check bit_slow_BSF bit.
61531 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61532 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61533 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61534
61535 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61536
61537 [BZ #13134]
61538 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61539 before glibc 2.15.
61540 (tryshell): Define.
61541 (__spawni): Change last parameter to be flag. Test
61542 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61543 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61544 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61545 * posix/spawni.c: Likewise.
61546 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61547 * posix/spawnp.c: Likewise. Change normal version to use
61548 SPAWN_XFLAGS_USE_PATH.
61549 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61550 SPAWN_XFLAGS_TRY_SHELL.
61551
61552 [BZ #13150]
61553 * posix/glob.h: Remove gcc 1.x support.
61554
61555 [BZ #13068]
61556 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61557
61558 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61559
61560 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61561 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61562 strrchr-sse2-bsf
61563 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61564 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61565 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61566 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61567 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61568 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61569
61570 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61571
61572 * sysdeps/x86_64/wcscmp.S: New file.
61573
61574 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61575 wcscmp-c wcscmp-sse2
61576 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61577 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61578 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61579 * wcsmbs/wcscmp.c: Allow renaming.
61580
61581 2011-09-05 David S. Miller <davem@davemloft.net>
61582
61583 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61584 stack slot, rather than the struct return pointer slot.
61585 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61586 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61588 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61589
61590 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61591
61592 * po/ja.po: Update from translation team.
61593
61594 [BZ #13144]
61595 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61596 kernel in 64-bit binaries.
61597
61598 2011-09-01 David S. Miller <davem@davemloft.net>
61599
61600 * elf/elf.h (HWCAP_SPARC_*): Move to..
61601 * sysdeps/sparc/sysdep.h: this new file and add new values.
61602 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61603 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61604 _DL_HWCAP_COUNT to 24.
61605 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61606 entries.
61607 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61608 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61609 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61610 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61611 instead of magic constants.
61612 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61613
61614 2011-08-31 David S. Miller <davem@davemloft.net>
61615
61616 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61618 Reimplement to do errno handling inline.
61619 (SYSCALL_ERROR_HANDLER): New macro.
61620 (__SYSCALL_STRING): Do not do errno handling in asm.
61621 (__CLONE_SYSCALL_STRING): Delete.
61622 (__INTERNAL_SYSCALL_STRING): Delete.
61623 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61624 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61625 (PSEUDO): Reimplement to do errno handling inline.
61626 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61627 (SYSCALL_ERROR_HANDLER): New macro.
61628 (__SYSCALL_STRING): Do not do errno handling in asm.
61629 (__CLONE_SYSCALL_STRING): Delete.
61630 (__INTERNAL_SYSCALL_STRING): Delete.
61631 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61632 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61633 i386.
61634 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61635 (inline_syscall*): Add 'err' argument.
61636 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61637 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61638 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61639 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61640
61641 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61642 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61643
61644 2011-08-30 Andreas Schwab <schwab@redhat.com>
61645
61646 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61647
61648 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61649
61650 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61651 directive.
61652
61653 2011-08-24 David S. Miller <davem@davemloft.net>
61654
61655 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61656
61657 2011-08-24 Andreas Schwab <schwab@redhat.com>
61658
61659 * elf/Makefile: Add rules to build and run unload8 test.
61660 * elf/unload8.c: New file.
61661 * elf/unload8mod1.c: New file.
61662 * elf/unload8mod1x.c: New file.
61663 * elf/unload8mod2.c: New file.
61664 * elf/unload8mod3.c: New file.
61665
61666 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61667 it wasn't used.
61668
61669 2011-08-23 David S. Miller <davem@davemloft.net>
61670
61671 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61672 subtract stack bias.
61673 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61674 %sp not %fp in calculations.
61675 (_JMPBUF_UNWINDS_ADJ): Likewise.
61676
61677 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61678 (aio_suspend): Call it to force an exception region around the
61679 AIO_MISC_WAIT() invocation.
61680
61681 2011-08-23 Andreas Schwab <schwab@redhat.com>
61682
61683 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61684 backslash.
61685
61686 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61687
61688 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61689 protection macro.
61690 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61691 and <dl-machine.h>.
61692 (Elf64_FuncDesc): Remove.
61693
61694 2011-08-22 David S. Miller <davem@davemloft.net>
61695
61696 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61697 sigaltstack check, add missing cfi directives.
61698 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61699 missing cfi directives, and sigaltstack handling.
61700
61701 2011-08-16 Andreas Schwab <schwab@redhat.com>
61702
61703 [BZ #11724]
61704 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61705 object is seen twice.
61706 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61707
61708 * elf/Makefile (distribute): Add tst-initorder2.c.
61709 (tests): Add tst-initorder2.
61710 (modules-names): Add tst-initorder2a tst-initorder2b
61711 tst-initorder2c tst-initorder2d. Add rules to build them.
61712 ($(objpfx)tst-initorder2.out): New rule.
61713 * elf/tst-initorder2.c: New file.
61714 * elf/tst-initorder2.exp: New file.
61715
61716 2011-08-22 Andreas Schwab <schwab@redhat.com>
61717
61718 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61719
61720 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61721 dependencies back to end of function.
61722
61723 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61724 $(elfobjdir)/ld.so.
61725
61726 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61727
61728 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61729 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61730 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61731 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61732 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61733 of __vdso_gettimeofday.
61734 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61735 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61736 attribute_hidden.
61737 (_libc_vdso_platform_setup): Remove initialization of
61738 __vdso_gettimeofday and __vdso_time.
61739
61740 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61741
61742 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61743 and fgetc_unlocked.
61744 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61745 getc_unlocked.
61746
61747 * elf/dl-open.c (add_to_global): Report additions to the global scope
61748 for LD_DEBUG=scopes.
61749 (dl_open_worker): Also print scope of newly loaded dependencies.
61750 (_dl_show_scope): Indicate if there is no scope.
61751
61752 [BZ #13114]
61753 * stdio-common/Makefile (tests): Add bug24.
61754 * stdio-common/bug24.c: New file.
61755
61756 2011-08-19 Andreas Jaeger <aj@suse.de>
61757
61758 [BZ #13114]
61759 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61760 non-existant file when using close-on-exec mode.
61761
61762 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61763
61764 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61765 the very first instruction.
61766
61767 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61768 the CFI state in the end.
61769 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61770 inclusion of dl-trampoline.h.
61771 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61772
61773 2011-08-19 Andreas Schwab <schwab@redhat.com>
61774
61775 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61776 expectations for long double.
61777
61778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61779 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61780
61781 2011-08-14 David S. Miller <davem@davemloft.net>
61782
61783 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61784 artificual limit depends upon the system page size.
61785
61786 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61787
61788 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61789 * resolv/Makefile: Define CFLAGS-libresolv.
61790
61791 2011-08-17 Andreas Schwab <schwab@redhat.com>
61792
61793 * nss/makedb.c (compute_tables): Make variables used in nested
61794 function static.
61795
61796 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61797
61798 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61799 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61800 if buffer was too small.
61801
61802 * elf/pldd.c (main): Attach to all threads in the process.
61803 Rewrite /proc handling to use *at functions.
61804
61805 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61806
61807 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61808 specifies first scope to show.
61809 (dl_open_worker): Update callers. Move printing scope of new
61810 object to before the relocation.
61811 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61812 * sysdeps/generic/ldsodefs.h: Update declaration.
61813
61814 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61815 string for the scope number.
61816
61817 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61818
61819 * nscd/servicescache.c (cache_addserv): Make sure written is always
61820 initialized.
61821
61822 2011-08-14 Roland McGrath <roland@hack.frob.com>
61823
61824 * sysdeps/i386/i486/bits/atomic.h
61825 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61826 statement expression, so as to suppress "set but not used" warning.
61827 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61828
61829 * string/strncat.c (STRNCAT): Use prototype definition.
61830
61831 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61832 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61833 -Iprograms here.
61834 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61835 (localedef-modules): Add localedef.
61836 (locale-modules): Add locale.
61837
61838 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61839 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61840 to avoid a warning.
61841
61842 2011-08-14 David S. Miller <davem@davemloft.net>
61843
61844 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61845 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61846
61847 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61848
61849 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61850 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61851 * elf/rtld.c (dl_main): Set l_name of vDSO.
61852 Call _dl_show_scope when DL_DEBUG_SCOPES.
61853 (process_dl_debug): Recognize scopes flag and also set it for all.
61854 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61855 Declare _dl_show_scope.
61856
61857 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61858 (do_dlopen): Pass caller_dlopen to dl_open.
61859 (__libc_dlopen_mode): Initialize caller_dlopen.
61860
61861 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61862 of libc. Make tolower call locale-independent. Optimize a bit by
61863 using isdigit instead of isalnum.
61864 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61865
61866 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61867
61868 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61869 was a dependency or dynamically loaded.
61870
61871 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61872
61873 * intl/l10nflist.c: Allow architecture-specific pop function.
61874 * sysdeps/x86_64/l10nflist.c: New file.
61875
61876 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61877 classification.
61878
61879 2011-08-10 Andreas Schwab <schwab@redhat.com>
61880
61881 * include/dirent.h: Add libc_hidden_proto for scandirat and
61882 scandirat64. Don't declare __scandirat64.
61883 * dirent/scandirat.c: Add libc_hidden_def.
61884 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61885 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61886
61887 2011-08-10 David S. Miller <davem@davemloft.net>
61888
61889 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61890 enum.
61891 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61892 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61893 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61894
61895 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61896
61897 * Versions.def [libc]: Add GLIBC_2.15.
61898 * dirent/Makefile (routines): Add scandirat and scandirat64.
61899 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61900 GLIBC_2.15.
61901 * dirent/dirent.h: Declare scandirat and scandirat64.
61902 * dirent/scandirat.c: New file.
61903 * dirent/scandirat64.c: New file.
61904 * sysdeps/wordsize-64/scandirat.c: New file.
61905 * sysdeps/wordsize-64/scandirat64.c: New file.
61906 * dirent/opendir.c: Define opendirat.
61907 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61908 using scandirat.
61909 * dirent/scandir64.c: Adjust for scandir.c change.
61910 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61911 __scandirat64, and __scandir_cancel_handler.
61912 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61913 additional parameter and use openat instead of open (outside of ld.so).
61914 Add new __opendir as wrapper around __opendirat.
61915 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61916 here without requiring old scandirat implementation.
61917
61918 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61919
61920 * dirent/scandir.c (cancel_handler): Renamed to
61921 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61922 defined. Adjust users.
61923 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61924 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61925
61926 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61927
61928 * string/test-string.h (IMPL): Use __STRING to expand name and then
61929 stringify it.
61930
61931 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61932 of cleanups.
61933
61934 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61935
61936 * string/Makefile: Update.
61937 (strop-tests): Append strncat.
61938 * string/test-wcscmp.c: New file.
61939 New comprehensive test for wcscmp.
61940 * string/test-strcmp.c: Update.
61941 (WIDE): New define.
61942
61943 2011-07-22 Andreas Schwab <schwab@redhat.com>
61944
61945 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61946 line.
61947
61948 2011-07-26 Andreas Schwab <schwab@redhat.com>
61949
61950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61951 encoding to ACE if AI_IDN.
61952
61953 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61954
61955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61956 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61957
61958 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61959
61960 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61961 Fix overflow bug in strncat.
61962 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61963
61964 * string/test-strncat.c: Update.
61965 Add new tests for checking overflow bugs.
61966
61967 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61968
61969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61970 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61971 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61972 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61973 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61974 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61975 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61976 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61977 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61978
61979 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61980 (USE_AS_STRCAT): Define.
61981 Add strcat and strncat support.
61982 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61983
61984 2011-07-25 Andreas Schwab <schwab@redhat.com>
61985
61986 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61987 __n bigger than INT_MAX+1.
61988 (__strncmp_g): Likewise.
61989
61990 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61991
61992 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61993 * libio/stido.h: Likewise.
61994
61995 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61996 (AF_NFC): Define.
61997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61998 (AF_NFC): Define.
61999
62000 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62001 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62002 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62003 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62004 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62005
62006 [BZ #13021]
62007 * scripts/test-installation.pl: Don't expect libnss_test1 to be
62008 installed.
62009
62010 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62011 typo.
62012 (_dl_x86_64_save_sse): Likewise.
62013
62014 2011-07-22 Ulrich Drepper <drepper@gmail.com>
62015
62016 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62017 OSXSAVE.
62018 (_dl_x86_64_save_sse): Likewise.
62019
62020 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62021
62022 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62023
62024 2011-07-21 Andreas Schwab <schwab@redhat.com>
62025
62026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62027 change.
62028 (_dl_x86_64_save_sse): Use correct AVX check.
62029
62030 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62031
62032 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62033 bug in strncpy/strncat.
62034 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62035
62036 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62037
62038 * string/tester.c (test_strcat): Add tests for different alignments
62039 of source and destination.
62040 (test_strncat): Likewise.
62041
62042 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62043
62044 [BZ #12852]
62045 * posix/glob.c (glob): Check passed in values before using them in
62046 expressions to avoid some overflows.
62047 (glob_in_dir): Likewise.
62048
62049 [BZ #13007]
62050 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62051 check for AVX enablement so that we don't crash with old kernels and
62052 new hardware.
62053 * elf/tst-audit4.c: Add same checks here.
62054 * elf/tst-audit6.c: Likewise.
62055
62056 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62057
62058 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62059
62060 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62061
62062 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62063
62064 * po/cs.po: Update from translation team.
62065 * po/bg.po: Likewise.
62066
62067 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62068
62069 * misc/sys/cdefs.h: Add support for const attribute.
62070 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62071 to gnu_dev_{major,minor,makedev} functions.
62072
62073 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62074
62075 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62076
62077 2011-07-20 Andreas Schwab <schwab@redhat.com>
62078
62079 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62080 strlen results.
62081
62082 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62083
62084 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62085 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62086 register in order to avoid conflicts with the soft frame pointer
62087 being held in r11 when necessary.
62088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62089 (INTERNAL_VSYSCALL_NCS): Likewise.
62090
62091 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62092
62093 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62094 * elf/dl-fini.c (_dl_fini): Adjust caller.
62095 * elf/dl-close.c (_dl_close_worker): Likewise.
62096 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62097
62098 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62099
62100 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62101 "aux_cache->nlibs < 0".
62102
62103 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62104 in the reload-count case.
62105
62106 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62107
62108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62109 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62110 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62111 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62112 * sysdeps/x86_64/multiarch/strcat.S: New file.
62113 * sysdeps/x86_64/multiarch/strncat.S: New file.
62114 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62115 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62116 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62117 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62118 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62119 (USE_AS_STRCAT): Define.
62120 Add strcat and strncat support.
62121 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62122 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62123 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62124 * string/strncat.c: Update.
62125 (USE_AS_STRNCAT): Define.
62126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62127 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62128 and i7.
62129 * sysdeps/x86_64/multiarch/init-arch.h
62130 (bit_Prefer_PMINUB_for_stringop): New.
62131 (index_Prefer_PMINUB_for_stringop): Likewise.
62132 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62133 bit_Prefer_PMINUB_for_stringop.
62134
62135 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62136
62137 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62138 buffer64.
62139 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62140 of casting of buffer.
62141 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62142 buffer32 and buffer64.
62143 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62144 writes instead of casting of buffer.
62145 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62146 buffer32.
62147 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62148 casting of buffer.
62149
62150 2011-07-19 Andreas Schwab <schwab@redhat.com>
62151
62152 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62153
62154 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62155
62156 * nscd/nscd.c (termination_handler): Don't do anything for a database
62157 if it has not yet been initialized.
62158
62159 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62160
62161 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62162
62163 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62164
62165 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62166
62167 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62168
62169 * po/nl.po: Update from translation team.
62170 * po/sv.po: Likewise.
62171
62172 2011-07-16 Roland McGrath <roland@hack.frob.com>
62173
62174 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62175 now disallowed by GCC.
62176
62177 * configure.in (use-default-link): Default to yes if a test -shared
62178 link meets our qualifications.
62179 * configure: Regenerated.
62180
62181 * config.make.in (output-format): New variable.
62182 * configure.in: Check for ld --print-output-format support.
62183 * configure: Regenerated.
62184 * Makerules ($(common-objpfx)format.lds)
62185 [$(output-format) != unknown]: Just use $(output-format),
62186 instead of the linker-script munging.
62187
62188 2011-07-14 Roland McGrath <roland@hack.frob.com>
62189
62190 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62191 of $(common-objpfx)shlib.lds.
62192 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62193
62194 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62195 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62196
62197 * configure.in (-z relro check): Adjust test code to add a large
62198 writable data section after it.
62199 * configure: Regenerated.
62200
62201 2011-07-11 Roland McGrath <roland@hack.frob.com>
62202
62203 * configure.in (-z relro check): Fix test code to make the variable
62204 truly const.
62205 * configure: Regenerated.
62206
62207 2011-07-11 Ulrich Drepper <drepper@gmail.com>
62208
62209 * nscd/nscd.h (struct traced_file): Define.
62210 (struct database_dyn): Remove inotify_descr, reset_res, and filename
62211 elements. Add traced_files.
62212 (inotify_fd): Declare.
62213 (register_traced_file): Declare.
62214 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62215 (inotify_fd): Export.
62216 (resolv_conf_descr): Remove.
62217 (nscd_init): Move inotify descriptor creation to main.
62218 Don't register files for notification here.
62219 (register_traced_file): New function.
62220 (invalidate_cache): Don't use reset_res to determine whether to call
62221 res_init, go through the list of registered files.
62222 (main_loop_poll): The inotify descriptors are now stored in the
62223 structures for the traced files.
62224 (main_loop_epoll): Likewise
62225 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62226 to __nss_disable_nscd.
62227 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62228 for a database anymore. Check the records for all the registered
62229 files instead.
62230 * nss/Makefile (libnss_files-routines): Add files-init.
62231 (libnss_db-routines): Add db-init.
62232 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62233 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62234 * nss/nss_db/db-init.c: New file.
62235 * nss/nss_files/files-init.c: New file.
62236 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62237 __nss_lookup_function.
62238 (__nss_lookup_function): Call nss_load_library.
62239 (nss_load_all_libraries): New function.
62240 (__nss_disable_nscd): Take parameter with callback function for files
62241 to register. Set is_nscd. Load all the DSOs for the NSS modules
62242 used for the cached services.
62243 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62244 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62245 options for features to all the files in nscd.
62246
62247 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62248
62249 2011-07-10 Roland McGrath <roland@hack.frob.com>
62250
62251 * csu/elf-init.c (__libc_csu_init): Comment typo.
62252
62253 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62254
62255 * po/pl.po: Update from translation team.
62256 * po/ja.po: Likewise.
62257 * po/ru.po: Likewise.
62258 * po/ko.po: Likewise.
62259 * po/fr.po: Likewise.
62260
62261 2011-07-09 Roland McGrath <roland@hack.frob.com>
62262
62263 * configure.in (.ctors/.dtors header and trailer check):
62264 Use an empirical test on a built program.
62265 * configure: Regenerated.
62266
62267 * configure.in (-z relro check): Use an empirical test on a built DSO.
62268 Detect, but do not require, on ia64.
62269 * configure: Regenerated.
62270
62271 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62272 Update tests that use readelf to use $READELF instead.
62273 * configure: Regenerated.
62274
62275 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62276
62277 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62278 if the result is not used.
62279
62280 2011-07-05 Andreas Jaeger <aj@suse.de>
62281
62282 [BZ#9696]
62283 * stdlib/tst-strtod.c: Add testcase.
62284
62285 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62286
62287 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62288 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62289 The latter has a higher limit. Take additional parameter to pass to
62290 the new function.
62291 (__pathconf): Pass file to __statfs_link_max.
62292 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62293 __statfs_link_max.
62294 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62295 __statfs_link_max.
62296
62297 [BZ #12868]
62298 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62299 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62300 Handle Lustre.
62301 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62302 (__statfs_filesize_max): Likewise.
62303 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62304
62305 2011-07-05 Andreas Jaeger <aj@suse.de>
62306
62307 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62308
62309 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62310
62311 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62312 `status' variable.
62313 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62314 Likewise.
62315
62316 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62317
62318 * Makefile (strop-tests): Add strncat.
62319 * string/test-strncat.c: New file.
62320
62321 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62322
62323 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62324
62325 2011-06-21 Andreas Jaeger <aj@suse.de>
62326
62327 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62328 Copy rule from iconvdata/Makefile.
62329
62330 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62331
62332 [BZ #12922]
62333 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62334 but no long options are defined, just return 'W'.
62335
62336 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62337
62338 [BZ #9696]
62339 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62340
62341 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62342
62343 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62344 netgroups to read.
62345 (innetgr): Likewise.
62346
62347 2011-07-05 Roland McGrath <roland@hack.frob.com>
62348
62349 * config.make.in (install_root): Default to $(DESTDIR).
62350
62351 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62352
62353 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62354
62355 2011-07-02 Roland McGrath <roland@hack.frob.com>
62356
62357 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62358
62359 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62360 containing directory rather than embedding absolute directory names.
62361
62362 * scripts/check-local-headers.sh: Rewritten using awk.
62363 Match by word, not by line. Print error messages for matches.
62364 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62365
62366 * Makerules [shlib-lds-flags empty]:
62367 ($(common-objpfx)libc_pic.opts): New target.
62368 ($(common-objpfx)libc_pic.os.clean): New target.
62369 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62370
62371 * config.make.in (OBJCOPY): New variable.
62372 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62373 * configure: Regenerated.
62374
62375 * config.make.in (use-default-link): New variable.
62376 * configure.in (use_default_link): Grok --with-default-link to set it.
62377 * configure: Regenerated.
62378 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62379 (shlib-lds, shlib-lds-flags): Define to empty.
62380
62381 * Makerules (shlib-lds): New variable.
62382 (shlib-lds-flags): New variable.
62383 (build-shlib, build-moduile, build-module-asneeded): Use it.
62384 ($(common-objpfx)libc.so): Use $(shlib-lds).
62385 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62386 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62387
62388 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62389 DT_FLAGS/DT_FLAGS_1 with zero flags.
62390
62391 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62392 linker script munging.
62393
62394 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62395
62396 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62397 as 128-bit value.
62398 * crypt/sha512.c (sha512_process_block): Perform total addition using
62399 128-bit if possible.
62400 (__sha512_finish_ctx): Likewise.
62401 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62402 as 64-bit value.
62403 * crypt/sha256.c (SWAP64): Define.
62404 (sha256_process_block): Perform total addition using 64-bit if
62405 possible.
62406 (__sha256_finish_ctx): Likewise.
62407
62408 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62409
62410 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62411 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62412 * nscd/hstcache.c (cache_addhst): Likewise.
62413 * nscd/grpcache.c (cache_addgr): Likewise.
62414 * nscd/aicache.c (addhstaiX): Likewise
62415 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62416
62417 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62418
62419 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62420 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62421 * nscd/hstcache.c (cache_addhst): Likewise.
62422 * nscd/grpcache.c (cache_addgr): Likewise.
62423 * nscd/aicache.c (addhstaiX): Likewise
62424
62425 2011-07-01 Andreas Schwab <schwab@redhat.com>
62426
62427 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62428 domain only when needed.
62429
62430 2011-06-30 Andreas Schwab <schwab@redhat.com>
62431
62432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62433 is always restored.
62434
62435 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62436
62437 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62438 are re-adding the entry.
62439 * nscd/servicescache.c (cache_addserv): Likewise.
62440
62441 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62442
62443 * sysdeps/generic/dl-irel.h: fix protection against multiple
62444 inclusions.
62445 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62446
62447 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62448
62449 [BZ #12935]
62450 * malloc/memusage.sh: Fix quoting in message.
62451 * debug/xtrace.sh: Likewise.
62452
62453 * configure.in: Remove support for --experimental-malloc option, make
62454 it the default.
62455 * config.make.in: Likewise.
62456 * malloc/Makefile: Likewise.
62457
62458 2011-06-27 Andreas Schwab <schwab@redhat.com>
62459
62460 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62461 two-byte characters.
62462
62463 2011-06-27 Roland McGrath <roland@hack.frob.com>
62464
62465 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62466 AC_CACHE_CHECK invocation.
62467 * configure: Regenerated.
62468
62469 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62470
62471 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62472
62473 [BZ #12350]
62474 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62475 bit from old_res_options.
62476
62477 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62478
62479 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62480 value type for setfct.
62481
62482 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62483
62484 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62485 __gettimeofday instead of gettimeofday.
62486
62487 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62488
62489 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62490
62491 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62492
62493 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62494
62495 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62496 info.
62497
62498 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62499
62500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62501 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62502 strcpy-sse2-unaligned strncpy-sse2-unaligned
62503 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62504 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62505 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62506 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62507 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62508 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62509 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62510 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62511 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62512 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62513 (STRCPY): Support SSE2 and SSSE3 versions.
62514
62515 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62516
62517 [BZ #12874]
62518 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62519 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62520 kernels which artificially limit size of requests.
62521
62522 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62523
62524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62525 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62526 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62527 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62528 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62529 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62530 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62531 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62532 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62534 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62535 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62536 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62537 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62538 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62540 Enable unaligned load optimization for Intel Core i3, i5 and i7
62541 processors.
62542 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62543 Define.
62544 (index_Fast_Unaligned_Load): Define.
62545 (HAS_FAST_UNALIGNED_LOAD): Define.
62546
62547 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62548
62549 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62550
62551 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62552
62553 [BZ #12907]
62554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62555 until it is clear that the information is realy needed.
62556 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62557
62558 2011-06-22 Andreas Schwab <schwab@redhat.com>
62559
62560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62561
62562 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62563
62564 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62565 /sys/devices/system/cpu/online if it is usable.
62566
62567 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62568 reading the information from the /proc filesystem to once a second.
62569
62570 2011-06-21 Andreas Jaeger <aj@suse.de>
62571
62572 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62573 NULL after inclusion of kernel headers.
62574
62575 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62576
62577 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62578 calls to internal_setent.
62579
62580 [BZ #12885]
62581 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62582 addresses using gethostbyname4_r ignore IPv4 addresses.
62583
62584 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62585 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62586
62587 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62588
62589 2011-06-20 David S. Miller <davem@davemloft.net>
62590
62591 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62592 inclusions.
62593 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62594
62595 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62596 (elf_irel): Use it.
62597 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62598 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62599 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62600 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62601 * sysdeps/x86_64/dl-irel.h: Likewise.
62602
62603 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62604 * elf/dl-sym.c: Likewise.
62605
62606 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62607
62608 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62609 need to dereference resplen2.
62610
62611 2011-06-14 Andreas Schwab <schwab@redhat.com>
62612
62613 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62614
62615 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62616
62617 * Makeconfig: Define vardbdir and inst_vardbdir.
62618 * nss/Makefile: Add rules to install db-Makefile.
62619
62620 * nss/nss_db/db-XXX.c: Cleanup.
62621
62622 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62623 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62624 GLIBC_PRIVATE.
62625 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62626 * nss/makedb.c: Implement -g option to specify that value strings
62627 are generated and should not be added to table iterated over for
62628 get*ent calls.
62629 * nss/nss_db/db-initgroups.c: New file.
62630
62631 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62632 interface.
62633
62634 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62635 (internal_getgrouplist): Adjust to name change.
62636 Update use_initgroups_entry if this is not the first call.
62637 * nss/databases.def: Add initgroups entry.
62638
62639 * nss/makedb.c (compute_tables): Check result of multiple hash table
62640 sizes to minimize maximum chain length.
62641
62642 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62643
62644 * Versions.def: Add entry for libnss_db.
62645 * shlib-versions: Likewise.
62646 * nss/Makefile: Add rules to build libnss_db.
62647 * nss/Versions: Add libnss_db information. Organize libnss_files
62648 entries better.
62649 * nss/db-Makefile: Add gshadow support. Change rules for the new
62650 makedb progra. Some minor improvements to generate smaller files.
62651 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62652 here from...
62653 * nss/makedb.c: ...here.
62654 Improve database format to be smaller and require less memory at
62655 runtime.
62656 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62657 db anymore.
62658 * nss/nss_db/db-netgrp.c: Likewise.
62659 * nss/nss_db/db-open.c: Likewise.
62660 * nss/nss_files/flies-XXX.x: Adjust comments.
62661 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62662 * nss/nss_files/files-grp.c: Likewise.
62663 * nss/nss_files/files-hosts.c: Likewise.
62664 * nss/nss_files/files-network.c: Likewise.
62665 * nss/nss_files/files-proto.c: Likewise.
62666 * nss/nss_files/files-pwd.c: Likewise.
62667 * nss/nss_files/files-rpc.c: Likewise.
62668 * nss/nss_files/files-service.c: Likewise.
62669 * nss/nss_files/files-sgrp.c: Likewise.
62670 * nss/nss_files/files-spwd.c: Likewise.
62671 * nss/nss_db/db-alias.c: Removed.
62672 * nss/nss_db/dummy-db.h: Removed.
62673
62674 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62675
62676 * nss/makedb.c: Rewritten to not use database library.
62677 * nss/Makefile: Update to build new makedb program.
62678
62679 2011-06-14 Andreas Jaeger <aj@suse.de>
62680
62681 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62682 memset declaration.
62683
62684 2011-06-10 Andreas Schwab <schwab@redhat.com>
62685
62686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62687 tmpbuf.
62688
62689 2011-06-10 Roland McGrath <roland@hack.frob.com>
62690
62691 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62692 * elf/Makefile ($(objpfx)ld.so): Likewise.
62693
62694 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62695 Don't list ld.so twice in dependencies.
62696
62697 * posix/bug-regex31.c: Include <stdlib.h>.
62698
62699 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62700
62701 * nis/nss_compat/compat-spwd.c
62702 (getspent_next_nss_netgr): Remove unused variable.
62703 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62704
62705 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62706 nonmembers" output to use the right array.
62707
62708 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62709
62710 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62711
62712 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62713 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62714 * catgets/gencat.c (read_input_file): Likewise.
62715 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62716
62717 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62718 variable definition inside #if's controlling its use.
62719
62720 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62721
62722 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62723
62724 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62725
62726 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62727 unreachable code.
62728
62729 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62730
62731 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62732 * configure: Regenerated.
62733
62734 * Makerules: Revert last change.
62735 * elf/Makefile: Likewise.
62736
62737 2011-06-09 Roland McGrath <roland@hack.frob.com>
62738
62739 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62740 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62741 (reloc-link): Likewise.
62742
62743 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62744
62745 * elf/Makefile: Add rules to build pldd.
62746 * elf/pldd.c: New file.
62747 * elf/pldd-xx.c: New file.
62748
62749 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62750
62751 * version.h: Update for 2.15 development version.
62752
62753 2011-06-07 David S. Miller <davem@davemloft.net>
62754
62755 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62756 ifuncs.
62757 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62758 elf_machine_lazy_rel): Likewise.
62759 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62761 elf_machine_lazy_rel): Likewise.
62762 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62763 dl_hwcap via passed in argument.
62764 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62765 Likewise.
62766
62767 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62768
62769 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62770
62771 2011-06-06 Roland McGrath <roland@hack.frob.com>
62772
62773 [BZ #12849]
62774 * manual/fdl-1.1.texi: New file, verbatim from:
62775 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62776 * manual/lgpl-2.1.texi: New file, verbatim from:
62777 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62778 * manual/Makefile (licenses): New variable, list those new file names.
62779 (texis): Use it.
62780 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62781
62782 * manual/fdl.texi: File removed.
62783 * manual/lesser.texi: File removed.
62784 * manual/libc.texinfo (Copying, Documentation License):
62785 Use new @include file names, put @appendix directive before @include.
62786
62787 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62788
62789 [BZ #12841]
62790 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62791 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62792 (mq_open): Add __NTH.
62793
62794 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62795
62796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62797 Assume Intel Core i3/i5/i7 processor if AVX is available.
62798
62799 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62800
62801 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62802 typo.
62803
62804 2011-05-31 Andreas Schwab <schwab@redhat.com>
62805
62806 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62807 memory. Use alloca_account. Fix memory leak when retrying.
62808
62809 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62810
62811 * version.h (RELEASE): Bump for 2.14 release.
62812 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62813
62814 * config.make.in (RANLIB): Remove entry.
62815
62816 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62817
62818 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62819 (libc.pot): Work around missing support for .ksh extension in xgettext.
62820
62821 [BZ #12684]
62822 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62823 if both request failed.
62824 (send_dg): In case of server errors clear resplen or *resplen2.
62825
62826 [BZ #12454]
62827 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62828 when there are multiple maps.
62829 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62830 (_dl_fini): Remove test here.
62831
62832 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62833
62834 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62835
62836 [BZ #12350]
62837 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62838 bit from old_res_options.
62839 (gaih_inet): Likewise.
62840
62841 [BZ #11099]
62842 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62843 as signed.
62844
62845 * resolv/res_init.c (res_setoptions): Make the code more compact.
62846
62847 [BZ #11558]
62848 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62849 set RES_USEVC.
62850
62851 [BZ #11634]
62852 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62853
62854 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62855
62856 [BZ #11781]
62857 * malloc/malloc.h: Declare malloc hook variables as volatile.
62858
62859 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62860 in last patch.
62861
62862 [BZ #11799]
62863 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62864 raise in the comment.
62865 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62866 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62867 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62868
62869 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62870
62871 [BZ #12811]
62872 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62873 grow the buffers more if it already has to be sufficient.
62874 (build_wcs_upper_buffer): Likewise.
62875 * posix/regexec.c (check_matching): Likewise.
62876 (clean_state_log_if_needed): Likewise.
62877 (extend_buffers): Don't enlarge buffers beyond size of the input
62878 buffer.
62879 Patches mostly by Emil Wojak <emil@wojak.eu>.
62880 * posix/bug-regex32.c: New file.
62881 * posix/Makefile (tests): Add bug-regex32.
62882
62883 * locale/findlocale.c (_nl_find_locale): Return right away if
62884 _nl_explode_name failed.
62885 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62886
62887 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62888
62889 * debug/xtrace.sh: Unify messages.
62890 * malloc/memusage.sh: Likewise.
62891
62892 [BZ #12813]
62893 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62894 time symbol from vDSO. Substitute with vsyscall if not available.
62895 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62896 __vdso_time.
62897
62898 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62899 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62900 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62901 Add sendmmsg and internal_sendmmsg.
62902 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62903 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62904 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62905
62906 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62907 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62908 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62909
62910 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62911
62912 [BZ #12813]
62913 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62914 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62915 available.
62916 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62917 __vdso_getcpu.
62918
62919 [BZ #12814]
62920 * iconvdata/Makefile (tests): Add bug-iconv9.
62921 * iconvdata/bug-iconv9.c: New file.
62922
62923 2011-05-27 Andreas Schwab <schwab@redhat.com>
62924
62925 [BZ #12814]
62926 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62927
62928 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62929
62930 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62931 (struct user_regs_struct): Change intcs field back to cs.
62932
62933 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62934
62935 * po/ja.po: Update from translation team.
62936
62937 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62938
62939 [BZ #12795]
62940 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62941 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62942
62943 2011-05-20 Andreas Schwab <schwab@redhat.com>
62944
62945 * stdlib/longlong.h: Update from GCC.
62946
62947 2011-05-23 Andreas Schwab <schwab@redhat.com>
62948
62949 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62950 parameter name.
62951 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62952 Add parameter name.
62953 (__sysconf): Pass it down.
62954
62955 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62956
62957 [BZ #12671]
62958 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62959 some situations.
62960 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62961 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62962 add in in __libc_use_alloca calls. Adjust callers.
62963 (glob): Use malloc in some situations.
62964
62965 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62966 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62967 pltexit.
62968
62969 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62970
62971 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62972 and CLOCK_BOOTTIME_ALARM.
62973
62974 [BZ #12782]
62975 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62976 is returned.
62977
62978 * string/_strerror.c (__strerror_r): Print negative errors as signed
62979 numbers.
62980
62981 [BZ #12777]
62982 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62983 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62984 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62985
62986 * configure.in: Fix typo in redirection and correct removal of test
62987 files in two cases.
62988
62989 [BZ #12788]
62990 * locale/setlocale.c (new_composite_name): Fix test to check for
62991 identical name of all categories.
62992
62993 [BZ #12792]
62994 * libio/filedoalloc.c (local_isatty): New function.
62995 (_IO_file_doallocate): Use local_isatty.
62996 * stdio-common/perror.c (perror): In case a new stream is used
62997 forward the stream error.
62998 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62999 error flag.
63000
63001 2011-05-20 Ulrich Drepper <drepper@gmail.com>
63002
63003 [BZ #11869]
63004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63005 alloca.
63006 * include/alloca.h (extend_alloca_account): Define.
63007
63008 [BZ #11857]
63009 * posix/regex.h: Fix comments with documentation of user-accessible
63010 fields after compilation and describe correct free'ing of pattern
63011 after re_compile_pattern.
63012 Patch by Reuben Thomas <rrt@sc3d.org>.
63013
63014 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
63015
63016 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63017 and -mno-altivec to prevent the compiler from using Altivec and/or
63018 VSX instructions when the corresponding registers are not available.
63019
63020 2011-05-19 Andreas Schwab <schwab@redhat.com>
63021
63022 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63023
63024 2011-05-19 Ulrich Drepper <drepper@gmail.com>
63025
63026 * libio/freopen.c (freopen): Use __dup2, not dup2.
63027 * libio/freopen64.c (freopen64): Likewise.
63028
63029 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63030
63031 [BZ #12775]
63032 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63033 * math/Makefile (tests): Add test-powl.
63034 (CFLAGS-test-powl.c): Define.
63035 * math/test-powl.c: New file.
63036
63037 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63038
63039 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63040
63041 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63042
63043 [BZ #11837]
63044 * iconvdata/gb18030.c: Update to GB18020-2005.
63045
63046 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63047
63048 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63049 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63050 Patch by Aharon Robbins <arnold@skeeve.com>.
63051
63052 [BZ #11892]
63053 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63054 on the stack.
63055
63056 [BZ #11895]
63057 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63058 through underflows.
63059
63060 [BZ #12766]
63061 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63062 point to strings before performing equality test for error_one_per_line
63063 mode.
63064
63065 [BZ #11697]
63066 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63067
63068 [BZ #11820]
63069 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63070 (struct user_fpregs_struct): Avoid __uint*_t types.
63071
63072 [BZ #6420]
63073 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63074 symbol info. Use it instead of calling _dl_addr locally.
63075 (lock_and_info): New function.
63076 (tr_freehook): Call lock_and_info and pass symbol info as additional
63077 parameter to tr_where.
63078 (tr_mallochook): Likewise.
63079 (tr_reallochook): Likewise.
63080 (tr_memalignhook): Likewise.
63081
63082 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63083 used and couldn't be at all thread-safe.
63084
63085 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63086
63087 * libio/freopen.c (freopen): Don't close old file descriptor
63088 before the new one is opened. Instead dup the new file descriptor
63089 to the old one after the new stream is created.
63090 * libio/freopen64.c (freopen64): Likewise.
63091 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63092 * libio/fileops.c (_IO_new_file_close_it): Handle new
63093 _IO_FLAGS2_NOCLOSE flag.
63094 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63095 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63096 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63097 _IO_FLAGS2_NOCLOSE flag.
63098 * include/unistd.h: Add hidden_proto for dup3.
63099 Define __have_dup3.
63100 * io/dup3.c: Define hidden symbol.
63101 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63102
63103 [BZ #7101]
63104 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63105 when an incomplete long option is used.
63106 * posix/tst-getopt_long1.c: New file.
63107 * posix/Makefile (tests): Add tst-getopt_long1.
63108
63109 [BZ #10138]
63110 * scripts/config.guess: Update from autoconf-2.68.
63111 * scripts/config.sub: Likewise.
63112
63113 [BZ #10157]
63114 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63115 tests into ...
63116 (has_cpuclock): ...this. New function.
63117 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63118 macro here based on has_cpuclock code.
63119
63120 [BZ #10149]
63121 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63122 First byte (not low byte) is now always NUL.
63123 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63124
63125 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63126 Use non-cancelable interfaces.
63127
63128 [BZ #9809]
63129 * locale/iso-639.def: Add entry for Sorani.
63130
63131 [BZ #11901]
63132 * include/stdlib.h: Move include protection to the right place.
63133 Define abort_msg_s. Declare __abort_msg with it.
63134 * stdlib/abort.c (__abort_msg): Adjust type.
63135 * assert/assert.c (__assert_fail_base): New function. Majority
63136 of code from __assert_fail. Allocate memory for __abort_msg with
63137 mmap.
63138 (__assert_fail): Now call __assert_fail_base.
63139 * assert/assert-perr.c: Remove bulk of implementation. Use
63140 __assert_fail_base.
63141 * include/assert.hL Declare __assert_fail_base.
63142 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63143 mmap.
63144 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63145
63146 2011-05-14 Ulrich Drepper <drepper@gmail.com>
63147
63148 [BZ #11952]
63149 [BZ #12453]
63150 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63151 until all modules are registered in the DTV.
63152 * elf/Makefile: Add rules to build and run tst-tls19.
63153 * elf/tst-tls19.c: New file.
63154 * elf/tst-tls19mod1.c: New file.
63155 * elf/tst-tls19mod2.c: New file.
63156 * elf/tst-tls19mod3.c: New file.
63157 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63158
63159 [BZ #12083]
63160 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63161 correctly.
63162
63163 [BZ #12601]
63164 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63165 two-byte sequence errors.
63166 * iconvdata/Makefile (tests): Add bug-iconv8.
63167 * iconvdata/bug-iconv8.c: New file.
63168
63169 [BZ #12626]
63170 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63171 buf2 definition.
63172
63173 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63174
63175 [BZ #12432]
63176 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63177 (dummy_getcfa): New function.
63178 (init): Get _Unwind_GetCFA address, use dummy if not found.
63179 (backtrace_helper): In recursion check, also check whether CFA changes.
63180 (__backtrace): Completely initialize arg.
63181
63182 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63183 storing incomplete byte sequence in state object. Avoid testing for
63184 guaranteed too small input if we know there is enough data available.
63185
63186 2011-05-11 Andreas Schwab <schwab@redhat.com>
63187
63188 * Makeconfig (+link-pie): Indent.
63189 * Rules (binaries-pie): Define if $(have-fpie) and
63190 $(build-shared).
63191 (binaries-shared): Also filter out $(binaries-pie).
63192 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63193 * nscd/Makefile (others-pie): Add nscd.
63194 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63195 ($(objpfx)nscd): Remove command override.
63196 * login/Makefile (others-pie): Add pt_chown.
63197 ($(objpfx)pt_chown): Remove command override.
63198 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63199 remove command overrides.
63200
63201 2011-05-13 Ulrich Drepper <drepper@gmail.com>
63202
63203 * libio/tst_putwc.c: Fix error messages.
63204
63205 [BZ #12724]
63206 * libio/fileops.c (_IO_new_file_close_it): Always flush when
63207 currently writing and seek to current position when not.
63208 * libio/Makefile (tests): Add bug-fclose1.
63209 * libio/bug-fclose1.c: New file.
63210
63211 2011-05-12 Ulrich Drepper <drepper@gmail.com>
63212
63213 [BZ #12511]
63214 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63215 don't set DF_1_NODELETE here.
63216 (do_lookup_x): When entering new entry test for copy relocation
63217 and if necessary set DF_1_NODELETE flag.
63218 * elf/tst-unique4.cc: New file.
63219 * elf/tst-unique4.h: New file.
63220 * elf/tst-unique4lib.cc: New file.
63221 * elf/Makefile: Add rules to build and run tst-unique4.
63222 Patch by Piotr Bury <pbury@goahead.com>.
63223
63224 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63225
63226 [BZ #12052]
63227 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63228
63229 [BZ #12625]
63230 * misc/mntent_r.c (addmntent): Flush the stream after the output
63231
63232 [BZ #12393]
63233 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63234 (is_trusted_path_normalize): Skip initial colon. Append slash
63235 to empty buffer. Duplicate is_trusted_path code but allow
63236 constructed patch to be prefix.
63237 (is_dst): Allow $ORIGIN followed by /.
63238 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63239 Correct testing of result of is_trusted_path_normalize
63240 (decompose_rpath): Fix warning.
63241
63242 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63243
63244 [BZ #11257]
63245 * grp/initgroups.c (internal_getgrouplist): When we found the service
63246 list through the initgroups entry in nsswitch.conf do not always
63247 continue on a successful lookup. Don't always use the
63248 __nss_group_database value if it is set.
63249 * nss/nsswitch.conf (initgroups): Change action for successful db
63250 lookup to continue for compatibility.
63251
63252 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63253
63254 [BZ #11532]
63255 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63256 and CP774 modules.
63257 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63258 and CP774 modules.
63259 * iconvdata/tst-tables.sh: Likewise.
63260 * iconvdata/cp770.c: New file.
63261 * iconvdata/cp771.c: New file.
63262 * iconvdata/cp772.c: New file.
63263 * iconvdata/cp773.c: New file.
63264 * iconvdata/cp774.c: New file.
63265 * iconvdata/testdata/CP770: New file.
63266 * iconvdata/testdata/CP770..UTF8: New file.
63267 * iconvdata/testdata/CP771: New file.
63268 * iconvdata/testdata/CP771..UTF8: New file.
63269 * iconvdata/testdata/CP772: New file.
63270 * iconvdata/testdata/CP772..UTF8: New file.
63271 * iconvdata/testdata/CP773: New file.
63272 * iconvdata/testdata/CP773..UTF8: New file.
63273 * iconvdata/testdata/CP774: New file.
63274 * iconvdata/testdata/CP774..UTF8: New file.
63275
63276 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63277 END CHARMAP line.
63278 * iconvdata/gen-8bit-gap.sh: Likewise.
63279 * iconvdata/gen-8bit.sh: Likewise.
63280
63281 * locale/iso-639.def: Add ary entry.
63282
63283 [BZ #11258]
63284 * locale/C-translit.h.in: Add U20A1 transliteration.
63285
63286 [BZ #12178]
63287 * locale/iso-639.def: Add wae entry.
63288 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63289
63290 [BZ #12545]
63291 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63292 for n.
63293
63294 [BZ #12711]
63295 * locale/C-translit.h.in: Add entry for U20B9.
63296 Patch by pravin.d.s@gmail.com.
63297
63298 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63299
63300 [BZ #12713]
63301 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63302 ENAMETOOLONG use generic getcwd.
63303 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63304 in rtld. Use *stat64.
63305 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63306 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63307 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63308 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63309 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63310 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63311 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63312 __fstatat64 macros.
63313 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63314 * dirent/rewinddir.c: Add libc_hidden_def.
63315 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63316 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63317
63318 * include/dirent.h (__alloc_dir): Add flags parameter.
63319 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63320 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63321 __alloc_dir.
63322 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63323 from fdopendir if O_CLOEXEC is already set.
63324
63325 2011-03-15 Alan Modra <amodra@gmail.com>
63326
63327 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63328 l_tls_firstbyte_offset non-zero. Save padding offset in
63329 l_tls_firstbyte_offset for later use.
63330 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63331 freeing static tls block.
63332
63333 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63334
63335 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63336 where #ifdef was intended. The intent is to prevent ARG_MAX from
63337 being defined by the kernel headers.
63338
63339 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63340
63341 [BZ #12734]
63342 * resolv/resolv.h: Define RES_NOTLDQUERY.
63343 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63344 no-tld-query and set RES_NOTLDQUERY.
63345 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63346 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63347 modern BIND to search name as TLD unless forbidden.
63348
63349 2011-05-07 Petr Baudis <pasky@suse.cz>
63350 Ulrich Drepper <drepper@gmail.com>
63351
63352 [BZ #12393]
63353 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63354 (is_trusted_path): ...to here.
63355 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63356 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63357 using is_trusted_path_normalize() in setuid scripts.
63358
63359 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63360
63361 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63362 __BEGIN/__END_DECLS.
63363
63364 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63365
63366 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63367 NSS_STATUS_NOTFOUND if no record was found.
63368
63369 2011-05-05 Andreas Schwab <schwab@redhat.com>
63370
63371 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63372 (headers-not-in-tirpc): Remove rpc/netdb.h
63373 * resolv/netdb.h: Revert last change.
63374
63375 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63376
63377 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63378 circular dependency between libgcc.a and libc.a.
63379
63380 2011-05-05 Andreas Schwab <schwab@redhat.com>
63381
63382 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63383 * nis/Makefile: Don't install rpcsvc/*.
63384 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63385 instead of <rpc/types.h>.
63386 (MAXHOSTNAMELEN): Define.
63387
63388 2011-05-03 Andreas Schwab <schwab@redhat.com>
63389
63390 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63391
63392 2011-04-28 Maciej Babinski <mbabinski@google.com>
63393
63394 [BZ #12714]
63395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63396 gethostbyname4_r when IPv6 results are possible.
63397
63398 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63399
63400 [BZ #12723]
63401 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63402 _PC_PIPE_BUF handling.
63403
63404 2011-04-30 Bruno Haible <bruno@clisp.org>
63405
63406 [BZ #12717]
63407 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63408 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63409 to 'int'.
63410 * inet/getnameinfo.c (getnameinfo): Likewise.
63411
63412 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63413
63414 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63415 to groups setting in database lookup.
63416 * nss/nsswitch.conf: Add initgroups entry.
63417
63418 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63419
63420 [BZ #12685]
63421 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63422 mode string.
63423 Patch by Eric Blake <eblake@redhat.com>.
63424
63425 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63426
63427 * sunrpc/Makefile (need-export-routines): Add svc_run.
63428 (routines): Remove svc_run.
63429 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63430 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63431 * sunrpc/svc_run.c (svc_run): Likewise.
63432 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63433
63434 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63435
63436 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63437 problem in reallocation in last patch.
63438
63439 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63440
63441 * sunrpc/Makefile: Move inclusion of Rules.
63442
63443 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63444
63445 * nss/nss_files/files-initgroups.c: New file.
63446 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63447 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63448 _nss_files_initgroups_dyn.
63449
63450 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63451
63452 * elf/elf.h (R_ARM_IRELATIVE): Define.
63453
63454 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63455
63456 * po/ru.po: Update from translation team.
63457
63458 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63459
63460 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63461 dependencies.
63462
63463 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63464
63465 [BZ #12653]
63466 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63467 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63468 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63469 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63470 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63471
63472 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63473
63474 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63475 differing bytes.
63476 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63477 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63478 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63479
63480 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63481
63482 [BZ #12420]
63483 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63484 storing it.
63485 * stdlib/bug-getcontext.c: New file.
63486 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63487
63488 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63489
63490 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63491 instructions into .machine "z9-109".
63492 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63493 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63494
63495 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63496
63497 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63498 between environment variables and auxiliary vector.
63499
63500 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63501
63502 * Makefile: Add rules to build linkobj/libc.so.
63503 * include/libc-symbols.h: Define libc_hidden_nolink.
63504 * include/rpc/auth.h: Mark functions which are to be hidden.
63505 * include/rpc/auth_des.h: Likewise.
63506 * include/rpc/auth_unix.h: Likewise.
63507 * include/rpc/clnt.h: Likewise.
63508 * include/rpc/des_crypt.h: Likewise.
63509 * include/rpc/key_prot.h: Likewise.
63510 * include/rpc/pmap_clnt.h: Likewise.
63511 * include/rpc/pmap_prot.h: Likewise.
63512 * include/rpc/pmap_rmt.h: Likewise.
63513 * include/rpc/rpc_msg.h: Likewise.
63514 * include/rpc/svc.h: Likewise.
63515 * include/rpc/svc_auth.h: Likewise.
63516 * include/rpc/xdr.h: Likewise.
63517 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63518 * nss/Makefile: Likewise.
63519 * sunrpc/Makefile: Don't install headers. Build library with normal
63520 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63521 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63522 for the compat linking library. Remove use of INTDEF/INTUSE.
63523 * sunrpc/auth_none.c: Likewise.
63524 * sunrpc/auth_unix.c: Likewise.
63525 * sunrpc/authdes_prot.c: Likewise.
63526 * sunrpc/authuxprot.c: Likewise.
63527 * sunrpc/clnt_gen.c: Likewise.
63528 * sunrpc/clnt_perr.c: Likewise.
63529 * sunrpc/clnt_raw.c: Likewise.
63530 * sunrpc/clnt_simp.c: Likewise.
63531 * sunrpc/clnt_tcp.c: Likewise.
63532 * sunrpc/clnt_udp.c: Likewise.
63533 * sunrpc/clnt_unix.c: Likewise.
63534 * sunrpc/des_crypt.c: Likewise.
63535 * sunrpc/des_soft.c: Likewise.
63536 * sunrpc/get_myaddr.c: Likewise.
63537 * sunrpc/key_call.c: Likewise.
63538 * sunrpc/key_prot.c: Likewise.
63539 * sunrpc/netname.c: Likewise.
63540 * sunrpc/pm_getmaps.c: Likewise.
63541 * sunrpc/pm_getport.c: Likewise.
63542 * sunrpc/pmap_clnt.c: Likewise.
63543 * sunrpc/pmap_prot.c: Likewise.
63544 * sunrpc/pmap_prot2.c: Likewise.
63545 * sunrpc/pmap_rmt.c: Likewise.
63546 * sunrpc/publickey.c: Likewise.
63547 * sunrpc/rpc_cmsg.c: Likewise.
63548 * sunrpc/rpc_common.c: Likewise.
63549 * sunrpc/rpc_dtable.c: Likewise.
63550 * sunrpc/rpc_prot.c: Likewise.
63551 * sunrpc/rpc_thread.c: Likewise.
63552 * sunrpc/rtime.c: Likewise.
63553 * sunrpc/svc.c: Likewise.
63554 * sunrpc/svc_auth.c: Likewise.
63555 * sunrpc/svc_authux.c: Likewise.
63556 * sunrpc/svc_raw.c: Likewise.
63557 * sunrpc/svc_run.c: Likewise.
63558 * sunrpc/svc_simple.c: Likewise.
63559 * sunrpc/svc_tcp.c: Likewise.
63560 * sunrpc/svc_udp.c: Likewise.
63561 * sunrpc/svc_unix.c: Likewise.
63562 * sunrpc/svcauth_des.c: Likewise.
63563 * sunrpc/xcrypt.c: Likewise.
63564 * sunrpc/xdr.c: Likewise.
63565 * sunrpc/xdr_array.c: Likewise.
63566 * sunrpc/xdr_float.c: Likewise.
63567 * sunrpc/xdr_intXX_t.c: Likewise.
63568 * sunrpc/xdr_mem.c: Likewise.
63569 * sunrpc/xdr_rec.c: Likewise.
63570 * sunrpc/xdr_ref.c: Likewise.
63571 * sunrpc/xdr_sizeof.c: Likewise.
63572 * sunrpc/xdr_stdio.c: Likewise.
63573
63574 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63575
63576 [BZ #12650]
63577 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63578 * sysdeps/ia64/dl-tls.h: Likewise.
63579 * sysdeps/powerpc/dl-tls.h: Likewise.
63580 * sysdeps/s390/dl-tls.h: Likewise.
63581 * sysdeps/sh/dl-tls.h: Likewise.
63582 * sysdeps/sparc/dl-tls.h: Likewise.
63583 * sysdeps/x86_64/dl-tls.h: Likewise.
63584 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63585
63586 2011-03-14 Andreas Schwab <schwab@redhat.com>
63587
63588 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63589 rpath element also skip the following colon.
63590 (expand_dynamic_string_token): Add is_path parameter and pass
63591 down to DL_DST_REQUIRED and _dl_dst_substitute.
63592 (decompose_rpath): Call expand_dynamic_string_token with
63593 non-zero is_path. Ignore empty rpaths.
63594 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63595 with zero is_path.
63596
63597 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63598
63599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63600 Make cancelable.
63601
63602 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63603
63604 [BZ #12655]
63605 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63606 Patch by Filipe David Manana <fdmanana@apache.org>.
63607
63608 2011-04-07 Andreas Schwab <schwab@redhat.com>
63609
63610 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63611 Maintain aligned stack.
63612 (CHECK_RSP): Remove unused macro.
63613
63614 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63615
63616 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63617 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63618
63619 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63620
63621 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63622
63623 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63624
63625 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63626
63627 [BZ #12518]
63628 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63629 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63630 * sysdeps/x86_64/memmove.c: New file.
63631 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63632 (memcpy): Renamed to ...
63633 (__new_memcpy): This.
63634 (memcpy): Provide GLIBC_2_14 memcpy.
63635 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63636 (memcpy): Provide GLIBC_2_2_5 memcpy.
63637
63638 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63639
63640 [BZ #12631]
63641 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63642
63643 2011-03-30 Andreas Schwab <schwab@redhat.com>
63644
63645 * misc/syncfs.c: New file.
63646 * misc/Makefile (routines): Add syncfs.
63647 * posix/unistd.h: Declare syncfs.
63648 * sysdeps/unix/syscalls.list: Add syncfs.
63649
63650 2011-04-01 Andreas Schwab <schwab@redhat.com>
63651
63652 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63653 open_by_handle_at.
63654 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63655 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63657 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63659 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63660 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63661
63662 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63663
63664 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63665 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63666 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63668 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63670 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63671
63672 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63673 sync_file_range.c with -fexceptions.
63674 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63675 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63676 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63677 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63678 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63679 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63680 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63681 sync_file_range as cancellation point
63682 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63683 now a wrapper around __call_sync_file_range with cancellation handling.
63684 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63685 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63686 function name to __call_sync_file_range.
63687 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63688 Add call_sync_file_range.
63689
63690 2011-04-01 Andreas Schwab <schwab@redhat.com>
63691
63692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63693 bits/timex.h.
63694
63695 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63696
63697 * iconv/iconv.h: Fix typo in comment.
63698 * io/fcntl.h: Likewise.
63699 * libio/stdio.h: Likewise.
63700 * posix/spawn.h: Likewise.
63701 * posix/unistd.h: Likewise.
63702 * stdlib/stdlib.h: Likewise.
63703 * time/time.h: Likewise.
63704 * wcsmbs/wchar.h: Likewise.
63705
63706 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63707 open_by_handle): Add.
63708 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63709 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63710 Augment a few comments.
63711 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63713 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63715 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63716 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63717 open_by_handle.
63718
63719 * io/fcntl.h (AT_EMPTY_PATH): Define.
63720
63721 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63722
63723 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63724 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63725 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63726 to...
63727 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63728 * Versions.def: Add GLIBC_2.14.
63729 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63730 Export.
63731
63732 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63733
63734 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63735 round counter.
63736 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63737
63738 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63739
63740 [BZ #12597]
63741 * string/test-strncmp.c (do_page_test): New function.
63742 (check2): Likewise.
63743 (test_main): Call check2.
63744 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63745
63746 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63747
63748 [BZ #12587]
63749 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63750 Handle cache information in CPU leaf 4.
63751 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63752
63753 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63754
63755 [BZ #12583]
63756 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63757 character representation.
63758 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63759
63760 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63761
63762 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63763 END(__isnan) to END(__isnanf) to match function entry point/label
63764 EALIGN(__isnanf,...).
63765
63766 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63767
63768 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63769
63770 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63771
63772 [BZ #12510]
63773 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63774 copy from the symbol referenced in the relocation to initialize the
63775 used variable.
63776 Patch by Piotr Bury <pbury@goahead.com>.
63777 * elf/Makefile: Add rules to build and tst-unique3.
63778 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63779 * elf/tst-unique3.cc: New file.
63780 * elf/tst-unique3.h: New file.
63781 * elf/tst-unique3lib.cc: New file.
63782 * elf/tst-unique3lib2.cc: New file.
63783
63784 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63785
63786 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63787
63788 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63789 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63790 to _start.
63791
63792 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63793
63794 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63795 to-be-loaded object along a path to loader is ld.so.
63796
63797 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63798 Ulrich Drepper <drepper@gmail.com>
63799
63800 * sysdeps/x86_64/memset.S: After aligning destination, code
63801 branches to different locations depending on the value of
63802 misalignment, when multiarch is enabled. Fix this.
63803
63804 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63805
63806 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63807 Set _x86_64_preferred_memory_instruction for AMD processsors.
63808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63809 Set bit_Prefer_SSE_for_memop for AMD processors.
63810
63811 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63812
63813 * libio/fmemopen.c (fmemopen): Optimize a bit.
63814
63815 2011-03-03 Andreas Schwab <schwab@redhat.com>
63816
63817 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63818
63819 2011-03-03 Roland McGrath <roland@redhat.com>
63820
63821 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63822
63823 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63824
63825 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63826 __bzero_ultra1 instead of __memset_ultra1.
63827
63828 2011-02-23 Andreas Schwab <schwab@redhat.com>
63829 Ulrich Drepper <drepper@gmail.com>
63830
63831 [BZ #12509]
63832 * include/link.h (struct link_map): Add l_orig_initfini.
63833 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63834 returning unsuccessfully.
63835 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63836 close of a file loaded at startup, restore the original l_initfini
63837 list.
63838 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63839 list, store the pointer.
63840 * elf/Makefile ($(objpfx)noload-mem): New rule.
63841 (noload-ENV): Define.
63842 (tests): Add $(objpfx)noload-mem.
63843 * elf/noload.c: Include <memcheck.h>.
63844 (main): Call mtrace. Close all opened handles.
63845
63846 2011-02-17 Andreas Schwab <schwab@redhat.com>
63847
63848 [BZ #12454]
63849 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63850 dependencies are missing.
63851
63852 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63853
63854 Fix __if_freereq crash: Unlike the generic version which uses free,
63855 Hurd needs munmap.
63856 * sysdeps/mach/hurd/ifreq.h: New file.
63857
63858 2011-01-27 Petr Baudis <pasky@suse.cz>
63859 Ulrich Drepper <drepper@gmail.com>
63860
63861 [BZ 12445]#
63862 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63863 to extend_alloca().
63864 * stdio-common/bug23.c: New file.
63865 * stdio-common/Makefile (tests): Add bug23.
63866
63867 2010-09-28 Andreas Schwab <schwab@redhat.com>
63868 Ulrich Drepper <drepper@gmail.com>
63869
63870 [BZ #12489]
63871 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63872 before performing relro protection. At old place add assertion
63873 to make sure nothing changed.
63874
63875 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63876 Glauber de Oliveira Costa <glommer@gmail.com>
63877
63878 * elf/elf.h: Add new ARM TLS relocs.
63879
63880 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63881
63882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63883 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63884 cast from r3.
63885 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63886 'tests' variable.
63887 * sysdeps/wordsize-64/tst-writev.c: New file.
63888
63889 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63890
63891 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63892 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63893 insns in _dl_start to prevent a TOC reference before relocs are
63894 resolved.
63895
63896 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63897
63898 [BZ #12469]
63899 * Makeconfig: Remove RANLIB definition.
63900 * Makerules: Don't use RANLIB.
63901 * aclocal.m4: Remove ranlib test.
63902 * configure.in: No need to check for ranlib.
63903 * elf/rtld-Rules: Don't use RANLIB.
63904
63905 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63906
63907 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63908 protection macro.
63909 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63910 inclusion protection macro.
63911
63912 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63913 SIGRTMIN and SIGRTMAX and print information in that case only when
63914 SIGRTMIN is defined.
63915
63916 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63917
63918 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63919 arginfo fn returning -1.
63920
63921 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63922 and thousands string is zero terminated.
63923
63924 2011-02-03 Andreas Schwab <schwab@redhat.com>
63925
63926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63927 sysdeps/unix/sysv/linux/bits/socket.h.
63928
63929 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63930
63931 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63932 (__CPU_COUNT): Remove old macros.
63933 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63934 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63935 (__CPU_ALLOC, __CPU_FREE): Add macros.
63936 (__sched_cpualloc, __sched_cpufree): Add declarations.
63937
63938 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63939
63940 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63941 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63942 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63943 (readdhstai): Return value of addhstaiX call.
63944 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63945 (addgrbyX): Return value returned by cache_addgr.
63946 (readdgrbyname): Return value returned by addgrbyX.
63947 (readdgrbygid): Likewise.
63948 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63949 (addpwbyX): Return value returned by cache_addpw.
63950 (readdpwbyname): Return value returned by addhstbyX.
63951 (readdpwbyuid): Likewise.
63952 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63953 (addservbyX): Return value returned by cache_addserv.
63954 (readdservbyname): Return value returned by addservbyX:
63955 (readdservbyport): Likewise.
63956 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63957 (addhstbyX): Return value returned by cache_addhst.
63958 (readdhstbyname): Return value returned by addhstbyX.
63959 (readdhstbyaddr): Likewise.
63960 (readdhstbynamev6): Likewise.
63961 (readdhstbyaddrv6): Likewise.
63962 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63963 (readdinitgroups): Return value returned by addinitgroupsX.
63964 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63965 (prune_cache): Keep track of timeout value of re-added entries.
63966 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63967 * nscd/nscd.h: Adjust prototypes of readd* functions.
63968
63969 2011-02-04 Roland McGrath <roland@redhat.com>
63970
63971 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63972 (nis_stats): Likewise.
63973 * nis/nis_modify.c (nis_modify): Likewise.
63974 * nis/nis_remove.c (nis_remove): Likewise.
63975 * nis/nis_add.c (nis_add): Likewise.
63976
63977 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63978
63979 * posix/fnmatch_loop.c: Add some consts.
63980
63981 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63982
63983 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63984
63985 [BZ #12460]
63986 * config.make.in (config-cflags-novzeroupper): Define.
63987 * configure.in: Substitute libc_cv_cc_novzeroupper.
63988 * elf/Makefile (AVX-CFLAGS): Define.
63989 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63990 (CFLAGS-tst-auditmod4a.c): Likewise.
63991 (CFLAGS-tst-auditmod4b.c): Likewise.
63992 (CFLAGS-tst-auditmod6b.c): Likewise.
63993 (CFLAGS-tst-auditmod6c.c): Likewise.
63994 (CFLAGS-tst-auditmod7b.c): Likewise.
63995 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63996
63997 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63998
63999 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64000 function to the callback.
64001 Patch partly by Jiri Olsa <jolsa@redhat.com>.
64002
64003 2011-02-02 Andreas Schwab <schwab@redhat.com>
64004
64005 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64006 of errno.
64007
64008 2011-01-19 Ulrich Drepper <drepper@gmail.com>
64009
64010 [BZ #11724]
64011 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64012 of constructors.
64013 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64014 of destructors.
64015 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64016
64017 [BZ #11724]
64018 * elf/Makefile: Add rules to build and run new test.
64019 * elf/tst-initorder.c: New file.
64020 * elf/tst-initorder.exp: New file.
64021 * elf/tst-initordera1.c: New file.
64022 * elf/tst-initordera2.c: New file.
64023 * elf/tst-initordera3.c: New file.
64024 * elf/tst-initordera4.c: New file.
64025 * elf/tst-initorderb1.c: New file.
64026 * elf/tst-initorderb2.c: New file.
64027 * elf/tst-order-a1.c: New file.
64028 * elf/tst-order-a2.c: New file.
64029 * elf/tst-order-a3.c: New file.
64030 * elf/tst-order-a4.c: New file.
64031 * elf/tst-order-b1.c: New file.
64032 * elf/tst-order-b2.c: New file.
64033 * elf/tst-order-main.c: New file.
64034 New test case by George Gensure <werkt0@gmail.com>.
64035
64036 2010-10-01 Andreas Schwab <schwab@redhat.com>
64037
64038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64039 decoding ACE if AI_CANONIDN.
64040
64041 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64042
64043 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64044
64045 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64046
64047 * version.h (RELEASE): Bump for 2.13 release.
64048 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64049
64050 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64051
64052 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64053 MADV_NOHUGEPAGE.
64054 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64055 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64056 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64057 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64058 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64059 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64060
64061 * posix/getconf.c: Update copyright year.
64062 * catgets/gencat.c: Likewise.
64063 * csu/version.c: Likewise.
64064 * debug/catchsegv.sh: Likewise.
64065 * debug/xtrace.sh: Likewise.
64066 * elf/ldconfig.c: Likewise.
64067 * elf/ldd.bash.in: Likewise.
64068 * elf/sprof.c (print_version): Likewise.
64069 * iconv/iconv_prog.c: Likewise.
64070 * iconv/iconvconfig.c: Likewise.
64071 * locale/programs/locale.c: Likewise.
64072 * locale/programs/localedef.c: Likewise.
64073 * malloc/memusage.sh: Likewise.
64074 * malloc/mtrace.pl: Likewise.
64075 * nscd/nscd.c (print_version): Likewise.
64076 * nss/getent.c: Likewise.
64077
64078 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64079 PF_CAIF, and PF_ALG.
64080 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64081
64082 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64083
64084 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64085 (modules-names): Use them.
64086 (ifunc-test-modules, ifunc-pie-tests): Define.
64087 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64088 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64089 (test-extras): Likewise.
64090 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64091 $(compile-command.c).
64092 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64093 (all-built-dso): Define.
64094 (check-textrel.out, check-execstack.out): Depend on it.
64095
64096 * configure.in: Don't override --enable-multi-arch.
64097
64098 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64099
64100 [BZ #6812]
64101 * nscd/hstcache.c (tryagain): Define.
64102 (cache_addhst): Return tryagain not notfound for temporary errors.
64103 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64104 failed.
64105
64106 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64107
64108 [BZ #10563]
64109 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64110 to make the syscall.
64111 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64112
64113 [BZ #12378]
64114 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64115 and fall back to matching as normal character if the string ends before
64116 the matching ']' is found. This is what POSIX requires.
64117 * posix/testfnm.c: Adjust test result.
64118 * posix/globtest.sh: Adjust test result. Add new test.
64119 * posix/tst-fnmatch.input: Likewise.
64120 * posix/tst-fnmatch2.c: Add new test.
64121
64122 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64123
64124 * elf/Makefile (check-execstack): Revert last change. Depend on
64125 check-execstack.h.
64126 (check-execstack.h): New target.
64127 (generated): Add check-execstack.h.
64128 * elf/check-execstack.c: Include "check-execstack.h".
64129 (main): Revert last change.
64130 (handle_file): Return zero if GNU_STACK is absent and
64131 DEFAULT_STACK_PERMS doesn't include PF_X.
64132
64133 2011-01-13 Ulrich Drepper <drepper@gmail.com>
64134
64135 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64136 in child fails because the descriptor is already closed.
64137 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64138 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64139 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64140
64141 [BZ #12397]
64142 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64143 syscall.
64144
64145 [BZ #10484]
64146 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64147 temporary buffer used to handle multi lookups locally.
64148 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64149
64150 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64151
64152 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64153 loader is ld.so.
64154
64155 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
64156
64157 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64158 alignment for SSE2.
64159
64160 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64161
64162 [BZ #12394]
64163 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64164 characters. When rounding increased number of integer digits recompute
64165 number of groups.
64166 * stdio-common/tst-grouping.c: New file.
64167 * stdio-common/Makefile: Add rules to build and run tst-grouping.
64168
64169 2011-01-09 Ulrich Drepper <drepper@gmail.com>
64170
64171 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64172 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
64173
64174 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64175 void.
64176 * bits/select.h: Likewise.
64177
64178 2011-01-08 Ulrich Drepper <drepper@gmail.com>
64179
64180 * po/ja.po: Update from translation team.
64181
64182 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
64183
64184 [BZ #11155]
64185 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64186 implementation just like for lxstat, fxstatat, et al.
64187
64188 2010-12-27 Jim Meyering <meyering@redhat.com>
64189
64190 [BZ #12348]
64191 * posix/regexec.c (build_trtable): Return failure indication upon
64192 calloc failure. Otherwise, re_search_internal could infloop on OOM.
64193
64194 2010-12-25 Ulrich Drepper <drepper@gmail.com>
64195
64196 [BZ #12201]
64197 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64198 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64199 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64200 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64201
64202 [BZ #12207]
64203 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64204
64205 [BZ #12204]
64206 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64207 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64208
64209 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
64210
64211 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64212 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64213 script has SORT_BY_INIT_PRIORITY.
64214 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64215 NO_CTORS_DTORS_SECTIONS is defined.
64216 * elf/soinit.c: Likewise.
64217 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64218 NO_CTORS_DTORS_SECTIONS is defined.
64219 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64220 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64221 * sysdeps/sh/init-first.c: Likewise.
64222 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64223
64224 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64225
64226 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64227 always use the slow path.
64228
64229 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64230
64231 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64232 similar rule which adds the sysdep directories to the header search in
64233 order to pick up the correct platform stackinfo.h.
64234 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64235 perform test if it is, otherwise return successfully without testing.
64236 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64237 DEFAULT_STACK_PERMS define in stackinfo.h.
64238 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64239 defined in stackinfo.h.
64240 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64241 DEFAULT_STACK_PERMS defined in stackinfo.h.
64242 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64243 * sysdeps/ia64/stackinfo.h: Likewise.
64244 * sysdeps/s390/stackinfo.h: Likewise.
64245 * sysdeps/sh/stackinfo.h: Likewise.
64246 * sysdeps/sparc/stackinfo.h: Likewise.
64247 * sysdeps/x86_64/stackinfo.h: Likewise.
64248 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64249 PF_X for powerpc64. Retain PF_X for powerpc32.
64250
64251 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64252
64253 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64254 accurately.
64255 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64256 GETDENTS_64BIT_ALIGNED.
64257
64258 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64259
64260 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64261
64262 2010-12-10 Andreas Schwab <schwab@redhat.com>
64263
64264 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64265 _GNU_SOURCE.
64266
64267 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64268 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64269 Remove __restrict.
64270 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64271 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64272
64273 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64274
64275 [BZ #11655]
64276 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64277 are initialized.
64278
64279 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64280
64281 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64282
64283 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64284
64285 * po/it.po: Update from translation team.
64286
64287 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64288
64289 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64290 unused codes.
64291
64292 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64293
64294 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64295
64296 2010-11-24 Andreas Schwab <schwab@redhat.com>
64297
64298 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64299 specially.
64300 (gaih_getanswer_slice): Likewise.
64301
64302 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64303
64304 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64305
64306 2010-05-31 Petr Baudis <pasky@suse.cz>
64307
64308 [BZ #11149]
64309 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64310 silently even in the chroot mode.
64311
64312 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64313
64314 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64315 last patch a bit. Pretty printing
64316
64317 2010-05-31 Petr Baudis <pasky@suse.cz>
64318
64319 [BZ #10085]
64320 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64321 initialization of skip_initgroups_dyn.
64322
64323 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64324
64325 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64326 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64327
64328 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64329
64330 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64331
64332 2010-11-11 Andreas Schwab <schwab@redhat.com>
64333
64334 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64335 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64336 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64337 ($(objpfx)tst-fnmatch-mem): New rule.
64338 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64339 * posix/tst-fnmatch.c (main): Call mtrace.
64340
64341 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64342
64343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64344 Support Intel processor model 6 and model 0x2c.
64345
64346 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64347
64348 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64349 signed comparison.
64350
64351 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64352
64353 [BZ #12205]
64354 * string/test-strncasecmp.c (check_result): New function.
64355 (do_one_test): Use it.
64356 (check1): New function.
64357 (test_main): Use it.
64358 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64359 Support strcasecmp and strncasecmp.
64360
64361 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64362
64363 [BZ #12194]
64364 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64365 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64366
64367 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64368
64369 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64370 IFUNC support.
64371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64372 memset-x86-64.
64373 * sysdeps/x86_64/multiarch/bzero.S: New file.
64374 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64375 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64376 * sysdeps/x86_64/multiarch/memset.S: New file.
64377 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64379 Set bit_Prefer_SSE_for_memop for Intel processors.
64380 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64381 Define.
64382 (index_Prefer_SSE_for_memop): Define.
64383 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64384
64385 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64386
64387 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64388 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64389
64390 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64391
64392 [BZ #12191]
64393 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64394 (__x86_64_raw_data_cache_size_half): Likewise.
64395 (__x86_64_raw_shared_cache_size): Likewise.
64396 (__x86_64_raw_shared_cache_size_half): Likewise.
64397
64398 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64399 (__x86_64_raw_data_cache_size_half): Likewise.
64400 (__x86_64_raw_shared_cache_size): Likewise.
64401 (__x86_64_raw_shared_cache_size_half): Likewise.
64402 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64403 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64404 and __x86_64_raw_shared_cache_size_half. Round
64405 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64406 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64407 to multiple of 256 bytes.
64408
64409 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64410
64411 [BZ #12167]
64412 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64413 of inacessible symlinks. Verify result of symlink before returning it.
64414 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64415 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64416
64417 2010-10-28 Erich Ritz <erichritz@gmail.com>
64418
64419 * math/math.h (isinf): Fix typo in comment.
64420
64421 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64422
64423 * po/da.po: Update from translation team.
64424
64425 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64426
64427 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64428 is added to the list.
64429
64430 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64431 Ulrich Drepper <drepper@gmail.com>
64432
64433 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64434 the global list here. Move code to...
64435 (_dl_add_to_namespace_list): ...here. New function.
64436 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64437 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64438 * elf/dl-load.c (lose): Don't remove the element from the list.
64439 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64440 (_dl_map_object): Likewise.
64441
64442 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64443
64444 [BZ #12159]
64445 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64446 into all bytes of SSE register.
64447 Patch by Richard Li <richardpku@gmail.com>.
64448
64449 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64450
64451 [BZ #12140]
64452 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64453 perturbing.
64454
64455 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64456
64457 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64458 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64459 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64460 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64462 submachine.
64463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64464
64465 2010-10-22 Andreas Schwab <schwab@redhat.com>
64466
64467 * include/dlfcn.h (__RTLD_SECURE): Define.
64468 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64469 mode & __RTLD_SECURE instead.
64470 (open_path): Rename preloaded parameter to secure.
64471 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64472 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64473 * elf/dl-deps.c (openaux): Likewise.
64474 * elf/rtld.c (struct map_args): Remove is_preloaded.
64475 (map_doit): Don't use it.
64476 (dl_main): Likewise.
64477 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64478 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64479
64480 2010-09-09 Andreas Schwab <schwab@redhat.com>
64481
64482 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64483 (sysd-rules-targets): Remove duplicates.
64484 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64485 rtld-%.$o dependency.
64486
64487 2010-10-18 Andreas Schwab <schwab@redhat.com>
64488
64489 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64490 _dl_map_object do it.
64491
64492 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64493
64494 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64495 fast fma builtins, define the macros in the C99 standard.
64496 (FP_FAST_FMAF): Likewise.
64497 (FP_FAST_FMAL): Likewise.
64498 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64499
64500 * bits/mathdef.h: Update copyright year.
64501 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64502
64503 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64504
64505 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64506 builtins, define the macros in the C99 standard.
64507 (FP_FAST_FMAF): Likewise.
64508 (FP_FAST_FMAL): Likewise.
64509 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64510 multiply/add.
64511 (FP_FAST_FMAF): Likewise.
64512
64513 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64514
64515 [BZ #3268]
64516 * math/libm-test.inc (fma_test): Some new testcases.
64517 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64518 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64519 y and infinite z. Do multiplication by C already in long double.
64520 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64521 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64522 y and infinite z. Do bitwise or of inexact bit into u.d.
64523 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64524 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64525 * sysdeps/i386/fpu/s_fma.S: Removed.
64526 * sysdeps/i386/fpu/s_fmal.S: Removed.
64527
64528 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64529
64530 [BZ #3268]
64531 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64532 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64533 computation is not scheduled after fetestexcept. Fix value
64534 of minimum denormal long double.
64535
64536 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64537
64538 [BZ #3268]
64539 * math/libm-test.inc (fma_test): Add some more tests.
64540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64541 correctly.
64542
64543 2010-10-15 Andreas Schwab <schwab@redhat.com>
64544
64545 * scripts/data/localplt-s390-linux-gnu.data: New file.
64546 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64547
64548 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64549
64550 [BZ #3268]
64551 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64552 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64553 instead of dbl-64.
64554 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64555 inlines.
64556 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64558 if one of x and y is very large and the other is subnormal.
64559 * sysdeps/s390/fpu/s_fmaf.c: New file.
64560 * sysdeps/s390/fpu/s_fma.c: New file.
64561 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64562 * sysdeps/powerpc/fpu/s_fma.S: New file.
64563 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64564 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64565 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64566
64567 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64568
64569 [BZ #3268]
64570 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64571 fma tests.
64572 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64573 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64574 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64575 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64576 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64577 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64578 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64579
64580 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64581
64582 [BZ #12078]
64583 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64584 * posix/bug-regex31.input: Add test case.
64585
64586 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64587
64588 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64589 * posix/bug-regex31.input: New file.
64590
64591 [BZ #12078]
64592 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64593 (parse_sub_exp): Fix last change, use postorder.
64594
64595 * posix/bug-regex31.c: New file.
64596 * posix/Makefile: Add rules to build and run bug-regex31.
64597
64598 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64599
64600 [BZ #12078]
64601 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64602
64603 [BZ #12108]
64604 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64605 to have entries in sys_siglist.
64606
64607 [BZ #12093]
64608 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64609 be NULL.
64610
64611 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64612
64613 [BZ #3268]
64614 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64615 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64616 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64617 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64618 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64619 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64620 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64621 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64622 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64623 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64624 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64625 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64626 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64627 * math/ftestexcept.c (fetestexcept): Likewise.
64628 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64629 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64630 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64631 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64632 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64633 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64634 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64635
64636 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64637
64638 [BZ #12107]
64639 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64640 newline.
64641
64642 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64643
64644 * string/bug-strstr1.c: New file.
64645 * string/Makefile: Add rules to build and run bug-strstr1.
64646
64647 2010-10-05 Eric Blake <eblake@redhat.com>
64648
64649 [BZ #12092]
64650 * string/str-two-way.h (two_way_long_needle): Always clear memory
64651 when skipping input due to the shift table.
64652
64653 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64654
64655 [BZ #12005]
64656 * malloc/mcheck.c: Handle large requests.
64657
64658 [BZ #12077]
64659 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64660 for strncmp and strncasecmp.
64661 * string/stratcliff.c: Add tests for strcmp and strncmp.
64662 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64663
64664 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64665
64666 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64667 __set_fpscr.
64668
64669 2010-09-30 Andreas Jaeger <aj@suse.de>
64670
64671 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64672 (CGROUP_SUPER_MAGIC): Define.
64673 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64674 Handle btrfs and cgroup file systems.
64675 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64676 Likewise.
64677
64678 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64679
64680 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64681 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64682
64683 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64684
64685 [BZ #12067]
64686 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64687 trying to locate the ELF header.
64688
64689 2010-09-27 Andreas Schwab <schwab@redhat.com>
64690
64691 [BZ #11611]
64692 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64693 Mask out sign-bit copies when constructing f_fsid.
64694
64695 2010-09-24 Petr Baudis <pasky@suse.cz>
64696
64697 * debug/stack_chk_fail_local.c: Add missing licence exception.
64698 * debug/warning-nop.c: Likewise.
64699
64700 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64701
64702 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64703 implementing getdents64 using getdents syscall, set d_type if
64704 __ASSUME_GETDENTS32_D_TYPE.
64705
64706 2010-09-16 Andreas Schwab <schwab@redhat.com>
64707
64708 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64709 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64710
64711 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64712
64713 [BZ #12037]
64714 * posix/unistd.h: Undo change of feature selection for ftruncate from
64715 2010-01-11.
64716
64717 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64718
64719 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64720 detection.
64721
64722 2010-09-20 Andreas Schwab <schwab@redhat.com>
64723
64724 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64725 fanotify_mark.
64726 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64727
64728 2010-09-14 Andreas Schwab <schwab@redhat.com>
64729
64730 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64731 variables after CHECK_SP call.
64732 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64733
64734 2010-09-13 Andreas Schwab <schwab@redhat.com>
64735 Ulrich Drepper <drepper@redhat.com>
64736
64737 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64738 re-relocationg ld.so.
64739 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64740 _dl_init_paths call.
64741 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64742 here anymore.
64743
64744 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64745
64746 * resolv/res_init.c (__res_vinit): Count the default server we added.
64747
64748 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64749 Ulrich Drepper <drepper@redhat.com>
64750
64751 [BZ #11968]
64752 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64753 (____longjmp_chk): Use %ebx for saving value across system call.
64754 Add unwind info.
64755
64756 2010-09-06 Andreas Schwab <schwab@redhat.com>
64757
64758 * manual/Makefile: Don't mix pattern rules with normal rules.
64759
64760 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64761
64762 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64763 operation.
64764 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64765 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64766 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64767 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64768 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64769 Likewise.
64770
64771 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64772
64773 [BZ #11979]
64774 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64775 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64776
64777 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64778
64779 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64780 * sysdeps/x86_64/addmul_1.S: Likewise.
64781 * sysdeps/x86_64/lshift.S: Likewise.
64782 * sysdeps/x86_64/mul_1.S: Likewise.
64783 * sysdeps/x86_64/rshift.S: Likewise.
64784 * sysdeps/x86_64/sub_n.S: Likewise.
64785 * sysdeps/x86_64/submul_1.S: Likewise.
64786
64787 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64788
64789 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64790 Define __sched_param instead of SCHED_* and sched_param when
64791 <bits/sched.h> is included with __need_schedparam defined.
64792 * bits/sched.h [__need_schedparam]
64793 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64794 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64795 (__defined_schedparam): Define to 1.
64796 (__sched_param): New structure, identical to sched_param.
64797 (__need_schedparam): Undefine.
64798
64799 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64800
64801 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64802 (epoll_create1): Declare.
64803
64804 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64805
64806 2010-08-31 Andreas Schwab <schwab@redhat.com>
64807
64808 [BZ #7066]
64809 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64810 shifting retval into place.
64811
64812 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64813
64814 * nis/rpcsvc/nis.h: Update copyright notice.
64815 * nis/rpcsvc/nis.x: Likewise.
64816 * nis/rpcsvc/nis_callback.h: Likewise.
64817 * nis/rpcsvc/nis_callback.x: Likewise.
64818 * nis/rpcsvc/nis_object.x: Likewise.
64819 * nis/rpcsvc/nis_tags.h: Likewise.
64820 * nis/rpcsvc/yp.h: Likewise.
64821 * nis/rpcsvc/yp.x: Likewise.
64822 * nis/rpcsvc/ypupd.h: Likewise.
64823 * nis/yp_xdr.c: Likewise.
64824 * nis/ypupdate_xdr.c: Likewise.
64825
64826 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64827 mainly the body of pmap_getport. Add parameters to specify timeouts.
64828 (pmap_getport): Use __libc_rpc_getport.
64829 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64830 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64831 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64832
64833 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64834
64835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64836 fanotify_mark.
64837
64838 2010-08-27 Roland McGrath <roland@redhat.com>
64839
64840 * sysdeps/i386/i686/multiarch/Makefile
64841 (CFLAGS-varshift.c): New variable.
64842
64843 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64844
64845 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64846 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64847
64848 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64849
64850 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64851
64852 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64853
64854 * sysdeps/x86_64/strlen.S: Unroll the loop.
64855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64856 strlen-sse2 strlen-sse2-bsf.
64857 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64858 __strlen_no_bsf if bit_Slow_BSF is set.
64859 (__strlen_sse42): Removed.
64860 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64861 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64862
64863 2010-08-25 Roland McGrath <roland@redhat.com>
64864
64865 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64866 * sysdeps/x86_64/multiarch/varshift.c: New file.
64867 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64868 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64869 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64870 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64871
64872 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64873
64874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64875 strlen-sse2 strlen-sse2-bsf.
64876 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64877 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64878 (__strlen_sse2): Removed.
64879 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64880 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64882 bit_Slow_BSF for Atom.
64883 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64884 (index_Slow_BSF): Define.
64885 (HAS_SLOW_BSF): Define.
64886
64887 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64888
64889 [BZ #10851]
64890 * resolv/res_init.c (__res_vinit): When no server address at all
64891 is given default to loopback.
64892
64893 2010-08-24 Roland McGrath <roland@redhat.com>
64894
64895 * configure.in: Remove config-name.h generation.
64896 * configure: Regenerated.
64897 * config-name.in: File removed.
64898 * scripts/config-uname.sh: New file.
64899 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64900 ($(objdir)config-name.h): New target.
64901
64902 * sunrpc/rpc_parse.h: Avoid nested comment.
64903
64904 2010-08-24 Richard Henderson <rth@redhat.com>
64905 Ulrich Drepper <drepper@redhat.com>
64906 H.J. Lu <hongjiu.lu@intel.com>
64907
64908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64910 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64911 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64912 _mm_alignr_epi8 with _mm_loadu_si128.
64913 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64914 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64915 (__m128i_shift_right): Removed.
64916 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64917 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64918 * sysdeps/x86_64/multiarch/varshift.h: New file.
64919 * sysdeps/x86_64/multiarch/varshift.S: New file.
64920
64921 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64922
64923 * configure.in: Move assembler checks to before sysdep dir checking.
64924
64925 2010-08-20 Petr Baudis <pasky@suse.cz>
64926
64927 * LICENSES: Sync the sunrpc license.
64928
64929 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64930
64931 * sunrpc/auth_des.c: Update copyright notice once again.
64932 * sunrpc/auth_none.c: Likewise.
64933 * sunrpc/auth_unix.c: Likewise.
64934 * sunrpc/authdes_prot.c: Likewise.
64935 * sunrpc/authuxprot.c: Likewise.
64936 * sunrpc/bindrsvprt.c: Likewise.
64937 * sunrpc/clnt_gen.c: Likewise.
64938 * sunrpc/clnt_perr.c: Likewise.
64939 * sunrpc/clnt_raw.c: Likewise.
64940 * sunrpc/clnt_simp.c: Likewise.
64941 * sunrpc/clnt_tcp.c: Likewise.
64942 * sunrpc/clnt_udp.c: Likewise.
64943 * sunrpc/clnt_unix.c: Likewise.
64944 * sunrpc/des_crypt.c: Likewise.
64945 * sunrpc/des_soft.c: Likewise.
64946 * sunrpc/get_myaddr.c: Likewise.
64947 * sunrpc/getrpcport.c: Likewise.
64948 * sunrpc/key_call.c: Likewise.
64949 * sunrpc/key_prot.c: Likewise.
64950 * sunrpc/openchild.c: Likewise.
64951 * sunrpc/pm_getmaps.c: Likewise.
64952 * sunrpc/pm_getport.c: Likewise.
64953 * sunrpc/pmap_clnt.c: Likewise.
64954 * sunrpc/pmap_prot.c: Likewise.
64955 * sunrpc/pmap_prot2.c: Likewise.
64956 * sunrpc/pmap_rmt.c: Likewise.
64957 * sunrpc/rpc/auth.h: Likewise.
64958 * sunrpc/rpc/auth_unix.h: Likewise.
64959 * sunrpc/rpc/clnt.h: Likewise.
64960 * sunrpc/rpc/des_crypt.h: Likewise.
64961 * sunrpc/rpc/key_prot.h: Likewise.
64962 * sunrpc/rpc/netdb.h: Likewise.
64963 * sunrpc/rpc/pmap_clnt.h: Likewise.
64964 * sunrpc/rpc/pmap_prot.h: Likewise.
64965 * sunrpc/rpc/pmap_rmt.h: Likewise.
64966 * sunrpc/rpc/rpc.h: Likewise.
64967 * sunrpc/rpc/rpc_des.h: Likewise.
64968 * sunrpc/rpc/rpc_msg.h: Likewise.
64969 * sunrpc/rpc/svc.h: Likewise.
64970 * sunrpc/rpc/svc_auth.h: Likewise.
64971 * sunrpc/rpc/types.h: Likewise.
64972 * sunrpc/rpc/xdr.h: Likewise.
64973 * sunrpc/rpc_clntout.c: Likewise.
64974 * sunrpc/rpc_cmsg.c: Likewise.
64975 * sunrpc/rpc_common.c: Likewise.
64976 * sunrpc/rpc_cout.c: Likewise.
64977 * sunrpc/rpc_dtable.c: Likewise.
64978 * sunrpc/rpc_hout.c: Likewise.
64979 * sunrpc/rpc_main.c: Likewise.
64980 * sunrpc/rpc_parse.c: Likewise.
64981 * sunrpc/rpc_parse.h: Likewise.
64982 * sunrpc/rpc_prot.c: Likewise.
64983 * sunrpc/rpc_sample.c: Likewise.
64984 * sunrpc/rpc_scan.c: Likewise.
64985 * sunrpc/rpc_scan.h: Likewise.
64986 * sunrpc/rpc_svcout.c: Likewise.
64987 * sunrpc/rpc_tblout.c: Likewise.
64988 * sunrpc/rpc_util.c: Likewise.
64989 * sunrpc/rpc_util.h: Likewise.
64990 * sunrpc/rpcinfo.c: Likewise.
64991 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64992 * sunrpc/rpcsvc/key_prot.x: Likewise.
64993 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64994 * sunrpc/rpcsvc/mount.x: Likewise.
64995 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64996 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64997 * sunrpc/rpcsvc/rex.x: Likewise.
64998 * sunrpc/rpcsvc/rstat.x: Likewise.
64999 * sunrpc/rpcsvc/rusers.x: Likewise.
65000 * sunrpc/rpcsvc/sm_inter.x: Likewise.
65001 * sunrpc/rpcsvc/spray.x: Likewise.
65002 * sunrpc/rpcsvc/yppasswd.x: Likewise.
65003 * sunrpc/rtime.c: Likewise.
65004 * sunrpc/svc.c: Likewise.
65005 * sunrpc/svc_auth.c: Likewise.
65006 * sunrpc/svc_authux.c: Likewise.
65007 * sunrpc/svc_raw.c: Likewise.
65008 * sunrpc/svc_run.c: Likewise.
65009 * sunrpc/svc_simple.c: Likewise.
65010 * sunrpc/svc_tcp.c: Likewise.
65011 * sunrpc/svc_udp.c: Likewise.
65012 * sunrpc/svc_unix.c: Likewise.
65013 * sunrpc/svcauth_des.c: Likewise.
65014 * sunrpc/xcrypt.c: Likewise.
65015 * sunrpc/xdr.c: Likewise.
65016 * sunrpc/xdr_array.c: Likewise.
65017 * sunrpc/xdr_float.c: Likewise.
65018 * sunrpc/xdr_mem.c: Likewise.
65019 * sunrpc/xdr_rec.c: Likewise.
65020 * sunrpc/xdr_ref.c: Likewise.
65021 * sunrpc/xdr_sizeof.c: Likewise.
65022 * sunrpc/xdr_stdio.c: Likewise.
65023
65024 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65025 handling.
65026
65027 2010-08-19 Andreas Schwab <schwab@redhat.com>
65028
65029 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65030
65031 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65032
65033 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65034 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65035 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65036 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65037 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65038 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65039 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65040 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65041 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65042 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65043 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65044 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65045 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65046 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65047
65048 2010-07-26 Anton Blanchard <anton@samba.org>
65049
65050 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65051 * malloc/arena.c (heap_trim): Likewise.
65052
65053 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65054
65055 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65056 here. Not...
65057 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65058 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65059
65060 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65061
65062 * sysdeps/i386/elf/Makefile: New file.
65063
65064 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65065
65066 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65067 from fanotify_init.
65068 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65069 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65070
65071 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65072
65073 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65074 of strncasecmp_l.
65075 * sysdeps/multiarch/strcmp.S: Likewise.
65076
65077 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65078
65079 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65080 strncase_l-nonascii.
65081 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65082 Add strncase_l-ssse3.
65083 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65084 * sysdeps/x86_64/strcmp.S: Likewise.
65085 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65086 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65087 * sysdeps/x86_64/strncase.S: New file.
65088 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65089 * sysdeps/x86_64/strncase_l.S: New file.
65090 * string/Makefile (strop-tests): Add strncasecmp.
65091 * string/test-strncasecmp.c: New file.
65092
65093 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65094 warning.
65095
65096 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65097 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65098
65099 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65100
65101 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65102
65103 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65104
65105 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65106 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65107 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65108
65109 2010-05-01 Alan Modra <amodra@gmail.com>
65110
65111 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65112 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65113 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65114 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65115 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65116 tidying. Don't tail-call __sigjmp_save for static lib.
65117 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65118 save location.
65119 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65120 (CALL_MCOUNT): Add eh info, and nop after bl.
65121 (TAIL_CALL_SYSCALL_ERROR): New macro.
65122 (PSEUDO_RET): Use it.
65123 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65124 Correct save location of integer regs and cr.
65125 (_dl_profile_resolve): Correct cr save location. Delete nops
65126 after bl when SHARED. Reduce cfi size a little by better
65127 placement of cfi directives.
65128 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65129 make a stack frame. Instead use parm save area as a temp.
65130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65131 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
65132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65133 Don't make a stack frame for parent, use parm save area.
65134 Increase child stack frame to 112 bytes. Don't save unused reg,
65135 and adjust reg usage. Set up cfi on error recovery and
65136 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65138 (__makecontext): Add dummy nop after jump to exit.
65139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65140 Use correct parm save area and cr save, reduce stack frame.
65141 Correct cfi for possible PSEUDO_RET frame setup.
65142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65143 Branch to local label emitted by PSEUDO_RET rather than
65144 __syscall_error.
65145
65146 2010-08-12 Andreas Schwab <schwab@redhat.com>
65147
65148 [BZ #11904]
65149 * locale/programs/locale.c (print_assignment): New function.
65150 (show_locale_vars): Use it.
65151
65152 2010-08-11 Ulrich Drepper <drepper@redhat.com>
65153
65154 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65155 field.
65156 (struct statfs64): Likewise.
65157 (_STATFS_F_FLAGS): Define.
65158 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65159 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65160 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65161 (ST_VALID): Define locally.
65162 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65163 __statvfs_getflags, use the provided value.
65164 * sysdeps/unix/sysv/linux/kernel-features.h: Define
65165 __ASSUME_STATFS_F_FLAGS.
65166
65167 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65168
65169 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65170 Add sys/fanotify.h.
65171 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65172 fanotify_mask for GLIBC_2.13.
65173 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65174 fanotify_init and fanotify_mark.
65175 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65176 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65177
65178 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65179 Add prlimit.
65180 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65181 prlimit64 for GLIBC_2.13.
65182 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65183 prlimit64.
65184 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65185 syscall.
65186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65187 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65188 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65189 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
65191 add prlimit alias.
65192 * sysdeps/unix/sysv/linux/prlimit.c: New file.
65193
65194 [BZ #11903]
65195 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65196 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65197
65198 * nss/Makefile: Add rules to build and run tst-nss-test1.
65199 * shlib-versions: Add entry for libnss_test1.
65200 * nss/nss_test1.c: New file.
65201 * nss/tst-nss-test1.c: New file.
65202
65203 * nss/nsswitch.c (__nss_database_custom): Define new variable.
65204 (__nss_configure_lookup): Set appropriate entry in
65205 __nss_configure_lookup to true.
65206 * nss/nsswitch.h: Define enum with indeces of databases in
65207 databases and __nss_database_custom arrays. Declare
65208 __nss_database_custom.
65209 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65210 to avoid using nscd when custom rules are installed.
65211 * nss/getXXbyYY_r.c: Likewise.
65212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65213
65214 * nss/nss_files/files-parse.c: Whitespace fixes.
65215
65216 2010-08-09 Ulrich Drepper <drepper@redhat.com>
65217
65218 [BZ #11883]
65219 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65220 * posix/fnmatch_loop.c: Likewise.
65221
65222 2010-07-17 Andi Kleen <ak@linux.intel.com>
65223
65224 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65225 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65226 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65227 * Versions.def [GLIBC_2.13]: Add.
65228
65229 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65230
65231 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65232 Also fail if tpwd after pwuid call is NULL.
65233
65234 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65235
65236 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65237 when converting to ms.
65238
65239 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65240
65241 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65242 EOPNOTSUPP errors with ENOTTY.
65243 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65244 EOPNOTSUPP errors with ENOTTY.
65245
65246 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65247
65248 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65249 Add strcasecmp_l-ssse3.
65250 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65251 strcasecmp.
65252 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65253 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65254 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65255
65256 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65257
65258 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65259
65260 * string/Makefile (strop-tests): Add strcasecmp.
65261 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65262 strcasecmp_l-nonascii.
65263 (gen-as-const-headers): Add locale-defines.sym.
65264 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65265 * sysdeps/x86_64/strcasecmp.S: New file.
65266 * sysdeps/x86_64/strcasecmp_l.S: New file.
65267 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65268 * sysdeps/x86_64/locale-defines.sym: New file.
65269 * string/test-strcasecmp.c: New file.
65270
65271 * string/test-strcasestr.c: Test both ends of the range of characters.
65272 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65273
65274 2010-07-29 Roland McGrath <roland@redhat.com>
65275
65276 [BZ #11856]
65277 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65278
65279 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65280
65281 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65282 for ld.so.
65283
65284 2010-07-27 Andreas Schwab <schwab@redhat.com>
65285
65286 * manual/memory.texi (Malloc Tunable Parameters): Document
65287 M_PERTURB.
65288
65289 2010-07-26 Roland McGrath <roland@redhat.com>
65290
65291 [BZ #11840]
65292 * configure.in (-fgnu89-inline check): Set and substitute
65293 gnu89_inline, not libc_cv_gnu89_inline.
65294 * configure: Regenerated.
65295 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65296
65297 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65298
65299 * string/test-strnlen.c: New file.
65300 * string/Makefile (strop-tests): Add strnlen.
65301 * string/tester.c (test_strnlen): Add a few more test cases.
65302 * string/tst-strlen.c: Better error reporting.
65303
65304 * sysdeps/x86_64/strnlen.S: New file.
65305
65306 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65307
65308 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65309 lower-latency instructions.
65310
65311 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65312
65313 * string/test-strcasestr.c: New file.
65314 * string/test-strstr.c: New file.
65315 * string/Makefile (strop-tests): Add strstr and strcasestr.
65316 * string/str-two-way.h: Don't undefine MAX.
65317 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65318
65319 2010-07-21 Andreas Schwab <schwab@redhat.com>
65320
65321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65322 strcasestr-nonascii.
65323 (CFLAGS-strcasestr-nonascii.c): Define.
65324 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65325 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65326 Remove unused attribute.
65327
65328 2010-07-20 Roland McGrath <roland@redhat.com>
65329
65330 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65331 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65332 ld.so.cache was broken. With it, there is no way to disable dsocaps
65333 like LD_HWCAP_MASK can disable hwcaps.
65334
65335 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65336
65337 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65338
65339 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65340
65341 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65342 call in strcasestr.
65343 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65344 __strcasestr_sse42_nonascii.
65345 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65346 strcasestr-nonascii.c.
65347 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65348
65349 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65350
65351 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65352 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65353 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65354 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65355
65356 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65357
65358 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65359 fcntl.
65360
65361 2010-07-06 Andreas Schwab <schwab@redhat.com>
65362
65363 [BZ #11577]
65364 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65365 dl_signal_cerror.
65366
65367 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65368
65369 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65370 _PC_PIPE_BUF using F_GETPIPE_SZ.
65371
65372 2010-07-05 Roland McGrath <roland@redhat.com>
65373
65374 * manual/arith.texi (Rounding Functions): Fix rint description
65375 implicit in round description.
65376
65377 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65378
65379 * elf/Makefile: Fix linking for a few tests to make recent linker
65380 happy.
65381
65382 2010-06-30 Andreas Schwab <schwab@redhat.com>
65383
65384 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65385 $(common-objpfx)libc_nonshared.a.
65386
65387 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65388
65389 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65390 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65391 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65392 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65393 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65394 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65395 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65396 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65411 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65412 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65413 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65414 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65415 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65416 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65417 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65418 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65419 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65420 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65421 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65422 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65437
65438 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65439
65440 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65441 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65442 * string/memmove.c (memmove): Renamed to ...
65443 (MEMMOVE): ...this. Default to memmove.
65444 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65445 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65446 (END_CHK): Define.
65447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65448 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65449 mempcpy-ssse3-back memmove-ssse3-back.
65450 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65451 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65452 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65453 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65454 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65455 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65456 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65457 * sysdeps/x86_64/multiarch/memmove.c: New file.
65458 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65459 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65460 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65461 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65462 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65463 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65464 Define.
65465 (index_Fast_Copy_Backward): Define.
65466 (HAS_ARCH_FEATURE): Define.
65467 (HAS_FAST_REP_STRING): Define.
65468 (HAS_FAST_COPY_BACKWARD): Define.
65469
65470 2010-06-21 Andreas Schwab <schwab@redhat.com>
65471
65472 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65473 Restore proper fallback handling.
65474
65475 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65476
65477 [BZ #11701]
65478 * posix/group_member.c (__group_member): Correct checking loop.
65479
65480 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65481 OOM in getpwuid_r correctly. Return error number when the caller
65482 should return, otherwise -1.
65483 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65484 call returning > 0 value.
65485 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65486
65487 2010-06-07 Andreas Schwab <schwab@redhat.com>
65488
65489 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65490 libc_nonshared.a from targets in modules-names.
65491
65492 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65493
65494 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65495 requires it.
65496
65497 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65498
65499 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65500 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65501 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65502 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65503
65504 2010-06-02 Andreas Schwab <schwab@redhat.com>
65505
65506 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65507
65508 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65509
65510 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65511 and F_GETPIPE_SZ.
65512 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65513 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65514 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65515 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65516 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65517 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65518
65519 2010-06-14 Roland McGrath <roland@redhat.com>
65520
65521 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65522
65523 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65524
65525 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65526 __REDIRECT followed by __THROW.
65527 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65528 * posix/getopt.h (getopt): Likewise.
65529
65530 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65531
65532 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65533 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65534 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65535 in AT_FLAGS.
65536 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65537 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65538
65539 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65540
65541 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65542
65543 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65544
65545 [BZ #11640]
65546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65547 Properly check family and model.
65548
65549 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65550
65551 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65552
65553 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65554
65555 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65556
65557 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65558
65559 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65560 symbol reference.
65561
65562 2010-05-19 Andreas Schwab <schwab@redhat.com>
65563
65564 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65565 symbol reference.
65566
65567 2010-05-21 Andreas Schwab <schwab@redhat.com>
65568
65569 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65570 and internal_recvmmsg.
65571 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65572 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65573 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65574 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65575
65576 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65577 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65578 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65579
65580 2010-05-20 Andreas Schwab <schwab@redhat.com>
65581
65582 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65583
65584 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65585
65586 POWER7 optimizations.
65587 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65588 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65589
65590 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65591
65592 * version.h: Update for 2.13 development version.
65593
65594 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65595
65596 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65597 exceptions. Return 0.
65598
65599 2010-05-07 Roland McGrath <roland@redhat.com>
65600
65601 * elf/ldconfig.c (main): Add a const.
65602
65603 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65604
65605 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65606 (args_options): Add no-idn option.
65607 (ahosts_keys_int): Add idn_flags to ai_flags.
65608 (parse_option): Handle 'i' option to clear idn_flags.
65609
65610 * malloc/malloc.c (_int_free): Possible race in the most recently
65611 added check. Only act on the data if no current modification
65612 happened.
65613
65614 See ChangeLog.17 for earlier changes.