]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
PowerPC: Fix nearbyint/nearbyintf result for FE_DOWNWARD
[thirdparty/glibc.git] / ChangeLog
1 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 [BZ #16815]
4 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5 result for FE_DOWNWARD rounding mode.
6 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7 Likewise.
8 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9
10 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11
12 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13 in function argument name.
14
15 2014-04-03 David Svoboda <svoboda@cert.org>
16
17 [BZ #5666]
18 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19 explicitly.
20
21 2014-04-03 Roland McGrath <roland@hack.frob.com>
22
23 * elf/dl-unmap-segments.h: New file.
24 * sysdeps/generic/ldsodefs.h
25 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
26 * elf/dl-close.c: Include <dl-unmap-segments.h>.
27 * elf/dl-fptr.c: Likewise.
28 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29 * sysdeps/aarch64/tlsdesc.c: Likewise.
30 * sysdeps/arm/tlsdesc.c: Likewise.
31 * sysdeps/i386/tlsdesc.c: Likewise.
32 * sysdeps/tile/dl-runtime.c: Likewise.
33 * sysdeps/x86_64/tlsdesc.c: Likewise.
34 * elf/dl-load.h: New file.
35 * elf/dl-load.c: Include it.
36 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37 Macros moved to dl-load.h.
38 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
39 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40 Use _dl_unmap_segments in place of __munmap.
41 Break out segment-mapping loop into ...
42 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43
44 2014-04-03 Will Newton <will.newton@linaro.org>
45
46 * elf/dl-lookup.c (do_lookup_x): Remove comment
47 referring to nested function and move variable
48 declarations down to before first use.
49
50 2014-04-02 Joseph Myers <joseph@codesourcery.com>
51
52 [BZ #16799]
53 [BZ #16800]
54 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
55 with 0 numerator.
56 * math/s_catanf.c (__catanf): Likewise.
57 * math/s_catanh.c (__catanh): Likewise.
58 * math/s_catanhf.c (__catanhf): Likewise.
59 * math/s_catanhl.c (__catanhl): Likewise.
60 * math/s_catanl.c (__catanl): Likewise.
61 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
62 by positive zero when computing -Inf result.
63 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
64 (catanh_test): Likewise.
65 * sysdeps/i386/fpu/libm-test-ulps: Update.
66 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67
68 [BZ #16789]
69 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
70 instead of using underflowing value in computing result.
71 * math/s_clog10.c (__clog10): Likewise.
72 * math/s_clog10f.c (__clog10f): Likewise.
73 * math/s_clog10l.c (__clog10l): Likewise.
74 * math/s_clogf.c (__clogf): Likewise.
75 * math/s_clogl.c (__clogl): Likewise.
76 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
77 (clog10_test): Likewise.
78 * sysdeps/i386/fpu/libm-test-ulps: Update.
79 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80
81 2014-04-02 Alan Modra <amodra@gmail.com>
82
83 [BZ #16739]
84 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
85 output when value is near a power of two. Use int64_t for lx and
86 remove casts. Use decimal rather than hex exponent constants.
87 Don't use long double multiplication when double will suffice.
88 * math/libm-test.inc (nextafter_test_data): Add tests.
89 * NEWS: Add 16739 and 16786 to bug list.
90
91 2014-04-02 Alan Modra <amodra@gmail.com>
92
93 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
94
95 2014-04-02 Alan Modra <amodra@gmail.com>
96
97 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
98
99 2014-04-01 Will Newton <will.newton@linaro.org>
100
101 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
102 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
103
104 2014-04-01 Florian Weimer <fweimer@redhat.com>
105
106 [BZ #13347]
107 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
108 * nptl/tst-setuid2.c: New file.
109 * nptl/Makefile (xtests): Add tst-setuid2.
110
111 2014-04-01 Alan Modra <amodra@gmail.com>
112
113 [BZ #16786]
114 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
115
116 2014-03-31 Joseph Myers <joseph@codesourcery.com>
117
118 [BZ #6803]
119 [BZ #6804]
120 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
121 set errno as appropriate.
122 * math/w_scalbf.c (__scalbf): Likewise.
123 * math/w_scalbl.c (__scalbl): Likewise.
124 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
125 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
126 * math/libm-test.inc (scalb_test_data): Add errno expectations.
127 Add more NaN tests.
128
129 [BZ #16349]
130 * math/w_atan2.c: Include <errno.h>.
131 (__atan2): Set errno for result underflowing to zero.
132 * math/w_atan2f.c: Include <errno.h>.
133 (__atan2f): Set errno for result underflowing to zero.
134 * math/w_atan2l.c: Include <errno.h>.
135 (__atan2l): Set errno for result underflowing to zero.
136 * math/auto-libm-test-in: Don't allow missing errno for some atan2
137 tests.
138 * math/auto-libm-test-out: Regenerated.
139
140 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
143 Encode instruction correctly in little endian.
144 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
145 Likewise.
146 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
147 Likewise.
148 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
149 Likewise.
150 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
151 Likewise.
152
153 2014-03-31 Joseph Myers <joseph@codesourcery.com>
154
155 [BZ #9894]
156 * sysdeps/unix/sysv/linux/kernel-features.h
157 [__sparc__ && !__arch64__ && !__sparc_v9__]
158 (__ASSUME_SET_ROBUST_LIST): Do not define.
159 [__sparc__ && !__arch64__ && !__sparc_v9__]
160 (__ASSUME_FUTEX_LOCK_PI): Likewise.
161 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
162 Likewise.
163 * sysdeps/unix/sysv/linux/arm/kernel-features.h
164 (__ASSUME_FUTEX_LOCK_PI): Undefine.
165 (__ASSUME_REQUEUE_PI): Likewise.
166 (__ASSUME_SET_ROBUST_LIST): Likewise.
167 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
168 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
169 Undefine.
170 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
171 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
172 Likewise.
173 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
174 Likewise.
175 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
176 Likewise.
177 * sysdeps/unix/sysv/linux/mips/kernel-features.h
178 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
179 Undefine.
180 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
181 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
182 Likewise.
183
184 [BZ #16648]
185 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
186 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
187 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
188
189 2014-03-31 Will Newton <will.newton@linaro.org>
190
191 * benchtests/Makefile (bench): Add ffs and ffsll to list
192 of tests.
193 * benchtests/ffs-inputs: New file.
194 * benchtests/ffsll-inputs: Likewise.
195
196 2014-03-29 Joseph Myers <joseph@codesourcery.com>
197
198 [BZ #16770]
199 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
200 too large before casting to int.
201 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
202 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
203 * math/libm-test.inc (scalb_test_data): Add more tests.
204
205 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
206
207 * benchtests/Makefile (DETAILED_OPT): New make option.
208 (bench-func): Run benchmark program with -d if DETAILED_OPT is
209 set.
210 * benchtests/bench-skeleton.c: Include stdbool.h.
211 (main): Store and print timings per input.
212 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
213 member to each argument value.
214 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
215 (_print_arg_data): Initialize per-input timing to 0.
216
217 * benchtests/Makefile (timing-type): New binary.
218 (bench-clean): Also remove bench-timing-type.
219 (bench): New target for timing-type.
220 (bench-func): Print output in JSON format.
221 * benchtests/bench-skeleton.c (main): Print output in JSON
222 format.
223 * benchtests/bench-timing-type.c: New file.
224 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
225 (TIMING_PRINT_STATS): Remove.
226 * benchtests/scripts/bench.py (_print_arg_data): Store variant
227 name separately.
228
229 * benchtests/bench-modf.c: Remove.
230 * benchtests/modf-inputs: New inputs file.
231
232 2014-03-28 Joseph Myers <joseph@codesourcery.com>
233
234 [BZ #16362]
235 * math/s_clog10.c (M_PI_LOG10E): New macro.
236 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
237 imaginary parts are 0.
238 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
239 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
240 imaginary parts are 0.
241 * math/s_clog10l.c (M_PI_LOG10El): New macro.
242 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
243 imaginary parts are 0.
244 * math/libm-test.inc (clog10_test_data): Update expected results
245 for when real and imaginary parts are 0.
246
247 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
248
249 * elf/dl-load.c: Finish conversion of __builtin_expect into
250 __glibc_{un}likely.
251
252 2014-03-27 Joseph Myers <joseph@codesourcery.com>
253
254 [BZ #16348]
255 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
256 1+x for argument with exponent below -67.
257 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
258 Likewise.
259 * math/auto-libm-test-in: Add more tests of exp.
260 * math/auto-libm-test-out: Regenerated.
261
262 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
263
264 [BZ #16759]
265 * inet/getnetgrent_r.c (get_nonempty_val): New function.
266 (nscd_getnetgrent): Use it.
267
268 [BZ #16760]
269 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
270 of stpcpy.
271
272 2014-03-27 Andi Kleen <ak@linux.intel.com>
273
274 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
275 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
276 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
277 Remove out of line section. Use cfi intrinsics.
278 (LLL_STUB_UNWIND_INFO*): Remove.
279 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
280 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
281 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
282 Remove out of line section. Use cfi intrinsics.
283 (LLL_STUB_UNWIND_INFO*): Remove.
284
285 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
286
287 [BZ #16758]
288 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
289 blank values.
290
291 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
292
293 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
294
295 2014-03-26 Joseph Myers <joseph@codesourcery.com>
296
297 [BZ #16198]
298 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
299 fnstenv.
300 * math/test-fenv-preserve.c: New file.
301 * math/Makefile (tests): Add test-fenv-preserve.
302
303 2014-03-26 Will Newton <will.newton@linaro.org>
304
305 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
306
307 2014-03-25 Roland McGrath <roland@hack.frob.com>
308
309 * scripts/versionlist.awk: Partition the version sets and emit all
310 GLIBC_* (sorted) before all others (sorted).
311
312 2014-03-25 Joseph Myers <joseph@codesourcery.com>
313
314 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
315 GLIBC_2.2.5 version.
316
317 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
318
319 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
320 calls.
321
322 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
323
324 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
325 previous change.
326
327 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
328
329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
330
331 2014-03-25 Andreas Schwab <schwab@suse.de>
332
333 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
334 label to be used after in6ailist is initialized.
335
336 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
337
338 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
339 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
340
341 2014-03-25 Joseph Myers <joseph@codesourcery.com>
342
343 [BZ #16357]
344 [BZ #16599]
345 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
346 min_plus_half.
347 (fp_formats): Update initializers.
348 (init_fp_formats): Initialize new field.
349 (output_for_one_input_case): Allow underflow for results up to
350 min_plus_half.
351 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
352 * math/auto-libm-test-in: Don't mark some underflows from asin and
353 atanh as spurious.
354 * math/auto-libm-test-out: Regenerated.
355 * sysdeps/i386/fpu/libm-test-ulps: Update.
356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
357
358 2014-03-25 Andreas Schwab <schwab@suse.de>
359
360 * libio/Makefile (tst-ftell-partial-wide-ENV)
361 (tst-ftell-active-handler-ENV): Define.
362
363 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
364
365 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
366
367 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
368
369 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
370
371 2014-03-24 Joseph Myers <joseph@codesourcery.com>
372
373 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
374 * sysdeps/x86_64/fpu/multiarch/e_exp.c
375 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
376
377 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
378
379 [BZ #16634]
380 * elf/dl-load.c (open_verify): Add mode parameter.
381 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
382 (open_path): Change from boolean 'secure' to complete flag 'mode'
383 (_dl_map_object): Adjust.
384 * elf/Makefile (tests): Add tst-dlopen-aout.
385 * elf/tst-dlopen-aout.c: New test.
386
387 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
388
389 [BZ #16714]
390 * sysdeps/unix/sysv/linux/s390/bits/stat.h
391 (struct stat): Rename member pad0 to __glibc_reserved0.
392
393 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
394
395 [BZ #16712]
396 * sysdeps/s390/s390-32/bits/wordsize.h
397 (__WORDSIZE32_SIZE_ULONG): New define.
398 * sysdeps/s390/s390-64/bits/wordsize.h
399 (__WORDSIZE32_SIZE_ULONG): Likewise.
400 * sysdeps/generic/stdint.h (SIZE_MAX):
401 Define as UL if __WORDSIZE32_SIZE_ULONG.
402
403 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
404
405 [BZ #16713]
406 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
407 (__glibc_reserved0): New variable.
408 (sa_flags): Change type to int.
409
410 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
411
412 * posix/Makefile (before-compile): Use += before-compile instead
413 of a :=.
414
415 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
416
417 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
418 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
419
420 2014-03-20 Andreas Schwab <schwab@suse.de>
421
422 [BZ #16743]
423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
424 non-matching result from nscd.
425
426 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
427
428 * scripts/bench.py: Moved to ...
429 * benchtests/scripts/bench.py: ... here.
430 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
431
432 2014-03-24 Andreas Schwab <schwab@suse.de>
433
434 [BZ #16002]
435 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
436 alloca_account and account alloca use for struct in6ailist.
437
438 2014-03-24 Joseph Myers <joseph@codesourcery.com>
439
440 [BZ #16284]
441 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
442 rounding mode to recompute results that overflow to infinity or
443 underflow to zero.
444 * math/auto-libm-test-in: Don't mark tests as expected to fail for
445 bug 16284.
446 * math/auto-libm-test-out: Regenerated.
447 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
448 (ccosh_test): Likewise.
449 (csin_test_data): Use plus_oflow.
450 (csin_test): Use ALL_RM_TEST.
451 (csinh_test_data): Use plus_oflow.
452 (csinh_test): Use ALL_RM_TEST.
453 * sysdeps/i386/fpu/libm-test-ulps: Update.
454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
455
456 2014-03-21 Joseph Myers <joseph@codesourcery.com>
457
458 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
459 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
460 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
461
462 [BZ #16731]
463 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
464 when x - 1 is zero.
465 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
466 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
467 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
468 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
469 argument is 1.
470 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
471 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
472 zero.
473 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
474 * sysdeps/i386/fpu/libm-test-ulps: Update.
475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
476
477 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
478
479 * scripts/bench.pl: Remove file.
480 * scripts/bench.py: New benchmark script.
481 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
482 * benchtests/README: Mention python dependency.
483 * scripts/pylintrc: New file.
484 * scripts/pylint: New file.
485
486 * bits/mathdef.h: Use #ifdef instead of #if.
487 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
488 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
489 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
490 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
491 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
492 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
493
494 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
495 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
496
497 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
499 and strpbrk-ppc64 objects.
500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
501 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
502 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
503 multiarch strpbrk for POWER7.
504 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
505 multiarch strpbrk for PPC64.
506 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
507 ifunc selector.
508 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
509 strpbrk for POWER7.
510
511 2014-03-20 Joseph Myers <joseph@codesourcery.com>
512
513 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
514 (atan_test): Likewise.
515 (atanh_test_data): Use NO_TEST_INLINE for two tests.
516 (atanh_test): Use ALL_RM_TEST.
517 (atan2_test_data): Likewise.
518 (cabs_test): Likewise.
519 (cacosh_test): Likewise.
520 (carg_test): Likewise.
521 (casin_test): Likewise.
522 (casinh_test): Likewise.
523 (cbrt_test): Likewise.
524 (csqrt_test): Likewise.
525 (erf_test): Likewise.
526 (erfc_test): Likewise.
527 (pow10_test): Likewise.
528 (exp2_test): Likewise.
529 (hypot_test): Likewise.
530 (j0_test): Likewise.
531 (j1_test): Likewise.
532 (lgamma_test): Likewise.
533 (gamma_test): Likewise.
534 (sincos_test): Likewise.
535 (tanh_test): Likewise.
536 (y0_test): Likewise.
537 (y1_test): Likewise.
538 * sysdeps/i386/fpu/libm-test-ulps: Update.
539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
540
541 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
542
543 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
545 and strcspn-ppc64 objects.
546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
547 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
548 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
549 multiarch strcspn for POWER7.
550 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
551 multiarch strcspn for PPC64.
552 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
553 ifunc selector.
554 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
555 strcspn for POWER7.
556
557 2014-03-20 Joseph Myers <joseph@codesourcery.com>
558
559 * math/gen-libm-test.pl (generate_testfile): Expect only function
560 name as argument to AUTO_TESTS_* and pass results for all rounding
561 modes to parse_args.
562 (parse_auto_input): Separate inputs of automatic tests from
563 outputs before storing in %auto_tests.
564 * math/libm-test.inc (acos_test_data): Update call to
565 AUTO_TESTS_f_f.
566 (acos_test): Use ALL_RM_TEST.
567 (acos_tonearest_test_data): Remove.
568 (acos_test_tonearest): Likewise.
569 (acos_towardzero_test_data): Likewise.
570 (acos_test_towardzero): Likewise.
571 (acos_downward_test_data): Likewise.
572 (acos_test_downward): Likewise.
573 (acos_upward_test_data): Likewise.
574 (acos_test_upward): Likewise.
575 (acosh_test_data): Update call to AUTO_TESTS_f_f.
576 (asin_test_data): Likewise.
577 (asin_test): Use ALL_RM_TEST.
578 (asin_tonearest_test_data): Remove.
579 (asin_test_tonearest): Likewise.
580 (asin_towardzero_test_data): Likewise.
581 (asin_test_towardzero): Likewise.
582 (asin_downward_test_data): Likewise.
583 (asin_test_downward): Likewise.
584 (asin_upward_test_data): Likewise.
585 (asin_test_upward): Likewise.
586 (asinh_test_data): Update call to AUTO_TESTS_f_f.
587 (atan_test_data): Likewise.
588 (atanh_test_data): Likewise.
589 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
590 (cabs_test_data): Update call to AUTO_TESTS_c_f.
591 (carg_test_data): Likewise.
592 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
593 (ccos_test_data): Update call to AUTO_TESTS_c_c.
594 (ccosh_test_data): Likewise.
595 (cexp_test_data): Likewise.
596 (clog_test_data): Likewise.
597 (clog10_test_data): Likewise.
598 (cos_test_data): Update call to AUTO_TESTS_f_f.
599 (cos_test): Use ALL_RM_TEST.
600 (cos_tonearest_test_data): Remove.
601 (cos_test_tonearest): Likewise.
602 (cos_towardzero_test_data): Likewise.
603 (cos_test_towardzero): Likewise.
604 (cos_downward_test_data): Likewise.
605 (cos_test_downward): Likewise.
606 (cos_upward_test_data): Likewise.
607 (cos_test_upward): Likewise.
608 (cosh_test_data): Update call to AUTO_TESTS_f_f.
609 (cosh_test): Use ALL_RM_TEST.
610 (cosh_tonearest_test_data): Remove.
611 (cosh_test_tonearest): Likewise.
612 (cosh_towardzero_test_data): Likewise.
613 (cosh_test_towardzero): Likewise.
614 (cosh_downward_test_data): Likewise.
615 (cosh_test_downward): Likewise.
616 (cosh_upward_test_data): Likewise.
617 (cosh_test_upward): Likewise.
618 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
619 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
620 (ctan_test_data): Likewise.
621 (ctan_test): Use ALL_RM_TEST.
622 (ctan_tonearest_test_data): Remove.
623 (ctan_test_tonearest): Likewise.
624 (ctan_towardzero_test_data): Likewise.
625 (ctan_test_towardzero): Likewise.
626 (ctan_downward_test_data): Likewise.
627 (ctan_test_downward): Likewise.
628 (ctan_upward_test_data): Likewise.
629 (ctan_test_upward): Likewise.
630 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
631 (ctanh_test): Use ALL_RM_TEST.
632 (ctanh_tonearest_test_data): Remove.
633 (ctanh_test_tonearest): Likewise.
634 (ctanh_towardzero_test_data): Likewise.
635 (ctanh_test_towardzero): Likewise.
636 (ctanh_downward_test_data): Likewise.
637 (ctanh_test_downward): Likewise.
638 (ctanh_upward_test_data): Likewise.
639 (ctanh_test_upward): Likewise.
640 (erf_test_data): Update call to AUTO_TESTS_f_f.
641 (erfc_test_data): Likewise.
642 (exp_test_data): Likewise.
643 (exp_test): Use ALL_RM_TEST.
644 (exp_tonearest_test_data): Remove.
645 (exp_test_tonearest): Likewise.
646 (exp_towardzero_test_data): Likewise.
647 (exp_test_towardzero): Likewise.
648 (exp_downward_test_data): Likewise.
649 (exp_test_downward): Likewise.
650 (exp_upward_test_data): Likewise.
651 (exp_test_upward): Likewise.
652 (exp10_test_data): Update call to AUTO_TESTS_f_f.
653 (exp10_test): Use ALL_RM_TEST.
654 (exp10_tonearest_test_data): Remove.
655 (exp10_test_tonearest): Likewise.
656 (exp10_towardzero_test_data): Likewise.
657 (exp10_test_towardzero): Likewise.
658 (exp10_downward_test_data): Likewise.
659 (exp10_test_downward): Likewise.
660 (exp10_upward_test_data): Likewise.
661 (exp10_test_upward): Likewise.
662 (exp2_test_data): Update call to AUTO_TESTS_f_f.
663 (expm1_test_data): Likewise.
664 (expm1_test): Use ALL_RM_TEST.
665 (expm1_tonearest_test_data): Remove.
666 (expm1_test_tonearest): Likewise.
667 (expm1_towardzero_test_data): Likewise.
668 (expm1_test_towardzero): Likewise.
669 (expm1_downward_test_data): Likewise.
670 (expm1_test_downward): Likewise.
671 (expm1_upward_test_data): Likewise.
672 (expm1_test_upward): Likewise.
673 (fma_test_data): Update call to AUTO_TESTS_fff_f.
674 (fma_test): Use ALL_RM_TEST.
675 (fma_towardzero_test_data): Remove.
676 (fma_test_towardzero): Likewise.
677 (fma_downward_test_data): Likewise.
678 (fma_test_downward): Likewise.
679 (fma_upward_test_data): Likewise.
680 (fma_test_upward): Likewise.
681 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
682 (j0_test_data): Update call to AUTO_TESTS_f_f.
683 (j1_test_data): Likewise.
684 (jn_test_data): Update call to AUTO_TESTS_if_f.
685 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
686 (log_test_data): Update call to AUTO_TESTS_f_f.
687 (log10_test_data): Likewise.
688 (log1p_test_data): Likewise.
689 (log2_test_data): Likewise.
690 (pow_test_data): Update call to AUTO_TESTS_ff_f.
691 (pow_tonearest_test_data): Likewise.
692 (sin_test_data): Update call to AUTO_TESTS_f_f.
693 (sin_test): Use ALL_RM_TEST.
694 (sin_tonearest_test_data): Remove.
695 (sin_test_tonearest): Likewise.
696 (sin_towardzero_test_data): Likewise.
697 (sin_test_towardzero): Likewise.
698 (sin_downward_test_data): Likewise.
699 (sin_test_downward): Likewise.
700 (sin_upward_test_data): Likewise.
701 (sin_test_upward): Likewise.
702 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
703 (sinh_test_data): Update call to AUTO_TESTS_f_f.
704 (sinh_test): Use ALL_RM_TEST.
705 (sinh_tonearest_test_data): Remove.
706 (sinh_test_tonearest): Likewise.
707 (sinh_towardzero_test_data): Likewise.
708 (sinh_test_towardzero): Likewise.
709 (sinh_downward_test_data): Likewise.
710 (sinh_test_downward): Likewise.
711 (sinh_upward_test_data): Likewise.
712 (sinh_test_upward): Likewise.
713 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
714 (sqrt_test): Use ALL_RM_TEST.
715 (sqrt_tonearest_test_data): Remove.
716 (sqrt_test_tonearest): Likewise.
717 (sqrt_towardzero_test_data): Likewise.
718 (sqrt_test_towardzero): Likewise.
719 (sqrt_downward_test_data): Likewise.
720 (sqrt_test_downward): Likewise.
721 (sqrt_upward_test_data): Likewise.
722 (sqrt_test_upward): Likewise.
723 (tan_test_data): Update call to AUTO_TESTS_f_f.
724 (tan_test): Use ALL_RM_TEST.
725 (tan_tonearest_test_data): Remove.
726 (tan_test_tonearest): Likewise.
727 (tan_towardzero_test_data): Likewise.
728 (tan_test_towardzero): Likewise.
729 (tan_downward_test_data): Likewise.
730 (tan_test_downward): Likewise.
731 (tan_upward_test_data): Likewise.
732 (tan_test_upward): Likewise.
733 (tanh_test_data): Update call to AUTO_TESTS_f_f.
734 (tgamma_test_data): Likewise.
735 (y0_test_data): Likewise.
736 (y1_test_data): Likewise.
737 (yn_test_data): Update call to AUTO_TESTS_if_f.
738 (main): Do not call removed functions.
739
740 2014-03-19 Joseph Myers <joseph@codesourcery.com>
741
742 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
743 (ldexp_test_data): Remove.
744 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
745 scalbn_test_data.
746 (scalb_test): Use ALL_RM_TEST.
747
748 2014-03-19 Andreas Schwab <schwab@suse.de>
749
750 * nscd/nscd.service: Also invalidate netgroup cache on reload.
751
752 2014-03-19 Joseph Myers <joseph@codesourcery.com>
753
754 [BZ #16649]
755 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
756 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
757 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
758 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
759 (__ASSUME_PREADV): Undefine.
760 (__ASSUME_PWRITEV): Likewise.
761
762 2014-03-18 Roland McGrath <roland@hack.frob.com>
763
764 * bits/mman-linux.h: Add comment about non-Linux use.
765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
766 bits/mman-linux.h resting place.
767
768 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
769 * bits/mman-linux.h: ... here.
770
771 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
772
773 * conform/conformtest.pl: Add standard definition when calling C
774 preprocessor on data files.
775 (checknamespace): Remove unused variable.
776
777 2014-03-18 Joseph Myers <joseph@codesourcery.com>
778
779 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
780 minus_oflow, plus_uflow and minus_uflow in expected results.
781 * math/libm-test.inc (scalbn_test_data): Add more tests of
782 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
783 minus_uflow.
784 (scalbn_test): Use ALL_RM_TEST.
785 (scalbln_test_data): Add more tests of negative arguments. Use
786 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
787 (scalbln_test): Use ALL_RM_TEST.
788
789 2014-03-18 Roland McGrath <roland@hack.frob.com>
790
791 * scripts/abilist.awk: Ignore symbols marked with .hidden.
792
793 2014-03-18 Will Newton <will.newton@linaro.org>
794
795 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
796 inaccurate comment.
797
798 2014-03-18 Joseph Myers <joseph@codesourcery.com>
799
800 * Makerules [!subdir] (check-abi): Exit with error status if a
801 test failed.
802
803 2014-03-17 Joseph Myers <joseph@codesourcery.com>
804
805 * math/libm-test.inc (nearbyint_test_data): Include all tests used
806 for rint. Include results for all rounding modes.
807 (nearbyint_test): Use ALL_RM_TEST.
808 (rint_test_data): Include all tests used for nearbyint.
809
810 2014-03-17 Will Newton <will.newton@linaro.org>
811
812 * nptl/sysdeps/pthread/pthread.h: Revert previous
813 change.
814
815 * sysdeps/generic/ldsodefs.h: Revert previous
816 change.
817
818 * libio/genops.c: Revert previous change.
819 * libio/libioP.h: Likewise.
820 * stdio-common/vfprintf.c: Likewise.
821
822 * sysdeps/generic/math_private.h: Revert previous
823 change.
824
825 * sysdeps/generic/math_private.h: Check whether
826 HAVE_RM_CTX is defined with #ifdef rather
827 than #if.
828
829 * argp/argp-fmtstream.h: Check whether
830 __STRICT_ANSI__ is defined with #ifdef rather
831 than #if.
832 * argp/argp.h: Likewise.
833
834 * libio/genops.c: Check whether
835 _IO_JUMPS_OFFSET is defined with #ifdef rather
836 than #if.
837 * libio/libioP.h: Likewise.
838 * stdio-common/vfprintf.c: Likewise.
839
840 * sysdeps/generic/ldsodefs.h: Check whether
841 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
842 than #if.
843
844 * nptl/sysdeps/pthread/pthread.h: Check
845 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
846 its value.
847
848 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
849
850 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
851 setting O_APPEND.
852 * libio/tst-ftell-active-handler.c (do_append_test): Add a
853 test case.
854
855 [BZ #16680]
856 * libio/fileops.c (_IO_file_open): Seek to end of file but
857 don't cache the offset.
858 (get_file_offset): Remove function.
859 (do_ftell): Use cached offset when available.
860 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
861 don't cache the offset.
862 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
863 case.
864 (do_one_test): Call it.
865 (do_ftell_test): Fix up expected old offset for a+ mode.
866 * libio/wfileops.c (do_ftell_wide): Used cached offset when
867 available.
868
869 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
870 up test status with function return status.
871 (do_write_test): Likewise.
872 (do_append_test): Likewise.
873
874 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
875 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
876 Remove.
877
878 2014-03-17 Joseph Myers <joseph@codesourcery.com>
879
880 * math/gen-libm-test.pl (parse_args): Handle results specified for
881 each rounding mode separately.
882 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
883 tests and results from lrint_tonearest_test_data,
884 lrint_towardzero_test_data, lrint_downward_test_data and
885 lrint_upward_test_data.
886 (lrint_test): Use ALL_RM_TEST.
887 (lrint_tonearest_test_data): Remove.
888 (lrint_test_tonearest): Likewise.
889 (lrint_towardzero_test_data): Likewise.
890 (lrint_test_towardzero): Likewise.
891 (lrint_downward_test_data): Likewise.
892 (lrint_test_downward): Likewise.
893 (lrint_upward_test_data): Likewise.
894 (lrint_test_upward): Likewise.
895 (llrint_test_data): Merge in per-rounding-mode tests and results
896 from llrint_tonearest_test_data, llrint_towardzero_test_data,
897 llrint_downward_test_data and llrint_upward_test_data.
898 (llrint_test): Use ALL_RM_TEST.
899 (llrint_tonearest_test_data): Remove.
900 (llrint_test_tonearest): Likewise.
901 (llrint_towardzero_test_data): Likewise.
902 (llrint_test_towardzero): Likewise.
903 (llrint_downward_test_data): Likewise.
904 (llrint_test_downward): Likewise.
905 (llrint_upward_test_data): Likewise.
906 (llrint_test_upward): Likewise.
907 (rint_test_data): Merge in per-rounding-mode tests and results
908 from rint_tonearest_test_data, rint_towardzero_test_data,
909 rint_downward_test_data and rint_upward_test_data. Add
910 per-rounding-mode results for tests not in those arrays.
911 (rint_test): Use ALL_RM_TEST.
912 (rint_tonearest_test_data): Remove.
913 (rint_test_tonearest): Likewise.
914 (rint_towardzero_test_data): Likewise.
915 (rint_test_towardzero): Likewise.
916 (rint_downward_test_data): Likewise.
917 (rint_test_downward): Likewise.
918 (rint_upward_test_data): Likewise.
919 (rint_test_upward): Likewise.
920 (main): Don't call removed functions.
921
922 2014-03-14 Roland McGrath <roland@hack.frob.com>
923
924 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
925 "Compiled on ..." crapola. It is anti-useful.
926
927 2014-03-14 Joseph Myers <joseph@codesourcery.com>
928
929 * scripts/evaluate-test.sh: Handle fourth argument to determine
930 whether test run should stop on failure.
931 * Makeconfig (stop-on-test-failure): New variable.
932 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
933 $(stop-on-test-failure).
934 * Makefile (tests): Give a summary of results from testing and
935 exit with failure status if they include an ERROR or FAIL.
936 (xtests): Likewise.
937 * manual/install.texi (Configuring and compiling): Mention
938 stop-on-test-failure=y.
939 * INSTALL: Regenerated.
940
941 2014-03-14 Roland McGrath <roland@hack.frob.com>
942
943 * scripts/versionlist.awk: New file.
944 * Makerules [$(build-shared) = yes]
945 (postclean-generated): Add Versions.def, not Versions.def.v and
946 Versions.def.v.i.
947 ($(common-objpfx)Versions.def.v.i): Target removed.
948 ($(common-objpfx)Versions.def): New target.
949 ($(common-objpfx)Versions.all): Depend on that rather that
950 $(common-objpfx)Versions.def.v.
951 * Versions.def: File removed.
952
953 * Makeconfig (+gccwarn): Add -Wundef.
954 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
955 a dl-sysdep.h breaking its contract.
956 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
957 * include/stackinfo.h: New file.
958 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
959 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
960 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
961 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
962 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
963 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
964 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
965 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
966 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
967 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
968 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
969 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
970 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
971 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
972 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
973
974 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
975
976 [BZ #16707]
977 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
978 implementation.
979 * math/libm-test.inc (round_test_data): Add more tests.
980
981 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
982
983 [BZ #16706]
984 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
985 implementation.
986 * math/libm-test.inc (nearbyint_test_data): Add more tests.
987
988 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
989
990 [BZ #16701]
991 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
992 implementation.
993 * math/libm-test.inc (ceil_test_data): Add more tests.
994
995 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
996
997 * math/libm-test.inc (trunc_test_data): Add more tests related to
998 BZ#16414.
999
1000 2014-03-14 Roland McGrath <roland@hack.frob.com>
1001
1002 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1003 with #if rather than #ifdef.
1004 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1005
1006 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1007
1008 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1009 first. Disable AVX-512 GCC support if assembler doesn't support
1010 it.
1011 * sysdeps/x86_64/configure: Regenerated.
1012
1013 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1014
1015 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1016 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1017 (__old_pthread_attr_setstack): Likewise.
1018 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1019 [!_STACK_GROWS_DOWN]: Likewise.
1020
1021 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1022
1023 * config.make.in (have-bash2): Delete.
1024 * configure.ac (libc_cv_have_bash2): Delete.
1025 * configure: Regenerate.
1026 * elf/Makefile (common-ldd-rewrite): Rename to ...
1027 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1028 (sh-ldd-rewrite): Delete.
1029 (bash-ldd-rewrite): Delete.
1030 (have-bash2): Delete checks.
1031 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1032
1033 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1034
1035 * config.make.in (have-ksh): Delete.
1036 (KSH): Delete.
1037 * configure.ac (libc_cv_have_ksh): Delete.
1038 * configure: Regenerate.
1039
1040 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1041
1042 * elf/Makefile: Delete $(have-ksh) check.
1043 ($(objpfx)sotruss): Change KSH to BASH.
1044 * elf/sotruss.ksh: Rename to ...
1045 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1046 function style to match POSIX. Drop ksh vim mode setting.
1047
1048 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1049
1050 * manual/time.texi (Specifying the Time Zone with TZ): Change
1051 Tuesday to Thursday.
1052
1053 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1054
1055 * debug/tst-longjmp_chk2.c: Update header comment.
1056 (stackoverflow_handler): Add comment. Call assert on pass value.
1057
1058 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1059
1060 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1061 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1062 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1063 (La_x86_64_vector): Add zmm.
1064 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1065 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1066 ($(objpfx)tst-audit10): New target.
1067 ($(objpfx)tst-audit10.out): Likewise.
1068 (tst-audit10-ENV): New.
1069 (AVX512-CFLAGS): Likewise.
1070 (CFLAGS-tst-audit10.c): Likewise.
1071 (CFLAGS-tst-auditmod10a.c): Likewise.
1072 (CFLAGS-tst-auditmod10b.c): Likewise.
1073 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1074 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1075 * sysdeps/x86_64/configure: Regenerated.
1076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1077 AVX-512 zmm register support.
1078 (_dl_x86_64_save_sse): Likewise.
1079 (_dl_x86_64_restore_sse): Likewise.
1080 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1081 size vector registers.
1082 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1083 (ZMM_SIZE): Likewise.
1084 * sysdeps/x86_64/tst-audit10.c: New file.
1085 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1086 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1087
1088 2014-03-13 Roland McGrath <roland@hack.frob.com>
1089
1090 * configure.ac (HAVE_EHDR_START): New check.
1091 * configure: Regenerated.
1092 * config.h.in (HAVE_EHDR_START): New #undef.
1093 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1094 assuming the lowest-addressed segment maps the start of the file.
1095
1096 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1097
1098 * INSTALL: Regenerated.
1099
1100 2014-03-13 Will Newton <will.newton@linaro.org>
1101
1102 * manual/setjmp.texi (System V contexts): Improve
1103 clarity and grammar of documentation.
1104
1105 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1106
1107 [BZ #16381]
1108 * elf/Makefile (tests): Add tst-pie2.
1109 (tests-pie): Add tst-pie2.
1110 * elf/tst-pie2.c: New file.
1111 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1112 for ET_EXEC.
1113 * elf/rtld.c (map_doit): Load executable as lt_executable.
1114 (dl_main): Likewise.
1115
1116 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1117
1118 [BZ #16642]
1119 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1120 (__ASSUME_PSELECT): Undefine.
1121
1122 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123
1124 [BZ #16689]
1125 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1126 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1127 static build.
1128 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1129 selector for static builds.
1130
1131 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1132
1133 [BZ #16695]
1134 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1135 key in the buffer.
1136
1137 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1138
1139 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1140 selector for static builds.
1141
1142 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1143
1144 * sysdeps/mips/math_private.h [__mips_hard_float]
1145 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1146 libc_feresetround_mips_ctx.
1147 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1148 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1149 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1150
1151 [BZ #16677]
1152 * math/s_nextafter.c (__nextafter): Do not return value from
1153 overflowing computation.
1154 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1155 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1156 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1157 Likewise.
1158 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1159 Likewise.
1160 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1161 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1162
1163 2014-03-11 Roland McGrath <roland@hack.frob.com>
1164
1165 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1166 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1167 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1168 the new mov targetting sp.
1169
1170 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1171
1172 [BZ #16683]
1173 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1174 Define it for static builds as well.
1175 (NO_BZERO_IMPL): Likewise.
1176
1177 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1178
1179 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1180 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1181 multiarch strspn for PPC64.
1182 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1183 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1185 (__libc_ifunc_impl_list): Likewise.
1186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1187 multiarch optimizations
1188 * string/strspn.c (strspn): Using macro to redefine symbol name.
1189
1190 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1191 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1192
1193 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1194 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1195 multiarch strncat for PPC64.
1196 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1197 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1199 (__libc_ifunc_impl_list): Likewise.
1200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1201 multiarch optimizations
1202
1203 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1204
1205 [BZ #16639]
1206 * nscd/nscd.service: Make service type forking.
1207
1208 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1209
1210 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1211 sign in non default rounding modes.
1212 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1213
1214 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1215
1216 * math/libm-test.inc (ALL_RM_TEST): New macro.
1217 (ceil_test): Use ALL_RM_TEST.
1218 (cimag_test): Likewise.
1219 (conj_test): Likewise.
1220 (copysign_test): Likewise.
1221 (cproj_test): Likewise.
1222 (creal_test): Likewise.
1223 (fabs_test): Likewise.
1224 (floor_test): Likewise.
1225 (fmax_test): Likewise.
1226 (fmin_test): Likewise.
1227 (fmod_test): Likewise.
1228 (fpclassify_test): Likewise.
1229 (frexp_test): Likewise.
1230 (ilogb_test): Likewise.
1231 (isfinite_test): Likewise.
1232 (finite_test): Likewise.
1233 (isgreater_test): Likewise.
1234 (isgreaterequal_test): Likewise.
1235 (isinf_test): Likewise.
1236 (isless_test): Likewise.
1237 (islessequal_test): Likewise.
1238 (islessgreater_test): Likewise.
1239 (isnan_test): Likewise.
1240 (isnormal_test): Likewise.
1241 (issignaling_test): Likewise.
1242 (isunordered_test): Likewise.
1243 (logb_test): Likewise.
1244 (logb_downward_test_data): Remove.
1245 (logb_test_downward): Likewise.
1246 (lround_test): Use ALL_RM_TEST.
1247 (llround_test): Likewise.
1248 (modf_test): Likewise.
1249 (nexttoward_test): Likewise.
1250 (remainder_test): Likewise.
1251 (drem_test): Likewise.
1252 (remainder_tonearest_test_data): Likewise.
1253 (remainder_test_tonearest): Likewise.
1254 (drem_test_tonearest): Likewise.
1255 (remainder_towardzero_test_data): Likewise.
1256 (remainder_test_towardzero): Likewise.
1257 (drem_test_towardzero): Likewise.
1258 (remainder_downward_test_data): Likewise.
1259 (remainder_test_downward): Likewise.
1260 (drem_test_downward): Likewise.
1261 (remainder_upward_test_data): Likewise.
1262 (remainder_test_upward): Likewise.
1263 (drem_test_upward): Likewise.
1264 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1265 (round_test): Use ALL_RM_TEST.
1266 (signbit_test): Likewise.
1267 (trunc_test): Likewise.
1268 (significand_test): Likewise.
1269 (main): Don't call removed functions.
1270
1271 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1272
1273 [BZ #16674]
1274 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1275 || __USE_XOPEN2K8].
1276 (ILL_ILLOPN): Likewise.
1277 (ILL_ILLADR): Likewise.
1278 (ILL_ILLTRP): Likewise.
1279 (ILL_PRVOPC): Likewise.
1280 (ILL_PRVREG): Likewise.
1281 (ILL_COPROC): Likewise.
1282 (ILL_BADSTK): Likewise.
1283 (FPE_INTDIV): Likewise.
1284 (FPE_INTOVF): Likewise.
1285 (FPE_FLTDIV): Likewise.
1286 (FPE_FLTOVF): Likewise.
1287 (FPE_FLTUND): Likewise.
1288 (FPE_FLTRES): Likewise.
1289 (FPE_FLTINV): Likewise.
1290 (FPE_FLTSUB): Likewise.
1291 (SEGV_MAPERR): Likewise.
1292 (SEGV_ACCERR): Likewise.
1293 (BUS_ADRALN): Likewise.
1294 (BUS_ADRERR): Likewise.
1295 (BUS_OBJERR): Likewise.
1296 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1297 (TRAP_TRACE): Likewise.
1298 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1299 __USE_XOPEN2K8].
1300 (CLD_KILLED): Likewise.
1301 (CLD_DUMPED): Likewise.
1302 (CLD_TRAPPED): Likewise.
1303 (CLD_STOPPED): Likewise.
1304 (CLD_CONTINUED): Likewise.
1305 (POLL_IN): Likewise.
1306 (POLL_OUT): Likewise.
1307 (POLL_MSG): Likewise.
1308 (POLL_ERR): Likewise.
1309 (POLL_PRI): Likewise.
1310 (POLL_HUP): Likewise.
1311 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1312 Likewise.
1313 (ILL_ILLOPN): Likewise.
1314 (ILL_ILLADR): Likewise.
1315 (ILL_ILLTRP): Likewise.
1316 (ILL_PRVOPC): Likewise.
1317 (ILL_PRVREG): Likewise.
1318 (ILL_COPROC): Likewise.
1319 (ILL_BADSTK): Likewise.
1320 (FPE_INTDIV): Likewise.
1321 (FPE_INTOVF): Likewise.
1322 (FPE_FLTDIV): Likewise.
1323 (FPE_FLTOVF): Likewise.
1324 (FPE_FLTUND): Likewise.
1325 (FPE_FLTRES): Likewise.
1326 (FPE_FLTINV): Likewise.
1327 (FPE_FLTSUB): Likewise.
1328 (SEGV_MAPERR): Likewise.
1329 (SEGV_ACCERR): Likewise.
1330 (BUS_ADRALN): Likewise.
1331 (BUS_ADRERR): Likewise.
1332 (BUS_OBJERR): Likewise.
1333 (BUS_MCEERR_AR): Likewise.
1334 (BUS_MCEERR_AO): Likewise.
1335 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1336 (TRAP_TRACE): Likewise.
1337 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1338 __USE_XOPEN2K8].
1339 (CLD_KILLED): Likewise.
1340 (CLD_DUMPED): Likewise.
1341 (CLD_TRAPPED): Likewise.
1342 (CLD_STOPPED): Likewise.
1343 (CLD_CONTINUED): Likewise.
1344 (POLL_IN): Likewise.
1345 (POLL_OUT): Likewise.
1346 (POLL_MSG): Likewise.
1347 (POLL_ERR): Likewise.
1348 (POLL_PRI): Likewise.
1349 (POLL_HUP): Likewise.
1350 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1351 (ILL_ILLOPN): Likewise.
1352 (ILL_ILLADR): Likewise.
1353 (ILL_ILLTRP): Likewise.
1354 (ILL_PRVOPC): Likewise.
1355 (ILL_PRVREG): Likewise.
1356 (ILL_COPROC): Likewise.
1357 (ILL_BADSTK): Likewise.
1358 (FPE_INTDIV): Likewise.
1359 (FPE_INTOVF): Likewise.
1360 (FPE_FLTDIV): Likewise.
1361 (FPE_FLTOVF): Likewise.
1362 (FPE_FLTUND): Likewise.
1363 (FPE_FLTRES): Likewise.
1364 (FPE_FLTINV): Likewise.
1365 (FPE_FLTSUB): Likewise.
1366 (SEGV_MAPERR): Likewise.
1367 (SEGV_ACCERR): Likewise.
1368 (BUS_ADRALN): Likewise.
1369 (BUS_ADRERR): Likewise.
1370 (BUS_OBJERR): Likewise.
1371 (BUS_MCEERR_AR): Likewise.
1372 (BUS_MCEERR_AO): Likewise.
1373 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1374 (TRAP_TRACE): Likewise.
1375 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1376 __USE_XOPEN2K8].
1377 (CLD_KILLED): Likewise.
1378 (CLD_DUMPED): Likewise.
1379 (CLD_TRAPPED): Likewise.
1380 (CLD_STOPPED): Likewise.
1381 (CLD_CONTINUED): Likewise.
1382 (POLL_IN): Likewise.
1383 (POLL_OUT): Likewise.
1384 (POLL_MSG): Likewise.
1385 (POLL_ERR): Likewise.
1386 (POLL_PRI): Likewise.
1387 (POLL_HUP): Likewise.
1388 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1389 Likewise.
1390 (ILL_ILLOPN): Likewise.
1391 (ILL_ILLADR): Likewise.
1392 (ILL_ILLTRP): Likewise.
1393 (ILL_PRVOPC): Likewise.
1394 (ILL_PRVREG): Likewise.
1395 (ILL_COPROC): Likewise.
1396 (ILL_BADSTK): Likewise.
1397 (ILL_BADIADDR): Likewise.
1398 (ILL_BREAK): Likewise.
1399 (FPE_INTDIV): Likewise.
1400 (FPE_INTOVF): Likewise.
1401 (FPE_FLTDIV): Likewise.
1402 (FPE_FLTOVF): Likewise.
1403 (FPE_FLTUND): Likewise.
1404 (FPE_FLTRES): Likewise.
1405 (FPE_FLTINV): Likewise.
1406 (FPE_FLTSUB): Likewise.
1407 (FPE_DECOVF): Likewise.
1408 (FPE_DECDIV): Likewise.
1409 (FPE_DECERR): Likewise.
1410 (FPE_INVASC): Likewise.
1411 (FPE_INVDEC): Likewise.
1412 (SEGV_MAPERR): Likewise.
1413 (SEGV_ACCERR): Likewise.
1414 (SEGV_PSTKOVF): Likewise.
1415 (BUS_ADRALN): Likewise.
1416 (BUS_ADRERR): Likewise.
1417 (BUS_OBJERR): Likewise.
1418 (BUS_MCEERR_AR): Likewise.
1419 (BUS_MCEERR_AO): Likewise.
1420 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1421 (TRAP_TRACE): Likewise.
1422 (TRAP_BRANCH): Likewise.
1423 (TRAP_HWBKPT): Likewise.
1424 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1425 __USE_XOPEN2K8].
1426 (CLD_KILLED): Likewise.
1427 (CLD_DUMPED): Likewise.
1428 (CLD_TRAPPED): Likewise.
1429 (CLD_STOPPED): Likewise.
1430 (CLD_CONTINUED): Likewise.
1431 (POLL_IN): Likewise.
1432 (POLL_OUT): Likewise.
1433 (POLL_MSG): Likewise.
1434 (POLL_ERR): Likewise.
1435 (POLL_PRI): Likewise.
1436 (POLL_HUP): Likewise.
1437 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1438 (ILL_ILLOPN): Likewise.
1439 (ILL_ILLADR): Likewise.
1440 (ILL_ILLTRP): Likewise.
1441 (ILL_PRVOPC): Likewise.
1442 (ILL_PRVREG): Likewise.
1443 (ILL_COPROC): Likewise.
1444 (ILL_BADSTK): Likewise.
1445 (FPE_INTDIV): Likewise.
1446 (FPE_INTOVF): Likewise.
1447 (FPE_FLTDIV): Likewise.
1448 (FPE_FLTOVF): Likewise.
1449 (FPE_FLTUND): Likewise.
1450 (FPE_FLTRES): Likewise.
1451 (FPE_FLTINV): Likewise.
1452 (FPE_FLTSUB): Likewise.
1453 (SEGV_MAPERR): Likewise.
1454 (SEGV_ACCERR): Likewise.
1455 (BUS_ADRALN): Likewise.
1456 (BUS_ADRERR): Likewise.
1457 (BUS_OBJERR): Likewise.
1458 (BUS_MCEERR_AR): Likewise.
1459 (BUS_MCEERR_AO): Likewise.
1460 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1461 (TRAP_TRACE): Likewise.
1462 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1463 __USE_XOPEN2K8].
1464 (CLD_KILLED): Likewise.
1465 (CLD_DUMPED): Likewise.
1466 (CLD_TRAPPED): Likewise.
1467 (CLD_STOPPED): Likewise.
1468 (CLD_CONTINUED): Likewise.
1469 (POLL_IN): Likewise.
1470 (POLL_OUT): Likewise.
1471 (POLL_MSG): Likewise.
1472 (POLL_ERR): Likewise.
1473 (POLL_PRI): Likewise.
1474 (POLL_HUP): Likewise.
1475 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1476 (ILL_ILLOPN): Likewise.
1477 (ILL_ILLADR): Likewise.
1478 (ILL_ILLTRP): Likewise.
1479 (ILL_PRVOPC): Likewise.
1480 (ILL_PRVREG): Likewise.
1481 (ILL_COPROC): Likewise.
1482 (ILL_BADSTK): Likewise.
1483 (FPE_INTDIV): Likewise.
1484 (FPE_INTOVF): Likewise.
1485 (FPE_FLTDIV): Likewise.
1486 (FPE_FLTOVF): Likewise.
1487 (FPE_FLTUND): Likewise.
1488 (FPE_FLTRES): Likewise.
1489 (FPE_FLTINV): Likewise.
1490 (FPE_FLTSUB): Likewise.
1491 (SEGV_MAPERR): Likewise.
1492 (SEGV_ACCERR): Likewise.
1493 (BUS_ADRALN): Likewise.
1494 (BUS_ADRERR): Likewise.
1495 (BUS_OBJERR): Likewise.
1496 (BUS_MCEERR_AR): Likewise.
1497 (BUS_MCEERR_AO): Likewise.
1498 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1499 (TRAP_TRACE): Likewise.
1500 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1501 __USE_XOPEN2K8].
1502 (CLD_KILLED): Likewise.
1503 (CLD_DUMPED): Likewise.
1504 (CLD_TRAPPED): Likewise.
1505 (CLD_STOPPED): Likewise.
1506 (CLD_CONTINUED): Likewise.
1507 (POLL_IN): Likewise.
1508 (POLL_OUT): Likewise.
1509 (POLL_MSG): Likewise.
1510 (POLL_ERR): Likewise.
1511 (POLL_PRI): Likewise.
1512 (POLL_HUP): Likewise.
1513 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1514 (ILL_ILLOPN): Likewise.
1515 (ILL_ILLADR): Likewise.
1516 (ILL_ILLTRP): Likewise.
1517 (ILL_PRVOPC): Likewise.
1518 (ILL_PRVREG): Likewise.
1519 (ILL_COPROC): Likewise.
1520 (ILL_BADSTK): Likewise.
1521 (FPE_INTDIV): Likewise.
1522 (FPE_INTOVF): Likewise.
1523 (FPE_FLTDIV): Likewise.
1524 (FPE_FLTOVF): Likewise.
1525 (FPE_FLTUND): Likewise.
1526 (FPE_FLTRES): Likewise.
1527 (FPE_FLTINV): Likewise.
1528 (FPE_FLTSUB): Likewise.
1529 (SEGV_MAPERR): Likewise.
1530 (SEGV_ACCERR): Likewise.
1531 (BUS_ADRALN): Likewise.
1532 (BUS_ADRERR): Likewise.
1533 (BUS_OBJERR): Likewise.
1534 (BUS_MCEERR_AR): Likewise.
1535 (BUS_MCEERR_AO): Likewise.
1536 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1537 (TRAP_TRACE): Likewise.
1538 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1539 __USE_XOPEN2K8].
1540 (CLD_KILLED): Likewise.
1541 (CLD_DUMPED): Likewise.
1542 (CLD_TRAPPED): Likewise.
1543 (CLD_STOPPED): Likewise.
1544 (CLD_CONTINUED): Likewise.
1545 (POLL_IN): Likewise.
1546 (POLL_OUT): Likewise.
1547 (POLL_MSG): Likewise.
1548 (POLL_ERR): Likewise.
1549 (POLL_PRI): Likewise.
1550 (POLL_HUP): Likewise.
1551 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1552 (ILL_ILLOPN): Likewise.
1553 (ILL_ILLADR): Likewise.
1554 (ILL_ILLTRP): Likewise.
1555 (ILL_PRVOPC): Likewise.
1556 (ILL_PRVREG): Likewise.
1557 (ILL_COPROC): Likewise.
1558 (ILL_BADSTK): Likewise.
1559 (ILL_DBLFLT): Likewise.
1560 (ILL_HARDWALL): Likewise.
1561 (FPE_INTDIV): Likewise.
1562 (FPE_INTOVF): Likewise.
1563 (FPE_FLTDIV): Likewise.
1564 (FPE_FLTOVF): Likewise.
1565 (FPE_FLTUND): Likewise.
1566 (FPE_FLTRES): Likewise.
1567 (FPE_FLTINV): Likewise.
1568 (FPE_FLTSUB): Likewise.
1569 (SEGV_MAPERR): Likewise.
1570 (SEGV_ACCERR): Likewise.
1571 (BUS_ADRALN): Likewise.
1572 (BUS_ADRERR): Likewise.
1573 (BUS_OBJERR): Likewise.
1574 (BUS_MCEERR_AR): Likewise.
1575 (BUS_MCEERR_AO): Likewise.
1576 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1577 (TRAP_TRACE): Likewise.
1578 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1579 __USE_XOPEN2K8].
1580 (CLD_KILLED): Likewise.
1581 (CLD_DUMPED): Likewise.
1582 (CLD_TRAPPED): Likewise.
1583 (CLD_STOPPED): Likewise.
1584 (CLD_CONTINUED): Likewise.
1585 (POLL_IN): Likewise.
1586 (POLL_OUT): Likewise.
1587 (POLL_MSG): Likewise.
1588 (POLL_ERR): Likewise.
1589 (POLL_PRI): Likewise.
1590 (POLL_HUP): Likewise.
1591 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1592 (ILL_ILLOPN): Likewise.
1593 (ILL_ILLADR): Likewise.
1594 (ILL_ILLTRP): Likewise.
1595 (ILL_PRVOPC): Likewise.
1596 (ILL_PRVREG): Likewise.
1597 (ILL_COPROC): Likewise.
1598 (ILL_BADSTK): Likewise.
1599 (FPE_INTDIV): Likewise.
1600 (FPE_INTOVF): Likewise.
1601 (FPE_FLTDIV): Likewise.
1602 (FPE_FLTOVF): Likewise.
1603 (FPE_FLTUND): Likewise.
1604 (FPE_FLTRES): Likewise.
1605 (FPE_FLTINV): Likewise.
1606 (FPE_FLTSUB): Likewise.
1607 (SEGV_MAPERR): Likewise.
1608 (SEGV_ACCERR): Likewise.
1609 (BUS_ADRALN): Likewise.
1610 (BUS_ADRERR): Likewise.
1611 (BUS_OBJERR): Likewise.
1612 (BUS_MCEERR_AR): Likewise.
1613 (BUS_MCEERR_AO): Likewise.
1614 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1615 (TRAP_TRACE): Likewise.
1616 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1617 __USE_XOPEN2K8].
1618 (CLD_KILLED): Likewise.
1619 (CLD_DUMPED): Likewise.
1620 (CLD_TRAPPED): Likewise.
1621 (CLD_STOPPED): Likewise.
1622 (CLD_CONTINUED): Likewise.
1623 (POLL_IN): Likewise.
1624 (POLL_OUT): Likewise.
1625 (POLL_MSG): Likewise.
1626 (POLL_ERR): Likewise.
1627 (POLL_PRI): Likewise.
1628 (POLL_HUP): Likewise.
1629 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1630 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1631
1632 [BZ #16670]
1633 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1634 before #include of <time.h>.
1635 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1636 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1637 (test-xfail-UNIX98/sched.h/conform): Likewise.
1638
1639 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1640
1641 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1642 error absence of trapping exception support.
1643 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1644
1645 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1646
1647 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1648 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1649 * timezone/Makefile (testdata): Move definition above include of
1650 Rules.
1651 (test-zones): New variable.
1652 (tests-special): Add zone files.
1653 (build-testdata): Use $(evaluate-test).
1654
1655 * elf/Makefile (tests-special): Rename tests to end with .out.
1656 ($(objpfx)noload-mem): Likewise.
1657 ($(objpfx)tst-leaks1-mem): Likewise.
1658 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1659 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1660 $(objpfx)test-iconvconfig.out.
1661 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1662 set -e inside subshell and redirect output to file.
1663 * iconvdata/Makefile (generated): Rename tests to end with .out.
1664 Correct type.
1665 (tests-special): Rename tests to end with .out.
1666 ($(objpfx)mtrace-tst-loading): Likewise.
1667 * intl/Makefile (generated): Likewise.
1668 (tests-special): Likewise.
1669 ($(objpfx)mtrace-tst-gettext): Likewise.
1670 * misc/Makefile (generated): Likewise.
1671 (tests-special): Likewise.
1672 ($(objpfx)tst-error1-mem): Likewise.
1673 * nptl/Makefile (tests-special): Likewise.
1674 ($(objpfx)tst-stack3-mem): Likewise.
1675 (generated): Likewise.
1676 * posix/Makefile (generated): Likewise.
1677 (tests-special): Likewise.
1678 (xtests-special): Likewise.
1679 ($(objpfx)tst-fnmatch-mem): Likewise.
1680 ($(objpfx)bug-regex2-mem): Likewise.
1681 ($(objpfx)bug-regex14-mem): Likewise.
1682 ($(objpfx)bug-regex21-mem): Likewise.
1683 ($(objpfx)bug-regex31-mem): Likewise.
1684 ($(objpfx)tst-vfork3-mem): Likewise.
1685 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1686 ($(objpfx)tst-pcre-mem): Likewise.
1687 ($(objpfx)tst-boost-mem): Likewise.
1688 ($(objpfx)bug-ga2-mem): Likewise.
1689 ($(objpfx)bug-glob2-mem): Likewise.
1690 * resolv/Makefile (generate): Likewise.
1691 (tests-special): Likewise.
1692 (xtests-special): Likewise.
1693 (generated): Likewise.
1694 ($(objpfx)mtrace-tst-leaks): Likewise.
1695 ($(objpfx)mtrace-tst-leaks2): Likewise.
1696
1697 * scripts/merge-test-results.sh: New file.
1698 * Makefile (tests-special-notdir): New variable.
1699 (tests): Run merge-test-results.sh.
1700 (xtests): Likewise.
1701 * Rules (tests-special-notdir): New variable.
1702 (xtests-special-notdir): Likewise.
1703 (tests): Run merge-test-results.sh
1704 (xtests): Likewise.
1705
1706 * Makeconfig (test-xfail-name): New variable.
1707 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1708 compute variable name for expected failures.
1709 * conform/Makefile (conformtest-headers-data): New variable.
1710 (conformtest-standards): Likewise.
1711 (conformtest-headers-ISO): Likewise.
1712 (conformtest-headers-ISO99): Likewise.
1713 (conformtest-headers-ISO11): Likewise.
1714 (conformtest-headers-POSIX): Likewise.
1715 (conformtest-headers-XPG3): Likewise.
1716 (conformtest-headers-XPG4): Likewise.
1717 (conformtest-headers-UNIX98): Likewise.
1718 (conformtest-headers-XOPEN2K): Likewise.
1719 (conformtest-headers-POSIX2008): Likewise.
1720 (conformtest-headers-XOPEN2K8): Likewise.
1721 (conformtest-header-list-base): Likewise.
1722 (conformtest-header-list-tests): Likewise.
1723 (conformtest-header-base): Likewise.
1724 (conformtest-header-tests): Likewise.
1725 (tests-special): Add $(conformtest-header-list-tests). If
1726 [$(fast-check) && !$(cross-compiling)], add
1727 $(conformtest-header-tests) instead of
1728 $(objpfx)run-conformtest.out.
1729 (generated): Add $(conformtest-header-list-base). If
1730 [$(fast-check) && !$(cross-compiling)], add
1731 $(conformtest-header-base). Remove previous setting.
1732 ($(conformtest-header-list-tests)): New target.
1733 (test-xfail-run-conformtest): Remove variable.
1734 ($(objpfx)run-conformtest.out): Remove target.
1735 (test-xfail-ISO11/complex.h/conform): New variable.
1736 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1737 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1738 (test-xfail-XPG3/varargs.h/conform): Likewise.
1739 (test-xfail-XPG4/varargs.h/conform): Likewise.
1740 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1741 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1742 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1743 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1744 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1745 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1746 (test-xfail-XPG3/ftw.h/conform): Likewise.
1747 (test-xfail-XPG3/grp.h/conform): Likewise.
1748 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1749 (test-xfail-XPG3/limits.h/conform): Likewise.
1750 (test-xfail-XPG3/pwd.h/conform): Likewise.
1751 (test-xfail-XPG3/search.h/conform): Likewise.
1752 (test-xfail-XPG3/signal.h/conform): Likewise.
1753 (test-xfail-XPG3/stdio.h/conform): Likewise.
1754 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1755 (test-xfail-XPG3/string.h/conform): Likewise.
1756 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1757 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1758 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1759 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1760 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1761 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1762 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1763 (test-xfail-XPG3/termios.h/conform): Likewise.
1764 (test-xfail-XPG3/time.h/conform): Likewise.
1765 (test-xfail-XPG3/unistd.h/conform): Likewise.
1766 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1767 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1768 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1769 (test-xfail-XPG4/netdb.h/conform): Likewise.
1770 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1771 (test-xfail-XPG4/signal.h/conform): Likewise.
1772 (test-xfail-XPG4/stdio.h/conform): Likewise.
1773 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1774 (test-xfail-XPG4/stropts.h/conform): Likewise.
1775 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1776 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1777 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1778 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1779 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1780 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1781 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1782 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1783 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1784 (test-xfail-XPG4/termios.h/conform): Likewise.
1785 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1786 (test-xfail-XPG4/unistd.h/conform): Likewise.
1787 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1788 (test-xfail-POSIX/sched.h/conform): Likewise.
1789 (test-xfail-POSIX/signal.h/conform): Likewise.
1790 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1791 (test-xfail-POSIX/tar.h/conform): Likewise.
1792 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1793 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1794 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1795 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1796 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1797 (test-xfail-UNIX98/sched.h/conform): Likewise.
1798 (test-xfail-UNIX98/signal.h/conform): Likewise.
1799 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1800 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1801 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1802 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1803 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1804 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1805 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1806 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1807 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1808 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1809 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1810 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1811 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1812 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1813 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1814 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1815 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1816 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1817 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1818 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1819 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1820 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1821 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1822 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1823 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1824 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1825 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1826 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1827 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1828 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1829 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1830 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1831 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1832 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1833 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1834 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1835 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1836 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1837 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1838 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1839 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1840 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1841 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1842 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1843 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1844 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1845 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1846 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1847 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1848 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1849 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1850 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1851 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1852 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1853 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1854 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1855 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1856 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1857 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1858 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1859 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1860 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1861 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1862 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1863 (conformtest-cc-flags): Likewise.
1864 ($(conformtest-header-tests): New target.
1865 * conform/check-header-lists.sh: New file.
1866 * conform/run-conformtest.sh: Remove.
1867
1868 * conform/conformtest.pl: Allow ' and \ in values given for
1869 constants.
1870 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1871 inclusion.
1872 [POSIX] (sys/types.h): Likewise.
1873 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1874 inclusion.
1875 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1876 inclusion.
1877 * conform/data/signal.h-data (SIGIO): Remove expectation.
1878 [XPG3] (SIGBUS): Do not expect.
1879 [POSIX || XPG3] (SIGPOLL): Likewise.
1880 [POSIX || XPG3] (SIGPROF): Likewise.
1881 [POSIX || XPG3] (SIGSYS): Likewise.
1882 [XPG3] (SIGTRAP): Likewise.
1883 [POSIX || XPG3] (SIGURG): Likewise.
1884 [POSIX || XPG3] (SIGVTALRM): Likewise.
1885 [POSIX || XPG3] (SIGXCPU): Likewise.
1886 [POSIX || XPG3] (SIGXFSZ): Likewise.
1887 [POSIX] (SA_SIGINFO): Expect.
1888 [XPG3] (siginfo_t): Do not expect type or contents.
1889 [POSIX] (si_pid): Do not expect element.
1890 [POSIX] (si_uid): Likewise.
1891 [POSIX] (si_addr): Likewise.
1892 [POSIX] (si_status): Likewise.
1893 [POSIX] (si_band): Likewise.
1894 [XPG4] (si_value): Likewise.
1895 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1896 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1897 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1898 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1899 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1900 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1901 [POSIX || XPG3] (ILL_COPROC): Likewise.
1902 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1903 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1904 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1905 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1906 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1907 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1908 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1909 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1910 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1911 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1912 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1913 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1914 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1915 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1916 [POSIX || XPG3] (CLD_EXITED): Likewise.
1917 [POSIX || XPG3] (CLD_KILLED): Likewise.
1918 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1919 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1920 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1921 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1922 [POSIX || XPG3] (POLL_IN): Likewise.
1923 [POSIX || XPG3] (POLL_OUT): Likewise.
1924 [POSIX || XPG3] (POLL_MSG): Likewise.
1925 [POSIX || XPG3] (POLL_ERR): Likewise.
1926 [POSIX || XPG3] (POLL_PRI): Likewise.
1927 [POSIX || XPG3] (POLL_HUP): Likewise.
1928 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1929 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1930 (SIG*): Do not allow.
1931 [XPG3] (si_*): Likewise.
1932 [XPG3] (SI_*): Likewise.
1933 [XPG3 || XPG4] (sigev_*): Likewise.
1934 [XPG3 || XPG4] (SIGEV_*): Likewise.
1935 [XPG3 || XPG4] (sival_*): Likewise.
1936 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1937 [POSIX || XPG3] (BUS_*): Likewise.
1938 [POSIX || XPG3] (CLD_*): Likewise.
1939 [POSIX || XPG3] (FPE_*): Likewise.
1940 [POSIX || XPG3] (ILL_*): Likewise.
1941 [POSIX || XPG3] (POLL_*): Likewise.
1942 [POSIX || XPG3] (SEGV_*): Likewise.
1943 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1944 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1945 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1946 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1947 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1948 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1949 Specify type and value.
1950 (TVERSLEN): Likewise.
1951 (REGTYPE): Likewise.
1952 (AREGTYPE): Likewise.
1953 (LNKTYPE): Likewise.
1954 (SYMTYPE): Likewise.
1955 (CHRTYPE): Likewise.
1956 (BLKTYPE): Likewise.
1957 (DIRTYPE): Likewise.
1958 (FIFOTYPE): Likewise.
1959 (CONTTYPE): Likewise.
1960 (TSUID): Likewise.
1961 (TSGID): Likewise.
1962 (TSVTX): Likewise.
1963 (TUREAD): Likewise.
1964 (TUWRITE): Likewise.
1965 (TUEXEC): Likewise.
1966 (TGREAD): Likewise.
1967 (TGWRITE): Likewise.
1968 (TGEXEC): Likewise.
1969 (TOREAD): Likewise.
1970 (TOWRITE): Likewise.
1971 (TOEXEC): Likewise.
1972 [POSIX] (TSVTX): Expect constant.
1973
1974 2014-03-06 Joseph Myers <joseph@codesourcery.com>
1975
1976 * Makefile (tests): Change dependencies to ....
1977 (tests-special): ... additions to this variable.
1978 (tests): Depend on $(tests-special).
1979 * Makerules (check-abi-list): New variable.
1980 (check-abi): Depend on $(check-abi-list).
1981 [$(subdir) = elf] (tests-special): Add
1982 $(objpfx)check-abi-libc.out.
1983 [$(build-shared) = yes && subdir] (tests-special): Add
1984 $(check-abi-list).
1985 [$(build-shared) = yes && subdir] (tests): Do not depend on
1986 check-abi.
1987 * Rules (tests): Depend on $(tests-special).
1988 (xtests): Depend on $(xtests-special).
1989 * catgets/Makefile (tests): Change dependencies to ....
1990 (tests-special): ... additions to this variable.
1991 * conform/Makefile (tests): Change dependencies to ....
1992 (tests-special): ... additions to this variable.
1993 * elf/Makefile (tests): Change dependencies to ....
1994 (tests-special): ... additions to this variable.
1995 * grp/Makefile (tests): Change dependencies to ....
1996 (tests-special): ... additions to this variable.
1997 * iconv/Makefile (xtests): Change dependencies to ....
1998 (xtests-special): ... additions to this variable.
1999 * iconvdata/Makefile (tests): Change dependencies to ....
2000 (tests-special): ... additions to this variable.
2001 * intl/Makefile (tests): Change dependencies to ....
2002 (tests-special): ... additions to this variable. Also add
2003 $(objpfx)tst-gettext.out.
2004 * io/Makefile (tests): Change dependencies to ....
2005 (tests-special): ... additions to this variable.
2006 * libio/Makefile (tests): Change dependencies to ....
2007 (tests-special): ... additions to this variable.
2008 * malloc/Makefile (tests): Change dependencies to ....
2009 (tests-special): ... additions to this variable.
2010 * misc/Makefile (tests): Change dependencies to ....
2011 (tests-special): ... additions to this variable.
2012 * nptl/Makefile (tests): Change dependencies to ....
2013 (tests-special): ... additions to this variable.
2014 * nptl_db/Makefile (tests): Change dependencies to ....
2015 (tests-special): ... additions to this variable.
2016 * posix/Makefile (tests): Change dependencies to ....
2017 (tests-special): ... additions to this variable.
2018 (xtests): Change dependencies to ....
2019 (xtests-special): ... additions to this variable.
2020 * resolv/Makefile (tests): Change dependencies to ....
2021 (tests-special): ... additions to this variable.
2022 (xtests): Change dependencies to ....
2023 (xtests-special): ... additions to this variable.
2024 * stdio-common/Makefile (tests): Change dependencies to ....
2025 (tests-special): ... additions to this variable.
2026 (do-tst-unbputc): Remove target.
2027 (do-tst-printf): Likewise.
2028 * stdlib/Makefile (tests): Change dependencies to ....
2029 (tests-special): ... additions to this variable.
2030 * string/Makefile (tests): Change dependencies to ....
2031 (tests-special): ... additions to this variable.
2032 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2033 (tests-special): ... additions to this variable.
2034
2035 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2036 whole file.
2037 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2038 whole file.
2039 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2040 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2041
2042 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2043 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2044 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2045 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2046 * conform/data/libgen.h-data [XPG3]: Likewise.
2047 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2048 * conform/data/ndbm.h-data [XPG3]: Likewise.
2049 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2050 * conform/data/netdb.h-data [XPG3]: Likewise.
2051 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2052 * conform/data/poll.h-data [XPG3]: Likewise.
2053 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2054 * conform/data/strings.h-data [XPG3]: Likewise.
2055 * conform/data/stropts.h-data [XPG3]: Likewise.
2056 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2057 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2058 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2059 Likewise.
2060 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2061 * conform/data/sys/time.h-data [XPG3]: Likewise.
2062 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2063 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2064 * conform/data/sys/un.h-data [XPG3]: Likewise.
2065 * conform/data/syslog.h-data [XPG3]: Likewise.
2066 * conform/data/ucontext.h-data [XPG3]: Likewise.
2067 * conform/data/utmpx.h-data [XPG3]: Likewise.
2068 * conform/data/varargs.h-data [UNIX98]: Enable file.
2069
2070 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2071
2072 * math/libm-test.inc (struct test_f_f_data): Move expected results
2073 into structure for each rounding mode.
2074 (struct test_ff_f_data): Likewise.
2075 (struct test_ff_f_data_nexttoward): Likewise.
2076 (struct test_fi_f_data): Likewise.
2077 (struct test_fl_f_data): Likewise.
2078 (struct test_if_f_data): Likewise.
2079 (struct test_fff_f_data): Likewise.
2080 (struct test_c_f_data): Likewise.
2081 (struct test_f_f1_data): Likewise.
2082 (struct test_fF_f1_data): Likewise.
2083 (struct test_ffI_f1_data): Likewise.
2084 (struct test_c_c_data): Likewise.
2085 (struct test_cc_c_data): Likewise.
2086 (struct test_f_i_data): Likewise.
2087 (struct test_ff_i_data): Likewise.
2088 (struct test_f_l_data): Likewise.
2089 (struct test_f_L_data): Likewise.
2090 (struct test_fFF_11_data): Likewise.
2091 (RM_): New macro.
2092 (RM_FE_DOWNWARD): Likewise.
2093 (RM_FE_TONEAREST): Likewise.
2094 (RM_FE_TOWARDZERO): Likewise.
2095 (RM_FE_UPWARD): Likewise.
2096 (RUN_TEST_LOOP_f_f): Update references to expected results.
2097 (RUN_TEST_LOOP_2_f): Likewise.
2098 (RUN_TEST_LOOP_fff_f): Likewise.
2099 (RUN_TEST_LOOP_c_f): Likewise.
2100 (RUN_TEST_LOOP_f_f1): Likewise.
2101 (RUN_TEST_LOOP_fF_f1): Likewise.
2102 (RUN_TEST_LOOP_fI_f1): Likewise.
2103 (RUN_TEST_LOOP_ffI_f1): Likewise.
2104 (RUN_TEST_LOOP_c_c): Likewise.
2105 (RUN_TEST_LOOP_cc_c): Likewise.
2106 (RUN_TEST_LOOP_f_i): Likewise.
2107 (RUN_TEST_LOOP_f_i_tg): Likewise.
2108 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2109 (RUN_TEST_LOOP_f_b): Likewise.
2110 (RUN_TEST_LOOP_f_b_tg): Likewise.
2111 (RUN_TEST_LOOP_f_l): Likewise.
2112 (RUN_TEST_LOOP_f_L): Likewise.
2113 (RUN_TEST_LOOP_fFF_11): Likewise.
2114 * math/gen-libm-test.pl (parse_args): Output four copies of
2115 expected results for each test.
2116
2117 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2118 (__ASSUME_UTIMES): Remove.
2119 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2120 (__ASSUME_UTIMES): Likewise.
2121
2122 * math/gen-auto-libm-tests.c: Update comment on output format.
2123 (output_for_one_input_case): Generate before-rounding and
2124 after-rounding information as conditions on output flags not
2125 floating-point format.
2126 * math/auto-libm-test-out: Regenerated.
2127 * math/gen-libm-test.pl (cond_value): New function.
2128 (or_cond_value): Use cond_value.
2129 (generate_testfile): Handle conditional exceptions.
2130
2131 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2132
2133 * math/libm-test.inc (max_valid_error): New variable.
2134 (init_max_error): Take new argument specifying whether function
2135 results are exactly determined. Set max_valid_error and bound
2136 other variables for errors based on this argument.
2137 (set_max_error): Do not record results above max_valid_error.
2138 (check_float_internal): Only accept errors of up to 0.5ulps if
2139 also at most max_valid_error.
2140 (START): Take new argument EXACT and pass it to init_max_error.
2141 (acos_test): Update call to START.
2142 (acos_test_tonearest): Likewise.
2143 (acos_test_towardzero): Likewise.
2144 (acos_test_downward): Likewise.
2145 (acos_test_upward): Likewise.
2146 (acosh_test): Likewise.
2147 (asin_test): Likewise.
2148 (asin_test_tonearest): Likewise.
2149 (asin_test_towardzero): Likewise.
2150 (asin_test_downward): Likewise.
2151 (asin_test_upward): Likewise.
2152 (asinh_test): Likewise.
2153 (atan_test): Likewise.
2154 (atanh_test): Likewise.
2155 (atan2_test): Likewise.
2156 (cabs_test): Likewise.
2157 (cacos_test): Likewise.
2158 (cacosh_test): Likewise.
2159 (carg_test): Likewise.
2160 (casin_test): Likewise.
2161 (casinh_test): Likewise.
2162 (catan_test): Likewise.
2163 (catanh_test): Likewise.
2164 (cbrt_test): Likewise.
2165 (ccos_test): Likewise.
2166 (ccosh_test): Likewise.
2167 (ceil_test): Likewise.
2168 (cexp_test): Likewise.
2169 (cimag_test): Likewise.
2170 (clog_test): Likewise.
2171 (clog10_test): Likewise.
2172 (conj_test): Likewise.
2173 (copysign_test): Likewise.
2174 (cos_test): Likewise.
2175 (cos_test_tonearest): Likewise.
2176 (cos_test_towardzero): Likewise.
2177 (cos_test_downward): Likewise.
2178 (cos_test_upward): Likewise.
2179 (cosh_test): Likewise.
2180 (cosh_test_tonearest): Likewise.
2181 (cosh_test_towardzero): Likewise.
2182 (cosh_test_downward): Likewise.
2183 (cosh_test_upward): Likewise.
2184 (cpow_test): Likewise.
2185 (cproj_test): Likewise.
2186 (creal_test): Likewise.
2187 (csin_test): Likewise.
2188 (csinh_test): Likewise.
2189 (csqrt_test): Likewise.
2190 (ctan_test): Likewise.
2191 (ctan_test_tonearest): Likewise.
2192 (ctan_test_towardzero): Likewise.
2193 (ctan_test_downward): Likewise.
2194 (ctan_test_upward): Likewise.
2195 (ctanh_test): Likewise.
2196 (ctanh_test_tonearest): Likewise.
2197 (ctanh_test_towardzero): Likewise.
2198 (ctanh_test_downward): Likewise.
2199 (ctanh_test_upward): Likewise.
2200 (erf_test): Likewise.
2201 (erfc_test): Likewise.
2202 (exp_test): Likewise.
2203 (exp_test_tonearest): Likewise.
2204 (exp_test_towardzero): Likewise.
2205 (exp_test_downward): Likewise.
2206 (exp_test_upward): Likewise.
2207 (exp10_test): Likewise.
2208 (exp10_test_tonearest): Likewise.
2209 (exp10_test_towardzero): Likewise.
2210 (exp10_test_downward): Likewise.
2211 (exp10_test_upward): Likewise.
2212 (pow10_test): Likewise.
2213 (exp2_test): Likewise.
2214 (expm1_test): Likewise.
2215 (expm1_test_tonearest): Likewise.
2216 (expm1_test_towardzero): Likewise.
2217 (expm1_test_downward): Likewise.
2218 (expm1_test_upward): Likewise.
2219 (fabs_test): Likewise.
2220 (fdim_test): Likewise.
2221 (floor_test): Likewise.
2222 (fma_test): Likewise.
2223 (fma_test_towardzero): Likewise.
2224 (fma_test_downward): Likewise.
2225 (fma_test_upward): Likewise.
2226 (fmax_test): Likewise.
2227 (fmin_test): Likewise.
2228 (fmod_test): Likewise.
2229 (fpclassify_test): Likewise.
2230 (frexp_test): Likewise.
2231 (hypot_test): Likewise.
2232 (ilogb_test): Likewise.
2233 (isfinite_test): Likewise.
2234 (finite_test): Likewise.
2235 (isgreater_test): Likewise.
2236 (isgreaterequal_test): Likewise.
2237 (isinf_test): Likewise.
2238 (isless_test): Likewise.
2239 (islessequal_test): Likewise.
2240 (islessgreater_test): Likewise.
2241 (isnan_test): Likewise.
2242 (isnormal_test): Likewise.
2243 (issignaling_test): Likewise.
2244 (isunordered_test): Likewise.
2245 (j0_test): Likewise.
2246 (j1_test): Likewise.
2247 (jn_test): Likewise.
2248 (ldexp_test): Likewise.
2249 (lgamma_test): Likewise.
2250 (gamma_test): Likewise.
2251 (lrint_test): Likewise.
2252 (lrint_test_tonearest): Likewise.
2253 (lrint_test_towardzero): Likewise.
2254 (lrint_test_downward): Likewise.
2255 (lrint_test_upward): Likewise.
2256 (llrint_test): Likewise.
2257 (llrint_test_tonearest): Likewise.
2258 (llrint_test_towardzero): Likewise.
2259 (llrint_test_downward): Likewise.
2260 (llrint_test_upward): Likewise.
2261 (log_test): Likewise.
2262 (log10_test): Likewise.
2263 (log1p_test): Likewise.
2264 (log2_test): Likewise.
2265 (logb_test): Likewise.
2266 (logb_test_downward): Likewise.
2267 (lround_test): Likewise.
2268 (llround_test): Likewise.
2269 (modf_test): Likewise.
2270 (nearbyint_test): Likewise.
2271 (nextafter_test): Likewise.
2272 (nexttoward_test): Likewise.
2273 (pow_test): Likewise.
2274 (pow_test_tonearest): Likewise.
2275 (pow_test_towardzero): Likewise.
2276 (pow_test_downward): Likewise.
2277 (pow_test_upward): Likewise.
2278 (remainder_test): Likewise.
2279 (drem_test): Likewise.
2280 (remainder_test_tonearest): Likewise.
2281 (drem_test_tonearest): Likewise.
2282 (remainder_test_towardzero): Likewise.
2283 (drem_test_towardzero): Likewise.
2284 (remainder_test_downward): Likewise.
2285 (drem_test_downward): Likewise.
2286 (remainder_test_upward): Likewise.
2287 (drem_test_upward): Likewise.
2288 (remquo_test): Likewise.
2289 (rint_test): Likewise.
2290 (rint_test_tonearest): Likewise.
2291 (rint_test_towardzero): Likewise.
2292 (rint_test_downward): Likewise.
2293 (rint_test_upward): Likewise.
2294 (round_test): Likewise.
2295 (scalb_test): Likewise.
2296 (scalbn_test): Likewise.
2297 (scalbln_test): Likewise.
2298 (signbit_test): Likewise.
2299 (sin_test): Likewise.
2300 (sin_test_tonearest): Likewise.
2301 (sin_test_towardzero): Likewise.
2302 (sin_test_downward): Likewise.
2303 (sin_test_upward): Likewise.
2304 (sincos_test): Likewise.
2305 (sinh_test): Likewise.
2306 (sinh_test_tonearest): Likewise.
2307 (sinh_test_towardzero): Likewise.
2308 (sinh_test_downward): Likewise.
2309 (sinh_test_upward): Likewise.
2310 (sqrt_test): Likewise.
2311 (sqrt_test_tonearest): Likewise.
2312 (sqrt_test_towardzero): Likewise.
2313 (sqrt_test_downward): Likewise.
2314 (sqrt_test_upward): Likewise.
2315 (tan_test): Likewise.
2316 (tan_test_tonearest): Likewise.
2317 (tan_test_towardzero): Likewise.
2318 (tan_test_downward): Likewise.
2319 (tan_test_upward): Likewise.
2320 (tanh_test): Likewise.
2321 (tgamma_test): Likewise.
2322 (trunc_test): Likewise.
2323 (y0_test): Likewise.
2324 (y1_test): Likewise.
2325 (yn_test): Likewise.
2326 (significand_test): Likewise.
2327
2328 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2329 individual tests in comment.
2330 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2331 (prev_max_error): New variable.
2332 (prev_real_max_error): Likewise.
2333 (prev_imag_max_error): Likewise.
2334 (compare_ulp_data): Don't refer to test names in comment.
2335 (find_test_ulps): Remove function.
2336 (find_function_ulps): Likewise.
2337 (find_complex_function_ulps): Likewise.
2338 (init_max_error): Take function name as argument. Look up ulps
2339 for that function.
2340 (print_ulps): Remove function.
2341 (print_max_error): Use prev_max_error instead of calling
2342 find_function_ulps.
2343 (print_complex_max_error): Use prev_real_max_error and
2344 prev_imag_max_error instead of calling find_complex_function_ulps.
2345 (check_float_internal): Take max_ulp parameter instead of calling
2346 find_test_ulps. Don't call print_ulps.
2347 (check_float): Update call to check_float_internal.
2348 (check_complex): Update calls to check_float_internal.
2349 (START): Pass argument to init_max_error.
2350 * math/gen-libm-test.pl (%results): Don't include "kind"
2351 information.
2352 (parse_ulps): Don't handle ulps of individual tests.
2353 (print_ulps_file): Likewise.
2354 (output_ulps): Likewise.
2355 * math/README.libm-test: Update.
2356 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2357 individual tests.
2358 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2359 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2360 * sysdeps/arm/libm-test-ulps: Likewise.
2361 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2362 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2363 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2364 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2365 * sysdeps/microblaze/libm-test-ulps: Likewise.
2366 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2367 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2368 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2369 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2370 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2371 * sysdeps/sh/libm-test-ulps: Likewise.
2372 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2373 * sysdeps/tile/libm-test-ulps: Likewise.
2374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2375
2376 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2377
2378 * math/libm-test.inc (print_complex_max_error): Check separately
2379 whether real and imaginary errors are within allowed range and
2380 pass 0 to print_complex_function_ulps instead of value within
2381 allowed range.
2382
2383 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2384
2385 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2386 formatting.
2387 (get_handles_fopen): Likewise.
2388 (do_write_test): Likewise.
2389
2390 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2391
2392 * libio/fileops.c (do_ftell): Use cached offset when
2393 available.
2394 * libio/iofwide.c (do_ftell_wide): Likewise.
2395 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2396 _IO_file_attach.
2397 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2398
2399 [BZ #16532]
2400 * libio/libioP.h (get_file_offset): New function.
2401 * libio/fileops.c (get_file_offset): Likewise.
2402 (do_ftell): Likewise.
2403 (_IO_new_file_seekoff): Split out ftell logic.
2404 * libio/wfileops.c (do_ftell_wide): Likewise.
2405 (_IO_wfile_seekoff): Split out ftell logic.
2406 * libio/tst-ftell-active-handler.c: New test case.
2407 * libio/Makefile (tests): Add it.
2408
2409 2014-03-03 Roland McGrath <roland@hack.frob.com>
2410
2411 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2412 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2413
2414 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2415
2416 [BZ #16639]
2417 * nscd/connections.c (nscd_init): Call do_exit.
2418 (start_threads): Call do_exit and notify_parent.
2419 (begin_drop_privileges): Call do_exit.
2420 (finish_drop_privileges): Likewise.
2421 * nscd/selinux.c (preserve_capabilities): Likewise.
2422 (install_real_capabilities): Likewise.
2423 (nscd_selinux_enabled): Likewise.
2424 (avc_create_thread): Likewise.
2425 (avc_alloc_lock): Likewise.
2426 (nscd_avc_init): Likewise.
2427 * nscd/nscd.c (parent_fd): New static variable.
2428 (main): Create a pipe between parent and child processes.
2429 Skip closing parent_fd.
2430 (monitor_child): New function.
2431 (do_exit): Likewise.
2432 (notify_parent): Likewise.
2433 * nscd/nscd.h (notify_parent): Likewise.
2434 (do_exit): Likewise.
2435
2436 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2437
2438 * malloc/malloc.c (__libc_calloc): Revert last change.
2439
2440 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2441
2442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2443
2444 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2445
2446 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2448 implementation.
2449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2450 (__libc_ifunc_impl_list): Likewise.
2451 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2452 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2453 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2454 * string/strrchr.c: Define STRRCHR.
2455
2456 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2457
2458 * benchtest/bench-strtok.c (simple_strtok): Delete.
2459 (strtok_string): Use as benchmark.
2460 * string/strtok (STRTOK): New macro.
2461
2462 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2463
2464 * manual/threads.texi: Add header and standard comments to all
2465 functions.
2466
2467 * elf/dl-lookup.c (check_match): New function.
2468 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2469 (do_lookup_x): Remove nested function check_match. Use non-nested
2470 function check_match.
2471
2472 2014-02-28 Roland McGrath <roland@hack.frob.com>
2473
2474 * csu/Makefile (generated, before-compile): Use += rather than =.
2475 * catgets/Makefile (generated, generated-dirs): Likewise.
2476 * debug/Makefile (generated): Likewise.
2477 * dlfcn/Makefile (generated): Likewise.
2478 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2479 * iconvdata/Makefile (before-compile, generated): Likewise.
2480 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2481 * libio/Makefile (generated): Likewise.
2482 * malloc/Makefile (generated): Likewise.
2483 * manual/Makefile (generated, generated-dirs): Likewise.
2484 * misc/Makefile (generated): Likewise.
2485 * posix/Makefile (generated): Likewise.
2486 * resolv/Makefile (generated): Likewise.
2487 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2488 * timezone/Makefile (generated, generated-dirs): Likewise.
2489
2490 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2491
2492 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2493
2494 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2495 implementation.
2496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2497 POWER8 llround ifunc implementation.
2498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2499 POWER8 implementation.
2500 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2501 POWER8 llround implementation.
2502
2503 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2504
2505 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2506 implementation.
2507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2508 POWER8 llrint ifunc implementation.
2509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2510 POWER8 implementation.
2511 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2512 POWER8 llrint implementation.
2513
2514 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2515
2516 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2517 implementation.
2518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2519 POWER8 finite ifunc implementation.
2520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2521 POWER8 implementation.
2522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2523 Likewise.
2524 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2525 POWER8 finite implementation.
2526 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2527
2528 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2529
2530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2531 implementation.
2532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2533 POWER8 isinf ifunc implementation.
2534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2535 POWER8 implementation.
2536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2537 Likewise.
2538 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2539 POWER8 isinf implementation.
2540 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2541
2542 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2543
2544 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2545 Add hwcap2 initialization.
2546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2547 implementation.
2548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2549 POWER8 isnan ifunc implementation.
2550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2551 POWER8 implementation.
2552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2553 Likewise.
2554 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2555 POWER8 isnan implementation.
2556 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2557
2558 2014-02-27 Joey Ye <joey.ye@arm.com>
2559
2560 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2561 (_FP_NANFRAC_Q): Set to zero.
2562
2563 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2564
2565 [BZ #16623]
2566 * math/auto-libm-test-in: New test inputs.
2567 * math/auto-libm-test-out: Regenerate.
2568 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2569 and DA.
2570 (__cos): Likewise.
2571 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2572
2573 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2574
2575 * scripts/evaluate-test.sh: Take new argument indicating whether
2576 failure is expected.
2577 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2578 indicating whether failure is expected.
2579 * conform/Makefile (test-xfail-run-conformtest): New variable.
2580 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2581 level.
2582 * posix/Makefile (test-xfail-annexc): New variable.
2583 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2584
2585 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2586
2587 * argp/Makefile: Include Makeconfig immediately after defining
2588 subdir.
2589 * assert/Makefile: Likewise.
2590 * benchtests/Makefile: Likewise.
2591 * catgets/Makefile: Likewise.
2592 * conform/Makefile: Likewise.
2593 * crypt/Makefile: Likewise.
2594 * csu/Makefile: Likewise.
2595 (all): Remove target.
2596 * ctype/Makefile: Include Makeconfig immediately after defining
2597 subdir.
2598 * debug/Makefile: Likewise.
2599 * dirent/Makefile: Likewise.
2600 * dlfcn/Makefile: Likewise.
2601 * gmon/Makefile: Likewise.
2602 * gnulib/Makefile: Likewise.
2603 * grp/Makefile: Likewise.
2604 * gshadow/Makefile: Likewise.
2605 * hesiod/Makefile: Likewise.
2606 * hurd/Makefile: Likewise.
2607 (all): Remove target.
2608 * iconvdata/Makefile: Include Makeconfig immediately after
2609 defining subdir.
2610 * inet/Makefile: Likewise.
2611 * intl/Makefile: Likewise.
2612 * io/Makefile: Likewise.
2613 * libio/Makefile: Likewise.
2614 (all): Remove target.
2615 * locale/Makefile: Include Makeconfig immediately after defining
2616 subdir.
2617 * login/Makefile: Likewise.
2618 * mach/Makefile: Likewise.
2619 (all): Remove target.
2620 * malloc/Makefile: Include Makeconfig immediately after defining
2621 subdir.
2622 (all): Remove target.
2623 * manual/Makefile: Include Makeconfig immediately after defining
2624 subdir.
2625 * math/Makefile: Likewise.
2626 * misc/Makefile: Likewise.
2627 * nis/Makefile: Likewise.
2628 * nss/Makefile: Likewise.
2629 * po/Makefile: Likewise.
2630 (all): Remove target.
2631 * posix/Makefile: Include Makeconfig immediately after defining
2632 subdir.
2633 * pwd/Makefile: Likewise.
2634 * resolv/Makefile: Likewise.
2635 * resource/Makefile: Likewise.
2636 * rt/Makefile: Likewise.
2637 * setjmp/Makefile: Likewise.
2638 * shadow/Makefile: Likewise.
2639 * signal/Makefile: Likewise.
2640 * socket/Makefile: Likewise.
2641 * soft-fp/Makefile: Likewise.
2642 * stdio-common/Makefile: Likewise.
2643 * stdlib/Makefile: Likewise.
2644 * streams/Makefile: Likewise.
2645 * string/Makefile: Likewise.
2646 * sunrpc/Makefile: Likewise.
2647 (all): Remove target.
2648 * sysvipc/Makefile: Include Makeconfig immediately after defining
2649 subdir.
2650 * termios/Makefile: Likewise.
2651 * time/Makefile: Likewise.
2652 * timezone/Makefile: Likewise.
2653 (all): Remove target.
2654 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2655 subdir.
2656 * wctype/Makefile: Likewise.
2657
2658 2014-02-26 Steve Ellcey <sellcey@mips.com>
2659
2660 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2661 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2662 (libc_feholdexcept_setround_mips): Ditto.
2663 (libc_feholdsetround): New.
2664 (libc_feholdsetroundf): New.
2665 (libc_feholdsetroundl): New.
2666 (libc_feupdateenv_test_mips): New.
2667 (libc_feupdateenv_test): New.
2668 (libc_feupdateenv_testf): New.
2669 (libc_feupdateenv_testl): New.
2670 (libc_feresetround): New.
2671 (libc_feresetroundf): New.
2672 (libc_feresetroundl): New.
2673 (libc_fetestexcept_mips): New.
2674 (libc_fetestexcept): New.
2675 (libc_fetestexceptf): New.
2676 (libc_fetestexceptl): New.
2677 (HAVE_RM_CTX): New.
2678 (libc_feholdexcept_setround_mips_ctx): New.
2679 (libc_feholdexcept_setround_ctx): New.
2680 (libc_feholdexcept_setroundf_ctx): New.
2681 (libc_feholdexcept_setroundl_ctx): New.
2682 (libc_fesetenv_mips_ctx): New.
2683 (libc_fesetenv_ctx): New.
2684 (libc_fesetenv_ctxf): New.
2685 (libc_fesetenv_ctxl): New.
2686 (libc_feupdateenv_mips_ctx): New.
2687 (libc_feupdateenv_ctx): New.
2688 (libc_feupdateenvf_ctx): New.
2689 (libc_feupdateenvl_ctx): New.
2690 (libc_feholdsetround_mips_ctx): New.
2691 (libc_feholdsetround_ctx): New.
2692 (libc_feholdsetroundf_ctx): New.
2693 (libc_feholdsetroundl_ctx): New.
2694 (libc_feresetround_mips_ctx): New.
2695 (libc_feresetround_ctx): New.
2696 (libc_feresetroundf_ctx): New.
2697 (libc_feresetroundl_ctx): New.
2698
2699 2014-02-26 Carlos O'Donell <carlos@redhat.com>
2700
2701 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2702
2703 * manual/ipc.texi: New file.
2704 * manual/Makefile (chapters): Add ipc.
2705 * manual/job.texi: Add "Inter-Process Communication" to next.
2706 * manual/process.texi: Add "Inter-Process Communication" to prev.
2707
2708 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2709
2710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2711
2712 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
2713
2714 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2715
2716 * manual/arith.texi: Fix spaces after sentences.
2717 * manual/charset.texi: Likewise.
2718 * manual/errno.texi: Likewise.
2719 * manual/install.texi: Likewise.
2720 * manual/llio.texi: Likewise.
2721 * manual/locale.texi: Likewise.
2722 * manual/maint.texi: Likewise.
2723 * manual/math.texi: Likewise.
2724 * manual/memory.texi: Likewise.
2725 * manual/message.texi: Likewise.
2726 * manual/probes.texi: Likewise.
2727 * manual/resource.texi: Likewise.
2728 * manual/signal.texi: Likewise.
2729 * manual/socket.texi: Likewise.
2730 * manual/stdio.texi: Likewise.
2731 * manual/string.texi: Likewise.
2732 * manual/time.texi: Likewise.
2733 * manual/users.texi: Likewise.
2734
2735 2014-02-25 Carlos O'Donell <carlos@redhat.com>
2736
2737 [BZ #16632]
2738 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2739 _DEFAULT_SOURCE is defined.
2740
2741 2014-02-25 Ulrich Drepper <drepper@gmail.com>
2742 Carlos O'Donell <carlos@redhat.com>
2743
2744 [BZ #16613]
2745 * elf/dl-tls.c (_dl_count_modids): New function.
2746 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2747 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2748 audit library and increment generation counter.
2749 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2750 * elf/tst-audit9.c: New file.
2751 * elf/tst-auditmod9a.c: New file.
2752 * elf/tst-auditmod9b.c: New file.
2753 * elf/Makefile: Add rules to build and run tst-audit9.
2754
2755 2014-02-25 Florian Weimer <fweimer@redhat.com>
2756
2757 [BZ #15347]
2758 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2759
2760 2014-02-25 Will Newton <will.newton@linaro.org>
2761
2762 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2763 (__longjmp): Restore sp and lr before restoring callee
2764 saved registers. Add longjmp and longjmp_target
2765 SystemTap probe point.
2766 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2767 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2768 Define to zero to match jmpbuf layout.
2769 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2770 (__sigsetjmp): Save sp and lr before saving callee
2771 saved registers. Add setjmp SystemTap probe point.
2772
2773 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2774
2775 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2776
2777 2014-02-24 Andreas Schwab <schwab@suse.de>
2778
2779 [BZ #15804]
2780 * elf/pldd.c (wait_for_ptrace_stop): New function.
2781 (main): Call it after attaching.
2782
2783 2014-02-22 Roland McGrath <roland@hack.frob.com>
2784
2785 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2786 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2787 Versions files is now verboten.
2788 * hurd/Versions (libc: GLIBC_2.0):
2789 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2790 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2791 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2792 * mach/Versions: Likewise.
2793
2794 * csu/Versions: Remove unused %include.
2795 * resolv/Versions: Likewise.
2796
2797 2014-02-21 Joseph Myers <joseph@codesourcery.com>
2798
2799 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2800 ($(objpfx)check-local-headers.out): Likewise.
2801 ($(objpfx)begin-end-check.out): Likewise.
2802 * Makerules (check-abi-%.out): Likewise.
2803 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2804 ($(objpfx)test2.cat): Likewise.
2805 ($(objpfx)de/libc.cat): Likewise.
2806 ($(objpfx)test-gencat.out): Likewise.
2807 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2808 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2809 ($(objpfx)noload-mem): Likewise.
2810 ($(objpfx)tst-pathopt.out): Likewise.
2811 ($(objpfx)tst-rtld-load-self.out): Likewise.
2812 ($(objpfx)tst-array1-cmp.out): Likewise.
2813 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2814 ($(objpfx)tst-array2-cmp.out): Likewise.
2815 ($(objpfx)tst-array3-cmp.out): Likewise.
2816 ($(objpfx)tst-array4-cmp.out): Likewise.
2817 ($(objpfx)tst-array5-cmp.out): Likewise.
2818 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2819 ($(objpfx)check-textrel.out): Likewise.
2820 ($(objpfx)check-execstack.out): Likewise.
2821 ($(objpfx)check-localplt.out): Likewise.
2822 ($(objpfx)order2-cmp.out): Likewise.
2823 ($(objpfx)tst-leaks1-mem): Likewise.
2824 ($(objpfx)tst-leaks1-static-mem): Likewise.
2825 ($(objpfx)tst-initorder-cmp.out): Likewise.
2826 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2827 ($(objpfx)tst-unused-dep.out): Likewise.
2828 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2829 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2830 * iconv/Makefile (test-iconvconfig): Likewise.
2831 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2832 ($(objpfx)iconv-test.out): Likewise.
2833 ($(objpfx)tst-tables.out): Likewise.
2834 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2835 ($(objpfx)tst-gettext.out): Likewise.
2836 ($(objpfx)tst-translit.out): Likewise.
2837 ($(objpfx)tst-gettext2.out): Likewise.
2838 ($(objpfx)tst-gettext4.out): Likewise.
2839 ($(objpfx)tst-gettext6.out): Likewise.
2840 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2841 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2842 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2843 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2844 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2845 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2846 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2847 ($(objpfx)wordexp-tst.out): Likewise.
2848 ($(objpfx)annexc.out): Likewise.
2849 ($(objpfx)tst-fnmatch-mem): Likewise.
2850 ($(objpfx)bug-regex2-mem): Likewise.
2851 ($(objpfx)bug-regex14-mem): Likewise.
2852 ($(objpfx)bug-regex21-mem): Likewise.
2853 ($(objpfx)bug-regex31-mem): Likewise.
2854 ($(objpfx)tst-vfork3-mem): Likewise.
2855 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2856 ($(objpfx)tst-pcre-mem): Likewise.
2857 ($(objpfx)tst-boost-mem): Likewise.
2858 ($(objpfx)tst-getconf.out): Likewise.
2859 ($(objpfx)bug-ga2-mem): Likewise.
2860 ($(objpfx)bug-glob2-mem): Likewise.
2861 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2862 ($(objpfx)mtrace-tst-leaks2): Likewise.
2863 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2864 ($(objpfx)tst-printf.out): Likewise.
2865 ($(objpfx)tst-setvbuf1.out): Likewise.
2866 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2867 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2868 ($(objpfx)tst-fmtmsg.out): Likewise.
2869 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2870 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2871
2872 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2873 * bits/sigaction.h [__USE_MISC]: Likewise.
2874 * bits/waitstatus.h: Update #endif comments.
2875 * ctype/ctype.h: Likewise.
2876 * dirent/dirent.h: Likewise.
2877 [__USE_MISC]: Remove redundant conditionals.
2878 * grp/grp.h: Update #endif comments.
2879 [__USE_GNU]: Remove redundant conditionals.
2880 [__USE_MISC]: Likewise.
2881 * inet/netinet/in.h [__USE_GNU]: Likewise.
2882 * io/sys/stat.h [__USE_MISC]: Likewise.
2883 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2884 * libio/bits/stdio.h: Update #endif comments.
2885 [__USE_MISC]: Remove redundant conditionals.
2886 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2887 * libio/stdio.h: Update #endif comments.
2888 [__USE_MISC]: Remove redundant conditionals.
2889 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2890 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2891 * math/math.h: Update #else and #endif comments.
2892 [__USE_MISC]: Remove redundant conditionals.
2893 * misc/sys/uio.h: Update #endif comments.
2894 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2895 * posix/glob.h [__USE_MISC]: Likewise.
2896 * posix/sys/types.h: Update #endif comments.
2897 [__USE_MISC]: Remove redundant conditionals.
2898 * posix/sys/wait.h: Update #endif comments.
2899 [__USE_MISC]: Remove redundant conditionals.
2900 * posix/unistd.h: Update #endif comments.
2901 [__USE_MISC]: Remove redundant conditionals.
2902 * pwd/pwd.h [__USE_GNU]: Likewise.
2903 [__USE_MISC]: Likewise.
2904 * resolv/netdb.h [__USE_GNU]: Likewise.
2905 * signal/signal.h: Update #endif comments.
2906 [__USE_MISC]: Remove redundant conditionals.
2907 * stdlib/stdlib.h: Update #else and #endif comments.
2908 [__USE_MISC]: Remove redundant conditionals.
2909 [__USE_GNU]: Likewise.
2910 * string/bits/string2.h [__USE_MISC]: Likewise.
2911 * string/string.h: Update #endif comments.
2912 [__USE_MISC]: Remove redundant conditionals.
2913 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2914 Likewise.
2915 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2916 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2917 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2918 Likewise.
2919 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2920 Likewise.
2921 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2922 comments.
2923 [__USE_MISC]: Remove redundant conditionals.
2924 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2925 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2926 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2927 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2928 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2929 Likewise.
2930 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2931 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2932 Likewise.
2933 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2934 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2935 Likewise.
2936 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2937 Likewise.
2938 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2939 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2940 Likewise.
2941 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2942 Likewise.
2943 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2944 * sysdeps/x86/bits/string.h: Update #endif comments.
2945 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2946 conditionals.
2947 * time/sys/time.h: Update #endif comments.
2948 * time/time.h: Likewise.
2949 [__USE_MISC]: Remove redundant conditionals.
2950
2951 2014-02-21 Yury Gribov <y.gribov@samsung.com>
2952
2953 [BZ #16600]
2954 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2955
2956 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2957
2958 * Versions.def (librt): Add GLIBC_2.17.
2959
2960 2014-02-21 Adam Conrad <adconrad@0c3.net>
2961
2962 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2963 synonym for _SYS_AUXV_H to allow direct inclusion.
2964 * sysdeps/sparc/bits/hwcap.h: Likewise.
2965 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2966 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2967 * sysdeps/sparc/sysdep.h: Likewise.
2968
2969 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2970
2971 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2972
2973 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2974
2975 * benchtests/bench-strrchr.c: Print length instead of position.
2976
2977 2014-02-20 Joseph Myers <joseph@codesourcery.com>
2978
2979 [BZ #16611]
2980 * sysdeps/unix/sysv/linux/kernel-features.h
2981 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2982 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2983 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2984 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2985 Likewise.
2986 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2987 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2988 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2989 (__ASSUME_SENDMMSG): Define instead of using previous
2990 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2991 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2992 (__ASSUME_SENDMMSG_SYSCALL): Define.
2993 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2994 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2995 Likewise.
2996 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2997 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2998 Likewise.
2999 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3000 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3001 Likewise.
3002 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3003 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3004 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3005 [__ASSUME_SENDMMSG]: Change conditionals to
3006 [__ASSUME_SENDMMSG_SOCKETCALL].
3007 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3008 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3009 Define.
3010 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3011 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3012 Likewise.
3013 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3014 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3015 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3016 [!__ASSUME_SENDMMSG]: Change conditional to
3017 [!__ASSUME_SENDMMSG_SOCKETCALL].
3018 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3019 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3020 Define.
3021
3022 [BZ #16610]
3023 * sysdeps/unix/sysv/linux/kernel-features.h
3024 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3025 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3026 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3027 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3028 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3029 [__i386__ || __sparc__]
3030 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3031 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3032 (__ASSUME_RECVMMSG): Define instead of using previous
3033 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3034 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3035 (__ASSUME_RECVMMSG_SYSCALL): Define.
3036 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3037 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3038 Likewise.
3039 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3040 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3041 Likewise.
3042 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3043 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3044 Likewise.
3045 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3046 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3047 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3048 [__ASSUME_RECVMMSG]: Change condition to
3049 [__ASSUME_RECVMMSG_SOCKETCALL].
3050 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3051 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3052 Define.
3053 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3054 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3055 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3056 Likewise.
3057 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3058 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3059 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3060 [!__ASSUME_RECVMMSG]: Change condition to
3061 [!__ASSUME_RECVMMSG_SOCKETCALL].
3062 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3063 (__ASSUME_RECVMMSG_SYSCALL): Define.
3064
3065 [BZ #16609]
3066 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3067 __powerpc__ || __s390__ || __sh__ || __sparc__]
3068 (__ASSUME_SOCKETCALL): Define.
3069 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3070 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3071 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3072 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3073 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3074 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3075 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3076 (__ASSUME_ACCEPT4): Define instead of using previous
3077 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3078 __powerpc__ || __sparc__ || __s390__)] condition.
3079 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3080 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3081 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3082 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3083 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3084 [!__ASSUME_ACCEPT4]: Change condition to
3085 [!__ASSUME_ACCEPT4_SOCKETCALL].
3086 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3087 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3088 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3089 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3090 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3091 __ASSUME_ACCEPT4_SYSCALL.
3092 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3093 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3094 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3095 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3096 __ASSUME_ACCEPT4_SYSCALL.
3097 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3098 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3099 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3100 [__ASSUME_ACCEPT4]: Change condition to
3101 [__ASSUME_ACCEPT4_SOCKETCALL].
3102 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3103 (__ASSUME_SOCKETCALL): Define.
3104 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3105 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3106 (__ASSUME_SOCKETCALL): Define.
3107 (__ASSUME_ACCEPT4): Remove.
3108 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3109 Define.
3110 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3111 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3112 Likewise.
3113 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3114 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3115
3116 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3117 macro.
3118 (HWCAP_ARM_LPAE): Likewise.
3119 (HWCAP_ARM_EVTSTRM): Likewise.
3120 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3121 Add vpfd32, lpae and evtstrm.
3122 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3123 Increase to 22.
3124
3125 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3126
3127 * math/auto-libm-test-in: Add tests of clog10.
3128 * math/auto-libm-test-out: Regenerated.
3129 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3130 * sysdeps/i386/fpu/libm-test-ulps: Update.
3131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3132
3133 2014-02-18 Andreas Schwab <schwab@suse.de>
3134
3135 [BZ #16574]
3136 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3137 Store non-zero if the second buffer was newly allocated.
3138 (send_dg): Likewise.
3139 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3140 to send_vc and send_dg.
3141 (res_nsend): Pass NULL for ansp2_malloced.
3142 * resolv/res_query.c (__libc_res_nquery): Add parameter
3143 answerp2_malloced and pass it down to __libc_res_nsend.
3144 (res_nquery): Pass additional NULL to __libc_res_nquery.
3145 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3146 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3147 second answer buffer if answerp2_malloced was set.
3148 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3149 (__libc_res_nquerydomain): Add parameter
3150 answerp2_malloced and pass it down to __libc_res_nquery.
3151 (res_nquerydomain): Pass additional NULL to
3152 __libc_res_nquerydomain.
3153 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3154 additional NULL to __libc_res_nsend and __libc_res_nquery.
3155 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3156 additional NULL to __libc_res_nsearch.
3157 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3158 parameter of __libc_res_nsearch to check for separately allocated
3159 second buffer.
3160 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3161 __libc_res_nquery.
3162 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3163 additional NULL to __libc_res_nquery.
3164 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3165 __libc_res_nsearch.
3166 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3167 * include/resolv.h: Update prototypes of __libc_res_nquery,
3168 __libc_res_nsearch, __libc_res_nsend.
3169
3170 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3171
3172 * math/auto-libm-test-in: Add tests of fma.
3173 * math/auto-libm-test-out: Regenerated.
3174 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3175 (fma_towardzero_test_data): Likewise.
3176 (fma_downward_test_data): Likewise.
3177 (fma_upward_test_data): Likewise.
3178 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3179 mpc_mode.
3180 (rounding_modes): Add values for new field.
3181 (func_calc_method): Add value mpfr_fff_f.
3182 (func_calc_desc): Add mpfr_fff_f union field.
3183 (test_function): Add field exact_args.
3184 (FUNC): Add macro argument EXACT_ARGS.
3185 (FUNC_mpfr_f_f): Update call to FUNC.
3186 (FUNC_mpfr_f_f): Likewise.
3187 (FUNC_mpfr_ff_f): Likewise.
3188 (FUNC_mpfr_if_f): Likewise.
3189 (FUNC_mpc_c_f): Likewise.
3190 (FUNC_mpc_c_c): Likewise.
3191 (test_functions): Add fma. Update calls to FUNC.
3192 (handle_input_arg): Add argument exact_args.
3193 (add_test): Update call to handle_input_arg.
3194 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3195 (output_for_one_input_case): Update call to calc_generic_results.
3196 Recalculate exact zero results in each rounding mode.
3197
3198 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3199 non-negative before setting low bit.
3200 * math/auto-libm-test-in: Mark one asin test possibly having
3201 spurious underflow.
3202 * math/auto-libm-test-out: Regenerated.
3203 * sysdeps/i386/fpu/libm-test-ulps: Update.
3204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3205
3206 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3207
3208 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3209 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3210 ports/sysdeps/unix/sysv/linux/microblaze.
3211 * README: Add missing listing for microblaze*-*-linux-gnu.
3212
3213 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3214
3215 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3216 * sysdeps/unix/sysv/linux/ia64: Move directory from
3217 ports/sysdeps/unix/sysv/linux/ia64.
3218 * README: Update listing for ia64-*-linux-gnu.
3219
3220 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3221 Joseph Myers <joseph@codesourcery.com>
3222
3223 * Makeconfig (test-name): New variable.
3224 (evaluate-test): Likewise.
3225 * Makerules (do-test-clean): Remove .test-result files.
3226 (common-mostlyclean): Likewise.
3227 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3228 * scripts/evaluate-test.sh: New file.
3229
3230 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3231
3232 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3233 separate $(objpfx)tst-fopenloc-cmp.out and
3234 $(objpfx)tst-fopenloc-mem.out targets.
3235 (tests): Update dependencies.
3236 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3237 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3238 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3239 (tst-rxspencer-no-utf8-ARGS): New variable.
3240 (tst-rxspencer-no-utf8-ENV): Likewise.
3241 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3242 instead of $(objpfx)tst-rxspencer-mem.
3243 ($(objpfx)tst-rxspencer-mem): Change target to
3244 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3245 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3246 * posix/tst-rxspencer-no-utf8.c: New file.
3247
3248 * elf/Makefile ($(objpfx)order.out): Remove rule.
3249 [$(run-built-tests) = yes] (tests): Depend on
3250 $(objpfx)order-cmp.out.
3251 ($(objpfx)order-cmp.out): New rule.
3252 [$(run-built-tests) = yes] (tests): Depend on
3253 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3254 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3255 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3256 $(objpfx)tst-array5-static-cmp.out.
3257 ($(objpfx)tst-array1.out): Remove rule.
3258 ($(objpfx)tst-array1-cmp.out): New rule.
3259 ($(objpfx)tst-array1-static.out): Remove rule.
3260 ($(objpfx)tst-array1-static-cmp.out): New rule.
3261 ($(objpfx)tst-array2.out): Remove rule.
3262 ($(objpfx)tst-array2-cmp.out): New rule.
3263 ($(objpfx)tst-array3.out): Remove rule.
3264 ($(objpfx)tst-array3-cmp.out): New rule.
3265 ($(objpfx)tst-array4.out): Remove rule.
3266 ($(objpfx)tst-array4-cmp.out): New rule.
3267 ($(objpfx)tst-array5.out): Remove rule.
3268 ($(objpfx)tst-array5-cmp.out): New rule.
3269 ($(objpfx)tst-array5-static.out): Remove rule.
3270 ($(objpfx)tst-array5-static-cmp.out): New rule.
3271 [$(run-built-tests) = yes] (tests): Depend on
3272 $(objpfx)order2-cmp.out.
3273 ($(objpfx)order2.out): Remove rule.
3274 ($(objpfx)order2-cmp.out): New rule.
3275 ($(objpfx)tst-initorder.out): Remove rule.
3276 [$(run-built-tests) = yes] (tests): Depend on
3277 $(objpfx)tst-initorder-cmp.out.
3278 ($(objpfx)tst-initorder-cmp.out): New rule.
3279 ($(objpfx)tst-initorder2.out): Remove rule.
3280 [$(run-built-tests) = yes] (tests): Depend on
3281 $(objpfx)tst-initorder2-cmp.out.
3282 ($(objpfx)tst-initorder2-cmp.out): New rule.
3283 [$(run-built-tests) = yes] (tests): Depend on
3284 $(objpfx)tst-unused-dep-cmp.out.
3285 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3286 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3287 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3288 on $(objpfx)tst-setvbuf1-cmp.out.
3289 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3290 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3291 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3292 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3293 ($(objpfx)tst-svc.out): Remove rule.
3294 ($(objpfx)tst-svc-cmp.out): New rule.
3295
3296 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3297
3298 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3299 * ctype/ctype.h [__USE_MISC]: Likewise.
3300 * dirent/dirent.h [__USE_MISC]: Likewise.
3301 * grp/grp.h [__USE_MISC]: Likewise.
3302 * io/fcntl.h [__USE_MISC]: Likewise.
3303 * io/sys/stat.h [__USE_MISC]: Likewise.
3304 * libio/stdio.h [__USE_MISC]: Likewise.
3305 * posix/unistd.h [__USE_MISC]: Likewise.
3306 * pwd/pwd.h [__USE_MISC]: Likewise.
3307 * stdlib.h [__USE_MISC]: Likewise.
3308 * string/bits/string2.h [__USE_MISC]: Likewise.
3309 * string/string.h [__USE_MISC]: Likewise.
3310 * time/time.h [__USE_MISC]: Likewise.
3311
3312 2014-02-13 Andreas Schwab <schwab@suse.de>
3313
3314 [BZ #16574]
3315 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3316 second answer buffer if it was separately allocated.
3317
3318 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3319
3320 * sysdeps/mips/math-tests.h: Include <features.h>.
3321 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3322 (ROUNDING_TESTS_long_double): Do not define.
3323 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3324 (EXCEPTION_TESTS_long_double): Likewise.
3325 * sysdeps/mips/mips64/libm-test-ulps: Update.
3326
3327 * include/features.h (__USE_BSD): Remove macro definitions.
3328 (__USE_SVID): Likewise.
3329 (_BSD_SOURCE): Likewise.
3330 (_SVID_SOURCE): Likewise.
3331 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3332 from definition of _DEFAULT_SOURCE.
3333 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3334 [_DEFAULT_SOURCE].
3335 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3336 * bits/mman.h [__USE_BSD]: Likewise.
3337 * bits/termios.h [__USE_BSD]: Likewise.
3338 * bits/waitstatus.h [__USE_BSD]: Likewise.
3339 * ctype/ctype.h [__USE_SVID]: Likewise.
3340 * dirent/dirent.h [__USE_BSD]: Likewise.
3341 * grp/grp.h [__USE_SVID]: Likewise.
3342 [__USE_BSD]: Likewise.
3343 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3344 * io/fcntl.h [__USE_BSD]: Likewise.
3345 * io/ftw.h [__USE_BSD]: Likewise.
3346 * io/sys/stat.h [__USE_BSD]: Likewise.
3347 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3348 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3349 * libio/stdio.h [__USE_SVID]: Likewise.
3350 [__USE_BSD]: Likewise.
3351 * math/math.h [__USE_SVID]: Likewise.
3352 [__USE_BSD]: Likewise.
3353 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3354 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3355 * misc/search.h [__USE_SVID]: Likewise.
3356 * misc/sys/mman.h [__USE_BSD]: Likewise.
3357 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3358 * misc/sys/uio.h [__USE_BSD]: Likewise.
3359 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3360 * posix/glob.h [__USE_BSD]: Likewise.
3361 * posix/regex.h [__USE_BSD]: Likewise.
3362 * posix/sys/types.h [__USE_BSD]: Likewise.
3363 [__USE_SVID]: Likewise.
3364 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3365 * posix/sys/wait.h [__USE_BSD]: Likewise.
3366 [__USE_SVID]: Likewise.
3367 * posix/unistd.h [__USE_BSD]: Likewise.
3368 [__USE_SVID]: Likewise.
3369 * pwd/pwd.h [__USE_SVID]: Likewise.
3370 * resolv/netdb.h [__USE_BSD]: Likewise.
3371 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3372 * signal/signal.h [__USE_BSD]: Likewise.
3373 [__USE_SVID]: Likewise.
3374 * socket/sys/socket.h [__USE_BSD]: Likewise.
3375 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3376 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3377 [__USE_SVID]: Likewise.
3378 * string/bits/string2.h [__USE_BSD]: Likewise.
3379 [__USE_SVID]: Likewise.
3380 * string/bits/string3.h [__USE_BSD]: Likewise.
3381 * string/endian.h [__USE_BSD]: Likewise.
3382 * string/string.h [__USE_SVID]: Likewise.
3383 [__USE_BSD]: Likewise.
3384 * string/strings.h [__USE_BSD]: Likewise.
3385 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3386 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3387 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3388 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3389 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3390 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3391 Likewise.
3392 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3393 Likewise.
3394 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3395 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3396 Likewise.
3397 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3398 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3399 Likewise.
3400 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3401 Likewise.
3402 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3403 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3404 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3405 Likewise.
3406 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3407 Likewise.
3408 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3409 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3410 * termios/termios.h [__USE_BSD]: Likewise.
3411 * time/sys/time.h [__USE_BSD]: Likewise.
3412 * time/time.h [__USE_BSD]: Likewise.
3413 [__USE_SVID]: Likewise.
3414
3415 * Makefile (subdir_targets): Remove subdir_lint.out.
3416
3417 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3418 (do-tst-printf): Likewise.
3419 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3420 $(objpfx)tst-printf.out.
3421
3422 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3423
3424 * Makerules (check-abi-%): Change target to
3425 $(objpfx)check-abi-%.out.
3426 (check-abi target): Update dependencies.
3427 (check-abi-pattern variable): Redirect output of diff to $@.
3428 (check-abi variable): Likewise.
3429 * elf/Makefile (check-abi): Update dependencies.
3430
3431 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3432 unused.
3433 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3434 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3435 subnormal range.
3436 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3437 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3438 value has largest subnormal exponent.
3439 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3440 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3441 * sysdeps/aarch64/soft-fp/sfp-machine.h
3442 (_FP_TININESS_AFTER_ROUNDING): New macro.
3443 * sysdeps/alpha/soft-fp/sfp-machine.h
3444 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3445 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3446 Likewise.
3447 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3448 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3449 * sysdeps/mips/soft-fp/sfp-machine.h
3450 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3451 * sysdeps/powerpc/soft-fp/sfp-machine.h
3452 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3453 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3454 Likewise.
3455 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3456 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3457 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3458 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3459 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3460 Likewise.
3461
3462 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3463
3464 [BZ #16545]
3465 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3466 model 1.
3467
3468 2014-02-12 Richard Henderson <rth@redhat.com>
3469
3470 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3471 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3472 * sysdeps/unix/sysv/linux/alpha: Move directory from
3473 ports/sysdeps/unix/sysv/linux/alpha.
3474 * README: Update listing for alpha-*-linux-gnu.
3475
3476 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3477
3478 * include/features.h: Update comment documenting feature test
3479 macros.
3480 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3481 _DEFAULT_SOURCE.
3482 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3483 (_SVID_SOURCE): Likewise.
3484 (_DEFAULT_SOURCE): Update description of default features.
3485 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3486 with _GNU_SOURCE.
3487 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3488 (S_ISVTX): Likewise.
3489 * manual/math.texi (Mathematical Constants): Likewise.
3490 * manual/signal.texi (Interrupted Primitives): Likewise.
3491 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3492 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3493 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3494 Don't refer to _SVID_SOURCE in warning text.
3495
3496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3497
3498 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3499 already defined.
3500 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3501 * sysdeps/mips/dl-lookup.c: Remove.
3502 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3503
3504 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3505
3506 [BZ #16447]
3507 * math/auto-libm-test-in: Add testcase for expl.
3508 * math/auto-libm-test-out: Regenerate.
3509 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3510 calculation of unsafe.
3511 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3512
3513 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3514
3515 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3516 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3517 ports/sysdeps/unix/sysv/linux/aarch64.
3518 * README: Update listing for aarch64*-*-linux-gnu.
3519
3520 2014-02-11 Will Newton <will.newton@linaro.org>
3521
3522 * manual/probes.texi (Mathematical Function Probes): Use
3523 "triggered" instead of "hit".
3524
3525 2014-02-11 Will Newton <will.newton@linaro.org>
3526
3527 * manual/probes.texi (Internal Probes): Add documentation
3528 of setjmp, longjmp and longjmp_target probes.
3529
3530 2014-02-11 Will Newton <will.newton@linaro.org>
3531
3532 * include/stap-probe.h: Add comment about probe argument
3533 format.
3534
3535 2014-02-11 Will Newton <will.newton@linaro.org>
3536
3537 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3538 definition. (tr_where, tr_freehook, tr_mallochook,
3539 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3540
3541 2014-02-11 David S. Miller <davem@davemloft.net>
3542
3543 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3544 processing int_tests.
3545
3546 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3547
3548 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3549 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3550 * sysdeps/unix/sysv/linux/mips: Move directory from
3551 ports/sysdeps/unix/sysv/linux/mips.
3552 * README: Update listing for mips-*-linux-gnu and
3553 mips64-*-linux-gnu.
3554
3555 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3556
3557 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3558 * sysdeps/unix/sysv/linux/m68k: Move directory from
3559 ports/sysdeps/unix/sysv/linux/m68k.
3560 * README: Update listing for m68k-*-linux-gnu.
3561
3562 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3563
3564 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3565 * sysdeps/unix/sysv/linux/generic: Move directory from
3566 ports/sysdeps/unix/sysv/linux/generic.
3567 * sysdeps/unix/sysv/linux/tile: Move directory from
3568 ports/sysdeps/unix/sysv/linux/tile.
3569 * README: Update listing for tile*-*-linux-gnu.
3570
3571 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3572
3573 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3574 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3575 * catgets/open_catalog.c (__open_catalog): Likewise.
3576 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3577 * debug/confstr_chk.c: Likewise.
3578 * debug/fread_chk.c (__fread_chk): Likewise.
3579 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3580 * debug/getgroups_chk.c: Likewise.
3581 * debug/mbsnrtowcs_chk.c: Likewise.
3582 * debug/mbsrtowcs_chk.c: Likewise.
3583 * debug/mbstowcs_chk.c: Likewise.
3584 * debug/memcpy_chk.c: Likewise.
3585 * debug/memmove_chk.c: Likewise.
3586 * debug/mempcpy_chk.c: Likewise.
3587 * debug/memset_chk.c: Likewise.
3588 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3589 * debug/strcat_chk.c (__strcat_chk): Likewise.
3590 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3591 * debug/strncat_chk.c (__strncat_chk): Likewise.
3592 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3593 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3594 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3595 * debug/wcpncpy_chk.c: Likewise.
3596 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3597 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3598 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3599 * debug/wcsncpy_chk.c: Likewise.
3600 * debug/wcsnrtombs_chk.c: Likewise.
3601 * debug/wcsrtombs_chk.c: Likewise.
3602 * debug/wcstombs_chk.c: Likewise.
3603 * debug/wmemcpy_chk.c: Likewise.
3604 * debug/wmemmove_chk.c: Likewise.
3605 * debug/wmempcpy_chk.c: Likewise.
3606 * debug/wmemset_chk.c: Likewise.
3607 * dirent/scandirat.c (SCANDIRAT): Likewise.
3608 * dlfcn/dladdr1.c (dladdr1): Likewise.
3609 * dlfcn/dladdr.c (dladdr): Likewise.
3610 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3611 * dlfcn/dlerror.c (__dlerror): Likewise.
3612 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3613 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3614 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3615 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3616 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3617 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3618 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3619 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3620 Likewise.
3621 * elf/dl-conflict.c: Likewise.
3622 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3623 * elf/dl-dst.h: Likewise.
3624 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3625 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3626 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3627 * elf/dl-init.c (call_init, _dl_init): Likewise.
3628 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3629 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3630 _dl_map_object_from_fd, open_verify, open_path,
3631 _dl_map_object): Likewise.
3632 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3633 Likewise.
3634 * elf/dl-minimal.c (__libc_memalign): Likewise.
3635 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3636 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3637 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3638 * elf/dl-sym.c (do_sym): Likewise.
3639 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3640 _dl_tls_get_addr_soft): Likewise.
3641 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3642 * elf/dl-writev.h (_dl_writev): Likewise.
3643 * elf/ldconfig.c (search_dir): Likewise.
3644 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3645 dl_main): Likewise.
3646 * elf/setup-vdso.h (setup_vdso): Likewise.
3647 * grp/compat-initgroups.c (compat_call): Likewise.
3648 * grp/fgetgrent.c (fgetgrent): Likewise.
3649 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3650 * grp/putgrent.c (putgrent): Likewise.
3651 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3652 Likewise.
3653 * hurd/hurdinit.c: Likewise.
3654 * iconvdata/8bit-gap.c (struct): Likewise.
3655 * iconvdata/ansi_x3.110.c : Likewise.
3656 * iconvdata/big5.c : Likewise.
3657 * iconvdata/big5hkscs.c : Likewise.
3658 * iconvdata/cp1255.c: Likewise.
3659 * iconvdata/cp1258.c : Likewise.
3660 * iconvdata/cp932.c : Likewise.
3661 * iconvdata/euc-cn.c: Likewise.
3662 * iconvdata/euc-jisx0213.c : Likewise.
3663 * iconvdata/euc-jp.c: Likewise.
3664 * iconvdata/euc-jp-ms.c : Likewise.
3665 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3666 * iconvdata/gb18030.c : Likewise.
3667 * iconvdata/gbbig5.c (const): Likewise.
3668 * iconvdata/gbgbk.c: Likewise.
3669 * iconvdata/gbk.c : Likewise.
3670 * iconvdata/ibm1364.c : Likewise.
3671 * iconvdata/ibm930.c : Likewise.
3672 * iconvdata/ibm932.c: Likewise.
3673 * iconvdata/ibm933.c : Likewise.
3674 * iconvdata/ibm935.c : Likewise.
3675 * iconvdata/ibm937.c : Likewise.
3676 * iconvdata/ibm939.c : Likewise.
3677 * iconvdata/ibm943.c: Likewise.
3678 * iconvdata/iso_11548-1.c: Likewise.
3679 * iconvdata/iso-2022-cn.c : Likewise.
3680 * iconvdata/iso-2022-cn-ext.c : Likewise.
3681 * iconvdata/iso-2022-jp-3.c: Likewise.
3682 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3683 * iconvdata/iso-2022-kr.c : Likewise.
3684 * iconvdata/iso646.c (gconv_end): Likewise.
3685 * iconvdata/iso_6937-2.c : Likewise.
3686 * iconvdata/iso_6937.c : Likewise.
3687 * iconvdata/iso8859-1.c: Likewise.
3688 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3689 * iconvdata/shift_jisx0213.c : Likewise.
3690 * iconvdata/sjis.c : Likewise.
3691 * iconvdata/t.61.c : Likewise.
3692 * iconvdata/tcvn5712-1.c : Likewise.
3693 * iconvdata/tscii.c: Likewise.
3694 * iconvdata/uhc.c : Likewise.
3695 * iconvdata/unicode.c (gconv_end): Likewise.
3696 * iconvdata/utf-16.c (gconv_end): Likewise.
3697 * iconvdata/utf-32.c (gconv_end): Likewise.
3698 * iconvdata/utf-7.c (base64): Likewise.
3699 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3700 * iconv/gconv_close.c (__gconv_close): Likewise.
3701 * iconv/gconv_open.c (__gconv_open): Likewise.
3702 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3703 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3704 internal_ucs4le_loop_single, ucs4le_internal_loop,
3705 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3706 * iconv/iconv.c (iconv): Likewise.
3707 * iconv/iconv_close.c: Likewise.
3708 * iconv/loop.c (SINGLE): Likewise.
3709 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3710 * include/atomic.h: Likewise.
3711 * inet/inet6_option.c (option_alloc): Likewise.
3712 * intl/bindtextdom.c (set_binding_values): Likewise.
3713 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3714 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3715 * intl/localealias.c (read_alias_file): Likewise.
3716 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3717 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3718 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3719 * libio/fmemopen.c (fmemopen): Likewise.
3720 * libio/iofgets.c (_IO_fgets): Likewise.
3721 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3722 * libio/iofgetws.c (fgetws): Likewise.
3723 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3724 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3725 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3726 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3727 * locale/findlocale.c (_nl_find_locale): Likewise.
3728 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3729 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3730 Likewise.
3731 * locale/setlocale.c (setlocale): Likewise.
3732 * login/programs/pt_chown.c (main): Likewise.
3733 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3734 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3735 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3736 mmap, mmap64, mremap, munmap): Likewise.
3737 * math/e_exp2l.c: Likewise.
3738 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3739 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3740 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3741 * math/s_catan.c (__catan): Likewise.
3742 * math/s_catanf.c (__catanf): Likewise.
3743 * math/s_catanh.c (__catanh): Likewise.
3744 * math/s_catanhf.c (__catanhf): Likewise.
3745 * math/s_catanhl.c (__catanhl): Likewise.
3746 * math/s_catanl.c (__catanl): Likewise.
3747 * math/s_ccosh.c (__ccosh): Likewise.
3748 * math/s_ccoshf.c (__ccoshf): Likewise.
3749 * math/s_ccoshl.c (__ccoshl): Likewise.
3750 * math/s_cexp.c (__cexp): Likewise.
3751 * math/s_cexpf.c (__cexpf): Likewise.
3752 * math/s_cexpl.c (__cexpl): Likewise.
3753 * math/s_clog10.c (__clog10): Likewise.
3754 * math/s_clog10f.c (__clog10f): Likewise.
3755 * math/s_clog10l.c (__clog10l): Likewise.
3756 * math/s_clog.c (__clog): Likewise.
3757 * math/s_clogf.c (__clogf): Likewise.
3758 * math/s_clogl.c (__clogl): Likewise.
3759 * math/s_csin.c (__csin): Likewise.
3760 * math/s_csinf.c (__csinf): Likewise.
3761 * math/s_csinh.c (__csinh): Likewise.
3762 * math/s_csinhf.c (__csinhf): Likewise.
3763 * math/s_csinhl.c (__csinhl): Likewise.
3764 * math/s_csinl.c (__csinl): Likewise.
3765 * math/s_csqrt.c (__csqrt): Likewise.
3766 * math/s_csqrtf.c (__csqrtf): Likewise.
3767 * math/s_csqrtl.c (__csqrtl): Likewise.
3768 * math/s_ctan.c (__ctan): Likewise.
3769 * math/s_ctanf.c (__ctanf): Likewise.
3770 * math/s_ctanh.c (__ctanh): Likewise.
3771 * math/s_ctanhf.c (__ctanhf): Likewise.
3772 * math/s_ctanhl.c (__ctanhl): Likewise.
3773 * math/s_ctanl.c (__ctanl): Likewise.
3774 * math/w_pow.c: Likewise.
3775 * math/w_powf.c: Likewise.
3776 * math/w_powl.c: Likewise.
3777 * math/w_scalb.c (sysv_scalb): Likewise.
3778 * math/w_scalbf.c (sysv_scalbf): Likewise.
3779 * math/w_scalbl.c (sysv_scalbl): Likewise.
3780 * misc/error.c (error_tail): Likewise.
3781 * misc/pselect.c (__pselect): Likewise.
3782 * nis/nis_callback.c (__nis_create_callback): Likewise.
3783 * nis/nis_call.c (__nisfind_server): Likewise.
3784 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3785 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3786 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3787 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3788 * nis/nis_lookup.c (nis_lookup): Likewise.
3789 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3790 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3791 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3792 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3793 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3794 internal_getgrgid_r): Likewise.
3795 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3796 Likewise.
3797 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3798 internal_getpwuid_r): Likewise.
3799 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3800 internal_getspnam_r): Likewise.
3801 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3802 _nss_nis_getaliasbyname_r): Likewise.
3803 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3804 _nss_nis_getntohost_r): Likewise.
3805 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3806 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3807 Likewise.
3808 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3809 internal_nis_gethostent_r, internal_gethostbyname2_r,
3810 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3811 _nss_nis_gethostbyname4_r): Likewise.
3812 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3813 initgroups_netid): Likewise.
3814 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3815 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3816 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3817 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3818 _nss_nis_getprotobynumber_r): Likewise.
3819 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3820 _nss_nis_getsecretkey): Likewise.
3821 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3822 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3823 Likewise.
3824 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3825 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3826 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3827 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3828 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3829 _nss_nis_getspnam_r): Likewise.
3830 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3831 Likewise.
3832 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3833 _nss_nisplus_getntohost_r): Likewise.
3834 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3835 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3836 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3837 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3838 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3839 Likewise.
3840 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3841 _nss_nisplus_getnetbyaddr_r): Likewise.
3842 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3843 _nss_nisplus_getprotobynumber_r): Likewise.
3844 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3845 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3846 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3847 Likewise.
3848 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3849 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3850 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3851 _nss_nisplus_getspnam_r): Likewise.
3852 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3853 * nscd/aicache.c (addhstaiX): Likewise.
3854 * nscd/cache.c (cache_search, prune_cache): Likewise.
3855 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3856 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3857 * nscd/grpcache.c (addgrbyX): Likewise.
3858 * nscd/hstcache.c (addhstbyX): Likewise.
3859 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3860 * nscd/mem.c (gc, mempool_alloc): Likewise.
3861 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3862 Likewise.
3863 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3864 Likewise.
3865 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3866 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3867 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3868 Likewise.
3869 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3870 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3871 * nscd/nscd_helper.c (__readvall, open_socket,
3872 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3873 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3874 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3875 * nscd/pwdcache.c (addpwbyX): Likewise.
3876 * nscd/selinux.c (preserve_capabilities): Likewise.
3877 * nscd/servicescache.c (addservbyX): Likewise.
3878 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3879 * posix/fnmatch.c (fnmatch): Likewise.
3880 * posix/getopt.c (_getopt_internal_r): Likewise.
3881 * posix/glob.c (glob, glob_in_dir): Likewise.
3882 * posix/wordexp.c (exec_comm_child): Likewise.
3883 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3884 gaih_getanswer_slice): Likewise.
3885 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3886 * resolv/res_init.c: Likewise.
3887 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3888 * resolv/res_query.c (__libc_res_nquery): Likewise.
3889 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3890 Likewise.
3891 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3892 * stdio-common/perror.c (perror): Likewise.
3893 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3894 * stdio-common/tmpnam.c (tmpnam): Likewise.
3895 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3896 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3897 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3898 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3899 * stdlib/putenv.c (putenv): Likewise.
3900 * stdlib/setenv.c (__add_to_environ): Likewise.
3901 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3902 * stdlib/strtol_l.c (INTERNAL): Likewise.
3903 * string/memmem.c (memmem): Likewise.
3904 * string/strerror.c (strerror): Likewise.
3905 * string/strnlen.c (__strnlen): Likewise.
3906 * string/test-memmem.c (simple_memmem): Likewise.
3907 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3908 * sunrpc/pm_getport.c (__get_socket): Likewise.
3909 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3910 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3911 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3912 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3913 Likewise.
3914 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3915 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3916 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3917 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3918 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3919 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3920 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3921 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3922 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3923 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3924 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3925 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3927 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3928 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3929 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3930 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3931 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3932 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3933 Likewise.
3934 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3935 Likewise.
3936 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3937 Likewise.
3938 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3939 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3940 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3941 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3942 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3943 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3944 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3945 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3946 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3953 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3954 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3955 Likewise.
3956 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3957 Likewise.
3958 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3959 Likewise.
3960 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3961 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3962 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3963 Likewise.
3964 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3965 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3966 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3967 * sysdeps/posix/sleep.c: Likewise.
3968 * sysdeps/posix/tempname.c: Likewise.
3969 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3970 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3971 Likewise.
3972 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3973 elf_machine_rela): Likewise.
3974 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3975 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3976 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3977 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3978 Likewise.
3979 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3980 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3981 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3982 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3983 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3984 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3985 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3986 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3987 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3988 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3989 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3990 elf_machine_lazy_rel): Likewise.
3991 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3992 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3993 elf_machine_lazy_rel): Likewise.
3994 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3995 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3996 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3997 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3998 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3999 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4000 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4001 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4002 Likewise.
4003 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4004 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4005 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4006 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4007 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4008 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4009 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4010 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4011 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4012 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4013 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4014 Likewise.
4015 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4016 (__posix_fallocate64_l64): Likewise.
4017 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4018 (posix_fallocate): Likewise.
4019 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4020 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4021 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4022 getifaddrs_internal): Likewise.
4023 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4024 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4025 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4026 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4027 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4028 (__posix_fallocate64_l64): Likewise.
4029 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4030 Likewise.
4031 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4032 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4033 Likewise.
4034 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4035 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4036 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4038 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4039 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4040 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4041 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4042 Likewise.
4043 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4044 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4045 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4046 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4047 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4048 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4049 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4050 Likewise.
4051 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4052 (posix_fallocate): Likewise.
4053 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4054 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4055 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4056 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4057 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4058 Likewise.
4059 * time/asctime.c (asctime_internal): Likewise.
4060 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4061 * time/tzset.c (__tzset_parse_tz): Likewise.
4062 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4063 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4064 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4065 * wcsmbs/wcsmbsload.h: Likewise.
4066
4067 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4068
4069 [BZ #15894]
4070 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4071
4072 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4073
4074 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4075 arena_get2): Remove THREAD_STATS conditionals.
4076 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4077 __malloc_stats, int): Likewise.
4078
4079 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4080
4081 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4082 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4083
4084 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4085
4086 * manual/setjmp.texi: Fix typos/grammar errors.
4087
4088 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4089
4090 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4091 Only return early when n is <= 0. Delete unused return statement.
4092
4093 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4094
4095 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4096 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4097 * debug/tst-longjmp_chk3.c: New file.
4098
4099 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4100
4101 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4102 (test_main): Replace code with set_fortify_handler call.
4103 * debug/test-strcpy_chk.c: Likewise.
4104 * debug/tst-chk1.c: Likewise.
4105 * debug/tst-longjmp_chk.c: Likewise.
4106 * test-skeleton.c: Include fcntl.h & paths.h
4107 (set_fortify_handler): Define.
4108
4109 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4110
4111 * debug/tst-longjmp_chk.c: Add header comment and include
4112 ../test-skeleton.c.
4113 (do_test): Mark static.
4114 (TEST_FUNCTION): Define.
4115
4116 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4117
4118 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4119 (IP_PMTUDISC_INTERFACE): Likewise.
4120 (IP_MULTICAST_IF): Likewise.
4121 (IP_MULTICAST_TTL): Likewise.
4122 (IP_MULTICAST_LOOP): Likewise.
4123 (IP_ADD_MEMBERSHIP): Likewise.
4124 (IP_DROP_MEMBERSHIP): Likewise.
4125 (IP_UNBLOCK_SOURCE): Likewise.
4126 (IP_BLOCK_SOURCE): Likewise.
4127 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4128 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4129 (IP_MSFILTER): Likewise.
4130 (MCAST_JOIN_GROUP): Likewise.
4131 (MCAST_BLOCK_SOURCE): Likewise.
4132 (MCAST_UNBLOCK_SOURCE): Likewise.
4133 (MCAST_LEAVE_GROUP): Likewise.
4134 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4135 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4136 (MCAST_MSFILTER): Likewise.
4137 (IP_MULTICAST_ALL): Likewise.
4138 (IP_UNICAST_IF): Likewise.
4139
4140 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4141
4142 * timezone/Makefile: Delete $(have-ksh) check.
4143 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4144 * timezone/tzselect.ksh: Add +x mode bits.
4145
4146 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4147
4148 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4149 (ANON_INODE_FS_MAGIC): Likewise.
4150 (BDEVFS_MAGIC): Likewise.
4151 (BINFMTFS_MAGIC): Likewise.
4152 (BTRFS_TEST_MAGIC): Likewise.
4153 (CRAMFS_MAGIC_WEND): Likewise.
4154 (DEBUGFS_MAGIC): Likewise.
4155 (ECRYPTFS_SUPER_MAGIC): Likewise.
4156 (EXT3_SUPER_MAGIC): Likewise.
4157 (EXT4_SUPER_MAGIC): Likewise.
4158 (FUTEXFS_SUPER_MAGIC): Likewise.
4159 (HOSTFS_SUPER_MAGIC): Likewise.
4160 (HUGETLBFS_MAGIC): Likewise.
4161 (MINIX3_SUPER_MAGIC): Likewise.
4162 (MTD_INODE_FS_MAGIC): Likewise.
4163 (NILFS_SUPER_MAGIC): Likewise.
4164 (OPENPROM_SUPER_MAGIC): Likewise.
4165 (PIPEFS_MAGIC): Likewise.
4166 (PSTOREFS_MAGIC): Likewise.
4167 (QNX6_SUPER_MAGIC): Likewise.
4168 (RAMFS_MAGIC): Likewise.
4169 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4170 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4171 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4172 (SECURITYFS_MAGIC): Likewise.
4173 (SELINUX_MAGIC): Likewise.
4174 (SMACK_MAGIC): Likewise.
4175 (SOCKFS_MAGIC): Likewise.
4176 (SQUASHFS_MAGIC): Likewise.
4177 (STACK_END_MAGIC): Likewise.
4178 (TMPFS_MAGIC): Likewise.
4179 (USBDEVICE_SUPER_MAGIC): Likewise.
4180 (V9FS_MAGIC): Likewise.
4181 (XENFS_SUPER_MAGIC): Likewise.
4182 (CRAMFS_MAGIC): Fix typo in comment.
4183 (EXT2_SUPER_MAGIC): Update comment.
4184 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4185
4186 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4187
4188 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4189 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4190 * sysdeps/unix/sysv/linux/arm: Move directory from
4191 ports/sysdeps/unix/sysv/linux/arm.
4192 * README: Update listing for arm-*-linux-gnueabi.
4193
4194 * README: Remove mention of am33.
4195
4196 2014-02-07 Roland McGrath <roland@hack.frob.com>
4197
4198 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4199 than the comma operator, to avoid "rhs of comma has no effect"
4200 compiler warnings.
4201 (__sigfillset, __sigandset, __sigorset): Likewise.
4202 * include/signal.h (__sigemptyset): Likewise.
4203 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4204
4205 2014-02-07 Allan McRae <allan@archlinux.org>
4206
4207 * version.h (RELEASE): Set to "development".
4208 (VERSION): Set to "2.19.90"
4209 * NEWS: Add 2.20 section.
4210
4211 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4212
4213 [BZ #16529]
4214 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4215
4216 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4217
4218 * manual/contrib.texi: Update entry for Carlos O'Donell,
4219 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4220
4221 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4222
4223 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4224
4225 * sysdeps/unix/sysv/linux/kernel-features.h
4226 [__LINUX_KERNEL_VERSION >= 0x020621]
4227 (__ASSUME_PROC_PID_TASK_COMM): Define.
4228
4229 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4230
4231 [BZ #16398]
4232 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4233 conversion when destination buffer does not have enough space.
4234 * libio/tst-ftell-partial-wide.c: New test case.
4235 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4236
4237 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4238 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4239 Leonard and Allan McRae.
4240
4241 2014-02-04 David S. Miller <davem@davemloft.net>
4242
4243 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4244 32-bit.
4245
4246 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4247
4248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4249 file
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4251 New file
4252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4253 file.
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4255 file.
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4257 New file.
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4259 file.
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4261 file.
4262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4263 New file.
4264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4265 New file.
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4267 New file.
4268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4269 New file.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4271 New file.
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4273 New file.
4274
4275 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4276
4277 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4278 * shlib-versions: Likewise.
4279
4280 2014-02-04 Roland McGrath <roland@hack.frob.com>
4281 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4282
4283 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4284 (abilist-pattern): New variable, set to %-le.abilist.
4285
4286 * Makerules (abilist-pattern): New variable.
4287 (vpath): Use $(abilist-pattern) in place of %.abilist.
4288 (check-abi-% pattern rule): Likewise.
4289 (check-abi, update-abi): Likewise.
4290
4291 2014-02-04 Eric Wong <normalperson@yhbt.net>
4292
4293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4294
4295 2014-02-04 Eric Wong <normalperson@yhbt.net>
4296
4297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4298
4299 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4300
4301 * manual/startup.texi: Add next, previous, and top entries for
4302 the `Program Arguments' and `Environment Variables' nodes.
4303
4304 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4305
4306 * manual/macros.texi: Add comments before MTASC-safety macros.
4307
4308 * manual/users.texi: Document MTASC-safety properties.
4309
4310 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4311 pthread_getspecific, pthread_setspecific): Format with
4312 @deftypefun, and add @safety note.
4313 * manual/signal.texi: Move comments that analyze the above
4314 functions to their home place.
4315
4316 2014-02-03 Allan McRae <allan@archlinux.org>
4317
4318 * po/sl.po: Update Slovenian translation from translation project.
4319
4320 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4321
4322 * manual/time.texi (timegm): Add missing blank after @c.
4323 Reported by Joseph Myers <joseph@codesourcery.com>.
4324
4325 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4326
4327 * manual/check-safety.sh: New.
4328 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4329
4330 * manual/terminal.texi: Document MTASC-safety properties.
4331
4332 * manual/filesys.texi: Document MTASC-safety properties.
4333
4334 * manual/errno.texi: Document MTASC-safety properties.
4335
4336 * manual/intro.texi: Document safety identifiers and
4337 conditionals.
4338
4339 * manual/string.texi (wcstok): Fix prototype.
4340 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4341
4342 * manual/time.texi: Document MTASC-safety properties.
4343
4344 * manual/string.texi: Document MTASC-safety properties.
4345
4346 * manual/threads.texi: Document MTASC-safety properties.
4347
4348 * manual/stdio.texi: Document MTASC-safety properties.
4349
4350 * manual/syslog.texi: Document MTASC-safety properties.
4351
4352 * manual/sysinfo.texi: Document MTASC-safety properties.
4353
4354 * manual/startup.texi: Document MTASC-safety properties.
4355
4356 * manual/socket.texi: Document MTASC-safety properties.
4357
4358 * manual/signal.texi: Document MTASC-safety properties.
4359
4360 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4361
4362 * manual/setjmp.texi: Document MTASC-safety properties.
4363
4364 * manual/search.texi: Document MTASC-safety properties.
4365
4366 * manual/resource.texi: Document MTASC-safety properties.
4367
4368 * manual/process.texi: Document MTASC-safety properties.
4369
4370 * manual/platform.texi: Document MTASC-safety properties.
4371
4372 * manual/pipe.texi: Document MTASC-safety properties.
4373
4374 * manual/pattern.texi: Document MTASC-safety properties.
4375
4376 * manual/message.texi: Document MTASC-safety properties.
4377
4378 [BZ #12751]
4379 * manual/memory.texi: Document MTASC-safety properties.
4380
4381 * manual/math.texi: Document MTASC-safety properties.
4382
4383 * manual/locale.texi: Document MTASC-safety properties.
4384
4385 * manual/llio.texi: Document MTASC-safety properties.
4386
4387 * manual/libdl.texi: New.
4388
4389 * manual/lang.texi: Document MTASC-safety properties.
4390
4391 * manual/job.texi: Document MTASC-safety properties.
4392
4393 * manual/getopt.texi: Document MTASC-safety properties.
4394
4395 * manual/ctype.texi: Document MTASC-safety properties.
4396
4397 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4398
4399 [BZ #16046]
4400 * csu/libc-tls.c (static_map): Remove variable.
4401 (__libc_setup_tls): Use main executable's link map for TLS data.
4402 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4403 casing for LM_ID_BASE and GL(dl_nns).
4404 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4405 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4406 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4407 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4408 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4409 member.
4410 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4411 l_phnum members.
4412
4413 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4414
4415 * manual/debug.texi: Document MTASC-safety properties.
4416
4417 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4418
4419 [BZ #16510]
4420 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4421 of __x86_64__ when disabling x87 inline functions.
4422
4423 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4424
4425 * manual/charset.texi: Document MTASC-safety properties.
4426
4427 * manual/crypt.texi: Document MTASC-safety properties.
4428
4429 * manual/conf.texi: Document MTASC-safety properties.
4430
4431 * manual/arith.texi: Document MTASC-safety properties.
4432
4433 * manual/argp.texi: Document MTASC-safety properties.
4434
4435 * manual/macros.texi: Introduce macros to document multi
4436 thread, asynchronous signal and asynchronous cancellation
4437 safety properties.
4438 * manual/intro.texi: Introduce the properties themselves.
4439
4440 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4441
4442 * sysdeps/sh/sh4/Makefile: New file.
4443
4444 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4445
4446 * math/gen-libm-test.pl ($srcdir): New variable.
4447 ($auto_input): Use it.
4448
4449 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4450
4451 [BZ #16506]
4452 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4453 access beyond array bounds when parsing netgroups file.
4454
4455 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4456 the old buffer before realloc.
4457
4458 2014-01-27 Allan McRae <allan@archlinux.org>
4459
4460 * po/fr.po: Update French translation from translation project.
4461
4462 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4463
4464 * sysdeps/sh/libm-test-ulps: Regenerate.
4465
4466 2014-01-24 David S. Miller <davem@davemloft.net>
4467
4468 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4469
4470 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4471
4472 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4473 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4474
4475 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4476
4477 [BZ #16474]
4478 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4479 string pointers after reallocation.
4480
4481 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4482
4483 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4484 __SH4A__ instead of __SH_FPU_ANY__.
4485
4486 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4487
4488 * sysdeps/sh/fpu_control.h: New file.
4489 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4490 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4491 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4492 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4493 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4494 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4495 * sysdeps/sh/sys/ucontext.h: Remove.
4496 * sysdeps/sh/sys: Remove directory.
4497
4498 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4499
4500 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4501 s390/sys/ucontext.h.
4502 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4503 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4504
4505 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4506
4507 [BZ #15605]
4508 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4509
4510 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4511
4512 [BZ#16431]
4513 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4514 Adjust the vDSO correctly for internal calls.
4515 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4516
4517 2014-01-20 Allan McRae <allan@archlinux.org>
4518
4519 * po/ca.po: Update Catalan translation from translation project.
4520
4521 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4522
4523 * sysdeps/s390/sotruss-lib.c: New file.
4524
4525 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4526
4527 [BZ#16430]
4528 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4529 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4530 local calls issues by not having a PLT stub required for IFUNC calls.
4531 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4532
4533 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4534
4535 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4536 * math/test-fpucw-static.c: Likewise.
4537
4538 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4539
4540 [BZ #16453]
4541 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4542
4543 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4544
4545 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4546 implementation for powerpc.
4547
4548 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4549
4550 [BZ #14782]
4551 * sysdeps/posix/system.c (__libc_system): Do not enable
4552 asynchronous cancellation.
4553
4554 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4555
4556 [BZ #16427]
4557 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4558 handling only for numbers special also in the IEEE case.
4559
4560 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4561
4562 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4563
4564 2014-01-11 Allan McRae <allan@archlinux.org>
4565
4566 * po/bg.po: Update Bulgarian translation from translation project.
4567
4568 * po/de.po: Update German translation from translation project.
4569
4570 2014-01-10 Roland McGrath <roland@hack.frob.com>
4571
4572 * sysdeps/generic/gcc-compat.h: New file.
4573
4574 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4575
4576 * benchtests/asin-inputs: Correct slow inputs.
4577 * benchtests/acos-inputs: Likewise.
4578
4579 2014-01-10 Allan McRae <allan@archlinux.org>
4580
4581 * po:sv.po: Update Swedish translation from translation project.
4582
4583 * po/vi.po: Update Vietnamese translation from translation project.
4584
4585 * po/eo.po: Update Esperanto translation from translation project.
4586
4587 * po/cs.po: Update Czech translation from translation project.
4588
4589 * po/nl.po: Update Dutch translation from translation project.
4590
4591 * po/pl.po: Update Polish translation from translation project.
4592
4593 * po/ru.po: Update Russian translation from translation project.
4594
4595 * po/uk.po: Update Ukrainian translation from translation project.
4596
4597 2014-01-08 Brooks Moses <bmoses@google.com>
4598
4599 * elf/dl-load.c: Fix comment typo.
4600
4601 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4602
4603 * po/header.pot: Rename to...
4604 * po/pot.header: ... this.
4605 * po/Makefile: Use pot.header.
4606
4607 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4608 Maxim Kuvyrkov <maxim@kugelworks.com>
4609
4610 [BZ #16394]
4611 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4612 SRC and DEST against LEN.
4613
4614 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4615
4616 [BZ #16414]
4617 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4618 implementation.
4619 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4620
4621 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4622
4623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4624
4625 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4626
4627 [BZ #16408]
4628 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4629 for large positive arguments.
4630
4631 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4632
4633 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4634
4635 * math/auto-libm-test-in: Mark various tests with
4636 xfail-rounding:ldbl-128ibm.
4637 * math/auto-libm-test-out: Regenerated.
4638
4639 [BZ #16407]
4640 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4641 Increase overflow threshold.
4642
4643 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
4644
4645 [BZ #14286]
4646 * stdio-common/vfprintf.c: Check for integer overflow.
4647
4648 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4649
4650 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4651 the first argument and return value of __tls_get_addr_internal.
4652
4653 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4654
4655 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4656 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4657
4658 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4659
4660 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4661 * sysdeps/s390/rtld-global-offsets.sym: New file.
4662 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4663 GLIBC_2.19 symbol.
4664 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4665 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4666 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4667 ... this.
4668 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4669 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4670 ... this.
4671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4672 Regenerate.
4673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4674 Regenerate.
4675 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4676 halfs of GPRs for high_gprs contexts.
4677 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4678 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4679 field.
4680 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4681 uc_flags field.
4682 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4683 64 bit versions:
4684 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4685 for high GPRs (uc_high_gprs) and for future extensions
4686 (__reserved).
4687 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4688 for future extensions (__reserved).
4689 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4690 64 bit versions:
4691 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4692 SC_HIGHGPRS offset definition.
4693 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4694 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4695
4696 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4697
4698 * Versions.def: Add GLIBC_2.19 for libpthread.
4699 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4700 siglongjmp for libpthread with GLIBC_2.19 symver.
4701 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4702 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4703 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4704 * sysdeps/s390/__longjmp.c: New file.
4705 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4706 * sysdeps/s390/longjmp.c: New file.
4707 * sysdeps/s390/setjmp.S: New file.
4708 * sysdeps/s390/sigjmp.S: New file.
4709 * sysdeps/s390/v1-longjmp.c: New file.
4710 * sysdeps/s390/v1-setjmp.h: New file.
4711 * sysdeps/s390/v1-sigjmp.c: New file.
4712 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4713 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4714 GLIBC_2.19 version.
4715 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4716 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4717 versioned symbols for ____longjmp_chk.
4718 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4719 Likewise.
4720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4721 Regenerate.
4722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4723 Regenerate.
4724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4725 Regenerate.
4726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4727 Regenerate.
4728 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4729 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4730 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4731 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4732 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4733 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4734 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4735 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4736 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4737 * sysdeps/s390/rtld-__longjmp.c: New file.
4738 * sysdeps/s390/rtld-setjmp.S: New file.
4739
4740 2014-01-06 Joseph Myers <joseph@codesourcery.com>
4741
4742 [BZ #16400]
4743 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4744 Return -__logl (x) for small positive arguments without evaluating
4745 a polynomial.
4746
4747 2014-01-06 Mike Frysinger <vapier@gentoo.org>
4748
4749 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4750 Rename to ...
4751 (__ptrace_peeksiginfo_args): ... this.
4752 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4753 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4754 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4755
4756 2014-01-06 Allan McRae <allan@archlinux.org>
4757
4758 * inet/netinet/in.h: Fix typo in comment.
4759
4760 2014-01-05 Andreas Jaeger <aj@suse.de>
4761
4762 * sysdeps/i386/fpu/libm-test-ulps: Update.
4763
4764 2014-01-05 Allan McRae <allan@archlinux.org>
4765
4766 * po/libc.pot: Regenerated.
4767
4768 * malloc/memusagestat.c: Fix gettext call formatting.
4769
4770 2014-01-04 Sami Kerola <kerolasa@iki.fi>
4771
4772 * nscd/nscd.c: Improve usage() output.
4773
4774 2014-01-04 Mike Frysinger <vapier@gentoo.org>
4775
4776 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4777 * sysdeps/unix/sysv/linux/configure: Regenerated.
4778 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4779 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4780
4781 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4782
4783 [BZ #16390]
4784 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4785 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4786
4787 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4788
4789 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4790 extra tokens at end of #undef directive.
4791 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4792 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4793 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4794
4795 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4796
4797 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4798
4799 * math/auto-libm-test-in: Mark various tests with
4800 xfail-rounding:ldbl-128ibm.
4801 * math/auto-libm-test-out: Regenerated.
4802
4803 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4804
4805 [BZ #16386]
4806 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4807 numbers with subnormal high part when calculating exponent.
4808
4809 [BZ #16385]
4810 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4811 fabs.
4812
4813 [BZ #16384]
4814 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4815 M_LN2l.
4816 (__ieee754_acoshl): Use __log1pl not __log1p.
4817
4818 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
4819
4820 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4821 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4822 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4823 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4824 Convert to GNU style.
4825 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4826 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4827 memalign_check, __malloc_set_state): Likewise.
4828 * malloc/mallocbug.c (main): Likewise.
4829 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4830 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4831 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4832 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4833 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4834 * malloc/malloc.h: Likewise.
4835 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4836 memalignhook, reallochook, mabort): Likewise.
4837 * malloc/mcheck.h: Likewise.
4838 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4839 mmap64, mremap, munmap, dest): Likewise.
4840 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4841 * malloc/morecore.c (__default_morecore): Likewise.
4842 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4843 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4844 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4845 print_and_abort): Likewise.
4846 * malloc/obstack.h: Likewise.
4847 * malloc/set-freeres.c (__libc_freeres): Likewise.
4848 * malloc/tst-mallocstate.c (main): Likewise.
4849 * malloc/tst-mtrace.c (main): Likewise.
4850 * malloc/tst-realloc.c (do_test): Likewise.
4851
4852 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4853
4854 [BZ #16366]
4855 * nscd/netgroupcache.c (do_notfound): New function.
4856 (addgetnetgrentX): Use it.
4857
4858 [BZ # 16365]
4859 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4860 NSS_STATUS_NOTFOUND.
4861
4862 2014-01-01 Joseph Myers <joseph@codesourcery.com>
4863
4864 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4866
4867 2014-01-01 Allan McRae <allan@archlinux.org>
4868
4869 * scripts/update-copyrights: Update configure input file suffix.
4870
4871 * NEWS: Update copyright year.
4872 * catgets/gencat.c: Likewise.
4873 * csu/version.c: Likewise.
4874 * debug/catchsegv.sh: Likewise.
4875 * debug/pcprofiledump.c: Likewise.
4876 * debug/xtrace.sh: Likewise.
4877 * elf/ldconfig.c: Likewise.
4878 * elf/ldd.bash.in: Likewise.
4879 * elf/pldd.c: Likewise.
4880 * elf/sotruss.ksh: Likewise.
4881 * elf/sprof.c: Likewise.
4882 * iconv/iconv_prog.c: Likewise.
4883 * iconv/iconvconfig.c: Likewise.
4884 * locale/programs/locale.c: Likewise.
4885 * locale/programs/localedef.c: Likewise.
4886 * login/programs/pt_chown.c: Likewise.
4887 * malloc/memusage.sh: Likewise.
4888 * malloc/memusagestat.c: Likewise.
4889 * malloc/mtrace.pl: Likewise.
4890 * manual/libc.texinfo: Likewise.
4891 * nscd/nscd.c: Likewise.
4892 * nss/getent.c: Likewise.
4893 * nss/makedb.c: Likewise.
4894 * posix/getconf.c: Likewise.
4895 * scripts/test-installation.pl: Likewise.
4896
4897 * All files with FSF copyright notices: Update copyright dates
4898 using scripts/update-copyrights.
4899 * intl/plural.c: Regenerated.
4900 * locale/programs/charmap-kw.h: Likewise.
4901 * locale/programs/locfile-kw.h: Likewise.
4902
4903 2013-12-31 Mike Frysinger <vapier@gentoo.org>
4904
4905 * sysdeps/unix/sysv/linux/configure: Regenerated.
4906 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4907 the linux/fanotify.h header.
4908 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4909 HAVE_LINUX_FANOTIFY_H is defined.
4910
4911 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4912
4913 * benchtests/cos-inputs: New inputs.
4914 * benchtests/sin-inputs: Likewise.
4915
4916 * benchtests/atan-inputs: New inputs. Fix name of multiple
4917 precision fallback inputs.
4918
4919 * benchtests/atanh-inputs: New inputs.
4920 * benchtests/tanh-inputs: Likewise.
4921
4922 * benchtests/acosh-inputs: New inputs.
4923 * benchtests/asinh-inputs: Likewise.
4924
4925 * benchtests/cosh-inputs: New inputs.
4926 * benchtests/sinh-inputs: Likewise.
4927
4928 * benchtests/acos-inputs: Add more inputs.
4929 * benchtests/asin-inputs: Likewise.
4930
4931 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
4932
4933 [BZ #16375]
4934 * manual/arith.texi: Fix spelling.
4935 * manual/charset.texi: Likewise.
4936 * manual/errno.texi: Likewise.
4937 * manual/filesys.texi: Likewise.
4938 * manual/lang.texi: Likewise.
4939 * manual/llio.texi: Likewise.
4940 * manual/locale.texi: Likewise.
4941 * manual/message.texi: Likewise.
4942 * manual/resource.texi: Likewise.
4943 * manual/search.texi: Likewise.
4944 * manual/setjmp.texi: Likewise.
4945 * manual/stdio.texi: Likewise.
4946 * manual/string.texi: Likewise.
4947 * manual/sysinfo.texi: Likewise.
4948 * manual/time.texi: Likewise.
4949
4950 2013-12-27 Carlos O'Donell <carlos@redhat.com>
4951
4952 * po/sl.po: New file.
4953
4954 2013-12-27 Mike Frysinger <vapier@gentoo.org>
4955
4956 * .gitignore: Add core/.gdbinit/.gdb_history.
4957
4958 2013-12-27 Allan McRae <allan@archlinux.org>
4959
4960 [BZ #16369]
4961 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4962 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4963
4964 2013-12-24 Brooks Moses <bmoses@google.com>
4965
4966 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4967 all compilers that claim C++98 compliance, not just GCC.
4968 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4969 Likewise.
4970
4971 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4972
4973 * NEWS: Restore accidentally deleted bug-fix entries.
4974
4975 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4976 Ondřej Bílka <neleai@seznam.cz>
4977
4978 [BZ #15073]
4979 * malloc/malloc.c (_int_free): Perform sanity check only if we
4980 have_lock.
4981
4982 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
4983
4984 [BZ #12986]
4985 * manual/stdio.texi (String Input Conversions): Clarify that character
4986 classes are not supported.
4987
4988 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4989
4990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4991
4992 2013-12-22 Joseph Myers <joseph@codesourcery.com>
4993
4994 [BZ #16337]
4995 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4996 Calculate results for small negative arguments directly rather
4997 than using reflection formula with special underflow handling.
4998
4999 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5000 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5001 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5002 (fchflags): Likewise.
5003 (revoke): Likewise.
5004 (setlogin): Likewise.
5005 (sigaltstack): Likewise.
5006 (wait4): Likewise.
5007 (sigblock): Remove.
5008 (sigsetmask): Likewise.
5009 (wait3): Likewise.
5010 (waitpid): Likewise.
5011 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5012 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5013 file.
5014 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5015 * sysdeps/unix/bsd/Makefile: ... here.
5016 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5017 * sysdeps/unix/bsd/Versions: ... here.
5018 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5019 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5020 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5021 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5022 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5023 * sysdeps/unix/bsd/sigblock.c: ... here.
5024 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5025 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5026 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5027 * sysdeps/unix/bsd/sigvec.c: ... here.
5028 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5029 * sysdeps/unix/bsd/tcdrain.c: ... here.
5030 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5031 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5032 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5033 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5034 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5035 * sysdeps/unix/bsd/wait.c: ... here.
5036 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5037 * sysdeps/unix/bsd/wait3.c: ... here.
5038 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5039 * sysdeps/unix/bsd/waitpid.c: ... here.
5040
5041 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5042
5043 [BZ #16356]
5044 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5045 round-to-nearest for [!USE_AS_EXPM1L].
5046 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5047 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5048 more tests of exp and exp10. Expect some exp10 tests to miss
5049 exceptions or fail in directed rounding modes.
5050 * math/auto-libm-test-out: Regenerated.
5051 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5052 (exp10_test_tonearest): New function.
5053 (exp10_towardzero_test_data): New array.
5054 (exp10_test_towardzero): New function.
5055 (exp10_downward_test_data): New array.
5056 (exp10_test_downward): New function.
5057 (exp10_upward_test_data): New array.
5058 (exp10_test_upward): New function.
5059 (main): Call the new functions.
5060 * sysdeps/i386/fpu/libm-test-ulps: Update.
5061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5062
5063 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5064
5065 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5066 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5067 * math/auto-libm-test-out: Regenerated.
5068 * math/libm-test.inc (acosh_test_data): Add more tests.
5069 (atanh_test_data): Likewise.
5070 (ceil_test_data): Likewise.
5071 (copysign_test_data): Likewise.
5072 * sysdeps/i386/fpu/libm-test-ulps: Update.
5073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5074
5075 * timezone/checktab.awk: Update from tzcode 2013i.
5076 * timezone/private.h: Likewise.
5077 * timezone/scheck.c: Likewise.
5078 * timezone/tzfile.h: Likewise.
5079 * timezone/tzselect.ksh: Likewise.
5080 * timezone/zdump.c: Likewise.
5081 * timezone/zic.c: Likewise.
5082
5083 * math/auto-libm-test-in: Add tests of cpow.
5084 * math/auto-libm-test-out: Regenerated.
5085 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5086 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5087 mpc_cc_c.
5088 (func_calc_desc): Add mpc_cc_c union field.
5089 (test_functions): Add cpow.
5090 (special_fill_2pi): New function.
5091 (special_real_inputs): Add 2pi.
5092 (calc_generic_results): Handle mpc_cc_c.
5093 * sysdeps/i386/fpu/libm-test-ulps: Update.
5094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5095
5096 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5097 csqrt, ctan and ctanh.
5098 * math/auto-libm-test-out: Regenerated.
5099 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5100 (TEST_COND_x86): Likewise.
5101 (ccos_test_data): Use AUTO_TESTS_c_c.
5102 (ccosh_test_data): Likewise.
5103 (cexp_test_data): Likewise.
5104 (clog_test_data): Likewise.
5105 (csqrt_test_data): Likewise.
5106 (ctan_test_data): Likewise.
5107 (ctan_tonearest_test_data): Likewise.
5108 (ctan_towardzero_test_data): Likewise.
5109 (ctan_downward_test_data): Likewise.
5110 (ctan_upward_test_data): Likewise.
5111 (ctanh_test_data): Likewise.
5112 (ctanh_tonearest_test_data): Likewise.
5113 (ctanh_towardzero_test_data): Likewise.
5114 (ctanh_downward_test_data): Likewise.
5115 (ctanh_upward_test_data): Likewise.
5116 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5117 mpc_c_c.
5118 (func_calc_desc): Add mpc_c_c union field.
5119 (FUNC_mpc_c_c): New macro.
5120 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5121 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5122 ctanh.
5123 (special_fill_min_subnorm_p120): New function.
5124 (special_real_inputs): Add min_subnorm_p120.
5125 (calc_generic_results): Handle mpc_c_c.
5126 * sysdeps/i386/fpu/libm-test-ulps: Update.
5127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5128
5129 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5130
5131 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5132 do_sin_slow): New functions.
5133 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5134 cslow2, csloww1, csloww2): Use the new functions.
5135
5136 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5137 Use M to change sign of result instead of X. Assume X is
5138 positive.
5139 (csloww1): Likewise.
5140 (__sin): Adjust.
5141 (__cos): Adjust.
5142
5143 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5144 arguments A and DA.
5145 (__sin): Adjust.
5146 (__cos): Likewise.
5147
5148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5149 (__cos): Likewise.
5150 (sloww1): Don't adjust sign of DX.
5151 (csloww1): Likewise.
5152 (sloww2): Use X directly and don't adjust sign of DX.
5153 (csloww2): Likewise.
5154
5155 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5156
5157 * math/auto-libm-test-in: Add tests of cabs and carg.
5158 * math/auto-libm-test-out: Regenerated.
5159 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5160 (carg_test_data): Likewise.
5161 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5162 mpc_c_f.
5163 (func_calc_desc): Add mpc_c_f union field.
5164 (test_functions): Add cabs and carg.
5165 (calc_generic_results): Handle mpc_c_f.
5166
5167 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5168 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5169 as a macro and a compat symbol.
5170 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5171 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5172 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5173 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5174 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5175 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5176 not use .hidden.
5177 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5178 Likewise.
5179 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5180 Likewise.
5181 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5182 Likewise.
5183 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5184 Likewise.
5185 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5186 Likewise.
5187 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5188 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5189 from GLIBC_2.3.2.
5190
5191 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5192
5193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5194
5195 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5196
5197 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5198 trailing whitespace removed.
5199 * scripts/config.guess: Update to version 2013-11-29.
5200 * scripts/config.sub: Update to version 2013-10-01.
5201
5202 * math/auto-libm-test-in: Add tests of sincos.
5203 * math/auto-libm-test-out: Regenerated.
5204 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5205 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5206 mpfr_f_11.
5207 (func_calc_desc): Add mpfr_f_11 union field.
5208 (test_functions): Add sincos.
5209 (calc_generic_results): Handle mpfr_f_11.
5210 * sysdeps/i386/fpu/libm-test-ulps: Update.
5211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5212
5213 2013-12-19 Andreas Schwab <schwab@suse.de>
5214
5215 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5216 CALL_MCOUNT.
5217 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5218 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5219 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5220
5221 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5222
5223 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5224 * sysdeps/i386/fpu/libm-test-ulps: Update.
5225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5226
5227 [BZ #16293]
5228 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5229 round-to-nearest mode when using frndint.
5230 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5231 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5232 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5233 Likewise.
5234 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5235 sinh test to fail.
5236 * math/auto-libm-test-out: Regenerated.
5237 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5238 (TEST_COND_x86): Likewise.
5239 (expm1_tonearest_test_data): New array.
5240 (expm1_test_tonearest): New function.
5241 (expm1_towardzero_test_data): New array.
5242 (expm1_test_towardzero): New function.
5243 (expm1_downward_test_data): New array.
5244 (expm1_test_downward): New function.
5245 (expm1_upward_test_data): New array.
5246 (expm1_test_upward): New function.
5247 (main): Run the new test functions.
5248 * sysdeps/i386/fpu/libm-test-ulps: Update.
5249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5250
5251 * include/features.h: Update comment documenting feature test
5252 macros. Mention _DEFAULT_SOURCE in comment.
5253 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5254 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5255 _BSD_SOURCE and _SVID_SOURCE.
5256 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5257 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5258 !_SVID_SOURCE]: Likewise.
5259 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5260 (__USE_POSIX_IMPLICITLY): Define.
5261 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5262 (_POSIX_SOURCE): Undefine and redefine.
5263 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5264 (_POSIX_C_SOURCE): Likewise.
5265 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5266 (Feature Test Macros): Update documentation of default features.
5267
5268 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5269
5270 * benchtests/Makefile: Add bench-strtok.
5271 * benchtests/bench-strtok.c: New file: strtok benchtest.
5272
5273 2013-12-19 Allan McRae <allan@archlinux.org>
5274
5275 * manual/install.texi: Suppress menu for plain text output.
5276 * INSTALL: Regenerated.
5277
5278 2013-12-18 Brooks Moses <bmoses@google.com>
5279
5280 [BZ #15846]
5281 * misc/getauxval.c: Include errno.h.
5282 (__getauxval): Set errno to ENOENT if the requested type is not
5283 found.
5284 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5285 don't declare with __attribute_const__.
5286 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5287 * manual/startup.texi: Document that getauxval sets errno.
5288
5289 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5290
5291 * math/auto-libm-test-in: Add tests of jn and yn.
5292 * math/auto-libm-test-out: Regenerated.
5293 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5294 (yn_test_data): Likewise.
5295 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5296 mpfr_if_f.
5297 (func_calc_desc): Add mpfr_if_f union field.
5298 (FUNC_mpfr_if_f): New macro.
5299 (test_functions): Add jn and yn.
5300 (calc_generic_results): Assert type of second input for
5301 mpfr_ff_f. Handle mpfr_if_f.
5302 (output_for_one_input_case): Disable all checking for arguments
5303 fitting floating-point types in case of an integer argument.
5304 * sysdeps/i386/fpu/libm-test-ulps: Update.
5305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5306
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5308 Don't expect fegetround reference in libm.so.
5309
5310 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5311
5312 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5313 $(config-cflags-nofma).
5314
5315 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5316
5317 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5318 * math/auto-libm-test-out: Regenerated.
5319
5320 [BZ #16338]
5321 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5322 to determine exponent and adjust argument to have exponent of -1.
5323 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5324 log2.
5325 * math/auto-libm-test-out: Regenerated.
5326 * sysdeps/i386/fpu/libm-test-ulps: Update.
5327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5328
5329 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5330
5331 * manual/probes.texi: Remove cases when per-thread arenas are
5332 disabled.
5333
5334 2013-12-18 Andreas Schwab <schwab@suse.de>
5335
5336 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5337 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5338 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5339 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5340 * sysdeps/i386/i686/multiarch/Makefile: Update.
5341 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5342
5343 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5344
5345 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5346 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5347
5348 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5349
5350 [BZ #15968]
5351 Support TZ transition times < 00:00:00.
5352 This is needed for version-3 tz-format files; it supports time
5353 stamps past 2037 for America/Godthab (the only entry in the tz
5354 database for which this change is relevant).
5355 * manual/time.texi (TZ Variable): Document transition times
5356 from -167:59:59 through -00:00:01.
5357 * time/tzset.c (tz_rule): Time of day is now signed.
5358 (__tzset_parse_tz): Parse negative time of day.
5359
5360 Document TZ transition times >= 25:00:00.
5361 * manual/time.texi (TZ Variable): Document transition times from
5362 25:00:00 through 167:59:59. These are already supported, and this
5363 support will help with version-3 tz-format files.
5364
5365 * manual/time.texi (TZ Variable): Modernize North America example
5366 to reflect current (i.e., 2007-and-later) daylight saving rules.
5367
5368 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5369
5370 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5371
5372 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5373 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5374 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5375 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5376 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5377 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5378 * sysdeps/unix/bsd/clock.c: Likewise.
5379 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5380 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5381 * sysdeps/unix/bsd/init-posix.c: Likewise.
5382 * sysdeps/unix/bsd/poll.c: Likewise.
5383 * sysdeps/unix/bsd/ptsname.c: Likewise.
5384 * sysdeps/unix/bsd/seekdir.c: Likewise.
5385 * sysdeps/unix/bsd/setegid.c: Likewise.
5386 * sysdeps/unix/bsd/seteuid.c: Likewise.
5387 * sysdeps/unix/bsd/setgid.c: Likewise.
5388 * sysdeps/unix/bsd/setrgid.c: Likewise.
5389 * sysdeps/unix/bsd/setruid.c: Likewise.
5390 * sysdeps/unix/bsd/setsid.c: Likewise.
5391 * sysdeps/unix/bsd/setuid.c: Likewise.
5392 * sysdeps/unix/bsd/sigaction.c: Likewise.
5393 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5394 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5395 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5396 * sysdeps/unix/bsd/telldir.c: Likewise.
5397 * sysdeps/unix/bsd/times.c: Likewise.
5398 * sysdeps/unix/bsd/usleep.c: Likewise.
5399
5400 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5401 ($(objpfx)libbsd-compat.a): Remove rule.
5402
5403 * include/features.h (__FAVOR_BSD): Do not define.
5404 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5405 features conflicting with POSIX.
5406 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5407 (_BSD_SOURCE): Remove description of not being a subset of other
5408 feature test macros.
5409 * manual/job.texi (getpgrp): Do not document BSD version.
5410 (getpgid): Do not document by reference to BSD getpgrp.
5411 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5412 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5413 * signal/signal.h [__FAVOR_BSD]: Likewise.
5414 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5415 instead of making contents conditional on [__FAVOR_BSD].
5416 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5417
5418 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5419
5420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5421
5422 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5423
5424 [BZ #16314]
5425 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5426 values below 2**-450, not 2**-500.
5427 * math/auto-libm-test-in: Don't allow spurious underflow from
5428 hypot.
5429 * math/auto-libm-test-out: Regenerated.
5430
5431 [BZ #16316]
5432 [BZ #16330]
5433 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5434 values of ha and hb and sort them after adjusting subnormal
5435 arguments.
5436 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5437 Likewise.
5438 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5439 values of ea and eb and sort them after adjusting subnormal
5440 arguments.
5441 * math/auto-libm-test-in: Do not expect some hypot tests of
5442 subnormals to fail. Add more hypot tests.
5443 * math/auto-libm-test-out: Regenerated.
5444
5445 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5446
5447 [BZ #13304]
5448 * sysdeps/sh/s_fma.c: New file.
5449 * sysdeps/sh/s_fmaf.c: New file.
5450 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5451 version.
5452 * sysdeps/sh/Implies: Add sh/soft-fp.
5453
5454 2013-12-16 Roland McGrath <roland@hack.frob.com>
5455
5456 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5457 level of indirection to members `objname', `errstring', `malloced'.
5458 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5459 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5460 it as the __longjmp argument (just pass 1 instead).
5461 (_dl_catch_error): Initialize C with argument pointers and address of
5462 volatile local ERRCODE rather than copying values out of C at return.
5463
5464 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5465
5466 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5467 * math/auto-libm-test-out: Regenerated.
5468 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5469 (hypot_test_data): Likewise.
5470 (pow_test_data): Likewise.
5471 (pow_tonearest_test_data): Likewise.
5472 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5473 mpfr_ff_f.
5474 (func_calc_desc): Add mpfr_ff_f union field.
5475 (FUNC_mpfr_ff_f): New macro.
5476 (test_functions): Add atan2, hypot and pow.
5477 (special_fill_min): New function.
5478 (special_fill_minus_min): Likewise.
5479 (special_fill_min_subnorm): Likewise.
5480 (special_fill_minus_min_subnorm): Likewise.
5481 (special_real_inputs): Add min, -min, min_subnorm and
5482 -min_subnorm.
5483 (calc_generic_results): Handle mpfr_ff_f.
5484 * sysdeps/i386/fpu/libm-test-ulps: Update.
5485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5486
5487 2013-12-16 Will Newton <will.newton@linaro.org>
5488
5489 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5490 (Aligned Memory Blocks): Add documentation for aligned_alloc
5491 and suggest it as an alternative to posix_memalign.
5492 (Hooks for Malloc): Document __memalign_hook is also called
5493 for aligned_alloc. (Summary of Malloc): Add summary for
5494 aligned alloc. Document __memalign_hook is also called
5495 for aligned_alloc.
5496
5497 2013-12-16 Will Newton <will.newton@linaro.org>
5498
5499 * manual/memory.texi (Malloc Examples): Clarify default
5500 alignment documentation. Suggest posix_memalign rather
5501 than memalign or valloc.
5502 (Aligned Memory Blocks): Remove suggestion to use memalign
5503 or valloc. Remove obsolete comment about BSD.
5504 Document memalign errno values and mark the function obsolete.
5505 Document posix_memalign returned error codes. Mark valloc
5506 as obsolete. (Hooks for Malloc): __memalign_hook is also
5507 called for posix_memalign and valloc.
5508 (Summary of Malloc): Add posix_memalign to function summary.
5509 __memalign_hook is also called for posix_memalign and valloc.
5510
5511 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5512
5513 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5514 TAYLOR_SIN.
5515 (__sin): Adjust.
5516 (__cos): Likewise.
5517 (sloww): Use mynumber union. Expand ternary operator into
5518 if-else statements.
5519 (cslow): use mynumber union.
5520
5521 2013-12-16 Allan McRae <allan@archlinux.org>
5522
5523 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5524 * configure: Regenerated.
5525
5526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5527
5528 [BZ #14120]
5529 * configure.ac: Added --enable-maintainer-mode. Check for
5530 autoconf when enabled.
5531 * configure: Regenerated.
5532
5533 * nscd/nscd.service: New file.
5534 * nscd/nscd.tmpfiles: New file.
5535
5536 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5537
5538 [BZ #12100]
5539 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5540 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5541 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5542 (strstr): Add __strstr_sse2_unaligned ifunc.
5543 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5544 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5545 (strcasestr): Remove __strcasestr_sse42 ifunc.
5546 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5549
5550 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5551
5552 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5553 * sysdeps/sh/bits/fenv.h: ... here.
5554 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5555
5556 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5557
5558 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5559
5560 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5561
5562 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5563 hypotf multiarch implementations.
5564 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5565 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5566 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5567 multiarch hypot for PPC64.
5568 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5569 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5570 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5571 multiarch hypotf for PPC64.
5572
5573 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5574
5575 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5576 modff multiarch implementations.
5577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5580 multiarch modf for PPC64.
5581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5584 multiarch modff for PPC64.
5585
5586 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5587
5588 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5589 and logl multiarch implementations.
5590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5593 multiarch logb for PPC64.
5594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5597 multiarch logb for PPC64.
5598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5601 multiarch logb for PPC64.
5602
5603 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5604
5605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5606 isinff multiarch implementation.
5607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5608 file.
5609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5611 multiarch isinf for PPC64.
5612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5613 file.
5614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5615 multiarch isinff for PPC64.
5616
5617 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5618
5619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5620 finitef multiarch implementation.
5621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5622 file.
5623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5625 multiarch finite for PPC64.
5626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5627 file.
5628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5629 multiarch finitef for PPC64.
5630
5631 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5632
5633 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5634 lrint multiarch implementation.
5635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5636 file.
5637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5639 multiarch llrint for PPC64.
5640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5641 multiarch lrint for PPC64.
5642
5643 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5644
5645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5646 copysignf multiarch implementation.
5647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5648 file.
5649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5650 file.
5651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5652 multiarch copysign for PPC64.
5653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5654 multiarch copysignf for PPC64.
5655
5656 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5657
5658 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5659 multiarch implementation.
5660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5661 file.
5662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5663 file.
5664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5665 file.
5666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5667 file.
5668 multiarch llround for PPC64.
5669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5670 multiarch trunc for PPC64.
5671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5672 multiarch truncf for PPC64.
5673
5674 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5675
5676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5677 multiarch implementation.
5678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5679 file.
5680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5681 file.
5682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5683 file.
5684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5685 file.
5686 multiarch llround for PPC64.
5687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5688 multiarch round for PPC64.
5689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5690 multiarch roundf for PPC64.
5691
5692 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5693
5694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5695 multiarch implementation.
5696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5697 file.
5698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5699 file.
5700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5701 file.
5702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5703 file.
5704 multiarch llround for PPC64.
5705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5706 multiarch floor for PPC64.
5707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5708 multiarch floorf for PPC64.
5709
5710 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5711
5712 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5713 multiarch implementation.
5714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5715 file.
5716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5717 file.
5718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5719 file.
5720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5721 file.
5722 multiarch llround for PPC64.
5723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5724 multiarch ceil for PPC64.
5725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5726 multiarch ceilf for PPC64.
5727
5728 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5729
5730 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5731 multiarch implementation.
5732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5733 file.
5734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5735 file.
5736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5737 file.
5738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5739 multiarch llround for PPC64.
5740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5741 multiarch lround for PPC64.
5742
5743 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5744
5745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5746 multiarch implementation.
5747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5750 file.
5751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5754 multiarch isnan for PPC64.
5755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5756 multiarch isnanf for PPC64.
5757
5758 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5759
5760 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5761 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5762 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5763 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5764 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5766
5767 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5768
5769 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5770 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5773
5774 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5775
5776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5777 multiarch implementations.
5778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5779 (__libc_ifunc_impl_list): Likewise.
5780 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5781 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5782 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5783 multiarch stpcpy for PPC64.
5784
5785 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5786
5787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5788 multiarch implementations.
5789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5790 (__libc_ifunc_impl_list): Likewise.
5791 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5792 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5793 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5794 multiarch strcpy for PPC64.
5795
5796 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5797
5798 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5799 redefine function name.
5800 (_wordcopy_fwd_dest_aligned): Likewise.
5801 (_wordcopy_bwd_aligned): Likewise.
5802 (_wordcopy_bwd_dest_aligned): Likewise.
5803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5804 multiarch implementations.
5805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5806 (__libc_ifunc_impl_list): Likewise.
5807 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5808 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5809 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5810 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5811 multiarch wcscpy for PPC64.
5812
5813 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5814
5815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5816 multiarch implementations.
5817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5818 (__libc_ifunc_impl_list): Likewise.
5819 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5820 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5821 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5822 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5823 multiarch wcscpy for PPC64.
5824
5825 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5826
5827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5828 multiarch implementations.
5829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5830 (__libc_ifunc_impl_list): Likewise.
5831 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5832 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5833 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5834 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5835 multiarch wcsrchr for PPC64.
5836
5837 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5838
5839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5840 multiarch implementations.
5841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5842 (__libc_ifunc_impl_list): Likewise.
5843 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5844 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5845 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5846 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5847 multiarch wcschr for PPC64.
5848
5849 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5850
5851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5852 multiarch implementations.
5853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5854 (__libc_ifunc_impl_list): Likewise.
5855 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5856 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5857 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5858 multiarch strchrnul for PPC64.
5859
5860 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5861
5862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5863 implementations.
5864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5865 (__libc_ifunc_impl_list): Likewise.
5866 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5867 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5868 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5869 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5870 strchr for PPC64.
5871
5872 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5873
5874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5875 implementations.
5876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5877 (__libc_ifunc_impl_list): Likewise.
5878 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5879 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5880 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5881 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5882 strncmp for PPC64.
5883
5884 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5885
5886 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5887 multiarch implementations.
5888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5889 (__libc_ifunc_impl_list): Likewise.
5890 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5891 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5892 strncasecmp for PPC64.
5893 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5894 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5895 multiarch strncasecmp_l for PPC64.
5896
5897 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5898
5899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5900 multiarch implementations.
5901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5902 (__libc_ifunc_impl_list): Likewise.
5903 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5904 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5905 multiarch strcasecmp for PPC64.
5906 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5907 file.
5908 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5909 multiarch strcasecmp_l for PPC64.
5910
5911 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5912
5913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5914 implementations.
5915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5916 (__libc_ifunc_impl_list): Likewise.
5917 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5918 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5919 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5920 strnlen for PPC64.
5921
5922 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5923
5924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5925 implementations.
5926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5927 (__libc_ifunc_impl_list): Likewise.
5928 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5929 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5930 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5931 strlen for PPC64.
5932
5933 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5934
5935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5936 implementations.
5937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5938 (__libc_ifunc_impl_list): Likewise.
5939 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5940 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5941 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5942 rawmemrchr for PPC64.
5943
5944 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5945
5946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5947 implementation.
5948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5949 (__libc_ifunc_impl_list): Likewise.
5950 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5951 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5952 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5953 memrchr for PPC64.
5954
5955 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5956
5957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5958 implementation.
5959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5960 (__libc_ifunc_impl_list): Likewise.
5961 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5962 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5963 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5964 memchr for PPC64.
5965
5966 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5967
5968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5969 implementation.
5970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5971 (__libc_ifunc_impl_list): Likewise.
5972 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5973 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5974 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5975 mempcpy for PPC64.
5976
5977 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5978
5979 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5980 avoid cretion of __bzero symbol.
5981 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5982 Likewise.
5983 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5984 Likewise.
5985 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5986 Likewise.
5987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5988 multiarch implementations.
5989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5990 (__libc_ifunc_impl_list): Likewise.
5991 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5992 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5993 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5994 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5995 bzero for PPC32.
5996 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5997 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5998 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5999 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6000 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6001 memset for PPC64.
6002 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6003
6004 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6005
6006 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6008 implementations.
6009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6010 (__libc_ifunc_impl_list): Likewise.
6011 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6012 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6013 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6014 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6015 memcmp for PPC64.
6016
6017 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6018
6019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6020 multiarch for POWER/PPC64.
6021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6022 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6023 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6024 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6025 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6026 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6027 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6028 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6029 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6030 memcpy for PPC64.
6031
6032 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6033
6034 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6035 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6036 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6037 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6038 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6039 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6040 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6041 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6042 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6043 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6044 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6045 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6046 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6047 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6048 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6056
6057 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6058
6059 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6060
6061 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6062
6063 * benchtests/Makefile (bench): Add exp2 and log2.
6064 (LDLIBS-bench-exp2): Add -lm.
6065 (LDLIBS-bench-log2): Likewise.
6066 * benchtests/exp2-inputs: New inputs file.
6067 * benchtests/log2-inputs: New inputs file.
6068 * benchtests/log-inputs: Add new inputs.
6069 * benchtests/tan-inputs: Likewise.
6070
6071 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6072
6073 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6074 definition...
6075 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6076 csloww1, csloww2): ... from here.
6077
6078 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6079 instead of structures.
6080 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6081 (POLYNOMIAL): Likewise.
6082 (TAYLOR_SLOW): Likewise.
6083 (__sin): Likewise.
6084 (__cos): Likewise.
6085 (slow1): Likewise.
6086 (slow2): Likewise.
6087 (sloww): Likewise.
6088 (sloww1); Likewise.
6089 (sloww2): Likewise.
6090 (bsloww1): Likewise.
6091 (bsloww2): Likewise.
6092 (cslow2): Likewise.
6093 (csloww): Likewise.
6094 (csloww1): Likewise.
6095 (csloww2): Likewise.
6096
6097 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6098
6099 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6100 (__malloc_assert, __libc_realloc, __libc_calloc,
6101 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6102 memcpy and memset.
6103 * malloc/hooks.c (realloc_check): Likewise.
6104
6105 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6106
6107 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6108 * malloc/arena.c: Remove PER_THREAD conditional.
6109 [!PER_THREAD]: Remove code.
6110 (ptmalloc_unlock_all2): Likewise.
6111 (ptmalloc_init): Likewise.
6112 (_int_new_arena): Likewise.
6113 (arena_get2): Likewise.
6114 * malloc/hooks.c (__malloc_get_state): Likewise.
6115 (__malloc_set_state): Likewise.
6116 * malloc/malloc.c: Likewise.
6117 (struct malloc_state): Likewise.
6118 (struct malloc_par): Likewise.
6119 (__libc_realloc): Likewise.
6120 (__libc_mallopt): Likewise.
6121
6122 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6123
6124 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6125
6126 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6127
6128 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6129 macro to a function. Check for zero perturb_byte.
6130 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6131
6132 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6133
6134 * malloc/malloc.c: (force_reg): Remove.
6135 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6136 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6137 force_reg by atomic_forced_read.
6138 * malloc/arena.c (ptmalloc_init): Likewise.
6139 * malloc/hooks.c (top_check): Likewise.
6140
6141 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6142
6143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6144
6145 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6146
6147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6148
6149 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6150
6151 * math/auto-libm-test-in: Add tests of lgamma.
6152 * math/auto-libm-test-out: Regenerated.
6153 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6154 (M_LOG_2_SQRT_PIl): Likewise.
6155 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6156 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6157 mpfr_f_f1.
6158 (func_calc_desc): Add mpfr_f_f1 union field.
6159 (ARGS1): New macro.
6160 (ARGS2): Likewise.
6161 (ARGS3): Likewise.
6162 (ARGS4): Likewise.
6163 (RET1): Likewise.
6164 (RET2): Likewise.
6165 (CALC): Likewise.
6166 (FUNC): Likewise.
6167 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6168 (test_functions): Add lgamma.
6169 (calc_generic_results): Handle mpfr_f_f1.
6170 * sysdeps/i386/fpu/libm-test-ulps: Update.
6171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6172
6173 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6174
6175 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6176 __mpn_add_n for PowerPC64/POWER7.
6177 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6178 __mpn_sub_n for PowerPC64/POWER7.
6179
6180 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6181
6182 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6183 __mpn_addmul_1 for PowerPC64.
6184 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6185 __mpn_submul_1 for PowerPC64.
6186 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6187 for PowerPC64.
6188 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6189 for PowerPC64.
6190
6191 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6192
6193 [BZ #15089]
6194 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6195
6196 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6197
6198 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6199
6200 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6201
6202 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6203 add multiarch folders.
6204 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6205 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6206 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6207 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6208 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6209 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6210 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6211 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6212 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6213 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6214 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6221
6222 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6223
6224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6225 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6227 New file.
6228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6229 New file.
6230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6231 multiarch __ieee754_hypot for PowerPC32.
6232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6233 New file.
6234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6235 New file.
6236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6237 multiarch __ieee754_hypotf for PowerPC32.
6238
6239 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6240
6241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6242 long_double_symbol only if __logbl is defined.
6243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6244 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6245 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6246 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6248 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6249 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6250 path for implementation.
6251 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6252 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6254 logb, and logbl multiarch implementations for PowerPC32.
6255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6256 file.
6257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6258 file.
6259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6260 multiarch logb for PowerPC32.
6261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6262 file.
6263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6264 file.
6265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6266 multiarch logbf for PowerPC32.
6267 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6269 file.
6270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6271 multiarch logbl implementation for PowerPC32.
6272
6273 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6274
6275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6276 and modff multiarch implementations.
6277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6278 New file.
6279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6280 New file.
6281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6282 multiarch modf for PowerPC32.
6283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6284 New file.
6285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6286 New file.
6287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6288 multiarch modff for PowerPC32.
6289
6290 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6291
6292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6293 and lrintf multiarch implementations.
6294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6295 New file.
6296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6297 New file.
6298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6299 multiarch lrint for PowerPC32.
6300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6301 file: multiarch lrintf for PowerPC32.
6302
6303 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6304
6305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6306 and lroundf multiarch implementations.
6307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6308 New file.
6309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6310 New file.
6311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6312 New file.
6313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6314 multiarch lround for PowerPC32.
6315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6316 file: multiarch lroundf for PowerPC32.
6317
6318 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6319
6320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6321 copysign and copysignf multiarch implementations.
6322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6323 New file.
6324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6325 New file.
6326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6327 file: multiarch copysign for PowerPC32.
6328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6329 file: multiarch copysignf for PowerPC32.
6330
6331 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6332
6333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6334 and truncf multiarch implementations.
6335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6336 New file.
6337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6338 file.
6339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6340 multiarch trunc for PowerPC32.
6341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6342 New file.
6343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6344 New file.
6345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6346 multiarch truncf for PowerPC32.
6347
6348 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6349
6350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6351 and roundf multiarch implementations.
6352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6353 New file.
6354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6355 file.
6356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6357 multiarch round for PowerPC32.
6358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6359 New file.
6360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6361 New file.
6362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6363 multiarch roundf for PowerPC32.
6364
6365 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6366
6367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6368 and floorf multiarch implementations.
6369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6370 New file.
6371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6372 file.
6373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6374 multiarch floor for PowerPC32.
6375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6376 New file.
6377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6378 New file.
6379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6380 multiarch floorf for PowerPC32.
6381
6382 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6383
6384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6385 and ceilf multiarch implementations.
6386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6387 New file.
6388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6389 file.
6390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6391 multiarch ceil for PowerPC32.
6392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6393 New file.
6394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6395 file.
6396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6397 multiarch ceilf for PowerPC32.
6398
6399 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6400
6401 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6402 is defined.
6403 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6404 FINITEF is defined.
6405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6406 and finitef multiarch implementations.
6407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6408 New file.
6409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6410 file.
6411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6412 multiarch finite for PowerPC32.
6413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6414 New file.
6415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6416 file: multiarch finitef for PowerPC32.
6417
6418 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6419
6420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6421 and isinff multiarch implementations.
6422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6423 file.
6424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6425 file.
6426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6427 multiarch isinf for PowerPC32.
6428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6429 New file.
6430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6431 multiarch isinff for PowerPC32.
6432
6433 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6434
6435 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6436 alias when __isnan is defined.
6437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6438 and isnanf multiarch implementations.
6439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6440 file.
6441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6442 file.
6443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6444 file.
6445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6446 file.
6447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6448 multiarch isnan for PowerPC32.
6449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6450 New file.
6451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6452 New file.
6453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6454 multiarch isnanf for PowerPC32.
6455
6456 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6457
6458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6459 and sqrtf multiarch implementations.
6460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6461 file.
6462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6463 file.
6464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6465 multiarch sqrt for PowerPC32.
6466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6467 file.
6468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6469 file.
6470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6471 multiarch sqrtf for PowerPC32.
6472
6473 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6474
6475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6476 and llroundf multiarch implementations.
6477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6478 New file.
6479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6480 New file.
6481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6482 New file.
6483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6484 file: multiarch llround for PowerPC32.
6485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6486 file: multiarch llroundf for PowerPC32.
6487
6488 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6489
6490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6491 multiarch PowerPC32 fpu implementations.
6492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6493 New file.
6494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6495 New file.
6496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6497 multiarch llrint for PowerPC32.
6498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6499 New file.
6500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6501 New file.
6502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6503 file.
6504
6505 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6506
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6508
6509 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6510
6511 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6512 file.
6513 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6514 file.
6515 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6516 file.
6517 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6518 multiarch wordcopy for PPC32.
6519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6520 wordcopy objects.
6521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6522 (__libc_ifunc_impl_list): Likewise.
6523 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6524 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6525 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6526 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6527 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6528 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6529
6530 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6531
6532 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6533 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6534 file.
6535 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6536 file.
6537 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6538 file.
6539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6540 multiarch wcscpy for PPC32.
6541 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6542 multiarch objects.
6543 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6544 (__libc_ifunc_impl_list): Likewise.
6545 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6546 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6547 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6548 sysdeps/powerpc/power6/wcscpy.c.
6549
6550 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6551
6552 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6553 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6554 file.
6555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6556 file.
6557 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6558 file.
6559 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6560 multiarch wcsrchr for PPC32.
6561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6562 multiarch objects.
6563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6564 (__libc_ifunc_impl_list): Likewise.
6565 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6566 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6567 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6568 sysdeps/powerpc/power6/wcsrchr.c.
6569
6570 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6571
6572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6573 file.
6574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6575 file.
6576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6578 multiarch wcschr for PPc32.
6579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6580 multiarch objects.
6581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6582 (__libc_ifunc_impl_list): Likewise.
6583 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6584 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6585 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6586 sysdeps/powerpc/power6/wcschr.c.
6587
6588 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6589
6590 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6591 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6592 file.
6593 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6594 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6595 file: multiarch strchr for PPC32.
6596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6597 multiarch objects.
6598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6599 (__libc_ifunc_impl_list): Likewise.
6600
6601 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6602
6603 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6604 name.
6605 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6606 file.
6607 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6608 file.
6609 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6610 multiarch strchrnul for PPC32.
6611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6612 multiarch objects.
6613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6614 (__libc_ifunc_impl_list): Likewise.
6615
6616 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617
6618 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6619 file.
6620 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6621 multiarch strncasecmp for PPC32.
6622 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6623 file.
6624 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6625 multiarch strncasecmp_l for PPC32.
6626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6627 strncasecmp multiarch objects.
6628 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6629 (__libc_ifunc_impl_list): Likewise.
6630
6631 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6632
6633 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6634 file.
6635 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6636 multiarch strncasecmp for PPC32.
6637 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6638 New file.
6639 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6640 multiarch strcasecmp_l for PPC32.
6641 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6642 multiarch objects.
6643 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6644 (__libc_ifunc_impl_list): Likewise.
6645
6646 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6647
6648 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6649 file.
6650 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6651 file.
6652 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6653 multiarch strncmp for PPC32.
6654 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6655 multiarch objects.
6656 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6657 (__libc_ifunc_impl_list): Likewise.
6658
6659 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6660
6661 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6662 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6663 file.
6664 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6665 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6666 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6667 multiarch objects.
6668 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6669 (__libc_ifunc_impl_list): Likewise.
6670
6671 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6672
6673 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6674 file.
6675 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6676 file.
6677 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6679 multiarch objects.
6680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6681 (__libc_ifunc_impl_list): Likewise.
6682
6683 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6684
6685 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6686 file.
6687 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6688 file.
6689 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6690 multiarch rawmemchr for PPC32.
6691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6692 multiarch objects.
6693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6694 (__libc_ifunc_impl_list): Likewise.
6695
6696 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6697
6698 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6699 file.
6700 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6701 file.
6702 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6703 file: memrchr multiarch for PPC32.
6704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6705 multiarch objects.
6706 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6707 (__libc_ifunc_impl_list): Likewise.
6708
6709 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6710
6711 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6712 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6713 file.
6714 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6715 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6716 multiarch memchr for PPC32.
6717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6718 multiarch objects.
6719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6720 (__libc_ifunc_impl_list): Likewise.
6721
6722 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6723
6724 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6725 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6726 file.
6727 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6728 file.
6729 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6730 file: multiarch mempcpy for PPC32.
6731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6732 multiarch objects.
6733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6734 (__libc_ifunc_impl_list): Likewise.
6735
6736 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6737
6738 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6739 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6740 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6741 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6742 multiarch bzero for PPC32.
6743 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6744 file.
6745 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6746 file.
6747 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6748 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6749 file: multiarch memset for PPC32.
6750 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6752 memset multiarch objects.
6753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6754 (__libc_ifunc_impl_list): Likewise.
6755
6756 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6757
6758 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6759 file.
6760 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6761 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6762 memcmp for PPC32.
6763 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6765 multiarch objects.
6766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6767 (__libc_ifunc_impl_list): Likewise.
6768
6769 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6770
6771 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6772 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6773 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6774 file.
6775 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6776 file.
6777 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6778 file.
6779 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6780 multiarch memcpy for PPC32.
6781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6782 multiarch objects.
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6784 (__libc_ifunc_impl_list): Likewise.
6785
6786 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6787
6788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6789 support multiarch for POWER/PPC32.
6790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6791 Likewise.
6792 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6794 Implies file to make multiarch folder appers before the fpu and
6795 default folder for power4 configuration.
6796
6797 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6798
6799 * scripts/bench.pl: Append volatile keyword to type.
6800
6801 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6802
6803 * sysdeps/sh/sotruss-lib.c: New file.
6804 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6805
6806 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6807
6808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6809
6810 2013-12-05 Joseph Myers <joseph@codesourcery.com>
6811
6812 [BZ #6810]
6813 * math/w_tgamma.c: Include <errno.h>.
6814 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6815 * math/w_tgammaf.c: Include <errno.h>.
6816 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6817 * math/w_tgammal.c: Include <errno.h>.
6818 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6819 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6820 underflow. Add more tgamma tests.
6821 * math/auto-libm-test-out: Regenerated.
6822 * sysdeps/i386/fpu/libm-test-ulps: Update.
6823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6824
6825 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6826 sin, sinh, tan, tanh, tgamma, y0 and y1.
6827 * math/auto-libm-test-out: Regenerated.
6828 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6829 (TEST_COND_x86): Likewise.
6830 (M_E2l): Remove macro.
6831 (M_E3l): Likewise.
6832 (M_2_SQRT_PIl): Likewise.
6833 (M_SQRT_PIl): Likewise.
6834 (M_1_DIV_El): Likewise.
6835 (log_test_data): Use AUTO_TESTS_f_f.
6836 (log10_test_data): Likewise.
6837 (log1p_test_data): Likewise.
6838 (log2_test_data): Likewise.
6839 (sin_test_data): Likewise.
6840 (sin_tonearest_test_data): Likewise.
6841 (sin_towardzero_test_data): Likewise.
6842 (sin_downward_test_data): Likewise.
6843 (sin_upward_test_data): Likewise.
6844 (sinh_test_data): Likewise.
6845 (sinh_tonearest_test_data): Likewise.
6846 (sinh_towardzero_test_data): Likewise.
6847 (sinh_downward_test_data): Likewise.
6848 (sinh_upward_test_data): Likewise.
6849 (tan_test_data): Likewise.
6850 (tan_tonearest_test_data): Likewise.
6851 (tan_towardzero_test_data): Likewise.
6852 (tan_downward_test_data): Likewise.
6853 (tan_upward_test_data): Likewise.
6854 (tanh_test_data): Likewise.
6855 (tgamma_test_data): Likewise.
6856 (y0_test_data): Likewise.
6857 (y1_test_data): Likewise.
6858 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6859 (special_real_inputs): Add pi/4.
6860 * sysdeps/i386/fpu/libm-test-ulps: Update.
6861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6862
6863 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6864
6865 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6866 "longjmp_target" static probes.
6867 (__longjmp): Rename to __longjmp_symbol.
6868 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6869 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6870 on which longjmp to generate.
6871 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6872 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6873 probe.
6874 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6875 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6876 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6877 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6878 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6879 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6881 __longjmp_symbol based on which __longjmp to generate.
6882 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6883 probe.
6884 (setjmp): Rename to setjmp_symbol.
6885 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6886 (_setjmp): Rename to _setjmp_symbol.
6887 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6888 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6889 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6890 which setjmp to generate.
6891 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6892 "longjmp_target" static probes.
6893
6894 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6895
6896 * benchtests/README: Add note about output arguments.
6897 * benchtests/bench-sincos.c: Remove file.
6898 * benchtests/sincos-inputs: New file.
6899 * scripts/bench.pl: Identify output arguments and define
6900 static variables for them.
6901
6902 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6903
6904 [BZ #15941]
6905 * Makefile (INSTALL): Add install-plain.texi as the primary
6906 dependency.
6907 * manual/install-plain.texi: New file.
6908 * manual/install.texi: Include node directive only for
6909 non-plaintext output.
6910
6911 2013-12-04 Joseph Myers <joseph@codesourcery.com>
6912
6913 * stdlib/longlong.h: Update from GCC.
6914
6915 [BZ #6807]
6916 [BZ #15901]
6917 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6918 * math/w_j0f.c (y0f): Likewise.
6919 * math/w_j0l.c (__y0l): Likewise.
6920 * math/w_j1.c (y1): Likewise.
6921 * math/w_j1f.c (y1f): Likewise.
6922 * math/w_j1l.c (__y1l): Likewise
6923 * math/w_jn.c (yn): Likewise.
6924 * math/w_jnf.c (ynf): Likewise.
6925 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6926 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6927 value for Bessel function domain errors outside _SVID_ mode.
6928 Adjust sign of return value for yn (negative integer, 0).
6929 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6930 by zero in return for negative x and set sign appropriately for
6931 negative n.
6932 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6933 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6934 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6935 expectations in error cases.
6936 (y1_test_data): Likewise.
6937 (yn_test_data): Likewise.
6938 * sysdeps/i386/fpu/libm-test-ulps: Update.
6939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6940
6941 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6942
6943 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6944 "64" to "64-v1". Add "64-v2".
6945 (abi-64-options): Rename to ...
6946 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6947 (abi-64-condition): Rename to ...
6948 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6949 (abi-64-ld-soname): Rename to ...
6950 (abi-64-v1-ld-soname): ... this.
6951 (abi-64-v2-options): Define.
6952 (abi-64-v2-condition): Likewise.
6953 (abi-64-v2-ld-soname): Likewise.
6954 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6955 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6959
6960 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6961 Alan Modra <amodra@gmail.com>
6962
6963 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6964 New versions for use with the ELFv2 ABI.
6965 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6966 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6967 declaration.
6968 (struct La_ppc64v2_retval): Likewise.
6969 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6970 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6971 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6972 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6973 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6974 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6975 Do not save or restore CR.
6976 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6977 (_dl_profile_resolve): Do no save or restore CR. Support extended
6978 return values for ELFv2 ABI. Fix location of FPR return registers.
6979 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6980 updated values for _CALL_ELF == 2.
6981 (La_regs, La_retval, int_retval): Likewise.
6982
6983 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6984
6985 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6986 (FRAME_MIN_SIZE_PARM): Likewise.
6987 (FRAME_BACKCHAIN): Likewise.
6988 (FRAME_CR_SAVE): Likewise.
6989 (FRAME_LR_SAVE): Likewise.
6990 (FRAME_TOC_SAVE): Likewise.
6991 (FRAME_PARM_SAVE): Likewise.
6992 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6993 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6994 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6995 (call_mcount_parm_offset): New macro.
6996 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6997 (PROF): Use symbolic stack frame offsets.
6998 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6999 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7000 Redefine in terms of FRAME_MIN_SIZE.
7001 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7002 (_dl_profile_resolve): Likewise. Update comment.
7003 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7004 symbols stack frame offsets.
7005 (__sigsetjmp): Likewise.
7006 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7007 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7008 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7009 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7010
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7012 (FRAME_BACKCHAIN): Remove.
7013 (FRAME_CR_SAVE): Likewise.
7014 (FRAME_LR_SAVE): Likewise.
7015 (FRAME_COMPILER_DW): Likewise.
7016 (FRAME_LINKER_DW): Likewise.
7017 (FRAME_TOC_SAVE): Likewise.
7018 (FRAME_PARM_SAVE): Likewise.
7019 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7020 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7021 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7023 (CHECK_SP): Use symbolic stack frame offsets.
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7025 zone" instead of caller's parameter save area for temp storage.
7026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7027 Likewise. Also, use symbolic stack frame offsets.
7028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7029 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7030 our own stack frame instead of the caller's.
7031 (__socket): Use symbolic stack frame offsets.
7032
7033 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7034 Alan Modra <amodra@gmail.com>
7035
7036 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7037 Define.
7038 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7039 PPC64_LOCAL_ENTRY_OFFSET): Define.
7040 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7041 New function.
7042 (elf_machine_fixup_plt): Call it.
7043 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7044 reloc arguments.
7045 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7046 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7047 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7048 r2 before calling target.
7049
7050 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7051 Alan Modra <amodra@gmail.com>
7052
7053 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7054 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7055 versions of macros to support ELFv2 ABI.
7056 (LOCALENTRY): New macro.
7057 (ENTRY, EALIGN): Use it.
7058 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7059 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7060 fall through into ENTRY entry point.
7061 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7062 Only define if _CALL_ELF != 2.
7063
7064 (elf_machine_matches_host): Verify ABI version matches.
7065 (RTLD_START): Use LOCALENTRY.
7066 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7067 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7068 (PLT_ENTRY_WORDS): New macro.
7069 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7070 (elf_machine_runtime_setup): Support ELFv2 ABI.
7071 (elf_machine_fixup_plt): Likewise.
7072 (elf_machine_plt_conflict): Likewise.
7073 (resolve_ifunc): Likewise.
7074 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7075 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7076 Likewise.
7077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7078 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7080 (makecontext): Support ELFv2 ABI.
7081 * elf/elf.h (EF_PPC64_ABI): Define.
7082
7083 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7084
7085 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7086 New assembler macro.
7087 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7088 [ASSEMBLER] (ENTRY): ... but instead here ...
7089 [ASSEMBLER] (EALIGN): ... and here.
7090 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7091 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7092 [!ASSEMBLER] (ENTRY_2): Use it.
7093 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7094 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7095 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7096 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7097 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7099 Use PPC64_LOAD_FUNCPTR.
7100
7101 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7102
7103 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7104
7105 2013-12-04 Alan Modra <amodra@gmail.com>
7106
7107 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7108 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7109 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7110 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7111
7112 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7113 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7114 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7115 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7116 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7117 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7118
7119 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7120
7121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7122 (__makecontext): Fix incorrect CFI when backtracing out of
7123 context created via makecontext.
7124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7125 (__setcontext): Fix incorrect CFI during switch to new context.
7126 (__novec_setcontext): Likewise.
7127
7128 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7129
7130 [BZ #4772]
7131 * time/strptime_l.c (__strptime_internal): Allow modifiers
7132 in strptime.
7133 * time/tst-strptime.c (day_tests): Add testcase.
7134
7135
7136 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7137
7138 * scripts/bench.pl: Skip over blank lines.
7139
7140 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7141
7142 [BZ #926]
7143 * manual/time.texi (Calendar Time): Clarify what timezone functions
7144 use.
7145
7146 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7147
7148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7149
7150 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7151
7152 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7153 implementation.
7154 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7155 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7156 * debug/memset_chk.c (__memset_chk): Likewise.
7157 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7158 * debug/strncpy_chk.c: Likewise.
7159
7160 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7161
7162 [BZ #15268]
7163 [BZ #15425]
7164 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7165 (__ieee754_exp): For possibly underflowing results, check size of
7166 result and force underflow exception if required.
7167 * math/auto-libm-test-in: Add more tests of exp.
7168 * math/auto-libm-test-out: Regenerated.
7169 * sysdeps/i386/fpu/libm-test-ulps: Update.
7170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7171
7172 [BZ #16283]
7173 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7174 * math/w_exp2f.c (__exp2f): Likewise.
7175 * math/w_exp2l.c (__exp2l): Likewise.
7176 * math/auto-libm-test-in: Do not allow missing errno on exp2
7177 underflow.
7178 * math/auto-libm-test-out: Regenerated.
7179
7180 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7181
7182 [BZ #16274]
7183 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7184 handle filename validation.
7185 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7186 (do_open): Delete.
7187
7188 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7189
7190 [BZ #6786]
7191 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7192 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7193 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7194 <float.h>.
7195 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7196 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7197 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7198 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7199 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7200 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7201 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7202 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7203 Add more erfc tests.
7204 * math/auto-libm-test-out: Regenerated.
7205 * sysdeps/i386/fpu/libm-test-ulps: Update.
7206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7207
7208 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7209 exp2, expm1, j0 and j1.
7210 * math/auto-libm-test-out: Regenerated.
7211 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7212 (erfc_test_data): Likewise.
7213 (exp_test_data): Likewise.
7214 (exp_tonearest_test_data): Likewise.
7215 (exp_towardzero_test_data): Likewise.
7216 (exp_downward_test_data): Likewise.
7217 (exp_upward_test_data): Likewise.
7218 (exp10_test_data): Likewise.
7219 (exp2_test_data): Likewise.
7220 (expm1_test_data): Likewise.
7221 (j0_test_data): Likewise.
7222 (j1_test_data): Likewise.
7223 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7224 (input_flag_type): Add flag_xfail_rounding.
7225 (input_flags): Add xfail-rounding.
7226 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7227 (output_for_one_input_case): Handle flag_xfail_rounding.
7228 * sysdeps/i386/fpu/libm-test-ulps: Update.
7229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7230
7231 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7232
7233 [BZ #16289]
7234 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7235 division by 0.
7236
7237 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7238
7239 [BZ #16195]
7240 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7241 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7242 (STAP_PROBE0): New macro.
7243 (STAP_PROBE1): Likewise.
7244 (STAP_PROBE2): Likewise.
7245 (STAP_PROBE3): Likewise.
7246 (STAP_PROBE4): Likewise.
7247
7248 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7249
7250 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7251
7252 2013-12-02 Steve Ellcey <sellcey@mips.com>
7253
7254 * benchtests/Makefile (bench): Add sqrt.
7255 (LDLIBS-bench-sqrt): New.
7256 * benchtests/sqrt-input: New.
7257
7258 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7259
7260 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7261 (GAIH_EAI): Likewise.
7262 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7263 (gaih_inet): Likewise.
7264 (getaddrinfo): Don't use GAIH_EAI.
7265
7266 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7267 (struct gaih): Remove definition.
7268
7269 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7270
7271 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7272 Use HERRNOP directly.
7273
7274 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7275
7276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7277
7278 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7279
7280 * math/gen-auto-libm-tests.c (test_functions): Add more
7281 single-argument functions.
7282 (special_fill_pi_2): New function.
7283 (special_fill_minus_pi_2): Likewise.
7284 (special_fill_pi_6): Likewise.
7285 (special_fill_minus_pi_6): Likewise.
7286 (special_fill_pi_3): Likewise.
7287 (special_fill_2pi_3): Likewise.
7288 (special_fill_e): Likewise.
7289 (special_fill_1_e): Likewise.
7290 (special_fill_e_minus_1): Likewise.
7291 (special_real_inputs): Add more special inputs.
7292 (output_for_one_input_case): Do not require ERANGE on underflow to
7293 zero if round-to-nearest result does not underflow to zero, unless
7294 exact results required.
7295 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7296 atan, atanh, cbrt, cos and cosh.
7297 * math/auto-libm-test-out: Regenerated.
7298 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7299 (acos_tonearest_test_data): Likewise.
7300 (acos_towardzero_test_data): Likewise.
7301 (acos_downward_test_data): Likewise.
7302 (acos_upward_test_data): Likewise.
7303 (acosh_test_data): Likewise.
7304 (asin_test_data): Likewise.
7305 (asin_tonearest_test_data): Likewise.
7306 (asin_towardzero_test_data): Likewise.
7307 (asin_upward_test_data): Likewise.
7308 (asinh_test_data): Likewise.
7309 (atan_test_data): Likewise.
7310 (atanh_test_data): Likewise.
7311 (cbrt_test_data): Likewise.
7312 (cos_test_data): Likewise.
7313 (cos_tonearest_test_data): Likewise.
7314 (cos_towardzero_test_data): Likewise.
7315 (cos_downward_test_data): Likewise.
7316 (cos_upward_test_data): Likewise.
7317 (cosh_test_data): Likewise.
7318 (cosh_tonearest_test_data): Likewise.
7319 (cosh_towardzero_test_data): Likewise.
7320 (cosh_downward_test_data): Likewise.
7321 (cosh_upward_test_data): Likewise.
7322 * sysdeps/i386/fpu/libm-test-ulps: Update.
7323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7324
7325 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7326
7327 [BZ #6787]
7328 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7329 * math/w_exp10f.c (__exp10f): Likewise.
7330 * math/w_exp10l.c (__exp10l): Likewise.
7331 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7332 errno settings in existing tests.
7333
7334 [BZ #14032]
7335 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7336 precision control set to double precision.
7337 * sysdeps/i386/fpu/w_sqrt.c: New file.
7338 * math/auto-libm-test-in: Add more tests.
7339 * math/auto-libm-test-out: Update.
7340
7341 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7342 (sqrt_test_tonearest): New function.
7343 (sqrt_towardzero_test_data): New variable.
7344 (sqrt_test_towardzero): New function.
7345 (sqrt_downward_test_data): New variable.
7346 (sqrt_test_downward): New function.
7347 (sqrt_upward_test_data): New variable.
7348 (sqrt_test_upward): New function.
7349 (main): Call the new functions.
7350
7351 * math/gen-auto-libm-tests.c: New file.
7352 * math/auto-libm-test-in: Likewise.
7353 * math/auto-libm-test-out: New generated file.
7354 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7355 variables.
7356 (%beautify): Add generated representations of zero.
7357 (top level): Set $auto_input and call parse_auto_input.
7358 (beautify): Remove trailing "f" from hex float constants.
7359 (parse_args): Handle XFAIL_TEST.
7360 (convert_condition): New function.
7361 (or_value): Likewise.
7362 (or_cond_value): Likewise.
7363 (generate_testfile): Handle AUTO_TESTS_* lines.
7364 (parse_auto_input): New function.
7365 * math/libm-test.inc (XFAIL_TEST): New macro.
7366 (ERRNO_UNCHANGED): Update value.
7367 (ERRNO_EDOM): Likewise.
7368 (ERRNO_ERANGE): Likewise.
7369 (IGNORE_RESULT): Likewise.
7370 (TEST_COND_flt_32): New macro.
7371 (TEST_COND_dbl_64): Likewise.
7372 (TEST_COND_ldbl_96_intel): Likewise.
7373 (TEST_COND_ldbl_96_m68k): Likewise.
7374 (TEST_COND_ldbl_128): Likewise.
7375 (TEST_COND_ldbl_128ibm): Likewise.
7376 (TEST_COND_long32): Likewise.
7377 (TEST_COND_long64): Likewise.
7378 (TEST_COND_before_rounding): Likewise.
7379 (TEST_COND_after_rounding): Likewise.
7380 (enable_test): Handle XFAIL_TEST flag.
7381 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7382 with finite results.
7383 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7384 auto-libm-test-out.
7385
7386 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7387 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7388
7389 [BZ #16214]
7390 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7391 __tls_get_addr_internal instead of __tls_get_offset in order to
7392 avoid GOT pointer dependency. Make rtld export
7393 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7394 __tls_get_addr since we are a __tls_get_offset platform.
7395 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7396 GOT pointer being set up before.
7397 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7398
7399 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7400
7401 * manual/math.texi (Errors in Math Functions): Document accuracy
7402 goals.
7403
7404 [BZ #15004]
7405 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7406 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7409 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7411 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7412 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7417 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7421
7422 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7423 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7424 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7425 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7426 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7427 Likewise.
7428 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7429 Likewise.
7430 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7431 Likewise.
7432 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7433 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7434 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7435 atomic-feupdateenv and flt-rounds.
7436 * sysdeps/powerpc/nofpu/Versions (libc): Add
7437 __atomic_feholdexcept, __atomic_feclearexcept,
7438 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7439 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7440 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7441 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7442 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7443 here.
7444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7445 Update.
7446
7447 * manual/arith.texi (FP Exceptions): Document that exceptions may
7448 not be raised when matherr is used.
7449 (Math Error Reporting): Document overflow in directed rounding
7450 modes. Document that errno may not be set when finite values are
7451 returned on overflow. Document intent to set errno on underflow
7452 only for underflow to zero.
7453
7454 [BZ #16271]
7455 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7456 round-to-nearest then adjust result for other rounding modes.
7457 * include/fenv.h (fegetround): Use libm_hidden_proto.
7458 * math/fegetround.c (fegetround): Use libm_hidden_def.
7459 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7460 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7461 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7462 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7463 Likewise.
7464 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7465 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7466 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7467 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7468
7469 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7470
7471 [BZ #16077]
7472 * nss/Versions (libnss_files): Add
7473 _nss_files_gethostbyname3_r.
7474 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7475 New function.
7476 (HOST_DB_LOOKUP): Remove macro.
7477 (_nss_files_gethostbyname_r): Implement function without the
7478 HOST_DB_LOOKUP macro.
7479 (_nss_files_gethostbyname2_r): Likewise.
7480
7481 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7482
7483 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7484
7485 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7486
7487 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7488 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7489 warning.
7490
7491 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7492
7493 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7494 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7495 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7496 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7497 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7498 __fe_nomask_env_priv and attribute_hidden.
7499 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7500 (libc_feupdateenv_test_ppc): Likewise.
7501 (libc_feresetround_ppc): Likewise.
7502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7503 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7504 compat_symbol macro.
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7506 (__fe_nomask_env): Likewise.
7507 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7508
7509 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7510
7511 * string/Makefile: Remove ifunc tests.
7512 * string/test-string.h: Define TEST_IFUNC.
7513 * string/test-bcopy-ifunc.c: Remove.
7514 * string/test-bzero-ifunc.c: Likewise.
7515 * string/test-memccpy-ifunc.c: Likewise.
7516 * string/test-memchr-ifunc.c: Likewise.
7517 * string/test-memcmp-ifunc.c: Likewise.
7518 * string/test-memcpy-ifunc.c: Likewise.
7519 * string/test-memmem-ifunc.c: Likewise.
7520 * string/test-memmove-ifunc.c: Likewise.
7521 * string/test-mempcpy-ifunc.c: Likewise.
7522 * string/test-memrchr-ifunc.c: Likewise.
7523 * string/test-memset-ifunc.c: Likewise.
7524 * string/test-rawmemchr-ifunc.c: Likewise.
7525 * string/test-stpcpy-ifunc.c: Likewise.
7526 * string/test-stpncpy-ifunc.c: Likewise.
7527 * string/test-strcasecmp-ifunc.c: Likewise.
7528 * string/test-strcasestr-ifunc.c: Likewise.
7529 * string/test-strcat-ifunc.c: Likewise.
7530 * string/test-strchr-ifunc.c: Likewise.
7531 * string/test-strchrnul-ifunc.c: Likewise.
7532 * string/test-strcmp-ifunc.c: Likewise.
7533 * string/test-strcpy-ifunc.c: Likewise.
7534 * string/test-strcspn-ifunc.c: Likewise.
7535 * string/test-strlen-ifunc.c: Likewise.
7536 * string/test-strncasecmp-ifunc.c: Likewise.
7537 * string/test-strncat-ifunc.c: Likewise.
7538 * string/test-strncmp-ifunc.c: Likewise.
7539 * string/test-strncpy-ifunc.c: Likewise.
7540 * string/test-strnlen-ifunc.c: Likewise.
7541 * string/test-strpbrk-ifunc.c: Likewise.
7542 * string/test-strrchr-ifunc.c: Likewise.
7543 * string/test-strspn-ifunc.c: Likewise.
7544 * string/test-strstr-ifunc.c: Likewise.
7545
7546 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7547
7548 * benchtests/Makefile: Remove ifunc tests.
7549 * benchtests/bench-string.h: Define TEST_IFUNC.
7550 * benchtests/bench-bcopy-ifunc.c: Remove.
7551 * benchtests/bench-bzero-ifunc.c: Likewise.
7552 * benchtests/bench-memccpy-ifunc.c: Likewise.
7553 * benchtests/bench-memchr-ifunc.c: Likewise.
7554 * benchtests/bench-memcmp-ifunc.c: Likewise.
7555 * benchtests/bench-memcpy-ifunc.c: Likewise.
7556 * benchtests/bench-memmem-ifunc.c: Likewise.
7557 * benchtests/bench-memmove-ifunc.c: Likewise.
7558 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7559 * benchtests/bench-memrchr-ifunc.c: Likewise.
7560 * benchtests/bench-memset-ifunc.c: Likewise.
7561 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7562 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7563 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7564 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7565 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7566 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7567 * benchtests/bench-strcat-ifunc.c: Likewise.
7568 * benchtests/bench-strchr-ifunc.c: Likewise.
7569 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7570 * benchtests/bench-strcmp-ifunc.c: Likewise.
7571 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7572 * benchtests/bench-strcpy-ifunc.c: Likewise.
7573 * benchtests/bench-strcspn-ifunc.c: Likewise.
7574 * benchtests/bench-strlen-ifunc.c: Likewise.
7575 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7576 * benchtests/bench-strncat-ifunc.c: Likewise.
7577 * benchtests/bench-strncmp-ifunc.c: Likewise.
7578 * benchtests/bench-strncpy-ifunc.c: Likewise.
7579 * benchtests/bench-strnlen-ifunc.c: Likewise.
7580 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7581 * benchtests/bench-strrchr-ifunc.c: Likewise.
7582 * benchtests/bench-strsep-ifunc.c: Likewise.
7583 * benchtests/bench-strspn-ifunc.c: Likewise.
7584 * benchtests/bench-strstr-ifunc.c: Likewise.
7585
7586 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7587
7588 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7589
7590 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7591
7592 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7593 * rt/aio.h: Likewise.
7594 * sysdeps/gnu/bits/utmp.h: Likewise.
7595 * sysdeps/gnu/bits/utmpx.h: Likewise.
7596 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7597 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7598 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7599 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7600 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7601 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7602 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7603 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7604 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7605 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7606 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7607 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7608 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7610 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7611 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7612 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7613 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7614 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7615 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7616 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7617 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7618 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7619 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7620 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7622 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7623 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7624 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7625 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7626 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7627 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7628 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7629 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7630 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7631 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7632 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7633 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7634 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7635 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7636 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7637 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7638
7639 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7640
7641 [BZ #16245]
7642 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7643 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7644
7645 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7646
7647 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7648 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7649 Likewise.
7650
7651 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7652
7653 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7654 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7655 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7656 (__fesetround): Remove define.
7657 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7658 rounding and exceptions handling.
7659 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7660 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7661 (__fe_nomask_env): Likewise.
7662 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7663 __fegetround instead of fegetround.
7664 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7665 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7666
7667 2013-11-21 Roland McGrath <roland@hack.frob.com>
7668
7669 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7670 it's there.
7671
7672 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7673
7674 2013-11-21 Meador Inge <meadori@codesourcery.com>
7675
7676 [BZ #11157]
7677 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7678 (encrypt_r): Likewise.
7679 * malloc/obstack.h (obstack_free): Likewise.
7680 * posix/unistd.h (encrypt): Likewise.
7681
7682 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7683
7684 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7685 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7686 DL_CALL_DT_FINI() that call the functions directly.
7687 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7688 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7689 * elf/dl-fini.c: Likewise.
7690
7691 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
7692
7693 * malloc/hooks.c (memalign_check): Add alignment rounding.
7694 * malloc/malloc.c (_mid_memalign): New function.
7695 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7696 Implement by calling _mid_memalign.
7697 * manual/probes.texi (Memory Allocation Probes): Remove
7698 memory_valloc_retry and memory_pvalloc_retry.
7699
7700 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7701
7702 * locale/programs/locarchive.c (open_archive): Add const
7703 qualifier to ARCHIVEFNAME and copy default fname to
7704 DEFAULT_FNAME.
7705
7706 [BZ #15601]
7707 * libio/tst-widetext.input: Rename Oriya to Odia.
7708 * locale/iso-639.def: Likewise.
7709
7710 * manual/probes.texi (Mathematical Function Probes): Add
7711 documentation for sin, cos, asin and acos probes.
7712 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7713 (__sin32): Add slowasin probe.
7714 (__cos32): Add slowacos probe.
7715 (__mpsin): Add slowsin probe.
7716 (__mpcos): Add slowcos probe.
7717
7718 2013-11-19 Joseph Myers <joseph@codesourcery.com>
7719
7720 [BZ #15483]
7721 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7722 thread-local __sim_exceptions_thread and global
7723 __sim_exceptions_global.
7724 (__sim_disabled_exceptions): Change to thread-local
7725 __sim_disabled_exceptions_thread and global
7726 __sim_disabled_exceptions_global.
7727 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7728 and global __sim_round_mode_global.
7729 (__simulate_exceptions): Use thread-local floating-point state and
7730 set global state from it as needed.
7731 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7732 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7733 __sim_round_mode_thread.
7734 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7735 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7736 and global __sim_exceptions_global.
7737 (__sim_disabled_exceptions): Change to thread-local
7738 __sim_disabled_exceptions_thread and global
7739 __sim_disabled_exceptions_global.
7740 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7741 and global __sim_round_mode_global.
7742 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7743 (SIM_SET_GLOBAL): Likewise.
7744 * sysdeps/powerpc/soft-fp/sfp-machine.h
7745 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7746 __sim_round_mode_thread.
7747 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7748 __sim_disabled_exceptions_thread.
7749 (__sim_exceptions): Change to __sim_exceptions_thread.
7750 (__sim_disabled_exceptions): Change to
7751 __sim_disabled_exceptions_thread.
7752 (__sim_round_mode): Change to __sim_round_mode_thread.
7753 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7754 thread-local floating-point state and set global state from it as
7755 needed.
7756 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7757 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7758 (__sim_disabled_exceptions): Remove extern declaration.
7759 (feenableexcept): Use thread-local floating-point state and set
7760 global state from it as needed.
7761 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7762 extern declaration.
7763 (__sim_disabled_exceptions): Likewise.
7764 (__sim_round_mode): Likewise.
7765 (__fegetenv): Use thread-local floating-point state.
7766 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7767 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7768 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7769 floating-point state and set global state from it as needed.
7770 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7771 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7772 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7773 Likewise.
7774 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7775 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7776 Likewise.
7777 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7778 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7779 Use __sim_round_mode_thread.
7780 * math/test-fenv-tls.c: New file.
7781 * math/Makefile (tests): Add test-fenv-tls.
7782 ($(objpfx)test-fenv-tls): Depend on
7783 $(common-objpfx)nptl/libpthread.so.
7784
7785 2013-11-19 Andreas Schwab <schwab@suse.de>
7786
7787 * locale/programs/locale.c (show_info): Decode wordarray elements.
7788 * locale/categories.def (LC_MONETARY): Add element for
7789 _NL_MONETARY_CRNCYSTR.
7790 * locale/C-monetary.c (conversion_rate): New variable.
7791 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7792 element.
7793
7794 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7795
7796 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7797 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7798
7799 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7800
7801 * elf/Makefile (tst-auxv): New test.
7802 * elf/tst-auxv.c: New
7803 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7804
7805 2013-11-18 Joseph Myers <joseph@codesourcery.com>
7806
7807 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7808 (hidden_proto): Caller changed.
7809 (hidden_tls_proto): New macro.
7810 (libc_hidden_tls_proto): Likewise.
7811 (rtld_hidden_tls_proto): Likewise.
7812 (libm_hidden_tls_proto): Likewise.
7813 (libresolv_hidden_tls_proto): Likewise.
7814 (librt_hidden_tls_proto): Likewise.
7815 (libdl_hidden_tls_proto): Likewise.
7816 (libnss_files_hidden_tls_proto): Likewise.
7817 (libnsl_hidden_tls_proto): Likewise.
7818 (libnss_nisplus_hidden_tls_proto): Likewise.
7819 (libutil_hidden_tls_proto): Likewise.
7820
7821 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
7822
7823 [BZ #10253]
7824 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7825 (decompose_rpath): Defer expansion to fillin_rpath.
7826 (_dl_init_paths): Pass linkmap to fillin_rpath.
7827
7828 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7829
7830 * benchtests/Makefile: Add strsep.
7831 * benchtests/bench-strsep.c: New file: strsep benchtest.
7832 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7833
7834 2013-11-18 Andreas Schwab <schwab@suse.de>
7835
7836 * locale/programs/locale.c (show_info) [case byte]: Check for
7837 '\377' instead of '\177'.
7838 * locale/C-monetary.c (not_available): Always use "\377".
7839 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7840 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7841 detect unavailable sign_posn locale elements.
7842 * locale/localeconv.c (__localeconv): For grouping and
7843 mon_grouping handle "\177" and "\377" like no grouping.
7844 (INT_ELEM): New macro. Use it to set all numeric members.
7845 * locale/programs/ld-monetary.c (monetary_read)
7846 <tok_mon_grouping>: Normalize single -1 to the empty string.
7847 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7848 Likewise.
7849
7850 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7851
7852 [BZ #16055]
7853 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7854 when we match (nil).
7855 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7856
7857 2013-11-16 Joseph Myers <joseph@codesourcery.com>
7858
7859 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7860 (NO_TEST_INLINE): Update value.
7861 (ERRNO_UNCHANGED): Likewise.
7862 (ERRNO_EDOM): Likewise.
7863 (ERRNO_ERANGE): Likewise.
7864 (IGNORE_RESULT): Likewise.
7865 (check_float_internal): Check signs of NaN results if
7866 TEST_NAN_SIGN used.
7867 (check_complex): Pass TEST_NAN_SIGN flag through to second
7868 check_float_internal call.
7869 (copysign_test_data): Add tests with quiet NaNs as second
7870 argument. Use TEST_NAN_SIGN.
7871 (fabs_test_data): Add test of negative quiet NaN argument. Use
7872 TEST_NAN_SIGN.
7873 (signbit_test_data): Add tests of quiet NaN argument.
7874 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7875
7876 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7877 $ignore_result.
7878 (parse_args): Handle function results specified as IGNORE.
7879 * math/libm-test.inc (IGNORE_RESULT): New macro.
7880 (check_float_internal): Do not check numerical result if flag
7881 IGNORE_RESULT set.
7882 (check_complex): Pass through IGNORE_RESULT to second
7883 check_float_internal call.
7884 (check_int): Do not check numerical result if flag IGNORE_RESULT
7885 set.
7886 (check_long): Likewise.
7887 (check_bool): Likewise.
7888 (check_longlong): Likewise.
7889 (lrint_test_data): Add tests of infinite and NaN arguments.
7890 (lrint_tonearest_test_data): Likewise.
7891 (lrint_towardzero_test_data): Likewise.
7892 (lrint_downward_test_data): Likewise.
7893 (lrint_upward_test_data): Likewise.
7894 (llrint_test_data): Likewise.
7895 (llrint_tonearest_test_data): Likewise.
7896 (llrint_towardzero_test_data): Likewise.
7897 (llrint_downward_test_data): Likewise.
7898 (llrint_upward_test_data): Likewise.
7899 (lround_test_data): Likewise.
7900 (llround_test_data): Likewise.
7901
7902 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7903 (ERRNO_UNCHANGED): Update value.
7904 (ERRNO_EDOM): Likewise.
7905 (ERRNO_ERANGE): Likewise.
7906 (NO_TEST_INLINE_FLOAT): New macro.
7907 (NO_TEST_INLINE_DOUBLE): Likewise.
7908 (enable_test): New function.
7909 (RUN_TEST_f_f): Check enable_test before running test.
7910 (RUN_TEST_2_f): Likewise.
7911 (RUN_TEST_fff_f): Likewise.
7912 (RUN_TEST_c_f): Likewise.
7913 (RUN_TEST_f_f1): Likewise.
7914 (RUN_TEST_fF_f1): Likewise.
7915 (RUN_TEST_fI_f1): Likewise.
7916 (RUN_TEST_ffI_f1): Likewise.
7917 (RUN_TEST_c_c): Likewise.
7918 (RUN_TEST_cc_c): Likewise.
7919 (RUN_TEST_f_i): Likewise.
7920 (RUN_TEST_f_i_tg): Likewise.
7921 (RUN_TEST_ff_i_tg): Likewise.
7922 (RUN_TEST_f_b): Likewise.
7923 (RUN_TEST_f_b_tg): Likewise.
7924 (RUN_TEST_f_l): Likewise.
7925 (RUN_TEST_f_L): Likewise.
7926 (RUN_TEST_fFF_11): Likewise.
7927 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7928 conditionals.
7929 (cosh_test_data): Likewise.
7930 (exp_test_data): Likewise.
7931 (expm1_test_data): Likewise.
7932 (hypot_test_data): Likewise.
7933 (pow_test_data): Likewise.
7934 (sinh_test_data): Likewise.
7935 (tanh_test_data): Likewise.
7936 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7937 flags argument.
7938
7939 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7940 tests with quiet NaN input and output.
7941 (acosh_test_data): Likewise.
7942 (asin_test_data): Likewise.
7943 (asinh_test_data): Likewise.
7944 (atan_test_data): Likewise.
7945 (atanh_test_data): Likewise.
7946 (atan2_test_data): Likewise.
7947 (cbrt_test_data): Likewise.
7948 (cos_test_data): Likewise.
7949 (cosh_test_data): Likewise.
7950 (erf_test_data): Likewise.
7951 (erfc_test_data): Likewise.
7952 (exp_test_data): Likewise.
7953 (exp10_test_data): Likewise.
7954 (exp2_test_data): Likewise.
7955 (expm1_test_data): Likewise.
7956 (hypot_test_data): Likewise.
7957 (j0_test_data): Likewise.
7958 (j1_test_data): Likewise.
7959 (jn_test_data): Likewise.
7960 (lgamma_test_data): Likewise.
7961 (log_test_data): Likewise.
7962 (log10_test_data): Likewise.
7963 (log1p_test_data): Likewise.
7964 (log2_test_data): Likewise.
7965 (pow_test_data): Likewise.
7966 (scalb_test_data): Likewise.
7967 (sin_test_data): Likewise.
7968 (sincos_test_data): Likewise.
7969 (sinh_test_data): Likewise.
7970 (tan_test_data): Likewise.
7971 (tanh_test_data): Likewise.
7972 (tgamma_test_data): Likewise.
7973 (y0_test_data): Likewise.
7974 (y1_test_data): Likewise.
7975 (yn_test_data): Likewise.
7976
7977 [BZ #16167]
7978 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7979 argument being NaN and avoid computations with second argument in
7980 that case.
7981 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7982 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7983 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7984
7985 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7986
7987 * locale/iso-639.def: Add Chitwani Tharu (the).
7988
7989 2013-11-14 Andreas Schwab <schwab@suse.de>
7990
7991 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7992 word instead of empty string.
7993
7994 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7995
7996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7997 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7999 (__fe_nomask_env): Likewise.
8000
8001 2013-11-13 Steve Ellcey <sellcey@mips.com>
8002
8003 * benchtests/bench-timing.h: Include time.h.
8004
8005 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8006
8007 [BZ #15997]
8008 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8009 to 3.4.0 for x32.
8010 * sysdeps/unix/sysv/linux/configure: Regenerated.
8011
8012 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8013
8014 [BZ #16151]
8015 * stdlib/strtod_l.c (round_and_return): Do not consider
8016 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8017 exponent one less than half the least subnormal exponent.
8018 * stdlib/test-strtod-round-data: Add more tests.
8019 * stdlib/tst-strtod-round.c (tests): Regenerated.
8020
8021 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8022
8023 [BZ #14143]
8024 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8025 (__fe_mask_env): Likewise.
8026 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8027 libm_hidden_proto and add function prototype.
8028 (__fe_mask_env): Add function prototype.
8029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8030 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8032 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8034 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8035
8036 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8037
8038 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8039 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8040
8041 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8042
8043 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8044 of htab_find_slot().
8045
8046 2013-11-11 David S. Miller <davem@davemloft.net>
8047
8048 [BZ #16150]
8049 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8050 symbol in the non-vis3 case in static builds.
8051 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8052 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8053 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8054 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8055
8056 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8057
8058 [BZ #387]
8059 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8060 it is empty.
8061
8062 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8063
8064 * benchtests/Makefile: Add bench-strtod.
8065 * benchtests/bench-strtod.c: New file: strtod benchtest
8066
8067 2013-11-11 Andreas Schwab <schwab@suse.de>
8068
8069 [BZ #16153]
8070 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8071 terminating NUL in key length.
8072
8073 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8074
8075 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8076 Add artificial ODP entry for vDSO symbol for PPC64.
8077 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8078 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8079
8080 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8081
8082 [BZ #15374]
8083 * nss/getent.c (services_keys): Recognize services starting with digit.
8084
8085 2013-11-06 David S. Miller <davem@davemloft.net>
8086
8087 [BZ #15985]
8088 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8089 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8090
8091 2013-11-06 Will Newton <will.newton@linaro.org>
8092
8093 * manual/memory.texi (Malloc Examples): Remove register
8094 keyword from examples.
8095
8096 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8097
8098 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8099
8100 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8101
8102 [BZ #6981]
8103 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8104 depending on [__GCC_IEC_559 > 0].
8105 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8106 depending on [__GCC_IEC_559_COMPLEX > 0].
8107
8108 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8109
8110 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8111 to iso-639.def.
8112
8113 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8114
8115 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8116
8117 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8118
8119 [BZ #16112]
8120 * malloc/malloc (malloc_info): Do not handle first bin as
8121 special case.
8122
8123 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8124
8125 * locale/iso-639.def: Add Central Nahuatl (nhn).
8126
8127 2013-11-01 Bruno Haible <bruno@clisp.org>
8128
8129 [BZ #7003]
8130 * manual/math.texi (BSD Random): Specify range upper bound as
8131 in POSIX.
8132
8133 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8134
8135 * locale/iso-639.def: Add Meadow Mari (mhr).
8136
8137 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8138
8139 [BZ #14752], [BZ #15763]
8140 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8141 Validate name.
8142 * rt/tst_shm.c: Add test for escaping directory.
8143
8144 2013-10-31 Andreas Schwab <schwab@suse.de>
8145
8146 [BZ #15917]
8147 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8148 followed by 'x' as part of digit sequence.
8149 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8150
8151 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8152
8153 [BZ #16037]
8154 * configure.ac: allow GNU Make 4.0 and greater.
8155 * configure: Regenerated.
8156
8157 2013-10-30 Will Newton <will.newton@linaro.org>
8158
8159 [BZ #16038]
8160 * malloc/hooks.c (memalign_check): Limit alignment to the
8161 maximum representable power of two.
8162 * malloc/malloc.c (__libc_memalign): Likewise.
8163 * malloc/tst-memalign.c (do_test): Add test for very
8164 large alignment values.
8165 * malloc/tst-posix_memalign.c (do_test): Likewise.
8166
8167 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8168
8169 [BZ #11087]
8170 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8171 (munmap_chunk): Likewise.
8172 (mremap_chunk): Likewise.
8173
8174 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8175
8176 [BZ #15799]
8177 * stdlib/div.c (div): Remove obsolete code.
8178 * stdlib/ldiv.c (ldiv): Likewise.
8179 * stdlib/lldiv.c (lldiv): Likewise.
8180
8181 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8182
8183 [BZ #16071]
8184 * nss/nss_files/files-XXX.c (get_contents_ret): New
8185 enumerator.
8186 (get_contents): New function.
8187 (internal_getent): Use it. Expand size of LINEBUFLEN.
8188
8189 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8190
8191 * configure.in: Moved to ...
8192 * configure.ac: ... here. Change reference to configure.in
8193 to configure.ac.
8194 * sysdeps/arm/preconfigure.ac: ... here.
8195 configure.in to configure.ac.
8196 * sysdeps/gnu/configure.in: Moved to ...
8197 * sysdeps/gnu/configure.ac: ... here.
8198 * sysdeps/i386/configure.in: Moved to ...
8199 * sysdeps/i386/configure.ac: ... here.
8200 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8201 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8202 * sysdeps/mach/configure.in: Moved to ...
8203 * sysdeps/mach/configure.ac: ... here.
8204 * sysdeps/mach/hurd/configure.in: Moved to ...
8205 * sysdeps/mach/hurd/configure.ac: ... here.
8206 * sysdeps/powerpc/configure.in: Moved to ...
8207 * sysdeps/powerpc/configure.ac: ... here.
8208 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8209 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8210 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8211 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8212 * sysdeps/s390/s390-32/configure.in: Moved to ...
8213 * sysdeps/s390/s390-32/configure.ac: ... here.
8214 * sysdeps/s390/s390-64/configure.in: Moved to ...
8215 * sysdeps/s390/s390-64/configure.ac: ... here.
8216 * sysdeps/sh/configure.in: Moved to ...
8217 * sysdeps/sh/configure.ac: ... here.
8218 * sysdeps/sparc/configure.in: Moved to ...
8219 * sysdeps/sparc/configure.ac: ... here.
8220 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8221 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8222 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8223 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8224 * sysdeps/x86_64/configure.in: Moved to ...
8225 * sysdeps/x86_64/configure.ac: ... here.
8226 * sysdeps/x86_64/preconfigure.in: Moved to ...
8227 * sysdeps/x86_64/preconfigure.ac: ... here.
8228 * aclocal.m4: Change reference to configure.in to configure.ac.
8229 * config.h.in: Likewise.
8230 * manual/install.texi: Likewise.
8231 * manual/maint.texi: Likewise.
8232 * Makefile: Likewise.
8233 * malloc/Makefile: Likewise.
8234 * nscd/Makefile: Likewise.
8235 * Makeconfig: Change reference to configure.in and
8236 preconfigure.in to configure.ac and preconfigure.ac
8237 respectively.
8238 * INSTALL: Regenerated.
8239 * configure: Likewise.
8240 * sysdeps/gnu/configure: Likewise.
8241 * sysdeps/i386/configure: Likewise.
8242 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8243 * sysdeps/mach/configure: Likewise.
8244 * sysdeps/mach/hurd/configure: Likewise.
8245 * sysdeps/powerpc/configure: Likewise.
8246 * sysdeps/powerpc/powerpc32/configure: Likewise.
8247 * sysdeps/powerpc/powerpc64/configure: Likewise.
8248 * sysdeps/s390/s390-32/configure: Likewise.
8249 * sysdeps/s390/s390-64/configure: Likewise.
8250 * sysdeps/sh/configure: Likewise.
8251 * sysdeps/sparc/configure: Likewise.
8252 * sysdeps/unix/sysv/linux/configure: Likewise.
8253 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8254 * sysdeps/x86_64/configure: Likewise.
8255 * sysdeps/x86_64/preconfigure: Likewise.
8256
8257 2013-10-29 Andreas Schwab <schwab@suse.de>
8258
8259 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8260
8261 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8262
8263 * benchtests/pow-inputs: Add new inputs.
8264
8265 * benchtests/exp-inputs: Add new inputs.
8266
8267 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8268 conditional check for return value.
8269 (__cos32): Likewise.
8270
8271 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8272
8273 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8274 to provide a boost for large inputs with word alignment.
8275 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8276 implementation based on optimized PPC64 strcpy.
8277 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8278 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8279 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8280 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8281
8282 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8283
8284 [BZ #2801]
8285 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8286
8287 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8288
8289 [BZ #14876]
8290 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8291 * time/tst-strptime.c (day_tests): Add testcase.
8292
8293 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8294
8295 [BZ #14029]
8296 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8297
8298 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8299
8300 [BZ #16074]
8301 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8302 MAP_FAILED on error.
8303
8304 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8305
8306 [BZ #16072]
8307 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8308 heap for large requests.
8309
8310 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8311
8312 [BZ #9954]
8313 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8314 result if the result has no associated interface.
8315 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8316 interface for all 127.X.Y.Z addresses.
8317
8318 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8319
8320 * locale/iso-639.def: Add Ligurian (lij)
8321
8322 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8323
8324 [BZ #15825]
8325 * sunrpc/rpc_main.c: Document rpcgen -5.
8326
8327 2013-10-19 Michael Stahl <mstahl@redhat.com>
8328
8329 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8330
8331 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8332
8333 [BZ #10278]
8334 * posix/glob.c: Match only directories when trailing slash is present.
8335 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8336 (main): Add testcase.
8337
8338 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8339
8340 [BZ #15670]
8341 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8342
8343 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8344
8345 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8346 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8347 AUTH_DES and cindex for FIPS 140-2.
8348 (DES Encryption): Add cindex FIPS 46-3.
8349
8350 * locale/locarchive.h (struct locarhandle): Add fname.
8351 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8352 if an optional argument was specified to --list-archive,
8353 otherwise NULL.
8354 * locale/programs/locarchive.c (show_archive_content): Take new
8355 argument fname and pass it via ah.fname to open_archive.
8356 * locale/programs/localedef.h: Update decl.
8357 (open_archive): If AH->fname is non-null, open that file
8358 rather than the default file name, and don't ignore ENOENT.
8359 (create_archive): Set AH.fname to NULL.
8360 (delete_locales_from_archive): Likewise.
8361 (add_locales_to_archive): Likewise.
8362 * locale/programs/locfile.c (write_all_categories): Likewise.
8363
8364 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8365 Aldy Hernandez <aldyh@redhat.com>
8366
8367 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8368 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8369 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8370 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8371 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8372 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8373 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8374 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8375 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8376 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8377 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8378 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8379 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8380 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8381 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8382 Likewise.
8383 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8384 Likewise.
8385 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8386 Likewise.
8387 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8388 Likewise.
8389 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8390 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8391 Likewise.
8392 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8393 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8394 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8395 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8396 Likewise.
8397 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8398 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8399 * sysdeps/powerpc/preconfigure: Likewise.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8401 Likewise.
8402 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8403 Replace contents of file by #include of <fenv_libc.h>.
8404 * sysdeps/powerpc/soft-fp/sfp-machine.h
8405 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8406 and <sys/prctl.h>.
8407 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8408 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8409 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8410 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8411 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8412 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8414 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8415 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8416 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8417 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8418 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8420 Allow copysignl PLT reference to be missing.
8421
8422 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8423 Joseph Myers <joseph@codesourcery.com
8424
8425 [BZ #15948]
8426 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8427 single character.
8428 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8429
8430 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8431
8432 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8433 * elf/tst-tls1.c: Likewise.
8434 * elf/tst-tls10.h: Likewise.
8435 * elf/tst-tls14.c: Likewise.
8436 * elf/tst-tls2.c: Likewise.
8437 * elf/tst-tls3.c: Likewise.
8438 * elf/tst-tls4.c: Likewise.
8439 * elf/tst-tls5.c: Likewise.
8440 * elf/tst-tls6.c: Likewise.
8441 * elf/tst-tls7.c: Likewise.
8442 * elf/tst-tls8.c: Likewise.
8443 * elf/tst-tls9.c: Likewise.
8444 * elf/tst-tlsmod1.c: Likewise.
8445 * elf/tst-tlsmod13.c: Likewise.
8446 * elf/tst-tlsmod13a.c: Likewise.
8447 * elf/tst-tlsmod14a.c: Likewise.
8448 * elf/tst-tlsmod16a.c: Likewise.
8449 * elf/tst-tlsmod16b.c: Likewise.
8450 * elf/tst-tlsmod2.c: Likewise.
8451 * elf/tst-tlsmod3.c: Likewise.
8452 * elf/tst-tlsmod4.c: Likewise.
8453 * elf/tst-tlsmod5.c: Likewise.
8454 * elf/tst-tlsmod6.c: Likewise.
8455
8456 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8457
8458 [BZ #12486]
8459 * malloc/malloc.c: remove checks for statistics.
8460
8461 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8462
8463 [BZ #15277]
8464 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8465 * inet/tst-network.c: Add testcase.
8466
8467 2013-10-17 Andreas Schwab <schwab@suse.de>
8468
8469 [BZ #15218]
8470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8471 to determine canonical name.
8472
8473 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8474
8475 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8476 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8478 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8480 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8488 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8493 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8494 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8496 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8499 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8500 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8505 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8533
8534 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8535
8536 [BZ #16041]
8537 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8538 make result into a quiet NaN.
8539
8540 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8541
8542 * soft-fp/adddf3.c: Fix horizontal whitespace.
8543 * soft-fp/addsf3.c: Likewise.
8544 * soft-fp/addtf3.c: Likewise.
8545 * soft-fp/divdf3.c: Likewise.
8546 * soft-fp/divsf3.c: Likewise.
8547 * soft-fp/divtf3.c: Likewise.
8548 * soft-fp/double.h: Likewise.
8549 * soft-fp/eqdf2.c: Likewise.
8550 * soft-fp/eqsf2.c: Likewise.
8551 * soft-fp/eqtf2.c: Likewise.
8552 * soft-fp/extenddftf2.c: Likewise.
8553 * soft-fp/extended.h: Likewise.
8554 * soft-fp/extendsfdf2.c: Likewise.
8555 * soft-fp/extendsftf2.c: Likewise.
8556 * soft-fp/extendxftf2.c: Likewise.
8557 * soft-fp/fixdfdi.c: Likewise.
8558 * soft-fp/fixdfsi.c: Likewise.
8559 * soft-fp/fixdfti.c: Likewise.
8560 * soft-fp/fixsfdi.c: Likewise.
8561 * soft-fp/fixsfsi.c: Likewise.
8562 * soft-fp/fixsfti.c: Likewise.
8563 * soft-fp/fixtfdi.c: Likewise.
8564 * soft-fp/fixtfsi.c: Likewise.
8565 * soft-fp/fixtfti.c: Likewise.
8566 * soft-fp/fixunsdfdi.c: Likewise.
8567 * soft-fp/fixunsdfsi.c: Likewise.
8568 * soft-fp/fixunsdfti.c: Likewise.
8569 * soft-fp/fixunssfdi.c: Likewise.
8570 * soft-fp/fixunssfsi.c: Likewise.
8571 * soft-fp/fixunssfti.c: Likewise.
8572 * soft-fp/fixunstfdi.c: Likewise.
8573 * soft-fp/fixunstfsi.c: Likewise.
8574 * soft-fp/fixunstfti.c: Likewise.
8575 * soft-fp/floatdidf.c: Likewise.
8576 * soft-fp/floatdisf.c: Likewise.
8577 * soft-fp/floatditf.c: Likewise.
8578 * soft-fp/floatsidf.c: Likewise.
8579 * soft-fp/floatsisf.c: Likewise.
8580 * soft-fp/floatsitf.c: Likewise.
8581 * soft-fp/floattidf.c: Likewise.
8582 * soft-fp/floattisf.c: Likewise.
8583 * soft-fp/floattitf.c: Likewise.
8584 * soft-fp/floatundidf.c: Likewise.
8585 * soft-fp/floatundisf.c: Likewise.
8586 * soft-fp/floatunditf.c: Likewise.
8587 * soft-fp/floatunsidf.c: Likewise.
8588 * soft-fp/floatunsisf.c: Likewise.
8589 * soft-fp/floatunsitf.c: Likewise.
8590 * soft-fp/floatuntidf.c: Likewise.
8591 * soft-fp/floatuntisf.c: Likewise.
8592 * soft-fp/floatuntitf.c: Likewise.
8593 * soft-fp/fmadf4.c: Likewise.
8594 * soft-fp/fmasf4.c: Likewise.
8595 * soft-fp/fmatf4.c: Likewise.
8596 * soft-fp/gedf2.c: Likewise.
8597 * soft-fp/gesf2.c: Likewise.
8598 * soft-fp/getf2.c: Likewise.
8599 * soft-fp/ledf2.c: Likewise.
8600 * soft-fp/lesf2.c: Likewise.
8601 * soft-fp/letf2.c: Likewise.
8602 * soft-fp/muldf3.c: Likewise.
8603 * soft-fp/mulsf3.c: Likewise.
8604 * soft-fp/multf3.c: Likewise.
8605 * soft-fp/negdf2.c: Likewise.
8606 * soft-fp/negsf2.c: Likewise.
8607 * soft-fp/negtf2.c: Likewise.
8608 * soft-fp/op-1.h: Likewise.
8609 * soft-fp/op-2.h: Likewise.
8610 * soft-fp/op-4.h: Likewise.
8611 * soft-fp/op-8.h: Likewise.
8612 * soft-fp/op-common.h: Likewise.
8613 * soft-fp/quad.h: Likewise.
8614 * soft-fp/single.h: Likewise.
8615 * soft-fp/soft-fp.h: Likewise.
8616 * soft-fp/sqrtdf2.c: Likewise.
8617 * soft-fp/sqrtsf2.c: Likewise.
8618 * soft-fp/sqrttf2.c: Likewise.
8619 * soft-fp/subdf3.c: Likewise.
8620 * soft-fp/subsf3.c: Likewise.
8621 * soft-fp/subtf3.c: Likewise.
8622 * soft-fp/truncdfsf2.c: Likewise.
8623 * soft-fp/trunctfdf2.c: Likewise.
8624 * soft-fp/trunctfsf2.c: Likewise.
8625 * soft-fp/trunctfxf2.c: Likewise.
8626 * soft-fp/unorddf2.c: Likewise.
8627 * soft-fp/unordsf2.c: Likewise.
8628 * soft-fp/unordtf2.c: Likewise.
8629
8630 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8631
8632 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8633 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8634
8635 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8636
8637 * elf/dl-libc.c: Clear initfini list after freeing.
8638
8639 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8640
8641 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8642 * soft-fp/addsf3.c: Likewise.
8643 * soft-fp/addtf3.c: Likewise.
8644 * soft-fp/divdf3.c: Likewise.
8645 * soft-fp/divsf3.c: Likewise.
8646 * soft-fp/divtf3.c: Likewise.
8647 * soft-fp/double.h: Likewise.
8648 * soft-fp/eqdf2.c: Likewise.
8649 * soft-fp/eqsf2.c: Likewise.
8650 * soft-fp/eqtf2.c: Likewise.
8651 * soft-fp/extenddftf2.c: Likewise.
8652 * soft-fp/extended.h: Likewise.
8653 * soft-fp/extendsfdf2.c: Likewise.
8654 * soft-fp/extendsftf2.c: Likewise.
8655 * soft-fp/extendxftf2.c: Likewise.
8656 * soft-fp/fixdfdi.c: Likewise.
8657 * soft-fp/fixdfsi.c: Likewise.
8658 * soft-fp/fixdfti.c: Likewise.
8659 * soft-fp/fixsfdi.c: Likewise.
8660 * soft-fp/fixsfsi.c: Likewise.
8661 * soft-fp/fixsfti.c: Likewise.
8662 * soft-fp/fixtfdi.c: Likewise.
8663 * soft-fp/fixtfsi.c: Likewise.
8664 * soft-fp/fixtfti.c: Likewise.
8665 * soft-fp/fixunsdfdi.c: Likewise.
8666 * soft-fp/fixunsdfsi.c: Likewise.
8667 * soft-fp/fixunsdfti.c: Likewise.
8668 * soft-fp/fixunssfdi.c: Likewise.
8669 * soft-fp/fixunssfsi.c: Likewise.
8670 * soft-fp/fixunssfti.c: Likewise.
8671 * soft-fp/fixunstfdi.c: Likewise.
8672 * soft-fp/fixunstfsi.c: Likewise.
8673 * soft-fp/fixunstfti.c: Likewise.
8674 * soft-fp/floatdidf.c: Likewise.
8675 * soft-fp/floatdisf.c: Likewise.
8676 * soft-fp/floatditf.c: Likewise.
8677 * soft-fp/floatsidf.c: Likewise.
8678 * soft-fp/floatsisf.c: Likewise.
8679 * soft-fp/floatsitf.c: Likewise.
8680 * soft-fp/floattidf.c: Likewise.
8681 * soft-fp/floattisf.c: Likewise.
8682 * soft-fp/floattitf.c: Likewise.
8683 * soft-fp/floatundidf.c: Likewise.
8684 * soft-fp/floatundisf.c: Likewise.
8685 * soft-fp/floatunsidf.c: Likewise.
8686 * soft-fp/floatunsisf.c: Likewise.
8687 * soft-fp/floatuntidf.c: Likewise.
8688 * soft-fp/floatuntisf.c: Likewise.
8689 * soft-fp/floatuntitf.c: Likewise.
8690 * soft-fp/fmadf4.c: Likewise.
8691 * soft-fp/fmasf4.c: Likewise.
8692 * soft-fp/fmatf4.c: Likewise.
8693 * soft-fp/gedf2.c: Likewise.
8694 * soft-fp/gesf2.c: Likewise.
8695 * soft-fp/getf2.c: Likewise.
8696 * soft-fp/ledf2.c: Likewise.
8697 * soft-fp/lesf2.c: Likewise.
8698 * soft-fp/letf2.c: Likewise.
8699 * soft-fp/muldf3.c: Likewise.
8700 * soft-fp/mulsf3.c: Likewise.
8701 * soft-fp/multf3.c: Likewise.
8702 * soft-fp/negdf2.c: Likewise.
8703 * soft-fp/negsf2.c: Likewise.
8704 * soft-fp/negtf2.c: Likewise.
8705 * soft-fp/op-1.h: Likewise.
8706 * soft-fp/op-2.h: Likewise.
8707 * soft-fp/op-4.h: Likewise.
8708 * soft-fp/op-8.h: Likewise.
8709 * soft-fp/op-common.h: Likewise.
8710 * soft-fp/quad.h: Likewise.
8711 * soft-fp/single.h: Likewise.
8712 * soft-fp/soft-fp.h: Likewise.
8713 * soft-fp/sqrtdf2.c: Likewise.
8714 * soft-fp/sqrtsf2.c: Likewise.
8715 * soft-fp/sqrttf2.c: Likewise.
8716 * soft-fp/subdf3.c: Likewise.
8717 * soft-fp/subsf3.c: Likewise.
8718 * soft-fp/subtf3.c: Likewise.
8719 * soft-fp/truncdfsf2.c: Likewise.
8720 * soft-fp/trunctfdf2.c: Likewise.
8721 * soft-fp/trunctfsf2.c: Likewise.
8722 * soft-fp/trunctfxf2.c: Likewise.
8723 * soft-fp/unorddf2.c: Likewise.
8724 * soft-fp/unordsf2.c: Likewise.
8725 * soft-fp/unordtf2.c: Likewise.
8726
8727 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
8728
8729 [BZ #15672]
8730 * misc/error.c (error_tail): Fix possible buffer overflow.
8731
8732 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8733
8734 [BZ #13028]
8735 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8736 address.
8737
8738 2013-10-14 P. J. McDermott <pj@pehjota.net>
8739
8740 [BZ #832]
8741 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8742 testing pipefail option.
8743
8744 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8745
8746 * soft-fp/double.h: Indent preprocessor directives inside #if.
8747 * soft-fp/extended.h: Likewise.
8748 * soft-fp/op-2.h: Likewise.
8749 * soft-fp/op-4.h: Likewise.
8750 * soft-fp/op-common.h: Likewise.
8751 * soft-fp/quad.h: Likewise.
8752 * soft-fp/single.h: Likewise.
8753 * soft-fp/soft-fp.h: Likewise.
8754
8755 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8756
8757 * iconv/iconv_prog.c: Fix typos.
8758 * stdio-common/psiginfo-data.h: Likewise.
8759
8760 2013-10-12 Reuben Thomas <rrt@sc3d.org>
8761
8762 [BZ #15764]
8763 * locale/setlocale.c: Fix typo.
8764
8765 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8766
8767 [BZ #16036]
8768 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8769 signaling NaN arguments.
8770 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8771 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8772
8773 [BZ #14910]
8774 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8775 unordered operands.
8776 * soft-fp/gesf2.c (__gesf2): Likewise.
8777 * soft-fp/getf2.c (__getf2): Likewise.
8778 * soft-fp/ledf2.c (__ledf2): Likewise.
8779 * soft-fp/lesf2.c (__lesf2): Likewise.
8780 * soft-fp/letf2.c (__letf2): Likewise.
8781
8782 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8783 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8784 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8785 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8786 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8787 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8788 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8789 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8790 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8791 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8792 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8793 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8794 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8795 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8796 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8797 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8798 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8799 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8800 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8801 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8802 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8803 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8804 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8805 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8806 * soft-fp/floattidf.c (__floattidf): Likewise.
8807 * soft-fp/floattisf.c (__floattisf): Likewise.
8808 * soft-fp/floattitf.c (__floattitf): Likewise.
8809 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8810 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8811 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8812 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8813 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8814 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8815 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8816 * soft-fp/gesf2.c (__gesf2): Likewise.
8817 * soft-fp/getf2.c (__getf2): Likewise.
8818 * soft-fp/ledf2.c (__ledf2): Likewise.
8819 * soft-fp/lesf2.c (__lesf2): Likewise.
8820 * soft-fp/letf2.c (__letf2): Likewise.
8821
8822 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8823 Undefine and redefine.
8824 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8825 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8826 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8827 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8828 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8829 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8830 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8831 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8832 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8833 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8834 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8835 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8836 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8837 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8838 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8839
8840 [BZ #16032]
8841 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8842 without decrementing exponent if mantissa >= that for the
8843 denominator, not >.
8844 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8845 denominator, not >. Decrement exponent in < case instead of
8846 incrementing in >= case.
8847 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8848 without decrementing exponent if mantissa >= that for the
8849 denominator, not >.
8850
8851 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8852 computing saturated result for unsigned overflow.
8853
8854 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8855 Jeff Law <law@redhat.com>
8856
8857 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8858 (atan2Mp): Add systemtap probe marker.
8859 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8860 (__ieee754_log): Add systemtap probe marker.
8861 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8862 (atanMp): Add systemtap probe marker.
8863 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8864 (tanMp): Add systemtap probe marker.
8865 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8866 (__slowexp): Add systemtap probe marker.
8867 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8868 (__slowpow): Add systemtap probe marker.
8869 * manual/probes.texi: Document probes.
8870
8871 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
8872
8873 [BZ #15362]
8874 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8875 written.
8876 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8877 written.
8878 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8879 written to buffer but not flushed.
8880 * libio/iofwrite_u.c: Likewise.
8881 * libio/iopadn.c: Return bytes returned even if EOF was
8882 encountered.
8883 * libio/iowpadn.c: Likewise.
8884 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8885 if _IO_padn does not write the whole buffer.
8886 [!COMPILE_WPRINTF] (PAD): Likewise.
8887
8888 2013-10-10 David S. Miller <davem@davemloft.net>
8889
8890 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8891 directory block.
8892
8893 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8894
8895 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8896 instead of FSF address.
8897 * soft-fp/fixdfti.c: Likewise.
8898 * soft-fp/fixsfti.c: Likewise.
8899 * soft-fp/fixtfti.c: Likewise.
8900 * soft-fp/fixunsdfti.c: Likewise.
8901 * soft-fp/fixunssfti.c: Likewise.
8902 * soft-fp/fixunstfti.c: Likewise.
8903 * soft-fp/floattidf.c: Likewise.
8904 * soft-fp/floattisf.c: Likewise.
8905 * soft-fp/floattitf.c: Likewise.
8906 * soft-fp/floatuntidf.c: Likewise.
8907 * soft-fp/floatuntisf.c: Likewise.
8908 * soft-fp/floatuntitf.c: Likewise.
8909 * soft-fp/trunctfxf2.c: Likewise.
8910
8911 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8912 * soft-fp/fixdfti.c: Likewise.
8913 * soft-fp/fixsfti.c: Likewise.
8914 * soft-fp/fixtfti.c: Likewise.
8915 * soft-fp/fixunsdfti.c: Likewise.
8916 * soft-fp/fixunssfti.c: Likewise.
8917 * soft-fp/fixunstfti.c: Likewise.
8918 * soft-fp/floattidf.c: Likewise.
8919 * soft-fp/floattisf.c: Likewise.
8920 * soft-fp/floattitf.c: Likewise.
8921 * soft-fp/floatuntidf.c: Likewise.
8922 * soft-fp/floatuntisf.c: Likewise.
8923 * soft-fp/floatuntitf.c: Likewise.
8924 * soft-fp/trunctfxf2.c: Likewise.
8925
8926 2013-10-10 David S. Miller <davem@davemloft.net>
8927
8928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8929
8930 2013-10-10 Joseph Myers <joseph@codsourcery.com>
8931
8932 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8933 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8934 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8935 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8936 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8937 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8938 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8939
8940 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8941 for NaNs before doing comparisons on argument.
8942 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8943 Likewise.
8944
8945 2013-10-10 Will Newton <will.newton@linaro.org>
8946
8947 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8948 passed to _int_memalign does not overflow.
8949
8950 2013-10-10 Torvald Riegel <triegel@redhat.com>
8951
8952 * scripts/bench.pl: Add include-sources directive.
8953 * benchtests/README: Update documentation.
8954
8955 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8956
8957 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8958 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8959 instead of FP_INIT_ROUNDMODE.
8960 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8961 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8962
8963 [BZ #16034]
8964 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8965 copy class of input value.
8966 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8967 not handle exceptions.
8968 * soft-fp/negsf2.c (__negsf2): Likewise.
8969 * soft-fp/negtf2.c (__negtf2): Likewise.
8970 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8971
8972 2013-10-09 Joseph Myers <joseph@codesourcery.com>
8973
8974 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8975 semicolon. From Linux kernel.
8976
8977 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8978
8979 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8980
8981 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8982
8983 [BZ #156]
8984 * manual/socket.texi: Added statement about buffer
8985 for gethostbyname2_r.
8986
8987 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
8988
8989 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8990 Use .p2align directive instead, throughout.
8991 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8992 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8993 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8994 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8995 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8996 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8997 * sysdeps/x86_64/strchr.S: Likewise.
8998 * sysdeps/x86_64/strrchr.S: Likewise.
8999
9000 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9001
9002 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9003
9004 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9005
9006 * sysdeps/generic/math_private.h (__mpsin1): Remove
9007 declaration.
9008 (__mpcos1): Likewise.
9009 (__mpsin): New argument __range_reduce.
9010 (__mpcos): Likewise.
9011 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9012 (slow): Use __mpsin and __mpcos.
9013 (slow1): Likewise.
9014 (slow2): Likewise.
9015 (sloww): Likewise.
9016 (sloww1): Likewise.
9017 (sloww2): Likewise.
9018 (bsloww): Likewise.
9019 (bsloww1): Likewise.
9020 (bsloww2): Likewise.
9021 (cslow2): Likewise.
9022 (csloww): Likewise.
9023 (csloww1): Likewise.
9024 (csloww2): Likewise.
9025 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9026 range_reduce. Merge in __mpsin1.
9027 (__mpcos): Likewise.
9028 (__mpsin1): Remove.
9029 (__mpcos1): Likewise.
9030
9031 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9032
9033 * locale/loadlocale.c (_nl_intern_locale_data): Use
9034 LOCFILE_ALIGNED_P.
9035 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9036 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9037 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9038 obstack data is appropriately aligned.
9039 (obstack_int32_grow_fast): Likewise.
9040 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9041 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9042 (add_locale_uint32_array): Likewise.
9043
9044 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9045
9046 * benchtests/Makefile: Remove ARGLIST and RET variables.
9047 ($(objpfx)bench-%.c): Pass only function name to the script.
9048 * benchtests/README: Update documentation.
9049 * benchtests/acos-inputs: Add new directives.
9050 * benchtests/acosh-inputs: Likewise.
9051 * benchtests/asin-inputs: Likewise.
9052 * benchtests/asinh-inputs: Likewise.
9053 * benchtests/atan-inputs: Likewise.
9054 * benchtests/atanh-inputs: Likewise.
9055 * benchtests/cos-inputs: Likewise.
9056 * benchtests/cosh-inputs: Likewise.
9057 * benchtests/exp-inputs: Likewise.
9058 * benchtests/log-inputs: Likewise.
9059 * benchtests/pow-inputs: Likewise.
9060 * benchtests/rint-inputs: Likewise.
9061 * benchtests/sin-inputs: Likewise.
9062 * benchtests/sinh-inputs: Likewise.
9063 * benchtests/tan-inputs: Likewise.
9064 * benchtests/tanh-inputs: Likewise.
9065 * scripts/bench.pl: Add support for new directives.
9066
9067 2013-10-07 Alan Modra <amodra@gmail.com>
9068
9069 * README: Fix careless merge.
9070
9071 2013-10-05 Alan Modra <amodra@gmail.com>
9072
9073 * NEWS: Mention powerpc64le support and bugs fixed.
9074 * README: Both big-endian and little-endian powerpc64 supported.
9075
9076 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9077
9078 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9079 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9080 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9081 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9082
9083 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9084
9085 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9086 match prototype.
9087
9088 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9089
9090 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9091 Move -mhard-float appending from
9092 ports/sysdeps/powerpc/powerpc32/Makefile.
9093 [$(with-fp) = yes] (ASFLAGS): Likewise.
9094 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9095 * sysdeps/powerpc/nofpu: Move directory from
9096 ports/sysdeps/powerpc/nofpu.
9097 * sysdeps/powerpc/soft-fp: Move directory from
9098 ports/sysdeps/powerpc/soft-fp.
9099 * sysdeps/powerpc/powerpc32/405: Move directory from
9100 ports/sysdeps/powerpc/powerpc32/405.
9101 * sysdeps/powerpc/powerpc32/440: Move directory from
9102 ports/sysdeps/powerpc/powerpc32/440.
9103 * sysdeps/powerpc/powerpc32/464: Move directory from
9104 ports/sysdeps/powerpc/powerpc32/464.
9105 * sysdeps/powerpc/powerpc32/476: Move directory from
9106 ports/sysdeps/powerpc/powerpc32/476.
9107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9108 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9110 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9112 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9114 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9116 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9117 * README: Update for powerpc-*-linux-gnu software floating point
9118 support in libc.
9119
9120 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9121 case to powerpc/powerpc32*.
9122 * sysdeps/unix/sysv/linux/configure: Regenerated.
9123
9124 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9125 (_FPU_MASK_OM): Define as 0x04.
9126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9128 0x00c10080.
9129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9130 0x0000003c.
9131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9132
9133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9134 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9135 getcontext_e500.
9136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9137 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9138 setcontext_e500.
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9140 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9141 and setcontext_e500.
9142
9143 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9144
9145 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9146
9147 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9148
9149 * manual/threads.texi (Default Thread Attributes): Fix typo.
9150
9151 2013-10-04 Will Newton <will.newton@linaro.org>
9152
9153 * malloc/Makefile: Add tst-memalign.
9154 * malloc/tst-memalign.c: New file.
9155
9156 * malloc/tst-posix_memalign.c: Add comments.
9157 (do_test): Add comments and call free on all potentially
9158 allocated pointers. Add space after cast.
9159
9160 * malloc/tst-pvalloc.c: Add comments.
9161 (do_test): Add comments and call free on all potentially
9162 allocated pointers. Remove duplicate check for NULL pointer.
9163 Add space after cast.
9164
9165 * malloc/tst-valloc.c: Add comments.
9166 (do_test): Add comments and call free on all potentially
9167 allocated pointers. Remove duplicate check for NULL pointer.
9168 Add space after cast.
9169
9170 2013-10-04 Alan Modra <amodra@gmail.com>
9171
9172 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9173 Use stdint types in rather than __attribute__((mode())).
9174 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9175
9176 2013-10-04 Alan Modra <amodra@gmail.com>
9177
9178 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9179 Correct handling of unaligned relocs for little-endian.
9180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9181
9182 2013-10-04 Alan Modra <amodra@gmail.com>
9183
9184 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9185 * configure: Regenerate.
9186 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9187 * shlib-versions: Likewise.
9188
9189 2013-10-04 Alan Modra <amodra@gmail.com>
9190
9191 * string/tester.c (test_memrchr): Increment reported test cycle.
9192
9193 2013-10-04 Alan Modra <amodra@gmail.com>
9194
9195 * string/test-memcpy.c (do_one_test): When reporting errors, print
9196 string address and don't overrun end of string.
9197
9198 2013-10-04 Alan Modra <amodra@gmail.com>
9199
9200 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9201 insrdi. Make better use of reg selection to speed exit slightly.
9202 Schedule entry path a little better. Remove useless "are we done"
9203 checks on entry to main loop. Handle wrapping around zero address.
9204 Correct main loop count. Handle single left-over word from main
9205 loop inline rather than by using loop_small. Remove extra word
9206 case in loop_small caused by wrong loop count. Add little-endian
9207 support.
9208 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9209 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9210 cache hint.
9211 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9212 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9213 support. Avoid rlwimi.
9214 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9215
9216 2013-10-04 Alan Modra <amodra@gmail.com>
9217
9218 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9219 insrdi. Formatting.
9220 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9221 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9222 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9223 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9224 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9225 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9226
9227 2013-10-04 Alan Modra <amodra@gmail.com>
9228
9229 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9230 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9231 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9232 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9233 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9234 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9235 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9236 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9237 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9238 use of regs. Use power7 mtocrf. Tidy function tails.
9239
9240 2013-10-04 Alan Modra <amodra@gmail.com>
9241
9242 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9243 Formatting. Consistently use rXXX register defines or rN defines.
9244 Use early exit labels that avoid restoring unused non-volatile regs.
9245 Make cr field use more consistent with rWORDn compares. Rename
9246 regs used as shift registers for unaligned loop, using rN defines
9247 for short lifetime/multiple use regs.
9248 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9249 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9250 addi 1,1,64 to pop stack frame. Simplify return value code.
9251 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9252
9253 2013-10-04 Alan Modra <amodra@gmail.com>
9254
9255 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9256 support. Correct typos, formatting. Optimize tail. Use insrdi
9257 rather than rlwimi.
9258 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9259 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9260 little-endian support. Correct typos.
9261 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9262 rather than rlwimi.
9263 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9264 in loop and entry code to keep "and." results.
9265 (strchr): Add little-endian support. Comment. Move cntlzd
9266 earlier in tail.
9267 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9268
9269 2013-10-04 Alan Modra <amodra@gmail.com>
9270
9271 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9272 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9273 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9274 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9275
9276 2013-10-04 Alan Modra <amodra@gmail.com>
9277
9278 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9279 (rTMP): Define as r11.
9280 (strcmp): Add little-endian support. Optimise tail.
9281 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9282 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9283 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9284 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9285 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9286 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9287 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9288
9289 2013-10-04 Alan Modra <amodra@gmail.com>
9290
9291 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9292 little-endian support. Remove unnecessary "are we done" tests.
9293 Handle "s" wrapping around zero and extremely large "size".
9294 Correct main loop count. Handle single left-over word from main
9295 loop inline rather than by using small_loop. Correct comments.
9296 Delete "zero" tail, use "end_max" instead.
9297 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9298
9299 2013-10-04 Alan Modra <amodra@gmail.com>
9300
9301 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9302 support. Don't branch over align.
9303 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9304 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9305 support. Rearrange tmp reg use to suit. Comment.
9306 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9307
9308 2013-10-04 Alan Modra <amodra@gmail.com>
9309
9310 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9311
9312 2013-10-04 Alan Modra <amodra@gmail.com>
9313
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9315 conditional form of branch and link when obtaining pc.
9316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9317
9318 2013-10-04 Alan Modra <amodra@gmail.com>
9319
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9321 HIWORD/LOWORD.
9322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9324
9325 2013-10-04 Alan Modra <amodra@gmail.com>
9326
9327 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9328 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9329 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9330 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9331 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9332 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9333 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9334 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9335 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9336 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9337
9338 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9339 Alistair Popple <alistair@ozlabs.au.ibm.com>
9340 Alan Modra <amodra@gmail.com>
9341
9342 [BZ #15723]
9343 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9344 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9345 _dl_hwcap access for little-endian.
9346 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9347 destroy vmx regs when saving unaligned.
9348 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9349 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9350 destroy vmx regs when saving unaligned.
9351
9352 2013-10-04 Alan Modra <amodra@gmail.com>
9353
9354 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9355 Don't use a union to pack hi/low value.
9356
9357 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9358
9359 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9360 for little-endian.
9361 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9362 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9363 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9364 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9365 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9366
9367 2013-10-04 Alan Modra <amodra@gmail.com>
9368
9369 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9370 constants to usual value for .cst8 section, and remove redundant
9371 high address load.
9372 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9373 constant for 0x1p52. Load little-endian words of double from
9374 correct stack offsets.
9375
9376 2013-10-04 Alan Modra <amodra@gmail.com>
9377
9378 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9379 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9380 words of double from correct stack offsets.
9381 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9382 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9383 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9384 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9385 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9386 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9387 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9388 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9389 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9390 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9391 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9392 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9393 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9394 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9395 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9396 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9397 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9398
9399 2013-10-04 Alan Modra <amodra@gmail.com>
9400
9401 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9402 64-bit int/double union.
9403 (_FPU_SETCW): Likewise.
9404 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9405 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9406
9407 2013-10-04 Alan Modra <amodra@gmail.com>
9408
9409 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9410 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9411
9412 2013-10-04 Alan Modra <amodra@gmail.com>
9413
9414 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9415 use vector int constants.
9416 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9417
9418 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9419
9420 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9421 array with long long.
9422 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9423 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9424 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9425 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9426 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9427 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9428 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9429 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9430 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9431 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9432 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9433 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9434 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9435
9436 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9437
9438 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9439 (__signbit): Likewise. Correct for little-endian.
9440 (__signbitl): Call __signbit.
9441 (lrint): Correct for little-endian.
9442 (lrintf): Call lrint.
9443
9444 2013-10-04 Alan Modra <amodra@gmail.com>
9445
9446 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9447 union 32-bit int array member with 64-bit int array.
9448 (t515, tm256): Double rather than long double.
9449 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9450
9451 2013-10-04 Alan Modra <amodra@gmail.com>
9452
9453 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9454 Delete.
9455 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9456 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9457 version of math_ldbl.h.
9458
9459 2013-10-04 Alan Modra <amodra@gmail.com>
9460
9461 [BZ #15734], [BZ #15735]
9462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9463 all uses of ieee875 long double macros and unions. Simplify test
9464 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9465 ldbl_extract_mantissa value for ix,iy exponents. Properly
9466 normalize after ldbl_extract_mantissa, and don't add hidden bit
9467 already handled. Don't treat low word of ieee854 mantissa like
9468 low word of IBM long double and mask off bit when testing for
9469 zero.
9470 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9471 all uses of ieee875 long double macros and unions. Simplify tests
9472 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9473 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9474 two1022, instead use their values. Recognise that tests for large
9475 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9476 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9477 Rewrite all uses of ieee875 long double macros and unions. Simplify
9478 test for 0.0L and nan. Correct negation.
9479 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9480 ieee875 long double macros and unions. Correct output for large
9481 magnitude x. Correct absolute value calculation.
9482 (__erfcl): Likewise.
9483 * math/libm-test.inc: Add tests for errors discovered in IBM long
9484 double versions of fmodl, remainderl, erfl and erfcl.
9485
9486 2013-10-04 Alan Modra <amodra@gmail.com>
9487
9488 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9489 all uses of ieee854 long double macros and unions. Simplify tests
9490 for long doubles that are fully specified by the high double.
9491 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9492 Likewise.
9493 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9494 Remove dead code too.
9495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9496 (__ieee754_ynl): Likewise.
9497 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9498 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9499 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9500 Remove dead code too.
9501 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9502 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9503 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9504 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9505 Simplify.
9506 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9507 Simplify.
9508 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9509 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9510 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9511 Comment on variable precision.
9512 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9513 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9514 Likewise.
9515 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9516 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9517 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9519 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9520
9521 2013-10-04 Alan Modra <amodra@gmail.com>
9522
9523 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9524 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9525 all uses of ieee854 long double macros and unions.
9526 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9527 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9531 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9532 Likewise.
9533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9534 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9535 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9536 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9537 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9538 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9539 Simplify sign and nan test too.
9540 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9542 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9544 Likewise.
9545 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9546 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9547 Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9549 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9550 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9551 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9552 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9553 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9554
9555 2013-10-04 Alan Modra <amodra@gmail.com>
9556
9557 * stdio-common/printf_size.c (__printf_size): Don't use
9558 union ieee854_long_double in fpnum union.
9559 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9560 signbit macro to retrieve sign from long double.
9561 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9562 retrieve sign from long double.
9563 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9564 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9565 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9566 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9567 * math/test-misc.c (main): Don't use union ieee854_long_double.
9568
9569 2013-10-04 Alan Modra <amodra@gmail.com>
9570
9571 [BZ #15680]
9572 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9573 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9574 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9575 calculation. Remove unnecessary test for denormal exponent.
9576 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9577 Correct handling of denormals. Avoid undefined shift behaviour.
9578 Correct normalisation of low mantissa when low double is denormal.
9579 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9580 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9581 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9582 Correct normalisation of low mantissa. Test for overflow of high
9583 mantissa and normalise.
9584 (ldbl_nearbyint): Use more readable constant for two52.
9585 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9586 (__mpn_construct_long_double): Fix test for overflow of high
9587 mantissa and correct normalisation. Avoid undefined shift.
9588
9589 2013-10-04 Alan Modra <amodra@gmail.com>
9590
9591 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9592 (union ibm_extended_long_double): Define as an array of ieee754_double.
9593 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9594 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9595 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9596 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9597 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9599 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9600 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9604
9605 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9606
9607 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9608 page size instead of calling getpagesize.
9609
9610 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9611 (LOCFILE_ALIGN_MASK): Likewise.
9612 (LOCFILE_ALIGN_UP): Likewise.
9613 (LOCFILE_ALIGNED_P): Likewise.
9614 * locale/programs/ld-collate.c (collate_output): Use the new
9615 macros instead of __alignof__ (int32_t).
9616 * locale/weight.h (findidx): Likewise.
9617
9618 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9619
9620 [BZ #431]
9621 * manual/string.texi: Fix strncat and wcsncat.
9622
9623 2013-10-03 Brooks Moses <bmoses@google.com>
9624
9625 [BZ #15915]
9626 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9627 * Makerules: ...here, and adjust associated comments.
9628
9629 2013-10-02 Will Newton <will.newton@linaro.org>
9630
9631 * malloc/Makefile: Add tst-pvalloc.
9632 * malloc/tst-pvalloc.c: New file.
9633
9634 2013-10-02 Will Newton <will.newton@linaro.org>
9635
9636 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9637 improve test coverage.
9638
9639 2013-10-02 Will Newton <will.newton@linaro.org>
9640
9641 * malloc/Makefile: Add tst-posix_memalign.
9642 * malloc/tst-posix_memalign.c: New file.
9643
9644 2013-10-01 Eric Blake <eblake@redhat.com>
9645
9646 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9647 Use __THROWNL rather than __THROW on static functions.
9648
9649 2013-09-30 Petr Machata <pmachata@redhat.com>
9650
9651 * elf/elf.h (R_AARCH64_ABS16): New macro.
9652 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9653 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9654 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9655 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9656 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9657 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9658 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9659 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9660 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9661 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9662 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9663 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9664 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9665 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9666 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9667 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9668 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9669 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9670 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9671 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9672 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9673 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9674 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9675 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9676 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9677 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9678 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9679 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9680 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9681 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9682 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9683 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9684 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9685 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9686 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9687 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9688 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9689 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9690 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9691 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9692 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9693 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9694 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9695 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9696 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9697 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9698 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9699 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9700 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9701 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9702 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9703 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9704 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9705 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9706 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9707 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9708 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9709 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9710 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9711 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9712 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9713 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9714 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9715 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9716 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9717 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9718 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9719 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9720 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9721 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9722 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9723 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9724 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9725 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9726 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9727 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9728 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9729 (R_AARCH64_TLSDESC_LDR): Likewise.
9730 (R_AARCH64_TLSDESC_ADD): Likewise.
9731 (R_AARCH64_TLSDESC_CALL): Likewise.
9732
9733 2013-09-30 Andreas Schwab <schwab@suse.de>
9734
9735 [BZ #15048]
9736 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9737 the nss database lookup.
9738 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9740
9741 2013-09-28 Mike Frysinger <vapier@gentoo.org>
9742
9743 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9744
9745 2013-09-28 P. J. McDermott <pj@pehjota.net>
9746
9747 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9748 ${Bash-specific parameter/pattern/string} parameter expansion.
9749 * sysdeps/unix/make-syscalls.sh: Likewise.
9750
9751 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9752
9753 * sysdeps/sh/stackguard-macros.h: New file.
9754
9755 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
9756
9757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9759 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9760 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9761 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9762 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9763
9764 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9765
9766 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9767 Fix thread ID register.
9768
9769 2013-09-25 Joseph Myers <joseph@codesourcery.com>
9770
9771 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9772 [POSIX || UNIX98]: Require rather than permitting all symbols from
9773 <time.h>.
9774 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9775 element of struct sched_param.
9776 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9777 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9778 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9779 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9780 constant.
9781
9782 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9783
9784 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9785 argument calculation.
9786
9787 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9788
9789 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9790 Expect macro.
9791 [POSIX] (pthread_attr_t): Do not require type.
9792 [POSIX] (pthread_cond_t): Likewise.
9793 [POSIX] (pthread_condattr_t): Likewise.
9794 [POSIX] (pthread_key_t): Likewise.
9795 [POSIX] (pthread_mutex_t): Likewise.
9796 [POSIX] (pthread_mutexattr_t): Likewise.
9797 [POSIX] (pthread_once_t): Likewise.
9798 [POSIX] (pthread_t): Likewise.
9799 [POSIX-based standards] (pthread_atfork): Expect function.
9800
9801 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9802 Richard Sandiford <richard@codesourcery.com>
9803
9804 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9805 (swap_endianness_p): New extern variable.
9806 (set_big_endian): New inline function.
9807 (maybe_swap_uint32): Likewise.
9808 (maybe_swap_uint32_array): Likewise.
9809 (maybe_swap_uint32_obstack): Likewise.
9810 * locale/programs/locfile.c: Include <stdbool.h>.
9811 (swap_endianness_p): New variable.
9812 (add_locale_uint32): Call maybe_swap_uint32.
9813 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9814 (write_locale_data): Call maybe_swap_uint32_array.
9815 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9816 maybe_swap_uint32.
9817 (obstack_int32_grow_fast): Likewise.
9818 (output_weightwc): Call maybe_swap_uint32_obstack.
9819 (collate_output): Likewise.
9820 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9821 (OPT_LITTLE_ENDIAN): Likewise.
9822 (options): Add --little-endian and --big-endian options.
9823 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9824 * locale/programs/locarchive.c: Include "locfile.h".
9825 (GET): New macro.
9826 (SET): Likewise.
9827 (INC): Likewise.
9828 (create_archive): Use the new macros to access fields of
9829 structures directly mapped from or written to locale archives.
9830 (oldlocrecentcmp): Likewise.
9831 (enlarge_archive): Likewise.
9832 (insert_name): Likewise.
9833 (add_alias): Likewise.
9834 (add_locale): Likewise.
9835 (delete_locales_from_archive): Likewise.
9836 (show_archive_content): Likewise.
9837 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9838 locale data.
9839
9840 2013-09-24 Roland McGrath <roland@hack.frob.com>
9841
9842 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9843 http://www.gnu.org/doc/freemanuals.texi.
9844 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9845
9846 2013-09-24 Will Newton <will.newton@linaro.org>
9847
9848 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9849 macro.
9850
9851 2013-09-23 Joseph Myers <joseph@codesourcery.com>
9852
9853 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9854 unsigned char.
9855
9856 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9857
9858 * manual/threads.texi (POSIX Threads): Fix a typo.
9859
9860 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9861
9862 [BZ #14547]
9863 * string/tst-strcoll-overflow.c: New test case.
9864 * string/Makefile (xtests): Add tst-strcoll-overflow.
9865 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9866 cache if string sizes may cause integer overflow.
9867
9868 [BZ #14547]
9869 * string/strcoll_l.c (coll_seq): New members rule, idx,
9870 save_idx and back_us.
9871 (get_next_seq_nocache): New function.
9872 (do_compare_nocache): New function.
9873 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9874 when malloc fails.
9875
9876 2013-09-23 Carlos O'Donell <carlos@redhat.com>
9877
9878 [BZ #15754]
9879 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9880 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9881 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9882
9883 [BZ #15754]
9884 * elf/Makefile (tests): Add tst-ptrguard1.
9885 (tests-static): Add tst-ptrguard1-static.
9886 (tst-ptrguard1-ARGS): Define.
9887 (tst-ptrguard1-static-ARGS): Define.
9888 * elf/tst-ptrguard1.c: New file.
9889 * elf/tst-ptrguard1-static.c: New file.
9890 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9891 * sysdeps/i386/stackguard-macros.h: Likewise.
9892 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9893 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9894 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9895 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9896 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9897 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9898
9899 2013-09-23 Hector Marco <hecmargi@upv.es>
9900 Ismael Ripoll <iripoll@disca.upv.es>
9901 Carlos O'Donell <carlos@redhat.com>
9902
9903 [BZ #15754]
9904 * sysdeps/generic/stackguard-macros.h: Define
9905 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9906 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9907 Define __pointer_chk_guard_local.
9908 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9909 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9910
9911 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9912
9913 [BZ #15859]
9914 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9915
9916 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9917
9918 * include/string.h (__ffs): Declare as hidden.
9919 * string/ffs.c (__ffs): Define as hidden.
9920 * sysdeps/i386/ffs.c (__ffs): Likewise.
9921 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9922 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9923 * sysdeps/s390/ffs.c (__ffs): Likewise.
9924 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9925
9926 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
9927
9928 * NEWS: Mention malloc probes.
9929
9930 * malloc/arena.c (new_heap): New memory_heap_new probe.
9931 (grow_heap): New memory_heap_more probe.
9932 (shrink_heap): New memory_heap_less probe.
9933 (heap_trim): New memory_heap_free probe.
9934 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9935 (systrim): New memory_sbrk_less probe.
9936 * manual/probes.texi: Document them.
9937
9938 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9939 * manual/probes.texi: Document it.
9940
9941 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9942 (__libc_realloc): Add memory_realloc_retry probe.
9943 (__libc_memalign): Add memory_memalign_retry probe.
9944 (__libc_valloc): Add memory_valloc_retry probe.
9945 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9946 (__libc_calloc): Add memory_calloc_retry probe.
9947 * manual/probes.texi: Document them.
9948
9949 * malloc/arena.c (get_free_list): Add probe
9950 memory_arena_reuse_free_list.
9951 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9952 and memory_arena_reuse.
9953 (arena_get2) [!PER_THREAD]: Likewise.
9954 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9955 memory_arena_reuse_realloc.
9956 * manual/probes.texi: Document them.
9957
9958 * malloc/malloc.c (__libc_free): Add
9959 memory_mallopt_free_dyn_thresholds probe.
9960 (__libc_mallopt): Add multiple memory_mallopt probes.
9961 * manual/probes.texi: Document them.
9962
9963 * malloc/malloc.c: Include stap-probe.h.
9964 (__libc_mallopt): Add memory_mallopt probe.
9965 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9966 * manual/probes.texi: New.
9967 * manual/Makefile (chapters): Add probes.
9968 * manual/threads.texi: Set next node.
9969
9970 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
9971
9972 [BZ #15963, #13985]
9973 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9974 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9975 Add `Chinese' to `nan' entry name.
9976
9977 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9978
9979 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9980 (POLYNOMIAL): Likewise.
9981 (TAYLOR_SINCOS): Likewise.
9982 (TAYLOR_SLOW): Likewise.
9983 (__sin): Use TAYLOR_SINCOS.
9984 (__cos): Likewise.
9985 (slow): Use TAYLOR_SLOW.
9986 (sloww): Likewise.
9987 (bsloww): Likewise.
9988 (csloww): Likewise.
9989
9990 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9991
9992 * stdlib/strtod_l.c: Fix buffer overrun.
9993
9994 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9995
9996 * benchtests/Makefile (bench): Add sincos.
9997 * benchtests/bench-sincos.c: New file.
9998
9999 * math/libm-test.inc (cos_test_data): New test inputs.
10000 (sin_test_data): Likewise.
10001
10002 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10003 macro.
10004 (__sin): Use it.
10005 (__cos): Likewise.
10006 (slow1): Likewise.
10007 (slow2): Likewise.
10008 (sloww1): Likewise.
10009 (sloww2): Likewise.
10010 (bsloww1): Likewise.
10011 (bsloww2): Likewise.
10012 (cslow2): Likewise.
10013 (csloww1): Likewise.
10014 (csloww2): Likewise.
10015
10016 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10017 function.
10018 (__sin): Use it.
10019 (__cos): Likewise.
10020
10021 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10022 gotos.
10023 (__cos): Likewise.
10024
10025 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10026
10027 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10028 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10029 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10030 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10031 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10032 * elf/cache.c (print_entry): Handle the new cache flags.
10033
10034 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10035 Aldy Hernandez <aldyh@redhat.com>
10036
10037 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10038 Change condition to [_SOFT_FLOAT].
10039 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10040 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10042 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10043 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10051 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10054 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10055 declaration.
10056
10057 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10058
10059 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10060 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10061 (__longjmp): Use LOAD_GP to load saved GPRs.
10062 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10063 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10064 (__sigsetjmp): Use SAVE_GP to save GPRs.
10065
10066 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10067 Do not append -msoft-float.
10068 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10069
10070 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10071
10072 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10073
10074 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10075
10076 [BZ #15966]
10077 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10078 (_FPU_GETCW): Use initial "__" on variable and field names but not
10079 on macro parameter name.
10080 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10081 parentheses around reference to macro parameter.
10082
10083 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10084
10085 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10086 prototype.
10087 (ctype_startup): Use uint32_t in cast and sizeof for
10088 ctype->charnames.
10089
10090 2013-09-11 Jia Liu <proljc@gmail.com>
10091
10092 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10093 __daddr_t_defined.
10094 [__FreeBSD__]: Likewise.
10095
10096 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10097
10098 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10099 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10100 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10101 (strchr): Remove __strchr_sse42 ifunc selection.
10102 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10103 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10104
10105 2013-09-11 Will Newton <will.newton@linaro.org>
10106
10107 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10108 parameter to RES. Remove hardcoded 1000 value.
10109 * benchtests/bench-skeleton.c (main): Pass RES parameter
10110 to TIMING_INIT and multiply result by 1000.
10111
10112 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10113
10114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10115
10116 2013-09-11 Andreas Schwab <schwab@suse.de>
10117
10118 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10119 if not defined.
10120 (O_TMPFILE) [__USE_GNU]: Define.
10121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10122 Define.
10123
10124 2013-09-11 Will Newton <will.newton@linaro.org>
10125
10126 [BZ #15857]
10127 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10128 does not overflow.
10129
10130 2013-09-11 Will Newton <will.newton@linaro.org>
10131
10132 [BZ #15856]
10133 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10134 does not overflow.
10135
10136 2013-09-11 Will Newton <will.newton@linaro.org>
10137
10138 [BZ #15855]
10139 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10140 does not overflow.
10141
10142 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10143
10144 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10145 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10148 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10149
10150 2013-09-10 Allan McRae <allan@archlinux.org>
10151
10152 [BZ #15748]
10153 * manual/arith.texi (Parsing of Floats): Clarify
10154 cross-reference.
10155
10156 [BZ #15849]
10157 * manual/install.texi (Running make install): Mention
10158 --enable-pt-chown.
10159 * INSTALL: Regenerated.
10160
10161 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10162
10163 * csu/init-first.c (_init): Remove the !SHARED condition around
10164 FPU control word initialization.
10165 * elf/dl-support.c (_dl_fpu_control): New variable.
10166 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10167 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10168 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10169 * math/test-fpucw-static.c: New file.
10170 * math/test-fpucw-ieee.c: New file.
10171 * math/test-fpucw-ieee-static.c: New file.
10172 * math/Makefile (tests): Add `test-fpucw-ieee' and
10173 `$(tests-static)'.
10174 (tests-static): New variable.
10175 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10176 dependency to...
10177 [($(build-shared),yes)]
10178 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10179 ... this.
10180 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10181 New dependency.
10182
10183 2013-09-09 Allan McRae <allan@archlinux.org>
10184
10185 [BZ #15939]
10186 * manual/string.texi (Collation Functions): Fix typo in
10187 strcoll example.
10188 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10189
10190 [BZ #15893]
10191 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10192
10193 [BZ #15892]
10194 * libio/memstream.c (open_memstream): Fix memory leak.
10195 * libio/wmemstream.c (open_wmemstream): Likewise.
10196
10197 [BZ #15895]
10198 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10199
10200 2013-09-09 Will Newton <will.newton@linaro.org>
10201
10202 * malloc/Makefile: Add tst-realloc to tests.
10203 * malloc/tst-realloc.c: New file.
10204
10205 2013-09-09 Allan McRae <allan@archlinux.org>
10206
10207 [BZ #15844]
10208 * COPYING: Update from GNU website to fix FSF address.
10209 * COPYING.LIB: Likewise.
10210
10211 2013-09-06 David S. Miller <davem@davemloft.net>
10212
10213 * po/zh_TW.po: Update Chinese (traditional) translation from
10214 translation project.
10215
10216 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10217 Joseph Myers <joseph@codesourcery.com>
10218
10219 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10220 "localeinfo.h".
10221 (obstack_chunk_alloc): New macro.
10222 (obstack_chunk_free): Likewise.
10223 (record_offset): New function.
10224 (init_locale_data): Likewise.
10225 (align_locale_data): Likewise.
10226 (add_locale_empty): Likewise.
10227 (add_locale_raw_data): Likewise.
10228 (add_locale_raw_obstack): Likewise.
10229 (add_locale_string): Likewise.
10230 (add_locale_wstring): Likewise.
10231 (add_locale_uint32): Likewise.
10232 (add_locale_uint32_array): Likewise.
10233 (add_locale_char): Likewise.
10234 (start_locale_structure): Likewise.
10235 (end_locale_structure): Likewise.
10236 (start_locale_prelude): Likewise.
10237 (end_locale_prelude): Likewise.
10238 (write_locale_data): Take locale_file structure rather than an
10239 iovec.
10240 * locale/programs/locfile.h: Include "obstack.h".
10241 (struct locale_file): Change to store locale file contents instead
10242 of header.
10243 (init_locale_data): New prototype.
10244 (align_locale_data): Likewise.
10245 (add_locale_empty): Likewise.
10246 (add_locale_raw_data): Likewise.
10247 (add_locale_raw_obstack): Likewise.
10248 (add_locale_string): Likewise.
10249 (add_locale_wstring): Likewise.
10250 (add_locale_uint32): Likewise.
10251 (add_locale_uint32_array): Likewise.
10252 (add_locale_char): Likewise.
10253 (start_locale_structure): Likewise.
10254 (end_locale_structure): Likewise.
10255 (start_locale_prelude): Likewise.
10256 (end_locale_prelude): Likewise.
10257 (write_locale_data): Update prototype.
10258 * locale/programs/3level.h (struct TABLE): Remove result field.
10259 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10260 Use new locale_file interface.
10261 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10262 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10263 * locale/programs/ld-address.c (address_output): Use new
10264 locale_file interface.
10265 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10266 NO_ADD_LOCALE.
10267 (collate_finish): Don't call collseq_table_finalize.
10268 (collate_output): Use new locale_file interface.
10269 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10270 in file.
10271 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10272 (TABLE): Move defines earlier in file.
10273 (ELEMENT): Likewise.
10274 (DEFAULT): Likewise.
10275 (wctrans_table_add): Move macro and inline function earlier in
10276 file.
10277 (struct wctype_table): Move type earlier in file.
10278 (add_locale_wctype_table): New static prototype.
10279 (struct locale_ctype_t): Use logical types instead of struct iovec
10280 pointers for members.
10281 (ctype_output): Use new locale_file interface.
10282 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10283 new locale_file interface.
10284 (allocate_arrays): Update for use of new locale_file interface.
10285 * locale/programs/ld-identification.c (identification_output): Use
10286 new locale_file interface.
10287 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10288 * locale/programs/ld-messages.c (messages_output): Likewise.
10289 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10290 * locale/programs/ld-name.c (name_output): Likewise.
10291 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10292 * locale/programs/ld-paper.c (paper_output): Likewise.
10293 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10294 * locale/programs/ld-time.c (time_output): Likewise.
10295
10296 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10297
10298 * benchtests/Makefile: Add memrchr benchmark.
10299 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10300 benchmark as memrchr.
10301 * benchtests/bench-memrchr-ifunc.c: New file.
10302 * benchtests/bench-memrchr.c: New file.
10303
10304 2013-09-06 Will Newton <will.newton@linaro.org>
10305
10306 * benchtests/Makefile (string-bench): Add memcpy.
10307
10308 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10309 Cong Wang <amwang@redhat.com>
10310
10311 [BZ #15850]
10312 * sysdeps/unix/sysv/linux/bits/in.h
10313 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10314 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10315 before __USE_KERNEL_IPV6_DEFS uses.
10316 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10317 IPPROTO_BEETPH.
10318 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10319 sockaddr_in6, or ipv6_mreq.
10320
10321 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10322
10323 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10324 memory access for final bytes in some large inputs.
10325 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10326
10327 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10328
10329 * string/test-memrchr.c: New file.
10330 * string/test-memrchr-ifunc.c: New file.
10331 * string/Makefile: Add new memrchr testcase.
10332
10333 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10334
10335 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10336 fanotify_init returns EPERM.
10337
10338 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10339
10340 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10341 errors.
10342 (top level): Treat second token from macro or constant entries for
10343 allowed headers as allowed.
10344 * include/complex.h: Condition internal declarations on
10345 [!_ISOMAC].
10346 * include/fenv.h: Condition include of <stdbool.h> and internal
10347 declarations on [!_ISOMAC].
10348
10349 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10350
10351 [BZ #15923]
10352 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10353
10354 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10355
10356 * configure.in (--enable-versioning): Remove configure option.
10357 (libc_cv_asm_symver_directive): Remove configure test.
10358 (libc_cv_ld_version_script_option): Likewise.
10359 (VERSIONING): Remove variable and AC_SUBST.
10360 (DO_VERSIONING): Remove AC_DEFINE.
10361 * configure: Regenerated.
10362 * config.h.in (DO_VERSIONING): Remove macro.
10363 * Makerules [$(versioning) = yes]: Change conditionals to
10364 [$(build-shared) = yes].
10365 * config.make.in (versioning): Remove variable.
10366 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10367 [$(build-shared) = yes].
10368 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10369 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10370 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10371 [$(build-shared) = yes].
10372 * extra-lib.mk [$(versioning) = yes]: Likewise.
10373 * hurd/Makefile [$(versioning) = yes]: Likewise.
10374 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10375 [SHARED].
10376 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10377 [SHARED].
10378 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10379 [SHARED && !NO_HIDDEN].
10380 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10381 [SHARED].
10382 [SHARED && DO_VERSIONING]: Likewise..
10383 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10384 [$(build-shared) = yes].
10385 * manual/install.texi (--disable-versioning): Remove
10386 documentation.
10387 * INSTALL: Regenerated.
10388 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10389 to [SHARED].
10390 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10391 [$(build-shared) = yes].
10392 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10393 * sysdeps/i386/i686/multiarch/strstr-c.c
10394 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10395 [SHARED && !NO_HIDDEN].
10396 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10397 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10398 * sysdeps/powerpc/powerpc32/dl-machine.c
10399 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10400 * sysdeps/powerpc/powerpc32/sysdep.h
10401 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10402 to [SHARED && PIC && !NO_HIDDEN].
10403 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10404 conditional to [SHARED].
10405
10406 2013-09-04 Will Newton <will.newton@linaro.org>
10407
10408 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10409 * benchtests/bench-string.h: Include bench-timing.h instead
10410 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10411 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10412 call to HP_TIMING_DIFF_INIT.
10413 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10414 instead of hp-timing.h macros.
10415 * benchtests/bench-memchr.c: Likewise.
10416 * benchtests/bench-memcmp.c: Likewise.
10417 * benchtests/bench-memcpy.c: Likewise.
10418 * benchtests/bench-memmem.c: Likewise.
10419 * benchtests/bench-memmove.c: Likewise.
10420 * benchtests/bench-memset.c: Likewise.
10421 * benchtests/bench-rawmemchr.c: Likewise.
10422 * benchtests/bench-strcasecmp.c: Likewise.
10423 * benchtests/bench-strcasestr.c: Likewise.
10424 * benchtests/bench-strcat.c: Likewise.
10425 * benchtests/bench-strchr.c: Likewise.
10426 * benchtests/bench-strcmp.c: Likewise.
10427 * benchtests/bench-strcpy.c: Likewise.
10428 * benchtests/bench-strcpy_chk.c: Likewise.
10429 * benchtests/bench-strlen.c: Likewise.
10430 * benchtests/bench-strncasecmp.c: Likewise.
10431 * benchtests/bench-strncat.c: Likewise.
10432 * benchtests/bench-strncmp.c: Likewise.
10433 * benchtests/bench-strncpy.c: Likewise.
10434 * benchtests/bench-strnlen.c: Likewise.
10435 * benchtests/bench-strpbrk.c: Likewise.
10436 * benchtests/bench-strrchr.c: Likewise.
10437 * benchtests/bench-strspn.c: Likewise.
10438 * benchtests/bench-strstr.c: Likewise.
10439
10440 2013-09-04 Will Newton <will.newton@linaro.org>
10441
10442 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10443
10444 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10445
10446 [BZ #15427]
10447 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10448 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10449 * math/libm-test.inc (lgamma_test_data): Add more tests.
10450 * sysdeps/i386/fpu/libm-test-ulps: Update.
10451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10452
10453 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10454
10455 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10457 Add ifunc.
10458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10459 Add strcmp-sse2-unaligned
10460 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10461
10462 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10463
10464 * Versions.def (libc): Add GLIBC_2.19.
10465
10466 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10467
10468 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10469 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10470
10471 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10472
10473 [BZ #14155]
10474 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10475 intermediate calculations in recurrence.
10476 (__ieee754_ynf): Likewise.
10477 * math/libm-test.inc (jn_test_data): Do not allow spurious
10478 underflow exception. Add more tests.
10479 (yn_test_data): Add more tests.
10480 * sysdeps/i386/fpu/libm-test-ulps: Update.
10481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10482
10483 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10484
10485 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10486
10487 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10488
10489 * csu/init-first.c: Fix then/than typos.
10490 * locale/programs/ld-collate.c: Likewise.
10491 * locale/programs/linereader.h: Likewise.
10492 * manual/charset.texi: Likewise.
10493 * manual/filesys.texi: Likewise.
10494 * manual/stdio.texi: Likewise.
10495 * manual/string.texi: Likewise.
10496 * stdlib/fmtmsg.c: Likewise.
10497 * sysdeps/i386/stpncpy.S: Likewise.
10498 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10499 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10500 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10501 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10502
10503 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10504
10505 * elf/dl-open.c: Fix typos.
10506 * iconvdata/gbbig5.c: Likewise.
10507 * iconvdata/iso-2022-jp.c: Likewise.
10508 * iconv/gconv_int.h: Likewise.
10509 * iconv/loop.c: Likewise.
10510 * nis/rpcsvc/nis.h: Likewise.
10511 * resolv/ns_name.c: Likewise.
10512 * stdio-common/vfscanf.c: Likewise.
10513 * streams/stropts.h: Likewise.
10514 * sunrpc/rpc_thread.c: Likewise.
10515 * sysdeps/i386/strpbrk.S: Likewise.
10516 * sysdeps/ieee754/k_standard.c: Likewise.
10517 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10519 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10520 * sysdeps/mach/hurd/profil.c: Likewise.
10521 * sysdeps/s390/dl-procinfo.h: Likewise.
10522 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10523 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10524 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10525 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10526 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10527
10528 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10529
10530 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10531 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10532
10533 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10534
10535 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10536 aix specific files.
10537 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10538 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10539 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10540 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10541 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10542 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10543 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10544 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10545
10546 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10547 Roland McGrath <roland@hack.frob.com>
10548
10549 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10550 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10551
10552 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10553
10554 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10555 __executable_start symbol instead of _start.
10556
10557 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10558
10559 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10560 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10561 Move macros to...
10562 * sysdeps/gnu/ldsodefs.h: ... this new file.
10563
10564 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10565 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10566 instead of ELFOSABI_LINUX.
10567
10568 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10569 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10570 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10571 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10572 Likewise.
10573 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10574 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10575 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10576 Likewise.
10577 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10578 (ibm_extended_long_double): Add ieee_nan member.
10579 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10580 (do_test): New function.
10581
10582 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10583 TEST_TRUNC.
10584 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10585 functions, renamed from truncdfsf_test, trunctfsf_test,
10586 trunctfdf_test.
10587 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10588 functions.
10589 (do_test): Run all these.
10590
10591 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10592
10593 * argp/argp-help.c: Fix typos.
10594 * argp/argp-parse.c: Likewise.
10595 * debug/backtracesyms.c: Likewise.
10596 * elf/elf.h: Likewise.
10597 * malloc/malloc.c: Likewise.
10598 * nis/nis_print.c: Likewise.
10599 * resolv/res_comp.c: Likewise.
10600 * stdlib/stdlib.h: Likewise.
10601 * sunrpc/clnt_tcp.c: Likewise.
10602 * sunrpc/clnt_udp.c: Likewise.
10603 * sunrpc/clnt_unix.c: Likewise.
10604 * sysdeps/unix/bsd/ptsname.c: Likewise.
10605 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10606 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10608 Likewise.
10609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10610 Likewise.
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10612 Likewise.
10613 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10614
10615 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10616
10617 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10619
10620 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10621
10622 [BZ #15897]
10623 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10624 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10625 ($(objpfx)bug-dl-leaf): New rule.
10626 ($(objpfx)bug-dl-leaf.so): Likewise.
10627 ($(objpfx)bug-dl-leaf.out): Likewise.
10628 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10629 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10630 * dlfcn/bug-dl-leaf.c: New test.
10631 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10632 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10633 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10634 (dlclose): Likewise.
10635 (dlmopen): Likewise.
10636
10637 2013-08-27 Roland McGrath <roland@hack.frob.com>
10638
10639 * include/netdb.h [!_ISOMAC]:
10640 Don't include <tls.h>.
10641 (h_errno, __libc_h_errno): Move declaration and macros out of
10642 [_LIBC_REENTRANT].
10643
10644 * include/resolv.h [_RESOLV_H_]:
10645 Don't include <tls.h>.
10646 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10647 * resolv/res_libc.c: Don't include <tls.h>.
10648 (_res): Use __attribute__ ((nocommon)) in place of
10649 __attribute__ ((section (".bss"))).
10650
10651 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10652 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10653
10654 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10655
10656 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10657 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10658
10659 * resolv/res_mkquery.c: Include <sys/time.h>.
10660
10661 * inet/ifreq.c: Moved to ...
10662 * sysdeps/unix/ifreq.c: ... here.
10663 * inet/ifreq.c: New file, true stub version.
10664
10665 * socket/sa_len.c: New file.
10666 * socket/Makefile (aux): Add it.
10667 * sysdeps/unix/sysv/linux/Makefile
10668 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10669 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10670 and #include <socket/sa_len.c>.
10671 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10672 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10673
10674 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10675 * bits/socket.h: ... here.
10676
10677 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10678 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10679 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10680
10681 2013-08-27 Andreas Schwab <schwab@suse.de>
10682
10683 [BZ #15736]
10684 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10685 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10686 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10687 * string/test-strcasecmp.c (test_main): Run tests in several
10688 locales.
10689 * string/test-strncasecmp.c (test_main): Likewise.
10690
10691 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10692 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10693 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10695 (__strncasecmp_ssse3) [PIC]: Likewise.
10696
10697 2013-08-26 Roland McGrath <roland@hack.frob.com>
10698
10699 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10700
10701 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10702 instead of explicitly declaring xdecrypt.
10703 * nis/nss_nis/nis-publickey.c: Likewise.
10704
10705 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10706
10707 [BZ #15890]
10708 * nscd/aicache.c: Include res_hconf.h.
10709 (addhstaiX): Initialize res_hconf.
10710
10711 2013-08-26 Andreas Schwab <schwab@suse.de>
10712
10713 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10714 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10715
10716 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10717
10718 * nscd/aicache.c (addhstaiX): Fix indentation.
10719
10720 2013-08-25 Mike Frysinger <vapier@gentoo.org>
10721
10722 * configure.ac: Quote $build_pt_chown test.
10723 * configure: Regenerated.
10724
10725 2013-08-23 Joseph Myers <joseph@codesourcery.com>
10726
10727 [BZ #15532]
10728 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10729 * math/s_cexpf.c (__cexpf): Likewise.
10730 * math/s_cexpl.c (__cexpl): Likewise.
10731 * math/libm-test.inc (cexp_test_data): Correct expected return
10732 value for NaN + i0. Add another test.
10733
10734 2013-08-22 David S. Miller <davem@davemloft.net>
10735
10736 * po/ca.po: Update Catalan translation from translation project.
10737 * po/uk.po: Add Ukrainian translations from translation project.
10738
10739 2013-08-21 Joseph Myers <joseph@codesourcery.com>
10740
10741 [BZ #15797]
10742 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10743 is infinite, not alongside NaN test.
10744 * math/s_fdimf.c (__fdimf): Likewise.
10745 * math/s_fdiml.c (__fdiml): Likewise.
10746 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10747 errno is unchanged.
10748
10749 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
10750
10751 * argp/argp-help.c: Fix typos.
10752 * crypt/speeds.c: Likewise.
10753 * csu/check_fds.c: Likewise.
10754 * elf/dl-load.c: Likewise.
10755 * elf/dl-open.c: Likewise.
10756 * elf/reldep3.c: Likewise.
10757 * elf/reldep.c: Likewise.
10758 * elf/sprof.c: Likewise.
10759 * iconv/iconv_charmap.c: Likewise.
10760 * iconv/skeleton.c: Likewise.
10761 * iconv/strtab.c: Likewise.
10762 * io/lockf64.c: Likewise.
10763 * libio/libioP.h: Likewise.
10764 * resolv/gai_notify.c: Likewise.
10765 * resolv/ns_name.c: Likewise.
10766 * resolv/ns_samedomain.c: Likewise.
10767 * resolv/res_send.c: Likewise.
10768 * stdlib/random.c: Likewise.
10769 * sunrpc/rpc/xdr.h: Likewise.
10770 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10771 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10772 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10773 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10774 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10775 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10776 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10777 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10778 * sysdeps/mach/hurd/check_fds.c: Likewise.
10779 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10780 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10781 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10782 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10783 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10784 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10785 * sysdeps/pthread/aio_notify.c: Likewise.
10786 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10787 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10788 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10789 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10790 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10791
10792 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10793
10794 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10795 version if bit_Slow_SSE4_2 is set.
10796 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10797 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10798
10799 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10800
10801 [BZ #15867]
10802 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10803 trampoline stack frame information.
10804 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10805 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10806 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10807 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10808 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10809 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10810 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10811 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10812 sa_flags value.
10813 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10814 interrupting a syscall and set with option SA_SIGINFO.
10815
10816 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10817
10818 [BZ #15531]
10819 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10820 argument is infinite.
10821 * math/s_cprojf.c (__cprojf): Likewise.
10822 * math/s_cprojl.c (__cprojl): Likewise.
10823 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10824 * math/libm-test.inc (cproj_test_data): Add more tests.
10825
10826 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10827
10828 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10829 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10830 size. Use __ffs to determine corresponding shift.
10831
10832 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10833 Roland McGrath <roland@hack.frob.com>
10834
10835 * Makefile (INSTALL): Remove trailing blank lines from output of
10836 makeinfo.
10837
10838 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10839
10840 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10841 Align 32 bit compat elf_greg to 8 bytes.
10842
10843 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10844
10845 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10846
10847 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10848
10849 * string/strcoll_l.c (coll_seq): New structure.
10850 (get_next_seq_cached): New function.
10851 (get_next_seq): New function.
10852 (do_compare): New function.
10853 (STRCOLL): Use GNU style definition. Simplify implementation
10854 by using get_next_seq, get_next_seq_cached and do_compare.
10855
10856 2013-08-16 Florian Weimer <fweimer@redhat.com>
10857
10858 [BZ #14699]
10859 CVE-2013-4237
10860 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10861 member.
10862 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10863 member.
10864 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10865 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10866 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10867 conditional.
10868 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10869 GETDENTS_64BIT_ALIGNED.
10870 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10871 * manual/filesys.texi (Reading/Closing Directory): Document
10872 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10873 strongly.
10874 * manual/conf.texi (Limits for Files): Add portability note to
10875 NAME_MAX, PATH_MAX.
10876 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10877
10878 2013-08-13 Andreas Schwab <schwab@suse.de>
10879
10880 [BZ #15749]
10881 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10882 of fabs.
10883 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10884 LDBL_MAX_EXP >= 16384]: Add tests for it.
10885
10886 2013-08-12 David S. Miller <davem@davemloft.net>
10887
10888 * version.h (RELEASE): Set to "development".
10889 (VERSION): Set to "2.18.90".
10890 * NEWS: Add 2.19 section.
10891
10892 2013-08-03 David S. Miller <davem@davemloft.net>
10893
10894 * po/ko.po: Update Korean translation from translation project.
10895
10896 2013-08-01 David S. Miller <davem@davemloft.net>
10897
10898 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10899 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10900 Bilka.
10901
10902 2013-07-30 David S. Miller <davem@davemloft.net>
10903
10904 * po/fr.po: Update French translation from translation project.
10905
10906 2013-07-28 David S. Miller <davem@davemloft.net>
10907
10908 * po/cs.po: Update Czech translation from translation project.
10909
10910 * po/sv.po: Update Swedish translation from translation project.
10911
10912 2013-07-27 David S. Miller <davem@davemloft.net>
10913
10914 * po/eo.po: Update Esperanto translation from translation project.
10915
10916 * po/vi.po: Update Vietnamese translation from translation project.
10917
10918 * po/de.po: Update German translation from translation project.
10919
10920 2013-07-26 David S. Miller <davem@davemloft.net>
10921
10922 * po/bg.po: Update Bulgarian translation from translation project.
10923
10924 * po/nl.po: Update Dutch translation from translation project.
10925 * po/pl.po: Update Polish translation from translation project.
10926 * po/ru.po: Update Russian translation from translation project.
10927
10928 2013-07-24 David S. Miller <davem@davemloft.net>
10929
10930 * po/libc.pot: Update.
10931
10932 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10933
10934 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10935 variable page size.
10936 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10937 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10938 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10939
10940 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10941
10942 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10943
10944 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10945 Andreas Schwab <schwab@suse.de>
10946 Roland McGrath <roland@hack.frob.com>
10947 Joseph Myers <joseph@codesourcery.com>
10948 Carlos O'Donell <carlos@redhat.com>
10949
10950 [BZ #15755]
10951 * config.h.in: Define HAVE_PT_CHOWN.
10952 * config.make.in (build-pt-chown): New variable.
10953 * configure.in (--enable-pt_chown): New configure option.
10954 * configure: Regenerate.
10955 * login/Makefile: Include Makeconfig. Build pt_chown only if
10956 build-pt-chown is enabled.
10957 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10958 pt_chown to fix pty ownership.
10959 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10960 CLOSE_ALL_FDS.
10961 * manual/install.texi (Configuring and compiling): Mention
10962 --enable-pt_chown. Add @findex for grantpt.
10963 * INSTALL: Regenerate.
10964
10965 2013-07-20 David S. Miller <davem@davemloft.net>
10966
10967 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10968 difference between 32-bit and 64-bit.
10969
10970 2013-07-15 Carlos O'Donell <carlos@redhat.com>
10971
10972 [BZ #15711]
10973 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10974 Avoid system header dependency with -ffreestanding.
10975 ($(objpfx)bits/syscall%d): Likewise.
10976
10977 2013-07-13 David S. Miller <davem@davemloft.net>
10978
10979 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10980 underflows from atanl/atan2l due to bug 15319.
10981 (casinh_test_data): Likewise.
10982
10983 2013-07-07 David S. Miller <davem@davemloft.net>
10984
10985 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10986
10987 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10988
10989 * sysdeps/i386/fpu/libm-test-ulps: Update.
10990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10991
10992 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10993
10994 * configure.in (--enable-lock-elision): Fix message text.
10995 * INSTALL: Regenerate.
10996 * configure: Regenerate.
10997
10998 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10999
11000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11001
11002 2013-07-03 Andreas Jaeger <aj@suse.de>
11003
11004 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11005 define.
11006 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11007 (ptrace_peeksiginfo_args): Add.
11008 (__ptrace_peeksiginfo_flags): Add.
11009 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11010 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11011 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11012
11013 2013-07-03 Allan McRae <allan@archlinux.org>
11014
11015 * sysdeps/i386/fpu/libm-test-ulps: Update.
11016
11017 2013-07-02 David S. Miller <davem@davemloft.net>
11018
11019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11020
11021 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11022
11023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11024
11025 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11026
11027 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11029
11030 2013-07-02 Andi Kleen <ak@linux.intel.com>
11031
11032 * config.h.in (ENABLE_LOCK_ELISION): Add.
11033 * configure.in (--enable-lock-elision): Add option.
11034 * manual/install.texi: Document --enable lock elision.
11035 * configure: Regenerate
11036 * INSTALL: Regenerate.
11037
11038 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11039
11040 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11041 SSE4.2 strcasecmp for libc.a.
11042 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11043
11044 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11045
11046 [BZ #13304]
11047 * soft-fp/op-common.h (_FP_FMA): New macro.
11048 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11049 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11050 (_FP_MUL_MEAT_1_imm): ... here.
11051 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11052 (_FP_MUL_MEAT_1_wide): ... here.
11053 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11054 (_FP_MUL_MEAT_1_hard): ... here.
11055 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11056 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11057 (_FP_MUL_MEAT_2_wide): ... here.
11058 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11059 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11060 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11061 (_FP_MUL_MEAT_2_gmp): ... here.
11062 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11063 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11064 (_FP_MUL_MEAT_4_wide): ... here.
11065 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11066 (_FP_MUL_MEAT_4_gmp): ... here.
11067 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11068 (_FP_WFRACBITS_DW_S): Likewise.
11069 (_FP_WFRACXBITS_DW_S): Likewise.
11070 (_FP_HIGHBIT_DW_S): Likewise.
11071 (FP_FMA_S): Likewise.
11072 (_FP_FRAC_HIGH_DW_S): Likewise.
11073 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11074 (_FP_WFRACBITS_DW_D): Likewise.
11075 (_FP_WFRACXBITS_DW_D): Likewise.
11076 (_FP_HIGHBIT_DW_D): Likewise.
11077 (FP_FMA_D): Likewise.
11078 (_FP_FRAC_HIGH_DW_D): Likewise.
11079 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11080 (_FP_WFRACBITS_DW_E): Likewise.
11081 (_FP_WFRACXBITS_DW_E): Likewise.
11082 (_FP_HIGHBIT_DW_E): Likewise.
11083 (FP_FMA_E): Likewise.
11084 (_FP_FRAC_HIGH_DW_E): Likewise.
11085 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11086 (_FP_WFRACBITS_DW_Q): Likewise.
11087 (_FP_WFRACXBITS_DW_Q): Likewise.
11088 (_FP_HIGHBIT_DW_Q): Likewise.
11089 (FP_FMA_Q): Likewise.
11090 (_FP_FRAC_HIGH_DW_Q): Likewise.
11091 * soft-fp/fmasf4.c: New file.
11092 * soft-fp/fmadf4.c: Likewise.
11093 * soft-fp/fmatf4.c: Likewise.
11094
11095 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11096
11097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11098 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11099 Silvermont.
11100 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11101 macro.
11102 (index_Slow_SSE4_2): Likewise.
11103 (index_Prefer_PMINUB_for_stringop): Likewise.
11104 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11105 bit_Slow_SSE4_2 is set.
11106 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11107 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11108
11109 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11110
11111 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11112 rtld_global._dl_hwcap2.
11113 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11114 POWER8.
11115 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11116 POWER8 feature descriptions defined in _dl_hwcap2.
11117 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11118 string handling for POWER8 feature bits.
11119 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11120 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11121 _dl_powerpc_cap_flags.
11122 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11123 * sysdeps/powerpc/rtld-global-offsets.sym
11124 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11125 _dl_hwcap2 in the rtld_global_ro structure.
11126
11127 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11128
11129 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11130 hardware capabilities in support of AT_HWCAP2.
11131 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11132 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11133 GLRO(dl_hwcap2).
11134 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11135 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11136 explicitly the unknown a_type display mechanism is used.
11137 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11138 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11139 struct member.
11140 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11141 to macro prototype for AT_HWCAP2 support.
11142 * sysdeps/i386/dl-procinfo.h: Likewise.
11143 * sysdeps/s390/dl-procinfo.h: Likewise.
11144 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11145 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11146 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11147 return -1 for unknown a_type display fallback.
11148 * sysdeps/sparc/dl-procinfo.h: Likewise.
11149 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11150 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11151
11152 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11153
11154 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11155 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11156
11157 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11158
11159 [BZ #12492]
11160 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11161 mprotect making __stack_prot writable.
11162
11163 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11164 Joseph Myers <joseph@codesourcery.com>
11165
11166 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11167 as being properly aligned.
11168
11169 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11170
11171 * dlfcn/modstatic5.c: New file.
11172 * dlfcn/tststatic5.c: New file.
11173 * dlfcn/Makefile (tests): Add tststatic5.
11174 (tests-static): Likewise.
11175 (modules-names): Add modstatic5.
11176 (tststatic5-ENV): New variable.
11177 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11178
11179 [BZ #15022]
11180 * elf/dl-support.c (_dl_main_map): New variable.
11181 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11182 (_dl_nns, _dl_load_adds): Set to 1.
11183 (_dl_initial_searchlist): Refer to _dl_main_map.
11184 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11185 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11186 call to _dl_get_origin.
11187 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11188 around call_map.
11189 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11190 * dlfcn/modstatic3.c: New file.
11191 * dlfcn/tststatic3.c: New file.
11192 * dlfcn/tststatic4.c: New file.
11193 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11194 (tests-static): Likewise.
11195 (modules-names): Add modstatic3.
11196 (tststatic3-ENV, tststatic4-ENV): New variables.
11197 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11198 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11199
11200 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11201
11202 * configure.in (CC): Require GCC version 4.4 or later.
11203 * configure: Regenerated.
11204 * manual/install.texi (Tools for Compilation): Update GCC version
11205 requirement.
11206 * INSTALL: Regenerated.
11207
11208 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11209
11210 [BZ #15674]
11211 * string/test-memcmp.c (check2): New.
11212 (main): Call check2.
11213
11214 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11215
11216 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11217
11218 [BZ #15022]
11219 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11220 over to...
11221 (dl_open_worker) [!SHARED]: ... here.
11222
11223 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11224
11225 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11226
11227 2013-06-25 Richard Henderson <rth@redhat.com>
11228
11229 * locale/programs/locarchive.c: Include <libc-internal.h>
11230
11231 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11232
11233 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11234 trailing whitespace removed.
11235
11236 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11237
11238 [BZ #10283]
11239 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11240 * locale/programs/locarchive.c: Include libc-mmap.h.
11241 (prepare_address_space): Take two new outputs (the mmap base and len).
11242 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11243 values.
11244 (create_archive): Declare new mmap base and len values for
11245 prepare_address_space, and store the result in ah.
11246 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11247 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11248 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11249 Declare new mmap base and len values for
11250 prepare_address_space, and store the result in new_ah.
11251 (open_archive): Declare new mmap base and len values for
11252 prepare_address_space, and store the result in ah.
11253 (close_archive): If ah->mmap_base is not NULL, use that and
11254 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11255 * sysdeps/generic/libc-mmap.h: New file.
11256
11257 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11258
11259 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11260 (ALIGN_UP): Likewise.
11261 (PTR_ALIGN_DOWN): Likewise.
11262 (PTR_ALIGN_UP): Likewise.
11263
11264 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11265
11266 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11267 entry mapped to PPC_PLATFORM_POWER8.
11268 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11269 POWER8.
11270 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11271 (_dl_string_platform): Add case for exporting platform position for
11272 POWER8.
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11274 search path to sysdeps/powerpc/powerpc32/power8 directory.
11275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11276 search path to sysdeps/powerpc/powerpc64/power8 directory.
11277 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11278 power7 directories.
11279 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11280 power7 directories.
11281
11282 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11283
11284 * INSTALL: Regenerate.
11285
11286 * nscd/connections.c (nscd_init): Fix comment.
11287
11288 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11289
11290 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11291
11292 [BZ #15667]
11293 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11294 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11295
11296 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11297
11298 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11299 DL_DST_REQ_STATIC.
11300 (DL_DST_REQ_STATIC): Remove macro.
11301
11302 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11303
11304 [BZ #7006]
11305 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11306 with a shift of 0 bits.
11307
11308 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11309
11310 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11311 $(tststatic-ENV).
11312
11313 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11314
11315 [BZ #15655]
11316 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11317
11318 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11319
11320 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11321 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11322 accepts -fno-tree-loop-distribute-patterns.
11323 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11324 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11325 recursive call.
11326 * string/memset.c (memset): Likewise.
11327 * string/test-memmove.c (simple_memmove): Disable loop transformation
11328 to library calls.
11329 * string/test-memset.c (simple_memset): Likewise.
11330 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11331 * benchtests/bench-memset.c (simple_memset): Likewise.
11332 * configure: Regenerated.
11333
11334 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11335
11336 * math/test-misc.c (main): Ignore fesetround failure when failures
11337 of subsequent rounding tests would be ignored.
11338
11339 [BZ #15654]
11340 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11341 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11342 * math/fegetenv.c (__fegetenv): Return 0.
11343 * math/fegetexcept.c (fegetexcept): Return 0.
11344 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11345 FE_TONEAREST.
11346 * math/feholdexcpt.c (feholdexcept): Return 0.
11347 * math/fesetenv.c (__fesetenv): Return 0.
11348 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11349 argument FE_TONEAREST.
11350 * math/feupdateenv.c (__feupdateenv): Return 0.
11351 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11352
11353 2013-06-18 Roland McGrath <roland@hack.frob.com>
11354
11355 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11356 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11357 ($(objpfx)rtld-%.os rules): Use them.
11358
11359 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11360
11361 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11362 fields.
11363
11364 2013-06-17 Roland McGrath <roland@hack.frob.com>
11365
11366 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11367 length of target pattern, then descending length of dependency pattern.
11368 * configure.in (AWK): Require gawk 3.1.2 or newer.
11369 * manual/install.texi (Tools for Compilation): Say that we do.
11370 * configure: Regenerated.
11371
11372 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11373 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11374 * scripts/sysd-rules.awk: ... this new script.
11375 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11376 than a glob-style pattern.
11377
11378 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11379
11380 * math/test-misc.c (main): Do not treat incorrectly rounded
11381 conversions as failure unless ROUNDING_TESTS passes.
11382
11383 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11384
11385 [BZ #15631]
11386 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11387 restore exception state around main square root computation, then
11388 check for inexactness explicitly.
11389
11390 * math/libm-test.inc (fma_test_data): Add another test.
11391
11392 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11393
11394 * manual/threads.texi (Non-POSIX Extensions): New document
11395 node. Document pthread_getattr_default_np and
11396 pthread_setattr_default_np.
11397
11398 * Versions.def (libpthread): Add GLIBC_2.18.
11399 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11401 Likewise.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11403 Likewise.
11404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11405 Likewise.
11406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11407 Likewise.
11408 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11409 Likewise.
11410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11411 Likewise.
11412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11413 Likewise.
11414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11415 Likewise.
11416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11417 Likewise.
11418
11419 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11420
11421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11422 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11423
11424 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11425 H.J. Lu <hjl.tools@gmail.com>
11426
11427 [BZ #15627]
11428 * sysdeps/x86_64/rtld-memset.c: Remove file.
11429 * sysdeps/x86_64/rtld-memset.S: New file.
11430
11431 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11432
11433 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11434 (test_in_one_mode): Take arguments for whether the rounding mode
11435 is supported for each floating-point type.
11436 (do_test): Pass new arguments to test_in_one_mode using
11437 ROUNDING_TESTS.
11438
11439 2013-06-13 Roland McGrath <roland@hack.frob.com>
11440
11441 * posix/tst-waitid.c (do_test): Distinguish different instances of
11442 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11443 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11444 before entering the kernel for waitpid.
11445
11446 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11447
11448 * NEWS: Fix note on clock function precision. Text by Roland
11449 McGrath.
11450
11451 2013-06-13 Roland McGrath <roland@hack.frob.com>
11452
11453 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11454 it into place only when and if the sanity check passes.
11455
11456 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11457
11458 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11459 output for whether conversion result is exact. Take argument
11460 indicating whether type is IBM long double.
11461 (round_for_all): Change need_exact field to ibm_ld.
11462 * stdlib/tst-strtod-round.c (struct exactness): New type.
11463 (struct test): Change bool ld_ok field to struct exactness exact.
11464 (TEST): Update all definitions for change to field.
11465 (tests): Regenerate array contents.
11466 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11467 field value. Check for IBM long double here.
11468 (do_test): Update calls to test_in_one_mode.
11469
11470 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11471
11472 [BZ #12515]
11473 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11474 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11475
11476 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11477
11478 [BZ #15605]
11479 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11480 generated by the compiler on loop optimizations.
11481 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11482 general definitions.
11483
11484 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11485
11486 * math/bug-nextafter.c: Include <math-tests.h>.
11487 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11488 the relevant type.
11489 * math/bug-nexttoward.c: Include <math-tests.h>.
11490 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11491 the relevant type.
11492 * math/test-misc.c: Include <math-tests.h>.
11493 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11494 the relevant type.
11495
11496 2013-06-12 Andreas Jaeger <aj@suse.de>
11497
11498 * po/ia.po: Update Interlingua translation from translation
11499 project.
11500
11501 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11502
11503 * include/fenv.h: Include stdbool.h.
11504 (struct rm_ctx): New structure.
11505 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11506 Define macro.
11507 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11508 (SET_RESTORE_ROUNDF): Likewise.
11509 (SET_RESTORE_ROUNDL): Likewise.
11510 (SET_RESTORE_ROUND_NOEX): Likewise.
11511 (SET_RESTORE_ROUND_NOEXF): Likewise.
11512 (SET_RESTORE_ROUND_NOEXL): Likewise.
11513 (SET_RESTORE_ROUND_53BIT): Likewise.
11514 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11515 (libc_feresetround_noexf_ctx): Likewise.
11516 (libc_feresetround_noexl_ctx): Likewise.
11517 (libc_feholdsetround_53bit_ctx): Likewise.
11518 (libc_feresetround_53bit_ctx): Likewise.
11519 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11520 (libc_feholdexcept_setround_sse_ctx): New function.
11521 (libc_fesetenv_sse_ctx): Likewise.
11522 (libc_feupdateenv_sse_ctx): Likewise.
11523 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11524 (libc_feholdexcept_setround_387_ctx): Likewise.
11525 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11526 (libc_feholdsetround_387_prec_ctx): Likewise.
11527 (libc_feholdsetround_387_ctx): Likewise.
11528 (libc_feholdsetround_387_53bit_ctx): Likewise.
11529 (libc_feholdsetround_sse_ctx): Likewise.
11530 (libc_feresetround_sse_ctx): Likewise.
11531 (libc_feresetround_387_ctx): Likewise.
11532 (libc_feupdateenv_387_ctx): Likewise.
11533 (libc_feholdexcept_setroundf_ctx): Define macro.
11534 (libc_fesetenvf_ctx): Likewise.
11535 (libc_feupdateenvf_ctx): Likewise.
11536 (libc_feholdsetroundf_ctx): Likewise.
11537 (libc_feresetroundf_ctx): Likewise.
11538 (libc_feholdexcept_setround_ctx): Likewise.
11539 (libc_fesetenv_ctx): Likewise.
11540 (libc_feupdateenv_ctx): Likewise.
11541 (libc_feholdsetround_ctx): Likewise.
11542 (libc_feresetround_ctx): Likewise.
11543 (libc_feholdexcept_setroundl_ctx): Likewise.
11544 (libc_feupdateenvl_ctx): Likewise.
11545 (libc_feholdsetroundl_ctx): Likewise.
11546 (libc_feresetroundl_ctx): Likewise.
11547 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11548 (libc_feresetround_53bit_ctx): Likewise.
11549
11550 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11551
11552 * locale/iso-639.def: Convert to UTF-8.
11553
11554 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11555
11556 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11557 (EXCEPTION_TESTS_double): Likewise.
11558 (EXCEPTION_TESTS_long_double): Likewise.
11559 (EXCEPTION_TESTS): Likewise.
11560 * math/libm-test.inc (test_exceptions): Only test exceptions if
11561 EXCEPTION_TESTS (FLOAT).
11562
11563 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11564
11565 * benchtests/Makefile (string-bench): Add strcpy_chk and
11566 stpcpy_chk.
11567 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11568 * benchtests/bench-stpcpy_chk.c: New file.
11569 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11570 * benchtests/bench-strcpy_chk.c: New file.
11571 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11572 code.
11573 (do_test): Likewise.
11574
11575 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11576
11577 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11578 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11579 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11580 with tabs where appropriate.
11581 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11582 dl-procinfo.h.
11583 [PPC_PLATFORM_PPC440]: Likewise.
11584 [PPC_PLATFORM_PPC464]: Likewise.
11585 [PPC_PLATFORM_PPC476]: Likewise.
11586 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11587 ppc464, and ppc476 platform strings merging from ports/
11588 dl-procinfo.h.
11589
11590 2013-06-11 Andreas Schwab <schwab@suse.de>
11591
11592 [BZ #14991]
11593 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11594 (from_ucs4_idx): Regenerate.
11595 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11596 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11597 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11598 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11599 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11600 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11601 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11602 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11603 from FROM_LOOP and TO_LOOP specific macros.
11604 (BODY): Handle combining characters.
11605 * iconvdata/BIG5HKSCS.irreversible: Update.
11606 * iconvdata/BIG5HKSCS.precomposed: New file.
11607 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11608 characters.
11609 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11610
11611 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11612
11613 * include/sys/time.h: Fix indentation and add copyright header.
11614
11615 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11616 (do_test): Likewise.
11617 * string/test-memchr.c (do_one_test): Likewise.
11618 (do_test): Likewise.
11619 * string/test-memcmp.c (do_one_test): Likewise.
11620 (do_test): Likewise.
11621 * string/test-memcpy.c (do_one_test): Likewise.
11622 (do_test): Likewise.
11623 * string/test-memmem.c (do_one_test): Likewise.
11624 (do_test): Likewise.
11625 (do_random_tests): Likewise.
11626 * string/test-memmove.c (do_one_test): Likewise.
11627 (do_test): Likewise.
11628 * string/test-memset.c (do_one_test): Likewise.
11629 (do_test): Likewise.
11630 * string/test-rawmemchr.c (do_one_test): Likewise.
11631 (do_test): Likewise.
11632 * string/test-strcasecmp.c (do_one_test): Likewise.
11633 (do_test): Likewise.
11634 * string/test-strcasestr.c (do_one_test): Likewise.
11635 (do_test): Likewise.
11636 * string/test-strcat.c (do_one_test): Likewise.
11637 (do_test): Likewise.
11638 * string/test-strchr.c (do_one_test): Likewise.
11639 (do_test): Likewise.
11640 * string/test-strcmp.c (do_one_test): Likewise.
11641 (do_test): Likewise.
11642 * string/test-strcpy.c (do_one_test): Likewise.
11643 (do_test): Likewise.
11644 * string/test-string.h: Likewise.
11645 (test_init): Likewise.
11646 * string/test-strlen.c (do_one_test): Likewise.
11647 (do_test): Likewise.
11648 * string/test-strncasecmp.c (do_one_test): Likewise.
11649 (do_test): Likewise.
11650 * string/test-strncat.c (do_one_test): Likewise.
11651 (do_test): Likewise.
11652 * string/test-strncmp.c (do_one_test): Likewise.
11653 (do_test_limit): Likewise.
11654 (do_test): Likewise.
11655 * string/test-strncpy.c (do_one_test): Likewise.
11656 (do_test): Likewise.
11657 * string/test-strnlen.c (do_one_test): Likewise.
11658 (do_test): Likewise.
11659 * string/test-strpbrk.c (do_one_test): Likewise.
11660 (do_test): Likewise.
11661 * string/test-strrchr.c (do_one_test): Likewise.
11662 (do_test): Likewise.
11663 * string/test-strspn.c (do_one_test): Likewise.
11664 (do_test): Likewise.
11665 * string/test-strstr.c (do_one_test): Likewise.
11666 (do_test): Likewise.
11667
11668 * benchtests/Makefile (string-bench): Add string benchmarks.
11669 * benchtests/bench-bcopy-ifunc.c: New file.
11670 * benchtests/bench-bcopy.c: New file.
11671 * benchtests/bench-bzero-ifunc.c: New file.
11672 * benchtests/bench-bzero.c: New file.
11673 * benchtests/bench-memccpy-ifunc.c: New file.
11674 * benchtests/bench-memccpy.c: New file.
11675 * benchtests/bench-memchr-ifunc.c: New file.
11676 * benchtests/bench-memchr.c: New file.
11677 * benchtests/bench-memcmp-ifunc.c: New file.
11678 * benchtests/bench-memcmp.c: New file.
11679 * benchtests/bench-memmem-ifunc.c: New file.
11680 * benchtests/bench-memmem.c: New file.
11681 * benchtests/bench-memmove-ifunc.c: New file.
11682 * benchtests/bench-memmove.c: New file.
11683 * benchtests/bench-mempcpy-ifunc.c: New file.
11684 * benchtests/bench-mempcpy.c: New file.
11685 * benchtests/bench-memset-ifunc.c: New file.
11686 * benchtests/bench-memset.c: New file.
11687 * benchtests/bench-rawmemchr-ifunc.c: New file.
11688 * benchtests/bench-rawmemchr.c: New file.
11689 * benchtests/bench-stpcpy-ifunc.c: New file.
11690 * benchtests/bench-stpcpy.c: New file.
11691 * benchtests/bench-stpncpy-ifunc.c: New file.
11692 * benchtests/bench-stpncpy.c: New file.
11693 * benchtests/bench-strcasecmp-ifunc.c: New file.
11694 * benchtests/bench-strcasecmp.c: New file.
11695 * benchtests/bench-strcasestr-ifunc.c: New file.
11696 * benchtests/bench-strcasestr.c: New file.
11697 * benchtests/bench-strcat-ifunc.c: New file.
11698 * benchtests/bench-strcat.c: New file.
11699 * benchtests/bench-strchr-ifunc.c: New file.
11700 * benchtests/bench-strchr.c: New file.
11701 * benchtests/bench-strchrnul-ifunc.c: New file.
11702 * benchtests/bench-strchrnul.c: New file.
11703 * benchtests/bench-strcmp-ifunc.c: New file.
11704 * benchtests/bench-strcmp.c: New file.
11705 * benchtests/bench-strcpy-ifunc.c: New file.
11706 * benchtests/bench-strcpy.c: New file.
11707 * benchtests/bench-strcspn-ifunc.c: New file.
11708 * benchtests/bench-strcspn.c: New file.
11709 * benchtests/bench-strlen-ifunc.c: New file.
11710 * benchtests/bench-strlen.c: New file.
11711 * benchtests/bench-strncasecmp-ifunc.c: New file.
11712 * benchtests/bench-strncasecmp.c: New file.
11713 * benchtests/bench-strncat-ifunc.c: New file.
11714 * benchtests/bench-strncat.c: New file.
11715 * benchtests/bench-strncmp-ifunc.c: New file.
11716 * benchtests/bench-strncmp.c: New file.
11717 * benchtests/bench-strncpy-ifunc.c: New file.
11718 * benchtests/bench-strncpy.c: New file.
11719 * benchtests/bench-strnlen-ifunc.c: New file.
11720 * benchtests/bench-strnlen.c: New file.
11721 * benchtests/bench-strpbrk-ifunc.c: New file.
11722 * benchtests/bench-strpbrk.c: New file.
11723 * benchtests/bench-strrchr-ifunc.c: New file.
11724 * benchtests/bench-strrchr.c: New file.
11725 * benchtests/bench-strspn-ifunc.c: New file.
11726 * benchtests/bench-strspn.c: New file.
11727 * benchtests/bench-strstr-ifunc.c: New file.
11728 * benchtests/bench-strstr.c: New file.
11729
11730 * benchtests/Makefile: Disable parallel execution of targets.
11731 (string-bench): Add memcpy.
11732 (benchset): New variable to store a list of benchmark sets.
11733 (bench-func): Renamed from bench.
11734 (bench-set): New target.
11735 (bench): Depend on bench-func and bench-set.
11736 * benchtests/README: Add section on benchmark sets.
11737 * benchtests/bench-memcpy-ifunc.c: New file.
11738 * benchtests/bench-memcpy.c: New file.
11739 * benchtests/bench-string.h: New file.
11740
11741 2013-06-11 Andreas Schwab <schwab@suse.de>
11742
11743 [BZ #15577]
11744 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11745 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11746 values in the triple.
11747 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11748 terminator in the group key.
11749
11750 2013-06-11 Andreas Jaeger <aj@suse.de>
11751
11752 * po/zh_TW.po: Update Chinese (traditional) translation from
11753 translation project.
11754
11755 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11756
11757 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11758 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11759 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11760 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11761 (clock_getcpuclockid): Likewise.
11762 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11763 Add weak_alias and libc_hidden_def.
11764 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11765 * rt/clock_gettime.c (clock_gettime): Rename to
11766 __clock_gettime. Add weak_alias and libc_hidden_def.
11767 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11768 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11769 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11770 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11771 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11772 Likewise.
11773 * rt/clock_settime.c (clock_settime): Rename to
11774 __clock_settime. Add weak_alias and libc_hidden_def.
11775 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11776
11777 2013-06-10 Joseph Myers <joseph@codesourcery.com>
11778
11779 * mach/err_boot.sub: Remove trailing whitespace.
11780 * mach/err_ipc.sub: Likewise.
11781 * mach/err_mach.sub: Likewise.
11782
11783 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11784 (ROUNDING_TESTS_double): Likewise.
11785 (ROUNDING_TESTS_long_double): Likewise.
11786 (ROUNDING_TESTS): Likewise.
11787 * math/libm-test.inc: Include <math-tests.h>.
11788 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11789 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11790 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11791 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11792
11793 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11794
11795 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11796 of assigning.
11797
11798 2013-06-08 Joseph Myers <joseph@codesourcery.com>
11799
11800 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11801 otherwise empty TRANS lines.
11802 * sysdeps/gnu/errlist.c: Regenerated.
11803
11804 * catgets/gencat.c (error_print): Use (void) in function
11805 definition.
11806 * crypt/crypt_util.c (__init_des): Likewise.
11807 * crypt/speeds.c (Stop): Likewise.
11808 (main): Likewise.
11809 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11810 * inet/ruserpass.c (token): Likewise.
11811 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11812 * intl/localealias.c (extend_alias_table): Likewise.
11813 * intl/plural-exp.c (init_germanic_plural): Likewise.
11814 * libio/fcloseall.c (__fcloseall): Likewise.
11815 * libio/genops.c (_IO_flush_all): Likewise.
11816 (_IO_flush_all_linebuffered): Likewise.
11817 (_IO_cleanup): Likewise.
11818 (_IO_iter_begin): Likewise.
11819 (_IO_iter_end): Likewise.
11820 (_IO_list_lock): Likewise.
11821 (_IO_list_unlock): Likewise.
11822 (_IO_list_resetlock): Likewise.
11823 * libio/getchar.c (getchar): Likewise.
11824 * libio/getchar_u.c (getchar_unlocked): Likewise.
11825 * libio/getwchar.c (getwchar): Likewise.
11826 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11827 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11828 * login/getpt.c (__getpt): Likewise.
11829 * login/tst-utmp.c (main): Likewise.
11830 * malloc/hooks.c (__malloc_check_init): Likewise.
11831 * malloc/malloc.c (__malloc_stats): Likewise.
11832 * malloc/mtrace.c (tr_break): Likewise.
11833 (mtrace): Likewise.
11834 (muntrace): Likewise.
11835 * misc/fstab.c (endfsent): Likewise.
11836 * misc/getclktck.c (__getclktck): Likewise.
11837 * misc/getdtsz.c (__getdtablesize): Likewise.
11838 * misc/gethostid.c (gethostid): Likewise.
11839 * misc/getpagesize.c (__getpagesize): Likewise.
11840 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11841 (__get_nprocs): Likewise.
11842 (__get_phys_pages): Likewise.
11843 (__get_avphys_pages): Likewise.
11844 * misc/getttyent.c (getttyent): Likewise.
11845 (setttyent): Likewise.
11846 (endttyent): Likewise.
11847 * misc/getusershell.c (getusershell): Likewise.
11848 (endusershell): Likewise.
11849 (setusershell): Likewise.
11850 (initshells): Likewise.
11851 * misc/hsearch.c (__hdestroy): Likewise.
11852 * misc/sync.c (sync): Likewise.
11853 * misc/syslog.c (closelog_internal): Likewise.
11854 (closelog): Likewise.
11855 * misc/ttyslot.c (ttyslot): Likewise.
11856 * misc/vhangup.c (vhangup): Likewise.
11857 * posix/fork.c (__fork): Likewise.
11858 * posix/getegid.c (__getegid): Likewise.
11859 * posix/geteuid.c (__geteuid): Likewise.
11860 * posix/getgid.c (__getgid): Likewise.
11861 * posix/getpid.c (__getpid): Likewise.
11862 * posix/getppid.c (__getppid): Likewise.
11863 * posix/getuid.c (__getuid): Likewise.
11864 * posix/pause.c (pause): Likewise.
11865 * posix/setpgrp.c (setpgrp): Likewise.
11866 * posix/setsid.c (__setsid): Likewise.
11867 * posix/test-vfork.c (noop): Likewise.
11868 * resolv/gethnamaddr.c (_endhtent): Likewise.
11869 (_gethtent): Likewise.
11870 (ht_endhostent): Likewise.
11871 (gethostent): Likewise.
11872 (dns_service): Likewise.
11873 * stdlib/drand48.c (drand48): Likewise.
11874 * stdlib/lrand48.c (lrand48): Likewise.
11875 * stdlib/mrand48.c (mrand48): Likewise.
11876 * stdlib/rand.c (rand): Likewise.
11877 * stdlib/random.c (__random): Likewise.
11878 * stdlib/setenv.c (clearenv): Likewise.
11879 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11880 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11881 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11882 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11883 (__get_nprocs): Likewise.
11884 (__get_phys_pages): Likewise.
11885 (__get_avphys_pages): Likewise.
11886 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11887 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11888 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11889 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11890 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11891 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11892 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11893 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11894 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11895 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11896 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11897 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11898 * sysdeps/posix/clock.c (clock): Likewise.
11899 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11900 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11901 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11902 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11903 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11905 (__get_nprocs_conf): Likewise.
11906 (__get_phys_pages): Likewise.
11907 (__get_avphys_pages): Likewise.
11908 * time/clock.c (clock): Likewise.
11909 * time/tzset.c (__tzname_max): Likewise.
11910
11911 2013-06-07 Joseph Myers <joseph@codesourcery.com>
11912
11913 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11914 (__bswap_32): Do not use "register".
11915 * crypt/crypt.c (_ufc_doit_r): Likewise.
11916 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11917 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11918 * gmon/gmon.c (__monstartup): Likewise.
11919 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11920 * hurd/hurdmalloc.c (more_memory): Likewise.
11921 (malloc): Likewise.
11922 (free): Likewise.
11923 (realloc): Likewise.
11924 (malloc_fork_prepare): Likewise.
11925 (malloc_fork_parent): Likewise.
11926 (malloc_fork_child): Likewise.
11927 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11928 (_svcauth_des): Likewise.
11929 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11930 * inet/inet_net.c (inet_network): Likewise.
11931 * inet/inet_netof.c (inet_netof): Likewise.
11932 * inet/rcmd.c (__validuser2_sa): Likewise.
11933 * io/fts.c (fts_open): Likewise.
11934 (fts_load): Likewise.
11935 (fts_close): Likewise.
11936 (fts_read): Likewise.
11937 (fts_children): Likewise.
11938 (fts_build): Likewise.
11939 (fts_stat): Likewise.
11940 (fts_sort): Likewise.
11941 (fts_alloc): Likewise.
11942 (fts_lfree): Likewise.
11943 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11944 (_IO_file_xsgetn): Likewise.
11945 (_IO_file_xsgetn_mmap): Likewise.
11946 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11947 (_IO_cookie_write): Likewise.
11948 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11949 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11950 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11951 * malloc/obstack.c (_obstack_begin): Likewise.
11952 (_obstack_begin_1): Likewise.
11953 (_obstack_newchunk): Likewise.
11954 (_obstack_allocated_p): Likewise.
11955 (obstack_free): Likewise.
11956 (_obstack_memory_used): Likewise.
11957 * misc/getttyent.c (getttynam): Likewise.
11958 (getttyent): Likewise.
11959 (skip): Likewise.
11960 (value): Likewise.
11961 * misc/getusershell.c (initshells): Likewise.
11962 * misc/syslog.c (__vsyslog_chk): Likewise.
11963 * misc/ttyslot.c (ttyslot): Likewise.
11964 * nis/nis_hash.c (__nis_hash): Likewise.
11965 * posix/fnmatch_loop.c (FCT): Likewise.
11966 * posix/getconf.c (print_all): Likewise.
11967 (main): Likewise.
11968 * posix/getopt.c (exchange): Likewise.
11969 * posix/glob.c (globfree): Likewise.
11970 (prefix_array): Likewise.
11971 (__glob_pattern_type): Likewise.
11972 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11973 (NS_GET32): Likewise.
11974 (NS_PUT16): Likewise.
11975 (NS_PUT32): Likewise.
11976 * resolv/gethnamaddr.c (getanswer): Likewise.
11977 (gethostbyname2): Likewise.
11978 (gethostbyaddr): Likewise.
11979 (_gethtent): Likewise.
11980 (_gethtbyname2): Likewise.
11981 (_gethtbyaddr): Likewise.
11982 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11983 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11984 * resolv/res_init.c (__res_vinit): Likewise.
11985 (net_mask): Likewise.
11986 * resolv/res_mkquery.c (outchar): Likewise.
11987 (PRINT): Likewise.
11988 * stdio-common/printf_fp.c (outchar): Likewise.
11989 (PRINT): Likewise.
11990 * stdio-common/printf_fphex.c (outchar): Likewise.
11991 (PRINT): Likewise.
11992 * stdio-common/printf_size.c (outchar): Likewise.
11993 (PRINT): Likewise.
11994 * stdio-common/test_rdwr.c (main): Likewise.
11995 * stdio-common/tfformat.c (matches): Likewise.
11996 * stdio-common/vfprintf.c (outchar): Likewise.
11997 (printf_unknown): Likewise.
11998 (buffered_vfprintf): Likewise.
11999 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12000 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12001 (ReadFile): Likewise.
12002 * stdlib/qsort.c (SWAP): Likewise.
12003 (_quicksort): Likewise.
12004 * stdlib/setenv.c (__add_to_environ): Likewise.
12005 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12006 * stdlib/strtol_l.c (__strtol_l): Likewise.
12007 * stdlib/tst-strtod.c (main): Likewise.
12008 * stdlib/tst-strtol.c (main): Likewise.
12009 * stdlib/tst-strtoll.c (main): Likewise.
12010 * string/bits/string2.h (__strcmp_cc): Likewise.
12011 (__strcmp_cg): Likewise.
12012 (__strcspn_c1): Likewise.
12013 (__strcspn_c2): Likewise.
12014 (__strcspn_c3): Likewise.
12015 (__strspn_c1): Likewise.
12016 (__strspn_c2): Likewise.
12017 (__strspn_c3): Likewise.
12018 (__strsep_1c): Likewise.
12019 (__strsep_2c): Likewise.
12020 (__strsep_3c): Likewise.
12021 * string/memccpy.c (__memccpy): Likewise.
12022 * string/stpcpy.c (__stpcpy): Likewise.
12023 * string/strcmp.c (strcmp): Likewise.
12024 * string/strrchr.c (strrchr): Likewise.
12025 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12026 Likewise.
12027 * sysdeps/mach/hurd/getcwd.c
12028 (_hurd_canonicalize_directory_name_internal): Likewise.
12029 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12030 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12031 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12032 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12033 Likewise, in both definitions.
12034 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12035 definitions.
12036 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12037 64] (__bswap_64): Likewise.
12038 * time/test_time.c (main): Likewise.
12039 * time/tzfile.c (__tzfile_read): Likewise.
12040 (__tzfile_compute): Likewise.
12041 * time/tzset.c (__tzset_parse_tz): Likewise.
12042 (tzset_internal): Likewise.
12043 (compute_change): Likewise.
12044 * wcsmbs/wcscat.c (__wcscat): Likewise.
12045 * wcsmbs/wcschr.c (wcschr): Likewise.
12046 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12047 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12048 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12049 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12050 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12051 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12052 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12053 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12054 * wcsmbs/wmemset.c (wmemset): Likewise.
12055
12056 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12057
12058 * scripts/config.guess: Update to version 2013-05-16.
12059 * scripts/config.sub: Update to version 2013-04-24.
12060 * scripts/install-sh: Update to version 2011-11-20.07.
12061 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12062 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12063
12064 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12065
12066 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12067 * elf/sln.c: Likewise.
12068 * hurd/hurd/ioctl.h: Likewise.
12069 * hurd/hurdmalloc.c: Likewise.
12070 * hurd/xattr.c: Likewise.
12071 * include/shlib-compat.h: Likewise.
12072 * inet/ruserpass.c: Likewise.
12073 * libio/iofgets_u.c: Likewise.
12074 * libio/iofgetws_u.c: Likewise.
12075 * locale/programs/ld-identification.c: Likewise.
12076 * locale/programs/ld-time.c: Likewise.
12077 * mach/msg-destroy.c: Likewise.
12078 * nss/nss_files/files-netgrp.c: Likewise.
12079 * resolv/res_data.c: Likewise.
12080 * soft-fp/op-1.h: Likewise.
12081 * soft-fp/op-2.h: Likewise.
12082 * soft-fp/op-4.h: Likewise.
12083 * soft-fp/op-common.h: Likewise.
12084 * stdio-common/printf_fphex.c: Likewise.
12085 * stdlib/strtod_l.c: Likewise.
12086 * sunrpc/rpc/clnt.h: Likewise.
12087 * sysdeps/generic/framestate.c: Likewise.
12088 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12089 * sysdeps/i386/bsd-setjmp.S: Likewise.
12090 * sysdeps/i386/__longjmp.S: Likewise.
12091 * sysdeps/i386/setjmp.S: Likewise.
12092 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12093 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12094 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12095 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12096 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12097 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12098 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12101 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12102 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12103 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12104 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12105 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12106 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12107 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12108 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12109 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12110 * sysdeps/ieee754/support.c: Likewise.
12111 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12112 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12113 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12114 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12115 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12116 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12117 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12118 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12119 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12120 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12121 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12122 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12123 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12124 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12125 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12126 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12127 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12129
12130 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12131
12132 * posix/transbug.c: Remove executable mode.
12133
12134 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12135
12136 * crypt/speeds.c: Remove trailing whitespace.
12137 * dlfcn/default.c: Likewise.
12138 * elf/ifuncdep2.c: Likewise.
12139 * elf/ifuncmain1.c: Likewise.
12140 * elf/ifuncmain1vis.c: Likewise.
12141 * elf/testobj.h: Likewise.
12142 * elf/tst-stackguard1.c: Likewise.
12143 * gmon/sys/gmon.h: Likewise.
12144 * hurd/hurdmsg.c: Likewise.
12145 * hurd/new-fd.c: Likewise.
12146 * hurd/ports-get.c: Likewise.
12147 * iconvdata/ibm1008_420.c: Likewise.
12148 * inet/tst-getni1.c: Likewise.
12149 * inet/tst-getni2.c: Likewise.
12150 * libio/ioungetc.c: Likewise.
12151 * libio/wfiledoalloc.c: Likewise.
12152 * manual/libm-err-tab.pl: Likewise.
12153 * math/w_dremf.c: Likewise.
12154 * misc/ftruncate.c: Likewise.
12155 * posix/bug-glob2.c: Likewise.
12156 * posix/tst-pcre.c: Likewise.
12157 * posix/wait4.c: Likewise.
12158 * resolv/README: Likewise.
12159 * resolv/res_debug.h: Likewise.
12160 * resolv/tst-inet_ntop.c: Likewise.
12161 * setjmp/bug269-setjmp.c: Likewise.
12162 * soft-fp/extended.h: Likewise.
12163 * soft-fp/op-1.h: Likewise.
12164 * soft-fp/op-2.h: Likewise.
12165 * soft-fp/op-4.h: Likewise.
12166 * soft-fp/op-8.h: Likewise.
12167 * soft-fp/testit.c: Likewise.
12168 * stdio-common/bug16.c: Likewise.
12169 * stdlib/random.c: Likewise.
12170 * sunrpc/rpcsvc/rquota.x: Likewise.
12171 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12172 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12173 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12174 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12175 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12176 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12177 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12178 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12179 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12180 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12181 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12182 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12185 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12186 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12189 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12190 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12193 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12194 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12197 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12198 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12200 * sysdeps/ieee754/s_lib_version.c: Likewise.
12201 * sysdeps/mach/hurd/check_fds.c: Likewise.
12202 * sysdeps/mach/hurd/getsockname.c: Likewise.
12203 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12204 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12205 * sysdeps/powerpc/bits/link.h: Likewise.
12206 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12207 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12208 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12209 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12210 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12211 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12212 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12213 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12214 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12215 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12216 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12217 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12218 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12219 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12220 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12221 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12222 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12223 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12224 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12225 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12226 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12227 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12228 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12229 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12230 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12231 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12232 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12233 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12234 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12235 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12236 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12237 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12238 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12239 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12240 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12241 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12242 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12243 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12244 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12245 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12246 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12247 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12248 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12249 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12250 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12251 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12252 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12253 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12254 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12255 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12257 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12258 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12259 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12260 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12261 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12262 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12263 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12264 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12265 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12266 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12267 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12268 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12269 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12270 * sysdeps/powerpc/sysdep.h: Likewise.
12271 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12272 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12273 * sysdeps/sh/dl-trampoline.S: Likewise.
12274 * sysdeps/sh/memset.S: Likewise.
12275 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12276 * sysdeps/sh/strlen.S: Likewise.
12277 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12278 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12279 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12280 * sysdeps/sparc/sparc32/rem.S: Likewise.
12281 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12282 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12283 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12284 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12285 * sysdeps/sparc/sparc32/urem.S: Likewise.
12286 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12287 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12288 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12289 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12290 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12291 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12292 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12293 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12294 * sysdeps/unix/bsd/times.c: Likewise.
12295 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12296 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12300 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12301 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12302 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12303 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12304 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12305 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12306 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12307 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12308 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12309 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12310 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12311 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12312 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12313 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12314 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12315 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12316 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12317 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12318 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12319 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12320 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12321 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12322 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12323 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12324 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12325 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12326 * sysdeps/x86_64/strcspn.S: Likewise.
12327
12328 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12329
12330 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12331 generated file. Regenerate properly from gen-translit.pl.
12332 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12333 locale/C-translit.h.
12334
12335 2013-06-05 Andreas Schwab <schwab@suse.de>
12336
12337 [BZ #15100]
12338 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12339 week as 6 instead of -1.
12340 * time/tst-strptime.c (day_tests): Add test case.
12341
12342 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12343
12344 * sysdeps/generic/math_private.h
12345 (libc_feholdexcept_setround_53bit): Replace with
12346 libc_feholdsetround_53bit.
12347 (libc_feupdateenv_53bit): Replace with
12348 libc_feresetround_53bit.
12349 (SET_RESTORE_ROUND_53BIT): Adjust.
12350
12351 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12352
12353 * string/test-strchrnul.c: Add copyright header.
12354
12355 * posix/tst-getaddrinfo4.c: Increase test timeout.
12356
12357 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12358
12359 [BZ #15536]
12360 * math/libm-test.inc (MAX_EXP): Remove
12361 (MIN_EXP): Define.
12362 (ulp): Use MIN_EXP - MANT_DIG.
12363 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12364
12365 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12366
12367 * po/be.po: Revert last change.
12368 * po/zh_CN.po: Likewise.
12369 * po/header.pot: Likewise.
12370
12371 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12372
12373 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12374 link-libc-deps to empty as target-specific variable.
12375 * Makerules (link-libc-args): New variable.
12376 (libc-for-link): Likewise.
12377 (link-libc-deps): Likewise.
12378 (lib%.so): Depend on $(link-libc-deps). Link with
12379 $(link-libc-args).
12380 (build-module): Link with $(link-libc-args).
12381 (build-module-asneeded): Likewise.
12382 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12383 list of objects.
12384 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12385 target-specific variable.
12386 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12387 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12388 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12389 libc.
12390 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12391 libc and ld.so.
12392 ($(objpfx)libpcprofile.so): Likewise.
12393 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12394 libc_nonshared.a.
12395 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12396 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12397 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12398 $(link-libc-deps).
12399 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12400 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12401 * login/Makefile ($(objpfx)libutil.so): Likewise.
12402 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12403 * math/Makefile ($(objpfx)libm.so): Likewise.
12404 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12405 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12406 variable instead of depending directly on libc.
12407 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12408 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12409 $(link-libc-deps).
12410 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12411 libc.
12412 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12413 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12414 ($(objpfx)libanl.so): Likewise.
12415 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12416 ld.so.
12417 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12418 $(link-libc-deps).
12419 * sysdeps/i386/fpu/Makefile: Remove file.
12420 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12421 ($(objpfx)libm.so): Remove dependency on ld.so.
12422
12423 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12424
12425 [BZ # 15553]
12426 * nis/yp_xdr.c (XDRMAXNAME): Define.
12427 (XDRMAXRECORD): Define.
12428 (xdr_domainname): Use XDRMAXNAME.
12429 (xdr_mapname): Likewise.
12430 (xdr_peername): Likewise.
12431 (xdr_keydat): Use XDRMAXRECORD.
12432 (xdr_valdat): Likewise.
12433
12434 2013-05-30 Jeff Law <law@redhat.com>
12435
12436 [BZ #14256]
12437 * manual/errno.texi (ESTALE): Update to account for more than
12438 just NFS file systems.
12439 * sysdeps/gnu/errlist.c: Regenerated.
12440
12441 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12442
12443 [BZ #15465]
12444 * elf/Makefile (tests): Add tst-null-argv.
12445 (modules-names): Add tst-null-argv-lib.
12446 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12447 (tst-null-argv-ENV): Set environment for tst-null-argv.
12448 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12449 (RTLD_PROGNAME): New macro.
12450 * elf/tst-null-argv.c: New test case.
12451 * elf/tst-null-argv-lib.c: Library for test case.
12452 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12453 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12454 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12455 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12456 * elf/dl-init.c (call_init): Likewise.
12457 (_dl_init): Likewise.
12458 * elf/dl-load.c (print_search_path): Likewise.
12459 (_dl_map_object): Likewise.
12460 * elf/dl-lookup.c (do_lookup_x): Likewise.
12461 (add_dependency): Likewise.
12462 (_dl_lookup_symbol_x): Likewise.
12463 (_dl_debug_bindings): Likewise.
12464 * elf/dl-open.c (_dl_show_scope): Likewise.
12465 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12466 * elf/dl-version.c (match_symbol): Likewise.
12467 (_dl_check_map_versions): Likewise.
12468 * elf/rtld.c (dl_main): Likewise.
12469 (print_unresolved): Use RTLD_PROGNAME.
12470 (print_missing_version): Likewise.
12471 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12472 (elf_machine_rela): Likewise.
12473 * sysdeps/powerpc/powerpc32/dl-machine.c
12474 (__process_machine_rela): Likewise.
12475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12476 Likewise.
12477 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12478 Likewise.
12479 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12480 Likewise.
12481 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12483 Likewise.
12484 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12485 Likewise.
12486 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12487
12488 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12489
12490 * po/be.po: Add descriptive title.
12491 * po/zh_CN.po: Likewise.
12492 * po/header.pot: Likewise.
12493
12494 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12495
12496 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12497 error message.
12498 (enlarge_archive): Likewise.
12499
12500 2013-05-28 Ben North <ben@redfrontdoor.org>
12501
12502 * manual/arith.texi (frexp): It is the magnitude of the return
12503 value which lies in [0.5, 1), not the return value itself.
12504
12505 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12506
12507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12508
12509 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12510
12511 * stdio-common/bug26.c (main): Correct fscanf template.
12512
12513 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12514 declare _dl_skip_args.
12515
12516 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12517 Don't declare.
12518
12519 * manual/platform.texi: Add missing @end deftypefun.
12520
12521 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12522
12523 [BZ #15529]
12524 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12525 bit of mantissa of 2^16382.
12526 * math/libm-test.inc (hypot_test_data): Add more tests.
12527
12528 * math/libm-test.inc: Add drem and pow10 to list of tested
12529 functions.
12530 (pow10_test): New function.
12531 (drem_test): Likewise.
12532 (drem_test_tonearest): Likewise.
12533 (drem_test_towardzero): Likewise.
12534 (drem_test_downward): Likewise.
12535 (drem_test_upward): Likewise.
12536 (main): Call the new functions.
12537
12538 * math/libm-test.inc (finite_test_data): Remove.
12539 (finite_test): Run tests from isfinite_test_data.
12540 (gamma_test_data): Remove.
12541 (gamma_test): Run tests from lgamma_test_data.
12542 * sysdeps/i386/fpu/libm-test-ulps: Update.
12543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12544
12545 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12546
12547 * manual/platform.texi: Add PowerPC PPR function set documentation.
12548 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12549 implementation.
12550
12551 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12552
12553 * math/libm-test.inc (MAX_EXP): Define.
12554 (ULPDIFF): Define.
12555 (ulp): New function.
12556 (check_float_internal): Use ULPDIFF.
12557 (cpow_test): Disable failing test.
12558 (check_ulp): Test ulp() implemetnation.
12559 (main): Call check_ulp before starting tests.
12560
12561 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12562
12563 * math/gen-libm-test.pl (generate_testfile): Do not handle
12564 START_DATA and END_DATA.
12565 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12566 END_DATA.
12567 (acos_tonearest_test_data): Likewise.
12568 (acos_towardzero_test_data): Likewise.
12569 (acos_downward_test_data): Likewise.
12570 (acos_upward_test_data): Likewise.
12571 (acosh_test_data): Likewise.
12572 (asin_test_data): Likewise.
12573 (asin_tonearest_test_data): Likewise.
12574 (asin_towardzero_test_data): Likewise.
12575 (asin_downward_test_data): Likewise.
12576 (asin_upward_test_data): Likewise.
12577 (asinh_test_data): Likewise.
12578 (atan_test_data): Likewise.
12579 (atanh_test_data): Likewise.
12580 (atan2_test_data): Likewise.
12581 (cabs_test_data): Likewise.
12582 (cacos_test_data): Likewise.
12583 (cacosh_test_data): Likewise.
12584 (carg_test_data): Likewise.
12585 (casin_test_data): Likewise.
12586 (casinh_test_data): Likewise.
12587 (catan_test_data): Likewise.
12588 (catanh_test_data): Likewise.
12589 (cbrt_test_data): Likewise.
12590 (ccos_test_data): Likewise.
12591 (ccosh_test_data): Likewise.
12592 (ceil_test_data): Likewise.
12593 (cexp_test_data): Likewise.
12594 (cimag_test_data): Likewise.
12595 (clog_test_data): Likewise.
12596 (clog10_test_data): Likewise.
12597 (conj_test_data): Likewise.
12598 (copysign_test_data): Likewise.
12599 (cos_test_data): Likewise.
12600 (cos_tonearest_test_data): Likewise.
12601 (cos_towardzero_test_data): Likewise.
12602 (cos_downward_test_data): Likewise.
12603 (cos_upward_test_data): Likewise.
12604 (cosh_test_data): Likewise.
12605 (cosh_tonearest_test_data): Likewise.
12606 (cosh_towardzero_test_data): Likewise.
12607 (cosh_downward_test_data): Likewise.
12608 (cosh_upward_test_data): Likewise.
12609 (cpow_test_data): Likewise.
12610 (cproj_test_data): Likewise.
12611 (creal_test_data): Likewise.
12612 (csin_test_data): Likewise.
12613 (csinh_test_data): Likewise.
12614 (csqrt_test_data): Likewise.
12615 (ctan_test_data): Likewise.
12616 (ctan_tonearest_test_data): Likewise.
12617 (ctan_towardzero_test_data): Likewise.
12618 (ctan_downward_test_data): Likewise.
12619 (ctan_upward_test_data): Likewise.
12620 (ctanh_test_data): Likewise.
12621 (ctanh_tonearest_test_data): Likewise.
12622 (ctanh_towardzero_test_data): Likewise.
12623 (ctanh_downward_test_data): Likewise.
12624 (ctanh_upward_test_data): Likewise.
12625 (erf_test_data): Likewise.
12626 (erfc_test_data): Likewise.
12627 (exp_test_data): Likewise.
12628 (exp_tonearest_test_data): Likewise.
12629 (exp_towardzero_test_data): Likewise.
12630 (exp_downward_test_data): Likewise.
12631 (exp_upward_test_data): Likewise.
12632 (exp10_test_data): Likewise.
12633 (exp2_test_data): Likewise.
12634 (expm1_test_data): Likewise.
12635 (fabs_test_data): Likewise.
12636 (fdim_test_data): Likewise.
12637 (finite_test_data): Likewise.
12638 (floor_test_data): Likewise.
12639 (fma_test_data): Likewise.
12640 (fma_towardzero_test_data): Likewise.
12641 (fma_downward_test_data): Likewise.
12642 (fma_upward_test_data): Likewise.
12643 (fmax_test_data): Likewise.
12644 (fmin_test_data): Likewise.
12645 (fmod_test_data): Likewise.
12646 (fpclassify_test_data): Likewise.
12647 (frexp_test_data): Likewise.
12648 (gamma_test_data): Likewise.
12649 (hypot_test_data): Likewise.
12650 (ilogb_test_data): Likewise.
12651 (isfinite_test_data): Likewise.
12652 (isgreater_test_data): Likewise.
12653 (isgreaterequal_test_data): Likewise.
12654 (isinf_test_data): Likewise.
12655 (isless_test_data): Likewise.
12656 (islessequal_test_data): Likewise.
12657 (islessgreater_test_data): Likewise.
12658 (isnan_test_data): Likewise.
12659 (isnormal_test_data): Likewise.
12660 (issignaling_test_data): Likewise.
12661 (isunordered_test_data): Likewise.
12662 (j0_test_data): Likewise.
12663 (j1_test_data): Likewise.
12664 (jn_test_data): Likewise.
12665 (ldexp_test_data): Likewise.
12666 (lgamma_test_data): Likewise.
12667 (lrint_test_data): Likewise.
12668 (lrint_tonearest_test_data): Likewise.
12669 (lrint_towardzero_test_data): Likewise.
12670 (lrint_downward_test_data): Likewise.
12671 (lrint_upward_test_data): Likewise.
12672 (llrint_test_data): Likewise.
12673 (llrint_tonearest_test_data): Likewise.
12674 (llrint_towardzero_test_data): Likewise.
12675 (llrint_downward_test_data): Likewise.
12676 (llrint_upward_test_data): Likewise.
12677 (log_test_data): Likewise.
12678 (log10_test_data): Likewise.
12679 (log1p_test_data): Likewise.
12680 (log2_test_data): Likewise.
12681 (logb_test_data): Likewise.
12682 (logb_downward_test_data): Likewise.
12683 (lround_test_data): Likewise.
12684 (llround_test_data): Likewise.
12685 (modf_test_data): Likewise.
12686 (nearbyint_test_data): Likewise.
12687 (nextafter_test_data): Likewise.
12688 (nexttoward_test_data): Likewise.
12689 (pow_test_data): Likewise.
12690 (pow_tonearest_test_data): Likewise.
12691 (pow_towardzero_test_data): Likewise.
12692 (pow_downward_test_data): Likewise.
12693 (pow_upward_test_data): Likewise.
12694 (remainder_test_data): Likewise.
12695 (remainder_tonearest_test_data): Likewise.
12696 (remainder_towardzero_test_data): Likewise.
12697 (remainder_downward_test_data): Likewise.
12698 (remainder_upward_test_data): Likewise.
12699 (remquo_test_data): Likewise.
12700 (rint_test_data): Likewise.
12701 (rint_tonearest_test_data): Likewise.
12702 (rint_towardzero_test_data): Likewise.
12703 (rint_downward_test_data): Likewise.
12704 (rint_upward_test_data): Likewise.
12705 (round_test_data): Likewise.
12706 (scalb_test_data): Likewise.
12707 (scalbn_test_data): Likewise.
12708 (scalbln_test_data): Likewise.
12709 (signbit_test_data): Likewise.
12710 (sin_test_data): Likewise.
12711 (sin_tonearest_test_data): Likewise.
12712 (sin_towardzero_test_data): Likewise.
12713 (sin_downward_test_data): Likewise.
12714 (sin_upward_test_data): Likewise.
12715 (sincos_test_data): Likewise.
12716 (sinh_test_data): Likewise.
12717 (sinh_tonearest_test_data): Likewise.
12718 (sinh_towardzero_test_data): Likewise.
12719 (sinh_downward_test_data): Likewise.
12720 (sinh_upward_test_data): Likewise.
12721 (sqrt_test_data): Likewise.
12722 (tan_test_data): Likewise.
12723 (tan_tonearest_test_data): Likewise.
12724 (tan_towardzero_test_data): Likewise.
12725 (tan_downward_test_data): Likewise.
12726 (tan_upward_test_data): Likewise.
12727 (tanh_test_data): Likewise.
12728 (tgamma_test_data): Likewise.
12729 (trunc_test_data): Likewise.
12730 (y0_test_data): Likewise.
12731 (y1_test_data): Likewise.
12732 (yn_test_data): Likewise.
12733 (significand_test_data): Likewise.
12734
12735 * math/gen-libm-test.pl (@functions): Remove variable.
12736 (generate_testfile): Don't handle START and END lines.
12737 * math/libm-test.inc (START): New macro.
12738 (END): Likewise.
12739 (END_COMPLEX): Likewise.
12740 (acos_test): Use END macro without arguments.
12741 (acos_test_tonearest): Likewise.
12742 (acos_test_towardzero): Likewise.
12743 (acos_test_downward): Likewise.
12744 (acos_test_upward): Likewise.
12745 (acosh_test): Likewise.
12746 (asin_test): Likewise.
12747 (asin_test_tonearest): Likewise.
12748 (asin_test_towardzero): Likewise.
12749 (asin_test_downward): Likewise.
12750 (asin_test_upward): Likewise.
12751 (asinh_test): Likewise.
12752 (atan_test): Likewise.
12753 (atanh_test): Likewise.
12754 (atan2_test): Likewise.
12755 (cabs_test): Likewise.
12756 (cacos_test): Use END_COMPLEX macro without arguments.
12757 (cacosh_test): Likewise.
12758 (carg_test): Use END macro without arguments.
12759 (casin_test): Use END_COMPLEX macro without arguments.
12760 (casinh_test): Likewise.
12761 (catan_test): Likewise.
12762 (catanh_test): Likewise.
12763 (cbrt_test): Use END macro without arguments.
12764 (ccos_test): Use END_COMPLEX macro without arguments.
12765 (ccosh_test): Likewise.
12766 (ceil_test): Use END macro without arguments.
12767 (cexp_test): Use END_COMPLEX macro without arguments.
12768 (cimag_test): Use END macro without arguments.
12769 (clog_test): Use END_COMPLEX macro without arguments.
12770 (clog10_test): Likewise.
12771 (conj_test): Likewise.
12772 (copysign_test): Use END macro without arguments.
12773 (cos_test): Likewise.
12774 (cos_test_tonearest): Likewise.
12775 (cos_test_towardzero): Likewise.
12776 (cos_test_downward): Likewise.
12777 (cos_test_upward): Likewise.
12778 (cosh_test): Likewise.
12779 (cosh_test_tonearest): Likewise.
12780 (cosh_test_towardzero): Likewise.
12781 (cosh_test_downward): Likewise.
12782 (cosh_test_upward): Likewise.
12783 (cpow_test): Use END_COMPLEX macro without arguments.
12784 (cproj_test): Likewise.
12785 (creal_test): Use END macro without arguments.
12786 (csin_test): Use END_COMPLEX macro without arguments.
12787 (csinh_test): Likewise.
12788 (csqrt_test): Likewise.
12789 (ctan_test): Likewise.
12790 (ctan_test_tonearest): Likewise.
12791 (ctan_test_towardzero): Likewise.
12792 (ctan_test_downward): Likewise.
12793 (ctan_test_upward): Likewise.
12794 (ctanh_test): Likewise.
12795 (ctanh_test_tonearest): Likewise.
12796 (ctanh_test_towardzero): Likewise.
12797 (ctanh_test_downward): Likewise.
12798 (ctanh_test_upward): Likewise.
12799 (erf_test): Use END macro without arguments.
12800 (erfc_test): Likewise.
12801 (exp_test): Likewise.
12802 (exp_test_tonearest): Likewise.
12803 (exp_test_towardzero): Likewise.
12804 (exp_test_downward): Likewise.
12805 (exp_test_upward): Likewise.
12806 (exp10_test): Likewise.
12807 (exp2_test): Likewise.
12808 (expm1_test): Likewise.
12809 (fabs_test): Likewise.
12810 (fdim_test): Likewise.
12811 (finite_test): Likewise.
12812 (floor_test): Likewise.
12813 (fma_test): Likewise.
12814 (fma_test_towardzero): Likewise.
12815 (fma_test_downward): Likewise.
12816 (fma_test_upward): Likewise.
12817 (fmax_test): Likewise.
12818 (fmin_test): Likewise.
12819 (fmod_test): Likewise.
12820 (fpclassify_test): Likewise.
12821 (frexp_test): Likewise.
12822 (gamma_test): Likewise.
12823 (hypot_test): Likewise.
12824 (ilogb_test): Likewise.
12825 (isfinite_test): Likewise.
12826 (isgreater_test): Likewise.
12827 (isgreaterequal_test): Likewise.
12828 (isinf_test): Likewise.
12829 (isless_test): Likewise.
12830 (islessequal_test): Likewise.
12831 (islessgreater_test): Likewise.
12832 (isnan_test): Likewise.
12833 (isnormal_test): Likewise.
12834 (issignaling_test): Likewise.
12835 (isunordered_test): Likewise.
12836 (j0_test): Likewise.
12837 (j1_test): Likewise.
12838 (jn_test): Likewise.
12839 (ldexp_test): Likewise.
12840 (lgamma_test): Likewise.
12841 (lrint_test): Likewise.
12842 (lrint_test_tonearest): Likewise.
12843 (lrint_test_towardzero): Likewise.
12844 (lrint_test_downward): Likewise.
12845 (lrint_test_upward): Likewise.
12846 (llrint_test): Likewise.
12847 (llrint_test_tonearest): Likewise.
12848 (llrint_test_towardzero): Likewise.
12849 (llrint_test_downward): Likewise.
12850 (llrint_test_upward): Likewise.
12851 (log_test): Likewise.
12852 (log10_test): Likewise.
12853 (log1p_test): Likewise.
12854 (log2_test): Likewise.
12855 (logb_test): Likewise.
12856 (logb_test_downward): Likewise.
12857 (lround_test): Likewise.
12858 (llround_test): Likewise.
12859 (modf_test): Likewise.
12860 (nearbyint_test): Likewise.
12861 (nextafter_test): Likewise.
12862 (nexttoward_test): Likewise.
12863 (pow_test): Likewise.
12864 (pow_test_tonearest): Likewise.
12865 (pow_test_towardzero): Likewise.
12866 (pow_test_downward): Likewise.
12867 (pow_test_upward): Likewise.
12868 (remainder_test): Likewise.
12869 (remainder_test_tonearest): Likewise.
12870 (remainder_test_towardzero): Likewise.
12871 (remainder_test_downward): Likewise.
12872 (remainder_test_upward): Likewise.
12873 (remquo_test): Likewise.
12874 (rint_test): Likewise.
12875 (rint_test_tonearest): Likewise.
12876 (rint_test_towardzero): Likewise.
12877 (rint_test_downward): Likewise.
12878 (rint_test_upward): Likewise.
12879 (round_test): Likewise.
12880 (scalb_test): Likewise.
12881 (scalbn_test): Likewise.
12882 (scalbln_test): Likewise.
12883 (signbit_test): Likewise.
12884 (sin_test): Likewise.
12885 (sin_test_tonearest): Likewise.
12886 (sin_test_towardzero): Likewise.
12887 (sin_test_downward): Likewise.
12888 (sin_test_upward): Likewise.
12889 (sincos_test): Likewise.
12890 (sinh_test): Likewise.
12891 (sinh_test_tonearest): Likewise.
12892 (sinh_test_towardzero): Likewise.
12893 (sinh_test_downward): Likewise.
12894 (sinh_test_upward): Likewise.
12895 (sqrt_test): Likewise.
12896 (tan_test): Likewise.
12897 (tan_test_tonearest): Likewise.
12898 (tan_test_towardzero): Likewise.
12899 (tan_test_downward): Likewise.
12900 (tan_test_upward): Likewise.
12901 (tanh_test): Likewise.
12902 (tgamma_test): Likewise.
12903 (trunc_test): Likewise.
12904 (y0_test): Likewise.
12905 (y1_test): Likewise.
12906 (yn_test): Likewise.
12907 (significand_test): Likewise.
12908
12909 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
12910
12911 [BZ #15381]
12912 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12913
12914 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12915
12916 [BZ #14894]
12917 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12918 __ppc_mdoio and __ppc_mdoom.
12919 * manual/platform.texi: Document new functions __ppc_yield,
12920 __ppc_mdoio and __ppc_mdoom.
12921
12922 2013-05-22 Carlos O'Donell <carlos@redhat.com>
12923
12924 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12925 (main): Mention "tls" pseudo-hwcap is legacy.
12926 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12927
12928 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12929
12930 * math/gen-libm-test.pl (parse_args): Output only string of
12931 arguments as text for test name, not full call or descriptions of
12932 tests for extra outputs.
12933 (generate_testfile): Do not pass function name to parse_args.
12934 Generate this_func variable from START.
12935 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12936 field to arg_str.
12937 (struct test_ff_f_data): Likewise.
12938 (test_ff_f_data_nexttoward): Likewise.
12939 (struct test_fi_f_data): Likewise.
12940 (struct test_fl_f_data): Likewise.
12941 (struct test_if_f_data): Likewise.
12942 (struct test_fff_f_data): Likewise.
12943 (struct test_c_f_data): Likewise.
12944 (struct test_f_f1_data): Likewise. Remove field extra_name.
12945 (struct test_fF_f1_data): Likewise.
12946 (struct test_ffI_f1_data): Likewise.
12947 (struct test_c_c_data): Rename test_name field to arg_str.
12948 (struct test_cc_c_data): Likewise.
12949 (struct test_f_i_data): Likewise.
12950 (struct test_ff_i_data): Likewise.
12951 (struct test_f_l_data): Likewise.
12952 (struct test_f_L_data): Likewise.
12953 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12954 and extra2_name.
12955 (COMMON_TEST_SETUP): New macro.
12956 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12957 (COMMON_TEST_CLEANUP): Likewise.
12958 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12959 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12960 macros.
12961 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12962 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12963 macros.
12964 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12965 (RUN_TEST_fff_f): Take argument string. Call new setup and
12966 cleanup macros.
12967 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12968 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12969 macros.
12970 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12971 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12972 macros.
12973 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12974 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12975 cleanup macros.
12976 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12977 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12978 cleanup macros.
12979 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12980 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12981 cleanup macros.
12982 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12983 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12984 macros.
12985 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12986 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12987 macros.
12988 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12989 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12990 macros.
12991 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12992 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12993 cleanup macros.
12994 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12995 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12996 cleanup macros.
12997 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12998 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12999 macros.
13000 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13001 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13002 cleanup macros.
13003 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13004 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13005 macros.
13006 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13007 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13008 macros.
13009 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13010 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13011 cleanup macros.
13012 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13013
13014 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13015
13016 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13017 to _sifields.sigfault.
13018 (si_addr_lsb): Define new macro.
13019 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13020 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13021 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13022
13023 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13024
13025 [BZ #15441]
13026 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13027 returns -1.
13028 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13029 null return -1.
13030 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13031 loading the domain.
13032
13033 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13034
13035 * math/gen-libm-test.pl (parse_args): Do not include expected
13036 result in test name.
13037 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13038 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13039 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13040 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13041 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13043
13044 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13045
13046 * benchtests/Makefile: Sort function entries.
13047
13048 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13049 tanh, asinh, acosh, atanh.
13050 * benchtests/acos-inputs: New file.
13051 * benchtests/acosh-inputs: New file.
13052 * benchtests/asin-inputs: New file.
13053 * benchtests/asinh-inputs: New file.
13054 * benchtests/atanh-inputs: New file.
13055 * benchtests/cosh-inputs: New file.
13056 * benchtests/log-inputs: New file.
13057 * benchtests/sinh-inputs: New file.
13058 * benchtests/tanh-inputs: New file.
13059
13060 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13061
13062 [BZ #15339]
13063 * posix/tst-getaddrinfo4.c: New test.
13064 * posix/Makefile (tests): Add it.
13065
13066 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13067
13068 [BZ #15339]
13069 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13070 when no services were used.
13071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13072 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13073
13074 2013-05-21 Andreas Schwab <schwab@suse.de>
13075
13076 [BZ #15014]
13077 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13078 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13079 successful.
13080 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13081 redundant variable declarations and reallocation of buffer when
13082 parsing as IPv6 address. Always set NSS status when called from
13083 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13084 buffer too small. Correct computation of needed size.
13085 * nss/Makefile (tests): Add test-digits-dots.
13086 * nss/test-digits-dots.c: New test.
13087
13088 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13089
13090 * benchtests/Makefile: Remove instructions for adding
13091 benchmark tests.
13092 * benchtests/README: New file to explain how to execute and
13093 enhance the benchmark tests.
13094
13095 2013-05-21 Andreas Schwab <schwab@suse.de>
13096
13097 [BZ #15493]
13098 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13099 * setjmp/tst-sigsetjmp.c: New test.
13100
13101 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13102
13103 * sysdeps/x86_64/memset.S (memset): New implementation.
13104 (__bzero): Likewise.
13105 (__memset_tail): New function.
13106
13107 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13108
13109 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13110 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13111 __memcpy_sse2_unaligned ifunc selection.
13112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13113 Add memcpy-sse2-unaligned.S.
13114 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13115 Add: __memcpy_sse2_unaligned.
13116
13117 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13118
13119 [BZ #15490]
13120 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13121 math_force_eval before restoring floating-point envrionment.
13122 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13123 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13124 Likewise.
13125 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13126 <math_private.h>.
13127 (__nearbyintl): Use math_force_eval before restoring
13128 floating-point environment.
13129 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13130
13131 * math/gen-libm-test.pl (special_functions): Remove.
13132 (parse_args): Don't handle TEST_extra. Handle functions with no
13133 return value.
13134 * math/libm-test.inc (struct test_sincos_data): Replace with
13135 struct test_fFF_11_data.
13136 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13137 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13138 (sincos_test_data): Change element type to struct
13139 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13140 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13141 RUN_TEST_LOOP_sincos.
13142 * math/README.libm-test: Don't mention special handling of
13143 individual functions.
13144 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13145 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13146 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13147 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13148 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13150
13151 * math/gen-libm-test.pl (get_variable): Remove function.
13152 (parse_args): Don't show pointer parameters to call in test
13153 names. Use "extra output N" in test names for extra outputs
13154 rather than naming variables.
13155
13156 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13157
13158 [BZ #15488]
13159 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13160 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13161 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13162 double tests.
13163 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13164 disable.
13165 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13166 check_long_double.
13167
13168 * math/gen-libm-test.pl (@tests): Remove variable.
13169 ($count): Likewise.
13170 (new_test): Remove function.
13171 (show_exceptions): New function.
13172 (special_functions): Use show_exceptions instead of new_test.
13173 (parse_args): Likewise.
13174 (generate_testfile): Pass only function name in generated call to
13175 print_max_error or print_complex_max_error.
13176 (get_ulps): Do not handle complex tests specially.
13177 (output_test): Rename to ...
13178 (get_all_ulps_for_test): ... this. Return a string rather than
13179 printing to a file. Require ulps to be present.
13180 (output_ulps): Generate arrays rather than #defines.
13181 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13182 (struct ulp_data): New type.
13183 (BUILD_COMPLEX_ULP): Remove macro.
13184 (compare_ulp_data): New function.
13185 (find_ulps): Likewise.
13186 (find_test_ulps): Likewise.
13187 (find_function_ulps): Likewise.
13188 (find_complex_function_ulps): Likewise.
13189 (print_max_error): Determine allowed ulps using
13190 find_function_ulps.
13191 (print_complex_max_error): Determine allowed ulps using
13192 find_complex_function_ulps.
13193 (check_float_internal): Determine max ulps using find_test_ulps.
13194 (check_float): Do not take max_ulp parameter. Update call to
13195 check_float_internal.
13196 (check_complex): Likewise.
13197 (check_int): Do not take max_ulp parameter.
13198 (check_long): Likewise.
13199 (check_bool): Likewise.
13200 (check_longlong): Likewise.
13201 (struct test_f_f_data): Remove max_ulp field.
13202 (struct test_ff_f_data): Likewise.
13203 (struct test_ff_f_data_nexttoward): Likewise.
13204 (struct test_fi_f_data): Likewise.
13205 (struct test_fl_f_data): Likewise.
13206 (struct test_if_f_data): Likewise.
13207 (struct test_fff_f_data): Likewise.
13208 (struct test_c_f_data): Likewise.
13209 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13210 (struct test_fF_f1_data): Likewise.
13211 (struct test_ffI_f1_data): Likewise.
13212 (struct test_c_c_data): Remove max_ulp field.
13213 (struct test_cc_c_data): Likewise.
13214 (struct test_f_i_data): Likewise.
13215 (struct test_ff_i_data): Likewise.
13216 (struct test_f_l_data): Likewise.
13217 (struct test_f_L_data): Likewise.
13218 (struct test_sincos_data): Likewise.
13219 (RUN_TEST_f_f): Do not handle ulps.
13220 (RUN_TEST_LOOP_f_f): Likewise.
13221 (RUN_TEST_2_f): Likewise.
13222 (RUN_TEST_LOOP_2_f): Likewise.
13223 (RUN_TEST_fff_f): Likewise.
13224 (RUN_TEST_LOOP_fff_f): Likewise.
13225 (RUN_TEST_c_f): Likewise.
13226 (RUN_TEST_LOOP_c_f): Likewise.
13227 (RUN_TEST_f_f1): Likewise.
13228 (RUN_TEST_LOOP_f_f1): Likewise.
13229 (RUN_TEST_fF_f1): Likewise.
13230 (RUN_TEST_LOOP_fF_f1): Likewise.
13231 (RUN_TEST_fI_f1): Likewise.
13232 (RUN_TEST_LOOP_fI_f1): Likewise.
13233 (RUN_TEST_ffI_f1): Likewise.
13234 (RUN_TEST_LOOP_ffI_f1): Likewise.
13235 (RUN_TEST_c_c): Likewise.
13236 (RUN_TEST_LOOP_c_c): Likewise.
13237 (RUN_TEST_cc_c): Likewise.
13238 (RUN_TEST_LOOP_cc_c): Likewise.
13239 (RUN_TEST_f_i): Likewise.
13240 (RUN_TEST_LOOP_f_i): Likewise.
13241 (RUN_TEST_f_i_tg): Likewise.
13242 (RUN_TEST_LOOP_f_i_tg): Likewise.
13243 (RUN_TEST_ff_i_tg): Likewise.
13244 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13245 (RUN_TEST_f_b): Likewise.
13246 (RUN_TEST_LOOP_f_b): Likewise.
13247 (RUN_TEST_f_b_tg): Likewise.
13248 (RUN_TEST_LOOP_f_b_tg): Likewise.
13249 (RUN_TEST_f_l): Likewise.
13250 (RUN_TEST_LOOP_f_l): Likewise.
13251 (RUN_TEST_f_L): Likewise.
13252 (RUN_TEST_LOOP_f_L): Likewise.
13253 (RUN_TEST_sincos): Likewise.
13254 (RUN_TEST_LOOP_sincos): Likewise.
13255
13256 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13257
13258 [BZ #15480]
13259 [BZ #15485]
13260 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13261 main case of finite arguments, set rounding mode to FE_TONEAREST
13262 and discard exceptions.
13263 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13264 exceptions.
13265 (remainder_tonearest_test_data): New variable.
13266 (remainder_test_tonearest): New function.
13267 (remainder_towardzero_test_data): New variable.
13268 (remainder_test_towardzero): New function.
13269 (remainder_downward_test_data): New variable.
13270 (remainder_test_downward): New function.
13271 (remainder_upward_test_data): New variable.
13272 (remainder_test_upward): New function.
13273 (main): Call the new test functions.
13274
13275 * math/libm-test.inc (struct test_f_f1_data): Remove field
13276 extra_init.
13277 (struct test_fF_f1_data): Likewise.
13278 (struct test_ffI_f1_data): Likewise.
13279 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13280 based on value of EXTRA_EXPECTED.
13281 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13282 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13283 EXTRA_VAR based on value of EXTRA_EXPECTED.
13284 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13285 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13286 EXTRA_VAR based on value of EXTRA_EXPECTED.
13287 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13288 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13289 EXTRA_VAR based on value of EXTRA_EXPECTED.
13290 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13291 * math/gen-libm-test.pl (parse_args): Don't output initializers
13292 for extra output values.
13293
13294 * math/libm-test.inc (check_int): Expect result to be exactly
13295 equal to expected value and do not handle ulps.
13296 (check_long): Likewise.
13297 (check_longlong): Likewise.
13298
13299 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13300 exceptions.
13301 (cimag_test_data): Likewise.
13302 (conj_test_data): Likewise.
13303 (copysign_test_data): Likewise.
13304 (cproj_test_data): Likewise.
13305 (creal_test_data): Likewise.
13306 (fabs_test_data): Likewise.
13307 (fdim_test_data): Likewise.
13308 (finite_test_data): Likewise.
13309 (floor_test_data): Likewise.
13310 (fmax_test_data): Likewise.
13311 (fmin_test_data): Likewise.
13312 (fmod_test_data): Likewise.
13313 (fpclassify_test_data): Likewise.
13314 (frexp_test_data): Likewise.
13315 (ilogb_test_data): Likewise.
13316 (isfinite_test_data): Likewise.
13317 (isgreater_test_data): Likewise.
13318 (isgreaterequal_test_data): Likewise.
13319 (isinf_test_data): Likewise.
13320 (isless_test_data): Likewise.
13321 (islessequal_test_data): Likewise.
13322 (islessgreater_test_data): Likewise.
13323 (isnan_test_data): Likewise.
13324 (isnormal_test_data): Likewise.
13325 (issignaling_test_data): Likewise.
13326 (isunordered_test_data): Likewise.
13327 (ldexp_test_data): Likewise.
13328 (lrint_test_data): Likewise.
13329 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13330 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13331 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13332 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13333 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13334 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13335 test input.
13336 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13337 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13338 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13339 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13340 that test input.
13341 (lrint_downward_test_data): Test for "inexact" exceptions.
13342 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13343 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13344 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13345 test input.
13346 (lrint_upward_test_data): Test for "inexact" exceptions.
13347 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13348 test input.
13349 (llrint_test_data): Test for "inexact" exceptions.
13350 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13351 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13352 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13353 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13354 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13355 (llrint_downward_test_data): Test for "inexact" exceptions.
13356 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13357 (llrint_upward_test_data): Test for "inexact" exceptions.
13358 (logb_test_data): Likewise.
13359 (logb_downward_test_data): Likewise.
13360 (nextafter_test_data): Likewise.
13361 (nexttoward_test_data): Likewise.
13362 (remainder_test_data): Likewise.
13363 (remquo_test_data): Likewise.
13364 (scalbn_test_data): Likewise.
13365 (scalbln_test_data): Likewise.
13366 (signbit_test_data): Likewise.
13367 (sqrt_test_data): Likewise.
13368 (significand_test_data): Likewise.
13369
13370 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13371
13372 [BZ #15424]
13373 * benchtests/bench-modf.c (struct args): Mark arg0 as
13374 volatile.
13375 * scripts/bench.pl: Mark members of struct args as volatile.
13376
13377 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13378
13379 [BZ # 15497]
13380 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13381 negative infinity on POWER6 or lower.
13382 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13383
13384 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13385
13386 [BZ #15442]
13387 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13388 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13389 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13390 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13391 (_FP_SETQNAN): New macro.
13392 (_FP_SETQNAN_SEMIRAW): Likewise.
13393 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13394 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13395 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13396 (FP_EXTEND): Use _FP_FRAC_SNANP.
13397 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13398 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13399 into account.
13400 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13401 New macro.
13402 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13403 Likewise.
13404
13405 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13406
13407 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13408 with DIVIDE_BY_ZERO_EXCEPTION.
13409 (gamma_test_data): Likewise.
13410 (lgamma_test_data): Likewise.
13411 (log_test_data): Likewise.
13412 (log10_test_data): Likewise.
13413 (log2_test_data): Likewise.
13414 (tgamma_test_data): Likewise.
13415
13416 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13417 (acos_test_tonearest): Likewise.
13418 (acos_test_towardzero): Likewise.
13419 (acos_test_downward): Likewise.
13420 (acos_test_upward): Likewise.
13421 (acosh_test): Likewise.
13422 (asin_test): Likewise.
13423 (asin_test_tonearest): Likewise.
13424 (asin_test_towardzero): Likewise.
13425 (asin_test_downward): Likewise.
13426 (asin_test_upward): Likewise.
13427 (asinh_test): Likewise.
13428 (atan_test): Likewise.
13429 (atanh_test): Likewise.
13430 (atan2_test): Likewise.
13431 (cabs_test): Likewise.
13432 (cacos_test): Likewise.
13433 (cacosh_test): Likewise.
13434 (casin_test): Likewise.
13435 (casinh_test): Likewise.
13436 (catan_test): Likewise.
13437 (catanh_test): Likewise.
13438 (cbrt_test): Likewise.
13439 (ccos_test): Likewise.
13440 (ccosh_test): Likewise.
13441 (cexp_test): Likewise.
13442 (clog_test): Likewise.
13443 (clog10_test): Likewise.
13444 (cos_test): Likewise.
13445 (cos_test_tonearest): Likewise.
13446 (cos_test_towardzero): Likewise.
13447 (cos_test_downward): Likewise.
13448 (cos_test_upward): Likewise.
13449 (cosh_test): Likewise.
13450 (cosh_test_tonearest): Likewise.
13451 (cosh_test_towardzero): Likewise.
13452 (cosh_test_downward): Likewise.
13453 (cosh_test_upward): Likewise.
13454 (cpow_test): Likewise.
13455 (csin_test): Likewise.
13456 (csinh_test): Likewise.
13457 (csqrt_test): Likewise.
13458 (ctan_test): Likewise.
13459 (ctan_test_tonearest): Likewise.
13460 (ctan_test_towardzero): Likewise.
13461 (ctan_test_downward): Likewise.
13462 (ctan_test_upward): Likewise.
13463 (ctanh_test): Likewise.
13464 (ctanh_test_tonearest): Likewise.
13465 (ctanh_test_towardzero): Likewise.
13466 (ctanh_test_downward): Likewise.
13467 (ctanh_test_upward): Likewise.
13468 (erf_test): Likewise.
13469 (erfc_test): Likewise.
13470 (exp_test): Likewise.
13471 (exp_test_tonearest): Likewise.
13472 (exp_test_towardzero): Likewise.
13473 (exp_test_downward): Likewise.
13474 (exp_test_upward): Likewise.
13475 (exp10_test): Likewise.
13476 (exp2_test): Likewise.
13477 (expm1_test): Likewise.
13478 (fmod_test): Likewise.
13479 (gamma_test): Likewise.
13480 (hypot_test): Likewise.
13481 (j0_test): Likewise.
13482 (j1_test): Likewise.
13483 (jn_test): Likewise.
13484 (lgamma_test): Likewise.
13485 (log_test): Likewise.
13486 (log10_test): Likewise.
13487 (log1p_test): Likewise.
13488 (log2_test): Likewise.
13489 (logb_test_downward): Likewise.
13490 (pow_test): Likewise.
13491 (pow_test_tonearest): Likewise.
13492 (pow_test_towardzero): Likewise.
13493 (pow_test_downward): Likewise.
13494 (pow_test_upward): Likewise.
13495 (remainder_test): Likewise.
13496 (remquo_test): Likewise.
13497 (sin_test): Likewise.
13498 (sin_test_tonearest): Likewise.
13499 (sin_test_towardzero): Likewise.
13500 (sin_test_downward): Likewise.
13501 (sin_test_upward): Likewise.
13502 (sincos_test): Likewise.
13503 (sinh_test): Likewise.
13504 (sinh_test_tonearest): Likewise.
13505 (sinh_test_towardzero): Likewise.
13506 (sinh_test_downward): Likewise.
13507 (sinh_test_upward): Likewise.
13508 (sqrt_test): Likewise.
13509 (tan_test): Likewise.
13510 (tan_test_tonearest): Likewise.
13511 (tan_test_towardzero): Likewise.
13512 (tan_test_downward): Likewise.
13513 (tan_test_upward): Likewise.
13514 (tanh_test): Likewise.
13515 (tgamma_test): Likewise.
13516 (y0_test): Likewise.
13517 (y1_test): Likewise.
13518 (yn_test): Likewise.
13519
13520 * math/gen-libm-test.pl (adjust_arg): Remove function.
13521 (special_function): Remove argument $in_func. Only handle
13522 generating output for tables of tests, not inside functions.
13523 (parse_args): Likewise.
13524 (generate_testfile): Remove variable $in_func. Update call to
13525 parse_args.
13526 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13527 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13528 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13529 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13530 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13531 (MAX_VALUE_INIT): Rename macro to max_value.
13532 (MIN_VALUE_INIT): Rename macro to min_value.
13533 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13534 (plus_zero): Remove variable.
13535 (minus_zero): Likewise.
13536 (plus_infty): Likewise.
13537 (minus_infty): Likewise.
13538 (qnan_value): Likewise.
13539 (max_value): Likewise.
13540 (min_value): Likewise.
13541 (min_subnorm_value): Likewise.
13542
13543 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13544
13545 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13546 uint64_t or uint32_t usage.
13547 * crypt/sha256-block.c: Likewise.
13548 * crypt/sha256-crypt.c: Likewise.
13549 * crypt/sha256.c: Likewise.
13550 * crypt/sha512-block.c: Likewise.
13551 * crypt/sha512-crypt.c: Likewise.
13552 * crypt/sha512.c: Likewise.
13553 * debug/backtrace-tst.c: Likewise.
13554 * debug/pcprofiledump.c: Likewise.
13555 * elf/cache.c: Likewise.
13556 * elf/dl-cache.c: Likewise.
13557 * elf/dl-misc.c: Likewise.
13558 * elf/dl-profile.c: Likewise.
13559 * elf/dl-support.c: Likewise.
13560 * elf/ldconfig.c: Likewise.
13561 * elf/sprof.c: Likewise.
13562 * iconv/dummy-repertoire.c: Likewise.
13563 * iconv/iconv_charmap.c: Likewise.
13564 * iconv/skeleton.c: Likewise.
13565 * iconvdata/8bit-generic.c: Likewise.
13566 * iconvdata/cp737.h: Likewise.
13567 * iconvdata/cp775.h: Likewise.
13568 * iconvdata/ibm1008.h: Likewise.
13569 * iconvdata/ibm1025.h: Likewise.
13570 * iconvdata/ibm1046.h: Likewise.
13571 * iconvdata/ibm1097.h: Likewise.
13572 * iconvdata/ibm1112.h: Likewise.
13573 * iconvdata/ibm1122.h: Likewise.
13574 * iconvdata/ibm1123.h: Likewise.
13575 * iconvdata/ibm1124.h: Likewise.
13576 * iconvdata/ibm1129.h: Likewise.
13577 * iconvdata/ibm1130.h: Likewise.
13578 * iconvdata/ibm1132.h: Likewise.
13579 * iconvdata/ibm1133.h: Likewise.
13580 * iconvdata/ibm1137.h: Likewise.
13581 * iconvdata/ibm1140.h: Likewise.
13582 * iconvdata/ibm1141.h: Likewise.
13583 * iconvdata/ibm1142.h: Likewise.
13584 * iconvdata/ibm1143.h: Likewise.
13585 * iconvdata/ibm1144.h: Likewise.
13586 * iconvdata/ibm1145.h: Likewise.
13587 * iconvdata/ibm1146.h: Likewise.
13588 * iconvdata/ibm1147.h: Likewise.
13589 * iconvdata/ibm1148.h: Likewise.
13590 * iconvdata/ibm1149.h: Likewise.
13591 * iconvdata/ibm1153.h: Likewise.
13592 * iconvdata/ibm1154.h: Likewise.
13593 * iconvdata/ibm1155.h: Likewise.
13594 * iconvdata/ibm1156.h: Likewise.
13595 * iconvdata/ibm1157.h: Likewise.
13596 * iconvdata/ibm1158.h: Likewise.
13597 * iconvdata/ibm1160.h: Likewise.
13598 * iconvdata/ibm1161.h: Likewise.
13599 * iconvdata/ibm1162.h: Likewise.
13600 * iconvdata/ibm1163.h: Likewise.
13601 * iconvdata/ibm1164.h: Likewise.
13602 * iconvdata/ibm1166.h: Likewise.
13603 * iconvdata/ibm1167.h: Likewise.
13604 * iconvdata/ibm12712.h: Likewise.
13605 * iconvdata/ibm1390.h: Likewise.
13606 * iconvdata/ibm1399.h: Likewise.
13607 * iconvdata/ibm16804.h: Likewise.
13608 * iconvdata/ibm4517.h: Likewise.
13609 * iconvdata/ibm4899.h: Likewise.
13610 * iconvdata/ibm4909.h: Likewise.
13611 * iconvdata/ibm4971.h: Likewise.
13612 * iconvdata/ibm5347.h: Likewise.
13613 * iconvdata/ibm803.h: Likewise.
13614 * iconvdata/ibm856.h: Likewise.
13615 * iconvdata/ibm901.h: Likewise.
13616 * iconvdata/ibm902.h: Likewise.
13617 * iconvdata/ibm9030.h: Likewise.
13618 * iconvdata/ibm9066.h: Likewise.
13619 * iconvdata/ibm921.h: Likewise.
13620 * iconvdata/ibm922.h: Likewise.
13621 * iconvdata/ibm9448.h: Likewise.
13622 * iconvdata/isiri-3342.h: Likewise.
13623 * iconvdata/jis0201.h: Likewise.
13624 * include/link.h: Likewise.
13625 * include/netdb.h: Likewise.
13626 * inet/check_native.c: Likewise.
13627 * inet/check_pf.c: Likewise.
13628 * inet/getipv4sourcefilter.c: Likewise.
13629 * inet/getnameinfo.c: Likewise.
13630 * inet/getsourcefilter.c: Likewise.
13631 * inet/htonl.c: Likewise.
13632 * inet/setipv4sourcefilter.c: Likewise.
13633 * inet/setsourcefilter.c: Likewise.
13634 * inet/test-inet6_opt.c: Likewise.
13635 * inet/tst-network.c: Likewise.
13636 * locale/C-collate.c: Likewise.
13637 * locale/C-ctype.c: Likewise.
13638 * locale/C-time.c: Likewise.
13639 * locale/C-translit.h: Likewise.
13640 * locale/loadarchive.c: Likewise.
13641 * locale/programs/3level.h: Likewise.
13642 * locale/programs/charmap.c: Likewise.
13643 * locale/programs/charmap.h: Likewise.
13644 * locale/programs/ld-address.c: Likewise.
13645 * locale/programs/ld-collate.c: Likewise.
13646 * locale/programs/ld-ctype.c: Likewise.
13647 * locale/programs/ld-identification.c: Likewise.
13648 * locale/programs/ld-measurement.c: Likewise.
13649 * locale/programs/ld-messages.c: Likewise.
13650 * locale/programs/ld-monetary.c: Likewise.
13651 * locale/programs/ld-name.c: Likewise.
13652 * locale/programs/ld-numeric.c: Likewise.
13653 * locale/programs/ld-paper.c: Likewise.
13654 * locale/programs/ld-telephone.c: Likewise.
13655 * locale/programs/ld-time.c: Likewise.
13656 * locale/programs/linereader.c: Likewise.
13657 * locale/programs/locale.c: Likewise.
13658 * locale/programs/locarchive.c: Likewise.
13659 * locale/programs/locfile.h: Likewise.
13660 * locale/programs/repertoire.c: Likewise.
13661 * locale/programs/simple-hash.c: Likewise.
13662 * locale/programs/simple-hash.h: Likewise.
13663 * malloc/memusage.c: Likewise.
13664 * malloc/memusagestat.c: Likewise.
13665 * nis/nis_defaults.c: Likewise.
13666 * nis/nis_hash.c: Likewise.
13667 * nis/nis_print.c: Likewise.
13668 * nis/nis_xdr.c: Likewise.
13669 * nscd/connections.c: Likewise.
13670 * nscd/hstcache.c: Likewise.
13671 * nscd/nscd_gethst_r.c: Likewise.
13672 * nscd/nscd_getserv_r.c: Likewise.
13673 * nscd/nscd_helper.c: Likewise.
13674 * nscd/servicescache.c: Likewise.
13675 * nss/makedb.c: Likewise.
13676 * nss/nss_db/db-XXX.c: Likewise.
13677 * nss/nss_db/db-initgroups.c: Likewise.
13678 * nss/nss_db/db-netgrp.c: Likewise.
13679 * nss/nss_files/files-network.c: Likewise.
13680 * nss/nss_files/files-parse.c: Likewise.
13681 * posix/bug-regex5.c: Likewise.
13682 * posix/fnmatch_loop.c: Likewise.
13683 * posix/regcomp.c: Likewise.
13684 * posix/regexec.c: Likewise.
13685 * posix/tst-rfc3484-2.c: Likewise.
13686 * posix/tst-rfc3484-3.c: Likewise.
13687 * posix/tst-rfc3484.c: Likewise.
13688 * resolv/nss_dns/dns-canon.c: Likewise.
13689 * resolv/nss_dns/dns-network.c: Likewise.
13690 * resolv/res_init.c: Likewise.
13691 * resolv/res_mkquery.c: Likewise.
13692 * resolv/tst-aton.c: Likewise.
13693 * stdlib/cxa_atexit.c: Likewise.
13694 * stdlib/cxa_finalize.c: Likewise.
13695 * stdlib/gen-fpioconst.c: Likewise.
13696 * stdlib/strtol_l.c: Likewise.
13697 * string/tst-endian.c: Likewise.
13698 * sunrpc/auth_des.c: Likewise.
13699 * sunrpc/clnt_udp.c: Likewise.
13700 * sunrpc/rtime.c: Likewise.
13701 * sunrpc/svcauth_des.c: Likewise.
13702 * sunrpc/xdr.c: Likewise.
13703 * sunrpc/xdr_intXX_t.c: Likewise.
13704 * sunrpc/xdr_rec.c: Likewise.
13705 * sysdeps/generic/ldconfig.h: Likewise.
13706 * sysdeps/generic/ldsodefs.h: Likewise.
13707 * sysdeps/generic/memusage.h: Likewise.
13708 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13709 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13710 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13711 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13712 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13714 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13718 * sysdeps/posix/getaddrinfo.c: Likewise.
13719 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13720 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13721 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13722 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13723 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13724 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13725 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13726 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13727 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13728 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13729 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13730 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13731 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13732 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13733 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13734 * sysdeps/x86_64/dl-tls.h: Likewise.
13735 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13736 * time/alt_digit.c: Likewise.
13737 * time/era.c: Likewise.
13738 * wcsmbs/tst-c16c32-1.c: Likewise.
13739
13740 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13741
13742 * math/libm-test.inc (struct test_sincos_data): New type.
13743 (RUN_TEST_LOOP_sincos): New macro.
13744 (sincos_test_data): New variable.
13745 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13746
13747 2013-05-16 Richard Henderson <rth@redhat.com>
13748
13749 * math/atest-exp2.c (LIMB64): New macro.
13750 (CONSTSZ): New macro.
13751 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13752 (hexdig): Move ...
13753 (print_mpn_fp): ... to function scope.
13754 (read_mpn_hex): Remove.
13755 (get_log2): Remove.
13756 (exp2_mpn): Use mp_log2.
13757 (main): Use mp_exp1.
13758
13759 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13760
13761 * math/libm-test.inc: Remove comment about not testing "inexact"
13762 exceptions.
13763 (INEXACT_EXCEPTION): New macro.
13764 (NO_INEXACT_EXCEPTION): Likewise.
13765 (INVALID_EXCEPTION_OK): Update value.
13766 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13767 (OVERFLOW_EXCEPTION_OK): Likewise.
13768 (UNDERFLOW_EXCEPTION_OK): Likewise.
13769 (IGNORE_ZERO_INF_SIGN): Likewise.
13770 (ERRNO_UNCHANGED): Likewise.
13771 (ERRNO_EDOM): Likewise.
13772 (ERRNO_ERANGE): Likewise.
13773 (test_exceptions): Handle testing "inexact" exceptions.
13774 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13775 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13776 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13777 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13778 INEXACT_EXCEPTION.
13779 (rint_towardzero_test_data): Likewise.
13780 (rint_downward_test_data): Likewise.
13781 (rint_upward_test_data): Likewise.
13782
13783 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13784 with OVERFLOW_EXCEPTION.
13785 (exp10_test_data): Likewise.
13786 (exp2_test_data): Likewise.
13787 (expm1_test_data): Likewise.
13788 (lgamma_test_data): Likewise.
13789 (pow_test_data): Likewise.
13790 (tgamma_test_data): Likewise.
13791 (yn_test_data): Remove duplicate test of overflow.
13792
13793 * math/libm-test.inc (struct test_cc_c_data): New type.
13794 (RUN_TEST_LOOP_cc_c): New macro.
13795 (cpow_test_data): New variable.
13796 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13797
13798 * math/libm-test.inc (struct test_f_L_data): New type.
13799 (RUN_TEST_LOOP_f_L): New macro.
13800 (llrint_test_data): New variable.
13801 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13802 (llrint_tonearest_test_data): New variable.
13803 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13804 (llrint_towardzero_test_data): New variable.
13805 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13806 (llrint_downward_test_data): New variable.
13807 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13808 (llrint_upward_test_data): New variable.
13809 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13810 (llround_test_data): New variable.
13811 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13812
13813 2013-05-13 Peter Collingbourne <pcc@google.com>
13814
13815 * math/atest-exp2.c (get_log2): Remove const attribute.
13816
13817 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13818
13819 * math/libm-test.inc (struct test_f_l_data): New type.
13820 (RUN_TEST_LOOP_f_l): New macro.
13821 (lrint_test_data): New variable.
13822 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13823 (lrint_tonearest_test_data): New variable.
13824 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13825 (lrint_towardzero_test_data): New variable.
13826 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13827 (lrint_downward_test_data): New variable.
13828 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13829 (lrint_upward_test_data): New variable.
13830 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13831 (lround_test_data): New variable.
13832 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13833
13834 2013-05-15 Peter Collingbourne <pcc@google.com>
13835
13836 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13837 (EXTRACT_WORDS64) Use where appropriate.
13838 (INSERT_WORDS64) Likewise.
13839
13840 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13841 constraints with x constraints.
13842 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13843
13844 * malloc/obstack.c (_obstack_compat): Add initializer.
13845
13846 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13847
13848 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13849 si_trapno and add si_addr_lsb to _sifields.sigfault.
13850 (si_trapno): Remove macro.
13851 (si_addr_lsb): Define new macro.
13852 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13853
13854 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13855
13856 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13857 instead of TEST_f_l.
13858 (llrint_test_tonearest): Likewise.
13859 (llrint_test_towardzero): Likewise.
13860 (llrint_test_downward): Likewise.
13861 (llrint_test_upward): Likewise.
13862 (llround_test): Likewise.
13863
13864 * math/libm-test.inc (struct test_f_i_data): Add comment.
13865 (RUN_TEST_LOOP_f_b): New macro.
13866 (RUN_TEST_LOOP_f_b_tg): Likewise.
13867 (finite_test_data): New variable.
13868 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13869 (isfinite_test_data): New variable.
13870 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13871 (isinf_test_data): New variable.
13872 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13873 (isnan_test_data): New variable.
13874 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13875 (isnormal_test_data): New variable.
13876 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13877 (issignaling_test_data): New variable.
13878 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13879 (signbit_test_data): New variable.
13880 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13881
13882 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13883 with INVALID_EXCEPTION.
13884 (acosh_test_data): Likewise.
13885 (asin_test_data): Likewise.
13886 (atanh_test_data): Likewise.
13887 (fmod_test_data): Likewise.
13888 (log_test_data): Likewise.
13889 (log10_test_data): Likewise.
13890 (log2_test_data): Likewise.
13891 (pow_test_data): Likewise.
13892 (sqrt_test_data): Likewise.
13893 (y0_test_data): Likewise.
13894 (y1_test_data): Likewise.
13895 (yn_test_data): Likewise.
13896
13897 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13898 function contents.
13899
13900 * math/libm-test.inc (struct test_ff_i_data): New type.
13901 (RUN_TEST_LOOP_ff_i_tg): New macro.
13902 (isgreater_test_data): New variable.
13903 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13904 (isgreaterequal_test_data): New variable.
13905 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13906 (isless_test_data): New variable.
13907 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13908 (islessequal_test_data): New variable.
13909 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13910 (islessgreater_test_data): New variable.
13911 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13912 (isunordered_test_data): New variable.
13913 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13914
13915 2013-05-14 David S. Miller <davem@davemloft.net>
13916
13917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13918
13919 2013-05-14 Joseph Myers <joseph@codesourcery.com>
13920
13921 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13922
13923 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13924 extra_test to int.
13925 (struct test_f_i_data): Change type of max_ulp to int.
13926
13927 * math/libm-test.inc (test_ffI_f1_data): New type.
13928 (RUN_TEST_LOOP_ffI_f1): New macro.
13929 (remquo_test_data): New variable.
13930 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13931
13932 * setjmp/tst-setjmp-fp.c: New file.
13933 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13934 (link-libm): New variable.
13935 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13936
13937 * math/libm-test.inc (struct test_f_i_data): New type.
13938 (RUN_TEST_LOOP_f_i): New macro.
13939 (RUN_TEST_LOOP_f_i_tg): Likewise.
13940 (fpclassify_test_data): New variable.
13941 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13942 (ilogb_test_data): New variable.
13943 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13944
13945 * math/libm-test.inc (scalbln_test): Correct function name in END
13946 call.
13947
13948 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13949 (RUN_TEST_LOOP_fI_f1): New macro.
13950 (frexp_test_data): New variable.
13951 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13952
13953 * math/libm-test.inc (struct test_fF_f1_data): New type.
13954 (RUN_TEST_LOOP_fF_f1): New macro.
13955 (modf_test_data): New variable.
13956 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13957
13958 * math/libm-test.inc (struct test_f_f1_data): New type.
13959 (RUN_TEST_LOOP_f_f1): New macro.
13960 (gamma_test_data): New variable.
13961 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13962 (lgamma_test_data): New variable.
13963 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13964
13965 2013-05-13 Carlos O'Donell <carlos@redhat.com>
13966
13967 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13968 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13969 (main): Comment "tls" pseudo-hwcap.
13970
13971 2013-05-13 Joseph Myers <joseph@codesourcery.com>
13972
13973 * math/libm-test.inc (struct test_fl_f_data): New type.
13974 (RUN_TEST_LOOP_fl_f): New variable.
13975 (scalbln_test_data): New variable.
13976 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13977
13978 * math/libm-test.inc (struct test_fi_f_data): New type.
13979 (RUN_TEST_LOOP_fi_f): New macro.
13980 (ldexp_test_data): New variable.
13981 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13982 (scalbn_test_data): New variable.
13983 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13984
13985 * math/libm-test.inc (struct test_c_f_data): New type.
13986 (RUN_TEST_LOOP_c_f): New macro.
13987 (cabs_test_data): New variable.
13988 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13989 (carg_test_data): New variable.
13990 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13991 (cimag_test_data): New variable.
13992 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13993 (creal_test_data): New variable.
13994 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13995
13996 * math/libm-test.inc (struct test_if_f_data): New type.
13997 (RUN_TEST_LOOP_if_f): New macro.
13998 (jn_test_data): New variable.
13999 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14000 (yn_test_data): New variable.
14001 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14002
14003 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14004
14005 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14006
14007 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14008 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14009
14010 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14011
14012 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14013 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14014 (bench-deps): Add bench-timing.h.
14015 * benchtests-bench-skeleton.c: Include bench-timing.h.
14016 (main): Use TIMING_* macros instead of clock_gettime.
14017 * benchtests/bench-timing.h: New file.
14018
14019 [BZ #14582]
14020 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14021 Renamed from _LIB_VERSION.
14022 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14023
14024 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14025
14026 * math/libm-test.inc (struct test_fff_f_data): New type.
14027 (RUN_TEST_LOOP_fff_f): New macro.
14028 (fma_test_data): New variable.
14029 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14030 (fma_towardzero_test_data): New variable.
14031 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14032 (fma_downward_test_data): New variable.
14033 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14034 (fma_upward_test_data): New variable.
14035 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14036
14037 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14038 (struct test_c_c_data): New type.
14039 (RUN_TEST_LOOP_c_c): New macro.
14040 (cacos_test_data): New variable.
14041 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14042 (cacosh_test_data): New variable.
14043 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14044 (casin_test_data): New variable.
14045 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14046 (casinh_test_data): New variable.
14047 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14048 (catan_test_data): New variable.
14049 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14050 (catanh_test_data): New variable.
14051 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14052 (ccos_test_data): New variable.
14053 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14054 (ccosh_test_data): New variable.
14055 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14056 (cexp_test_data): New variable.
14057 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14058 (clog_test_data): New variable.
14059 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14060 (clog10_test_data): New variable.
14061 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14062 (conj_test_data): New variable.
14063 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14064 (cproj_test_data): New variable.
14065 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14066 (csin_test_data): New variable.
14067 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14068 (csinh_test_data): New variable.
14069 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14070 (csqrt_test_data): New variable.
14071 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14072 (ctan_test_data): New variable.
14073 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14074 (ctan_tonearest_test_data): New variable.
14075 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14076 (ctan_towardzero_test_data): New variable.
14077 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14078 (ctan_downward_test_data): New variable.
14079 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14080 (ctan_upward_test_data): New variable.
14081 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14082 (ctanh_test_data): New variable.
14083 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14084 (ctanh_tonearest_test_data): New variable.
14085 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14086 (ctanh_towardzero_test_data): New variable.
14087 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14088 (ctanh_downward_test_data): New variable.
14089 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14090 (ctanh_upward_test_data): New variable.
14091 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14092 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14093 of BUILD_COMPLEX.
14094
14095 * math/libm-test.inc (struct test_ff_f_data): New type.
14096 (struct test_ff_f_data_nexttoward): Likewise.
14097 (RUN_TEST_LOOP_2_f): New macro.
14098 (RUN_TEST_LOOP_ff_f): Likewise.
14099 (atan2_test_data): New variable.
14100 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14101 (copysign_test_data): New variable.
14102 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14103 (fdim_test_data): New variable.
14104 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14105 (fmax_test_data): New variable.
14106 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14107 (fmin_test_data): New variable.
14108 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14109 (fmod_test_data): New variable.
14110 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14111 (hypot_test_data): New variable.
14112 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14113 (nextafter_test_data): New variable.
14114 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14115 (nexttoward_test_data): New variable.
14116 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14117 (pow_test_data): New variable.
14118 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14119 (pow_tonearest_test_data): New variable.
14120 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14121 (pow_towardzero_test_data): New variable.
14122 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14123 (pow_downward_test_data): New variable.
14124 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14125 (pow_upward_test_data): New variable.
14126 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14127 (remainder_test_data): New variable.
14128 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14129 (scalb_test_data): New variable.
14130 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14131 * sysdeps/i386/fpu/libm-test-ulps: Update.
14132
14133 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14134
14135 * math/libm-test.inc (fma_test): Use max_value instead of local
14136 variable fltmax.
14137 (nextafter_test): Likewise.
14138
14139 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14140 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14141 (acos_downward_test_data): New variable.
14142 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14143 (acos_upward_test_data): New variable.
14144 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14145 (acosh_test_data): New variable.
14146 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14147 (asin_test_data): New variable.
14148 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14149 (asin_tonearest_test_data): New variable.
14150 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14151 (asin_towardzero_test_data): New variable.
14152 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14153 (asin_downward_test_data): New variable.
14154 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14155 (asin_upward_test_data): New variable.
14156 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14157 (asinh_test_data): New variable.
14158 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14159 (atan_test_data): New variable.
14160 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14161 (atanh_test_data): New variable.
14162 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14163 (cbrt_test_data): New variable.
14164 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14165 (ceil_test_data): New variable.
14166 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14167 (cos_test_data): New variable.
14168 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14169 (cos_tonearest_test_data): New variable.
14170 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14171 (cos_towardzero_test_data): New variable.
14172 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14173 (cos_downward_test_data): New variable.
14174 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14175 (cos_upward_test_data): New variable.
14176 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14177 (cosh_test_data): New variable.
14178 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14179 (cosh_tonearest_test_data): New variable.
14180 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14181 (cosh_towardzero_test_data): New variable.
14182 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14183 (cosh_downward_test_data): New variable.
14184 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14185 (cosh_upward_test_data): New variable.
14186 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14187 (erf_test_data): New variable.
14188 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14189 (erfc_test_data): New variable.
14190 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14191 (exp_test_data): New variable.
14192 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14193 (exp_tonearest_test_data): New variable.
14194 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14195 (exp_towardzero_test_data): New variable.
14196 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14197 (exp_downward_test_data): New variable.
14198 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14199 (exp_upward_test_data): New variable.
14200 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14201 (exp10_test_data): New variable.
14202 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14203 (exp2_test_data): New variable.
14204 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14205 (expm1_test_data): New variable.
14206 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14207 (fabs_test_data): New variable.
14208 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14209 (floor_test_data): New variable.
14210 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14211 (j0_test_data): New variable.
14212 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14213 (j1_test_data): New variable.
14214 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14215 (log_test_data): New variable.
14216 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14217 (log10_test_data): New variable.
14218 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14219 (log1p_test_data): New variable.
14220 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14221 (log2_test_data): New variable.
14222 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14223 (logb_test_data): New variable.
14224 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14225 (logb_downward_test_data): New variable.
14226 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14227 (nearbyint_test_data): New variable.
14228 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14229 (rint_test_data): New variable.
14230 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14231 (rint_tonearest_test_data): New variable.
14232 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14233 (rint_towardzero_test_data): New variable.
14234 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14235 (rint_downward_test_data): New variable.
14236 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14237 (rint_upward_test_data): New variable.
14238 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14239 (round_test_data): New variable.
14240 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14241 (sin_test_data): New variable.
14242 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14243 (sin_tonearest_test_data): New variable.
14244 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14245 (sin_towardzero_test_data): New variable.
14246 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14247 (sin_downward_test_data): New variable.
14248 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14249 (sin_upward_test_data): New variable.
14250 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14251 (sinh_test_data): New variable.
14252 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14253 (sinh_tonearest_test_data): New variable.
14254 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14255 (sinh_towardzero_test_data): New variable.
14256 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14257 (sinh_downward_test_data): New variable.
14258 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14259 (sinh_upward_test_data): New variable.
14260 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14261 (sqrt_test_data): New variable.
14262 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14263 (tan_test_data): New variable.
14264 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14265 (tan_tonearest_test_data): New variable.
14266 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14267 (tan_towardzero_test_data): New variable.
14268 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14269 (tan_downward_test_data): New variable.
14270 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14271 (tan_upward_test_data): New variable.
14272 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14273 (tanh_test_data): New variable.
14274 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14275 (tgamma_test_data): New variable.
14276 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14277 (trunc_test_data): New variable.
14278 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14279 (y0_test_data): New variable.
14280 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14281 (y1_test_data): New variable.
14282 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14283 (significand_test_data): New variable.
14284 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14285
14286 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14287
14288 [BZ #12387]
14289 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14290
14291 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14292
14293 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14294
14295 2013-05-10 Andreas Jaeger <aj@suse.de>
14296
14297 [BZ #15448]
14298 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14299 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14300
14301 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14302
14303 * math/gen-libm-test.pl (adjust_arg): New function.
14304 (special_functions): Handle generating output in both functions
14305 and arrays.
14306 (parse_args): Likewise.
14307 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14308 $in_func argument to parse_args.
14309 * math/libm-test.inc (struct test_f_f_data): New type.
14310 (IF_ROUND_INIT_): New macro.
14311 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14312 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14313 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14314 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14315 (ROUND_RESTORE_): Likewise.
14316 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14317 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14318 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14319 (ROUND_RESTORE_FE_UPWARD): Likewise.
14320 (RUN_TEST_LOOP_f_f): New macro.
14321 (acos_test_data): New variable.
14322 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14323 (acos_tonearest_test_data): New variable.
14324 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14325
14326 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14327
14328 * benchtests/bench-skeleton.c (startup): Fix coding style.
14329
14330 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14331
14332 [BZ #6809]
14333 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14334 negative infinity argument.
14335 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14336 negative infinity argument.
14337 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14338 negative infinity argument.
14339 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14340 domain errors.
14341
14342 2013-05-10 Florian Weimer <fweimer@redhat.com>
14343
14344 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14345 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14346 * iconv/iconv_prog.c (main): Likewise.
14347 * locale/programs/charmap-dir.c (charmap_readdir)
14348 (fopen_uncompressed): Likewise.
14349 * locale/programs/locfile.c (siblings_uncached)
14350 (write_locale_data): Use lstat64 instead of lstat.
14351 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14352 stat.
14353
14354 2013-05-10 Andreas Jaeger <aj@suse.de>
14355
14356 [BZ #15395]
14357 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14358 localization.
14359 Include <locale.h>.
14360
14361 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14362
14363 * elf/dl-close.c (_dl_close_worker): Add comments.
14364
14365 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14366
14367 [BZ #15359]
14368 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14369 high part of pi/2.
14370 (__ieee754_rem_pio2l): Update comments.
14371
14372 [BZ #15429]
14373 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14374 high part of pi/2.
14375 (__ieee754_rem_pio2l): Update comments.
14376
14377 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14378 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14379
14380 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14381 M_PI_4l.
14382
14383 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14384 (M_PI_34_LOG10El): Likewise.
14385 (M_PI2_LOG10El): Likewise.
14386 (M_PI4_LOG10El): Likewise.
14387 (M_PI_LOG10El): Likewise.
14388
14389 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14390
14391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14392
14393 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14394
14395 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14396 (MINUS_ZERO_INIT): Likewise.
14397 (PLUS_INFTY_INIT): Likewise.
14398 (MINUS_INFTY_INIT): Likewise.
14399 (QNAN_VALUE_INIT): Likewise.
14400 (MAX_VALUE_INIT): Likewise.
14401 (MIN_VALUE_INIT): Likewise.
14402 (MIN_SUBNORM_VALUE_INIT): Likewise.
14403 (plus_zero): Initialize with PLUS_ZERO_INIT.
14404 (minus_zero): Initialize with MINUS_ZERO_INIT.
14405 (plus_infty): Initialize with PLUS_INFTY_INIT.
14406 (minus_infty): Initialize with MINUS_INFTY_INIT.
14407 (qnan_value): Initialize with QNAN_VALUE_INIT.
14408 (max_value): Initialize with MAX_VALUE_INIT.
14409 (min_value): Initialize with MIN_VALUE_INIT.
14410 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14411
14412 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14413 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14414 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14415 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14416
14417 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14418 (RUN_TEST_2_f): Likewise.
14419 (RUN_TEST_ff_f): Likewise.
14420 (RUN_TEST_fi_f): Likewise.
14421 (RUN_TEST_fl_f): Likewise.
14422 (RUN_TEST_fff_f): Likewise.
14423 (RUN_TEST_c_f): Likewise.
14424 (RUN_TEST_f_f1): Likewise.
14425 (RUN_TEST_fF_f1): Likewise.
14426 (RUN_TEST_fI_f1): Likewise.
14427 (RUN_TEST_ffI_f1): Likewise.
14428 (RUN_TEST_c_c): Likewise.
14429 (RUN_TEST_cc_c): Likewise.
14430 (RUN_TEST_f_i): Likewise.
14431 (RUN_TEST_f_i_tg): Likewise.
14432 (RUN_TEST_ff_i_tg): Likewise.
14433 (RUN_TEST_f_b): Likewise.
14434 (RUN_TEST_f_b_tg): Likewise.
14435 (RUN_TEST_f_l): Likewise.
14436 (RUN_TEST_f_L): Likewise.
14437 (RUN_TEST_sincos): Likewise.
14438 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14439 whether to show exceptions. Do not include ");\n" in return
14440 value.
14441 (special_functions): Output call to RUN_TEST_sincos instead of
14442 check_float calls. Update calls to new_test.
14443 (parse_args): Output call to single RUN_TEST_* macro instead of
14444 check_* calls and other assignments. Update calls to new_test.
14445
14446 [BZ #2546]
14447 [BZ #2560]
14448 [BZ #5159]
14449 [BZ #15426]
14450 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14451 input to result for tgamma overflow.
14452 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14453 (gamma_coeff): New variable.
14454 (NCOEFF): New macro.
14455 (gamma_positive): New function.
14456 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14457 underflow here. Use gamma_positive instead of exp (lgamma) for
14458 other arguments.
14459 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14460 (gamma_coeff): New variable.
14461 (NCOEFF): New macro.
14462 (gammaf_positive): New function.
14463 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14464 underflow here. Use gamma_positive instead of exp (lgamma) for
14465 other arguments.
14466 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14467 (gamma_coeff): New variable.
14468 (NCOEFF): New macro.
14469 (gammal_positive): New function.
14470 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14471 underflow here. Use gamma_positive instead of exp (lgamma) for
14472 other arguments.
14473 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14474 (gamma_coeff): New variable.
14475 (NCOEFF): New macro.
14476 (gammal_positive): New function.
14477 (__ieee754_gammal_r): Handle positive infinity, overflow and
14478 underflow here. Handle NaN the same as positive infinity. Remove
14479 check x < 0xffffffff for negative integers. Use gamma_positive
14480 instead of exp (lgamma) for other arguments.
14481 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14482 (gamma_coeff): New variable.
14483 (NCOEFF): New macro.
14484 (gammal_positive): New function.
14485 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14486 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14487 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14488 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14489 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14490 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14491 * sysdeps/generic/math_private.h (__gamma_productf): New
14492 prototype.
14493 (__gamma_product): Likewise.
14494 (__gamma_productl): Likewise.
14495 * math/Makefile (libm-calls): Add gamma_product.
14496 * math/libm-test.inc (tgamma_test): Add more tests.
14497 * sysdeps/i386/fpu/libm-test-ulps: Update.
14498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14499
14500 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14501
14502 * benchtests/bench-skeleton.c (main): Preheat CPU.
14503
14504 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14505
14506 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14507
14508 2013-05-07 Roland McGrath <roland@hack.frob.com>
14509
14510 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14511 and _dl_skip_args_internal.
14512
14513 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14514
14515 * manual/message.texi (Message Translation): Talk about users.
14516 Message to key mapping impacts design.
14517
14518 2013-05-06 Roland McGrath <roland@hack.frob.com>
14519
14520 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14521
14522 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14523
14524 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14525 * sysdeps/wordsize-64/glob64.c: ... here.
14526
14527 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14528 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14529 New macros.
14530
14531 * debug/getlogin_r_chk.c: Moved to ...
14532 * login/getlogin_r_chk.c: ... here.
14533 * debug/Makefile (routines): Move getlogin_r_chk to ...
14534 * login/Makefile (routines): ... here.
14535 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14536 * login/Versions (libc: GLIBC_2.4): ... here.
14537
14538 * io/poll.c (__poll): Renamed from poll.
14539 Add libc_hidden_def.
14540 (poll): Define as weak alias.
14541
14542 * debug/ptsname_r_chk.c: Moved to ...
14543 * login/ptsname_r_chk.c: ... here.
14544 * debug/Makefile (routines): Move ptsname_r_chk to ...
14545 * login/Makefile (routines): ... here.
14546 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14547 * login/Versions (libc: GLIBC_2.4): ... here.
14548
14549 * posix/getlogin.c: Moved to ...
14550 * login/getlogin.c: ... here.
14551 * posix/getlogin_r.c: Moved to ...
14552 * login/getlogin_r.c: ... here.
14553 * posix/getlogin_r.c: Moved to ...
14554 * login/getlogin_r.c: ... here.
14555 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14556 * login/Makefile (routines): ... here.
14557 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14558 * login/Versions (libc: GLIBC_2.0): ... here.
14559
14560 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14561 (setrlimit): Define as weak alias.
14562
14563 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14564 Call __ names for open, ftruncate, and close.
14565 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14566 (truncate): Define as weak alias.
14567
14568 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14569
14570 * math/gen-libm-test.pl (parse_args): Initialize x before each
14571 test of frexp, modf and remquo.
14572
14573 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14574 test signgam value.
14575
14576 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14577
14578 [BZ #15418]
14579 [BZ #15419]
14580 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14581 internal tests.
14582 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14583
14584 2013-05-06 Roland McGrath <roland@hack.frob.com>
14585
14586 * elf/dl-writev.h: New file.
14587 * elf/dl-misc.c: Include it.
14588 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14589 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14590
14591 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14592
14593 * math/libm-test.inc (noXFails): Remove variable.
14594 (noXPasses): Likewise.
14595 (BUILD_COMPLEX_INT): Remove macro.
14596 (print_screen): Remove xfail argument.
14597 (print_screen_max_error): Likewise.
14598 (update_stats): Likewise.
14599 (print_max_error): Likewise. Update calls to other affected
14600 functions.
14601 (print_complex_max_error): Likewise.
14602 (test_single_exception): Update calls to print_screen.
14603 (test_single_errno): Likewise.
14604 (check_float_internal): Remove xfail argument. Update calls to
14605 other affected functions.
14606 (check_float): Likewise.
14607 (check_complex): Likewise.
14608 (check_int): Likewise.
14609 (check_long): Likewise.
14610 (check_bool): Likewise.
14611 (check_longlong): Likewise.
14612 (main): Don't print noXFails and noXPasses.
14613 * math/gen-libm-test.pl (top level): Don't mention expected
14614 failure handling in comment.
14615 (new_test): Don't handle expected failures.
14616 (parse_args): Don't mention expected failure handling in comment.
14617 (generate_testfile): Don't handle expected failures.
14618 (parse_ulps): Likewise.
14619 (print_ulps_file): Likewise.
14620 (get_failure): Remove function.
14621 (output_test): Don't handle expected failures.
14622 * make/README.libm-test: Don't mention expected failure handling.
14623
14624 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14625 (minus_zero): Likewise.
14626 (plus_infty): Likewise.
14627 (minus_infty): Likewise.
14628 (qnan_value): Likewise.
14629 (max_value): Likewise.
14630 (min_value): Likewise.
14631 (min_subnorm_value): Likewise.
14632 (initialize): Do not initialize those variables dynamically.
14633
14634 2013-05-03 Roland McGrath <roland@hack.frob.com>
14635
14636 * io/open.c (__open_2): Moved to ...
14637 * io/open_2.c: ... this new file.
14638 * io/open64.c (__open64_2): Moved to ...
14639 * io/open64_2.c: ... this new file.
14640 * io/openat.c (__openat_2): Moved to ...
14641 * io/openat_2.c: ... this new file.
14642 * io/openat64.c (__openat64_2): Moved to ...
14643 * io/openat64_2.c: ... this new file.
14644 * io/Makefile (routines): Add them.
14645 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14646 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14647 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14648 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14649 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14650 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14651 (__openat64): Add hidden_ver.
14652 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14653 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14654
14655 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14656 Separately conditionalize setting of GLRO(dl_sysinfo) so
14657 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14658 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14659
14660 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14661
14662 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14663 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14664 definition.
14665 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14666 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14667 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14668 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14669 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14670
14671 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14672
14673 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14674 test signgam value.
14675
14676 * math/libm-test.inc (hypot_test): Do not use
14677 IGNORE_ZERO_INF_SIGN.
14678
14679 2013-05-03 Andreas Jaeger <aj@suse.de>
14680
14681 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14682 Linux 3.9.
14683 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14684 (PF_MAX): Adjust for VSOCK change.
14685
14686 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14687
14688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14689
14690 2013-05-02 Carlos O'Donell <carlos@redhat.com>
14691
14692 [BZ #15264]
14693 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14694 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14695 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14696
14697 2013-05-02 David S. Miller <davem@davemloft.net>
14698
14699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14700
14701 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
14702
14703 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14704
14705 2013-05-01 Roland McGrath <roland@hack.frob.com>
14706
14707 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14708
14709 2013-05-01 Richard Smith <richard@metafoo.co.uk>
14710
14711 [BZ #14952]
14712 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14713 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14714 Use __attribute__ ((__gnu_inline__)).
14715 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14716 Don't use __attribute__ ((__gnu_inline__)).
14717
14718 2013-05-01 Joseph Myers <joseph@codesourcery.com>
14719
14720 [BZ #15423]
14721 * math/s_catan.c (__catan): Handle small real or imaginary part of
14722 input specially to avoid spurious underflow.
14723 * math/s_catanf.c (__catanf): Likewise.
14724 * math/s_catanh.c (__catanh): Likewise.
14725 * math/s_catanhf.c (__catanhf): Likewise.
14726 * math/s_catanhl.c (__catanhl): Likewise.
14727 * math/s_catanl.c (__catanl): Likewise.
14728 * math/libm-test.inc (catan_test): Add more tests.
14729 (catanh_test): Likewise.
14730 * sysdeps/i386/fpu/libm-test-ulps: Update.
14731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14732
14733 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14734
14735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14736
14737 2013-04-30 Joseph Myers <joseph@codesourcery.com>
14738
14739 [BZ #15416]
14740 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14741 accurately for denominator in atan2.
14742 * math/s_catanf.c (__catanf): Likewise.
14743 * math/s_catanh.c (__catanh): Likewise.
14744 * math/s_catanhf.c (__catanhf): Likewise.
14745 * math/s_catanhl.c (__catanhl): Likewise.
14746 * math/s_catanl.c (__catanl): Likewise.
14747 * math/libm-test.inc (catan_test): Add more tests.
14748 (catanh_test): Likewise.
14749 * sysdeps/i386/fpu/libm-test-ulps: Update.
14750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14751
14752 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14753
14754 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14755
14756 * benchtests/Makefile (bench): Remove slow benchmarks.
14757 * benchtests/atan-inputs: Add slow benchmark inputs.
14758 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14759 (BENCH_FUNC): Accept variant offset.
14760 (VARIANT): Define.
14761 * benchtests/bench-skeleton.c (main): Run benchmark for each
14762 variant.
14763 * benchtests/cos-inputs: Add slow benchmark inputs.
14764 * benchtests/exp-inputs: Likewise.
14765 * benchtests/pow-inputs: Likewise.
14766 * benchtests/sin-inputs: Likewise.
14767 * benchtests/slowatan-inputs: Remove.
14768 * benchtests/slowatan.c: Remove.
14769 * benchtests/slowcos-inputs: Remove.
14770 * benchtests/slowcos.c: Remove.
14771 * benchtests/slowexp-inputs: Remove.
14772 * benchtests/slowexp.c: Remove.
14773 * benchtests/slowpow-inputs: Remove.
14774 * benchtests/slowpow.c: Remove.
14775 * benchtests/slowsin-inputs: Remove.
14776 * benchtests/slowsin.c: Remove.
14777 * benchtests/slowtan-inputs: Remove.
14778 * benchtests/slowtan.c: Remove.
14779 * benchtests/tan-inputs: Add slow benchmark inputs.
14780 * scripts/bench.pl: Parse comments and directives.
14781
14782 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14783 in CPPFLAGS.
14784 ($(objpfx)bench-%.c): Remove *-ITER.
14785 * benchtests/bench-modf.c: Remove definition of ITER.
14786 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14787 (main): Loop for DURATION seconds instead of fixed number of
14788 iterations.
14789 * scripts/bench.pl: Don't expect iterations in parameters.
14790
14791 2013-04-29 Roland McGrath <roland@hack.frob.com>
14792
14793 * io/fchdir.c (__fchdir): Renamed from fchdir.
14794 (fchdir): Define as weak alias.
14795
14796 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14797
14798 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14799 (ERRNO_EDOM): Likewise.
14800 (ERRNO_ERANGE): Likewise.
14801 (noErrnoTests): New variable.
14802 (init_max_error): Set errno to 0.
14803 (test_single_errno): New function.
14804 (test_errno): Likewise.
14805 (check_float_internal): Call test_errno. Set errno to 0.
14806 (check_complex): Refer to errno tests in comment.
14807 (check_int): Call test_errno. Set errno to 0.
14808 (check_long): Likewise.
14809 (check_bool): Likewise.
14810 (check_longlong): Likewise.
14811 (cos_test): Use ERRNO_* flags for errno tests instead of
14812 check_int.
14813 (expm1_test): Likewise.
14814 (fmod_test): Likewise.
14815 (ilogb_test): Likewise.
14816 (lgamma_test): Likewise.
14817 (pow_test): Likewise.
14818 (remainder_test): Likewise.
14819 (sin_test): Likewise.
14820 (tan_test): Likewise.
14821 (yn_test): Likewise.
14822 (initialize): Set errno to 0.
14823 (main): Print number of errno tests.
14824 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14825
14826 2013-04-29 Andreas Jaeger <aj@suse.de>
14827
14828 [BZ #15084]
14829 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14830 and RES_USEVC.
14831
14832 [BZ #15085]
14833 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14834 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14835 unimplemented.
14836
14837 [BZ #15380]
14838 * stdlib/random.c (__initstate): Return NULL if
14839 __initstate fails.
14840
14841 [BZ #15086]
14842 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14843 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14844 RES_SNGLKUPREOP.
14845
14846 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14847
14848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14849
14850 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14851
14852 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14853 of individual tests.
14854 (casin_test): Likewise.
14855 (casinh_test): Likewise.
14856
14857 2013-04-27 Joseph Myers <joseph@codesourcery.com>
14858
14859 [BZ #15409]
14860 * math/s_catan.c (__catan): Handle arguments with large real or
14861 imaginary part separately without squaring.
14862 * math/s_catanf.c (__catanf): Likewise.
14863 * math/s_catanh.c (__catanh): Likewise.
14864 * math/s_catanhf.c (__catanhf): Likewise.
14865 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14866 and redefine.
14867 (__catanhl): Handle arguments with large real or imaginary part
14868 separately without squaring.
14869 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14870 and redefine.
14871 (__catanl): Handle arguments with large real or imaginary part
14872 separately without squaring.
14873 * math/libm-test.inc (catan_test): Add more tests.
14874 (catanh_test): Likewise.
14875 * sysdeps/i386/fpu/libm-test-ulps: Update.
14876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14877
14878 2013-04-27 Andreas Jaeger <aj@suse.de>
14879
14880 [BZ #15007]
14881 * stdlib/stdlib.h: Update guards for qecvt.
14882 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14883 <stdlib.h>.
14884
14885 2013-04-27 Allan McRae <allan@archlinux.org>
14886
14887 * sysdeps/i386/fpu/libm-test-ulps: Update.
14888
14889 2013-04-26 Joseph Myers <joseph@codesourcery.com>
14890
14891 [BZ #15406]
14892 * math/s_catan.c: Include <float.h>.
14893 (__catan): Ensure underflow exception occurs for underflowed
14894 result.
14895 * math/s_catanf.c: Include <float.h>.
14896 (__catanf): Ensure underflow exception occurs for underflowed
14897 result.
14898 * math/s_catanh.c: Include <float.h>.
14899 (__catanh): Ensure underflow exception occurs for underflowed
14900 result.
14901 * math/s_catanhf.c: Include <float.h>.
14902 (__catanhf): Ensure underflow exception occurs for underflowed
14903 result.
14904 * math/s_catanhl.c: Include <float.h>.
14905 (__catanhl): Ensure underflow exception occurs for underflowed
14906 result.
14907 * math/s_catanl.c: Include <float.h>.
14908 (__catanl): Ensure underflow exception occurs for underflowed
14909 result.
14910 * math/libm-test.inc (catan_test): Add more tests.
14911 (catanh_test): Likewise.
14912
14913 [BZ #15405]
14914 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14915 underflowed result.
14916 * math/s_ccoshf.c (__ccoshf): Likewise.
14917 * math/s_ccoshl.c (__ccoshl): Likewise.
14918 * math/s_csin.c (__csin): Likewise.
14919 * math/s_csinf.c (__csinf): Likewise.
14920 * math/s_csinh.c (__csinh): Likewise.
14921 * math/s_csinhf.c (__csinhf): Likewise.
14922 * math/s_csinhl.c (__csinhl): Likewise.
14923 * math/s_csinl.c (__csinl): Likewise.
14924 * math/libm-test.inc (ccos_test): Add more tests.
14925 (ccosh_test): Likewise.
14926 (csin_test): Likewise.
14927 (csinh_test): Likewise.
14928
14929 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14930
14931 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14932 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14933 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14934 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14935 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14936 powerpc/power5+/fpu folders.
14937 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14938
14939
14940 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14941
14942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14943
14944 2013-04-25 Joseph Myers <joseph@codesourcery.com>
14945
14946 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14947 additions to variable.
14948 [$(config-machine) = x86_64] (modules-names): Likewise.
14949 ($(objpfx)tst-audit3): Remove dependency.
14950 ($(objpfx)tst-audit3.out): Likewise.
14951 ($(objpfx)tst-audit4): Likewise.
14952 ($(objpfx)tst-audit4.out): Likewise.
14953 ($(objpfx)tst-audit5): Likewise.
14954 ($(objpfx)tst-audit5.out): Likewise.
14955 ($(objpfx)tst-audit6): Likewise.
14956 ($(objpfx)tst-audit6.out): Likewise.
14957 ($(objpfx)tst-audit7): Likewise.
14958 ($(objpfx)tst-audit7.out): Likewise.
14959 (tst-audit3-ENV): Remove variable.
14960 (tst-audit4-ENV): Likewise.
14961 (tst-audit5-ENV): Likewise.
14962 (tst-audit6-ENV): Likewise.
14963 (tst-audit7-ENV): Likewise.
14964 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14965 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14966 addition to variable.
14967 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14968 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14969 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14970 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14971 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14972 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14973 tst-audit3, tst-audit4 and tst-audit5.
14974 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14975 tst-audit6 and tst-audit7.
14976 [$(subdir) = elf] (modules-names): Add audit modules for those
14977 tests.
14978 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14979 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14980 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14981 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14982 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14983 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14984 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14985 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14986 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14987 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14988 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14989 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14990 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14991 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14992 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14993 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14994 Likewise.
14995 [$(subdir) = elf && $(config-cflags-avx) = yes]
14996 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14997 [$(subdir) = elf && $(config-cflags-avx) = yes]
14998 (CFLAGS-tst-auditmod4a.c): Likewise.
14999 [$(subdir) = elf && $(config-cflags-avx) = yes]
15000 (CFLAGS-tst-auditmod4b.c): Likewise.
15001 [$(subdir) = elf && $(config-cflags-avx) = yes]
15002 (CFLAGS-tst-auditmod6b.c): Likewise.
15003 [$(subdir) = elf && $(config-cflags-avx) = yes]
15004 (CFLAGS-tst-auditmod6c.c): Likewise.
15005 [$(subdir) = elf && $(config-cflags-avx) = yes]
15006 (CFLAGS-tst-auditmod7b.c): Likewise.
15007 * elf/tst-audit3.c: Move to ...
15008 * sysdeps/x86_64/tst-audit3.c: ... here.
15009 * elf/tst-audit4.c: Move to ...
15010 * sysdeps/x86_64/tst-audit4.c: ... here.
15011 * elf/tst-audit5.c: Move to ...
15012 * sysdeps/x86_64/tst-audit5.c: ... here.
15013 * elf/tst-audit6.c: Move to ...
15014 * sysdeps/x86_64/tst-audit6.c: ... here.
15015 * elf/tst-audit7.c: Move to ...
15016 * sysdeps/x86_64/tst-audit7.c: ... here.
15017 * elf/tst-auditmod3a.c: Move to ...
15018 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15019 * elf/tst-auditmod3b.c: Move to ...
15020 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15021 * elf/tst-auditmod4a.c: Move to ...
15022 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15023 * elf/tst-auditmod4b.c: Move to ...
15024 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15025 * elf/tst-auditmod5a.c: Move to ...
15026 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15027 * elf/tst-auditmod5b.c: Move to ...
15028 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15029 * elf/tst-auditmod6a.c: Move to ...
15030 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15031 * elf/tst-auditmod6b.c: Move to ...
15032 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15033 * elf/tst-auditmod6c.c: Move to ...
15034 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15035 * elf/tst-auditmod7a.c: Move to ...
15036 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15037 * elf/tst-auditmod7b.c: Move to ...
15038 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15039
15040 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15041
15042 [BZ #15366]
15043 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15044 define unconditionally.
15045 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15046 define unconditionally.
15047 (INT8_C, INT16_C, etc.): Likewise.
15048
15049 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15050
15051 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15052 __ehdr_start with hidden visibility.
15053
15054 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15055
15056 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15057
15058 * math/libm-test.inc (cos_test): Use accurate hex constants.
15059 (sincost_test): Likewise.
15060
15061 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15062
15063 * math/libm-test.inc (catan_test): Add more tests.
15064 (catanh_test): Likewise.
15065
15066 * math/s_catanf.c (__catanf): Use suffixed floating-point
15067 constants.
15068 * math/s_catanhf.c (__catanhf): Likewise.
15069 * math/s_catanhl.c (__catanhl): Likewise.
15070 * math/s_catanl.c (__catanl): Likewise.
15071
15072 [BZ #15394]
15073 * math/s_catan.c (__catan): Calculate imaginary part of result
15074 with log1p not log unless computing log of number close to 0.
15075 * math/s_catanf.c (__catanf): Likewise.
15076 * math/s_catanl.c (__catanl): Likewise.
15077 * math/s_catanh.c (__catanh): Calculate real part of result with
15078 log1p not log unless computing log of number close to 0.
15079 * math/s_catanhf.c (__catanhf): Likewise.
15080 * math/s_catanhl.c (__catanhl): Likewise.
15081 * math/libm-test.inc (catan_test): Add more tests.
15082 (catanh_test): Likewise.
15083 * sysdeps/i386/fpu/libm-test-ulps: Update.
15084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15085
15086 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15087
15088 * benchtests/Makefile: Mention files in which fast and slow
15089 paths of math functions are implemented.
15090
15091 2013-04-23 Roland McGrath <roland@hack.frob.com>
15092
15093 * sysdeps/posix/timespec_get.c: New file.
15094
15095 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15096
15097 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15098 POWER.
15099 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15100 for POWER.
15101 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15102 powerpc/power5/fpu folders.
15103 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15104 * benchtests/Makefile: Add modf testcase.
15105 * benchtests/bench-modf.c: New file: Benchmark test for mo
15106
15107 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15108
15109 [BZ #14888]
15110 * time/Makefile (tests): Add tst-strptime-whitespace.
15111 * time/strptime_l.c (get_number): Use ISSPACE.
15112 (__strptime_internal): Likewise.
15113 * time/tst-strptime-whitespace.c: New test case.
15114
15115 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15116
15117 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15118 member.
15119 (_nss_files_init): Set it here.
15120
15121 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15122
15123 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15124 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15125 unsigned.
15126
15127 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15128
15129 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15130
15131 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15132
15133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15134 size just once.
15135
15136 2013-04-21 David S. Miller <davem@davemloft.net>
15137
15138 * po/ru.po: Update Russion translation from translation project.
15139
15140 2013-04-17 Adam Conrad <adconrad@0c3.net>
15141
15142 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15143 and setfsgid.
15144
15145 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15146
15147 * configure.in: Remove i386 configure warning. Remove i386 case.
15148 * configure: Regenerate.
15149 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15150 Add example to error message.
15151 * sysdeps/i386/configure: Regenerate.
15152
15153 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15154
15155 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15156 slowtan.
15157 * benchtests/cos-inputs: New file.
15158 * benchtests/slowcos-inputs: New file.
15159 * benchtests/slowcos.c: New file.
15160 * benchtests/slowtan-inputs: New file.
15161 * benchtests/slowtan.c: New file.
15162 * benchtests/tan-inputs: New file.
15163
15164 2013-04-16 Roland McGrath <roland@hack.frob.com>
15165
15166 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15167 considered kosher.
15168
15169 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15170
15171 * benchtests/Makefile: Include cppflags-iterator.mk to add
15172 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15173
15174 * Makefile.in (bench-clean): New target.
15175 * benchtests/Makefile (bench-clean): Likewise.
15176
15177 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15178
15179 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15180
15181 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15182
15183 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15184
15185 2013-04-15 Andreas Schwab <schwab@suse.de>
15186
15187 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15188 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15189 * nscd/pwdcache.c (cache_addpw): Likewise.
15190 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15191 more than recsize.
15192
15193 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15194
15195 * benchtests/Makefile (bench): Write all output to
15196 bench-out.tmp together.
15197
15198 2013-04-15 Andreas Schwab <schwab@suse.de>
15199
15200 * nscd/nscd.c (main): Don't fork again after closing files.
15201
15202 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15203
15204 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15205
15206 * benchtests/Rules (bench-deps): Collect dependencies into a
15207 single variable. Add Makefile to dependencies.
15208 ($(objpfx)bench-%.c): Depend on bench-deps.
15209
15210 2013-04-12 Roland McGrath <roland@hack.frob.com>
15211 Xavier Roche <roche+kml2@exalead.com>
15212
15213 [BZ #15361]
15214 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15215 just that it's a file descriptor.
15216 * manual/llio.texi (Synchronizing AIO Operations): Update description
15217 for EBADF error from aio_fsync.
15218
15219 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15220
15221 * Rules (bench): Move target definition...
15222 * benchtests/Makefile: ... here.
15223
15224 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15225
15226 * math/libm-test.inc (cos_test): Fix PI/2 test.
15227 (sincos_test): Likewise.
15228 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15229 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15230
15231 2013-04-11 Andreas Schwab <schwab@suse.de>
15232
15233 [BZ #13988]
15234 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15235 accept exponent character only when digits were seen.
15236 * stdio-common/Makefile (tests): Add bug26.
15237 * stdio-common/bug26.c: New file.
15238
15239 [BZ #14293]
15240 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15241 non-freeable.
15242
15243 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15244
15245 * Makeconfig (rtld-prefix): Define built linker prefix.
15246 * Rules (run-bench): Use it.
15247 * math/Makefile (run-regen-ulps): Likewise.
15248
15249 * Rules (bench): Remove eval.
15250
15251 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15252 Roland McGrath <roland@hack.frob.com>
15253 Ondrej Bilka <neleai@seznam.cz>
15254
15255 [BZ #15346]
15256 * time/getdate.c: Include ctype.h and alloca.h.
15257 (__getdate_r): Trim leading and trailing spaces of input.
15258 * time/tst-getdate.c (tests): Add tests with leading and
15259 trailing spaces.
15260
15261 2013-04-08 Roland McGrath <roland@hack.frob.com>
15262
15263 [BZ #14280]
15264 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15265 when computing value.
15266
15267 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15268
15269 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15270 Use testrun.sh to run libm tests.
15271
15272 [BZ #15309]
15273 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15274
15275 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15276
15277 [BZ #15264]
15278 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15279
15280 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15281
15282 * Makefile.in (regen-ulps): New target.
15283 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15284 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15285 [ifneq (no,$(PERL)] (regen-ulps): New target.
15286 [ifeq (no,$(PERL)] (regen-ulps): New target.
15287 * math/libm-test.inc (ulps_file_name): Define.
15288 (output_dir): New variable.
15289 (options): Add "output-dir" option.
15290 (parse_opt): Handle 'o' case.
15291 (main): If output_dir is non-NULL use it as a prefix
15292 otherwise use "".
15293 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15294
15295 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15296
15297 [BZ #10060, #10062]
15298 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15299 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15300 fail configure if __sync_val_compare_and_swap is not inlined.
15301 * sysdeps/i386/configure: Regenerate.
15302 * configure.in: Build for i686 when configured for i386.
15303 * configure: Regenerate.
15304 * README: Remove i386 reference.
15305
15306 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15307
15308 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15309 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15310
15311 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15312
15313 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15314 (lmsnanval): New variables.
15315 (F): Add conversion tests.
15316 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15317 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15318
15319 * stdio-common/tstdiomisc.c (F): Properly collect individual
15320 tests' results.
15321
15322 [BZ #14686, #15336]
15323 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15324 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15325 Instead, use input NaN values or generate a qNaN by arithmetic
15326 operation. Also fix bugs to comply with the standard.
15327 * math/libm-test.inc (remainder_test): Add more tests.
15328
15329 [BZ #15335, #15342]
15330 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15332 input NaN values or generate a qNaN by arithmetic operation.
15333
15334 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15335 unreachable code.
15336
15337 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15338 definitions.
15339
15340 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15341
15342 [BZ #14478]
15343 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15344 underflowed result.
15345 * math/s_cexpf.c (__cexpf): Likewise.
15346 * math/s_cexpl.c (__cexpl): Likewise.
15347 * math/libm-test.inc (cexp_test): Add more tests.
15348
15349 2013-04-03 Andreas Schwab <schwab@suse.de>
15350
15351 [BZ #15330]
15352 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15353 order arrays from heap if bigger than alloca cutoff.
15354
15355 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15356
15357 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15358 (SNAN_TESTS_double): Refer to GCC PR56831.
15359 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15360 GCC PR56828.
15361
15362 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15363
15364 * Rules (bench): Move bench.out after the run is complete.
15365
15366 * Rules (bench): Echo currently running benchmark.
15367
15368 * benchtests/Makefile (bench): Add atan and slowatan.
15369 * benchtests/atan-inputs: New file.
15370 * benchtests/slowatan-inputs: New file.
15371 * benchtests/slowatan.c: New file.
15372
15373 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15374 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15375 its value.
15376
15377 [BZ #15305]
15378 * sysdeps/unix/sysv/linux/kernel-features.h
15379 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15380 __ASSUME_XFS_RESTRICTED_CHOWN.
15381 * sysdeps/unix/sysv/linux/pathconf.c
15382 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15383 Save and restore errno.
15384
15385 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15386
15387 [BZ #15327]
15388 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15389 arguments using __kernel_casinh.
15390 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15391 arguments using __kernel_casinhf.
15392 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15393 arguments using __kernel_casinhl.
15394 * math/libm-test.inc (cacosh_test): Add more tests.
15395 * sysdeps/i386/fpu/libm-test-ulps: Update.
15396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15397
15398 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15399
15400 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15401 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15402
15403 * bench/Makefile (bench): Add sin and slowsin.
15404 * benchtests/sin-inputs: New file.
15405 * benchtests/slowsin-inputs: New file.
15406 * benchtests/slowsin.c: New file.
15407
15408 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15409 (bench): Add slowexp and slowpow.
15410 (exp-ITER): Increase iterations.
15411 (pow-ITER): Likewise.
15412 * benchtests/exp-inputs: Change input.
15413 * benchtests/pow-inputs: Likewise.
15414 * benchtests/slowexp-inputs: New file.
15415 * benchtests/slowexp.c: New file.
15416 * benchtests/slowpow-inputs: New file.
15417 * benchtests/slowpow.c: New file.
15418
15419 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15420
15421 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15422 instructions.
15423 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15424 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15425 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15426 * benchtests/Makefile: Add rint benchtest.
15427 * benchtests/rint-inputs: Input for rint benchtest.
15428
15429 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15430
15431 * Versions.def (libm): Add GLIBC_2.18.
15432 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15433 hidden libm prototypes.
15434 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15435 * math/Makefile (libm-calls): Add s_issignaling.
15436 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15437 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15438 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15439 declaration.
15440 * math/math.h [__USE_GNU] (issignaling): New macro.
15441 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15442 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15443 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15444 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15445 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15446 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15447 * manual/arith.texi (issignaling): New section.
15448 * manual/libm-err-tab.pl (@all_functions): Update comment.
15449 * math/gen-libm-test.pl (parse_args): Apply special handling for
15450 issignaling.
15451 * math/libm-test.inc (print_float, issignaling_test): New
15452 functions.
15453 (check_float_internal): Add issignaling checks.
15454 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15455 default definition.
15456 * sysdeps/powerpc/math-tests.h: New file.
15457 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15458 tests.
15459 * math/test-snan.c (TEST_FUNC): Likewise.
15460
15461 2013-03-30 David S. Miller <davem@davemloft.net>
15462
15463 * po/de.po: Update from translation team.
15464
15465 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15466
15467 [BZ #10357]
15468 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15469 imaginary part less than 1.0 and real part less than 0.5
15470 specially.
15471 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15472 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15473 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15474 (cacos_test): Add more tests.
15475 (casin_test): Likewise.
15476 (casinh_test): Likewise.
15477 * sysdeps/i386/fpu/libm-test-ulps: Update.
15478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15479
15480 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15481
15482 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15483 ONE with its value.
15484
15485 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15486 (__pow_mp): Replace ONE and MONE with their values.
15487 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15489 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15490 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15491 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15492 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15493
15494 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15495
15496 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15497 (__pow_mp): Replace ZERO and MZERO with their values.
15498 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15499 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15500 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15502 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15503 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15504 (__sqr): Likewise.
15505
15506 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15507
15508 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15509
15510 2013-03-28 Roland McGrath <roland@hack.frob.com>
15511
15512 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15513 Declare with __attribute__ ((weak)).
15514 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15515 Call __call_tls_dtors only if it's not NULL.
15516
15517 2013-03-28 Roland McGrath <roland@hack.frob.com>
15518
15519 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15520 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15521 magic __ehdr_start linker symbol if it's defined.
15522 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15523 them up here if it was already done.
15524
15525 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15526 (_dl_aux_init): Use const in cast when setting it.
15527 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15528 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15529 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15530
15531 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15532 Declare them here.
15533 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15534 * csu/libc-tls.c: Nor here.
15535 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15536
15537 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15538 (__libc_message): Never call vsyslog.
15539
15540 2013-03-28 Alan Modra <amodra@gmail.com>
15541
15542 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15543 Define as empty.
15544 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15545 Likewise.
15546
15547 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15548
15549 [BZ #15214]
15550 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15551 underflow.
15552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15553
15554 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15555
15556 [BZ #15304]
15557 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15558 Don't add gid passed as argument.
15559
15560 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15561
15562 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15563
15564 [BZ #15307]
15565 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15566 imaginary part between 1.0 and 1.5 and real part less than 0.5
15567 specially.
15568 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15569 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15570 * math/libm-test.inc (cacos_test): Add more tests.
15571 (casin_test): Likewise.
15572 (casinh_test): Likewise.
15573 * sysdeps/i386/fpu/libm-test-ulps: Update.
15574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15575
15576 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15577
15578 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15579 constants.
15580 (norm): Likewise.
15581 (denorm): Likewise.
15582 (__dbl_mp): Likewise.
15583 (add_magnitudes): Likewise.
15584 (sub_magnitudes): Likewise.
15585 (__add): Likewise.
15586 (__sub): Likewise.
15587 (__mul): Likewise.
15588 (__sqr): Likewise.
15589 (__inv): Likewise.
15590 (__dvd): Likewise.
15591
15592 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15593 commented code.
15594 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15595 (__dubcos): Likewise.
15596 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15597 (__ieee754_acos): Likewise.
15598 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15599 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15600 (__exp1): Likewise.
15601 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15603 (log1): Likewise.
15604 (my_log2): Likewise.
15605 (checkint): Likewise.
15606 * sysdeps/ieee754/dbl-64/e_remainder.c
15607 (__ieee754_remainder): Likewise.
15608 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15609 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15610 (bsloww): Likewise.
15611 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15612
15613 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15614 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15615 MANTISSA_STORE_T to store computations on mantissa. Use
15616 macros for rounding and division.
15617 (denorm): Likewise.
15618 (__dbl_mp): Likewise.
15619 (add_magnitudes): Likewise.
15620 (sub_magnitudes): Likewise.
15621 (__mul): Likewise.
15622 (__sqr): Likewise.
15623 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15624 powers of two in terms of TWOPOW macro.
15625 (mp_no): Make type of mantissa as MANTISSA_T.
15626 [!RADIXI]: Define RADIXI.
15627 [!TWO52]: Define TWO52.
15628 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15629
15630 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15631
15632 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15633 llroundl symbol when building for PPC32.
15634
15635 2013-03-24 Mark H Weaver <mhw@netris.org>
15636
15637 * manual/arith.texi (Normalization Functions): Fix prototypes for
15638 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15639
15640 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15641
15642 [BZ #13889]
15643 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15644 high value to check if expl overflow.
15645 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15646 to check for underflow and overflow.
15647 * math/libm-test.inc: Add exp test.
15648
15649 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15650
15651 [BZ #11120]
15652 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15653 with NOT_IN_libc.
15654
15655 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15656
15657 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15658 symbol.
15659
15660 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15661
15662 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15663 wrap blocks consisting of several statements.
15664
15665 * sysdeps/generic/math-tests.h: New file.
15666 * sysdeps/i386/fpu/math-tests.h: Likewise.
15667 * math/test-snan.c: Include it.
15668 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15669
15670 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15671
15672 [BZ #15285]
15673 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15674 (__ieee754_j0l): Do not improve calculations using cos of twice
15675 input for inputs above LDBL_MAX / 2.0L.
15676 (__ieee754_y0l): Likewise.
15677 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15678 (__ieee754_j1l): Do not improve calculations using cos of twice
15679 input for inputs above LDBL_MAX / 2.0L.
15680 (__ieee754_y1l): Likewise.
15681 * math/libm-test.inc (j0_test): Add another test.
15682 (j1_test): Likewise.
15683 (y0_test): Likewise.
15684 (y1_test): Likewise.
15685 * sysdeps/i386/fpu/libm-test-ulps: Update.
15686
15687 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15688
15689 * Rules ($(objpfx)bench-%.c): Include code from a C source
15690 file.
15691
15692 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15693
15694 [BZ #15287]
15695 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15696 imaginary part 1.0 and real part less than 0.5 specially.
15697 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15698 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15699 * math/libm-test.inc (cacos_test): Add more tests.
15700 (casin_test): Likewise.
15701 (casinh_test): Likewise.
15702 * sysdeps/i386/fpu/libm-test-ulps: Update.
15703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15704
15705 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15706
15707 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15708 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15709
15710 2013-03-20 Joseph Myers <joseph@codesourcery.com>
15711
15712 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15713 * config.make.in (config-cflags-sse4): Remove variable.
15714 (config-cflags-avx): Likewise.
15715 (config-cflags-sse2avx): Likewise.
15716 (config-cflags-novzeroupper): Likewise.
15717 (config-asflags-i686): Likewise.
15718 (have-mfma4): Likewise.
15719 (have-as-vis3): Likewise.
15720 (MIG): Likewise.
15721 * configure.in (MIG): Do not AC_SUBST.
15722 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15723 (libc_cv_cc_sse4): Do not AC_SUBST.
15724 (libc_cv_cc_avx): Likewise.
15725 (libc_cv_cc_sse2avx): Likewise.
15726 (libc_cv_cc_novzeroupper): Likewise.
15727 (libc_cv_cc_fma4): Likewise.
15728 (libc_cv_as_i686): Likewise.
15729 (libc_cv_sparc_as_vis3): Likewise.
15730 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15731 LIBC_CONFIG_VAR.
15732 (config-asflags-i686): Likewise.
15733 (config-cflags-avx): Likewise.
15734 (config-cflags-sse2avx): Likewise.
15735 (have-mfma4): Likewise.
15736 (config-cflags-novzeroupper): Likewise.
15737 * sysdeps/mach/configure.in (MIG): Likewise.
15738 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15739 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15740 LIBC_CONFIG_VAR.
15741 (config-cflags-avx): Likewise.
15742 (config-cflags-sse2avx): Likewise.
15743 (have-mfma4): Likewise.
15744 (config-cflags-novzeroupper): Likewise.
15745 * configure: Regenerated.
15746 * sysdeps/i386/configure: Likewise.
15747 * sysdeps/mach/configure: Likewise.
15748 * sysdeps/sparc/configure: Likewise.
15749 * sysdeps/x86_64/configure: Likewise.
15750
15751 2013-03-20 Roland McGrath <roland@hack.frob.com>
15752
15753 [BZ #14812]
15754 * locale/programs/localedef.c (options): Put N_ translation marker
15755 on argument names, not just descriptions.
15756
15757 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15758
15759 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15760
15761 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
15762
15763 [BZ #14176]
15764 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15765
15766 2013-03-19 Roland McGrath <roland@hack.frob.com>
15767
15768 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15769 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15770 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15771 [!BEFORE_ABORT] (before_abort): New function.
15772 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15773 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15774 (writev_for_fatal): New function.
15775 (WRITEV_FOR_FATAL): New macro; call that.
15776 (backtrace_and_maps): New function.
15777 (BEFORE_ABORT): New macro; call that.
15778 (struct str_list): Type removed.
15779 (__libc_message, __libc_fatal): Functions removed.
15780 Include <sysdeps/posix/libc_fatal.c> instead.
15781
15782 2013-03-19 Joseph Myers <joseph@codesourcery.com>
15783
15784 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15785 constants.
15786 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15787 double constants.
15788
15789 2013-03-19 Andreas Schwab <schwab@suse.de>
15790
15791 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15792 * sysdeps/gnu/configure: Regenerate.
15793
15794 * configure.in: Substitute libc_cv_rtlddir.
15795 * configure: Regenerate.
15796 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15797 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15798 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15799 * elf/Makefile (install-others, CFLAGS-interp.c)
15800 (ldso_install, common-ldd-rewrite): Likewise.
15801 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15802 $(inst_slibdir)/$(rtld-installed-name).
15803 * scripts/rellns-sh: Add -p option.
15804 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15805 for source.
15806
15807 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15808
15809 * manual/nptl.texi: Renamed to ...
15810 * manual/threads.texi: ... this.
15811 * manual/Makefile (chapters): Update.
15812
15813 2013-03-18 Roland McGrath <roland@hack.frob.com>
15814
15815 [BZ #14812]
15816 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15817 on argument names, not just descriptions.
15818 * malloc/memusagestat.c (options): Likewise.
15819 * nss/getent.c (options): Likewise.
15820
15821 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
15822
15823 [BZ #14812]
15824 * iconv/iconv_prog.c (options): Put N_ translation marker
15825 on argument names, not just descriptions.
15826 * iconv/iconvconfig.c (options): Likewise.
15827
15828 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
15829
15830 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15831 implementation which is faster on all x86_64 architectures.
15832 Tested on AMD, Intel Nehalem, SNB, IVB.
15833 * sysdeps/x86_64/strnlen.S: Likewise.
15834
15835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15836 Remove all multiarch strlen and strnlen versions.
15837 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15838 Remove strlen and strnlen related parts.
15839
15840 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15841 Inline strlen part.
15842 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15843
15844 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15845 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15846 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15847 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15848 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15849 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15850
15851 2013-03-17 Carlos O'Donell <carlos@redhat.com>
15852
15853 * manual/memory.texi (Malloc Tunable Parameters):
15854 Sort parameters alphabetically. Add comments for missing entries.
15855
15856 2013-03-17 David S. Miller <davem@davemloft.net>
15857
15858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15859
15860 2013-03-16 Joseph Myers <joseph@codesourcery.com>
15861
15862 [BZ #15283]
15863 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15864 for arguments at most half maximum finite value.
15865 * math/libm-test.inc (j0_test): Add more tests.
15866 (j1_test): Likewise.
15867 (y0_test): Likewise.
15868 (y1_test): Likewise.
15869 * sysdeps/i386/fpu/libm-test-ulps: Update.
15870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15871
15872 [BZ #14155]
15873 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15874 1 / x and functions P and Q for arguments above 0x1p256L.
15875 (__ieee754_y0l): Likewise.
15876 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15877 (__ieee754_y1l): Likewise.
15878 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15879 (j1_test): Likewise.
15880 (y0_test): Likewise.
15881 (y1_test): Likewise.
15882
15883 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15884
15885 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15886 variable.
15887
15888 2013-03-15 Roland McGrath <roland@hack.frob.com>
15889
15890 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15891 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15892 zero since it's initialized to EXEC_PAGESIZE.
15893
15894 * sysdeps/unix/sysv/linux/ldsodefs.h
15895 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15896 * sysdeps/generic/ldsodefs.h: ... here.
15897
15898 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15899
15900 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15901
15902 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15903 math/test-snan.c.
15904 * math/test-snan.c: Renamed from
15905 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15906 * math/Makefile (tests): Add test-snan.
15907 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15908 test-powerpc-snan.
15909
15910 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15911 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15912 functions.
15913 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15914 __builtin_nan family of functions.
15915 * math/libm-test.inc (initialize): Initialize qnan_value with
15916 __builtin_nan family of functions.
15917 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15918 Remove variables.
15919 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15920 Remove functions.
15921 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15922 storage class. Initialize qNaN_var and sNaN_var with
15923 __builtin_nan and __builtin_nans families of functions,
15924 respectively.
15925
15926 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15927 (sqrt_test): Remove duplicate test with qNaN input.
15928 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15929 (round_test, signbit_test, significand_test): Note missing +/-Inf
15930 as well as qNaN tests.
15931
15932 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15933 qNaN_var. Fix a few strings, too.
15934 * math/libm-test.inc (nan_value): Rename to qnan_value.
15935 * math/gen-libm-test.pl (%beautify): Adjust to that.
15936 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15937 * math/test-misc.c (main): Likewise.
15938 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15939 to __qnan_bytes, and __qnan_union, respectively.
15940 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15941 Likewise.
15942 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15943 and lqnanval, respectively.
15944 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15945 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15946 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15947 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15948
15949 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15950 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15951 doubles.
15952
15953 * math/test-misc.c (main): Fix copy'n'pastos.
15954 * misc/tst-efgcvt.c (special): Likewise.
15955
15956 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15957 Remove declarations.
15958
15959 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15960
15961 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15962 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15963 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15964 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15965
15966 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15967
15968 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15969 macro to return vdso values correctly in IFUNC implementations.
15970 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15971 Optimization by using IFUNC.
15972
15973 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15974 Richard Henderson <rth@redhat.com>
15975 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15976
15977 * Makefile.in (bench): New target.
15978 * NEWS: Mention the benchmark framework.
15979 * Rules (bench): Likewise.
15980 (binaries-bench): Generate binaries for functions to
15981 benchmark.
15982 * benchtests/Makefile: New makefile for benchmark tests.
15983 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15984 programs.
15985 * benchtests/exp-inputs: New input file for EXP function.
15986 * benchtests/pow-inputs: New input file for POW function.
15987 * scripts/bench.pl: New script to generate source files for
15988 benchmark programs.
15989
15990 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15991
15992 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15993 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15994 computations on mantissa. Use macros for rounding and
15995 division.
15996 (denorm): Likewise.
15997 (__dbl_mp): Likewise.
15998 (add_magnitudes): Likewise.
15999 (sub_magnitudes): Likewise.
16000 (__mul): Likewise.
16001 (__sqr): Likewise.
16002 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16003 powers of two in terms of TWOPOW macro.
16004 (mp_no): Make type of mantissa as MANTISSA_T.
16005 [!RADIXI]: Define RADIXI.
16006 [!TWO52]: Define TWO52.
16007 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16008
16009 * manual/nptl.texi (cindex): Modify threads to pthreads.
16010
16011 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16012
16013 * sysdeps/x86_64/preconfigure: Regenerated.
16014
16015 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16016
16017 [BZ #14155]
16018 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16019 0x1p28 and above.
16020 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16021 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16022 0x1p28 and above.
16023 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16024 * math/libm-test.inc (j0_test): Do not allow one spurious
16025 underflow exception.
16026 (y1_test): Likewise.
16027
16028 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16029
16030 * manual/Makefile (chapters): Add nptl.
16031 * manual/debug.texi (Debugging Support): Add link to Threads
16032 chapter.
16033 * manual/nptl.texi: New file.
16034
16035 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16036
16037 2013-03-14 Petr Baudis <pasky@ucw.cz>
16038
16039 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16040 for non-NULL pointer before the memory validity test. Pointed
16041 out by Holger Brunck <holger.brunck@keymile.com>.
16042
16043 2013-03-13 Andreas Schwab <schwab@suse.de>
16044
16045 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16046 instead of .os.
16047
16048 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16049
16050 * timezone/zic.c: Update from tzcode 2013b.
16051
16052 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16053
16054 * manual/install.texi (Configuring and compiling):
16055 Mention i686 and i586.
16056 * INSTALL: Regenerate.
16057
16058 2013-03-12 Roland McGrath <roland@hack.frob.com>
16059
16060 * sysdeps/init_array/elf-init.c: New file.
16061 * csu/elf-init.c
16062 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16063 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16064
16065 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16066 __gmon_start__ as global, but as static with a .preinit_array pointer.
16067 * sysdeps/init_array/gmon-start.c: New file. Use that.
16068 * sysdeps/init_array/crti.S: New file, empty except for comments.
16069 * sysdeps/init_array/crtn.S: Likewise.
16070
16071 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16072
16073 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16074 definining bcopy.
16075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16076 Remove Prefer_SSE_for_memop.
16077 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16078 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16079 HAS_PREFER_SSE_FOR_MEMOP.
16080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16081 memset-x86-64.
16082 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16083 Remove bzero, memset ifunc support.
16084 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16085 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16086 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16087 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16088
16089 2013-03-11 Andreas Schwab <schwab@suse.de>
16090
16091 [BZ #15234]
16092 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16093 by SHLIB_COMPAT.
16094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16095 (GLIBC_2.16): Remove pthread_atfork.
16096
16097 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16098
16099 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16100 (ptestcases.h): Likewise.
16101
16102 2013-03-08 Roland McGrath <roland@hack.frob.com>
16103
16104 * Makeconfig ($(common-objpfx)config.status): Depend on
16105 sysdeps/*/preconfigure{,.in} too.
16106
16107 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16108
16109 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16110 (__free_hook): Use void * instead of __malloc_ptr_t.
16111 (__malloc_hook): Likewise.
16112 (__realloc_hook): Likewise.
16113 (__memalign_hook): Likewise.
16114 (__after_morecore_hook): Likewise.
16115 * malloc/arena.c (save_malloc_hook): Likewise.
16116 (save_free_hook): Likewise.
16117 * malloc/hooks.c (malloc_hook_ini): Likewise.
16118 (realloc_hook_ini): Likewise.
16119 (memalign_hook_ini): Likewise.
16120 * malloc/malloc.c (malloc_hook_ini): Likewise.
16121 (realloc_hook_ini): Likewise.
16122 (memalign_hook_ini): Likewise.
16123 (__free_hook): Likewise.
16124 (__malloc_hook): Likewise.
16125 (__realloc_hook): Likewise.
16126 (__memalign_hook): Likewise.
16127 (__libc_malloc): Likewise.
16128 (__libc_free): Likewise.
16129 (__libc_realloc): Likewise.
16130 (__libc_memalign): Likewise.
16131 (__libc_valloc): Likewise.
16132 (__libc_pvalloc): Likewise.
16133 (__libc_calloc): Likewise.
16134 (__posix_memalign): Likewise.
16135 * malloc/morecore.c (__sbrk): Likewise.
16136 (__default_morecore): Likewise.
16137
16138 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16139
16140 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16141 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16142 __malloc_ptrdiff_t.
16143
16144 * malloc/malloc.h (__malloc_size_t): Remove macro.
16145 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16146 __malloc_size_t.
16147 (old_memalign_hook): Likewise.
16148 (old_realloc_hook): Likewise.
16149 (struct hdr): Likewise.
16150 (flood): Likewise.
16151 (mallochook): Likewise.
16152 (memalignhook): Likewise.
16153 (reallochook): Likewise.
16154 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16155 (tr_old_realloc_hook): Likewise.
16156 (tr_old_memalign_hook): Likewise.
16157 (tr_mallochook): Likewise.
16158 (tr_reallochook): Likewise.
16159 (tr_memalignhook): Likewise.
16160
16161 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16162
16163 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16164 default_ldbl_pack and using as default implementation.
16165 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16166 implementation.
16167 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16168 redundant definition.
16169 (ldbl_insert_mantissa): Likewise.
16170 (ldbl_canonicalize): Likewise.
16171 (ldbl_nearbyint): Likewise.
16172 (ldbl_pack): Rename to ldbl_pack_ppc.
16173 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16174 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16175 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16176
16177 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16178
16179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16180 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16181 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16182 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16184 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16185 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16186 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16187
16188 2013-03-07 Andreas Jaeger <aj@suse.de>
16189
16190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16191 bits/mman-linux.h.
16192
16193 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16194
16195 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16196 Include mpa.h and declare __MPEXP.
16197 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16198 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16199 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16200 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16201 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16202 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16203 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16204
16205 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16206 (__slowpow): Use long double EXPL and LOGL functions to
16207 compute POW.
16208 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16209 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16210 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16211 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16212 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16213 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16214
16215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16216 intermediate variable to calculate exponent.
16217 (__sqr): Likewise.
16218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16219 Likewise.
16220 (__sqr): Likewise.
16221
16222 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16223 [!NO__SQR]: Define __sqr.
16224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16225 and NO__SQR. Remove all code except __mul and __sqr. Include
16226 sysdeps/ieee754/dbl-64/mpa.c.
16227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16228
16229 [BZ #12723]
16230 * posix/Makefile (tests): Add tst-pathconf.
16231 * posix/tst-pathconf.c: New test case.
16232 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16233 _PC_PIPE_BUF.
16234 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16235
16236 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16237
16238 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16239
16240 2013-03-06 Andreas Jaeger <aj@suse.de>
16241
16242 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16243 definition via __MAP_ANONYMOUS.
16244
16245 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16246 it's not part of Linux headers.
16247
16248 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16249 (MAP_HUGE_MASK): Define.
16250
16251 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16252 Define.
16253 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16255 Define.
16256 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16257 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16258 Define.
16259 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16260 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16261 Define.
16262 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16263
16264 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16265 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16266 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16267 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16268 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16269 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16270
16271 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16272 Handle f2fs.
16273
16274 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16275 Handle f2fs and efivarfs.
16276
16277 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16278 f2fs.
16279
16280 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16281 (EFIVARFS_MAGIC): Add.
16282 (F2FS_LINK_MAX): Add.
16283
16284 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16285
16286 * stdio-common/vfprintf.c: Replace __builtin_expect with
16287 __glibc_unlikely.
16288
16289 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16290
16291 [BZ #13550]
16292 * sysdeps/generic/bp-sym.h: Remove file.
16293 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16294 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16295 <bp-sym.h> and <bp-asm.h>.
16296 (__longjmp): Don't use BP_SYM.
16297 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16298 and <bp-asm.h>.
16299 (memcpy): Don't use BP_SYM.
16300 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16301 <bp-sym.h> and <bp-asm.h>.
16302 (memcpy): Don't use BP_SYM.
16303 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16304 <bp-asm.h>.
16305 (memcpy): Don't use BP_SYM.
16306 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16307 <bp-asm.h>.
16308 (memset): Don't use BP_SYM.
16309 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16310 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16311 (__bzero): Don't use BP_SYM.
16312 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16313 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16314 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16315 <bp-sym.h> and <bp-asm.h>.
16316 (memcmp): Don't use BP_SYM. Remove comment about bounded
16317 pointers.
16318 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16319 <bp-sym.h> and <bp-asm.h>.
16320 (memcpy): Don't use BP_SYM.
16321 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16322 <bp-sym.h> and <bp-asm.h>.
16323 (memset): Don't use BP_SYM.
16324 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16325 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16326 (__bzero): Don't use BP_SYM.
16327 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16328 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16329 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16330 <bp-sym.h> and <bp-asm.h>.
16331 (strncmp): Don't use BP_SYM. Remove comment about bounded
16332 pointers.
16333 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16334 <bp-sym.h> and <bp-asm.h>.
16335 (memcpy): Don't use BP_SYM.
16336 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16337 <bp-sym.h> and <bp-asm.h>.
16338 (memset): Don't use BP_SYM.
16339 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16340 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16341 (__bzero): Don't use BP_SYM.
16342 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16343 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16344 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16345 <bp-sym.h> and <bp-asm.h>.
16346 (__memchr): Don't use BP_SYM.
16347 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16348 <bp-sym.h> and <bp-asm.h>.
16349 (memcmp): Don't use BP_SYM. Remove comment about bounded
16350 pointers.
16351 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16352 <bp-sym.h> and <bp-asm.h>.
16353 (memcpy): Don't use BP_SYM.
16354 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16355 <bp-sym.h> and <bp-asm.h>.
16356 (__mempcpy): Don't use BP_SYM.
16357 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16358 <bp-sym.h> and <bp-asm.h>.
16359 (__memrchr): Don't use BP_SYM.
16360 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16361 <bp-sym.h> and <bp-asm.h>.
16362 (memset): Don't use BP_SYM.
16363 (__bzero): Likewise.
16364 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16365 <bp-sym.h> and <bp-asm.h>.
16366 (__rawmemchr): Don't use BP_SYM.
16367 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16368 <bp-sym.h> and <bp-asm.h>.
16369 (__STRCMP): Don't use BP_SYM.
16370 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16371 <bp-sym.h> and <bp-asm.h>.
16372 (strchr): Don't use BP_SYM.
16373 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16374 <bp-sym.h> and <bp-asm.h>.
16375 (__strchrnul): Don't use BP_SYM.
16376 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16377 <bp-sym.h> and <bp-asm.h>.
16378 (strlen): Don't use BP_SYM.
16379 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16380 <bp-sym.h> and <bp-asm.h>.
16381 (strncmp): Don't use BP_SYM. Remove comment about bounded
16382 pointers.
16383 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16384 <bp-sym.h> and <bp-asm.h>.
16385 (__strnlen): Don't use BP_SYM.
16386 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16387 <bp-sym.h> and <bp-asm.h>.
16388 (__GI__setjmp): Don't use BP_SYM.
16389 (_setjmp): Likewise.
16390 (__sigsetjmp): Likewise.
16391 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16392 (L(start_addresses)): Don't use BP_SYM.
16393 (_start): Likewise.
16394 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16395 <bp-asm.h>.
16396 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16397 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16398 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16399 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16400 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16401 <bp-asm.h>.
16402 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16403 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16404 about bounded pointers.
16405 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16406 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16407 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16408 <bp-asm.h>.
16409 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16410 about bounded pointers. Remove GKM FIXME comments.
16411 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16412 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16413 <bp-asm.h>.
16414 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16415 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16416 Remove GKM FIXME comments.
16417 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16418 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16419 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16420 <bp-asm.h>.
16421 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16422 about bounded pointers. Remove GKM FIXME comment.
16423 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16424 and <bp-asm.h>.
16425 (strncmp): Don't use BP_SYM. Remove comment about bounded
16426 pointers.
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16428 <bp-sym.h> and <bp-asm.h>.
16429 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16431 <bp-sym.h> and <bp-asm.h>.
16432 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16433 comment.
16434
16435 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16436
16437 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16438 call free(NULL).
16439
16440 2013-03-05 David S. Miller <davem@davemloft.net>
16441
16442 * po/es.po: Update from translation team.
16443
16444 2013-03-05 Andreas Jaeger <aj@suse.de>
16445
16446 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16447 <bits/mman-linux.h>.
16448 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16449 is fine.
16450 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16451 <bits/mman-linux.h> to end of file.
16452 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16453 is fine.
16454 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16455 <bits/mman-linux.h> to end of file.
16456 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16457 is fine.
16458 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16459 <bits/mman-linux.h> to end of file.
16460
16461 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16462 (MCL_CURRENT, MCL_FUTURE): Define here.
16463
16464 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16465
16466 [BZ #15232]
16467 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16468 attribute_hidden.
16469 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16470
16471 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16472
16473 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16474 fourth parameter needed for rt_sigprocmask syscall.
16475 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16476 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16477 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16478 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16479 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16480 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16481
16482 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16483
16484 [BZ #13550]
16485 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16486 comment about bounded pointers.
16487 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16488 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16489
16490 2013-03-04 Andreas Jaeger <aj@suse.de>
16491
16492 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16493 common definitions.
16494
16495 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16496 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16497 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16498 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16499 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16500 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16501
16502 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16503
16504 [BZ #15055]
16505 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16506 __ieee754_sqrl instead of __sqrl.
16507
16508 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16509
16510 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16511 * sysdeps/powerpc/fpu_control.h: ... here.
16512 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16513 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16514 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16515 * sysdeps/powerpc/bits/mathinline.h: ... here.
16516
16517 2013-03-01 Roland McGrath <roland@hack.frob.com>
16518
16519 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16520 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16521 to just [NEED_DL_SYSINFO_DSO].
16522 * elf/dl-support.c: Likewise.
16523 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16524 * elf/rtld.c (dl_main): Likewise.
16525 * elf/setup-vdso.h (setup_vdso): Likewise.
16526 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16527 * sysdeps/unix/sysv/linux/dl-sysdep.c
16528 (_dl_discover_osversion): Likewise.
16529
16530 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16531
16532 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16533 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16534
16535 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16536
16537 * NEWS: Mention libm performance improvements and non-x86 PI
16538 futex support.
16539
16540 * csu/libc-start.c (__pthread_initialize_minimal): Change
16541 function arguments.
16542 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16543
16544 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16545
16546 [BZ #13550]
16547 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16548 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16549 <bp-sym.h> and <bp-asm.h>.
16550 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16551 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16552 and <bp-asm.h>.
16553 (memcpy): Don't use BP_SYM.
16554 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16555 <bp-asm.h>.
16556 (__mpn_add_n): Don't use BP_SYM.
16557 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16558 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16559 and <bp-asm.h>.
16560 (__mpn_addmul_1): Don't use BP_SYM.
16561 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16562 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16563 <bp-sym.h>.
16564 (_setjmp): Don't use BP_SYM.
16565 (__novmx_setjmp): Likewise.
16566 (__GI__setjmp): Likewise.
16567 (__vmx_setjmp): Likewise.
16568 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16569 <bp-sym.h>.
16570 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16571 (__bzero): Don't use BP_SYM.
16572 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16573 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16574 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16575 <bp-sym.h> and <bp-asm.h>.
16576 (memcpy): Don't use BP_SYM.
16577 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16578 <bp-sym.h> and <bp-asm.h>.
16579 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16581 <bp-sym.h> and <bp-asm.h>.
16582 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16583 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16584 <bp-asm.h>.
16585 (__mpn_lshift): Don't use BP_SYM.
16586 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16587 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16588 <bp-asm.h>.
16589 (memset): Don't use BP_SYM.
16590 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16591 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16592 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16593 <bp-asm.h>.
16594 (__mpn_mul_1): Don't use BP_SYM.
16595 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16596 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16597 <bp-sym.h> and <bp-asm.h>.
16598 (memcmp): Don't use BP_SYM.
16599 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16600 <bp-sym.h> and <bp-asm.h>.
16601 (memcpy): Don't use BP_SYM.
16602 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16603 <bp-sym.h> and <bp-asm.h>.
16604 (memset): Don't use BP_SYM.
16605 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16606 <bp-sym.h> and <bp-asm.h>.
16607 (strncmp): Don't use BP_SYM.
16608 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16609 <bp-sym.h> and <bp-asm.h>.
16610 (memcpy): Don't use BP_SYM.
16611 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16612 <bp-sym.h> and <bp-asm.h>.
16613 (memset): Don't use BP_SYM.
16614 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16615 <bp-sym.h> and <bp-asm.h>.
16616 (__memchr): Don't use BP_SYM.
16617 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16618 <bp-sym.h> and <bp-asm.h>.
16619 (memcmp): Don't use BP_SYM.
16620 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16621 <bp-sym.h> and <bp-asm.h>.
16622 (memcpy): Don't use BP_SYM.
16623 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16624 <bp-sym.h> and <bp-asm.h>.
16625 (__mempcpy): Don't use BP_SYM.
16626 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16627 <bp-sym.h> and <bp-asm.h>.
16628 (__memrchr): Don't use BP_SYM.
16629 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16630 <bp-sym.h> and <bp-asm.h>.
16631 (memset): Don't use BP_SYM.
16632 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16633 <bp-sym.h> and <bp-asm.h>.
16634 (__rawmemchr): Don't use BP_SYM.
16635 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16636 <bp-sym.h> and <bp-asm.h>.
16637 (__STRCMP): Don't use BP_SYM.
16638 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16639 <bp-sym.h> and <bp-asm.h>.
16640 (strchr): Don't use BP_SYM.
16641 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16642 <bp-sym.h> and <bp-asm.h>.
16643 (__strchrnul): Don't use BP_SYM.
16644 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16645 <bp-sym.h> and <bp-asm.h>.
16646 (strlen): Don't use BP_SYM.
16647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16648 <bp-sym.h> and <bp-asm.h>.
16649 (strncmp): Don't use BP_SYM.
16650 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16651 <bp-sym.h> and <bp-asm.h>.
16652 (__strnlen): Don't use BP_SYM.
16653 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16654 <bp-asm.h>.
16655 (__mpn_rshift): Don't use BP_SYM.
16656 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16657 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16658 <bp-sym.h> and <bp-asm.h>.
16659 (__sigsetjmp): Don't use BP_SYM.
16660 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16661 (L(start_addresses)): Don't use BP_SYM.
16662 (_start): Likewise.
16663 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16664 <bp-asm.h>.
16665 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16666 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16667 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16668 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16669 <bp-asm.h>.
16670 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16671 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16672 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16673 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16674 <bp-asm.h>.
16675 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16676 comments.
16677 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16678 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16679 <bp-asm.h>.
16680 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16681 FIXME comments.
16682 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16683 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16684 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16685 <bp-asm.h>.
16686 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16687 comment.
16688 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16689 and <bp-asm.h>.
16690 (strncmp): Don't use BP_SYM,
16691 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16692 <bp-asm.h>.
16693 (__mpn_sub_n): Don't use BP_SYM.
16694 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16695 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16696 and <bp-asm.h>.
16697 (__mpn_submul_1): Don't use BP_SYM.
16698 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16700 <bp-sym.h> and <bp-asm.h>.
16701 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16703 <bp-sym.h> and <bp-asm.h>.
16704 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16705 comment.
16706
16707 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16708
16709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16710 Use ZK to minimize writes to Z.
16711 (sub_magnitudes): Simplify code a bit.
16712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16713 Use ZK to minimize writes to Z.
16714 (sub_magnitudes): Simplify code a bit.
16715
16716 2013-02-27 Roland McGrath <roland@hack.frob.com>
16717
16718 * csu/gmon-start.c: Add special exception to license text.
16719
16720 2013-02-27 Richard Henderson <rth@redhat.com>
16721
16722 * scripts/config.guess: Update from config.git.
16723 * scripts/config.sub: Likewise.
16724
16725 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16726
16727 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16728
16729 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16730
16731 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16732
16733 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16734
16735 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16736
16737 2013-02-26 Roland McGrath <roland@hack.frob.com>
16738
16739 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16740 [$(build-shared = yes].
16741
16742 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16743
16744 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16745 (__mul): Reduce iterations for calculating mantissa.
16746
16747 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16748 MPTWO.
16749 (__mpranred): Likewise.
16750
16751 [BZ #15160]
16752 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16753 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16754
16755 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16756
16757 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16758 Define __attribute__.
16759
16760 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16761
16762 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16763 unused.
16764 * posix/regex_internal.h (__attribute): Remove.
16765 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16766 (re_string_context_at): Likewise.
16767 (bitset_not): Use __attribute__ and mark function as possibly
16768 unused.
16769 (bitset_merge): Likewise.
16770 (bitset_mask): Likewise.
16771 (re_string_char_size_at): Likewise.
16772 (re_string_wchar_at): Likewise.
16773 (re_string_elem_size_at): Likewise.
16774
16775 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16776
16777 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16778 code.
16779 (cc32): Likewise.
16780
16781 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16782 (__acr): Likewise.
16783 (__cpy): Likewise.
16784 (norm): Likewise.
16785 (denorm): Likewise.
16786 (__dbl_mp): Likewise.
16787 (add_magnitudes): Likewise.
16788 (sub_magnitudes): Likewise.
16789 (__mul): Likewise.
16790 (__inv): Likewise.
16791
16792 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16793 style.
16794
16795 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16796 style.
16797
16798 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16799 code.
16800
16801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16802 up changes with default code.
16803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16804 Likewise.
16805
16806 2013-02-24 Allan McRae <allan@archlinux.org>
16807
16808 * manual/socket.texi (The Internet Namespace): Order menu items
16809 to match that in the file.
16810
16811 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16812 node listing of the info page menu.
16813
16814 2013-02-21 Joseph Myers <joseph@codesourcery.com>
16815
16816 [BZ #13550]
16817 * sysdeps/i386/bp-asm.h: Remove file.
16818 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16819 (PARMS): Do not use macros from bp-asm.h.
16820 (S1): Likewise.
16821 (S2): Likewise.
16822 (SIZE): Likewise.
16823 (__mpn_add_n): Do not use BP_SYM
16824 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16825 "bp-asm.h".
16826 (PARMS): Do not use macros from bp-asm.h.
16827 (S1): Likewise.
16828 (SIZE): Likewise.
16829 (__mpn_addmul_1): Do not use BP_SYM
16830 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16831 "bp-asm.h".
16832 (PARMS): Do not use macros from bp-asm.h.
16833 (SIGMSK): Likewise.
16834 (_setjmp): Likewise. Do not use BP_SYM.
16835 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16836 "bp-asm.h".
16837 (PARMS): Do not use macros from bp-asm.h.
16838 (SIGMSK): Likewise.
16839 (setjmp): Likewise. Do not use BP_SYM.
16840 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16841 "bp-asm.h".
16842 (PARMS): Do not use macros from bp-asm.h.
16843 (__frexp): Do not use BP_SYM.
16844 (frexp): Likewise.
16845 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16846 "bp-asm.h".
16847 (PARMS): Do not use macros from bp-asm.h.
16848 (__frexpf): Do not use BP_SYM.
16849 (frexpf): Likewise.
16850 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16851 "bp-asm.h".
16852 (PARMS): Do not use macros from bp-asm.h.
16853 (__frexpl): Do not use BP_SYM.
16854 (frexpl): Likewise.
16855 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16856 "bp-asm.h".
16857 (PARMS): Do not use macros from bp-asm.h.
16858 (__remquo): Do not use BP_SYM.
16859 (remquo): Likewise.
16860 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16861 "bp-asm.h".
16862 (PARMS): Do not use macros from bp-asm.h.
16863 (__remquof): Do not use BP_SYM.
16864 (remquof): Likewise.
16865 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16866 "bp-asm.h".
16867 (PARMS): Do not use macros from bp-asm.h.
16868 (__remquol): Do not use BP_SYM.
16869 (remquol): Likewise.
16870 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16871 "bp-asm.h".
16872 (PARMS): Do not use macros from bp-asm.h.
16873 (DEST): Likewise.
16874 (SRC): Likewise.
16875 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16876 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16877 "bp-asm.h".
16878 (PARMS): Do not use macros from bp-asm.h.
16879 (strlen): Do not use BP_SYM.
16880 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16881 "bp-asm.h".
16882 (PARMS): Do not use macros from bp-asm.h.
16883 (S1): Likewise.
16884 (S2): Likewise.
16885 (SIZE): Likewise.
16886 (__mpn_add_n): Do not use BP_SYM.
16887 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16888 "bp-asm.h".
16889 (PARMS): Do not use macros from bp-asm.h.
16890 (S1): Likewise.
16891 (SIZE): Likewise.
16892 (__mpn_addmul_1): Do not use BP_SYM.
16893 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16894 weak_alias.
16895 (bzero): Likewise.
16896 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16897 "bp-asm.h".
16898 (PARMS): Do not use macros from bp-asm.h.
16899 (S): Likewise.
16900 (SIZE): Likewise.
16901 (__mpn_lshift): Do not use BP_SYM.
16902 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16903 "bp-asm.h".
16904 (PARMS): Do not use macros from bp-asm.h.
16905 (DEST): Likewise.
16906 (SRC): Likewise.
16907 (LEN): Likewise.
16908 (memcpy): Likewise. Do not use BP_SYM.
16909 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16910 libc_hidden_def and weak_alias.
16911 (mempcpy): Do not use BP_SYM in weak_alias.
16912 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16913 "bp-asm.h".
16914 (PARMS): Do not use macros from bp-asm.h.
16915 (DEST): Likewise.
16916 (LEN): Likewise.
16917 [!BZERO_P] (CHR): Likewise.
16918 (memset): Likewise. Do not use BP_SYM.
16919 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16920 "bp-asm.h".
16921 (PARMS): Do not use macros from bp-asm.h.
16922 (S1): Likewise.
16923 (SIZE): Likewise.
16924 (__mpn_mul_1): Do not use BP_SYM.
16925 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16926 "bp-asm.h".
16927 (PARMS): Do not use macros from bp-asm.h.
16928 (S): Likewise.
16929 (SIZE): Likewise.
16930 (__mpn_rshift): Do not use BP_SYM.
16931 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16932 "bp-asm.h".
16933 (PARMS): Do not use macros from bp-asm.h.
16934 (STR): Likewise.
16935 (CHR): Likewise.
16936 (strchr): Likewise. Do not use BP_SYM.
16937 (index): Do not use BP_SYM in weak_alias.
16938 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16939 "bp-asm.h".
16940 (PARMS): Do not use macros from bp-asm.h.
16941 (DEST): Likewise.
16942 (SRC): Likewise.
16943 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16944 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16945 "bp-asm.h".
16946 (PARMS): Do not use macros from bp-asm.h.
16947 (strlen): Do not use BP_SYM.
16948 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16949 "bp-asm.h".
16950 (PARMS): Do not use macros from bp-asm.h.
16951 (S1): Likewise.
16952 (S2): Likewise.
16953 (SIZE): Likewise.
16954 (__mpn_sub_n): Do not use BP_SYM.
16955 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16956 "bp-asm.h".
16957 (PARMS): Do not use macros from bp-asm.h.
16958 (S1): Likewise.
16959 (SIZE): Likewise.
16960 (__mpn_submul_1): Do not use BP_SYM.
16961 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16962 "bp-asm.h".
16963 (PARMS): Do not use macros from bp-asm.h.
16964 (S1): Likewise.
16965 (S2): Likewise.
16966 (SIZE): Likewise.
16967 (__mpn_add_n): Do not use BP_SYM.
16968 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16969 weak_alias.
16970 (bzero): Likewise.
16971 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16972 "bp-asm.h".
16973 (PARMS): Do not use macros from bp-asm.h.
16974 (BLK2): Likewise.
16975 (LEN): Likewise.
16976 (memcmp): Do not use BP_SYM.
16977 (bcmp): Do not use BP_SYM in weak_alias.
16978 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16979 "bp-asm.h".
16980 (PARMS): Do not use macros from bp-asm.h.
16981 (DEST): Likewise.
16982 (SRC): Likewise.
16983 (LEN): Likewise.
16984 (memcpy): Likewise. Do not use BP_SYM.
16985 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16986 "bp-asm.h".
16987 (PARMS): Do not use macros from bp-asm.h.
16988 (DEST): Likewise.
16989 (SRC): Likewise.
16990 (LEN): Likewise.
16991 (memmove): Likewise. Do not use BP_SYM.
16992 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16993 "bp-asm.h".
16994 (PARMS): Do not use macros from bp-asm.h.
16995 (DEST): Likewise.
16996 (SRC): Likewise.
16997 (LEN): Likewise.
16998 (__mempcpy): Likewise. Do not use BP_SYM.
16999 (mempcpy): Do not use BP_SYM in weak_alias.
17000 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17001 "bp-asm.h".
17002 (PARMS): Do not use macros from bp-asm.h.
17003 (DEST): Likewise.
17004 (LEN): Likewise.
17005 [!BZERO_P] (CHR): Likewise.
17006 (memset): Likewise. Do not use BP_SYM.
17007 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17008 "bp-asm.h".
17009 (PARMS): Do not use macros from bp-asm.h.
17010 (STR2): Likewise.
17011 (strcmp): Do not use BP_SYM.
17012 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17013 "bp-asm.h".
17014 (PARMS): Do not use macros from bp-asm.h.
17015 (STR): Likewise.
17016 (DELIM): Likewise.
17017 [USE_AS_STRTOK_R] (SAVE): Likewise.
17018 (FUNCTION): Likewise. Do not use BP_SYM.
17019 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17020 aliases.
17021 (strtok_r): Likewise.
17022 (__GI___strtok_r): Likewise.
17023 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17024 (PARMS): Do not use macros from bp-asm.h.
17025 (S): Likewise.
17026 (SIZE): Likewise.
17027 (__mpn_lshift): Do not use BP_SYM.
17028 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17029 (PARMS): Do not use macros from bp-asm.h.
17030 (STR): Likewise.
17031 (CHR): Likewise.
17032 (__memchr): Do not use BP_SYM.
17033 (memchr): Do not use BP_SYM in weak_alias.
17034 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17035 (PARMS): Do not use macros from bp-asm.h.
17036 (BLK2): Likewise.
17037 (LEN): Likewise.
17038 (memcmp): Do not use BP_SYM.
17039 (bcmp): Do not use BP_SYM in weak_alias.
17040 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17041 (PARMS): Do not use macros from bp-asm.h.
17042 (S1): Likewise.
17043 (SIZE): Likewise.
17044 (__mpn_mul_1): Do not use BP_SYM.
17045 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17046 "bp-asm.h".
17047 (PARMS): Do not use macros from bp-asm.h.
17048 (STR): Likewise.
17049 (CHR): Likewise.
17050 (__rawmemchr): Do not use BP_SYM.
17051 (rawmemchr): Do not use BP_SYM in weak_alias.
17052 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17053 (PARMS): Do not use macros from bp-asm.h.
17054 (S): Likewise.
17055 (SIZE): Likewise.
17056 (__mpn_rshift): Do not use BP_SYM.
17057 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17058 (PARMS): Do not use macros from bp-asm.h.
17059 (SIGMSK): Likewise.
17060 (__sigsetjmp): Likewise. Do not use BP_SYM.
17061 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17062 (_start): Do not use BP_SYM.
17063 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17064 (PARMS): Do not use macros from bp-asm.h.
17065 (DEST): Likewise.
17066 (SRC): Likewise.
17067 (__stpcpy): Likewise. Do not use BP_SYM.
17068 (stpcpy): Do not use BP_SYM in weak_alias.
17069 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17070 "bp-asm.h".
17071 (PARMS): Do not use macros from bp-asm.h.
17072 (DEST): Likewise.
17073 (SRC): Likewise.
17074 (LEN): Likewise.
17075 (__stpncpy): Likewise. Do not use BP_SYM.
17076 (stpncpy): Do not use BP_SYM in weak_alias.
17077 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17078 (PARMS): Do not use macros from bp-asm.h.
17079 (STR): Likewise.
17080 (CHR): Likewise.
17081 (strchr): Likewise. Do not use BP_SYM.
17082 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17083 "bp-asm.h".
17084 (PARMS): Do not use macros from bp-asm.h.
17085 (STR): Likewise.
17086 (CHR): Likewise.
17087 (__strchrnul): Likewise. Do not use BP_SYM.
17088 (strchrnul): Do not use BP_SYM in weak_alias.
17089 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17090 "bp-asm.h".
17091 (PARMS): Do not use macros from bp-asm.h.
17092 (STOP): Likewise.
17093 (strcspn): Do not use BP_SYM.
17094 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17095 "bp-asm.h".
17096 (PARMS): Do not use macros from bp-asm.h.
17097 (STR): Likewise.
17098 (STOP): Likewise.
17099 (strpbrk): Likewise. Do not use BP_SYM.
17100 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17101 "bp-asm.h".
17102 (PARMS): Do not use macros from bp-asm.h.
17103 (STR): Likewise.
17104 (CHR): Likewise.
17105 (strrchr): Likewise. Do not use BP_SYM.
17106 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17107 (PARMS): Do not use macros from bp-asm.h.
17108 (SKIP): Likewise.
17109 (strspn): Do not use BP_SYM.
17110 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17111 (PARMS): Do not use macros from bp-asm.h.
17112 (STR): Likewise.
17113 (DELIM): Likewise.
17114 (SAVE): Likewise.
17115 (FUNCTION): Likewise. Do not use BP_SYM.
17116 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17117 aliases.
17118 (strtok_r): Likewise.
17119 (__GI___strtok_r): Likewise.
17120 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17121 (PARMS): Do not use macros from bp-asm.h.
17122 (S1): Likewise.
17123 (S2): Likewise.
17124 (SIZE): Likewise.
17125 (__mpn_sub_n): Do not use BP_SYM.
17126 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17127 "bp-asm.h".
17128 (PARMS): Do not use macros from bp-asm.h.
17129 (S1): Likewise.
17130 (SIZE): Likewise.
17131 (__mpn_submul_1): Do not use BP_SYM.
17132 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17133 <bp-sym.h>.
17134 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17135 and <bp-asm.h>.
17136 (PARMS): Do not use macros from bp-asm.h.
17137 (FLAGS): Likewise.
17138 (PTID): Likewise.
17139 (TLS): Likewise.
17140 (CTID): Likewise.
17141 (__clone): Do not use BP_SYM.
17142 (clone): Do not use BP_SYM in weak_alias.
17143 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17144 and <bp-asm.h>.
17145 (PARMS): Do not use macros from bp-asm.h.
17146 (LEN): Likewise.
17147 (__mmap64): Do not use BP_SYM.
17148 (mmap64): Do not use BP_SYM in weak_alias.
17149 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17150 <bp-sym.h> and <bp-asm.h>.
17151 (PARMS): Do not use macros from bp-asm.h.
17152 (__posix_fadvise64_l64): Do not use BP_SYM.
17153 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17154 (PARMS): Do not use macros from bp-asm.h.
17155 (NSOPS): Likewise.
17156 (semtimedop): Do not use BP_SYM.
17157 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17158 and <bp-asm.h>.
17159
17160 2013-02-21 Allan McRae <allan@archlinux.org>
17161
17162 * manual/message.texi (Charset conversion in gettext):
17163 Move @end statement to beginning of line.
17164
17165 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17166
17167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17168 static.
17169 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17170 Likewise.
17171
17172 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17173 (denorm): Likewise.
17174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17176
17177 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17178
17179 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17180 tail-call to the resolved function if pltexit isn't needed.
17181
17182 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17183
17184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17185 or Y being zero as being unlikely.
17186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17187 Likewise.
17188
17189 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17190
17191 * manual/nss.texi (System Databases and Name Service Switch):
17192 Remove frobnicate @pxref.
17193
17194 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17195
17196 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17197 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17198
17199 2013-02-20 Petr Machata <pmachata@redhat.com>
17200
17201 * elf/elf.h (R_ARM_TARGET1): New macro.
17202 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17203 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17204 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17205 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17206 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17207 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17208 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17209 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17210 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17211 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17212 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17213 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17214 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17215 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17216 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17217 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17218 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17219 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17220 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17221 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17222 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17223 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17224 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17225 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17226 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17227 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17228 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17229 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17230 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17231 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17232 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17233 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17234 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17235 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17236 (R_ARM_THM_GOT_BREL12): Likewise.
17237 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17238 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17239 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17240 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17241 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17242 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17243 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17244 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17245 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17246
17247 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17248
17249 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17250 __attribute_used__ to __attribute__ ((unused)).
17251
17252 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17253
17254 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17255 powerpc mpa.c.
17256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17257 comment formatting.
17258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17259
17260 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17261
17262 [BZ #13550]
17263 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17264 Remove macro.
17265 (ENTER): Remove both macro definitions.
17266 (LEAVE): Likewise.
17267 (CHECK_BOUNDS_LOW): Likewise.
17268 (CHECK_BOUNDS_HIGH): Likewise.
17269 (CHECK_BOUNDS_BOTH): Likewise.
17270 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17271 (RETURN_BOUNDED_POINTER): Likewise.
17272 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17273 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17274 (POP_ERRNO_LOCATION_RETURN): Likewise.
17275 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17276 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17277 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17278 macros.
17279 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17280 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17281 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17282 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17283 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17284 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17285 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17286 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17287 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17288 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17289 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17290 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17291 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17292 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17293 removed macros.
17294 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17295 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17296 macros.
17297 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17298 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17299 * sysdeps/i386/i586/memset.S (memset): Likewise.
17300 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17301 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17302 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17303 macros.
17304 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17305 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17306 Change uses of L(2) to L(out).
17307 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17308 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17309 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17310 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17311 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17312 removed macros.
17313 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17314 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17315 macros.
17316 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17317 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17318 (RETURN): Do not use macro LEAVE.
17319 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17320 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17321 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17322 * sysdeps/i386/i686/memset.S (memset): Likewise.
17323 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17324 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17325 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17326 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17327 Likewise.
17328 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17329 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17330 L(1_2) and L(1_3) into L(1).
17331 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17332 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17333 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17334 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17335 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17336 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17337 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17338 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17339 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17340 macros.
17341 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17342 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17343 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17344 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17345 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17346 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17347 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17348 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17349 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17350 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17351 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17352 * sysdeps/i386/strspn.S (strspn): Likewise.
17353 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17354 conditional code.
17355 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17356 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17357 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17358 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17359 L(1_3) into L(1_1).
17360 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17361 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17362 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17363 macros.
17364 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17365
17366 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17367
17368 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17369 macro.
17370
17371 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17372
17373 * math/atest-exp.c (exp_mpn): Remove ROUND.
17374 * math/atest-exp2.c (exp_mpn): Likewise.
17375 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17376
17377 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17378 * stdlib/tst-tls-atexit-lib.c: Likewise.
17379 * stdlib/tst-tls-atexit.c: Likewise.
17380
17381 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17382
17383 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17384 and __attribute_alloc_size__.
17385
17386 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17387
17388 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17389 __attribute_alloc_size__.
17390 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17391 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17392
17393 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17394
17395 * include/programs/xmalloc.h: New file.
17396 * catgets/gencat.c: Include it.
17397 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17398 * elf/pldd.c: Likewise.
17399 * iconv/iconv_charmap.c: Likewise.
17400 * iconv/iconvconfig.c: Likewise.
17401 * iconv/strtab.c: Likewise.
17402 * locale/programs/locale.c: Likewise.
17403 * locale/programs/localedef.h: Likewise.
17404 * locale/programs/simple-hash.c: Likewise.
17405 * nscd/nscd.h: Likewise.
17406 * nss/makedb.c: Likewise.
17407 * sysdeps/generic/ldconfig.h: Likewise.
17408
17409 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17410
17411 * Versions.def: Add GLIBC_2.18.
17412 * include/link.h (struct link_map): New member l_tls_dtor_count.
17413 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17414 (__call_tls_dtors): Likewise.
17415 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17416 __cxa_thread_atexit_impl.
17417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17418 Likewise.
17419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17420 Likewise.
17421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17422 Likewise.
17423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17424 Likewise.
17425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17427 Likewise.
17428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17429 Likewise.
17430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17432 Likewise.
17433 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17434 (tests): Add test case tst-tls-atexit.
17435 (modules-names): Add shared library for tst-tls-atexit.
17436 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17437 (GLIBC_PRIVATE): Add __call_tls_dtors.
17438 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17439 for libstdc++.
17440 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17441 * stdlib/tst-tls-atexit.c: New test case.
17442 * stdlib/tst-tls-atexit-lib.c: New test case.
17443
17444 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17445
17446 * elf/Versions (ld): Add _dl_find_dso_for_object.
17447 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17448 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17449 (dl_open_worker): Use _dl_find_dso_for_object.
17450 * elf/dl-sym.c (do_sym): Likewise.
17451 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17452
17453 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17454
17455 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17456 Syntactic changes only.
17457 (_dl_runtime_profile): Do a tail-call to the resolved function.
17458
17459 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17460
17461 [BZ #13550]
17462 * sysdeps/x86_64/bp-asm.h: Remove file.
17463 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17464 <bp-sym.h> and <bp-asm.h>.
17465 (__clone): Do not use BP_SYM.
17466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17467 <bp-sym.h> and <bp-asm.h>.
17468 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17469 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17470 "bp-asm.h".
17471 (_setjmp): Do not use BP_SYM.
17472 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17473 "bp-asm.h".
17474 (setjmp): Do not use BP_SYM.
17475 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17476 libc_hidden_def.
17477 (mempcpy): Do not use BP_SYM in weak_alias.
17478 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17479 "bp-asm.h".
17480 (strchr): Do not use BP_SYM.
17481 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17482 "bp-asm.h".
17483 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17484 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17485 (_start): Do not use BP_SYM.
17486 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17487 "bp-asm.h".
17488 (strcat): Do not use BP_SYM.
17489 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17490 "bp-asm.h".
17491 (STRCMP): Do not use BP_SYM.
17492 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17493 "bp-asm.h".
17494 (STRCPY): Do not use BP_SYM.
17495 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17496 "bp-asm.h".
17497 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17498 "bp-asm.h".
17499 (FUNCTION): Do not use BP_SYM.
17500 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17501 weak_alias.
17502 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17503
17504 2013-02-17 Andreas Jaeger <aj@suse.de>
17505
17506 * time/Versions: Sort entries.
17507 * string/Versions: Likewise.
17508 * resolv/Versions: Likewise.
17509 * posix/Versions: Likewise.
17510 * iconv/Versions: Likewise.
17511 * elf/Versions: Likewise.
17512 * wcsmbs/Versions: Likewise.
17513
17514 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17515
17516 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17517 loop termination condition.
17518
17519 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17520 variable to calculate EZ.
17521 (__sqr): Likewise.
17522
17523 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17524 the lower precision input.
17525
17526 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17527
17528 [BZ #13550]
17529 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17530 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17531 (run-via-rtld-prefix): Do not handle %-bp tests.
17532 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17533 (all-object-suffixes): Remove .ob.
17534 (bppfx): Remove variable.
17535 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17536 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17537 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17538 [$(build-bounded) = yes] (libtype.ob): Likewise.
17539 * Makerules (elide-routines.ob): Remove variable.
17540 (do-tests-clean): Do not handle *-bp.out.
17541 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17542 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17543 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17544 (tests): Do not include $(tests-bp.out).
17545 (xtests): Do not include $(xtests-bp.out).
17546 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17547 [$(build-bounded) = yes] ($(addprefix
17548 $(objpfx),$(binaries-bounded))): Remove rule.
17549 ($(objpfx)%-bp.out): Remove rule.
17550 * config.make.in (build-bounded): Remove variable.
17551 * crypt/Makefile [$(build-bounded) = yes]
17552 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17553 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17554 append to variable.
17555 [$(build-bounded) = yes] (install-lib): Likewise.
17556 [$(build-bounded) = yes] (generated): Likewise.
17557 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17558 Remove rule.
17559 * intl/Makefile [$(build-bounded) = yes]
17560 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17561 * math/Makefile [$(build-bounded) = yes]
17562 ($(tests:%=$(objpfx)%-bp): Likewise.
17563 * misc/Makefile [$(build-bounded) = yes]
17564 ($(objpfx)tst-tsearch-bp): Likewise.
17565 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17566 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17567 Remove dependency.
17568 * string/Makefile (o-objects.ob): Remove variable.
17569 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17570 (CFLAGS-.ob): Remove variable.
17571 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17572 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17573 both definitions of variable.
17574 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17575 (ASFLAGS-.ob): Remove variable.
17576
17577 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17578
17579 [BZ #13550]
17580 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17581 Remove __BOUNDED_POINTERS__ from condition.
17582 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17583 * string/bits/string2.h [!__NO_STRING_INLINES &&
17584 !__BOUNDED_POINTERS__]: Likewise.
17585 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17586 Likewise.
17587 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17588 Remove conditional code.
17589 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17590 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17591 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17592 condition.
17593
17594 [BZ #13550]
17595 * csu/libc-start.c: Do not include <bp-sym.h>.
17596 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17597 * elf/dl-open.c: Do not include <bp-sym.h>.
17598 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17599 * math/fegetenv.c: Do not include <bp-sym.h>.
17600 (fegetenv): Do not use BP_SYM in versioned symbols.
17601 * nptl/sysdeps/pthread/bits/libc-lockP.h
17602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17603 <bp-sym.h>.
17604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17605 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17607 (__pthread_mutex_destroy): Likewise.
17608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17609 (__pthread_mutex_lock): Likewise.
17610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17611 (__pthread_mutex_trylock): Likewise.
17612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17613 (__pthread_mutex_unlock): Likewise.
17614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17615 (__pthread_mutexattr_init): Likewise.
17616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17617 (__pthread_mutexattr_destroy): Likewise.
17618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17619 (__pthread_mutexattr_settype): Likewise.
17620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17621 (__pthread_rwlock_init): Likewise.
17622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17623 (__pthread_rwlock_destroy): Likewise.
17624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17625 (__pthread_rwlock_rdlock): Likewise.
17626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17627 (__pthread_rwlock_tryrdlock): Likewise.
17628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17629 (__pthread_rwlock_wrlock): Likewise.
17630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17631 (__pthread_rwlock_trywrlock): Likewise.
17632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17633 (__pthread_rwlock_unlock): Likewise.
17634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17635 (__pthread_key_create): Likewise.
17636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17637 (__pthread_setspecific): Likewise.
17638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17639 (__pthread_getspecific): Likewise.
17640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17641 Likewise.
17642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17643 (_pthread_cleanup_push_defer): Likewise.
17644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17645 (_pthread_cleanup_pop_restore): Likewise.
17646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17647 (pthread_setcancelstate): Likewise.
17648 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17649 <bp-sym.h>.
17650 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17651 (memchr): Do not use BP_SYM in weak_alias.
17652 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17653 (fegetenv): Do not use BP_SYM in versioned symbols.
17654 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17655 (fesetenv): Do not use BP_SYM in versioned symbols.
17656 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17657 (feupdateenv): Do not use BP_SYM in versioned symbols.
17658 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17659 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17660 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17661 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17662 (open64): Do not use BP_SYM in weak_alias.
17663 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17664 (fegetenv): Do not use BP_SYM in versioned symbols.
17665 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17666 (fesetenv): Do not use BP_SYM in versioned symbols.
17667 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17668 (feupdateenv): Do not use BP_SYM in versioned symbols.
17669 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17670 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17671 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17672 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17673 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17674 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17675 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17676 <bp-sym.h>.
17677 (__libc_start_main): Do not use BP_SYM.
17678
17679 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17680
17681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17682 redundant return line.
17683 (norm): Likewise.
17684 (denorm): Likewise.
17685 (dbl_mp): Likewise.
17686 (sub_magnitudes): Likewise.
17687 (__add): Likewise.
17688 (__sub): Likewise.
17689 (__mul): Likewise.
17690 (__inv): Likewise.
17691 (__dvd): Likewise.
17692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17693 (norm): Likewise.
17694 (denorm): Likewise.
17695 (dbl_mp): Likewise.
17696 (sub_magnitudes): Likewise.
17697 (__add): Likewise.
17698 (__sub): Likewise.
17699 (__mul): Likewise.
17700 (__inv): Likewise.
17701 (__dvd): Likewise.
17702
17703 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17704 instead of __mul.
17705 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17706 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17707 (cc32): Likewise.
17708
17709 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17710 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17712 of __mul for squares.
17713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17714 function
17715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17716 Likewise.
17717 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17718 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17719
17720 2013-02-13 Joseph Myers <joseph@codesourcery.com>
17721
17722 [BZ #13550]
17723 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17724 code.
17725 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17726 prototype or function definition. Rename ubp_* variables and
17727 parameters. Remove argv definitions conditional on
17728 [__BOUNDED_POINTERS__].
17729 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17730 * elf/dl-runtime.c (_dl_fixup): Likewise.
17731 * include/set-hooks.h (RUN_HOOK): Likewise.
17732 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17733 definition.
17734 * string/strcpy.c (strcpy): Do not use __unbounded.
17735 * sysdeps/generic/frame.h (struct layout): Likewise.
17736 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17737 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17738 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17739 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17740 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17741 (__backtrace): Likewise.
17742 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17743 use __ptrvalue.
17744 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17745 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17746 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17747 Likewise.
17748 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17749 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17750 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17751 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17752 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17753 Do not use __unbounded.
17754 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17755 Rename __unboundedrlimits parameter to rlimits in prototype.
17756 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17757 Do not use __unbounded.
17758 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17759 not use __ptrvalue.
17760 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17761 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17762 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17763 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17764 __ptrvalue or __unbounded.
17765 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17766 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17767 use __unbounded.
17768 (__new_msgctl): Do not use __ptrvalue.
17769 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17770 __unbounded.
17771 (__libc_msgrcv): Do not use __ptrvalue.
17772 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17773 startup_info): Do not use __unbounded.
17774 (__libc_start_main): Likewise. Rename ubp_* variables and
17775 parameters. Remove argv definitions conditional on
17776 [__BOUNDED_POINTERS__].
17777 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17778 __ptrvalue.
17779 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17780 use __unbounded.
17781 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17782 or __ptrvalue.
17783 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17784 use __unbounded.
17785 (__new_shmctl): Do not use __ptrvalue.
17786 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17787 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17788 Likewise.
17789 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17790 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17791 (__libc_sigaction): Likewise.
17792 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17793 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17794 Likewise.
17795 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17796
17797 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
17798
17799 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17800
17801 * string/mempcpy.c: Implement by calling memcpy.
17802
17803 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17804
17805 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17806
17807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17808 evaluation.
17809
17810 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17811 values in the mantissa.
17812
17813 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17814 minimize writes to Z.
17815 (sub_magnitudes): Simplify code a bit.
17816
17817 2013-02-12 Roland McGrath <roland@hack.frob.com>
17818
17819 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17820 from the message. The linker prefixes all warnings with that already.
17821
17822 2013-02-12 Andreas Schwab <schwab@suse.de>
17823
17824 [BZ #15078]
17825 * posix/regexec.c (extend_buffers): Add parameter min_len.
17826 (check_matching): Pass minimum needed length.
17827 (clean_state_log_if_needed): Likewise.
17828 (get_subexp): Likewise.
17829 * posix/Makefile (tests): Add bug-regex34.
17830 (bug-regex34-ENV): Define.
17831 * posix/bug-regex34.c: New file.
17832
17833 [BZ #11561]
17834 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17835 elements compare against the byte sequence of it, not its name.
17836 * posix/Makefile (tests): Add bug-regex35.
17837 (bug-regex35-ENV): Define.
17838 * posix/bug-regex35.c: New file.
17839
17840 2013-02-11 Tom de Vries <tom@codesourcery.com>
17841
17842 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17843 comment.
17844 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17845 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17846 (CHECK_EOL): Add undef.
17847
17848 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
17849
17850 * bits/stdlib-bsearch.h: New file.
17851 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17852 * stdlib/stdlib.h: Likewise.
17853
17854 2013-02-11 Roland McGrath <roland@hack.frob.com>
17855
17856 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17857 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17858 declaration.
17859 * manual/search.texi (Array Search Function): Add missing const in
17860 lfind prototype.
17861 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17862 declaration to use rlim_t.
17863 (Basic Scheduling Functions): Remove erroneous const from
17864 sched_getparam prototype. Remove erroneous * from
17865 sched_get_priority_max and sched_get_priority_min prototypes.
17866 (Resource Usage): Fix summary @comment on vtimes to refer to
17867 sys/vtimes.h rather than vtimes.h.
17868 Add missing *s in vtimes prototype.
17869 (Limits on Resources): Fix ulimit prototype to return long int.
17870 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17871 prototypes to use long int rather than double.
17872 (BSD Random): Fix initstate and setstate to use char *, not void *.
17873 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17874 prototype to make second argument 'struct aiocb64 *const[]'.
17875 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17876 (Status of AIO Operations): Remove erroneous const in aio_return and
17877 aio_return64 prototypes.
17878 (Synchronizing I/O): Fix sync prototype to return void.
17879 * manual/startup.texi (Suboptions): Remove an erroneous const in
17880 getsubopt prototype.
17881 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17882 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17883 use size_t rather than int.
17884 (Scanning All Users): Likewise for getpwent_r.
17885 (Setting Groups): Add missing const to setgroups prototype.
17886 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17887 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17888 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17889 'const void *' rather than 'const char *'.
17890 (Host Address Functions): Likewise for inet_ntop.
17891 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17892 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17893 ssize_t for return value.
17894 (Sending Data): Likewise for send, sendto, sendmsg.
17895 (Socket Option Functions): Add a missing const in setsockopt prototype.
17896 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17897 use wchar_t for the argument.
17898 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17899 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17900 take no arguments.
17901 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17902 double/float/long double for second argument.
17903 Fix return types of significand, significandf, significandl.
17904 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17905 argument in fchmod prototype.
17906 (File Owner): Use uid_t and gid_t in fchown prototype.
17907 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17908 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17909 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17910 use 'const struct dirent **' as argument types to CMP function pointer
17911 argument.
17912 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17913 (File Times): Fix summary magic @comment for struct utimbuf and utime
17914 to refer to utime.h, not time.h.
17915 * manual/string.texi (Argz Functions): Add missing const in
17916 argz_extract and argz_next prototypes.
17917 (Finding Tokens in a String): Likewise for basename.
17918 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17919 (Copying and Concatenation): Fix typo in wmemmove prototype.
17920 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17921 (Signal Stack): Remove erroneous const in sigstack prototype.
17922 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17923 prototype.
17924 (Simple Calendar Time): Likewise for stime.
17925 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17926 prototype.
17927 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17928 say sys/sysctl.h instead.
17929 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17930 and vsyslog prototypes.
17931
17932 2013-02-11 Tom de Vries <tom@codesourcery.com>
17933
17934 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17935 Remove.
17936
17937 2013-02-11 Roland McGrath <roland@hack.frob.com>
17938
17939 * misc/sys/mman.h: Fix typo in mremap comment.
17940
17941 2013-02-08 Roland McGrath <roland@hack.frob.com>
17942
17943 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17944 the '\0' terminator.
17945
17946 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17947
17948 [BZ #13550]
17949 * debug/segfault.c: Don't include <bp-checks.h>.
17950 * sysdeps/generic/bp-checks.h: Remove file.
17951 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17952 (__GETDENTS): Don't use CHECK_N.
17953 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17954 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17955 (__getgroups): Don't use CHECK_N.
17956 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17957 (setgroups): Don't use CHECK_N.
17958 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17959 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17960 (__libc_msgrcv): Don't use CHECK_N.
17961 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17962 (__libc_msgsnd): Don't use CHECK_N.
17963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17964 <bp-checks.h>.
17965 (__libc_pread): Don't use CHECK_N.
17966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17967 include <bp-checks.h>.
17968 (__libc_pread64): Don't use CHECK_N.
17969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17970 include <bp-checks.h>.
17971 (__libc_pwrite): Don't use CHECK_N.
17972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17973 include <bp-checks.h>.
17974 (__libc_pwrite64): Don't use CHECK_N.
17975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17976 <bp-checks.h>.
17977 (__libc_pread): Don't use CHECK_N.
17978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17979 include <bp-checks.h>.
17980 (__libc_pread64): Don't use CHECK_N.
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17982 include <bp-checks.h>.
17983 (__libc_pwrite): Don't use CHECK_N.
17984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17985 include <bp-checks.h>.
17986 (__libc_pwrite64): Don't use CHECK_N.
17987 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17988 (do_pread): Don't use CHECK_N.
17989 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17990 (do_pread64): Don't use CHECK_N.
17991 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17992 (do_pwrite): Don't use CHECK_N.
17993 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17994 (do_pwrite64): Don't use CHECK_N.
17995 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17996 (__libc_readv): Don't use CHECK_N.
17997 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17998 (semop): Don't use CHECK_N.
17999 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18000 <bp-checks.h>.
18001 (semtimedop): Don't use CHECK_N.
18002 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18003 (__libc_pread): Don't use CHECK_N.
18004 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18005 <bp-checks.h>.
18006 (__libc_pread64): Don't use CHECK_N.
18007 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18008 <bp-checks.h>.
18009 (__libc_pwrite): Don't use CHECK_N.
18010 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18011 <bp-checks.h>.
18012 (__libc_pwrite64): Don't use CHECK_N.
18013 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18014 <bp-checks.h>.
18015 (__libc_msgrcv): Don't use CHECK_N.
18016 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18017 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18018 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18019 (__libc_writev): Don't use CHECK_N.
18020
18021 2013-02-08 Roland McGrath <roland@hack.frob.com>
18022
18023 * string/strcpy.c: Removed unused variable.
18024
18025 * Makeconfig (+sysdep-includes): Define with := rather than =.
18026 Use an existing include/ subdir of each sysdeps dir before it.
18027
18028 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18029
18030 * nscd/connection.c (register_traced_file): Comment function.
18031 [HAVE_INOTIFY] (union __inev): Define.
18032 [HAVE_INOTIFY] (inotify_check_files): New function.
18033 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18034 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18035 clear_db_cache.
18036 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18037
18038 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18039
18040 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18041 loaded if not already and that a failure is permanent.
18042
18043 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18044
18045 [BZ #15006]
18046 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18047 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18048
18049 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18050
18051 [BZ #13550]
18052 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18053 (CHECK_1_NULL_OK): Likewise.
18054 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18055 (__fxstat): Do not use CHECK_1.
18056 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18057 <bp-checks.h>.
18058 (___fxstat64): Do not use CHECK_1.
18059 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18060 <bp-checks.h>.
18061 (__fxstatat): Do not use CHECK_1.
18062 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18063 <bp-checks.h>.
18064 (__fxstatat64): Do not use CHECK_1.
18065 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18066 <bp-checks.h>.
18067 (__fxstat): Do not use CHECK_1.
18068 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18069 <bp-checks.h>.
18070 (__fxstatat): Do not use CHECK_1.
18071 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18072 <bp-checks.h>.
18073 (__getresgid): Do not use CHECK_1.
18074 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18075 <bp-checks.h>.
18076 (__getresuid): Do not use CHECK_1.
18077 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18078 <bp-checks.h>.
18079 (__lxstat): Do not use CHECK_1.
18080 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18081 <bp-checks.h>.
18082 (__old_msgctl): Do not use CHECK_1.
18083 (__new_msgctl): Likewise.
18084 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18085 <bp-checks.h>.
18086 (__new_setrlimit): Do not use CHECK_1.
18087 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18088 <bp-checks.h>.
18089 (__old_shmctl): Do not use CHECK_1.
18090 (__new_shmctl): Likewise.
18091 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18092 <bp-checks.h>.
18093 (__xstat): Do not use CHECK_1.
18094 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18095 (__lxstat): Do not use CHECK_1.
18096 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18097 <bp-checks.h>.
18098 (___lxstat64): Do not use CHECK_1.
18099 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18100 (__old_msgctl): Do not use CHECK_1.
18101 (__new_msgctl): Likewise.
18102 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18103 <bp-checks.h>.
18104 (__gettimeofday): Do not use CHECK_1.
18105 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18106 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18107 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18108 <bp-checks.h>.
18109 (__gettimeofday): Do not use CHECK_1.
18110 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18111 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18112 (__new_shmctl): Do not use CHECK_1.
18113 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18114 <bp-checks.h>.
18115 (do_sigtimedwait): Do not use CHECK_1.
18116 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18117 <bp-checks.h>.
18118 (do_sigwaitinfo): Do not use CHECK_1.
18119 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18120 <bp-checks.h>.
18121 (msgctl): Do not use CHECK_1.
18122 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18123 <bp-checks.h>.
18124 (shmctl): Do not use CHECK_1.
18125 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18126 (ustat): Do not use CHECK_1.
18127 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18128 <bp-checks.h>.
18129 (__fxstat): Do not use CHECK_1.
18130 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18131 <bp-checks.h>.
18132 (__fxstatat): Do not use CHECK_1.
18133 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18134 <bp-checks.h>.
18135 (__lxstat): Do not use CHECK_1.
18136 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18137 <bp-checks.h>.
18138 (__xstat): Do not use CHECK_1.
18139 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18140 (__xstat): Do not use CHECK_1.
18141 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18142 (___xstat64): Do not use CHECK_1.
18143
18144 [BZ #13550]
18145 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18146 definitions.
18147 (CHECK_BOUNDS_HIGH): Likewise.
18148 * string/strcpy.c: Do not include <bp-checks.h>.
18149 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18150
18151 2013-02-07 Roland McGrath <roland@hack.frob.com>
18152
18153 * nscd/nscd-client.h (__nscd_drop_map_ref):
18154 Add __attribute__ ((unused)).
18155 * nis/nss-nisplus.h (niserr2nss): Likewise.
18156
18157 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18158 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18159
18160 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18161 Remove inline keyword.
18162 * include/rounding-mode.h (round_away): Likewise.
18163 * libio/wfileops.c (adjust_wide_data): Likewise.
18164 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18165 (__m128i_strloadu_tolower): Likewise.
18166 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18167 (__m128i_strloadu_tolower): Likewise.
18168 * time/mktime.c (ydhms_diff): Likewise.
18169 * locale/elem-hash.h (elem_hash): Likewise.
18170 * locale/setlocale.c (setdata): Likewise.
18171 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18172 (re_string_wchar_at): Likewise.
18173 (bitset_not, bitset_merge, bitset_mask): Likewise.
18174 [!(__GNUC__ > 3)] (inline): Remove macro.
18175 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18176 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18177 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18178 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18179 * string/memcmp.c (memcmp_bytes): Likewise.
18180 * locale/programs/locarchive.c (compute_hashval): Likewise.
18181 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18182 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18183 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18184 * nss/getent.c (print_rpc, print_protocols): Likewise.
18185 (print_passwd, print_group, print_aliases): Likewise.
18186 * nis/nss-nisplus.h (niserr2nss): Likewise.
18187 * nscd/connections.c (restart_p): Likewise.
18188 Change return type to bool.
18189
18190 2013-02-05 Roland McGrath <roland@hack.frob.com>
18191
18192 * Makeconfig (all-Depend-files): Add existing
18193 $(sorted-subdirs:=/Depend) files.
18194 (all-subdirs): Remove nss.
18195 * sysdeps/unix/inet/Subdirs: Add it here instead.
18196 * hesiod/Depend: New file.
18197
18198 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18199 instead of calling alloca.
18200
18201 * io/lseek.c (__lseek): Rename to __libc_lseek.
18202 Define __lseek as an alias.
18203
18204 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18205
18206 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18207
18208 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18209 else clause and remove check for non-standard endianness.
18210
18211 2013-02-04 David S. Miller <davem@davemloft.net>
18212
18213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18214
18215 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18216
18217 [BZ #13550]
18218 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18219 (__ubp_memchr): Remove prototype.
18220 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18221 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18222 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18223 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18224 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18225 Remove alias.
18226 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18227 (__ubp_memchr): Likewise.
18228 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18229 (__ubp_memchr): Likewise.
18230 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18231 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18232 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18233 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18234 CHECK_STRING.
18235 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18236 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18237 (__getcwd): Do not use CHECK_STRING.
18238 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18239 <bp-checks.h>.
18240 (__real_chown): Do not use CHECK_STRING.
18241 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18242 <bp-checks.h>.
18243 (fchownat): Do not use CHECK_STRING.
18244 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18245 CHECK_STRING.
18246 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18247 <bp-checks.h>.
18248 (__lchown): Do not use CHECK_STRING.
18249 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18250 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18251 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18252 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18254 include <bp-checks.h>.
18255 (truncate64): Do not use CHECK_STRING.
18256 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18257 <bp-checks.h>.
18258 (__real_chown): Do not use CHECK_STRING.
18259 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18260 <bp-checks.h>.
18261 (__lchown): Do not use CHECK_STRING.
18262 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18263 <bp-checks.h>.
18264 (__chown): Do not use CHECK_STRING.
18265 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18266 <bp-checks.h>.
18267 (truncate64): Do not use CHECK_STRING.
18268 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18269 Likewise.
18270 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18271 (__xmknod): Do not use CHECK_STRING.
18272 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18273 <bp-checks.h>.
18274 (__xmknodat): Do not use CHECK_STRING.
18275 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18276 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18277
18278 2013-02-04 Andreas Schwab <schwab@suse.de>
18279
18280 [BZ #14142]
18281 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18282 * include/netdb.h: Likewise for h_errno.
18283 * elf/tst-stackguard1.c: Include <tls.h>.
18284
18285 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18286
18287 * elf/link.h (struct link_map): Extend the l_addr comment.
18288 * include/link.h (struct link_map): Likewise.
18289
18290 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18291
18292 [BZ #13550]
18293 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18294 (BOUNDED_1): Remove macro.
18295 * debug/backtrace.c: Don't include <bp-checks.h>.
18296 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18297 (__backtrace): Likewise.
18298 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18299 <bp-checks.h>.
18300 (__backtrace): Don't use BOUNDED_1.
18301 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18302 <bp-checks.h>.
18303 (__backtrace): Don't use BOUNDED_1.
18304 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18305 (__backtrace): Don't use BOUNDED_1.
18306 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18307 (shmat): Don't use BOUNDED_N.
18308
18309 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18310
18311 [BZ #13550]
18312 * sysdeps/generic/bp-start.h: Remove file.
18313 * csu/libc-start.c: Don't include <bp-start.h>.
18314 (LIBC_START_MAIN): Set up __environ directly instead of using
18315 INIT_ARGV_and_ENVIRON.
18316 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18317 <bp-start.h>.
18318
18319 [BZ #13550]
18320 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18321 definitions.
18322 (CHECK_FCNTL): Likewise.
18323 (CHECK_N_PAGES): Likewise.
18324
18325 [BZ #13550]
18326 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18327 definitions.
18328 (CHECK_SIGSET_NULL_OK): Likewise.
18329 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18330 <bp-checks.h>.
18331 (sigpending): Don't use CHECK_SIGSET.
18332 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18333 <bp-checks.h>.
18334 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18335 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18336 <bp-checks.h>.
18337 (do_sigsuspend): Don't use CHECK_SIGSET.
18338 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18339 use CHECK_SIGSET.
18340 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18341 (do_sigwait): Don't use CHECK_SIGSET.
18342 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18343 use CHECK_SIGSET.
18344 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18345 include <bp-checks.h>.
18346 (sigpending): Don't use CHECK_SIGSET.
18347 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18348 include <bp-checks.h>.
18349 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18350 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18351 <bp-checks.h>.
18352 (sigpending): Don't use CHECK_SIGSET.
18353 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18354 <bp-checks.h>.
18355 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18356
18357 [BZ #13550]
18358 * sysdeps/generic/bp-semctl.h: Remove file.
18359 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18360 <bp-checks.h> and <bp-semctl.h>.
18361 (__old_semctl): Don't use CHECK_SEMCTL.
18362 (__new_semctl): Likewise.
18363 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18364 and <bp-semctl.h>.
18365 (__old_semctl): Don't use CHECK_SEMCTL.
18366 (__new_semctl): Likewise.
18367 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18368 <bp-checks.h> and <bp-semctl.h>.
18369 (__old_semctl): Don't use CHECK_SEMCTL.
18370 (__new_semctl): Likewise.
18371 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18372 <bp-checks.h> and <bp-semctl.h>.
18373 (semctl): Don't use CHECK_SEMCTL.
18374
18375 [BZ #13550]
18376 * Makerules (elide-bp-thunks): Remove variable.
18377 (elide-routines.oS): Don't use $(elide-bp-thunks).
18378 (elide-routines.os): Likewise.
18379 (elide-routines.o): Likewise.
18380 (elide-routines.op): Likewise.
18381 (elide-routines.og): Likewise.
18382 (objects): Don't use $(bp-thunks).
18383 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18384 include.
18385 (common-generated): Do not add s-proto-bp.d.
18386 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18387 (int): Likewise.
18388 (typ): Likewise.
18389 Do not generate makefile rules for bounded-pointer thunks.
18390 * sysdeps/generic/bp-thunks.h: Remove file.
18391 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18392 * sysdeps/unix/s-proto-bp.S: Likewise.
18393
18394 [BZ #15062]
18395 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18396 parts of result separately when argument is not close to line from
18397 -i to i and one part of argument is small.
18398 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18399 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18400 * math/libm-test.inc (cacos_test): Add more tests.
18401 (casin_test): Likewise.
18402 (casinh_test): Likewise.
18403 * sysdeps/i386/fpu/libm-test-ulps: Update.
18404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18405
18406 2013-01-31 David S. Miller <davem@davemloft.net>
18407
18408 * po/de.po: Update from translation team.
18409
18410 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18411
18412 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18413
18414 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18415
18416 * configure.in (_AC_PROG_CC_C89): New definition.
18417 * configure: Regenerate.
18418
18419 * configure.in (AC_PROG_CPP): New definition.
18420 * configure: Regenerate.
18421
18422 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18423
18424 * debug/tst-backtrace.h: New file.
18425 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18426 (ret): Remove variable.
18427 (x): Likewise.
18428 (FAIL): Remove macro.
18429 (NO_INLINE): Likewise.
18430 (fn1): Use match function instead of strstr.
18431 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18432 (ret): Remove variable.
18433 (x): Likewise.
18434 (FAIL): Remove macro.
18435 (NO_INLINE): Likewise.
18436 (fn): Use match function instead of strstr.
18437 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18438 (ret): Remove variable.
18439 (x): Likewise.
18440 (FAIL): Remove macro.
18441 (NO_INLINE): Likewise.
18442 (handle_signal): Use match function instead of strstr.
18443 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18444 (ret): Remove variable.
18445 (x): Likewise.
18446 (FAIL): Remove macro.
18447 (NO_INLINE): Likewise.
18448 (handle_signal): Use match function instead of strstr.
18449
18450 2013-01-23 Roland McGrath <roland@hack.frob.com>
18451
18452 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18453
18454 2013-01-23 David S. Miller <davem@davemloft.net>
18455
18456 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18457 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18458 argument of CAS if possible.
18459 * sysdeps/sparc/sparc64/bits/atomic.h
18460 (__arch_compare_and_exchange_val_32_acq): Likewise.
18461 (__arch_compare_and_exchange_val_64_acq): Likewise.
18462
18463 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18464
18465 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18466 * sysdeps/posix/ulimit.c: ... this.
18467 Include <limits.h>.
18468 * sysdeps/unix/bsd/ulimit.c: Remove file.
18469
18470 2013-01-23 Adam Conrad <adconrad@0c3.net>
18471
18472 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18473 (LDFLAGS-tst-array5): Likewise.
18474
18475 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18476
18477 [BZ #15036]
18478 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18479 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18480 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18481 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18482
18483 2013-01-21 David S. Miller <davem@davemloft.net>
18484
18485 * sysdeps/sparc/backtrace.c: New file.
18486 * sysdeps/sparc/sparc32/backtrace.h: New file.
18487 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18488 * sysdeps/sparc/sparc64/backtrace.h: New file.
18489 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18490 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18491 -funwind-tables.
18492
18493 2013-01-21 Andreas Schwab <schwab@suse.de>
18494
18495 [BZ #15020]
18496 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18497 closed its stdout.
18498
18499 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18500
18501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18502 "mpa2.h".
18503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18504
18505 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18506 Mark Mitchell <mark@codesourcery.com>
18507 Tom de Vries <tom@codesourcery.com>
18508 Paul Pluzhnikov <ppluzhnikov@google.com>
18509
18510 * debug/tst-backtrace2.c: New file.
18511 * debug/tst-backtrace3.c: Likewise.
18512 * debug/tst-backtrace4.c: Likewise.
18513 * debug/tst-backtrace5.c: Likewise.
18514 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18515 (CFLAGS-tst-backtrace3.c): Likewise.
18516 (CFLAGS-tst-backtrace4.c): Likewise.
18517 (CFLAGS-tst-backtrace5.c): Likewise.
18518 (LDFLAGS-tst-backtrace2): Likewise.
18519 (LDFLAGS-tst-backtrace3): Likewise.
18520 (LDFLAGS-tst-backtrace4): Likewise.
18521 (LDFLAGS-tst-backtrace5): Likewise.
18522 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18523 tst-backtrace4 and tst-backtrace5.
18524
18525 2013-01-18 Anton Blanchard <anton@samba.org>
18526 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18527
18528 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18529 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18530 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18531 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18533 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18534 "+r" and remove output regs list as redundant. Add explicit inline
18535 asm to specify register of return val to work around compiler codegen
18536 bug. Remove (int) cast on return value. Add return type parameter to
18537 use in macro so that this macro does not truncate return value for
18538 64-bit values.
18539 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18540 pass to INTERNAL_VSYSCALL_NCS.
18541 (INLINE_VSYSCALL): Add 'long int' as return type to
18542 INTERNAL_VSYSCALL_NCS macro invocation.
18543 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18544 INTERNAL_VSYSCALL_NCS macro invocation.
18545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18546
18547 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18548
18549 [BZ #14496]
18550 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18551 Fix application of SIMD FP exception mask.
18552
18553 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18554 mp_no from a power of two.
18555 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18556 __mpexp_twomm1. Use __pow_mp.
18557
18558 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18559 multiplication.
18560
18561 2013-01-17 David S. Miller <davem@davemloft.net>
18562
18563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18564
18565 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18566
18567 [BZ #15023]
18568 * include/complex.h: Condition contents on [!_COMPLEX_H].
18569 (__kernel_casinhf): New prototype.
18570 (__kernel_casinh): Likewise.
18571 (__kernel_casinhl): Likewise.
18572 * math/Makefile (libm_calls): Add k_casinh.
18573 * math/k_casinh.c: New file.
18574 * math/k_casinhf.c: Likewise.
18575 * math/k_casinhl.c: Likewise.
18576 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18577 finite nonzero arguments.
18578 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18579 finite nonzero arguments.
18580 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18581 finite nonzero arguments.
18582 * math/s_casinh.c: Do not include <float.h>.
18583 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18584 * math/s_casinhf.c: Do not include <float.h>.
18585 (__casinhf): Move code for finite nonzero arguments to
18586 k_casinhf.c.
18587 * math/s_casinhl.c: Do not include <float.h>.
18588 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18589 redefine.
18590 (__casinhl): Move code for finite nonzero arguments to
18591 k_casinhl.c.
18592 * math/libm-test.inc (cacos_test): Add more tests.
18593 * sysdeps/i386/fpu/libm-test-ulps: Update.
18594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18595
18596 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18597
18598 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18599 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18600 [!HAVE_MREMAP]: Remove [defined linux] case.
18601 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18602
18603 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18604
18605 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18606
18607 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18608
18609 * elf/elf.h (R_386_SIZE32): New relocation.
18610 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18611 R_386_SIZE32.
18612 (elf_machine_rela): Likewise.
18613 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18614 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18615
18616 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18617
18618 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18619 (FP_FAST_FMA): Do not define.
18620 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18621 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18622 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18623 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18624 !_SOFT_FLOAT]: Likewise.
18625 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18626 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18627 value.
18628 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18629 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18630 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18631 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18632 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18633 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18634 file.
18635
18636 2013-01-16 Andreas Schwab <schwab@suse.de>
18637
18638 [BZ #14327]
18639 * include/stdlib.h (__mktemp): Add declaration.
18640 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18641 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18642
18643 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18644
18645 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18646 definitions.
18647 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18648 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18649 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18650 definitions here.
18651 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18652 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18653 definitions.
18654 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18655 and ONE.
18656 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18657 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18658 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18659 definitions.
18660 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18661 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18662 definitions.
18663 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18664
18665 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18666
18667 2013-01-15 David S. Miller <davem@davemloft.net>
18668
18669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18670 trunc{,f} to libm-sysdep_routes.
18671 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18673 file.
18674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18676 file.
18677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18678 file.
18679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18681 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18682 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18683 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18684 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18685 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18686 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18687
18688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18689 nearbyint{,f} to libm-sysdep_routes.
18690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18692 New file.
18693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18694 file.
18695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18696 New file.
18697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18698 file.
18699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18701 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18702 file.
18703 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18704 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18705 file.
18706 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18707 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18708 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18709
18710 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18711 libc_feholdexcept and libc_fesetenv.
18712
18713 2013-01-15 Mike Frysinger <vapier@gentoo.org>
18714
18715 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18716
18717 2013-01-14 David S. Miller <davem@davemloft.net>
18718
18719 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18720 (SPARC_ASM_VIS2_IFUNC): Likewise.
18721 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18723 use of 'siam' instruction.
18724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18725 Likewise.
18726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18727 Likewise.
18728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18729 Likewise.
18730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18735 file.
18736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18737 file.
18738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18739 file.
18740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18741 file.
18742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18747 new VIS2 routines.
18748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18751 Likewise.
18752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18757 routines to libm-sysdep_routines.
18758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18759
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18761 fdim/fdimf to libm-sysdep_routines.
18762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18763 file.
18764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18766 file.
18767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18770 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18771 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18772 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18773 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18774
18775 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18776
18777 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18778 to optimize copies.
18779
18780 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18783
18784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18785 local variable MPTWO.
18786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18787 Likewise.
18788
18789 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18790
18791 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18792 GLOB_NOESCAPE.
18793
18794 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18795
18796 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18797
18798 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18799
18800 * manual/pattern.texi (glob_t): Document gl_flags.
18801 (glob64_t): Likewise.
18802
18803 2013-01-11 David S. Miller <davem@davemloft.net>
18804
18805 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18806 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18807 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
18808 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18809 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18810 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18811 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18812 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18813 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18814 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18815 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18816 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18817 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18818
18819 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18820 sparc V9 rather than using V8 code.
18821 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18822 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18823
18824 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18825 Move to...
18826 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18827 Here.
18828
18829 2013-01-11 Roland McGrath <roland@hack.frob.com>
18830
18831 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18832 not in the main loop.
18833 * configure: Regenerated.
18834
18835 2013-01-11 Joseph Myers <joseph@codesourcery.com>
18836
18837 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18838 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18839 to just #else.
18840 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18841 [!__GLIBC_HAVE_LONG_LONG] case.
18842 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18843 condition to just #else.
18844 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18845 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18846 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18847 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18848 unconditional.
18849 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18850 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18851 #elif condition to just #else.
18852 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18853 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18854 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18855 #elif condition to just #else.
18856
18857 2013-01-11 Steve Ellcey <sellcey@mips.com>
18858
18859 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18860 (EF_MIPS_ARCH_64): Fix value.
18861 (EF_MIPS_ARCH_32R2): New.
18862 (EF_MIPS_ARCH_64R2): New.
18863
18864 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18865
18866 * Makeconfig (+link-pie-before-libc): New.
18867 (+link-pie-after-libc): Likewise.
18868 (+link-pie-tests): Likewise.
18869 (+link-pie): Rewritten.
18870 (link-before-libc): Remove $(config-LDFLAGS).
18871 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18872 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18873 (config-LDFLAGS): Renamed to ...
18874 (rtld-LDFLAGS): This.
18875 (rtld-tests-LDFLAGS): New macro.
18876 (link-libc-rpath-link): Likewise.
18877 (link-libc-tests-rpath-link): Likewise.
18878 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18879 (link-libc): Prepand $(link-libc-rpath-link).
18880 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18881 (test-program-prefix): New macro.
18882 (test-via-rtld-prefix): Likewise.
18883 (test-program-cmd): Likewise.
18884 (host-test-program-cmd): Likewise.
18885 * Makefile ($(common-objpfx)testrun.sh): Replace
18886 $(run-program-prefix) with $(test-program-prefix).
18887 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18888 $(rtld-LDFLAGS).
18889 ($(common-objpfx)shlib.lds): Likewise.
18890 (build-module-helper): Likewise.
18891 ($(common-objpfx)format.lds): Likewise.
18892 * Rules (binaries-pie-tests): New.
18893 (binaries-pie-notests): Likewise.
18894 (binaries-pie): Rewritten.
18895 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18896 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18897 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18898 (make-test-out): Replace $(host-built-program-cmd) with
18899 $(host-test-program-cmd).
18900 * config.make.in (build-hardcoded-path-in-tests): New variable.
18901 * configure.in (--enable-hardcoded-path-in-tests): New configure
18902 option.
18903 (hardcoded_path_in_tests): New AC_SUBST.
18904 * configure: Regenerated.
18905 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18906 $(built-program-cmd) with $(test-program-cmd).
18907 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18908 (test_program_cmd): This.
18909 * elf/Makefile ($(objpfx)order.out): Run test with
18910 $(test-program-prefix).
18911 ($(objpfx)order2.out): Likewise.
18912 ($(objpfx)tst-initorder.out): Likewise.
18913 ($(objpfx)tst-initorder2.out): Likewise.
18914 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18915 $(test-program-cmd).
18916 ($(objpfx)tst-array1-static.out): Likewise.
18917 ($(objpfx)tst-array2.out): Likewise.
18918 ($(objpfx)tst-array3.out): Likewise.
18919 ($(objpfx)tst-array4.out): Likewise.
18920 ($(objpfx)tst-array5.out): Likewise.
18921 ($(objpfx)tst-array5-static.out): Likewise.
18922 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18923 $(test-program-cmd).
18924 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18925 $(run-program-prefix) with $(test-program-prefix).
18926 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18927 (test_program_prefix): This.
18928 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18929 $(run-program-prefix) with $(test-program-prefix).
18930 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18931 (test_program_prefix): This.
18932 * iconvdata/tst-tables.sh: Likewise.
18933 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18934 $(run-program-prefix) with $(test-program-prefix).
18935 ($(objpfx)tst-translit.out): Likewise.
18936 ($(objpfx)tst-gettext2.out): Likewise.
18937 ($(objpfx)tst-gettext4.out): Likewise.
18938 ($(objpfx)tst-gettext6.out): Likewise.
18939 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18940 (test_program_prefix): This.
18941 * intl/tst-gettext2.sh: Likewise.
18942 * intl/tst-gettext4.sh Likewise.
18943 * intl/tst-gettext6.sh: Likewise.
18944 * intl/tst-translit.sh: Likewise.
18945 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18946 with $(test-program-cmd).
18947 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18948 $(run-program-prefix) with $(test-program-prefix).
18949 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18950 (test_program_prefix): This.
18951 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18952 $(run-program-prefix) with $(test-program-prefix).
18953 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18954 (test_program_prefix): This.
18955 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18956 * posix/Makefile ($(objpfx)globtest.out): Replace
18957 $(run-via-rtld-prefix) and $(test-wrapper) with
18958 $(test-program-prefix) and $(test-via-rtld-prefix).
18959 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18960 $(test-program-prefix).
18961 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18962 $(host-test-program-cmd).
18963 (tst-spawn-ARGS): Likewise.
18964 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18965 $(test-program-prefix).
18966 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18967 (test_via_rtld_prefix): This.
18968 (test_wrapper): Renamed to ...
18969 (test_program_prefix): This.
18970 (run_program_prefix): Replaced by test_program_prefix.
18971 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18972 (test_program_prefix): This.
18973 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18974 with $(host-test-program-cmd).
18975 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18976 $(run-program-prefix) with $(test-program-prefix).
18977 ($(objpfx)tst-printf.out): Likewise.
18978 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18979 $(test-program-cmd).
18980 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18981 (test_program_prefix): This.
18982 * stdio-common/tst-unbputc.sh: Likewise.
18983 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18984 $(run-program-prefix) with $(test-program-prefix).
18985 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18986 (test_program_prefix): This.
18987 * string/Makefile ($(objpfx)tst-svc.out): Replace
18988 $(built-program-cmd) with $(test-program-cmd).
18989
18990 2013-01-11 Andreas Jaeger <aj@suse.de>
18991
18992 [BZ #15003]
18993 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18994 value. Sync with Linux 3.7.
18995
18996 2013-01-10 David S. Miller <davem@davemloft.net>
18997
18998 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18999 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19000 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19001
19002 2013-01-10 Roland McGrath <roland@hack.frob.com>
19003
19004 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19005 never set.
19006 * configure: Regenerated.
19007
19008 2013-01-10 David S. Miller <davem@davemloft.net>
19009
19010 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19011 sparc V9 rather than using V8 code.
19012 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19013 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19014
19015 2013-01-10 Roland McGrath <roland@hack.frob.com>
19016
19017 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19018 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19019 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19020 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19021 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19022 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19023 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19024 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19025 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19026 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19027 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19028 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19029 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19030 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19031 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19032 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19033 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19034 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19035 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19036 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19037 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19038 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19039 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19040 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19041 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19042 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19043 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19044
19045 2013-01-10 David S. Miller <davem@davemloft.net>
19046
19047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19048
19049 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19050
19051 * posix/Makefile (tests-static): New variable.
19052 (tests): Add $(tests-static).
19053 (tst-exec-static-ARGS): New variable.
19054 (tst-spawn-static-ARGS): Likewise.
19055 * posix/tst-exec-static.c: New file.
19056 * posix/tst-spawn-static.c: Likewise.
19057 * posix/tst-exec.c: Support run directly.
19058 * posix/tst-spawn.c: Likewise.
19059
19060 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19061
19062 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19063 long.
19064 * math/bits/mathcalls.h (llrint): Likewise.
19065 (llround): Likewise.
19066 * stdlib/stdlib.h (struct drand48_data): Likewise.
19067 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19068 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19069 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19070 Likewise.
19071 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19072 Likewise.
19073 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19074 (elf_greg_t): Likewise.
19075 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19076 (__jmp_buf): Likewise.
19077 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19078 definitions.
19079 (llrint): Likewise, for all definitions.
19080 (llrintl): Likewise.
19081
19082 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19083 Remove [__GNUC__] condition.
19084 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19085 condition to just [__USE_ISOC99].
19086 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19087
19088 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19089
19090 [BZ #14200]
19091 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19092 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19093 defined.
19094 (_POSIX_V6_ILP32_OFF32): Likewise.
19095 (_XBS5_ILP32_OFF32): Likewise.
19096 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19097 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19098
19099 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19100
19101 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19102
19103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19104 doubles __mpexp_twomm1. Adjust usage.
19105 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19106 Remove.
19107
19108 2013-01-10 Andreas Schwab <schwab@suse.de>
19109
19110 [BZ #14964]
19111 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19112 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19113
19114 2013-01-09 David S. Miller <davem@davemloft.net>
19115
19116 [BZ #15003]
19117 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19118 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19119 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19120 TCP_FASTOPEN): Define.
19121 (tcp_repair_opt): New structure.
19122 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19123 enum values.
19124 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19125 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19126 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19127 (tcp_cookie_transactions): New structure.
19128
19129 2013-01-09 Anton Blanchard <anton@samba.org>
19130
19131 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19132 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19133 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19134 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19135
19136 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19137
19138 * include/features.h (__USE_ANSI): Remove.
19139
19140 2013-01-09 Roland McGrath <roland@hack.frob.com>
19141
19142 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19143
19144 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19145
19146 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19147
19148 * sysdeps/s390/fpu/libm-test-ulps: Update.
19149
19150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19151
19152 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19153 (__acr): Likewise.
19154 (__cpy): Likewise.
19155 (norm): Likewise.
19156 (denorm): Likewise.
19157 (__mp_dbl): Likewise.
19158 (__dbl_mp): Likewise.
19159 (add_magnitudes): Likewise.
19160 (sub_magnitudes): Likewise.
19161 (__add): Likewise.
19162 (__sub): Likewise.
19163 (__mul): Likewise.
19164 (__inv): Likewise.
19165 (__dvd): Likewise.
19166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19167 (__acr): Likewise.
19168 (__cpy): Likewise.
19169 (norm): Likewise.
19170 (denorm): Likewise.
19171 (__mp_dbl): Likewise.
19172 (__dbl_mp): Likewise.
19173 (add_magnitudes): Likewise.
19174 (sub_magnitudes): Likewise.
19175 (__add): Likewise.
19176 (__sub): Likewise.
19177 (__mul): Likewise.
19178 (__inv): Likewise.
19179 (__dvd): Likewise.
19180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19181 (__acr): Likewise.
19182 (__cpy): Likewise.
19183 (norm): Likewise.
19184 (denorm): Likewise.
19185 (__mp_dbl): Likewise.
19186 (__dbl_mp): Likewise.
19187 (add_magnitudes): Likewise.
19188 (sub_magnitudes): Likewise.
19189 (__add): Likewise.
19190 (__sub): Likewise.
19191 (__mul): Likewise.
19192 (__inv): Likewise.
19193 (__dvd): Likewise.
19194
19195 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19196
19197 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19198 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19199 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19200 2 && __USE_EXTERN_INLINES]: Likewise.
19201
19202 2013-01-08 Andreas Jaeger <aj@suse.de>
19203
19204 [BZ# 14985]
19205 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19206 Remove.
19207 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19208 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19209
19210 2013-01-07 Anton Blanchard <anton@samba.org>
19211
19212 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19213 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19214 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19215 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19216 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19217 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19218 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19219 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19221 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19222 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19223 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19224 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19225 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19226 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19227 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19228 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19229 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19230 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19231 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19232 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19233 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19234 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19235 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19236 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19237 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19238 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19239 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19240 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19241 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19242 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19244 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19245 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19246 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19247 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19248 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19249 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19250 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19251 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19252 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19253 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19254 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19255
19256 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19257
19258 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19259 (__MALLOC_PMT): Likewise.
19260 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19261 [__GNUC__], only on [_LIBC].
19262 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19263 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19264 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19265 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19266 forward declaration.
19267 (realloc_hook_ini): Likewise.
19268 (memalign_hook_ini): Likewise.
19269 (__libc_memalign): Do not use __MALLOC_PMT in variable
19270 declaration.
19271 (__libc_valloc): Likewise.
19272 (__libc_pvalloc): Likewise.
19273 (__libc_calloc): Likewise.
19274 (__posix_memalign): Likewise.
19275
19276 [BZ #14996]
19277 * math/s_casinh.c: Include <float.h>.
19278 (__casinh): Do not do computation with squaring and square root
19279 for large arguments.
19280 * math/s_casinhf.c: Include <float.h>.
19281 (__casinhf): Do not do computation with squaring and square root
19282 for large arguments.
19283 * math/s_casinhl.c: Include <float.h>.
19284 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19285 (__casinhl): Do not do computation with squaring and square root
19286 for large arguments.
19287 * math/libm-test.inc (casin_test): Add more tests.
19288 (casinh_test): Likewise.
19289 * sysdeps/i386/fpu/libm-test-ulps: Update.
19290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19291
19292 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19293
19294 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19295 (__x86_64_raw_data_cache_size): Likewise.
19296 (__x86_64_data_cache_size_half): Likewise.
19297 (__x86_64_raw_data_cache_size_half): Likewise.
19298 (__x86_64_shared_cache_size): Likewise.
19299 (__x86_64_raw_shared_cache_size): Likewise.
19300 (__x86_64_shared_cache_size_half): Likewise.
19301 (__x86_64_raw_shared_cache_size_half): Likewise.
19302 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19303 to ...
19304 (__x86_data_cache_size): This.
19305 (__x86_64_raw_data_cache_size): Renamed to ...
19306 (__x86_raw_data_cache_size): This.
19307 (__x86_64_data_cache_size_half): Renamed to ...
19308 (__x86_data_cache_size_half): This.
19309 (__x86_64_raw_data_cache_size_half): Renamed to ...
19310 (__x86_raw_data_cache_size_half): This.
19311 (__x86_64_shared_cache_size): Renamed to ...
19312 (__x86_shared_cache_size): This.
19313 (__x86_64_raw_shared_cache_size): Renamed to ...
19314 (__x86_raw_shared_cache_size): This.
19315 (__x86_64_shared_cache_size_half): Renamed to ...
19316 (__x86_shared_cache_size_half): This.
19317 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19318 (__x86_raw_shared_cache_size_half): This.
19319 * sysdeps/x86_64/memcpy.S: Updated.
19320 * sysdeps/x86_64/memset.S: Likewise.
19321 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19323 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19324
19325 2013-01-04 David S. Miller <davem@davemloft.net>
19326
19327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19328
19329 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19330
19331 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19332 1 to avoid redefinition warning.
19333 (__USE_GNU): Don't define.
19334 (init_signaling_nan): Protoize.
19335
19336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19337
19338 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19339
19340 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19342 (__cpymn): Likewise.
19343 (norm): Remove commented code.
19344 (denorm): Likewise.
19345 (__mp_dbl): Likewise.
19346 (__inv): Likewise.
19347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19348 (__cpymn): Likewise.
19349 (norm): Remove commented code.
19350 (denorm): Likewise.
19351 (__mp_dbl): Likewise.
19352 (__inv): Likewise.
19353
19354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19355 mp_no value for 1.0 and 2.0.
19356 (norm): Use RADIXI instead of radixi.d.
19357 (denorm): Likewise.
19358 (__mul): Use 0.0 instead of zero.d.
19359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19360 mp_no value for 1.0 and 2.0.
19361 (norm): Use RADIXI instead of radixi.d.
19362 (denorm): Likewise.
19363 (__mul): Use 0.0 instead of zero.d.
19364
19365 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19366
19367 [BZ #14994]
19368 * math/s_casinh.c (__casinh): Reduce finite argument to first
19369 quadrant then set signs of results at the end.
19370 * math/s_casinhf.c (__casinhf): Likewise.
19371 * math/s_casinhl.c (__casinhl): Likewise.
19372 * math/libm-test.inc (casin_test): Add more tests.
19373 (casinh_test): Likewise.
19374 * sysdeps/i386/fpu/libm-test-ulps: Update.
19375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19376
19377 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19378
19379 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19380
19381 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19382
19383 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19384 declarations.
19385 (denorm): Likewise.
19386 (__mp_dbl): Likewise.
19387 (__inv): Likewise.
19388
19389 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19390 and adjust the header comment.
19391
19392 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19393 variable name from declaration.
19394
19395 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19396
19397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19398 Initialize COMMON_CPUID_INDEX_7 element.
19399 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19400 (CPUID_RTM): Likewise.
19401 (HAS_RTM): Likewise.
19402 (COMMON_CPUID_INDEX_7): New enum.
19403
19404 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19405
19406 [BZ #14981]
19407 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19408 size is zero, record memory as freed.
19409
19410 2013-01-03 Andreas Jaeger <aj@suse.de>
19411
19412 * po/ia.po: Add new Interlingua translation.
19413
19414 2012-01-03 Allan McRae <allan@archlinux.org>
19415
19416 * locale/programs/localedef.c: Fix description of '--posix' flag.
19417
19418 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19419
19420 * NEWS: Update dates in second copyright notice.
19421 * README: Update copyright dates in example.
19422 * manual/libc.texinfo: Update copyright dates.
19423 * scripts/test-installation.pl: Update copyright date in --version
19424 output.
19425
19426 * hurd/ctty-input.c: Fix copyright notice formatting.
19427 * hurd/ctty-output.c: Likewise.
19428 * hurd/dtable.c: Likewise.
19429 * hurd/hurd-raise.c: Likewise.
19430 * hurd/hurdprio.c: Likewise.
19431 * hurd/msgportdemux.c: Likewise.
19432 * misc/sys/file.h: Likewise.
19433 * misc/sys/ioctl.h: Likewise.
19434 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19435 * sysdeps/mach/hurd/chdir.c: Likewise.
19436 * sysdeps/mach/hurd/fchdir.c: Likewise.
19437 * sysdeps/mach/hurd/rename.c: Likewise.
19438 * sysdeps/mach/hurd/rmdir.c: Likewise.
19439 * sysdeps/mach/hurd/seekdir.c: Likewise.
19440 * sysdeps/mach/hurd/setsid.c: Likewise.
19441 * sysdeps/posix/wait3.c: Likewise.
19442
19443 * All files with FSF copyright notices: Update copyright dates
19444 using scripts/update-copyrights.
19445 * intl/plural.c: Regenerated.
19446 * locale/programs/charmap-kw.h: Likewise.
19447 * locale/programs/locfile-kw.h: Likewise.
19448
19449 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19450
19451 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19452 four values.
19453
19454 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19455 calculation loop and add branch prediction.
19456
19457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19458 check access beyond bounds of m1np.
19459
19460 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19461 MPTWO.
19462 (__inv): Remove local variable MPTWO to use the global
19463 constant.
19464 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19465 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19466 variable MPTWO.
19467 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19468 MP3HALFS static const.
19469
19470 2013-01-01 David S. Miller <davem@davemloft.net>
19471
19472 * po/ca.po: Update from translation team.
19473
19474 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19475
19476 * scripts/update-copyrights: New file.
19477 * Makeconfig: Reformat copyright notice.
19478 * ctype/ctype.h: Likewise.
19479 * debug/swprintf_chk.c: Likewise.
19480 * elf/dl-cache.c: Likewise.
19481 * elf/dl-debug.c: Likewise.
19482 * elf/dl-object.c: Likewise.
19483 * grp/initgroups.c: Likewise.
19484 * hurd/Makefile: Likewise.
19485 * hurd/hurd/signal.h: Likewise.
19486 * hurd/hurdfault.c: Likewise.
19487 * hurd/hurdioctl.c: Likewise.
19488 * hurd/hurdlookup.c: Likewise.
19489 * hurd/intr-msg.c: Likewise.
19490 * iconv/gconv_open.c: Likewise.
19491 * libio/swprintf.c: Likewise.
19492 * locale/lc-ctype.c: Likewise.
19493 * locale/nl_langinfo.c: Likewise.
19494 * mach/Machrules: Likewise.
19495 * mach/Makefile: Likewise.
19496 * malloc/obstack.h: Likewise.
19497 * manual/Makefile: Likewise.
19498 * manual/tsort.awk: Likewise.
19499 * misc/bits/stab.def: Likewise.
19500 * nis/nis_print_group_entry.c: Likewise.
19501 * nis/nis_table.c: Likewise.
19502 * nis/nss_compat/compat-pwd.c: Likewise.
19503 * nis/nss_compat/compat-spwd.c: Likewise.
19504 * po/Makefile: Likewise.
19505 * posix/fnmatch.c: Likewise.
19506 * posix/regex.h: Likewise.
19507 * resolv/Makefile: Likewise.
19508 * resolv/nss_dns/dns-network.c: Likewise.
19509 * resolv/res_hconf.c: Likewise.
19510 * scripts/gen-sorted.awk: Likewise.
19511 * soft-fp/soft-fp.h: Likewise.
19512 * stdio-common/printf.h: Likewise.
19513 * stdlib/monetary.h: Likewise.
19514 * stdlib/random.c: Likewise.
19515 * stdlib/random_r.c: Likewise.
19516 * sysdeps/generic/Makefile: Likewise.
19517 * sysdeps/gnu/Makefile: Likewise.
19518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19522 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19525 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19526 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19528 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19529 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19530 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19531 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19532 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19533 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19534 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19535 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19536 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19538 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19539 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19540 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19541 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19544 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19546 * sysdeps/mach/hurd/errnos.awk: Likewise.
19547 * sysdeps/mach/hurd/fork.c: Likewise.
19548 * sysdeps/mach/hurd/getcwd.c: Likewise.
19549 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19550 * sysdeps/mach/hurd/mmap.c: Likewise.
19551 * sysdeps/mach/hurd/utimes.c: Likewise.
19552 * sysdeps/mach/hurd/xmknod.c: Likewise.
19553 * sysdeps/posix/profil.c: Likewise.
19554 * sysdeps/posix/readdir_r.c: Likewise.
19555 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19556 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19557 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19558 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19560 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19561 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19562 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19564 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19565 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19566 * sysdeps/pthread/lio_listio.c: Likewise.
19567 * sysdeps/sparc/dl-procinfo.h: Likewise.
19568 * sysdeps/unix/i386/sysdep.S: Likewise.
19569 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19570 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19571 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19572 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19574 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19575 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19576 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19577 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19578 * sysdeps/wordsize-32/divdi3.c: Likewise.
19579 * time/sys/time.h: Likewise.
19580 * wcsmbs/Makefile: Likewise.
19581
19582 2013-01-01 David S. Miller <davem@davemloft.net>
19583
19584 * po/fr.po: Update from translation team.
19585
19586 * catgets/gencat.c: Update copyright year.
19587 * csu/version.c: Likewise.
19588 * debug/catchsegv.sh: Likewise.
19589 * debug/pcprofiledump.c: Likewise.
19590 * debug/xtrace.sh: Likewise.
19591 * elf/ldconfig.c: Likewise.
19592 * elf/ldd.bash.in: Likewise.
19593 * elf/pldd.c: Likewise.
19594 * elf/sotruss.ksh: Likewise.
19595 * elf/sprof.c: Likewise.
19596 * iconv/iconv_prog.c: Likewise.
19597 * iconv/iconvconfig.c: Likewise.
19598 * locale/programs/locale.c: Likewise.
19599 * locale/programs/localedef.c: Likewise.
19600 * login/programs/pt_chown.c: Likewise.
19601 * malloc/memusage.sh: Likewise.
19602 * malloc/memusagestat.c: Likewise.
19603 * malloc/mtrace.pl: Likewise.
19604 * nscd/nscd.c: Likewise.
19605 * nss/getent.c: Likewise.
19606 * nss/makedb.c: Likewise.
19607 * posix/getconf.c: Likewise.
19608
19609 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19610
19611 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19612 numbers.
19613
19614 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19615
19616 * math/bits/mathcalls.h (modf): Use __nonnull.
19617
19618 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19619
19620 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19621 (split): Use macro CN instead of the bare value.
19622 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19623 could be used.
19624 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19625 instead of the bare value.
19626 (power1): Likewise.
19627
19628 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19629
19630 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19631 __ATAN_TWOM.
19632 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19633
19634 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19635 their values.
19636 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19637 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19638 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19639 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19640
19641 2012-12-28 Andreas Jaeger <aj@suse.de>
19642
19643 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19644 values are from Linux 3.7.
19645
19646 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19647 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19648
19649 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19650
19651 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19652 TRUE case.
19653
19654 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19655 (norm): Likewise.
19656 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19657 variables with preprocessor constants.
19658 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19659 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19660 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19661
19662 2012-12-27 Bruno Haible <bruno@clisp.org>
19663
19664 [BZ #14317]
19665 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19666 only if needed.
19667
19668 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19669
19670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19671 and use variable directly.
19672 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19673
19674 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19675 MPONE.
19676 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19677 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19678 variable MPONE.
19679 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19680 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19681 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19682 include directive. Remove local variable MPONE.
19683 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19684 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19685 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19686
19687 2012-12-25 David S. Miller <davem@davemloft.net>
19688
19689 * version.h (RELEASE): Set to "development".
19690 (VERSION): Set to "2.17.90".
19691 * NEWS: Add 2.18 section.
19692
19693 2012-12-21 David S. Miller <davem@davemloft.net>
19694
19695 * po/hr.po: Update from translation team.
19696
19697 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19698
19699 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19700
19701 2012-12-19 Steve Ellcey <sellcey@mips.com>
19702
19703 * NEWS: Mention new memcpy for MIPS.
19704
19705 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19706
19707 * manual/contrib.texi (Contributors): Spelling correction.
19708
19709 2012-12-15 David S. Miller <davem@davemloft.net>
19710
19711 * po/ru.po: Update from translation team.
19712
19713 2012-12-13 David S. Miller <davem@davemloft.net>
19714
19715 * NEWS: Mention IFUNC testsuite enhancements.
19716
19717 * po/pl.po: Update from translation team.
19718 * po/bg.po: Likewise.
19719
19720 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19721 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19722
19723 2012-12-11 David S. Miller <davem@davemloft.net>
19724
19725 * po/sv.po: Update from translation team.
19726
19727 * po/vi.po: Update from translation team.
19728
19729 * po/cs.po: Update from translation team.
19730
19731 * po/de.po: Update from translation team.
19732 * po/eo.po: Likewise.
19733 * po/nl.po: Likewise.
19734
19735 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19736
19737 [BZ #14246]
19738 * manual/argp.texi (Argp Helper Functions): Move node to follow
19739 Argp Parsing State.
19740
19741 [BZ #14872]
19742 * manual/conf.texi (Limits on File System Capacity): Mention if
19743 terminating null is included in the max size.
19744
19745 2012-12-10 Andreas Jaeger <aj@suse.de>
19746
19747 * po/cs.po: Update from translation team.
19748
19749 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19750
19751 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19752 void pointer and cast to uintptr_t.
19753 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19754 path.
19755 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19756 * sysdeps/s390/s390-64/memset.S: Likewise.
19757
19758 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
19759
19760 [BZ #14833]
19761 * menual/message.texi (Message Translation): Fix typos.
19762 (Helper programs for gettext): Likewise.
19763
19764 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19765
19766 [BZ #14898]
19767 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19768 Change to -1.
19769
19770 2012-12-07 David S. Miller <davem@davemloft.net>
19771
19772 * po/libc.pot: Update.
19773
19774 2012-12-07 Richard Henderson <rth@redhat.com>
19775
19776 [BZ #10114]
19777 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19778 normal/normal case to before the switch.
19779 (_FP_DIV): Likewise.
19780
19781 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19782 Mike Frysinger <vapier@gentoo.org>
19783
19784 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19785 check for __NR_fadvise64_64.
19786
19787 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19788
19789 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19790 0, not just to plain "0" as a statement.
19791 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19792 with cw.
19793
19794 2012-12-06 Joseph Myers <joseph@codesourcery.com>
19795
19796 * NEWS: Use sourceware.org in Bugzilla URL.
19797
19798 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19799
19800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19801 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19802
19803 * stdio-common/tst-put-error.c (do_test): Add newline to the
19804 padded test to ensure flush.
19805
19806 2012-12-05 Jeff Law <law@redhat.com>
19807
19808 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19809
19810 2012-12-05 Joseph Myers <joseph@codesourcery.com>
19811
19812 * README: Don't refer to ports add-on as distributed separately.
19813 Mention AArch64 in list of systems supported in the ports add-on.
19814
19815 * LICENSES: Add more non-FSF copyright and license notices.
19816
19817 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19818 ((unused)).
19819
19820 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19821
19822 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19823 10000 as width of padded output.
19824
19825 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19826
19827 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19828
19829 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19830 variable LX with __attribute__ ((unused)).
19831 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19832 Likewise.
19833 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19834 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19835 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19836 with __attribute__ ((unused)).
19837
19838 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
19839
19840 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19841
19842 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19843
19844 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19845 (CFLAGS-nldbl-acos.c): New variable.
19846 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19847 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19848 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19849 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19850 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19851 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19852 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19853 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19854 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19855 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19856 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19857 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19858 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19859 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19860 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19861 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19862 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19863 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19864 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19865 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19866 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19867 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19868 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19869 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19870 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19871 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19872 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19873 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19874 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19875 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19876 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19877 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19878 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19879 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19880 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19881 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19882 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19883 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19884 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19885 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19886 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19887 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19888 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19889 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19890 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19891 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19892 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19893 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19894 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19895 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19896 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19897 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19898 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19899 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19900 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19901 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19902 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19903 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19904 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19905 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19906 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19907 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19908 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19909 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19910 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19911 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19912 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19913 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19914 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19915 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19916 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19917 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19918 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19919 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19920 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19921 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19922 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19923 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19924 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19925 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19926 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19927 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19928 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19929 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19930 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19931 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19932 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19933 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19934 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19935 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19936 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19937 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19938 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19939 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19940 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19941 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19942 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19943
19944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19945 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19946
19947 [BZ #14914]
19948 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19949 whole low double instead of just low 47 bits when splitting values
19950 into two parts.
19951
19952 2012-12-03 Allan McRae <allan@archlinux.org>
19953
19954 * manual/stdio.texi (Predefined Printf Handlers): Remove
19955 @hsep and @vsep usage.
19956
19957 2012-12-03 Mike Frysinger <vapier@gentoo.org>
19958
19959 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19960 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19961
19962 2012-12-03 Jeff Law <law@redhat.com>
19963
19964 * time/sys/time.h (settimeofday): Do not mark TV argument
19965 as __nonnull.
19966
19967 2012-12-01 Mike Frysinger <vapier@gentoo.org>
19968
19969 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19970 when currently writing and seek to current position when not.
19971 * libio/Makefile (tests): Remove bug-fclose1.
19972 * libio/bug-fclose1.c: Delete.
19973
19974 2012-12-01 Joseph Myers <joseph@codesourcery.com>
19975
19976 * manual/arith.texi (feenableexcept): Fix typo.
19977 (fedisableexcept): Likewise.
19978
19979 2012-11-30 Roland McGrath <roland@hack.frob.com>
19980
19981 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19982 second, differently-typed declaration, rather than a cast.
19983
19984 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19985
19986 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19987 * include/rpc/svc.h: ... here.
19988
19989 2012-11-30 Aurelien Jarno <aurel32@debian.org>
19990
19991 [BZ #13013]
19992 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19993 depending n and resplen2 to catch cases where answer
19994 equals answerp2.
19995
19996 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19997
19998 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19999 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20000
20001 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20002
20003 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20004
20005 2012-11-29 Roland McGrath <roland@hack.frob.com>
20006
20007 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20008
20009 2012-11-28 Jeff Law <law@redhat.com>
20010
20011 [BZ #13761]
20012 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20013 dataset_temporary. Track alloca usage into alloca_used.
20014 If dataset is large allocate and release it via malloc/free.
20015
20016 2012-06-04 Florian Weimer <fweimer@redhat.com>
20017
20018 [BZ #14197]
20019 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20020
20021 2012-11-28 David S. Miller <davem@davemloft.net>
20022
20023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20024
20025 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20026
20027 [BZ #14803]
20028 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20029 of pi/2 rounded to nearest to 64 bits.
20030 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20031 nearest to 64 bits.
20032 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20033 bits.
20034
20035 2012-11-28 Jeff Law <law@redhat.com>
20036 Martin Osvald <mosvald@redhat.com>
20037
20038 [BZ #14889]
20039 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20040 * sunrpc/svc.c: Include time.h.
20041 (__svc_accept_failed): New function.
20042 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20043 any reason other than EINTR, call __svc_accept_failed.
20044 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20045 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20046
20047 2012-11-28 Andreas Schwab <schwab@suse.de>
20048
20049 * scripts/abilist.awk: Also handle indirect functions in .opd
20050 section.
20051
20052 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20053
20054 [BZ #13881]
20055 * sysdeps/x86/fpu/powl_helper.c: New file.
20056 * sysdeps/x86/fpu/Makefile: Likewise.
20057 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20058 (p3): New object.
20059 (__ieee754_powl): Use __powl_helper for finite arguments except
20060 integer exponents below 8.
20061 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20062 (p3): New object.
20063 (__ieee754_powl): Use __powl_helper for finite arguments except
20064 integer exponents below 8.
20065 * math/libm-test.inc (pow_test): Add more tests and enable some
20066 previously disabled tests.
20067 * sysdeps/i386/fpu/libm-test-ulps: Update.
20068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20069
20070 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20071 Carlos O'Donell <carlos_odonell@mentor.com>
20072
20073 * nss/makedb.c (is_prime): Assert that input is odd and greater
20074 than 4. Note that fact in a comment too.
20075 (next_prime): Add 4 to input.
20076
20077 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20078
20079 [BZ #11741]
20080 * libio/Makefile (tests): Add test case tst-fwrite-error.
20081 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20082 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20083 * libio/tst-fwrite-error.c: New test case.
20084
20085 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20086
20087 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20088 before casting to void *.
20089 * include/libc-internal.h (__pointer_type): New macro.
20090 (__integer_if_pointer_type_sub): Likewise.
20091 (__integer_if_pointer_type): Likewise.
20092 (cast_to_integer): Likewise.
20093 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20094 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20095 before casting to atomic64_t.
20096 (atomic_exchange_acq): Likewise.
20097 (__arch_exchange_and_add_body): Likewise.
20098 (__arch_add_body): Likewise.
20099 (atomic_add_negative): Likewise.
20100 (atomic_add_zero): Likewise.
20101
20102 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20103
20104 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20105 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20106 (add_fdes): Likewise.
20107 (linear_search_fdes): Likewise.
20108 (binary_search_unencoded_fdes): Likewise.
20109
20110 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20111
20112 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20113
20114 2012-11-24 Adam Conrad <adconrad@0c3.net>
20115
20116 * configure.in: Autodetect C++ header directories.
20117 * configure: Regenerated.
20118
20119 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20120
20121 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20122
20123 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20124
20125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20126
20127 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20128
20129 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20130 LDBL_MANT_DIG == 106]: Disable some tests.
20131 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20132 Likewise.
20133 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20134 Likewise.
20135
20136 [BZ #14871]
20137 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20138 input for small inputs. Return +/- pi/2 for large inputs.
20139 * math/libm-test.inc (atan_test): Add more tests.
20140
20141 * sysdeps/generic/unwind-dw2-fde-glibc.c
20142 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20143 __attribute__ ((unused)).
20144
20145 [BZ #14645]
20146 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20147 x * y if x and y are nonzero and z is zero.
20148
20149 [BZ #14811]
20150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20151 nonzero exponents with absolute value below 0x1p-117 to +/-
20152 0x1p-117.
20153
20154 [BZ #14869]
20155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20156 up arguments below 2**-450, not just those below 2**-500.
20157 * math/libm-test.inc (hypot_test): Add another test.
20158
20159 [BZ #14868]
20160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20161 Return a+b for ratio over 2**120, not 2**60.
20162 * math/libm-test.inc (hypot_test): Add another test.
20163
20164 * math/libm-test.inc (clog_test): Use
20165 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20166 (clog10_test): Likewise.
20167
20168 [BZ #6778]
20169 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20170
20171 2012-11-22 Andreas Schwab <schwab@suse.de>
20172
20173 * sysdeps/i386/fpu/libm-test-ulps: Update.
20174
20175 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20176
20177 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20178 printf output with newline.
20179
20180 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20181
20182 [BZ #14865]
20183 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20184 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20185 -z nodlopen, -z initfirst and -z execstack support.
20186 * configure: Regenerated.
20187
20188 * elf/elf.h (DF_1_NODIRECT): New macro.
20189 (DF_1_IGNMULDEF): Likewise.
20190 (DF_1_NOKSYMS): Likewise.
20191 (DF_1_NOHDR): Likewise.
20192 (DF_1_EDITED): Likewise.
20193 (DF_1_NORELOC): Likewise.
20194 (DF_1_SYMINTPOSE): Likewise.
20195 (DF_1_GLOBAUDIT): Likewise.
20196 (DF_1_SINGLETON): Likewise.
20197 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20198 DT_1_SUPPORTED_MASK bits.
20199 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20200
20201 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20202
20203 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20204
20205 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20206
20207 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20208 macro.
20209
20210 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20211 (sendmmsg): Move declarations...
20212 * socket/sys/socket.h: ... here.
20213 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20214 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20215 include it from...
20216 * socket/recvmmsg.c: ... this new file.
20217 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20218 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20219 definition of __sendmmsg hidden.
20220 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20221 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20222 Move ENOSYS stub into and include it from...
20223 * socket/sendmmsg.c: ... this new file.
20224 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20225 (sysdep_routines): Move recvmmsg and sendmmsg...
20226 * socket/Makefile (routines): ... here.
20227 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20228 (GLIBC_PRIVATE): Add __sendmmsg.
20229 * include/sys/socket.h (__sendmmsg): Add declarations.
20230 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20231 sendmmsg.
20232
20233 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20234
20235 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20236 variable I1 with __attribute__ ((unused)).
20237 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20238
20239 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20240
20241 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20242 DUMMY variables with __attribute__ ((unused)).
20243
20244 * bits/byteswap.h: Include <bits/types.h>.
20245 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20246
20247 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20248
20249 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20250 string_t. Do not manually set errno.
20251 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20252 length with __strnlen. Make sure to both set errno and return it on
20253 failure.
20254
20255 2012-11-19 David S. Miller <davem@davemloft.net>
20256
20257 With help from Joseph Myers.
20258 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20259 very large arguments properly.
20260 * math/libm-test.inc (atan_test): New tests.
20261 (atan2_test): New tests.
20262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20264
20265 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20266
20267 [BZ #14856]
20268 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20269 Define to 3.
20270
20271 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20272 [POSIX] (EADDRNOTAVAIL): Likewise.
20273 [POSIX] (EAFNOSUPPORT): Likewise.
20274 [POSIX] (EALREADY): Likewise.
20275 [POSIX] (ECONNABORTED): Likewise.
20276 [POSIX] (ECONNREFUSED): Likewise.
20277 [POSIX] (ECONNRESET): Likewise.
20278 [POSIX] (EDESTADDRREQ): Likewise.
20279 [POSIX] (EDQUOT): Likewise.
20280 [POSIX] (EHOSTUNREACH): Likewise.
20281 [POSIX] (EIDRM): Likewise.
20282 [POSIX] (EISCONN): Likewise.
20283 [POSIX] (ELOOP): Likewise.
20284 [POSIX] (EMULTIHOP): Likewise.
20285 [POSIX] (ENETDOWN): Likewise.
20286 [POSIX] (ENETUNREACH): Likewise.
20287 [POSIX] (ENOBUFS): Likewise.
20288 [POSIX] (ENODATA): Likewise.
20289 [POSIX] (ENOLINK): Likewise.
20290 [POSIX] (ENOMSG): Likewise.
20291 [POSIX] (ENOPROTOOPT): Likewise.
20292 [POSIX] (ENOSR): Likewise.
20293 [POSIX] (ENOSTR): Likewise.
20294 [POSIX] (ENOTCONN): Likewise.
20295 [POSIX] (ENOTSOCK): Likewise.
20296 [POSIX] (EOPNOTSUPP): Likewise.
20297 [POSIX] (EOVERFLOW): Likewise.
20298 [POSIX] (EPROTO): Likewise.
20299 [POSIX] (EPROTONOSUPPORT): Likewise.
20300 [POSIX] (EPROTOTYPE): Likewise.
20301 [POSIX] (ESTALE): Likewise.
20302 [POSIX] (ETIME): Likewise.
20303 [POSIX] (ETXTBSY): Likewise.
20304 [POSIX] (EWOULDBLOCK): Likewise.
20305 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20306 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20307 [POSIX] (SEEK_CUR): Likewise.
20308 [POSIX] (SEEK_END): Likewise.
20309 [POSIX || UNIX98] (mode_t): Do not require.
20310 [POSIX] (off_t): Likewise.
20311 [POSIX] (pid_t): Likewise.
20312 [POSIX] (sys/stat.h): Do not allow header.
20313 [POSIX] (unistd.h): Likewise.
20314 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20315 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20316 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20317 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20318 require.
20319 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20320 sigevent): Specify elements.
20321 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20322 entry.
20323 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20324 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20325
20326 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20327 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20328 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20329 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20330 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20331 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20332 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20333 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20334 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20335 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20336 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20337 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20338 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20339 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20340 Likewise.
20341 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20342 Likewise.
20343 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20344 Likewise.
20345 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20346 Likewise.
20347 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20348 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20349 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20350 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20351 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20352 Specify lower bound on value.
20353 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20354 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20355 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20356 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20357 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20358 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20359 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20360 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20361 value.
20362 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20363 as optional.
20364 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20365 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20366 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20367 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20368 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20369 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20370 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20371 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20372 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20373 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20374 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20375 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20376 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20377 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20378 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20379 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20380 entry.
20381 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20382 optional.
20383 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20384 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20385 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20386 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20387 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20388 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20389 Likewise.
20390 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20391 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20392 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20393 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20394 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20395 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20396 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20397 as optional.
20398 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20399 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20400 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20401 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20402 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20403 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20404 specify as optional.
20405 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20406 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20407 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20408 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20409 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20410 [XPG3] (NL_LANGMAX): Likewise.
20411 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20412 [POSIX || XPG3] (NL_NMAX): Likewise.
20413 [POSIX || XPG3] (NL_SETMAX): Likewise.
20414 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20415 [XPG3] (NZERO): Likewise.
20416 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20417 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20418 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20419 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20420 (REG_ERANGE): Expect.
20421 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20422 optional-constant.
20423 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20424 Use (void) in prototype.
20425 [POSIX] (*_t): Allow.
20426 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20427 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20428 (WRDE_BADVAL): Expect.
20429
20430 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20431 expect.
20432 [XPG3 || XPG4] (O_RSYNC): Likewise.
20433 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20434 Likewise.
20435 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20436 [XPG3 || XPG4] (sigqueue): Likewise.
20437 [XPG3 || XPG4] (sigtimedwait): Likewise.
20438 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20439 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20440 [XPG3 || XPG4] (vsnprintf): Likewise.
20441 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20442 Likewise.
20443 [XPG3 || XPG4] (blksize_t): Likewise.
20444 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20445 Likewise.
20446 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20447 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20448 [XPG3 || XPG4] (struct itimerspec): Likewise.
20449 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20450 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20451 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20452 [XPG3 || XPG4] (clockid_t): Likewise.
20453 [XPG3 || XPG4] (timer_t): Likewise.
20454 [XPG3 || XPG4] (clock_getres): Likewise.
20455 [XPG3 || XPG4] (clock_gettime): Likewise.
20456 [XPG3 || XPG4] (clock_settime): Likewise.
20457 [XPG3 || XPG4] (nanosleep): Likewise.
20458 [XPG3 || XPG4] (timer_create): Likewise.
20459 [XPG3 || XPG4] (timer_delete): Likewise.
20460 [XPG3 || XPG4] (timer_gettime): Likewise.
20461 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20462 [XPG3 || XPG4] (timer_settime): Likewise.
20463 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20464 [XPG3 || XPG4] (getlogin_r): Likewise.
20465 [XPG3 || XPG4] (pread): Likewise.
20466 [XPG3 || XPG4] (pthread_atfork): Likewise.
20467 [XPG3 || XPG4] (pwrite): Likewise.
20468
20469 [BZ #14835]
20470 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20471 <bits/siginfo.h>.
20472
20473 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20474
20475 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20476 finalizing MALLSTREAM.
20477
20478 * sysdeps/mach/hurd/syncfs.c: New file.
20479
20480 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20481
20482 [BZ #14719]
20483 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20484 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20485 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20486 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20487 (_nss_dns_gethostbyname4_r): Likewise.
20488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20489 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20490
20491 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20492
20493 [BZ #13763]
20494 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20495
20496 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20497
20498 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20499 * elf/cache.c (print_entry): Print ",AArch64" for
20500 FLAG_AARCH64_LIB64
20501
20502 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20503 * elf/cache.c (print_entry): Print ",hard-float" for
20504 FLAG_ARM_LIBHF.
20505
20506 2012-11-18 David S. Miller <davem@davemloft.net>
20507
20508 With help from Joseph Myers.
20509 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20510 cutoff to 2**-13.
20511 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20512 cutoff to 2**-25.
20513 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20514 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20515 small.
20516 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20517 * math/libm-test.inc (y0_test): New tests.
20518 (y1_test): New tests.
20519 * sysdeps/i386/fpu/libm-test-ulps: Update.
20520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20522
20523 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20524
20525 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20526 64-bit targets.
20527 * configure: Regenerated.
20528
20529 2012-11-17 David S. Miller <davem@davemloft.net>
20530
20531 [BZ #14811]
20532 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20533 nonzero exponents with absolute value below 0x1p-128 to +/-
20534 0x1p-128.
20535
20536 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20537
20538 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20539
20540 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20541
20542 * posix/getconf-speclist.c: New file.
20543 * posix/posix-envs.def: Likewise.
20544 * posix/confstr.c (START_ENV_GROUP): New macro.
20545 (END_ENV_GROUP): Likewise.
20546 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20547 (KNOWN_PRESENT_ENV_STRING): Likewise.
20548 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20549 (UNKNOWN_ENVIRONMENT): Likewise.
20550 (confstr): Include posix-envs.def instead of handling
20551 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20552 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20553 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20554 (END_ENV_GROUP): Likewise.
20555 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20556 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20557 (UNKNOWN_ENVIRONMENT): Likewise.
20558 (__sysconf): Include posix-envs.def instead of handling associated
20559 cases directly here.
20560 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20561 preprocessing getconf-speclist.c rather than running getconf or
20562 generating empty file.
20563
20564 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20565
20566 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20567
20568 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20569
20570 [BZ #14672]
20571 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20572
20573 2012-11-16 David S. Miller <davem@davemloft.net>
20574
20575 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20576 smaller than LDBL_EPSILON/2.0L, just return xm1.
20577
20578 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20579
20580 * elf/tst-array1.c (init): Set constructor priority to 1000.
20581 (fini): Set destructor priority to 1000.
20582 * elf/tst-array2dep.c: Likewise.
20583
20584 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20585
20586 [BZ #11741]
20587 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20588 (_IO_new_file_xsputn): Also return EOF if none of the input
20589 data was written when overflow failed.
20590 * libio/iopadn.c (_IO_padn): Likewise.
20591 * libio/iowpadn.c (_IO_wpadn): Likewise.
20592 * stdio-common/tst-put-error.c: Add copyright notice.
20593 (do_test): Add case for printing padded string.
20594 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20595 _IO_padn returned error.
20596 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20597 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20598 return EOF.
20599
20600 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20601
20602 * libio/libioP.h: Add comment note that the references to C++
20603 bits are now obsolete.
20604
20605 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20606
20607 * math/libm-test.inc (check_complex): Use asprintf.
20608
20609 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20610
20611 * debug/pcprofiledump.c (print_version): Update copyright year.
20612 * malloc/memusagestat.c (print_version): Likewise.
20613
20614 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20615
20616 [BZ #14831]
20617 * elf/Makefile (tests): Add tst-audit8.
20618 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20619 ($(objpfx)tst-audit8.out): New target.
20620 (tst-audit8-ENV): New variable.
20621 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20622 audit if l_reloc_result is NULL.
20623 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20624 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20625 * elf/tst-audit8.c: New file.
20626
20627 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20628
20629 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20630 * misc/Makefile (CFLAGS-select.c): Define.
20631 * posix/Makefile (CFLAGS-pause.c): Define.
20632
20633 2012-11-13 David S. Miller <davem@davemloft.net>
20634
20635 * crypt/Makefile: Move test targets after toplevel Rules
20636 inclusion. Grab any necessary sysdep routines when linking.
20637 * crypt/md5.c (md5_process_block): Remove define, we will always
20638 name it __md5_process_block.
20639 (md5_finish_ctx): Update md5_process_block call.
20640 (md5_stream): Likewise.
20641 (md5_process_bytes): Likewise.
20642 (md5_process_block): Rename to __md5_process_block and move to ...
20643 * crypt/md5-block.c: ... here.
20644 * crypt/sha256.c (sha256_process_block): Move to ...
20645 * crypt/sha256-block.c: ... here.
20646 * crypt/sha512.c (sha512_process_block): Move to ...
20647 * crypt/sha512-block.c: ... here.
20648 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20649 path.
20650 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20651 * sysdeps/sparc/sparc64/multiarch/Makefile
20652 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20653 crypt subdir.
20654 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20655 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20656 multiarch changes.
20657 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20658 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20659 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20660 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20661 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20662 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20663 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20664 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20665 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20666 file.
20667 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20668 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20669 file.
20670 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20671
20672 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20673
20674 * timezone/tzselect.ksh: Update from tzcode git revision
20675 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20676 * timezone/zdump.c: Likewise.
20677 * timezone/zic.c: Likewise.
20678 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20679 in TZVERSION setting, not $(PKGVERSION).
20680 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20681 REPORT_BUGS_TO settings.
20682
20683 [BZ #14838]
20684 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20685 macro.
20686
20687 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20688
20689 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20690 detection to immediately after _FP_ROUND().
20691 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20692 bits are 0.
20693
20694 2012-11-11 David S. Miller <davem@davemloft.net>
20695
20696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20697 inttypes.h
20698 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20699 __close rather than their public counterparts.
20700
20701 2012-11-10 Joseph Myers <joseph@codesourcery.com>
20702
20703 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20704 file.
20705 [UNIX98] (sem_timedwait): Do not expect.
20706 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20707 [XPG4 || UNIX98] (sockatmark): Do not expect.
20708 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20709 (clock_getcpuclockid): Do not expect.
20710 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20711 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20712 Do not expect.
20713 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20714 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20715 [UNIX98] (vwscanf): Likewise.
20716 [UNIX98] (vswscanf): Likewise.
20717
20718 2012-11-09 Joseph Myers <joseph@codesourcery.com>
20719
20720 * timezone/version.h: Remove file.
20721 * timezone/README: Do not refer to version.h.
20722 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20723 $(objpfx)version.h.
20724 ($(objpfx)zdump.o): Likewise.
20725 ($(objpfx)version.h): New target.
20726
20727 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20728 2012i.
20729 * timezone/README: Don't mention modification to tzselect.ksh.
20730 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20731 work on unmodified tzselect.ksh. Substitute version numbers in
20732 tzselect.ksh.
20733
20734 * Makefile (format-me): Remove.
20735 (INSTALL): Adjust indentation. Use commands directly instead of
20736 using $(format-me).
20737
20738 * aclocal.m4 (ACX_PKGVERSION): New macro.
20739 (ACX_BUGURL): Likewise.
20740 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20741 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20742 (REPORT_BUGS_TO): Likewise.
20743 * configure: Regenerated.
20744 * config.h.in (PKGVERSION): New macro.
20745 (REPORT_BUGS_TO): Likewise.
20746 * config.make.in (PKGVERSION): New variable.
20747 (PKGVERSION_TEXI): Likewise.
20748 (REPORT_BUGS_TO): Likewise.
20749 (REPORT_BUGS_TEXI): Likewise.
20750 * Makefile (format-me): Use -I$(common-objpfx)manual.
20751 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20752 ($(common-objpfx)manual/%): New target.
20753 (manual/%): Remove target.
20754 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20755 (print_version): Use PKGVERSION.
20756 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20757 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20758 and REPORT_BUGS_TO.
20759 ($(objpfx)xtrace): Likewise.
20760 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20761 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20762 (print_version): Use PKGVERSION.
20763 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20764 (do_version): Use PKGVERSION.
20765 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20766 REPORT_BUGS_TO.
20767 (common-ldd-rewrite): Likewise.
20768 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20769 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20770 (print_version): Use PKGVERSION.
20771 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20772 * elf/pldd.c (argp_program_bug_address): Remove variable.
20773 (more_help): New function.
20774 (argp): Use more_help.
20775 (print_version): Use PKGVERSION.
20776 * elf/sln.c (main): Use PKGVERSION.
20777 (usage): Use REPORT_BUGS_TO.
20778 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20779 (top level): Use PKGVERSION.
20780 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20781 (print_version): Use PKGVERSION.
20782 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20783 (print_version): Use PKGVERSION.
20784 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20785 (print_version): Use PKGVERSION.
20786 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20787 (print_version): Use PKGVERSION.
20788 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20789 (print_version): Use PKGVERSION.
20790 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20791 (print_version): Use PKGVERSION.
20792 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20793 and BUGURL.
20794 ($(objpfx)memusage): Likewise.
20795 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20796 (do_version): Use PKGVERSION.
20797 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20798 (print_version): Use PKGVERSION.
20799 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20800 ($PKGVERSION): New variable.
20801 ($REPORT_BUGS_TO): Likewise.
20802 (usage): Use $REPORT_BUGS_TO.
20803 (top level): Use $PKGVERSION.
20804 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20805 ($(objpfx)pkgvers.texi): New rule.
20806 ($(objpfx)stamp-pkgvers): Likewise.
20807 * manual/install.texi: Include pkgvers.texi.
20808 (--with-pkgversion): Document new configure option.
20809 (--with-bugurl): Likewise.
20810 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20811 than necessarily for this particular distribution. Use
20812 REPORT_BUGS_TO for where to report bugs.
20813 * INSTALL: Regenerated.
20814 * manual/libc.texinfo: Include pkgvers.texi.
20815 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20816 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20817 (print_version): Use PKGVERSION.
20818 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20819 (print_version): Use PKGVERSION.
20820 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20821 (print_version): Use PKGVERSION.
20822 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20823 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20824 macro.
20825 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20826 (print_version): Use PKGVERSION.
20827 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20828 (print_version): Use PKGVERSION.
20829 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20830 and PKGVERSION.
20831
20832 * timezone/checktab.awk: Update from tzcode 2012i.
20833 * timezone/ialloc.c: Likewise.
20834 * timezone/private.h: Likewise.
20835 * timezone/scheck.c: Likewise.
20836 * timezone/tzfile.h: Likewise.
20837 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20838 (TZVERSION): Hardcode tzcode version number.
20839 * timezone/zdump.c: Update from tzcode 2012i.
20840 * timezone/zic.c: Likewise.
20841 * timezone/version.h: New file.
20842 * timezone/README: Describe version.h. Update upstream location.
20843
20844 [BZ #14824]
20845 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20846 (mktemp): Enable declaration.
20847 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20848 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20849 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20850 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20851 Likewise.
20852 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20853 Likewise.
20854 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20855 Likewise.
20856 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20857 Likewise.
20858 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20859 Likewise.
20860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20861 Likewise.
20862
20863 [BZ #14821]
20864 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20865 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20866 for copies of such integer values.
20867 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20868 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20869
20870 2012-11-09 Andreas Jaeger <aj@suse.de>
20871
20872 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20873 definitions and declarations that are provided by
20874 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20875
20876 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20877
20878 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20879 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20880 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20881 definition.
20882
20883 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20884
20885 * elf/elf.h: Update comment before AArch64 relocations.
20886
20887 2012-11-07 David S. Miller <davem@davemloft.net>
20888
20889 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20890 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20891 (__start_context): Declare.
20892 (__makecontext_ret): Delete.
20893 (__makecontext): Hook up __start_context instead of
20894 __makecontext_ret.
20895 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20896 (sysdep_routines): Add __start_context when in stdlib.
20897
20898 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20899
20900 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20901 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20902 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20903 hardcoded "nm".
20904 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20905 (READELF): New variable. Use it instead of hardcoded "readelf".
20906
20907 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20908
20909 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20910 * sysdeps/x86/Makefile: Here.
20911 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20912 * sysdeps/x86/tst-xmmymm.sh: This.
20913
20914 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20915
20916 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20917 expectations.
20918 [UNIX98] (pthread_barrier_t): Do not expect.
20919 [UNIX98] (pthread_barrierattr_t): Likewise.
20920 [UNIX98] (pthread_spinlock_t): Likewise.
20921 [UNIX98] (pthread_barrier_destroy): Likewise.
20922 [UNIX98] (pthread_barrier_init): Likewise.
20923 [UNIX98] (pthread_barrier_wait): Likewise.
20924 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20925 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20926 [UNIX98] (pthread_barrierattr_init): Likewise.
20927 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20928 [UNIX98] (pthread_getcpuclockid): Likewise.
20929 [UNIX98] (pthread_mutex_timedlock): Likewise.
20930 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20931 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20932 [UNIX98] (pthread_sigmask): Likewise.
20933 [UNIX98] (pthread_spin_destroy): Likewise.
20934 [UNIX98] (pthread_spin_init): Likewise.
20935 [UNIX98] (pthread_spin_lock): Likewise.
20936 [UNIX98] (pthread_spin_trylock): Likewise.
20937 [UNIX98] (pthread_spin_unlock): Likewise.
20938 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20939 Do not expect.
20940 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20941 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20942 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20943 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20944 [XPG3 || XPG4] (pthread_key_t): Likewise.
20945 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20946 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20947 [XPG3 || XPG4] (pthread_once_t): Likewise.
20948 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20949 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20950 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20951 [XPG3 || XPG4] (pthread_t): Likewise.
20952
20953 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20954 not expect.
20955 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20956
20957 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20958 Change function return type to int.
20959
20960 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20961 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20962 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20963 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20964 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20965 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20966 [!POSIX] (posix_madvise): Likewise.
20967 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20968 && !UNIX98].
20969 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20970 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20971 (mode_t): Likewise.
20972 (posix_mem_offset): Likewise.
20973 (posix_typed_mem_get_info): Likewise.
20974 (posix_typed_mem_open): Likewise.
20975
20976 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20977 Change condition to [XOPEN2K8].
20978
20979 * conform/conformtest.pl: Preprocess allow-header data with -x c
20980 instead of from stdin.
20981 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20982 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20983 [C99-based standards] (cerfc): Likewise.
20984 [C99-based standards] (cexp2): Likewise.
20985 [C99-based standards] (cexpm1): Likewise.
20986 [C99-based standards] (clog10): Likewise.
20987 [C99-based standards] (clog1p): Likewise.
20988 [C99-based standards] (clog2): Likewise.
20989 [C99-based standards] (clgamma): Likewise.
20990 [C99-based standards] (ctgamma): Likewise.
20991 [C99-based standards] (cerff): Likewise.
20992 [C99-based standards] (cerfcf): Likewise.
20993 [C99-based standards] (cexp2f): Likewise.
20994 [C99-based standards] (cexpm1f): Likewise.
20995 [C99-based standards] (clog10f): Likewise.
20996 [C99-based standards] (clog1pf): Likewise.
20997 [C99-based standards] (clog2f): Likewise.
20998 [C99-based standards] (clgammaf): Likewise.
20999 [C99-based standards] (ctgammaf): Likewise.
21000 [C99-based standards] (cerfl): Likewise.
21001 [C99-based standards] (cerfcl): Likewise.
21002 [C99-based standards] (cexp2l): Likewise.
21003 [C99-based standards] (cexpm1l): Likewise.
21004 [C99-based standards] (clog10l): Likewise.
21005 [C99-based standards] (clog1pl): Likewise.
21006 [C99-based standards] (clog2l): Likewise.
21007 [C99-based standards] (clgammal): Likewise.
21008 [C99-based standards] (ctgammal): Likewise.
21009 * conform/data/inttypes.h-data [C99-based standards]: Include
21010 stdint.h-data. Remove all expectations for stdint.h contents.
21011 [C99-based standards] (PRI*): Do not allow.
21012 [C99-based standards] (SCN*): Likewise.
21013 [C99-based standards] (*_t): Likewise.
21014 [C99-based-standards] (PRId8): Expect macro.
21015 [C99-based-standards] (PRIi8): Likewise.
21016 [C99-based-standards] (PRIo8): Likewise.
21017 [C99-based-standards] (PRIu8): Likewise.
21018 [C99-based-standards] (PRIx8): Likewise.
21019 [C99-based-standards] (PRIX8): Likewise.
21020 [C99-based-standards] (SCNd8): Likewise.
21021 [C99-based-standards] (SCNi8): Likewise.
21022 [C99-based-standards] (SCNo8): Likewise.
21023 [C99-based-standards] (SCNu8): Likewise.
21024 [C99-based-standards] (SCNx8): Likewise.
21025 [C99-based-standards] (PRIdLEAST8): Likewise.
21026 [C99-based-standards] (PRIiLEAST8): Likewise.
21027 [C99-based-standards] (PRIoLEAST8): Likewise.
21028 [C99-based-standards] (PRIuLEAST8): Likewise.
21029 [C99-based-standards] (PRIxLEAST8): Likewise.
21030 [C99-based-standards] (PRIXLEAST8): Likewise.
21031 [C99-based-standards] (SCNdLEAST8): Likewise.
21032 [C99-based-standards] (SCNiLEAST8): Likewise.
21033 [C99-based-standards] (SCNoLEAST8): Likewise.
21034 [C99-based-standards] (SCNuLEAST8): Likewise.
21035 [C99-based-standards] (SCNxLEAST8): Likewise.
21036 [C99-based-standards] (PRIdFAST8): Likewise.
21037 [C99-based-standards] (PRIiFAST8): Likewise.
21038 [C99-based-standards] (PRIoFAST8): Likewise.
21039 [C99-based-standards] (PRIuFAST8): Likewise.
21040 [C99-based-standards] (PRIxFAST8): Likewise.
21041 [C99-based-standards] (PRIXFAST8): Likewise.
21042 [C99-based-standards] (SCNdFAST8): Likewise.
21043 [C99-based-standards] (SCNiFAST8): Likewise.
21044 [C99-based-standards] (SCNoFAST8): Likewise.
21045 [C99-based-standards] (SCNuFAST8): Likewise.
21046 [C99-based-standards] (SCNxFAST8): Likewise.
21047 [C99-based-standards] (PRId16): Likewise.
21048 [C99-based-standards] (PRIi16): Likewise.
21049 [C99-based-standards] (PRIo16): Likewise.
21050 [C99-based-standards] (PRIu16): Likewise.
21051 [C99-based-standards] (PRIx16): Likewise.
21052 [C99-based-standards] (PRIX16): Likewise.
21053 [C99-based-standards] (SCNd16): Likewise.
21054 [C99-based-standards] (SCNi16): Likewise.
21055 [C99-based-standards] (SCNo16): Likewise.
21056 [C99-based-standards] (SCNu16): Likewise.
21057 [C99-based-standards] (SCNx16): Likewise.
21058 [C99-based-standards] (PRIdLEAST16): Likewise.
21059 [C99-based-standards] (PRIiLEAST16): Likewise.
21060 [C99-based-standards] (PRIoLEAST16): Likewise.
21061 [C99-based-standards] (PRIuLEAST16): Likewise.
21062 [C99-based-standards] (PRIxLEAST16): Likewise.
21063 [C99-based-standards] (PRIXLEAST16): Likewise.
21064 [C99-based-standards] (SCNdLEAST16): Likewise.
21065 [C99-based-standards] (SCNiLEAST16): Likewise.
21066 [C99-based-standards] (SCNoLEAST16): Likewise.
21067 [C99-based-standards] (SCNuLEAST16): Likewise.
21068 [C99-based-standards] (SCNxLEAST16): Likewise.
21069 [C99-based-standards] (PRIdFAST16): Likewise.
21070 [C99-based-standards] (PRIiFAST16): Likewise.
21071 [C99-based-standards] (PRIoFAST16): Likewise.
21072 [C99-based-standards] (PRIuFAST16): Likewise.
21073 [C99-based-standards] (PRIxFAST16): Likewise.
21074 [C99-based-standards] (PRIXFAST16): Likewise.
21075 [C99-based-standards] (SCNdFAST16): Likewise.
21076 [C99-based-standards] (SCNiFAST16): Likewise.
21077 [C99-based-standards] (SCNoFAST16): Likewise.
21078 [C99-based-standards] (SCNuFAST16): Likewise.
21079 [C99-based-standards] (SCNxFAST16): Likewise.
21080 [C99-based-standards] (PRId32): Likewise.
21081 [C99-based-standards] (PRIi32): Likewise.
21082 [C99-based-standards] (PRIo32): Likewise.
21083 [C99-based-standards] (PRIu32): Likewise.
21084 [C99-based-standards] (PRIx32): Likewise.
21085 [C99-based-standards] (PRIX32): Likewise.
21086 [C99-based-standards] (SCNd32): Likewise.
21087 [C99-based-standards] (SCNi32): Likewise.
21088 [C99-based-standards] (SCNo32): Likewise.
21089 [C99-based-standards] (SCNu32): Likewise.
21090 [C99-based-standards] (SCNx32): Likewise.
21091 [C99-based-standards] (PRIdLEAST32): Likewise.
21092 [C99-based-standards] (PRIiLEAST32): Likewise.
21093 [C99-based-standards] (PRIoLEAST32): Likewise.
21094 [C99-based-standards] (PRIuLEAST32): Likewise.
21095 [C99-based-standards] (PRIxLEAST32): Likewise.
21096 [C99-based-standards] (PRIXLEAST32): Likewise.
21097 [C99-based-standards] (SCNdLEAST32): Likewise.
21098 [C99-based-standards] (SCNiLEAST32): Likewise.
21099 [C99-based-standards] (SCNoLEAST32): Likewise.
21100 [C99-based-standards] (SCNuLEAST32): Likewise.
21101 [C99-based-standards] (SCNxLEAST32): Likewise.
21102 [C99-based-standards] (PRIdFAST32): Likewise.
21103 [C99-based-standards] (PRIiFAST32): Likewise.
21104 [C99-based-standards] (PRIoFAST32): Likewise.
21105 [C99-based-standards] (PRIuFAST32): Likewise.
21106 [C99-based-standards] (PRIxFAST32): Likewise.
21107 [C99-based-standards] (PRIXFAST32): Likewise.
21108 [C99-based-standards] (SCNdFAST32): Likewise.
21109 [C99-based-standards] (SCNiFAST32): Likewise.
21110 [C99-based-standards] (SCNoFAST32): Likewise.
21111 [C99-based-standards] (SCNuFAST32): Likewise.
21112 [C99-based-standards] (SCNxFAST32): Likewise.
21113 [C99-based-standards] (PRId64): Likewise.
21114 [C99-based-standards] (PRIi64): Likewise.
21115 [C99-based-standards] (PRIo64): Likewise.
21116 [C99-based-standards] (PRIu64): Likewise.
21117 [C99-based-standards] (PRIx64): Likewise.
21118 [C99-based-standards] (PRIX64): Likewise.
21119 [C99-based-standards] (SCNd64): Likewise.
21120 [C99-based-standards] (SCNi64): Likewise.
21121 [C99-based-standards] (SCNo64): Likewise.
21122 [C99-based-standards] (SCNu64): Likewise.
21123 [C99-based-standards] (SCNx64): Likewise.
21124 [C99-based-standards] (PRIdLEAST64): Likewise.
21125 [C99-based-standards] (PRIiLEAST64): Likewise.
21126 [C99-based-standards] (PRIoLEAST64): Likewise.
21127 [C99-based-standards] (PRIuLEAST64): Likewise.
21128 [C99-based-standards] (PRIxLEAST64): Likewise.
21129 [C99-based-standards] (PRIXLEAST64): Likewise.
21130 [C99-based-standards] (SCNdLEAST64): Likewise.
21131 [C99-based-standards] (SCNiLEAST64): Likewise.
21132 [C99-based-standards] (SCNoLEAST64): Likewise.
21133 [C99-based-standards] (SCNuLEAST64): Likewise.
21134 [C99-based-standards] (SCNxLEAST64): Likewise.
21135 [C99-based-standards] (PRIdFAST64): Likewise.
21136 [C99-based-standards] (PRIiFAST64): Likewise.
21137 [C99-based-standards] (PRIoFAST64): Likewise.
21138 [C99-based-standards] (PRIuFAST64): Likewise.
21139 [C99-based-standards] (PRIxFAST64): Likewise.
21140 [C99-based-standards] (PRIXFAST64): Likewise.
21141 [C99-based-standards] (SCNdFAST64): Likewise.
21142 [C99-based-standards] (SCNiFAST64): Likewise.
21143 [C99-based-standards] (SCNoFAST64): Likewise.
21144 [C99-based-standards] (SCNuFAST64): Likewise.
21145 [C99-based-standards] (SCNxFAST64): Likewise.
21146 [C99-based-standards] (PRIdMAX): Likewise.
21147 [C99-based-standards] (PRIiMAX): Likewise.
21148 [C99-based-standards] (PRIoMAX): Likewise.
21149 [C99-based-standards] (PRIuMAX): Likewise.
21150 [C99-based-standards] (PRIxMAX): Likewise.
21151 [C99-based-standards] (PRIXMAX): Likewise.
21152 [C99-based-standards] (SCNdMAX): Likewise.
21153 [C99-based-standards] (SCNiMAX): Likewise.
21154 [C99-based-standards] (SCNoMAX): Likewise.
21155 [C99-based-standards] (SCNuMAX): Likewise.
21156 [C99-based-standards] (SCNxMAX): Likewise.
21157 [C99-based-standards] (PRIdPTR): Likewise.
21158 [C99-based-standards] (PRIiPTR): Likewise.
21159 [C99-based-standards] (PRIoPTR): Likewise.
21160 [C99-based-standards] (PRIuPTR): Likewise.
21161 [C99-based-standards] (PRIxPTR): Likewise.
21162 [C99-based-standards] (PRIXPTR): Likewise.
21163 [C99-based-standards] (SCNdPTR): Likewise.
21164 [C99-based-standards] (SCNiPTR): Likewise.
21165 [C99-based-standards] (SCNoPTR): Likewise.
21166 [C99-based-standards] (SCNuPTR): Likewise.
21167 [C99-based-standards] (SCNxPTR): Likewise.
21168 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21169 allow.
21170 * conform/data/stdint.h-data: Update comments to clarify
21171 requirements.
21172 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21173 type.
21174 [C99-based standards] (INT8_MAX): Likewise.
21175 [C99-based standards] (INT16_MIN): Likewise.
21176 [C99-based standards] (INT16_MAX): Likewise.
21177 [C99-based standards] (INT32_MIN): Likewise.
21178 [C99-based standards] (INT32_MAX): Likewise.
21179 [C99-based standards] (INT64_MIN): Likewise.
21180 [C99-based standards] (INT64_MAX): Likewise.
21181 [C99-based standards] (UINT8_MAX): Likewise.
21182 [C99-based standards] (UINT16_MAX): Likewise.
21183 [C99-based standards] (UINT32_MAX): Likewise.
21184 [C99-based standards] (UINT64_MAX): Likewise.
21185 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21186 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21187 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21188 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21189 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21190 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21191 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21192 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21193 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21194 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21195 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21196 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21197 [C99-based standards] (INT_FAST8_MIN): Likewise.
21198 [C99-based standards] (INT_FAST8_MAX): Likewise.
21199 [C99-based standards] (INT_FAST16_MIN): Likewise.
21200 [C99-based standards] (INT_FAST16_MAX): Likewise.
21201 [C99-based standards] (INT_FAST32_MIN): Likewise.
21202 [C99-based standards] (INT_FAST32_MAX): Likewise.
21203 [C99-based standards] (INT_FAST64_MIN): Likewise.
21204 [C99-based standards] (INT_FAST64_MAX): Likewise.
21205 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21206 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21207 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21208 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21209 [C99-based standards] (INTPTR_MIN): Likewise.
21210 [C99-based standards] (INTPTR_MAX): Likewise.
21211 [C99-based standards] (UINTPTR_MAX): Likewise.
21212 [C99-based standards] (INTMAX_MIN): Likewise.
21213 [C99-based standards] (INTMAX_MAX): Likewise.
21214 [C99-based standards] (UINTMAX_MAX): Likewise.
21215 [C99-based standards] (PTRDIFF_MIN): Likewise.
21216 [C99-based standards] (PTRDIFF_MAX): Likewise.
21217 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21218 [C99-based standards] (SIZE_MAX): Likewise.
21219 [C99-based standards] (WCHAR_MAX): Likewise.
21220 [C99-based standards] (WINT_MAX): Likewise.
21221 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21222 constraint on value.
21223 [C99-based standards] (WCHAR_MIN): Likewise.
21224 [C99-based standards] (WINT_MIN): Likewise.
21225 [C99-based standards] (*_t): Allow.
21226 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21227 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21228 Include math.h-data and complex.h-data. Remove all expectations
21229 of math.h and complex.h contents.
21230 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21231 at end of line.
21232 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21233 (struct tm): Expect tag.
21234 [C99-based-standards] (wcstof): Expect function.
21235 [C99-based-standards] (wcstold): Likewise.
21236 [C99-based-standards] (wcstoll): Likewise.
21237 [C99-based-standards] (wcstoull): Likewise.
21238 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21239 macro-int-constant. Specify type.
21240 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21241 constraint on value.
21242 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21243 Specify type.
21244 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21245 Specify value.
21246 [ISO C standards]: Do not allow headers.
21247 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21248 wcs[abcdefghijklmnopqrstuvwxyz]*.
21249 [ISO C standards] (*_t): Do not allow.
21250 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21251 Expect function.
21252 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21253 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21254 Specify type.
21255 [ISO C standards]: Do not allow headers.
21256 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21257 is[abcdefghijklmnopqrstuvwxyz]*.
21258 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21259 to[abcdefghijklmnopqrstuvwxyz]*.
21260 [ISO C standards] (*_t): Do not allow.
21261 * conform/data/stdalign.h-data: New file.
21262 * conform/data/stdbool.h-data: Likewise.
21263 * conform/data/stdnoreturn.h-data: Likewise.
21264
21265 2012-11-07 Roland McGrath <roland@hack.frob.com>
21266
21267 [BZ #14815]
21268 * manual/filesys.texi (Directory Entries): Typo fix.
21269 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21270
21271 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21272
21273 * elf/elf.h (EM_AARCH64): New macro.
21274 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21275 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21276 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21277 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21278 (R_AARCH64_TLSDESC): Likewise.
21279 (NT_ARM_TLS): Likewise.
21280 (NT_ARM_HW_BREAK): Likewise.
21281 (NT_ARM_HW_WATCH): Likewise.
21282
21283 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21284
21285 [BZ #14811]
21286 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21287 (__ieee754_powl): Saturate nonzero exponents with absolute value
21288 below 0x1p-79 to +/- 0x1p-79.
21289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21290 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21291 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21292 nonzero exponents with absolute value below 0x1p-32 to +/-
21293 0x1p-32.
21294 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21295 (__ieee754_powl): Saturate nonzero exponents with absolute value
21296 below 0x1p-79 to +/- 0x1p-79.
21297 * math/libm-test.inc (pow_test): Add more tests.
21298
21299 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21300
21301 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21302 _dl_s390_cap_flags with kernel. Increase string length.
21303 (_dl_s390_platforms): Add z196 and zEC12.
21304
21305 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21306
21307 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21308 Change XOPEN21K to XOPEN2K.
21309
21310 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21311
21312 * string/memmove.c: Use memcpy when possible.
21313
21314 2012-11-06 Andreas Jaeger <aj@suse.de>
21315
21316 * po/eo.po: Update from translation team.
21317
21318 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21319
21320 [BZ #14793]
21321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21322 exponent and small x and y exponents, scale x or y up. Increase
21323 by 2 the exponent used in scaling up.
21324 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21326 * math/libm-test.inc (fma_test): Add more tests.
21327 (fma_test_towardzero): Likewise.
21328 (fma_test_downward): Likewise.
21329 (fma_test_upward): Likewise.
21330
21331 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21332
21333 [BZ #14805]
21334 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21335 fenv_t *.
21336
21337 [BZ #14801]
21338 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21339 namespace for names of struct fields.
21340 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21341 fenv_t fields.
21342 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21343 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21344
21345 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21346
21347 [BZ #3665]
21348 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21349
21350 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21351
21352 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21353 PTR_DEMANGLE.
21354
21355 [BZ #5246]
21356 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21357 PTR_DEMANGLE.
21358
21359 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21360
21361 [BZ #14797]
21362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21363 definitely overflow as x * y not x * y + z.
21364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21365 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21366 * math/libm-test.inc (fma_test): Add more tests.
21367 (fma_test_towardzero): Likewise.
21368 (fma_test_downward): Likewise.
21369 (fma_test_upward): Likewise.
21370
21371 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21372
21373 [BZ #157]
21374
21375 * include/stub-tag.h: Remove file.
21376 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21377 '#include' of it.
21378 * manual/maint.texi (Porting): Don't reference it.
21379 * Makerules ($(objpfx)stubs): Likewise.
21380 * dirent/closedir.c: Don't include <stub-tag.h>.
21381 * dirent/dirfd.c: Likewise.
21382 * dirent/fdopendir.c: Likewise.
21383 * dirent/getdents.c: Likewise.
21384 * dirent/getdents64.c: Likewise.
21385 * dirent/opendir.c: Likewise.
21386 * dirent/readdir.c: Likewise.
21387 * dirent/readdir64.c: Likewise.
21388 * dirent/readdir64_r.c: Likewise.
21389 * dirent/readdir_r.c: Likewise.
21390 * dirent/rewinddir.c: Likewise.
21391 * dirent/seekdir.c: Likewise.
21392 * dirent/telldir.c: Likewise.
21393 * gmon/profil.c: Likewise.
21394 * grp/setgroups.c: Likewise.
21395 * inet/if_index.c: Likewise.
21396 * io/access.c: Likewise.
21397 * io/chdir.c: Likewise.
21398 * io/chmod.c: Likewise.
21399 * io/chown.c: Likewise.
21400 * io/close.c: Likewise.
21401 * io/dup.c: Likewise.
21402 * io/dup2.c: Likewise.
21403 * io/dup3.c: Likewise.
21404 * io/euidaccess.c: Likewise.
21405 * io/faccessat.c: Likewise.
21406 * io/fchdir.c: Likewise.
21407 * io/fchmod.c: Likewise.
21408 * io/fchmodat.c: Likewise.
21409 * io/fchown.c: Likewise.
21410 * io/fchownat.c: Likewise.
21411 * io/fcntl.c: Likewise.
21412 * io/flock.c: Likewise.
21413 * io/fstatfs.c: Likewise.
21414 * io/fstatfs64.c: Likewise.
21415 * io/fstatvfs.c: Likewise.
21416 * io/fstatvfs64.c: Likewise.
21417 * io/futimens.c: Likewise.
21418 * io/fxstat.c: Likewise.
21419 * io/fxstat64.c: Likewise.
21420 * io/fxstatat.c: Likewise.
21421 * io/fxstatat64.c: Likewise.
21422 * io/getcwd.c: Likewise.
21423 * io/isatty.c: Likewise.
21424 * io/lchmod.c: Likewise.
21425 * io/lchown.c: Likewise.
21426 * io/link.c: Likewise.
21427 * io/linkat.c: Likewise.
21428 * io/lseek.c: Likewise.
21429 * io/lseek64.c: Likewise.
21430 * io/lxstat64.c: Likewise.
21431 * io/mkdir.c: Likewise.
21432 * io/mkdirat.c: Likewise.
21433 * io/mkfifo.c: Likewise.
21434 * io/mkfifoat.c: Likewise.
21435 * io/open.c: Likewise.
21436 * io/open64.c: Likewise.
21437 * io/openat.c: Likewise.
21438 * io/openat64.c: Likewise.
21439 * io/pipe.c: Likewise.
21440 * io/pipe2.c: Likewise.
21441 * io/poll.c: Likewise.
21442 * io/posix_fadvise.c: Likewise.
21443 * io/posix_fadvise64.c: Likewise.
21444 * io/posix_fallocate.c: Likewise.
21445 * io/posix_fallocate64.c: Likewise.
21446 * io/read.c: Likewise.
21447 * io/readlink.c: Likewise.
21448 * io/readlinkat.c: Likewise.
21449 * io/rmdir.c: Likewise.
21450 * io/sendfile.c: Likewise.
21451 * io/sendfile64.c: Likewise.
21452 * io/statfs.c: Likewise.
21453 * io/statfs64.c: Likewise.
21454 * io/statvfs.c: Likewise.
21455 * io/statvfs64.c: Likewise.
21456 * io/symlink.c: Likewise.
21457 * io/symlinkat.c: Likewise.
21458 * io/ttyname.c: Likewise.
21459 * io/ttyname_r.c: Likewise.
21460 * io/umask.c: Likewise.
21461 * io/unlink.c: Likewise.
21462 * io/unlinkat.c: Likewise.
21463 * io/utime.c: Likewise.
21464 * io/utimensat.c: Likewise.
21465 * io/write.c: Likewise.
21466 * io/xmknod.c: Likewise.
21467 * io/xmknodat.c: Likewise.
21468 * io/xstat.c: Likewise.
21469 * io/xstat64.c: Likewise.
21470 * login/getpt.c: Likewise.
21471 * login/grantpt.c: Likewise.
21472 * login/unlockpt.c: Likewise.
21473 * math/e_acoshl.c: Likewise.
21474 * math/e_acosl.c: Likewise.
21475 * math/e_asinl.c: Likewise.
21476 * math/e_atan2l.c: Likewise.
21477 * math/e_atanhl.c: Likewise.
21478 * math/e_coshl.c: Likewise.
21479 * math/e_expl.c: Likewise.
21480 * math/e_fmodl.c: Likewise.
21481 * math/e_gammal_r.c: Likewise.
21482 * math/e_hypotl.c: Likewise.
21483 * math/e_j0l.c: Likewise.
21484 * math/e_j1l.c: Likewise.
21485 * math/e_jnl.c: Likewise.
21486 * math/e_lgammal_r.c: Likewise.
21487 * math/e_log10l.c: Likewise.
21488 * math/e_log2l.c: Likewise.
21489 * math/e_logl.c: Likewise.
21490 * math/e_powl.c: Likewise.
21491 * math/e_rem_pio2l.c: Likewise.
21492 * math/e_sinhl.c: Likewise.
21493 * math/e_sqrtl.c: Likewise.
21494 * math/fclrexcpt.c: Likewise.
21495 * math/fedisblxcpt.c: Likewise.
21496 * math/feenablxcpt.c: Likewise.
21497 * math/fegetenv.c: Likewise.
21498 * math/fegetexcept.c: Likewise.
21499 * math/fegetround.c: Likewise.
21500 * math/feholdexcpt.c: Likewise.
21501 * math/fesetenv.c: Likewise.
21502 * math/fesetround.c: Likewise.
21503 * math/feupdateenv.c: Likewise.
21504 * math/fgetexcptflg.c: Likewise.
21505 * math/fraiseexcpt.c: Likewise.
21506 * math/fsetexcptflg.c: Likewise.
21507 * math/ftestexcept.c: Likewise.
21508 * math/k_cosl.c: Likewise.
21509 * math/k_rem_pio2l.c: Likewise.
21510 * math/k_sinl.c: Likewise.
21511 * math/k_tanl.c: Likewise.
21512 * math/s_asinhl.c: Likewise.
21513 * math/s_atanl.c: Likewise.
21514 * math/s_cbrtl.c: Likewise.
21515 * math/s_erfl.c: Likewise.
21516 * math/s_expm1l.c: Likewise.
21517 * math/s_log1pl.c: Likewise.
21518 * math/s_tanhl.c: Likewise.
21519 * misc/acct.c: Likewise.
21520 * misc/brk.c: Likewise.
21521 * misc/chflags.c: Likewise.
21522 * misc/chroot.c: Likewise.
21523 * misc/fchflags.c: Likewise.
21524 * misc/fgetxattr.c: Likewise.
21525 * misc/flistxattr.c: Likewise.
21526 * misc/fremovexattr.c: Likewise.
21527 * misc/fsetxattr.c: Likewise.
21528 * misc/fsync.c: Likewise.
21529 * misc/ftruncate.c: Likewise.
21530 * misc/futimes.c: Likewise.
21531 * misc/futimesat.c: Likewise.
21532 * misc/getdomain.c: Likewise.
21533 * misc/getdtsz.c: Likewise.
21534 * misc/gethostid.c: Likewise.
21535 * misc/gethostname.c: Likewise.
21536 * misc/getloadavg.c: Likewise.
21537 * misc/getpagesize.c: Likewise.
21538 * misc/getsysstats.c: Likewise.
21539 * misc/getxattr.c: Likewise.
21540 * misc/gtty.c: Likewise.
21541 * misc/ioctl.c: Likewise.
21542 * misc/lgetxattr.c: Likewise.
21543 * misc/listxattr.c: Likewise.
21544 * misc/llistxattr.c: Likewise.
21545 * misc/lremovexattr.c: Likewise.
21546 * misc/lsetxattr.c: Likewise.
21547 * misc/lutimes.c: Likewise.
21548 * misc/madvise.c: Likewise.
21549 * misc/mincore.c: Likewise.
21550 * misc/mlock.c: Likewise.
21551 * misc/mlockall.c: Likewise.
21552 * misc/mmap.c: Likewise.
21553 * misc/mprotect.c: Likewise.
21554 * misc/msync.c: Likewise.
21555 * misc/munlock.c: Likewise.
21556 * misc/munlockall.c: Likewise.
21557 * misc/munmap.c: Likewise.
21558 * misc/preadv.c: Likewise.
21559 * misc/preadv64.c: Likewise.
21560 * misc/ptrace.c: Likewise.
21561 * misc/pwritev.c: Likewise.
21562 * misc/pwritev64.c: Likewise.
21563 * misc/readv.c: Likewise.
21564 * misc/reboot.c: Likewise.
21565 * misc/remap_file_pages.c: Likewise.
21566 * misc/removexattr.c: Likewise.
21567 * misc/revoke.c: Likewise.
21568 * misc/select.c: Likewise.
21569 * misc/setdomain.c: Likewise.
21570 * misc/setegid.c: Likewise.
21571 * misc/seteuid.c: Likewise.
21572 * misc/sethostid.c: Likewise.
21573 * misc/sethostname.c: Likewise.
21574 * misc/setregid.c: Likewise.
21575 * misc/setreuid.c: Likewise.
21576 * misc/setxattr.c: Likewise.
21577 * misc/sstk.c: Likewise.
21578 * misc/stty.c: Likewise.
21579 * misc/swapoff.c: Likewise.
21580 * misc/swapon.c: Likewise.
21581 * misc/sync.c: Likewise.
21582 * misc/syncfs.c: Likewise.
21583 * misc/syscall.c: Likewise.
21584 * misc/truncate.c: Likewise.
21585 * misc/ualarm.c: Likewise.
21586 * misc/usleep.c: Likewise.
21587 * misc/ustat.c: Likewise.
21588 * misc/utimes.c: Likewise.
21589 * misc/vhangup.c: Likewise.
21590 * misc/writev.c: Likewise.
21591 * posix/_exit.c: Likewise.
21592 * posix/alarm.c: Likewise.
21593 * posix/execve.c: Likewise.
21594 * posix/fexecve.c: Likewise.
21595 * posix/fork.c: Likewise.
21596 * posix/fpathconf.c: Likewise.
21597 * posix/getaddrinfo.c: Likewise.
21598 * posix/getegid.c: Likewise.
21599 * posix/geteuid.c: Likewise.
21600 * posix/getgid.c: Likewise.
21601 * posix/getgroups.c: Likewise.
21602 * posix/getlogin.c: Likewise.
21603 * posix/getlogin_r.c: Likewise.
21604 * posix/getpgid.c: Likewise.
21605 * posix/getpid.c: Likewise.
21606 * posix/getppid.c: Likewise.
21607 * posix/getresgid.c: Likewise.
21608 * posix/getresuid.c: Likewise.
21609 * posix/getsid.c: Likewise.
21610 * posix/getuid.c: Likewise.
21611 * posix/glob64.c: Likewise.
21612 * posix/nanosleep.c: Likewise.
21613 * posix/pathconf.c: Likewise.
21614 * posix/pause.c: Likewise.
21615 * posix/posix_madvise.c: Likewise.
21616 * posix/pread.c: Likewise.
21617 * posix/pread64.c: Likewise.
21618 * posix/pwrite.c: Likewise.
21619 * posix/pwrite64.c: Likewise.
21620 * posix/sched_getaffinity.c: Likewise.
21621 * posix/sched_getp.c: Likewise.
21622 * posix/sched_gets.c: Likewise.
21623 * posix/sched_primax.c: Likewise.
21624 * posix/sched_primin.c: Likewise.
21625 * posix/sched_rr_gi.c: Likewise.
21626 * posix/sched_setaffinity.c: Likewise.
21627 * posix/sched_setp.c: Likewise.
21628 * posix/sched_sets.c: Likewise.
21629 * posix/sched_yield.c: Likewise.
21630 * posix/setgid.c: Likewise.
21631 * posix/setlogin.c: Likewise.
21632 * posix/setpgid.c: Likewise.
21633 * posix/setresgid.c: Likewise.
21634 * posix/setresuid.c: Likewise.
21635 * posix/setsid.c: Likewise.
21636 * posix/setuid.c: Likewise.
21637 * posix/sleep.c: Likewise.
21638 * posix/spawni.c: Likewise.
21639 * posix/sysconf.c: Likewise.
21640 * posix/times.c: Likewise.
21641 * posix/wait.c: Likewise.
21642 * posix/wait3.c: Likewise.
21643 * posix/wait4.c: Likewise.
21644 * posix/waitpid.c: Likewise.
21645 * resolv/gai_sigqueue.c: Likewise.
21646 * resource/getpriority.c: Likewise.
21647 * resource/getrlimit.c: Likewise.
21648 * resource/getrusage.c: Likewise.
21649 * resource/nice.c: Likewise.
21650 * resource/setpriority.c: Likewise.
21651 * resource/setrlimit.c: Likewise.
21652 * resource/ulimit.c: Likewise.
21653 * rt/aio_cancel.c: Likewise.
21654 * rt/aio_fsync.c: Likewise.
21655 * rt/aio_read.c: Likewise.
21656 * rt/aio_sigqueue.c: Likewise.
21657 * rt/aio_suspend.c: Likewise.
21658 * rt/aio_write.c: Likewise.
21659 * rt/clock_getres.c: Likewise.
21660 * rt/clock_gettime.c: Likewise.
21661 * rt/clock_nanosleep.c: Likewise.
21662 * rt/clock_settime.c: Likewise.
21663 * rt/lio_listio.c: Likewise.
21664 * rt/mq_close.c: Likewise.
21665 * rt/mq_getattr.c: Likewise.
21666 * rt/mq_notify.c: Likewise.
21667 * rt/mq_open.c: Likewise.
21668 * rt/mq_receive.c: Likewise.
21669 * rt/mq_send.c: Likewise.
21670 * rt/mq_setattr.c: Likewise.
21671 * rt/mq_timedreceive.c: Likewise.
21672 * rt/mq_timedsend.c: Likewise.
21673 * rt/mq_unlink.c: Likewise.
21674 * rt/shm_open.c: Likewise.
21675 * rt/shm_unlink.c: Likewise.
21676 * rt/timer_create.c: Likewise.
21677 * rt/timer_delete.c: Likewise.
21678 * rt/timer_getoverr.c: Likewise.
21679 * rt/timer_gettime.c: Likewise.
21680 * rt/timer_settime.c: Likewise.
21681 * setjmp/__longjmp.c: Likewise.
21682 * setjmp/setjmp.c: Likewise.
21683 * signal/kill.c: Likewise.
21684 * signal/killpg.c: Likewise.
21685 * signal/raise.c: Likewise.
21686 * signal/sigaction.c: Likewise.
21687 * signal/sigaltstack.c: Likewise.
21688 * signal/sigblock.c: Likewise.
21689 * signal/sigignore.c: Likewise.
21690 * signal/sigintr.c: Likewise.
21691 * signal/signal.c: Likewise.
21692 * signal/sigpause.c: Likewise.
21693 * signal/sigpending.c: Likewise.
21694 * signal/sigqueue.c: Likewise.
21695 * signal/sigreturn.c: Likewise.
21696 * signal/sigset.c: Likewise.
21697 * signal/sigsetmask.c: Likewise.
21698 * signal/sigstack.c: Likewise.
21699 * signal/sigsuspend.c: Likewise.
21700 * signal/sigtimedwait.c: Likewise.
21701 * signal/sigvec.c: Likewise.
21702 * signal/sigwait.c: Likewise.
21703 * signal/sigwaitinfo.c: Likewise.
21704 * signal/sysv_signal.c: Likewise.
21705 * socket/accept.c: Likewise.
21706 * socket/accept4.c: Likewise.
21707 * socket/bind.c: Likewise.
21708 * socket/connect.c: Likewise.
21709 * socket/getpeername.c: Likewise.
21710 * socket/getsockname.c: Likewise.
21711 * socket/getsockopt.c: Likewise.
21712 * socket/isfdtype.c: Likewise.
21713 * socket/listen.c: Likewise.
21714 * socket/recv.c: Likewise.
21715 * socket/recvfrom.c: Likewise.
21716 * socket/recvmsg.c: Likewise.
21717 * socket/send.c: Likewise.
21718 * socket/sendmsg.c: Likewise.
21719 * socket/sendto.c: Likewise.
21720 * socket/setsockopt.c: Likewise.
21721 * socket/shutdown.c: Likewise.
21722 * socket/sockatmark.c: Likewise.
21723 * socket/socket.c: Likewise.
21724 * socket/socketpair.c: Likewise.
21725 * stdio-common/ctermid.c: Likewise.
21726 * stdio-common/cuserid.c: Likewise.
21727 * stdio-common/remove.c: Likewise.
21728 * stdio-common/rename.c: Likewise.
21729 * stdio-common/renameat.c: Likewise.
21730 * stdio-common/tempname.c: Likewise.
21731 * stdlib/getcontext.c: Likewise.
21732 * stdlib/makecontext.c: Likewise.
21733 * stdlib/setcontext.c: Likewise.
21734 * stdlib/swapcontext.c: Likewise.
21735 * stdlib/system.c: Likewise.
21736 * streams/fattach.c: Likewise.
21737 * streams/fdetach.c: Likewise.
21738 * streams/getmsg.c: Likewise.
21739 * streams/getpmsg.c: Likewise.
21740 * streams/putmsg.c: Likewise.
21741 * streams/putpmsg.c: Likewise.
21742 * sysdeps/unix/bsd/getpt.c: Likewise.
21743 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21744 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21745 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21747 Likewise.
21748 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21749 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21750 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21751 * sysvipc/msgctl.c: Likewise.
21752 * sysvipc/msgget.c: Likewise.
21753 * sysvipc/msgrcv.c: Likewise.
21754 * sysvipc/msgsnd.c: Likewise.
21755 * sysvipc/semctl.c: Likewise.
21756 * sysvipc/semget.c: Likewise.
21757 * sysvipc/semop.c: Likewise.
21758 * sysvipc/semtimedop.c: Likewise.
21759 * sysvipc/shmat.c: Likewise.
21760 * sysvipc/shmctl.c: Likewise.
21761 * sysvipc/shmdt.c: Likewise.
21762 * sysvipc/shmget.c: Likewise.
21763 * termios/tcdrain.c: Likewise.
21764 * termios/tcflow.c: Likewise.
21765 * termios/tcflush.c: Likewise.
21766 * termios/tcgetattr.c: Likewise.
21767 * termios/tcgetpgrp.c: Likewise.
21768 * termios/tcsendbrk.c: Likewise.
21769 * termios/tcsetattr.c: Likewise.
21770 * termios/tcsetpgrp.c: Likewise.
21771 * time/adjtime.c: Likewise.
21772 * time/clock.c: Likewise.
21773 * time/getitimer.c: Likewise.
21774 * time/gettimeofday.c: Likewise.
21775 * time/setitimer.c: Likewise.
21776 * time/settimeofday.c: Likewise.
21777 * time/stime.c: Likewise.
21778 * time/time.c: Likewise.
21779
21780 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
21781
21782 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21783 /usr/old/bin.
21784
21785 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21786 instead of spaces.
21787 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21788
21789 2012-11-03 Joseph Myers <joseph@codesourcery.com>
21790
21791 [BZ #14796]
21792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21793 FE_TONEAREST before applying Dekker multiplication and Knuth
21794 addition. Clear inexact exceptions and check for exact zero
21795 results afterwards.
21796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21797 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21799 * math/libm-test.inc (fma_test): Add more tests.
21800 (fma_test_towardzero): Likewise.
21801 (fma_test_downward): Likewise.
21802 (fma_test_upward): Likewise.
21803 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21804 function.
21805 (libc_fesetround): New macro.
21806 (libc_fesetroundf): Likewise.
21807 (libc_fesetroundl): Likewise.
21808 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21809 function.
21810 (libc_fesetround_387): Likewise.
21811 (libc_fesetroundf): New macro.
21812 (libc_fesetround): Likewise.
21813 (libc_fesetroundl): Likewise.
21814 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21815 function.
21816 (libc_fesetroundf): New macro.
21817 (libc_fesetround): Likewise.
21818 (libc_fesetroundl): Likewise.
21819 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21820 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21821 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21822 libm_hidden_ver.
21823 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21824 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21825 libm_hidden_def.
21826 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21827 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21828 libm_hidden_ver.
21829 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21830 libm_hidden_def.
21831
21832 [BZ #3439]
21833 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21834 integer constant usable in #if and use that to give value to enum
21835 constant.
21836 (FE_DIVBYZERO): Likewise.
21837 (FE_UNDERFLOW): Likewise.
21838 (FE_OVERFLOW): Likewise.
21839 (FE_INVALID): Likewise.
21840 (FE_INVALID_SNAN): Likewise.
21841 (FE_INVALID_ISI): Likewise.
21842 (FE_INVALID_IDI): Likewise.
21843 (FE_INVALID_ZDZ): Likewise.
21844 (FE_INVALID_IMZ): Likewise.
21845 (FE_INVALID_COMPARE): Likewise.
21846 (FE_INVALID_SOFTWARE): Likewise.
21847 (FE_INVALID_SQRT): Likewise.
21848 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21849 (FE_TONEAREST): Likewise.
21850 (FE_TOWARDZERO): Likewise.
21851 (FE_UPWARD): Likewise.
21852 (FE_DOWNWARD): Likewise.
21853 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21854 (FE_DIVBYZERO): Likewise.
21855 (FE_OVERFLOW): Likewise.
21856 (FE_UNDERFLOW): Likewise.
21857 (FE_INEXACT): Likewise.
21858 (FE_TONEAREST): Likewise.
21859 (FE_DOWNWARD): Likewise.
21860 (FE_UPWARD): Likewise.
21861 (FE_TOWARDZERO): Likewise.
21862 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21863 (FE_UNDERFLOW): Likewise.
21864 (FE_OVERFLOW): Likewise.
21865 (FE_DIVBYZERO): Likewise.
21866 (FE_INVALID): Likewise.
21867 (FE_TONEAREST): Likewise.
21868 (FE_TOWARDZERO): Likewise.
21869 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21870 (FE_OVERFLOW): Likewise.
21871 (FE_UNDERFLOW): Likewise.
21872 (FE_DIVBYZERO): Likewise.
21873 (FE_INEXACT): Likewise.
21874 (FE_TONEAREST): Likewise.
21875 (FE_TOWARDZERO): Likewise.
21876 (FE_UPWARD): Likewise.
21877 (FE_DOWNWARD): Likewise.
21878 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21879 (FE_DIVBYZERO): Likewise.
21880 (FE_OVERFLOW): Likewise.
21881 (FE_UNDERFLOW): Likewise.
21882 (FE_INEXACT): Likewise.
21883 (FE_TONEAREST): Likewise.
21884 (FE_DOWNWARD): Likewise.
21885 (FE_UPWARD): Likewise.
21886 (FE_TOWARDZERO): Likewise.
21887
21888 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21889
21890 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21891
21892 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21893
21894 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21895 commands. Quote $PWD.
21896 (blacklist_exports): Don't use remove_newlines. Replace "declare
21897 -x" by "export".
21898 (remove_newlines): Remove.
21899
21900 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21901
21902 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21903 * stdlib/stdlib.h (atof): Moved to ...
21904 * include/bits/stdlib-float.h: Here. New file.
21905 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21906 * stdlib/bits/stdlib-float.h: New file.
21907 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21908 -mno-sse -mno-mmx.
21909 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21910 <xmmintrin.h>.
21911
21912 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21913
21914 * conform/conformtest.pl (@headers): Add fenv.h.
21915 * conform/data/fenv.h-data: New file.
21916 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21917 include of <math/fenv.h>.
21918
21919 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21920 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21921 && !UNIX98]. Enables tests for XOPEN2K8.
21922 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21923 POSIX2008]: Likewise.
21924
21925 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21926 (struct rusage): Do not expect type or its members.
21927
21928 [BZ #3439]
21929 * math/math.h (FP_NAN): Define macro to integer constant usable in
21930 #if and use that to give value to enum constant.
21931 (FP_INFINITE): Likewise.
21932 (FP_ZERO): Likewise.
21933 (FP_SUBNORMAL): Likewise.
21934 (FP_NORMAL): Likewise.
21935
21936 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21937
21938 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21939 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21940 arguments.
21941
21942 2012-11-02 Roland McGrath <roland@hack.frob.com>
21943
21944 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21945 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21946 autoconf-time if not.
21947 * configure.in: Remove AC_PREREQ.
21948
21949 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21950
21951 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21952 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21953 of the internal implementation.
21954
21955 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21956
21957 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21958 except include of <misc/sys/syslog.h>.
21959
21960 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21961
21962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21963 function returns with a NULL context exit with zero.
21964
21965 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21966
21967 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21968
21969 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21970
21971 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21972 (run_program_cmd): This.
21973 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21974 (tst_langinfo): New variable. Use it.
21975
21976 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21977
21978 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21979 floating point opcodes.
21980
21981 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21982
21983 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21984 variable.
21985
21986 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21987
21988 * sysdeps/mach/hurd/powerpc: Remove directory.
21989 * sysdeps/mach/powerpc: Likewise.
21990
21991 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21992
21993 * scripts/check-local-headers.sh: Ignore c++ headers.
21994
21995 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21996
21997 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21998 __libc_cleanup_region_start argument.
21999
22000 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22001
22002 [BZ #14784]
22003 [BZ #14785]
22004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22005 x * y using scaling, not as x * y + z.
22006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22008 * math/libm-test.inc (fma_test): Add more tests.
22009 (fma_test_towardzero): Likewise.
22010 (fma_test_downward): Likewise.
22011 (fma_test_upward): Likewise.
22012
22013 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22014
22015 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22016
22017 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22018
22019 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22020 New variable.
22021
22022 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22023
22024 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22025
22026 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22027
22028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22029 Fix sort order.
22030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22031 Likewise.
22032
22033 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22034
22035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22036 Fix the order of the list for glibc 2.17.
22037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22038 Likewise.
22039
22040 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22041
22042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22043
22044 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22045
22046 [BZ #14610]
22047 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22048 for low part of x being zero before using __atanl (y).
22049 * math/libm-test.inc (atan2_test): Add another test.
22050
22051 * manual/install.texi (Configuring and compiling): Document
22052 general use of test-wrapper and test-wrapper-env.
22053 * INSTALL: Regenerated.
22054
22055 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22056 (__fma): Do not extract and scale down low bits on after-rounding
22057 systems when result rounded to normal precision would have normal
22058 exponent.
22059 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22060 (__fmal): Do not extract and scale down low bits on after-rounding
22061 systems when result rounded to normal precision would have normal
22062 exponent.
22063 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22064 (__fmal): Do not extract and scale down low bits on after-rounding
22065 systems when result rounded to normal precision would have normal
22066 exponent.
22067 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22068 macro.
22069 (fma_test): Add more tests.
22070 (fma_test_towardzero): Likewise.
22071 (fma_test_downward): Likewise.
22072 (fma_test_upward): Likewise.
22073
22074 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22075
22076 * sysdeps/i386/tininess.h: Renamed to ...
22077 * sysdeps/x86/tininess.h: This.
22078 * sysdeps/x86_64/tininess.h: Removed.
22079
22080 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22081
22082 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22083 input. Use $(build-program-cmd).
22084 ($(objpfx)tst-array1-static.out): Likewise.
22085 ($(objpfx)tst-array2.out): Likewise.
22086 ($(objpfx)tst-array3.out): Likewise.
22087 ($(objpfx)tst-array4.out): Likewise.
22088 ($(objpfx)tst-array5.out): Likewise.
22089 ($(objpfx)tst-array5-static.out): Likewise.
22090
22091 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22092
22093 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22094 if defined.
22095
22096 * nss/nsswitch.h (nss_interface_function): Provide new
22097 macro for use with NSS functions.
22098 * grp/initgroups.c: Use new macro.
22099 * nss/getXXbyYY.c: Likewise.
22100 * nss/getXXbyYY_r.c: Likewise.
22101 * nss/getXXent.c: Likewise.
22102 * nss/getXXent_r.c: Likewise.
22103 * sysdeps/posix/getaddrinfo.c: Likewise.
22104
22105 2012-10-30 Andreas Jaeger <aj@suse.de>
22106
22107 * po/ru.po: Update Russion translation from translation project.
22108
22109 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22110
22111 [BZ #14152]
22112 [BZ #14783]
22113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22114 result and shift together with sticky bit instead of replicating
22115 round-to-nearest rounding.
22116 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22117 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22118 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22119 missing underflow exceptions.
22120 (fma_test_towardzero): Add more tests.
22121 (fma_test_downward): Likewise.
22122 (fma_test_upward): Likewise.
22123
22124 [BZ #14047]
22125 * sysdeps/generic/tininess.h: New file.
22126 * sysdeps/i386/tininess.h: Likewise.
22127 * sysdeps/sh/tininess.h: Likewise.
22128 * sysdeps/x86_64/tininess.h: Likewise.
22129 * stdlib/tst-strtod-underflow.c: Likewise.
22130 * stdlib/tst-tininess.c: Likewise.
22131 * stdlib/strtod_l.c: Include <tininess.h>.
22132 (round_and_return): Do not set errno for exact underflow cases.
22133 Force an underflow exception when setting errno for underflow.
22134 Determine underflow based on rounding to normal precision if
22135 TININESS_AFTER_ROUNDING.
22136 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22137 ERANGE for exact underflow cases.
22138 * stdlib/Makefile (tests): Add tst-tininess and
22139 tst-strtod-underflow.
22140 ($(objpfx)tst-tininess): Use $(link-libm).
22141 ($(objpfx)tst-strtod-underflow): Likewise.
22142
22143 2012-10-30 Andreas Jaeger <aj@suse.de>
22144
22145 [BZ#14767]
22146 * elf/Makefile (tests): Remove conditional for have-initfini-array
22147 since this is now always required and the variable does not exist
22148 anymore.
22149 (tests-static): Likewise.
22150 (modules-names): Likewise.
22151
22152 * po/eo.po: Add Esperanto translation from translation project.
22153
22154 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22155 merged with constructor/destructor.
22156 (init_array): Likewise.
22157 * elf/tst-array2dep.c (fini_array): Likewise.
22158 (init_array): Likewise.
22159
22160 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22161
22162 * manual/message.texi: Delete @cartouche tags.
22163
22164 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22165
22166 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22167 EOPNOTSUPP.
22168 * sysdeps/mach/hurd/fsync.c: Likewise.
22169
22170 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22171 [_POSIX_REALTIME_SIGNALS]: Change condition to
22172 [_POSIX_REALTIME_SIGNALS > 0].
22173
22174 2012-10-27 Andreas Jaeger <aj@suse.de>
22175
22176 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22177 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22179 [__WORDSIZE != 64]: Likewise.
22180
22181 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22182
22183 * iconvdata/tst-table.sh: Remove ${SHELL}.
22184 * iconvdata/tst-tables.sh: Likewise.
22185
22186 2012-10-25 David S. Miller <davem@davemloft.net>
22187
22188 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22189 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22190 of strtoull.
22191
22192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22193 ifunc-impl-list.c
22194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22195 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22196 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22197 file.
22198
22199 2012-10-25 Roland McGrath <roland@hack.frob.com>
22200
22201 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22202 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22203 __getdirentries.
22204
22205 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22206 Jim Blandy <jimb@codesourcery.com>
22207
22208 * scripts/cross-test-ssh.sh: New file.
22209 * manual/install.texi (Configuring and compiling): Document use of
22210 cross-test-ssh.sh.
22211 * INSTALL: Regenerated.
22212
22213 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22214
22215 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22216 EOPNOTSUPP.
22217
22218 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22219
22220 * Makeconfig (run-program-prefix): Fix comment.
22221
22222 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22223 Jim Blandy <jimb@codesourcery.com>
22224
22225 * Makeconfig (test-wrapper): New variable,
22226 (test-wrapper-env): Likewise.
22227 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22228 (run-built-tests): Define to yes.
22229 (run-program-prefix): Use $(test-wrapper).
22230 (built-program-cmd): Likewise.
22231 * Rules (make-test-out): Use $(test-wrapper-env) and
22232 $(host-built-program-cmd).
22233 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22234 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22235 tst-pathopt.sh.
22236 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22237 $(test-wrapper-env) to tst-rtld-load-self.sh.
22238 ($(objpfx)order2.out): Use $(test-wrapper).
22239 ($(objpfx)tst-initorder.out): Likewise.
22240 ($(objpfx)tst-initorder2.out): Likewise.
22241 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22242 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22243 (test_wrapper_env): New variable. Use it to run ld.so.
22244 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22245 Use it to run ld.so.
22246 (test_wrapper_env): Likewise.
22247 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22248 $(test-wrapper) to run-iconv-test.sh.
22249 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22250 (ICONV): Use $test_wrapper.
22251 * posix/Makefile ($(objpfx)globtest.out): Pass
22252 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22253 globtest.sh, not $(run-program-prefix).
22254 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22255 (test_wrapper): Likewise.
22256 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22257 set together with run_via_rtld_prefix.
22258 (run_program_prefix): Define in terms of test_wrapper and
22259 run_via_rtld_prefix.
22260
22261 2012-10-24 Roland McGrath <roland@hack.frob.com>
22262
22263 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22264 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22265 Targets removed.
22266
22267 [BZ #14743]
22268 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22269 Declare __clock_getres, __clock_gettime, __clock_settime,
22270 __clock_nanosleep, and __clock_getcpuclockid.
22271 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22272 Remove librt_hidden_def (clock_gettime).
22273 * sysdeps/unix/clock_gettime.c: Likewise.
22274 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22275 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22276 * rt/clock_getres.c: Define __clock_getres as an alias.
22277 * sysdeps/posix/clock_getres.c: Likewise.
22278 * rt/clock_settime.c: Define __clock_settime as an alias.
22279 * sysdeps/unix/clock_settime.c: Likewise.
22280 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22281 * sysdeps/unix/clock_nanosleep.c: Likewise.
22282 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22283 * rt/clock-compat.c: New file.
22284 * rt/Makefile (librt-routines): Add clock-compat and move
22285 $(clock-routines) to ...
22286 (routines): ... here, new variable.
22287 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22288 Don't add get_clockfreq here.
22289 * rt/Versions (libc: GLIBC_2.17): New version set.
22290 Add clock_* symbols here.
22291 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22292 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22293 (GLIBC_2.17): Add clock_* symbols.
22294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22296 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22298 Likewise.
22299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22300 Likewise.
22301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22305 * NEWS: Mention the move.
22306
22307 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22308 Use __open, __read, __close rather than their public counterparts.
22309 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22310 (__get_clockfreq_via_cpuinfo): Likewise.
22311 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22312 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22313
22314 * config.h.in (HAVE_IFUNC): New #undef.
22315 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22316 was successful.
22317 * configure: Regenerated.
22318
22319 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22320
22321 * configure.in: Move READELF check to start of file.
22322 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22323 libc_cv_asm_gnu_indirect_function in the process.
22324 * configure: Regenerated.
22325
22326 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22327
22328 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22329 send the output to /dev/null.
22330 (libc_cv_cc_with_libunwind): Likewise.
22331 (libc_cv_as_noexecstack): Likewise.
22332 * configure: Regenerate.
22333
22334 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22335
22336 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22337
22338 * posix/globtest.sh (TMPDIR): Do not set.
22339 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22340 (testout): Likewise.
22341
22342 2012-10-24 Andreas Jaeger <aj@suse.de>
22343
22344 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22345 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22346 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22347 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22348 posix_fadvise64, posix_fallocate64.
22349
22350 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22351 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22352 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22353 Likewise.
22354 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22355 Likewise.
22356 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22357
22358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22359 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22360 <bits/fcntl-linux.h>.
22361 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22362
22363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22364 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22365 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22366 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22367 [__WORDSIZE != 64]: Likewise.
22368
22369 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22370
22371 * Makeconfig (run-built-tests): New variable.
22372 * Rules [$(cross-compiling) = yes]: Change condition to
22373 [$(run-built-tests) = no].
22374 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22375 to [$(run-built-tests) = yes].
22376 * elf/Makefile [$(cross-compiling) = no]: Likewise
22377 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22378 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22379 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22380 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22381 * io/Makefile [$(cross-compiling) = no]: Likewise.
22382 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22383 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22384 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22385 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22386 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22387 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22388 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22389 * string/Makefile [$(cross-compiling) = no]: Likewise.
22390
22391 * posix/Makefile ($(objpfx)globtest.out): Pass
22392 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22393 $(rtld-installed-name).
22394 * posix/globtest.sh (elf_objpfx): Remove variable.
22395 (rtld_installed_name): Likewise.
22396 (library_path): Likewise.
22397 (run_program_prefix): New variable. Use for running globtest
22398 binary.
22399
22400 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22401 Joseph Myers <joseph@codesourcery.com>
22402
22403 * Makeconfig (host-built-program-cmd): New variable.
22404 * elf/Makefile (tst-stackguard1-ARGS): Use
22405 $(host-built-program-cmd).
22406 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22407 (tst-spawn-ARGS): Likewise.
22408 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22409
22410 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22411 Jim Blandy <jimb@codesourcery.com>
22412
22413 * Makeconfig (run-via-rtld-prefix): New variable.
22414 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22415 (built-program-cmd): Likewise.
22416
22417 2012-10-22 Andreas Jaeger <aj@suse.de>
22418
22419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22420 __O_RSYNC if it exists, otherwise to O_SYNC.
22421
22422 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22423 Joseph Myers <joseph@codesourcery.com>
22424
22425 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22426 /dev/null.
22427 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22428 from /dev/null
22429 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22430 /dev/null.
22431
22432 2012-10-22 Andreas Jaeger <aj@suse.de>
22433
22434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22435 Define always.
22436 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22437
22438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22439 bits/fcntl-linux.h.
22440
22441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22442 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22443
22444 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22445 to __O_LARGEFILE.
22446 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22447 to __O_LARGEFILE.
22448
22449 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22450 Joseph Myers <joseph@codesourcery.com>
22451
22452 * config.make.in (NM): New variable.
22453
22454 2012-10-21 Andreas Jaeger <aj@suse.de>
22455
22456 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22457 definitions and declarations that are provided by
22458 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22459
22460 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22461
22462 [BZ #14683]
22463 * elf/Makefile (tests-static): Add tst-leaks1-static.
22464 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22465 ($(objpfx)tst-leaks1-static): New rule.
22466 ($(objpfx)tst-leaks1-static-mem): Likewise.
22467 (tst-leaks1-static-ENV): New macro.
22468 * elf/dl-open.c (dl_open_worker): Check the main application
22469 only if SHARED is defined.
22470 * elf/tst-leaks1-static.c: New file.
22471
22472 2012-10-20 Andreas Jaeger <aj@suse.de>
22473
22474 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22475 generic values for Linux.
22476 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22477 and declarations that are provided by <bits/fcntl-linux.h> and
22478 include <bits/fcntl-linux.h>.
22479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22481
22482 2012-10-20 Roland McGrath <roland@hack.frob.com>
22483
22484 * io/fcntl.h: Move include of <bits/types.h> to the top and
22485 include it unconditionally.
22486
22487 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22488
22489 * wcsmbs/Makefile (tests-ifunc): New variable.
22490 (tests): Add $(tests-ifunc).
22491 * wcsmbs/test-wcschr-ifunc.c: New file.
22492 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22493 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22494 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22495 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22496 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22497
22498 * string/Makefile (tests-ifunc): New variable.
22499 (tests): Add $(tests-ifunc).
22500 * string/test-memccpy.c (TEST_NAME): New macro.
22501 * string/test-memchr.c (TEST_NAME): Likewise.
22502 * string/test-memcmp.c (TEST_NAME): Likewise.
22503 * string/test-memcpy.c (TEST_NAME): Likewise.
22504 * string/test-memmem.c (TEST_NAME): Likewise.
22505 * string/test-memmove.c (TEST_NAME): Likewise.
22506 * string/test-memset.c (TEST_NAME): Likewise.
22507 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22508 * string/test-stpcpy.c (TEST_NAME): Likewise.
22509 * string/test-stpncpy.c (TEST_NAME): Likewise.
22510 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22511 * string/test-strcasestr.c (TEST_NAME): Likewise.
22512 * string/test-strcat.c (TEST_NAME): Likewise.
22513 * string/test-strchr.c (TEST_NAME): Likewise.
22514 * string/test-strcmp.c(TEST_NAME): Likewise.
22515 * string/test-strcpy.c (TEST_NAME): Likewise.
22516 * string/test-strcspn.c (TEST_NAME): Likewise.
22517 * string/test-strlen.c (TEST_NAME): Likewise.
22518 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22519 * string/test-strncmp.c (TEST_NAME): Likewise.
22520 * string/test-strncpy.c (TEST_NAME): Likewise.
22521 * string/test-strnlen.c (TEST_NAME): Likewise.
22522 * string/test-strpbrk.c (TEST_NAME): Likewise.
22523 * string/test-strrchr.c (TEST_NAME): Likewise.
22524 * string/test-strspn.c (TEST_NAME): Likewise.
22525 * string/test-strstr.c (TEST_NAME): Likewise.
22526 * string/test-bcopy-ifunc.c: New file.
22527 * string/test-bzero-ifunc.c: Likewise.
22528 * string/test-memccpy-ifunc.c: Likewise.
22529 * string/test-memchr-ifunc.c: Likewise.
22530 * string/test-memcmp-ifunc.c: Likewise.
22531 * string/test-memcpy-ifunc.c: Likewise.
22532 * string/test-memmem-ifunc.c: Likewise.
22533 * string/test-memmove-ifunc.c: Likewise.
22534 * string/test-mempcpy-ifunc.c: Likewise.
22535 * string/test-memset-ifunc.c: Likewise.
22536 * string/test-rawmemchr-ifunc.c: Likewise.
22537 * string/test-stpcpy-ifunc.c: Likewise.
22538 * string/test-stpncpy-ifunc.c: Likewise.
22539 * string/test-strcasecmp-ifunc.c: Likewise.
22540 * string/test-strcasestr-ifunc.c: Likewise.
22541 * string/test-strcat-ifunc.c: Likewise.
22542 * string/test-strchr-ifunc.c: Likewise.
22543 * string/test-strchrnul-ifunc.c: Likewise.
22544 * string/test-strcmp-ifunc.c: Likewise.
22545 * string/test-strcpy-ifunc.c: Likewise.
22546 * string/test-strcspn-ifunc.c: Likewise.
22547 * string/test-strlen-ifunc.c: Likewise.
22548 * string/test-strncasecmp-ifunc.c: Likewise.
22549 * string/test-strncat-ifunc.c: Likewise.
22550 * string/test-strncmp-ifunc.c: Likewise.
22551 * string/test-strncpy-ifunc.c: Likewise.
22552 * string/test-strnlen-ifunc.c: Likewise.
22553 * string/test-strpbrk-ifunc.c: Likewise.
22554 * string/test-strrchr-ifunc.c: Likewise.
22555 * string/test-strspn-ifunc.c: Likewise.
22556 * string/test-strstr-ifunc.c: Likewise.
22557
22558 * debug/Makefile (tests-ifunc): New variable.
22559 (tests): Add $(tests-ifunc).
22560 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22561 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22562 * debug/test-stpcpy_chk-ifunc.c: New file.
22563 * debug/test-strcpy_chk-ifunc.c: Likewise.
22564
22565 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22566
22567 [BZ #13601]
22568 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22569 header is not read in.
22570
22571 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22572
22573 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22574 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22575 directly. Pass built executable to script as
22576 $(built-program-cmd).
22577 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22578 $testprogram without using LD_LIBRARY_PATH and $ldso.
22579
22580 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22581 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22582 $(rtld-installed-name).
22583 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22584 (rtld_installed_name): Likewise.
22585 (library_path): Likewise.
22586 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22587 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22588 $(run-program-prefix) to tst-tables.sh.
22589 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22590 it to run tst-table-from and tst-table-to.
22591 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22592 Pass it to tst-table.sh.
22593 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22594 $(run-program-prefix) to tst-gettext.sh.
22595 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22596 tst-translit.sh.
22597 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22598 tst-gettext2.sh.
22599 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22600 to run tst-gettext.
22601 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22602 to run tst-gettext2.
22603 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22604 to run tst-translit.
22605 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22606 $(run-program-prefix) to tst-mtrace.sh.
22607 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22608 to run tst-mtrace.
22609 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22610 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22611 $(rtld-installed-name).
22612 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22613 (rtld_installed_name): Likewise.
22614 (run_program_prefix): New variable. Use it to run wordexp-test.
22615
22616 * Makeconfig (ARCH): Remove all definitions.
22617 (machine): Likewise.
22618 [ARCH]: Remove conditional code.
22619 [!objdir]: Give error.
22620 [!objdir] (objpfx): Remove.
22621 [!objdir] (common-objpfx): Likewise.
22622 [!objdir] (common-objdir): Likewise.
22623 * configure.in (config_makefile): Remove. Hardcode Makefile in
22624 AC_CONFIG_FILES call.
22625 * configure: Regenerated.
22626
22627 [BZ #13888]
22628 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22629 or TMPDIR.
22630 (testout): Likewise.
22631
22632 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22633 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22634 $(rtld-installed-name).
22635 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22636 (rtld_installed_name): Likwise.
22637 (runit): Remove function.
22638 (run_getconf): New variable, Use it for running getconf binary.
22639
22640 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22641
22642 [BZ #14716]
22643 * string/test-memmem.c (check_result): New function.
22644 (do_one_test): Use it.
22645 (check1): New function.
22646 (test_main): Use it.
22647
22648 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22649
22650 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22651
22652 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22653
22654 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22655 (_G_LSEEK64): Likewise.
22656 (_G_MMAP64): Likewise.
22657 (_G_FSTAT64): Likewise.
22658 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22659 (_G_LSEEK64): Likewise.
22660 (_G_MMAP64): Likewise.
22661 (_G_FSTAT64): Likewise.
22662 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22663 unconditional. Call __mmap64 directly.
22664 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22665 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22666 __lseek64 directly.
22667 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22668 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22669 __mmap64 directly.
22670 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22671 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22672 __lseek64 directly.
22673 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22674 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22675 __lseek64 directly.
22676 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22677 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22678 __lseek64 directly.
22679 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22680 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22681 __fxstat64 directly.
22682 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22683 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22684 unconditional.
22685 (freopen64) [!_G_OPEN64]: Remove conditional code.
22686 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22687 unconditional.
22688 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22689 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22690 unconditional.
22691 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22692 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22693 unconditional.
22694 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22695 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22696 unconditional.
22697 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22698 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22699 unconditional.
22700 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22701 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22702 unconditional.
22703 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22704 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22705 unconditional.
22706 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22707
22708 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22709
22710 [BZ #12140]
22711 * manual/memory.texi (Malloc Tunable Parameters): Add note
22712 about free list pointers overwriting some perturb bytes.
22713 Wording suggested by Roland McGrath.
22714
22715 2012-10-17 Joseph Myers <joseph@codesourcery.com>
22716
22717 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22718 (lgamma_test): Likewise.
22719 (tgamma_test): Likewise.
22720
22721 2012-10-16 Florian Weimer <fweimer@redhat.com>
22722
22723 [BZ #14700]
22724 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22725 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22726
22727 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22728
22729 * NEWS: Mention BZ #14716.
22730 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22731 when removing AVAILABLE1_USES_J macro.
22732
22733 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22734
22735 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22736 (__bswap_64): __uint64_t for unsigned 64-bit int.
22737
22738 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22739
22740 * include/string.h (memmem): Declare libc hidden alias.
22741 * string/memmem.c (memmem): Define libc hidden alias.
22742 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22743 __read, __close instead of open, read, close.
22744
22745 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22746
22747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22748 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22749 global and hidden.
22750 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22751 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22752 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22753 Likewise.
22754 (__rawmemchr_sse2): Likewise.
22755 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22756 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22757 (__strchr_sse2): Likewise.
22758 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22759 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22760 (__strcasecmp_sse2): Likewise.
22761 (__strncasecmp_sse2): Likewise.
22762 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22763 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22764 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22765 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22766 (__strrchr_sse2): Likewise.
22767 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22768 ifunc-impl-list.c.
22769 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22770 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22771 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22772 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22773 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22774 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22775 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22776 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22777 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22778 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22779 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22780 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22781 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22782 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22783 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22784 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22785 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22786 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22787 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22788 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22789 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22790 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22791 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22792 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22793 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22794 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22795 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22796 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22797 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22798 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22799
22800 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22801 global and hidden.
22802 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22803 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22804 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22805 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22806 Likewise.
22807 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22808 Likewise.
22809 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22810 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22811 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22812 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22813 ifunc-impl-list.c.
22814 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22815 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22816 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22817 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22818 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22819 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22820 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22821 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22822 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22823 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22824 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22825 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22826 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22827 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22828 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22829 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22830 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22831 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22832 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22833 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22834 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22835 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22836 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22837 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22838 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22839 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22840 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22841 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22842 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22843 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22844 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22845 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22846 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22847 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22848 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22849 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22850 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22851 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22852 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22853 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22854 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22855
22856 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22857 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22858 * include/ifunc-impl-list.h: New file.
22859 * misc/ifunc-impl-list.c: Likewise.
22860 * misc/Makefile (routines): Add ifunc-impl-list.
22861 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22862 * string/test-string.h: Include <ifunc-impl-list.h>.
22863 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22864 impl_array): New variables.
22865 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22866 are defined.
22867 (test_init): Call __libc_ifunc_impl_list to initialize
22868 func_list if TEST_IFUNC and TEST_NAME are defined.
22869
22870 * string/Makefile (strop-tests): Add bcopy and bzero.
22871 * string/test-bcopy.c: New file.
22872 * string/test-bzero.c: Likewise.
22873 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22874 defined.
22875 * string/test-memset.c: Support bzero test if TEST_BZERO is
22876 defined.
22877 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22878 __libc_memmove.
22879 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22880 __libc_memset.
22881 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22882 of memset.
22883
22884 2012-10-10 Joseph Myers <joseph@codesourcery.com>
22885
22886 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22887 * configure: Regenerated.
22888
22889 * Makeconfig (+link-static-before-libc): Don't include
22890 $(link-static-libc).
22891
22892 * libio/libio.h (_IO_pos_t): Remove.
22893
22894 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22895
22896 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22897 McGrath.
22898
22899 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22900
22901 * crypt/crypt-entry.c: Include fips-private.h.
22902 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22903 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22904 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22905 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22906
22907 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22908
22909 * crypt/crypt-private.h: Include stdbool.h.
22910 (_ufc_setup_salt_r): Return bool.
22911 * crypt/crypt-entry.c: Include errno.h.
22912 (__crypt_r): Return NULL with EINVAL for bad salt.
22913 * crypt/crypt_util.c (bad_for_salt): New.
22914 (_ufc_setup_salt_r): Check that salt is long enough and within
22915 the specified alphabet.
22916 * crypt/badsalttest.c: New file.
22917 * crypt/Makefile (tests): Add it.
22918 ($(objpfx)badsalttest): New.
22919
22920 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22921
22922 * NEWS: Add entry for BZ #14602.
22923
22924 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22925
22926 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22927 type-generic.
22928 * math/libm-test.inc: Update comment listing what functions and
22929 macros are tested.
22930 (isgreater_test): New function.
22931 (isgreaterequal_test): Likewise.
22932 (isless_test): Likewise.
22933 (islessequal_test): Likewise.
22934 (islessgreater_test): Likewise.
22935 (isunordered_test): Likewise.
22936 (main): Call the new functions.
22937
22938 2012-10-09 Roland McGrath <roland@hack.frob.com>
22939
22940 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22941 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22942 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22943 * sysdeps/i386/configure: Regenerated.
22944 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22945 * sysdeps/mach/configure: Regenerated.
22946 * sysdeps/mach/hurd/configure: Regenerated.
22947 * sysdeps/powerpc/configure: Regenerated.
22948 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22949 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22950 * sysdeps/s390/s390-32/configure: Regenerated.
22951 * sysdeps/s390/s390-64/configure: Regenerated.
22952 * sysdeps/sh/configure: Regenerated.
22953 * sysdeps/sparc/configure: Regenerated.
22954 * sysdeps/unix/sysv/linux/configure: Regenerated.
22955 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22956 * sysdeps/x86_64/configure: Regenerated.
22957
22958 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22959 defined. Don't check if MAP is NULL.
22960
22961 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22962
22963 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22964 (_G_stat64): Likewise.
22965 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22966 (_G_stat64): Likewise.
22967 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22968 instead of struct _G_stat64.
22969 * libio/fileops.c (mmap_remap_check): Likewise.
22970 (decide_maybe_mmap): Likewise.
22971 (_IO_new_file_seekoff): Likewise.
22972 (_IO_file_stat): Likewise.
22973 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22974 _G_off64_t.
22975 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22976 instead of struct _G_stat64.
22977 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22978
22979 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22980
22981 [BZ #14602]
22982 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22983 Replace with ...
22984 (CHECK_EOL): New macro.
22985 (two_way_short_needle): Check beginning of haystack for EOL. Use
22986 CHECK_EOL.
22987 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22988 Replace with CHECK_EOL.
22989 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22990 Replace with CHECK_EOL.
22991
22992 2012-10-08 Joseph Myers <joseph@codesourcery.com>
22993
22994 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22995 type-generic.
22996 * math/libm-test.inc: Update comment listing what functions and
22997 macros are tested.
22998 (finite_test): New function.
22999 (isinf_test): Likewise.
23000 (isnan_test): Likewise.
23001 (fpclassify_test): Test subnormal input.
23002 (isfinite_test): Likewise.
23003 (isnormal_test): Likewise.
23004 (main): Call the new functions.
23005
23006 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23007
23008 [BZ #14660]
23009 * Makerules (%.dynsym): Force C locale when running
23010 $(OBJDUMP) --dynamic-syms.
23011
23012 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23013
23014 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23015 <stdint.h>.
23016
23017 2012-10-06 David S. Miller <davem@davemloft.net>
23018
23019 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23020 upper 32-bits of the length value in %o2 since we use branch-on-register
23021 tests which consider the entire 64-bit register.
23022
23023 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23024
23025 * string/test-strstr.c (check2): Add a test for page boundary.
23026
23027 2012-10-05 David S. Miller <davem@davemloft.net>
23028
23029 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23030 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23031 file.
23032 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23033 sysdep_routines.
23034 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23035 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23036 and bzero when HWCAP_SPARC_CRYPTO is present.
23037
23038 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23039
23040 [BZ #14602]
23041 * string/test-strstr.c (check2): New function.
23042 (test_main): Call check2.
23043
23044 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23045 and bug-strchr1.
23046 * string/bug-strcasestr1.c (do_test): Moved to ...
23047 * string/test-strcasestr.c (check1): Here. New function.
23048 (do_one_test): Break out result checking code into ...
23049 (check_result): This. New function.
23050 (do_one_test): Call check_result.
23051 (test_main): Call check1.
23052 * string/bug-strchr1.c (do_test): Moved to ...
23053 * string/test-strchr.c (check1): Here. New function.
23054 (do_one_test): Break out result checking code into ...
23055 (check_result): This. New function.
23056 (do_one_test): Call check_result.
23057 (test_main): Call check1.
23058 * string/bug-strstr1.c (main): Moved to ...
23059 * string/test-strstr.c (check1): Here. New function.
23060 (do_one_test): Break out result checking code into ...
23061 (check_result): This. New function.
23062 (do_one_test): Call check_result.
23063 (test_main): Call check1.
23064 * string/bug-strcasestr1.c: Removed.
23065 * string/bug-strchr1.c: Likewise.
23066 * string/bug-strstr1.c: Likewise.
23067
23068 * elf/Makefile (dl-routines): Add hwcaps.
23069 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23070 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23071 (_dl_important_hwcaps): Moved to ...
23072 * elf/dl-hwcaps.c: Here. New file.
23073 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23074
23075 [BZ #14557]
23076 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23077 if IS_IN_rtld isn't defined.
23078
23079 * elf/dl-support.c (_dl_sysinfo_map): New.
23080 Include "get-dynamic-info.h" and "setup-vdso.h".
23081 (_dl_non_dynamic_init): Call setup_vdso.
23082 * elf/dynamic-link.h: Don't include <assert.h>.
23083 (elf_get_dynamic_info): Moved to ...
23084 * elf/get-dynamic-info.h: Here. New file.
23085 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23086 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23087 * elf/setup-vdso.h: Here. New file.
23088 * elf/rtld.c: Include "setup-vdso.h".
23089 (dl_main): Call setup_vdso.
23090
23091 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23092
23093 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23094 creal in comment listing functions tested. List finite, isinf,
23095 isnan, isless, islessequal, isgreater, isgreaterequal,
23096 islessgreater, isunordered, lgamma_r and pow10 as functions and
23097 macros not tested. Mention which functions not tested are aliases
23098 for other functions. Fix typo. Note that signs of NaNs are not
23099 tested.
23100
23101 * scripts/config.guess: Update from config.git.
23102 * scripts/config.sub: Likewise.
23103
23104 2012-10-04 Roland McGrath <roland@hack.frob.com>
23105
23106 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23107 * misc/madvise.c (madvise): Renamed to __madvise.
23108 Make madvise a weak alias.
23109 * include/sys/mman.h: Declare __madvise.
23110 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23111 * sysdeps/unix/syscalls.list
23112 (madvise): Make __madvise the strong name, and madvise a weak alias.
23113 * sysdeps/unix/sysv/linux/syscalls.list
23114 (madvise, mmap): Remove redundant entries.
23115 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23116 * malloc/malloc.c (mtrim): Likewise.
23117 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23118
23119 2012-10-03 Roland McGrath <roland@hack.frob.com>
23120
23121 * sysdeps/mach/hurd/dl-cache.c: File removed.
23122 * config.h.in (USE_LDCONFIG): New #undef.
23123 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23124 * configure: Regenerated.
23125 * elf/Makefile (dl-routines): Add dl-cache only under
23126 [$(use-ldconfig) = yes].
23127 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23128 cache on [USE_LDCONFIG].
23129 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23130 [USE_LDCONFIG].
23131 * elf/rtld.c (dl_main): Likewise.
23132
23133 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23134
23135 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23136 _SC_LEVEL4_CACHE_LINESIZE.
23137
23138 2012-10-03 Roland McGrath <roland@hack.frob.com>
23139
23140 * sysdeps/unix/bsd/confstr.h: File removed.
23141
23142 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23143
23144 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23145 sys/sdt-config.h.
23146
23147 2012-10-02 Roland McGrath <roland@hack.frob.com>
23148
23149 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23150 Make 'mapoff' field ElfW(Off) rather than off_t.
23151
23152 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23153
23154 * nscd/Makefile: Remove nscd-cflags and all its users.
23155 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23156 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23157
23158 [BZ #10631]
23159 * malloc.c (malloc_printerr): Clarify error message.
23160
23161 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23162
23163 [BZ #14648]
23164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23165 Set bit_FMA_Usable if FMA is supported.
23166 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23167 macro.
23168 (bit_FMA4_Usable): Updated.
23169 (index_FMA_Usable): New macro.
23170 (CPUID_FMA): Likewise
23171 (HAS_FMA): Defined with bit_FMA_Usable.
23172
23173 2012-10-01 Roland McGrath <roland@hack.frob.com>
23174
23175 * bits/types.h (__swblk_t): Type removed.
23176 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23177 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23179 (__SWBLK_T_TYPE): Likewise.
23180 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23181 (__SWBLK_T_TYPE): Likewise.
23182 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23183 (__SWBLK_T_TYPE): Likewise.
23184 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23185 (__SWBLK_T_TYPE): Likewise.
23186
23187 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23188 Honza Horak <hhorak@redhat.com>
23189
23190 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23191 (xdr_mapname): Use YPMAXMAP as maxsize.
23192 (xdr_peername): Use YPMAXPEER as maxsize.
23193 (xdr_keydat): Use YPAXRECORD as maxsize.
23194 (xdr_valdat): Use YPMAXRECORD as maxsize.
23195
23196 2012-10-01 Roland McGrath <roland@hack.frob.com>
23197
23198 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23199
23200 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23201 * csu/init-first.c: ... here.
23202 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23203 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23204 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23205 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23206 * sysdeps/i386/init-first.c: File removed.
23207 * sysdeps/sh/init-first.c: File removed.
23208
23209 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23210
23211 [BZ #14645]
23212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23213 if x * y might underflow to zero and z is zero.
23214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23216 * math/libm-test.inc (min_subnorm_value): New variable.
23217 (fma_test): Add more tests.
23218 (fma_test_towardzero): Likewise.
23219 (fma_test_downward): Likewise
23220 (fma_test_upward): Likewise.
23221 (initialize): Set min_subnorm_value.
23222
23223 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23224
23225 [BZ #14638]
23226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23227 0 + 0.
23228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23229 mode for addition resulting in exact zero.
23230 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23232 exact 0 + 0.
23233 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23234 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23235 * math/libm-test.inc (fma_test): Add more tests.
23236 (fma_test_towardzero): New function.
23237 (fma_test_downward): Likewise.
23238 (fma_test_upward): Likewise.
23239 (main): Call the new functions.
23240
23241 2012-09-28 David S. Miller <davem@davemloft.net>
23242
23243 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23244
23245 2012-09-28 Roland McGrath <roland@hack.frob.com>
23246
23247 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23248 instead of SIGALRM.
23249
23250 * sysdeps/gnu/_G_config.h: Moved to ...
23251 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23252 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23253 * sysdeps/generic/_G_config.h: ... here.
23254
23255 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23256
23257 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23258
23259 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23260 Conditionalize target on [libnss_test1.so-version].
23261
23262 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23263
23264 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23265 (elfobjdir): Move out of conditionals.
23266
23267 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23268 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23269 (__nss_lookup_function): Conditionalize label remove_from_tree on
23270 [!DO_STATIC_NSS || SHARED], matching its only use.
23271
23272 2012-09-28 David S. Miller <davem@davemloft.net>
23273
23274 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23275 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23276 file.
23277 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23278 sysdep_routines.
23279 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23281 when HWCAP_SPARC_CRYPTO is present.
23282
23283 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23284
23285 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23286
23287 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23288
23289 [BZ #6530]
23290 * stdio-common/vfprintf.c (process_string_arg): Revert
23291 2000-07-22 change.
23292
23293 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23294
23295 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23296 for testcase.
23297 * stdio-common/tst-sprintf.c: Include <locale.h>
23298 (main): Test sprintf's handling of incomplete multibyte
23299 characters.
23300
23301 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23302
23303 * elf/dl-runtime.c (VERSYMIDX): Removed.
23304 * elf/dl-version.c (VERSYMIDX): Likewise.
23305 * elf/do-rel.h (VERSYMIDX): Likewise.
23306 (VALIDX): Likewise.
23307 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23308 * elf/rtld.c (VALIDX): Likewise.
23309 (ADDRIDX): Likewise.
23310 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23311 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23312 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23313 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23314 (VALIDX): Likewise.
23315 (ADDRIDX): Likewise.
23316
23317 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23318
23319 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23320
23321 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23322
23323 [BZ #11438]
23324 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23325 to global scope.
23326 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23327 addresses are in the same scope as 192.0.2/24.
23328 * posix/gai.conf: Document new scope table defaults.
23329
23330 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23331
23332 [BZ #5298]
23333 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23334 for ftell. Compute offsets from write pointers instead.
23335 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23336
23337 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23338
23339 [BZ #14543]
23340 * libio/Makefile (tests): New test case tst-fseek.
23341 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23342 combination works in wide mode.
23343 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23344 state when the external buffer state changes.
23345
23346 2012-09-27 David S. Miller <davem@davemloft.net>
23347
23348 [BZ #14376]
23349 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23350 pass reloc->r_addend in as the 'high' argument to
23351 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23352
23353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23354
23355 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23356
23357 * rt/tst-aio2.c: Include <pthread.h>.
23358 * rt/tst-aio3.c: Likewise.
23359
23360 2012-09-27 Steve Ellcey <sellcey@mips.com>
23361
23362 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23363
23364 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23365
23366 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23367 contents on [SHARED].
23368
23369 2012-09-26 Marek Polacek <polacek@redhat.com>
23370
23371 [BZ #14530]
23372 [BZ #13741]
23373 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23374 for C++ and GCC <4.3 as well as for non GCC compilers.
23375
23376 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23377
23378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23379
23380 2012-09-25 Roland McGrath <roland@hack.frob.com>
23381
23382 * Makefile.in (all, install): Declare with .PHONY.
23383 Reported by Michael Hope <michael.hope@linaro.org>.
23384
23385 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23386
23387 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23388 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23389 system header.
23390 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23391 Likewise.
23392 (sydep_routines): Add the new and the internal functions.
23393 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23394 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23396 (GLIBC_2.17): Add the new function.
23397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23398 (GLIBC_2.17): Likewise.
23399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23400 (GLIBC_2.17): Likewise.
23401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23402 (GLIBC_2.17): Likewise.
23403 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23404
23405 2012-09-25 Alan Modra <amodra@gmail.com>
23406
23407 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23408 Add release barrier before setting once_control to say
23409 initialisation is done. Add hints on lwarx. Use macro in
23410 place of isync.
23411 (clear_once_control): Add release barrier.
23412
23413 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23414
23415 [BZ #13629]
23416 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23417 specially.
23418 * math/s_clog10.c (__clog10): Likewise.
23419 * math/s_clog10f.c (__clog10f): Likewise.
23420 * math/s_clog10l.c (__clog10l): Likewise.
23421 * math/s_clogf.c (__clogf): Likewise.
23422 * math/s_clogl.c (__clogl): Likewise.
23423 * math/Makefile (libm-calls): Add x2y2m1.
23424 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23425 (__x2y2m1): Likewise.
23426 (__x2y2m1l): Likewise.
23427 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23428 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23429 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23430 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23431 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23432 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23433 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23434 * sysdeps/i386/fpu/libm-test-ulps: Update.
23435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23436
23437 [BZ #14621]
23438 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23439 int as type of variable DEPTH.
23440 (glob): Use size_t instead of int as type of variables NEWCOUNT
23441 and OLD_PATHC.
23442
23443 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23444
23445 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23446 Add s_sincosf-sse2.
23447 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23448 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23449 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23450 macros for using routine as __sincosf_ia32.
23451 Use macro for function declaration and weak_alias.
23452 * sysdeps/i386/fpu/libm-test-ulps: Update.
23453
23454 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23456
23457 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23458 subnormal argument.
23459 * math/s_cexpf.c (__cexpf): Likewise.
23460 * math/s_csinf.c (__csinf): Likewise.
23461 * math/s_csinhf.c (__csinhf): Likewise.
23462 * math/s_ctanf.c (__ctanf): Likewise.
23463 * math/s_ctanhf.c (__ctanhf): Likewise.
23464 * math/s_ccosh.c (__ccoshf): Likewise.
23465 * math/s_cexp.c (__cexpl): Likewise.
23466 * math/s_csin.c (__csin): Likewise.
23467 * math/s_csinh.c (__csinh): Likewise.
23468 * math/s_ctan.c (__ctan): Likewise.
23469 * math/s_ctanh.c (ctanh): Likewise.
23470 * math/s_ccoshl.c (__ccoshl): Likewise.
23471 * math/s_cexpl.c (__cexpl): Likewise.
23472 * math/s_csinl.c (__csinl): Likewise.
23473 * math/s_csinhl.c (__csinhl): Likewise.
23474 * math/s_ctanl.c (__ctanl): Likewise.
23475 * math/s_ctanhl.c (__ctanhl): Likewise.
23476
23477 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23478
23479 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23480 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23481 (_IO_off_t): Define to __off_t, not _G_off_t.
23482 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23483 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23484 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23485 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23486 type of __dummy and __dummy2 fields.
23487 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23488 (_G_ssize_t): Likewise.
23489 (_G_off_t): Likewise.
23490 (_G_pid_t): Likewise.
23491 (_G_uid_t): Likewise.
23492 (_G_wchar_t): Likewise.
23493 (_G_wint_t): Likewise.
23494 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23495 (_G_ssize_t): Likewise.
23496 (_G_off_t): Likewise.
23497 (_G_pid_t): Likewise.
23498 (_G_uid_t): Likewise.
23499 (_G_wchar_t): Likewise.
23500 (_G_wint_t): Likewise.
23501 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23502 (_G_ssize_t): Likewise.
23503 (_G_off_t): Likewise.
23504 (_G_pid_t): Likewise.
23505 (_G_uid_t): Likewise.
23506 (_G_wchar_t): Likewise.
23507 (_G_wint_t): Likewise.
23508
23509 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23510
23511 * malloc/arena.c: Include malloc-sysdep.h.
23512 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23513 is sufficient to shrink the heap or an unmap is needed.
23514 * sysdeps/generic/malloc-sysdep.h: New file. Define
23515 new function check_may_shrink_heap.
23516 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23517 new function check_may_shrink_heap.
23518
23519 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23520
23521 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23522 comments.
23523
23524 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23525
23526 * catgets/test-gencat.sh: Add "set -e".
23527 * elf/tst-pathopt.sh: Likewise.
23528 * grp/tst_fgetgrent.sh: Likewise.
23529 * iconvdata/run-iconv-test.sh: Likewise.
23530 * intl/tst-gettext.sh: Likewise.
23531 * intl/tst-gettext2.sh: Likewise.
23532 * intl/tst-gettext4.sh: Likewise.
23533 * intl/tst-gettext6.sh: Likewise.
23534 * intl/tst-translit.sh: Likewise.
23535 * io/ftwtest-sh: Likewise.
23536 * libio/test-freopen.sh: Likewise.
23537 * malloc/tst-mtrace.sh: Likewise.
23538 * posix/globtest.sh: Likewise.
23539 * posix/tst-getconf.sh: Likewise.
23540 * posix/wordexp-tst.sh: Likewise.
23541 * stdio-common/tst-printf.sh: Likewise.
23542 * stdio-common/tst-unbputc.sh: Likewise.
23543 * stdlib/tst-fmtmsg.sh: Likewise.
23544 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23545 * catgets/Makefile: Do not specify -e option when running
23546 testsuite shell scripts.
23547 * elf/Makefile: Likewise.
23548 * grp/Makefile: Likewise.
23549 * iconvdata/Makefile: Likewise.
23550 * intl/Makefile: Likewise.
23551 * io/Makefile: Likewise.
23552 * libio/Makefile: Likewise.
23553 * malloc/Makefile: Likewise.
23554 * posix/Makefile: Likewise.
23555 * stdio-common/Makefile: Likewise.
23556 * stdlib/Makefile: Likewise.
23557 * sysdeps/x86_64/Makefile: Likewise.
23558
23559 * io/ftwtest-sh: Add copyright header.
23560 * posix/globtest.sh: Likewise.
23561 * posix/tst-getconf.sh: Likewise.
23562 * posix/wordexp-tst.sh: Likewise.
23563 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23564
23565 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23566
23567 [BZ #13679]
23568 * Makeconfig (+link): Defined as $(+link-static) if
23569 $(build-shared) isn't yes.
23570 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23571 isn't yes.
23572 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23573
23574 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23575
23576 [BZ #14562]
23577 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23578 new chunk size with MALLOC_ALIGN_MASK.
23579
23580 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23581
23582 [BZ #5044]
23583 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23584 <rounding-mode.h>.
23585 (__printf_fphex): Determine rounding using get_rounding_mode and
23586 round_away.
23587 * stdio-common/tst-printf-round.c (struct hex_test): New
23588 structure.
23589 (hex_tests): New variable.
23590 (test_hex_in_one_mode): New function.
23591 (do_test): Also run tests for hex float output.
23592
23593 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23594
23595 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23596 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23597 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23598 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23599 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23600 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23601 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23602 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23603
23604 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23605
23606 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23607 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23608 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23609 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23610
23611 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23612
23613 [BZ #14579]
23614 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23615 mode only.
23616 * elf/tst-rtld-load-self.sh: New test.
23617 * elf/Makefile: Run it.
23618
23619 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23620
23621 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23622 (tst-writev-ENV): Remove.
23623 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23624
23625 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23626
23627 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23628
23629 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23630
23631 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23632 unconditional.
23633 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23634 Likewise.
23635 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23636 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23637 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23638 Likewise.
23639
23640 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23641
23642 [BZ #14587]
23643 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23644 * config.make.in (have-cpp-asm-debuginfo): Removed.
23645 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23646 * configure: Regenerated.
23647
23648 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23649
23650 [BZ #5044]
23651 * stdio-common/printf_fp.c: Include <stdbool.h> and
23652 <rounding-mode.h>.
23653 (___printf_fp): Determine rounding using get_rounding_mode and
23654 round_away.
23655 * stdio-common/tst-printf-round.c: New file.
23656 * stdio-common/Makefile (tests): Add tst-printf-round.
23657 (link-libm): New variable.
23658 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23659
23660 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23661
23662 [BZ #14576]
23663 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23664 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23665 Likewise.
23666 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23667 Likewise.
23668
23669 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23670
23671 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23672 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23673 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23674 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23675
23676 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23677
23678 [BZ #14518]
23679 * include/rounding-mode.h: New file.
23680 * sysdeps/generic/get-rounding-mode.h: Likewise.
23681 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23682 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23683 (MAX_VALUE): New macro.
23684 (MIN_VALUE): Likewise.
23685 (overflow_value): New function.
23686 (underflow_value): Likewise.
23687 (round_and_return): Use overflow_value and underflow_value to
23688 determine return values in overflow and underflow cases. Use
23689 round_away to determine rounding depending on rounding mode.
23690 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23691 determine return values in overflow and underflow cases.
23692 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23693 (struct test_results): New structure.
23694 (struct test): Use struct test_results to store expected results
23695 for all rounding modes.
23696 (TEST): Include expected results for all rounding modes.
23697 (test_in_one_mode): New function.
23698 (do_test): Use test_in_one_mode to compute and check results.
23699 Check results for all rounding modes.
23700 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23701 $(link-libm).
23702
23703 2012-12-09 Allan McRae <allan@archlinux.org>
23704
23705 * sysdeps/i386/fpu/libm-test-ulps: Update
23706
23707 2012-09-11 Joseph Myers <joseph@codesourcery.com>
23708
23709 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23710 (_G_int32_t): Likewise.
23711 (_G_uint16_t): Likewise.
23712 (_G_uint32_t): Likewise.
23713 (_G_HAVE_BOOL): Likewise.
23714 (_G_HAVE_ATEXIT): Likewise.
23715 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23716 (_G_HAVE_IO_FILE_OPEN): Likewise.
23717 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23718 (_G_int32_t): Likewise.
23719 (_G_uint16_t): Likewise.
23720 (_G_uint32_t): Likewise.
23721 (_G_HAVE_BOOL): Likewise.
23722 (_G_HAVE_ATEXIT): Likewise.
23723 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23724 (_G_HAVE_IO_FILE_OPEN): Likewise.
23725 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23726 (_G_int32_t): Likewise.
23727 (_G_uint16_t): Likewise.
23728 (_G_uint32_t): Likewise.
23729 (_G_HAVE_BOOL): Likewise.
23730 (_G_HAVE_ATEXIT): Likewise.
23731 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23732 (_G_HAVE_IO_FILE_OPEN): Likewise.
23733
23734 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23735
23736 * csu/libc-tls.c: Update copyright years.
23737
23738 2012-09-10 Joseph Myers <joseph@codesourcery.com>
23739
23740 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23741 [!_G_USING_THUNKS]: Remove conditional code.
23742 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23743 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23744
23745 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23746 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23747 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23748 (_G_VTABLE_LABEL_PREFIX): Likewise.
23749 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23750 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23751 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23752 (_G_VTABLE_LABEL_PREFIX): Likewise.
23753 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23754 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23755 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23756 (_G_VTABLE_LABEL_PREFIX): Likewise.
23757 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23758
23759 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23760
23761 * libio/Makefile: Include ../Makeconfig before tests.
23762 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23763 only if $(build-shared) is yes.
23764
23765 * iconv/gconv_db.c: Update copyright years.
23766
23767 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23768
23769 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23770 unwind info if defined PIC. Fix special cases description.
23771 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23772
23773 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23774 DP_HI_MASK entry.
23775 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23776
23777 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23778
23779 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23780
23781 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23782 is NULL.
23783
23784 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23785 (LDLIBS-tst-chk4): This.
23786 (LDFLAGS-tst-chk5): Renamed to ...
23787 (LDLIBS-tst-chk5): This.
23788 (LDFLAGS-tst-chk6): Renamed to ...
23789 (LDLIBS-tst-chk6): This.
23790 (LDFLAGS-tst-lfschk4): Renamed to ...
23791 (LDLIBS-tst-lfschk4): This.
23792 (LDFLAGS-tst-lfschk5): Renamed to ...
23793 (LDLIBS-tst-lfschk5): This.
23794 (LDFLAGS-tst-lfschk6): Renamed to ...
23795 (LDLIBS-tst-lfschk6): This.
23796
23797 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23798 on $(common-objpfx)soversions.mk.
23799
23800 2012-09-07 Joseph Myers <joseph@codesourcery.com>
23801
23802 [BZ #10014]
23803 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23804 example host name.
23805
23806 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23807
23808 * malloc/arena.c (arena_get_retry): New function that gets
23809 another arena for the caller to try its request on.
23810 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23811 current arena cannot fulfill the request.
23812 (__libc_memalign): Likewise.
23813 (__libc_memalign): Likewise.
23814 (__libc_pvalloc): Likewise.
23815 (__libc_calloc): Likewise.
23816
23817 2012-09-05 John Tobey <john.tobey@gmail.com>
23818
23819 [BZ #13542]
23820 * manual/arith.texi (Operations on Complex): Fix description
23821 of carg branch cut.
23822
23823 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23824
23825 [BZ #10014]
23826 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23827 host name.
23828
23829 [BZ #10038]
23830 * manual/memory.texi (Memory): Make order of menu items match
23831 order of sections.
23832
23833 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23834
23835 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23836 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23837 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23838
23839 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23840
23841 * csu/libc-tls.c (static_dtv): Renamed to ...
23842 (_dl_static_dtv): This. Make it global.
23843 (_dl_initial_dtv): Removed.
23844 (__libc_setup_tls): Updated.
23845 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23846 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23847 DL_INITIAL_DTV.
23848
23849 2012-09-06 Petr Machata <pmachata@redhat.com>
23850
23851 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23852 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23853 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23854 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23855
23856 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23857
23858 [BZ #14545]
23859 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23860 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23861 freeing dtv[-1].
23862
23863 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23864
23865 [BZ #14544]
23866 * Makeconfig (link-static-before-libc): Replace $(+prector)
23867 with $(+prectorT).
23868 (link-static-after-libc): Replace $(+postctor) with
23869 $(+postctorT).
23870 (link-bounded): Replace $(+prector)/$(+postctor) with
23871 $(+prectorT)/$(+postctorT).
23872 (+prectorT): New macro.
23873 (+postctorT): Likewise.
23874
23875 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23876
23877 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23878 (round_str): Handle values above the maximum for IBM long double
23879 as inexact.
23880 * stdlib/tst-strtod-round.c (tests): Regenerated.
23881
23882 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23883
23884 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23885 assembler flag.
23886 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23887 zarch_nohighgprs around the zarch optimized routines.
23888 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23889 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23890 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23891 for zarch.
23892
23893 2012-09-05 David S. Miller <davem@davemloft.net>
23894
23895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23896
23897 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23898 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23899 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23900 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23901 entries.
23902
23903 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23904
23905 * malloc/arena.c: Fold copyright years.
23906 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23907
23908 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23909
23910 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23911
23912 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23913
23914 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23915
23916 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23917
23918 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23919 change internal state upon failure.
23920
23921 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23922
23923 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23924 * malloc/memusage.c (mmap): Likewise.
23925 (mmap64, mremap): Likewise. Adjust name in comment.
23926
23927 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23928
23929 * libio/fileops.c: Fix typos in comments.
23930 * libio/oldfileops.c: Likewise.
23931 * libio/wfileops.c: Likewise.
23932
23933 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23934
23935 [BZ #1349]
23936 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23937 (tst-malloc-usable-ENV): Set environment for test case.
23938 * malloc/hooks.c (malloc_check_get_size): New function to get
23939 requested size.
23940 * malloc/malloc.c (musable): Use malloc_check_get_size.
23941 * malloc/tst-malloc-usable.c: New test case.
23942
23943 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23944
23945 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23946
23947 2012-09-05 Allan McRae <allan@archlinux.org>
23948
23949 [BZ #13966]
23950 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23951 determine header location.
23952 * configure: Regenerated.
23953
23954 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23955
23956 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23957 float format.
23958 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23959 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23960 format.
23961 (test): Regenerate.
23962
23963 2012-09-04 David S. Miller <davem@davemloft.net>
23964
23965 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23966 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23967 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23968
23969 2012-09-04 Florian Weimer <fweimer@redhat.com>
23970
23971 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23972 failures.
23973
23974 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23975
23976 2012-09-04 Joseph Myers <joseph@codesourcery.com>
23977
23978 [BZ #9914]
23979 * libio/iogetdelim.c: Include <limits.h>.
23980 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23981 + len + 1 would overflow.
23982
23983 2012-09-03 Andreas Jaeger <aj@suse.de>
23984
23985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23986 * sysdeps/i386/fpu/libm-test-ulps: Update.
23987
23988 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23989
23990 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23991 Add s_sinf-sse2, s_conf-sse2.
23992
23993 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23994 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23995 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23996 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23997
23998 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23999 for using routine as __sinf_ia32.
24000 Use macro for function declaration and weak_alias.
24001 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24002 for using routine as __cosf_ia32.
24003 Use macro for function declaration and weak_alias.
24004
24005 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24006 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24007
24008 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24009 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24011
24012 * math/libm-test.inc (cos_test): Add more test cases.
24013 (sin_test): Likewise.
24014 (sincos_test): Likewise.
24015
24016 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24017
24018 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24019 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24020 hidden.
24021 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24022
24023 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24024
24025 [BZ #14538]
24026 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24027 first element of the GOT.
24028 (elf_machine_load_address): Return the difference between
24029 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24030
24031 2012-09-01 Allan McRae <allan@archlinux.org>
24032
24033 [BZ #13412]
24034 * configure.in (AWK): Require gawk version 3.0 or later.
24035 * configure: Regenerated.
24036
24037 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24038
24039 * sysdeps/unix/sysv/linux/kernel-features.h
24040 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24041 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24042 [__NR_clock_getres]: Make code unconditional.
24043 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24044 (clock_getcpuclockid): Remove code left unreachable by removal of
24045 conditionals.
24046 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24047 code unconditional.
24048 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24049 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24050 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24051 Make code unconditional.
24052 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24053 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24054 * sysdeps/unix/sysv/linux/clock_settime.c
24055 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24056 conditional code.
24057 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24058 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24059
24060 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24061
24062 [BZ #14476]
24063 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24064 scripts/test-installation.pl.
24065
24066 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24067 and $ld_so_version if it is set.
24068
24069 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24070
24071 [BZ #14516]
24072 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24073 failure if reading from procfs failed.
24074 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24075
24076 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24077
24078 * sysdeps/unix/sysv/linux/kernel-features.h
24079 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24080 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24081 Remove conditional code.
24082 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24083 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24084 Remove conditional code.
24085 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24086 * sysdeps/unix/sysv/linux/i386/fxstat.c
24087 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24088 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24089 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24090 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24092 * sysdeps/unix/sysv/linux/i386/lxstat.c
24093 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24094 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24095 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24096 Remove conditional code.
24097 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24098 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24099 Remove conditional code.
24100 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24101 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24102 <kernel-features.h>.
24103 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24104 Remove.
24105 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24106 Remove conditional code.
24107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24108 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24109 Remove conditional.
24110
24111 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24112
24113 [BZ #5400]
24114 * NEWS: Add fixed bug number.
24115
24116 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24117
24118 [BZ #14519]
24119 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24120 underflowing exponent in case of negative sign.
24121 * stdlib/tst-strtod-round-data: Add more tests.
24122 * stdlib/tst-strtod-round.c (tests): Regenerated.
24123
24124 [BZ #3479]
24125 * stdlib/strtod_l.c (NDIG): Remove.
24126 (HEXNDIG): Likewise.
24127 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24128 smallest representable value.
24129 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24130 lie within an exact representation of 1/2 ulp of the result.
24131 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24132 unconditionally.
24133 (TENS_P9_IDX): Define unconditionally.
24134 (TENS_P9_SIZE): Likewise.
24135 (TENS_P10_IDX): Likewise.
24136 (TENS_P10_SIZE): Likewise.
24137 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24138 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24139 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24140 entries for 10^2^13 and 10^2^14.
24141 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24142 (TENS_P13_IDX): Define.
24143 (TENS_P13_SIZE): Likewise.
24144 (TENS_P14_IDX): Likewise.
24145 (TENS_P14_SIZE): Likewise.
24146 (_fpioconst_pow10): Change array size to
24147 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24148 unconditional.
24149 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24150 1024]: Add entries for 10^2^13 and 10^2^14.
24151 [LAST_POW10 > _LAST_POW10]: Remove #error.
24152 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24153 (_fpioconst_pow10): Change array size to
24154 FPIOCONST_POW10_ARRAY_SIZE.
24155 * stdlib/gen-fpioconst.c: New file.
24156 * stdlib/gen-tst-strtod-round.c: Likewise.
24157 * stdlib/tst-strtod-round-data: Likewise.
24158 * stdlib/tst-strtod-round.c: Likewise.
24159 * stdlib/Makefile (tests): Add tst-strtod-round.
24160
24161 [BZ #14459]
24162 * stdlib/strtod_l.c: Include <stdint.h>.
24163 (NDEBUG): Do not define.
24164 (round_and_return): Change EXPONENT parameter to type intmax_t.
24165 Rearrange calculations to avoid internal overflow possibilities.
24166 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24167 Rearrange calculations to avoid internal overflow possibilities.
24168 Assert that number fits inside MPNSIZE limbs.
24169 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24170 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24171 calculations and add assertions to avoid internal overflow
24172 possibilities. Add casts to avoid signed/unsigned operations.
24173 * stdlib/tst-strtod-overflow.c: New file.
24174 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24175
24176 2012-08-25 Marek Polacek <polacek@redhat.com>
24177
24178 * time/time.h: Fix some typos in comments.
24179
24180 2012-08-23 Roland McGrath <roland@hack.frob.com>
24181
24182 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24183 * posix/tst-rfc3484-2.c: Likewise.
24184 * posix/tst-rfc3484-3.c: Likewise.
24185
24186 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24187
24188 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24189 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24190
24191 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24192
24193 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24194 #include of fxstatat64.c.
24195
24196 2012-08-22 Roland McGrath <roland@hack.frob.com>
24197
24198 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24199 * shadow/getspent_r.c: Likewise.
24200 * shadow/getspnam.c: Likewise.
24201 * shadow/getspnam_r.c: Likewise.
24202 * gshadow/getsgent.c: Likewise.
24203 * gshadow/getsgent_r.c: Likewise.
24204 * gshadow/getsgnam.c: Likewise.
24205 * gshadow/getsgnam_r.c: Likewise.
24206 * inet/getnetbyad.c: Likewise.
24207 * inet/getnetbyad_r.c: Likewise.
24208 * inet/getnetbynm.c: Likewise.
24209 * inet/getnetbynm_r.c: Likewise.
24210 * inet/getnetent.c: Likewise.
24211 * inet/getnetent_r.c: Likewise.
24212 * inet/getproto.c: Likewise.
24213 * inet/getproto_r.c: Likewise.
24214 * inet/getprtent.c: Likewise.
24215 * inet/getprtent_r.c: Likewise.
24216 * inet/getprtname.c: Likewise.
24217 * inet/getprtname_r.c: Likewise.
24218 * inet/getrpcbyname.c: Likewise.
24219 * inet/getrpcbyname_r.c: Likewise.
24220 * inet/getrpcbynumber.c: Likewise.
24221 * inet/getrpcbynumber_r.c: Likewise.
24222 * inet/getrpcent.c: Likewise.
24223 * inet/getrpcent_r.c: Likewise.
24224 * inet/getaliasent.c: Likewise.
24225 * inet/getaliasent_r.c: Likewise.
24226 * inet/getaliasname.c: Likewise.
24227 * inet/getaliasname_r.c: Likewise.
24228 * nscd/getgrgid_r.c: Likewise.
24229 * nscd/getgrnam_r.c: Likewise.
24230 * nscd/gethstbyad_r.c: Likewise.
24231 * nscd/gethstbynm3_r.c: Likewise.
24232 * nscd/getpwnam_r.c: Likewise.
24233 * nscd/getpwuid_r.c: Likewise.
24234 * nscd/getsrvbynm_r.c: Likewise.
24235 * nscd/getsrvbypt_r.c: Likewise.
24236 * nscd/gai.c: Likewise.
24237
24238 * configure.in (build_nscd): New substituted variable, set
24239 by --disable-build-nscd and defaults to $use_nscd.
24240 * configure: Regenerated.
24241 * config.make.in (build-nscd): New substituted variable.
24242 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24243 Change conditional to require [$(build-nscd) = yes] as well.
24244 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24245
24246 [BZ# 13696]
24247 * configure.in (use_nscd): New substituted variable, set by
24248 --disable-nscd. If enabled, define USE_NSCD.
24249 * configure: Regenerated.
24250 * config.h.in: Add USE_NSCD.
24251 * config.make.in (use-nscd): New substituted variable.
24252 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24253 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24254 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24255 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24256 (CFLAGS-getgrnam_r.c): Likewise.
24257 (CFLAGS-initgroups.c): Likewise.
24258 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24259 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24260 Variables removed.
24261 * inet/getnetgrent_r.c
24262 (nscd_setnetgrent): New function, broken out of ...
24263 (setnetgrent): ... here. Call it.
24264 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24265 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24266 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24267 * nscd/Makefile (routines, aux): Move definitions after include of
24268 Makeconfig. Conditionalize on [$(use-nscd) != no].
24269 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24270 Conditionalize on [USE_NSCD].
24271 (is_nscd, nscd_init_cb): Likewise.
24272 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24273 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24274 * nss/nss_db/db-init.c: Likewise.
24275 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24276 [USE_NSCD].
24277 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24278 (make_request): Use it.
24279 (cache_valid_p): New function.
24280 (__check_pf): Use it.
24281 * NEWS: Add item for --disable-nscd.
24282
24283 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24284
24285 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24286 to support sed >= 4.2.1-20-ga9bf076.
24287 * configure: Regenerated.
24288
24289 2012-08-22 Roland McGrath <roland@hack.frob.com>
24290
24291 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24292 Conditionalize whole body on [IREL].
24293
24294 2012-08-22 Jeff Law <law@redhat.com>
24295
24296 [BZ #14505]
24297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24298 if the family is PF_UNSPEC.
24299
24300 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24301
24302 * Makerules (lib-version): Rename from V.
24303 (install-lib-nosubdir): Change V to lib-version.
24304
24305 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24306
24307 [BZ #14252]
24308 * powerpc32/power6/wcschr.c: New file.
24309 * powerpc32/power6/wcscpy.c: New file.
24310 * powerpc32/power6/wcsrchr.c: New file.
24311 * powerpc64/power6/wcschr.c: New file.
24312 * powerpc64/power6/wcscpy.c: New file.
24313 * powerpc64/power6/wcsrchr.c: New file.
24314
24315 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24316
24317 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24318 (two_way_short_needle): Use it.
24319 * string/strstr.c (AVAILABLE1_USES_J): Define.
24320 * string/strcasestr.c: Likewise.
24321
24322 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24323 array references.
24324 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24325
24326 [BZ #11607]
24327 * NEWS: Add an entry.
24328 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24329 define their defaults.
24330 (two_way_short_needle): Detect end-of-string on-the-fly.
24331 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24332 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24333 * string/bug-strcasestr1.c: New test.
24334 * string/Makefile: Run it.
24335
24336 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24337
24338 [BZ #11607]
24339 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24340 the first character.
24341
24342 2012-08-21 Roland McGrath <roland@hack.frob.com>
24343
24344 * csu/elf-init.c (__libc_csu_irel): Function removed.
24345 * csu/libc-start.c (apply_irel): New function.
24346 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24347
24348 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24349
24350 * sysdeps/unix/sysv/linux/kernel-features.h
24351 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24352 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24353 <kernel-features.h>.
24354 [__NR_fadvise64_64]: Make code unconditional.
24355 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24356 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24357 !__NR_fadvise64_64)]: Likewise.
24358 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24359 !__NR_fadvise64_64))]: Likewise.
24360 [__NR_fadvise64]: Make code unconditional.
24361 [!__NR_fadvise64]: Remove conditional code.
24362 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24363 <kernel-features.h>.
24364 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24365 unconditional.
24366 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24367 conditional code.
24368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24369 not include <kernel-features.h>.
24370 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24371 unconditional.
24372 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24373 conditional code.
24374 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24375 include <kernel-features.h>.
24376 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24377 unconditional.
24378 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24379 conditional code.
24380
24381 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24382
24383 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24384 slight instruction rearrangements per scrollpipe analysis.
24385 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24386
24387 2012-08-20 Roland McGrath <roland@hack.frob.com>
24388
24389 * manual/syslog.texi (syslog; vsyslog, closelog):
24390 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24391 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24392
24393 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24394 DSOCAPS to match condition on defining it.
24395
24396 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24397
24398 * sysdeps/unix/sysv/linux/kernel-features.h
24399 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24401 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24402 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24404 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24405 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24407 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24408 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24409
24410 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24411 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24412
24413 * sysdeps/unix/sysv/linux/kernel-features.h
24414 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24415 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24416 unconditional.
24417 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24418 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24419 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24420 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24421 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24422 Make code unconditional.
24423 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24424 (__mmap64) [!__NR_mmap2]: Likewise.
24425 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24426 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24427 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24428 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24429 [__NR_mmap2]: Make code unconditional.
24430 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24431 (__mmap64) [!__NR_mmap2]: Likewise.
24432
24433 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24434
24435 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24436
24437 2012-08-18 Andreas Jaeger <aj@suse.de>
24438
24439 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24440
24441 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24442
24443 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24444 * include/unistd.h (__have_sock_cloexec): Likewise.
24445 (__have_pipe2): Likewise.
24446 (__have_dup3): Likewise.
24447
24448 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24449
24450 [BZ #9685]
24451 * include/unistd.h (__have_pipe2): Change define into an extern int.
24452 (__have_dup3): Likewise.
24453 * socket/have_sock_cloexec.c: Include fcntl.h.
24454 (__have_pipe2): New variable.
24455 (__have_dup3): Likewise.
24456
24457 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24458
24459 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24460
24461 2012-08-17 Marek Polacek <polacek@redhat.com>
24462
24463 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24464 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24465
24466 2012-08-17 Roland McGrath <roland@hack.frob.com>
24467
24468 * configure.in: Add AC_SUBST for sysheaders.
24469 * configure: Regenerated.
24470 * config.make.in (sysheaders): New substituted variable.
24471
24472 * sysdeps/unix/mkfifo.c: Moved ...
24473 * sysdeps/posix/mkfifo.c: ... here.
24474 * sysdeps/unix/mkfifoat.c: Moved ...
24475 * sysdeps/posix/mkfifoat.c: ... here.
24476
24477 * sysdeps/unix/utime.c: Moved ...
24478 * sysdeps/posix/utime.c: ... here.
24479
24480 * sysdeps/unix/time.c: Moved ...
24481 * sysdeps/posix/time.c: ... here.
24482 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24483 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24484
24485 * sysdeps/unix/nice.c: Moved ...
24486 * sysdeps/posix/nice.c: ... here.
24487
24488 * sysdeps/unix/alarm.c: Moved ...
24489 * sysdeps/posix/alarm.c: ... here.
24490
24491 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24492
24493 2012-08-17 Jeff Law <law@redhat.com>
24494
24495 * intl/Makefile (codeset_mo): New variable.
24496 ($(codeset_mo)): New target.
24497 (tst-codeset.out): Depend on that. Remove explicit rule.
24498 (tst-gettext3.out, tst-gettext5.out): Likewise.
24499 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24500 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24501 * intl/tst-codeset.sh: Remove.
24502 * intl/tst-gettext3.sh: Likewise.
24503 * intl/tst-gettext5.sh: Likewise.
24504
24505 2012-08-17 Roland McGrath <roland@hack.frob.com>
24506
24507 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24508 * sysdeps/unix/syscalls.list: ... here.
24509
24510 * sysdeps/posix/getaddrinfo.c
24511 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24512 (gaiconf_init, gaiconf_reload): Use them.
24513 [!_STATBUF_ST_NSEC]
24514 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24515 Define using time_t rather than struct timespec.
24516
24517 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24518 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24519 Macros removed.
24520 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24521 [!NO_THREADS].
24522 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24523 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24524 Likewise.
24525
24526 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24527 __libc_cleanup_push argument.
24528
24529 * bits/param.h: New file.
24530 * misc/sys/param.h: New file.
24531 * include/sys/param.h: New file.
24532 * misc/Makefile (headers): Add bits/param.h.
24533 * sysdeps/generic/sys/param.h: File removed.
24534 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24535 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24536 * sysdeps/mach/hurd/bits/param.h: New file.
24537 * sysdeps/mach/hurd/sys/param.h: File removed.
24538
24539 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24540 last change.
24541
24542 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24543 [_IO_MTSAFE_IO].
24544 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24545 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24546 New macros.
24547
24548 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24549 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24550 rather than -D_IO_MTSAFE_IO conditionally.
24551 * stdio-common/Makefile (CPPFLAGS): Likewise.
24552 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24553 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24554 Use $(libio-mtsafe).
24555 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24556 of -D_IO_MTSAFE_IO.
24557 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24558 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24559 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24560 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24561 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24562 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24563 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24564 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24565 (CFLAGS-fread_u_chk.c): Likewise.
24566 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24567 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24568 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24569 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24570 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24571 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24572 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24573 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24574 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24575
24576 * libio/Makefile: Test [$(libc-reentrant) = yes]
24577 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24578
24579 * Makeconfig
24580 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24581 * sysdeps/pthread/configure: File removed.
24582 * sysdeps/pthread/Makeconfig: New file.
24583 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24584 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24585
24586 2012-08-16 Gary Benson <gbenson@redhat.com>
24587
24588 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24589 unmapping the first object in a namespace.
24590
24591 2012-08-16 Roland McGrath <roland@hack.frob.com>
24592
24593 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24594 (__internal_setnetgrent): ... this. Add internal_function to
24595 definition. Add libc_hidden_def.
24596 (setnetgrent): Update caller.
24597 (internal_endnetgrent): Renamed to ...
24598 (__internal_endnetgrent): ... this. Add internal_function to
24599 definition. Add libc_hidden_def.
24600 (endnetgrent): Update caller.
24601 (internal_getnetgrent_r): Renamed to ...
24602 (__internal_getnetgrent_r): ... this. Add internal_function to
24603 definition. Add libc_hidden_def.
24604 (__getnetgrent_r): Update caller.
24605 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24606
24607 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24608
24609 * stdlib/longlong.h: Update from GCC.
24610
24611 2012-08-16 Roland McGrath <roland@hack.frob.com>
24612
24613 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24614 on _QL, which is set by umul_ppmm but never used.
24615 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24616 variables, which are set by GMP macros but never used.
24617 * stdio-common/_itowa.c (_itowa): Likewise.
24618 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24619 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24620
24621 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24622
24623 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24624 struct La_sh_regs is not constant.
24625 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24626 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24627 and struct La_sparc64_regs are not constant.
24628
24629 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24630
24631 * sysdeps/unix/sysv/linux/kernel-features.h
24632 (__ASSUME_POSIX_TIMERS): Remove.
24633 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24634 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24635 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24636 Make code unconditional.
24637 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24638 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24639 Make code unconditional.
24640 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24641 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24642 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24643 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24644 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24645 Make code unconditional.
24646 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24647 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24648 (__libc_missing_posix_timers): Remove.
24649
24650 2012-08-15 Roland McGrath <roland@hack.frob.com>
24651
24652 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24653 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24654
24655 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24656
24657 * elf/dl-sym.c: Include <stdlib.h>.
24658
24659 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24660 constants, which avoids warnings in 32-bit builds.
24661
24662 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24663 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24664
24665 * misc/lseek.c: File moved to ...
24666 * io/lseek.c: ... here.
24667
24668 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24669
24670 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24671 shifting LEN more than 31 bits at once.
24672
24673 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24674
24675 [BZ #14195]
24676 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24677 segmentation fault for a case of two empty input strings.
24678 * string/test-strncasecmp.c (check1): Renamed to...
24679 (bz12205): ...this.
24680 (bz14195): Add new testcase for two empty input strings and N > 0.
24681 (test_main): Call new testcase, adapt for renamed function.
24682
24683 2012-08-15 Andreas Jaeger <aj@suse.de>
24684
24685 [BZ #14090]
24686 * crypt/md5test2.c: New test, based on test supplied by Serge
24687 Belyshev <belyshev@depni.sinp.msu.ru>.
24688 * crypt/Makefile (xtests): Add md5test-giant..
24689 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24690
24691 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24692
24693 [BZ #14090]
24694 * crypt/md5.c (md5_process_block): Don't assume the buffer
24695 length is less than 2**32.
24696 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24697 length is less than 2**64.
24698
24699 2012-08-15 Roland McGrath <roland@hack.frob.com>
24700
24701 * string/str-two-way.h: Include <sys/param.h>.
24702 (MAX): Macro removed.
24703
24704 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24705 Move #define and #undef of memmove to just before and after
24706 including <string.h>.
24707
24708 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24709 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24710 and after including <string.h>. Move declarations of
24711 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24712 to before #include "string/memmove.c".
24713
24714 * include/dirent.h: Declare __getdirentries.
24715
24716 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24717 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24718
24719 2012-08-14 Mike Frysinger <vapier@gentoo.org>
24720
24721 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24722 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24723 * sysdeps/i386/configure: Regenerated.
24724 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24725 STABS_CURRENT_FILE, and STABS_FUN.
24726 (END): Remove call to STABS_FUN_END.
24727 (STABS_CURRENT_FILE1): Delete.
24728 (STABS_CURRENT_FILE): Likewise.
24729 (STABS_FUN): Likewise.
24730 (STABS_FUN_END): Likewise.
24731 (STABS_FUN2): Likewise.
24732 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24733 * sysdeps/x86_64/configure: Regenerated.
24734
24735 2012-08-14 Roland McGrath <roland@hack.frob.com>
24736
24737 * elf/dl-open.c: Include <atomic.h>.
24738 * elf/dl-lookup.c: Likewise.
24739
24740 2012-08-14 Joseph Myers <joseph@codesourcery.com>
24741
24742 * sysdeps/unix/sysv/linux/kernel-features.h
24743 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24744 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24745 unconditionally.
24746 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24747 unconditionally.
24748 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24749 condition on __ASSUME_CLONE_THREAD_FLAGS.
24750
24751 2012-08-14 Andreas Jaeger <aj@suse.de>
24752
24753 * sysdeps/i386/fpu/libm-test-ulps: Update.
24754
24755 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24756
24757 * include/atomic.h (atomic_exchange_and_add): Split into ...
24758 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24759 New atomic macros.
24760
24761 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24762
24763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24764
24765 2012-08-13 Jeff Law <law@redhat.com>
24766
24767 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24768 null byte in the output string.
24769
24770 2012-08-10 Joseph Myers <joseph@codesourcery.com>
24771
24772 * sysdeps/unix/sysv/linux/kernel-features.h
24773 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24774 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24775 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24776 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24777 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24778 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24779 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24780
24781 2012-08-09 Jeff Law <law@redhat.com>
24782
24783 [BZ #13939]
24784 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24785 When avoid_arena is set, don't retry in the that arena. Pick the
24786 next one, whatever it might be.
24787 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24788 (arena_lock): Pass in new parameter to arena_get2.
24789 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24790 arena_get2.
24791 (__libc_malloc): Unify retrying after main arena failure with
24792 __libc_memalign version.
24793 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24794
24795 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24796
24797 [BZ #14166]
24798 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24799 to __redirect_strstr.
24800 (__strstr_sse42): Use typeof __redirect_strstr.
24801 (__strstr_ia32): Likewise.
24802 (__libc_strstr): New prototype.
24803 (strstr): Renamed to ...
24804 (__libc_strstr): This.
24805 (strstr): New strong alias of __libc_strstr.
24806 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24807 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24808 __redirect_time.
24809 Include <time.h>.
24810 (__libc_time): New prototype.
24811 (time_ifunc): Replace time with __libc_time.
24812 (time): New strong alias and hidden definition of __libc_time.
24813 (__GI_time): Remove strong alias.
24814 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24815 Include <stddef.h>.
24816 (memmove): Redefined to __redirect_memmove.
24817 (__memmove_sse2): Use typeof __redirect_memmove.
24818 (__memmove_ssse3): Likewise.
24819 (__memmove_ssse3_back): Likewise.
24820 (__libc_memmove): New prototype.
24821 (memmove): Renamed to ...
24822 (__libc_memmove): This.
24823 (memmove): New strong alias of __libc_memmove.
24824
24825 2012-08-08 Mark Salter <msalter@redhat.com>
24826
24827 * elf/elf.h
24828 (R_MN10300_TLS_GD): Define.
24829 (R_MN10300_TLS_LD): Likewise.
24830 (R_MN10300_TLS_LDO): Likewise.
24831 (R_MN10300_TLS_GOTIE): Likewise.
24832 (R_MN10300_TLS_IE): Likewise.
24833 (R_MN10300_TLS_LE): Likewise.
24834 (R_MN10300_TLS_DTPMOD): Likewise.
24835 (R_MN10300_TLS_DTPOFF): Likewise.
24836 (R_MN10300_TLS_TPOFF): Likewise.
24837 (R_MN10300_SYM_DIFF): Likewise.
24838 (R_MN10300_ALIGN): Likewise.
24839 (R_MN10300_NUM): Update.
24840
24841 2012-08-08 Joseph Myers <joseph@codesourcery.com>
24842
24843 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24844 Remove.
24845
24846 2012-08-08 Roland McGrath <roland@hack.frob.com>
24847
24848 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24849
24850 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24851 sysdeps/unix -> sysdeps/posix move.
24852 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24853
24854 2012-08-07 Allan McRae <allan@archlinux.org>
24855
24856 [BZ #14303]
24857 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24858 (SUNOS_CPP): Likewise.
24859 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24860 not found.
24861 (open_input): Call CPP using execvp.
24862
24863 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24864
24865 * sysdeps/unix/sysv/linux/kernel-features.h
24866 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24867 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24868 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24869 (__ASSUME_WAITID_SYSCALL): Likewise.
24870 * sysdeps/unix/sysv/linux/dl-execstack.c
24871 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24872 code unconditional.
24873 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24874 conditional code.
24875 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24876 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24877 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24878 code.
24879 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24880 unconditional.
24881 [__ASSUME_WAITID_SYSCALL]: Likewise.
24882 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24883
24884 2012-08-07 Roland McGrath <roland@hack.frob.com>
24885
24886 * sysdeps/unix/closedir.c: Renamed to ...
24887 * sysdeps/posix/closedir.c: ... here.
24888 * sysdeps/unix/dirfd.c: Renamed to ...
24889 * sysdeps/posix/dirfd.c: ... here.
24890 * sysdeps/unix/dirstream.h: Renamed to ...
24891 * sysdeps/posix/dirstream.h: ... here.
24892 * sysdeps/unix/fdopendir.c: Renamed to ...
24893 * sysdeps/posix/fdopendir.c: ... here.
24894 * sysdeps/unix/opendir.c: Renamed to ...
24895 * sysdeps/posix/opendir.c: ... here.
24896 * sysdeps/unix/readdir.c: Renamed to ...
24897 * sysdeps/posix/readdir.c: ... here.
24898 * sysdeps/unix/readdir_r.c: Renamed to ...
24899 * sysdeps/posix/readdir_r.c: ... here.
24900 * sysdeps/unix/rewinddir.c: Renamed to ...
24901 * sysdeps/posix/rewinddir.c: ... here.
24902 * sysdeps/unix/seekdir.c: Renamed to ...
24903 * sysdeps/posix/seekdir.c: ... here.
24904 * sysdeps/unix/telldir.c: Renamed to ...
24905 * sysdeps/posix/telldir.c: ... here.
24906 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24907 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24908 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24909 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24910
24911 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24912 * bits/fcntl.h: ... here.
24913
24914 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24915 not 0.
24916 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24917 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24918 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24919 (struct flock): Move l_start, l_len to the beginning.
24920 Use __pid_t for l_pid.
24921 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24922 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24923 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24924 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24925 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24926 [__USE_LARGEFILE64] (struct flock64): New type.
24927 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24928
24929 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24930 * bits/dirent.h: ... here.
24931
24932 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24933 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24934
24935 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24936
24937 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24938 Change from 2.6.0 to 2.6.16.
24939 * sysdeps/unix/sysv/linux/configure: Regenerated.
24940 * sysdeps/unix/sysv/linux/kernel-features.h
24941 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24942 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24943 version.
24944 (__ASSUME_UTIMES): Likewise.
24945 (__ASSUME_CLONE_STOPPED): Remove.
24946 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24947 architectures, not kernel version.
24948 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24949 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24950 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24951 (__ASSUME_WAITID_SYSCALL): Likewise.
24952 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24953 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24954 * README: State 2.6.16 as minimum Linux kernel version. Do not
24955 refer to older versions.
24956
24957 2012-08-06 Roland McGrath <roland@hack.frob.com>
24958
24959 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24960 Define alphasort64 as an alias.
24961 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24962 Define versionsort64 as an alias.
24963 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24964 Define scandir64 as an alias.
24965 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24966 Define scandirat64 as an alias.
24967 * dirent/alphasort64.c (alphasort64):
24968 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24969 * dirent/versionsort64.c: Likewise.
24970 * dirent/scandir64.c: Likewise.
24971 * dirent/scandirat64.c: Likewise.
24972 * sysdeps/wordsize-64/alphasort.c: File removed.
24973 * sysdeps/wordsize-64/alphasort64.c: File removed.
24974 * sysdeps/wordsize-64/scandir.c: File removed.
24975 * sysdeps/wordsize-64/scandir64.c: File removed.
24976 * sysdeps/wordsize-64/scandirat.c: File removed.
24977 * sysdeps/wordsize-64/scandirat64.c: File removed.
24978 * sysdeps/wordsize-64/versionsort.c: File removed.
24979 * sysdeps/wordsize-64/versionsort64.c: File removed.
24980 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24981 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24982 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24983 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24984 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24985 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24986 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24987 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24988
24989 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24990 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24991 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24992 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24993 [defined __arch64__ || defined __sparcv9]
24994 (__INO_T_MATCHES_INO64_T): New macro.
24995 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24996 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24997 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24998 * sysdeps/unix/sysv/linux/bits/dirent.h
24999 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25000 (_DIRENT_MATCHES_DIRENT64): New macro.
25001
25002 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25003 Define lockf64 as an alias.
25004 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25005 Define fseeko64 as an alias.
25006 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25007 Define ftello64 as an alias.
25008 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25009 Define _IO_fgetpos64 and fgetpos64 as aliases.
25010 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25011 Define _IO_fsetpos64 and fsetpos64 as aliases.
25012 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25013 Conditionalize body on this.
25014 * libio/fseeko64.c: Likewise.
25015 * libio/ftello64.c: Likewise.
25016 * libio/iofgetpos64.c: Likewise.
25017 * libio/iofsetpos64.c: Likewise.
25018 * sysdeps/wordsize-64/lockf.c: File removed.
25019 * sysdeps/wordsize-64/lockf64.c: File removed.
25020 * sysdeps/wordsize-64/fseeko.c: File removed.
25021 * sysdeps/wordsize-64/fseeko64.c: File removed.
25022 * sysdeps/wordsize-64/ftello.c: File removed.
25023 * sysdeps/wordsize-64/ftello64.c: File removed.
25024 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25025 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25026 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25027 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25028 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25029 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25030 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25031 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25032 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25033 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25034 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25035 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25036 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25037 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25038
25039 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25041 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25043 [defined __arch64__ || defined __sparcv9]
25044 (__OFF_T_MATCHES_OFF64_T): New macro.
25045 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25046 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25047 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25048 (__OFF_T_MATCHES_OFF64_T): New macro.
25049
25050 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25051
25052 * stdlib/secure-getenv.c (__secure_getenv): Replace
25053 GLIBC_2_16 with GLIBC_2_17.
25054
25055 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25056
25057 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25058 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25059
25060 2012-08-03 David S. Miller <davem@davemloft.net>
25061
25062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25063
25064 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25065
25066 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25067 Remove.
25068 (__ASSUME_CORRECT_SI_PID): Likewise.
25069 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25070 (__ASSUME_TMPFS_NAME): Likewise.
25071 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25072 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25073 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25074 (HAVE_AUX_SECURE): Make definition unconditional.
25075 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25076 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25077
25078 2012-08-03 Roland McGrath <roland@hack.frob.com>
25079
25080 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25081 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25082 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25083 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25084 __eloop_threshold instead of SYMLOOP_MAX.
25085
25086 * sysdeps/generic/eloop-threshold.h: New file.
25087 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25088 of MAXSYMLINKS.
25089 * elf/chroot_canon.c (chroot_canon): Likewise.
25090
25091 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25092
25093 [BZ #13717]
25094 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25095 Change to 2.6.0 everywhere.
25096 * sysdeps/unix/sysv/linux/configure: Regenerated.
25097 * sysdeps/unix/sysv/linux/kernel-features.h
25098 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25099 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25100 kernel versions.
25101 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25102 (__ASSUME_FUTEX_REQUEUE): Remove.
25103 (__ASSUME_STATFS64): Define unconditionally.
25104 (__ASSUME_AT_SECURE): Likewise.
25105 (__ASSUME_CORRECT_SI_PID): Likewise.
25106 (__ASSUME_TGKILL): Define without depending on kernel version for
25107 i386.
25108 (__ASSUME_UTIMES): Likewise.
25109 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25110 kernel version.
25111 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25112 (__ASSUME_TMPFS_NAME): Likewise.
25113 * README: Update reference to Linux kernel versions.
25114
25115 2012-08-02 Marek Polacek <polacek@redhat.com>
25116
25117 [BZ# 14150]
25118 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25119 libc_cv_asm_type_prefix with %.
25120 * configure: Regenerated.
25121 * include/libc-symbols.h: Remove comment about
25122 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25123 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25124 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25125 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25126 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25127 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25128 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25129 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25130 * elf/tst-unique2mod1.c: Likewise.
25131 * elf/tst-unique1mod2.c: Likewise.
25132 * elf/tst-unique1mod1.c: Likewise.
25133 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25134 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25135 Replace ASM_TYPE_DIRECTIVE with .type.
25136 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25137 * sysdeps/i386/sysdep.h: Likewise.
25138 * sysdeps/x86_64/sysdep.h: Likewise.
25139 * sysdeps/sh/sysdep.h: Likewise.
25140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25141 Do not define ASM_TYPE_DIRECTIVE.
25142 * sysdeps/powerpc/sysdep.h: Likewise.
25143 * sysdeps/powerpc/powerpc32/sysdep.h:
25144 Replace ASM_TYPE_DIRECTIVE with .type.
25145 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25146 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25147 * sysdeps/i386/fpu/e_powf.S: Likewise.
25148 * sysdeps/i386/fpu/e_expl.S: Likewise.
25149 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25150 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25151 * sysdeps/i386/fpu/e_pow.S: Likewise.
25152 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25153 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25154 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25155 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25156 * sysdeps/i386/fpu/e_log2.S: Likewise.
25157 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25158 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25159 * sysdeps/i386/fpu/e_powl.S: Likewise.
25160 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25161 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25162 * sysdeps/i386/fpu/e_logl.S: Likewise.
25163 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25164 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25165 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25166 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25167 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25168 * sysdeps/i386/fpu/e_log.S: Likewise.
25169 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25170 * sysdeps/i386/fpu/e_logf.S: Likewise.
25171 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25172 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25173 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25174 * sysdeps/i386/fpu/e_log10.S: Likewise.
25175 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25176 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25177 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25178 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25179 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25180 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25181 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25182 * sysdeps/i386/i686/strtok.S: Likewise.
25183 * sysdeps/i386/i386-mcount.S: Likewise.
25184 * sysdeps/i386/strtok.S: Likewise.
25185 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25186 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25187 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25188 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25189 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25190 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25191 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25192 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25193 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25194 * sysdeps/x86_64/_mcount.S: Likewise.
25195 * sysdeps/x86_64/strtok.S: Likewise.
25196 * sysdeps/sh/_mcount.S: Likewise.
25197
25198 2012-08-01 Roland McGrath <roland@hack.frob.com>
25199
25200 * libio/iofopen.c: Include <fcntl.h>.
25201 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25202 (_IO_fopen64, fopen64): Define as aliases.
25203 * libio/iofopen64.c: Include <fcntl.h>.
25204 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25205 Conditionalize body on this.
25206 * sysdeps/wordsize-64/iofopen.c: File removed.
25207 * sysdeps/wordsize-64/iofopen64.c: File removed.
25208
25209 2012-08-01 Marek Polacek <polacek@redhat.com>
25210
25211 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25212 Use dlfcn directly instead of a variable.
25213 (binfmt-subdir): Do not define.
25214 (dlfcn): Likewise.
25215
25216 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25217
25218 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25219 Remove all definitions.
25220 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25221 <kernel-features.h>.
25222 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25223 (miss_F_GETOWN_EX): Remove all definitions.
25224 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25225 macro definition.
25226 [!__ASSUME_FCNTL64]: Remove conditional code.
25227 [__ASSUME_FCNTL64]: Make code unconditional.
25228 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25229 <kernel-features.h>.
25230 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25231 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25232 (lockf64) [__NR_fcntl64]: Make code unconditional.
25233 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25234
25235 * sysdeps/unix/sysv/linux/kernel-features.h
25236 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25237 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25238 Make code unconditional.
25239 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25240 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25242 [__NR_vfork]: Make code unconditional.
25243 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25244 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25246 [__NR_vfork]: Make code unconditional.
25247 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25248 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25249
25250 2012-08-01 Roland McGrath <roland@hack.frob.com>
25251
25252 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25253 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25254
25255 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25256 Define mkstemp64 as an alias.
25257 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25258 Define mkstemps64 as an alias.
25259 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25260 Define mkostemp64 as an alias.
25261 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25262 Define mkostemps64 as an alias.
25263 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25264 Conditionalize body on this.
25265 * misc/mkostemp64.c: Likewise.
25266 * misc/mkostemps64.c: Likewise.
25267 * misc/mkstemps64.c: Likewise.
25268 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25269 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25270 * sysdeps/wordsize-64/mkostemp.c: File removed.
25271 * sysdeps/wordsize-64/mkstemp.c: File removed.
25272 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25273 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25274 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25275 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25276
25277 [BZ #14138]
25278 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25279 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25280 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25281 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25282
25283 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25284 compat_symbol macros from <shlib-compat.h> rather than the underlying
25285 default_symbol_version and symbol_version macros, so that DEFAULT
25286 lines in shlib-versions are respected.
25287 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25288
25289 2012-08-01 Florian Weimer <fweimer@redhat.com>
25290
25291 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25292 Declare with warn_unused_result.
25293 (setgid, setregid, setegid, setresgid): Likewise.
25294 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25295 Likewise.
25296 * WUR-REPORT: Remove set*id functions.
25297
25298 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25299
25300 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25301
25302 2012-07-31 Roland McGrath <roland@hack.frob.com>
25303
25304 [BZ #10191]
25305 * include/sys/socket.h (__libc_accept, __libc_accept4):
25306 Add attribute_hidden.
25307 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25308
25309 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25310 use of PTR_MANGLE.
25311 * inet/getnetgrent_r.c (setup): Likewise.
25312
25313 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25314
25315 2012-07-31 David S. Miller <davem@davemloft.net>
25316
25317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25318
25319 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25320
25321 [BZ #13629]
25322 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25323 value between 1.0 and 2.0 and smaller part has absolute value less
25324 than 1.0.
25325 * math/s_clog10.c (__clog10): Likewise.
25326 * math/s_clog10f.c (__clog10f): Likewise.
25327 * math/s_clog10l.c (__clog10l): Likewise.
25328 * math/s_clogf.c (__clogf): Likewise.
25329 * math/s_clogl.c (__clogl): Likewise.
25330 * math/libm-test.inc (clog_test): Add more tests.
25331 (clog10_test): Likewise.
25332 * sysdeps/i386/fpu/libm-test-ulps: Update.
25333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25334
25335 2012-07-31 Florian Weimer <fweimer@redhat.com>
25336
25337 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25338 Exit with zero in case no suitable GID is found, and write a
25339 message to standard error.
25340
25341 2012-07-30 Roland McGrath <roland@hack.frob.com>
25342
25343 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25344 rather than to 1.
25345 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25346 (MAXPATHLEN): Removed.
25347 (NOGROUP, NODEV): New macros.
25348 (setbit, clrbit, isset, isclr): New macros.
25349 (howmany, roundup, powerof2): New macros.
25350 (DEV_BSIZE): New macro.
25351
25352 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25353 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25354
25355 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25356 definition on [!__NO_LONG_DOUBLE_MATH].
25357
25358 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25359 PTR_MANGLE and PTR_DEMANGLE.
25360
25361 * socket/accept4.c (accept4): Rename to __libc_accept4.
25362 Define accept4 as a weak alias.
25363
25364 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25365 on [_DIRENT_HAVE_D_TYPE].
25366 * io/ftw.c (ftw_dir): Likewise.
25367
25368 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25369
25370 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25371
25372 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25373 Use the BSD numbers rather than the arbitrary ones we had.
25374 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25375 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25376 (SIGXCPU, SIGXFSZ): New macros.
25377 (_NSIG): Now 32.
25378
25379 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25380 initializer on [_LIBC_REENTRANT].
25381
25382 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25383 definitions inside [_POSIX_MAPPED_FILES].
25384
25385 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25386
25387 * dirent/opendir.c: Include <fcntl.h>.
25388
25389 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25390 (__libc_getspecific): Likewise.
25391 (__libc_key_create): Likewise.
25392
25393 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25394 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25395 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25396 (tmpfile64): Define as alias.
25397 * sysdeps/wordsize-64/tmpfile.c: File removed.
25398 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25399 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25400 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25401
25402 * stdio-common/vfscanf.c: Include <stdbool.h>.
25403 * nss/makedb.c: Likewise.
25404 * stdio-common/_i18n_number.h: Likewise.
25405 * argp/argp-help.c: Likewise.
25406 * posix/wordexp.c: Likewise.
25407 * sysdeps/posix/spawni.c: Likewise.
25408 * nss/nss_files/files-initgroups.c: Likewise.
25409 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25410 * nss/nss_files/files-initgroups.c: Likewise.
25411 * nss/nss_db/db-netgrp.c: Likewise.
25412 * nss/nss_db/db-initgroups.c: Likewise.
25413 * io/fchmodat.c: Include <sys/stat.h>.
25414
25415 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25416 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25417
25418 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25419 [HAVE_MMAP].
25420
25421 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25422 Add multiple inclusion protection.
25423
25424 2012-07-27 David S. Miller <davem@davemloft.net>
25425
25426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25427
25428 2012-07-27 Gary Benson <gbenson@redhat.com>
25429
25430 [BZ #14298]
25431 * elf/rtld.c: Include <stap-probe.h>.
25432 (dl_main): Added static probes "init_start" and "init_complete".
25433 * elf/dl-load.c: Include <stap-probe.h>.
25434 (lose): Take new parameter "nsid".
25435 Added static probe "map_failed".
25436 (_dl_map_object_from_fd): Pass namespace id to lose.
25437 Added static probe "map_start".
25438 (open_verify): Pass namespace id to lose.
25439 * elf/dl-open.c: Include <stap-probe.h>.
25440 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25441 and "reloc_complete".
25442 * elf/dl-close.c: Include <stap-probe.h>.
25443 (_dl_close_worker): Added static probes "unmap_start" and
25444 "unmap_complete".
25445 * elf/rtld-debugger-interface.txt: New file documenting the above.
25446
25447 2012-07-26 Roland McGrath <roland@hack.frob.com>
25448
25449 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25450 rather than a string variable.
25451 * sunrpc/rpc_main.c (h_output): Likewise.
25452 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25453
25454 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25455
25456 * inet/check_native.c: New file.
25457
25458 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25459
25460 [BZ #13629]
25461 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25462 if larger part has absolute value 1.0.
25463 * math/s_clog10.c (__clog10): Likewise.
25464 * math/s_clog10f.c (__clog10f): Likewise.
25465 * math/s_clog10l.c (__clog10l): Likewise.
25466 * math/s_clogf.c (__clogf): Likewise.
25467 * math/s_clogl.c (__clogl): Likewise.
25468 * math/libm-test.inc (clog_test): Add more tests.
25469 (clog10_test): Likewise.
25470 * sysdeps/i386/fpu/libm-test-ulps: Update.
25471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25472
25473 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25474 (pltexit): Likewise.
25475 (La_regs): Likewise.
25476 (La_retval): Likewise.
25477 (int_retval): Likewise.
25478 Update #error for removed macros to refer only to definitions in
25479 tst-audit.h.
25480 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25481 macro.
25482 (pltexit): Likewise.
25483 (La_regs): Likewise.
25484 (La_retval): Likewise.
25485 (int_retval): Likewise.
25486 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25487 macro.
25488 (pltexit): Likewise.
25489 (La_regs): Likewise.
25490 (La_retval): Likewise.
25491 (int_retval): Likewise.
25492 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25493 macro.
25494 (pltexit): Likewise.
25495 (La_regs): Likewise.
25496 (La_retval): Likewise.
25497 (int_retval): Likewise.
25498 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25499 macro.
25500 (pltexit): Likewise.
25501 (La_regs): Likewise.
25502 (La_retval): Likewise.
25503 (int_retval): Likewise.
25504 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25505 macro.
25506 (pltexit): Likewise.
25507 (La_regs): Likewise.
25508 (La_retval): Likewise.
25509 (int_retval): Likewise.
25510 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25511 macro.
25512 (pltexit): Likewise.
25513 (La_regs): Likewise.
25514 (La_retval): Likewise.
25515 (int_retval): Likewise.
25516 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25517 macro definitions in tst-audit.h.
25518 * sysdeps/i386/tst-audit.h: New file.
25519 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25520 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25521 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25522 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25523 * sysdeps/sh/tst-audit.h: Likewise.
25524 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25525 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25526 * sysdeps/x86_64/tst-audit.h: Likewise.
25527
25528 2012-07-26 Andreas Jaeger <aj@suse.de>
25529
25530 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25531 ptrace.
25532
25533 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25534 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25535 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25536 PTRACE_O_MASK.
25537 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25538 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25539 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25540
25541 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25542 value.
25543
25544 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25545 _sigsys.
25546 (si_call_addr, si_syscall, si_arch): Define new macro.
25547 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25548 _sigsys.
25549 (si_call_addr, si_syscall, si_arch): Define new marcro.
25550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25551 _sigsys.
25552 (si_call_addr, si_syscall, si_arch): Define new macro.
25553 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25554 _sigsys.
25555 (si_call_addr, si_syscall, si_arch): Define new macro.
25556
25557 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25558
25559 [BZ #13717]
25560 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25561 Change to 2.4.21 where previously 2.4.1.
25562 * sysdeps/unix/sysv/linux/configure: Regenerated.
25563 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25564 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25565 Linux kernel version.
25566 (__ASSUME_STD_AUXV): Remove.
25567 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25568 kernel version.
25569 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25570 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25571 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25572 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25573 (__ASSUME_NETLINK_SUPPORT): Likewise.
25574 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25575 (__no_netlink_support): Remove conditional definition.
25576 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25577 Remove.
25578 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25579 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25580 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25581 (if_nameindex_ioctl): Remove.
25582 (if_nameindex_netlink): Do not handle __no_netlink_support.
25583 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25584 code.
25585 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25586 Remove conditional code.
25587 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25588 code.
25589 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25590 unconditional.
25591 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25592 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25593 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25594 Remove.
25595 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25596 [!__ASSUME_STD_AUXV]: Remove conditional code.
25597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25598 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25599 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25601 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25602 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25603 code.
25604 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25606 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25607 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25608 conditional code.
25609 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25611 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25612 code.
25613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25614 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25615 conditional code.
25616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25617 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25618 code unconditional.
25619 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25620 conditional code.
25621 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25622 unconditional.
25623 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25624 conditional code.
25625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25626 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25627 unconditional.
25628 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25629 conditional code.
25630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25631 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25632 code unconditional.
25633 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25634 conditional code.
25635 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25636 unconditional.
25637 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25638 conditional code.
25639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25640 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25641 code unconditional.
25642 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25643 conditional code.
25644 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25645 unconditional.
25646 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25647 conditional code.
25648
25649 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25650
25651 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25652 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25653 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25654 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25655 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25656 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25657 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25658 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25659 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25660 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25661 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25662 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25663 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25664 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25665 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25666 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25667 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25668 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25669 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25671 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25672 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25673 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25674
25675 2012-07-25 Florian Weimer <fweimer@redhat.com>
25676
25677 * Versions.def: Add GLIBC_2.17.
25678 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25679 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25680 Introduce __libc_secure_getenv.
25681 * stdlib/Versions (2.17): Add secure_getenv
25682 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25683 * stdlib/secure-getenv.c: Rename __secure_getenv to
25684 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25685 symbol __secure_getenv for GLIBC_2.0.
25686 * stdlib/tst-secure-getenv.c: New.
25687 * stdlib/Makefile (tests): Add testcase.
25688 * manual/startup.texi (Environment Access): Document
25689 secure_getenv.
25690 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25691 __libc_secure_getenv.
25692 * inet/ruserpass.c (ruserpass): Likewise.
25693 * malloc/mtrace.c (mtrace): Likewise.
25694 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25695 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25696 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25697 * sysdeps/posix/tempname.c: Likewise. Evaluate
25698 HAVE_SECURE_GETENV.
25699 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25700 __secure_getenv to __libc_secure_getenv.
25701 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25703 Likewise.
25704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25705 Likewise.
25706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25708 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25713
25714 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25715
25716 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25717 (struct La_i86_retval): Likewise.
25718 (struct La_x86_64_regs): Likewise.
25719 (struct La_x86_64_retval): Likewise.
25720 (struct La_x32_regs): Likewise.
25721 (struct La_x32_retval): Likewise.
25722 (struct La_ppc32_regs): Likewise.
25723 (struct La_ppc32_retval): Likewise.
25724 (struct La_ppc64_regs): Likewise.
25725 (struct La_ppc64_retval): Likewise.
25726 (struct La_sh_regs): Likewise.
25727 (struct La_sh_retval): Likewise.
25728 (struct La_s390_32_regs): Likewise.
25729 (struct La_s390_32_retval): Likewise.
25730 (struct La_s390_64_regs): Likewise.
25731 (struct La_s390_64_retval): Likewise.
25732 (struct La_sparc32_regs): Likewise.
25733 (struct La_sparc32_retval): Likewise.
25734 (struct La_sparc64_regs): Likewise.
25735 (struct La_sparc64_retval): Likewise.
25736 (struct audit_ifaces): Remove architecture-specific pltenter and
25737 pltexit members.
25738 * sysdeps/i386/ldsodefs.h: New file.
25739 * sysdeps/powerpc/ldsodefs.h: Likewise.
25740 * sysdeps/s390/ldsodefs.h: Likewise.
25741 * sysdeps/sh/ldsodefs.h: Likewise.
25742 * sysdeps/sparc/ldsodefs.h: Likewise.
25743 * sysdeps/x86_64/ldsodefs.h: Likewise.
25744
25745 2012-07-25 Marek Polacek <polacek@redhat.com>
25746
25747 [BZ #6808]
25748 * math/libm-test.inc (yn_test): Add another test.
25749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25750 to ERANGE when the result is +-Inf.
25751 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25752 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25753 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25754 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25755
25756 2012-07-24 Joseph Myers <joseph@codesourcery.com>
25757
25758 * conform/data/time.h-data (NULL): Use macro-constant. Require
25759 equal to 0.
25760 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25761 clock_t.
25762 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25763
25764 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25765
25766 * configure.in <sysdeps resolving>: Correct printing
25767 Implies_before.
25768 * configure: Regenerate.
25769
25770 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25771
25772 * math/w_ilogb.c: Include <limits.h>.
25773 * math/w_ilogbl.c: Likewise.
25774
25775 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25776
25777 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25778 va_copy. Document allowing for unavailable va_copy only as
25779 pre-C99 compatibility.
25780 * manual/string.texi (Copying and Concatenation): Use va_copy
25781 instead of __va_copy in concat example.
25782
25783 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25784
25785 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25786 (__sendto): Use create_address_port. Initialize APORT and deallocate
25787 it if not null.
25788
25789 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25790 with O_NOLINK passed to __file_name_lookup.
25791
25792 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25793 with O_NOLINK passed to __file_name_lookup.
25794
25795 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25796 negative N or less than NGIDS.
25797
25798 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25799 type to string_t. Set ERANGE as errno and return it if NAME is not big
25800 enough. Use memcpy instead of strncpy.
25801
25802 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25803
25804 * elf/Makefile (check-data): Remove.
25805 (localplt.data): New vpath directive.
25806 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25807 instead of $(check-data).
25808 * scripts/data/localplt-generic.data: Move to ...
25809 * sysdeps/generic/localplt.data: ... here.
25810 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25811 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25812 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25814 ... here.
25815 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25817 ... here.
25818 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25820 ... here.
25821 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25823 ... here.
25824 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25826 ... here.
25827 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25829 ... here.
25830
25831 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25832
25833 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25834 PPC32 and PPC64 files.
25835 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25836 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25837
25838 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25839
25840 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25841 __makecontext_ret to ...
25842 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25843 ... here and call exit if uc_link is NULL. New file.
25844 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25845 __makecontext_ret.S.
25846 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25847 __makecontext_ret to ...
25848 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25849 ... here and call exit if uc_link is NULL. New file.
25850 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25851 __makecontext_ret.S.
25852
25853 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25854
25855 * elf/elf.h (R_390_IRELATIVE): New definition.
25856 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25857 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25858 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25859 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25860 (elf_machine_lazy_rel): Likewise.
25861 * sysdeps/s390/dl-irel.h: New file.
25862 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25863 * sysdeps/s390/s390-64/memset.S: New asm code.
25864 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25865 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25866 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25867 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25868 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25869 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25870 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25871 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25872 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25873 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25874 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25875 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25876 * sysdeps/s390/s390-32/memset.S: New asm code.
25877 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25878
25879 2012-07-17 Marek Polacek <polacek@redhat.com>
25880
25881 [BZ #14349]
25882 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25883 * sysdeps/s390/s390-64/configure.in: Likewise.
25884 * sysdeps/sparc/configure.in: Likewise.
25885 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25886 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25887 * sysdeps/i386/configure.in: Likewise.
25888 * sysdeps/x86_64/configure.in: Likewise.
25889 * sysdeps/sh/configure.in: Likewise.
25890 * sysdeps/s390/s390-32/configure: Regenerated.
25891 * sysdeps/s390/s390-64/configure: Likewise.
25892 * sysdeps/x86_64/configure: Likewise.
25893 * sysdeps/sh/configure: Likewise.
25894 * sysdeps/powerpc/powerpc64/configure: Likewise.
25895 * sysdeps/powerpc/powerpc32/configure: Likewise.
25896 * sysdeps/sparc/configure: Likwise.
25897 * sysdeps/i386/configure: Likewise.
25898
25899 * elf/dl-open.c: Comment fixes.
25900
25901 2012-07-17 Joseph Myers <joseph@codesourcery.com>
25902
25903 * Makefile [CXX] (check-data): Remove.
25904 [CXX] (c++-types.data): New vpath directive.
25905 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25906 vpath. Do not allow for C++ type data being missing.
25907 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25908 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25909 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25910 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25911 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25912 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25913 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25915 ... here.
25916 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25918 ... here.
25919 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25921 ... here.
25922 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25924 ... here.
25925 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25927 ... here.
25928 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25930 ... here.
25931 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25933 ... here.
25934 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25936
25937 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25938 definitions to architecture-specific files.
25939 (TLS_IE): Likewise.
25940 (TLS_LD): Likewise.
25941 (TLS_GD): Likewise.
25942 * sysdeps/i386/tls-macros.h: New file.
25943 * sysdeps/powerpc/tls-macros.h: Likewise.
25944 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25945 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25946 * sysdeps/sh/tls-macros.h: Likewise.
25947 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25948 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25949 * sysdeps/x86_64/tls-macros.h: Likewise.
25950
25951 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25952
25953 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25954 zero value for regular exit case.
25955
25956 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25957 (__start_context): Preserve zero value for regular exit case.
25958
25959 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25960 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25961
25962 * manual/setjmp.texi (setcontext): Clarify normal process
25963 termination when uc_link is the null pointer.
25964 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25965 exit call.
25966
25967 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25968
25969 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25970 preprocessor. Test for each exception mask separately.
25971
25972 2012-07-16 Andreas Jaeger <aj@suse.de>
25973
25974 * po/ru.po: Update from translation team.
25975
25976 2012-07-15 Joseph Myers <joseph@codesourcery.com>
25977
25978 * conform/data/string.h-data (NULL): Use macro-constant. Require
25979 equal to 0.
25980 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25981 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25982 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25983 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25984 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25985
25986 2012-07-13 Andreas Jaeger <aj@suse.de>
25987
25988 * po/fr.po: Update from translation team.
25989
25990 2012-07-12 Marek Polacek <polacek@redhat.com>
25991
25992 [BZ #14173]
25993 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25994 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25995 loop condition.
25996
25997 2012-07-12 Joseph Myers <joseph@codesourcery.com>
25998
25999 [BZ #13717]
26000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26001 Change to 2.4.1 where previously 2.4.0.
26002 * sysdeps/unix/sysv/linux/configure: Regenerated.
26003 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26004 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26005 version.
26006 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26007 (__ASSUME_AT_CLKTCK): Remove.
26008 (__ASSUME_AT_PAGESIZE): Likewise.
26009 (__ASSUME_AT_XID): Likewise.
26010 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26011 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26012 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26013 unconditionally.
26014 (HAVE_AUX_PAGESIZE): Likewise.
26015 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26016 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26017 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26018
26019 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26020
26021 [BZ #14307]
26022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26023 the temporary buffer used to invoke __gethostbyname2_r,
26024 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26025 host_data / struct gaih_addrtuple.
26026 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26027 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26028 header file nss/nsswitch.h.
26029 * nss/nsswitch.h (global scope): Add definition of implementation
26030 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26031 resolv/nss_dns/dns-host.c).
26032
26033 2012-07-11 Andreas Jaeger <aj@suse.de>
26034
26035 * po/fr.po: Update from translation team.
26036
26037 * po/sv.po: Update from translation team
26038 * po/fr.po: Another update from translation team.
26039
26040 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26041
26042 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26043 for subnormals or multiply small sinh result by itself.
26044 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26046
26047 2012-07-11 David S. Miller <davem@davemloft.net>
26048
26049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26050
26051 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26052
26053 [BZ #14347]
26054 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26055 (INTERNAL_MARK): Shift it here.
26056
26057 2012-07-10 Marek Polacek <polacek@redhat.com>
26058
26059 [BZ #14151]
26060 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26061 libc_cv_asm_global_directive with .globl.
26062 * configure: Regenerated.
26063 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26064 with .globl.
26065 * sysdeps/i386/configure: Regenerated.
26066 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26067 with .globl.
26068 * sysdeps/x86_64/configure: Regenerated.
26069 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26070 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26071 * elf/tst-unique2mod2.c: Likewise.
26072 * elf/tst-unique2mod1.c: Likewise.
26073 * elf/tst-unique1mod2.c: Likewise.
26074 * elf/tst-unique1mod1.c: Likewise.
26075 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26076 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26077 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26078 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26079 * sysdeps/mach/sysdep.h: Likewise.
26080 * sysdeps/i386/sysdep.h: Likewise.
26081 * sysdeps/i386/i386-mcount.S: Likewise.
26082 * sysdeps/x86_64/_mcount.S: Likewise.
26083 * sysdeps/x86_64/sysdep.h: Likewise.
26084 * sysdeps/sh/_mcount.S: Likewise.
26085 * sysdeps/sh/sysdep.h: Likewise.
26086 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26087 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26088 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26089 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26090 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26091 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26092 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26093 * locale/localeinfo.h: Likewise.
26094 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26095 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26096
26097 2012-07-09 Roland McGrath <roland@hack.frob.com>
26098
26099 [BZ #14336]
26100 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26101 system".
26102 * manual/message.texi (The Uniforum approach): Likewise.
26103 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26104 (glibc iconv Implementation): Likewise.
26105
26106 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26107
26108 [BZ #14337]
26109 * math/s_clog.c (__clog): Avoid scaling a value down where that
26110 could result in underflow.
26111 * math/s_clog10.c (__clog10): Likewise.
26112 * math/s_clog10f.c (__clog10f): Likewise.
26113 * math/s_clog10l.c (__clog10l): Likewise.
26114 * math/s_clogf.c (__clogf): Likewise.
26115 * math/s_clogl.c (__clogl): Likewise.
26116 * math/libm-test.inc (clog_test): Add more tests.
26117 (clog10_test): Likewise.
26118 * sysdeps/i386/fpu/libm-test-ulps: Update.
26119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26120
26121 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26122
26123 [BZ #14283]
26124 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26125 by 7 not 8 to examine high bit of fractional part.
26126
26127 [BZ #14042]
26128 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26129 for call to __mcount_internal.
26130 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26131 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26132 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26133
26134 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26135
26136 [BZ #14154]
26137 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26138 approximation for values within 0x1p-13f of an odd multiple of
26139 pi/4.
26140 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26141 exception. Add more tests.
26142 * sysdeps/i386/fpu/libm-test-ulps: Update.
26143
26144 [BZ #6778]
26145 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26146 inputs and return -1 for them. Do not check for +Inf in case not
26147 reachable for +Inf.
26148 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26149 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26150 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26151 and return -1 for them. Do not check for +Inf in case not
26152 reachable for +Inf.
26153 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26154 define.
26155 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26156 and return -1 for them. Do not check for +Inf in case not
26157 reachable for +Inf.
26158 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26159 spurious underflow.
26160 * sysdeps/i386/fpu/libm-test-ulps: Update.
26161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26162
26163 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26164
26165 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26166
26167 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26168
26169 [BZ #14157]
26170 [BZ #14331]
26171 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26172 could result in spurious underflow. Scale down values above
26173 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26174 * math/s_csqrtf.c (__csqrtf): Likewise.
26175 * math/s_csqrtl.c (__csqrtl): Likewise.
26176 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26177 spurious underflow.
26178 * sysdeps/i386/fpu/libm-test-ulps: Update.
26179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26180
26181 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26182
26183 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26184 xopen-msg.sed.
26185 * catgets/xopen-msg.awk: New file.
26186 * catgets/xopen-msg.sed: Removed.
26187
26188 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26189 po2text.sed.
26190 * intl/po2test.awk: New file.
26191 * intl/po2test.sed: Removed.
26192
26193 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26194
26195 [BZ #14328]
26196 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26197 or multiply small sinh result by itself.
26198 * math/s_ctanf.c (__ctanf): Likewise.
26199 * math/s_ctanh.c (__ctanh): Likewise.
26200 * math/s_ctanhf.c (__ctanhf): Likewise.
26201 * math/s_ctanhl.c (__ctanhl): Likewise.
26202 * math/s_ctanl.c (__ctanl): Likewise.
26203 * math/libm-test.inc (ctan_test_tonearest): New function.
26204 (ctan_test_towardzero): Likewise.
26205 (ctan_test_downward): Likewise.
26206 (ctan_test_upward): Likewise.
26207 (ctanh_test_tonearest): Likewise.
26208 (ctanh_test_towardzero): Likewise.
26209 (ctanh_test_downward): Likewise.
26210 (ctanh_test_upward): Likewise.
26211 (main): Call these new functions.
26212 * sysdeps/i386/fpu/libm-test-ulps: Update.
26213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26214
26215 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26216
26217 * .gitignore: Delete /ports entry.
26218
26219 2012-07-03 Andreas Jaeger <aj@suse.de>
26220
26221 * po/bg.po: Update from translation team.
26222 * po/cs.po: Likewise.
26223 * po/de.po: Likewise.
26224 * po/hr.po: Likewise.
26225 * po/nl.pl: Likewise.
26226 * po/pl.po: Likewise.
26227 * po/vi.po: Likewise.
26228
26229 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26230
26231 * Makeconfig [!+link] (+link-before-libc): New variable.
26232 [!+link] (+link-after-libc): Likewise.
26233 [!+link] (+link-tests): Likewise.
26234 [!+link] (+link): Define in terms of $(+link-before-libc) and
26235 $(+link-after-libc).
26236 [!+link-static] (+link-static-before-libc): New variable.
26237 [!+link-static] (+link-static-after-libc): Likewise.
26238 [!+link-static] (+link-static-tests): Likewise.
26239 [!+link-static] (+link-static): Define in terms of
26240 $(+link-static-before-libc) and $(+link-static-after-libc).
26241 [build-shared] (link-libc-before-gnulib): New variable.
26242 [build-shared] (link-libc-tests): Likewise.
26243 [build-shared] (link-libc): Define in terms of
26244 $(link-libc-before-gnulib).
26245 [!build-shared] (link-libc-tests): New variable.
26246 (link-libc-static-tests): New variable.
26247 [!gnulib] (gnulib-arch): New variable.
26248 [!gnulib] (gnulib-tests): Likewise.
26249 [!gnulib] (static-gnulib-arch): Likewise.
26250 [!gnulib] (static-gnulib-tests): Likewise.
26251 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26252 Define with "=" instead of ":=".
26253 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26254 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26255 * Rules (binaries-all-notests): New variable.
26256 (binaries-all-tests): Likewise.
26257 (binaries-static-notests): Likewise.
26258 (binaries-static-tests): Likewise.
26259 (binaries-all): Define using $(binaries-all-notests) and
26260 $(binaries-all-tests).
26261 (binaries-static): Define using $(binaries-static-notests) and
26262 $(binaries-static-tests).
26263 (binaries-shared-tests): New variable.
26264 (binaries-shared-notests): Likewise.
26265 (binaries-shared): Remove variable.
26266 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26267 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26268 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26269 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26270 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26271 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26272 * elf/Makefile (sln-modules): New variable.
26273 (extra-objs): Add $(sln-modules:=.o).
26274 (ldconfig-modules): Add static-stubs.
26275 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26276 * elf/static-stubs.c: New file.
26277
26278 [BZ #14283]
26279 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26280 by 7 not 8 to examine high bit of fractional part. Use volatile
26281 variables when splitting into final array of floats if
26282 __FLT_EVAL_METHOD__ != 0.
26283 * math/libm-test.inc (cos_test): Add another test.
26284 (sin_test): Likewise.
26285 * sysdeps/i386/fpu/libm-test-ulps: Update.
26286
26287 [BZ #14273]
26288 * math/libm-test.inc (cosh_test): Add more tests.
26289
26290 * version.h (RELEASE): Set to "development".
26291 (VERSION): Set to "2.16.90".
26292
26293 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26294
26295 * NEWS: Update copyright. Remove last-updated date.
26296 Mention math library bug fixes and timezone data changes.
26297 * README: Mention GNU/Hurd, x32, and HPPA support status.
26298
26299 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26300
26301 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26302
26303 2012-06-27 Andreas Jaeger <aj@suse.de>
26304
26305 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26306
26307 2012-06-25 Andreas Jaeger <aj@suse.de>
26308
26309 * sysdeps/s390/fpu/libm-test-ulps: Update.
26310
26311 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26312 Thomas Schwinge <thomas@codesourcery.com>
26313
26314 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26315 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26317 fanotify_mark.
26318
26319 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26320
26321 * sysdeps/mach/start.c: Remove file.
26322 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26323 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26324 * sysdeps/sh/init-first.c: Likewise.
26325
26326 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26327 registers for frame unwinding purposes, add CFI directives.
26328 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26329 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26330 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26331 Likewise.
26332
26333 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26334 __fortify_fail returning.
26335 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26336
26337 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26338 sysdeps/sh/____longjmp_chk.S.
26339 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26340 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26341 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26342 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26343
26344 * sysdeps/sh/abort-instr.h: New file.
26345 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26346 process in case exit returns.
26347
26348 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26349 initialize the GOT register before use.
26350
26351 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26352 calculation of ARGC > 4.
26353
26354 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26355 meaningful names to some local labels.
26356
26357 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26358 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26359
26360 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26361 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26362 (__arch_compare_and_exchange_val_16_acq): Likewise.
26363 (__arch_compare_and_exchange_val_32_acq): Likewise.
26364 (atomic_exchange_and_add): Fix gUSA sequence.
26365 (atomic_add): Likewise.
26366 (atomic_add_negative): Likewise.
26367 (atomic_add_zero): Likewise.
26368 (atomic_bit_test_set): Likewise.
26369
26370 2012-06-22 Andreas Schwab <schwab@redhat.com>
26371
26372 [BZ #13579]
26373 * include/link.h (struct link_map): Add l_free_initfini.
26374 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26375 l_initfini.
26376 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26377 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26378 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26379 set.
26380
26381 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26382
26383 * configure.in: Use AC_LANG_SOURCE.
26384 * configure: Regenerate.
26385
26386 2012-06-22 Roland McGrath <roland@hack.frob.com>
26387
26388 * configure.in (libc_cv_localstatedir): New substituted variable.
26389 * configure: Regenerated.
26390 * config.make.in (localstatedir): New variable, substituted from
26391 libc_cv_localstatedir.
26392 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26393 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26394 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26395 * sysdeps/gnu/configure: Regenerated.
26396
26397 2012-06-21 Jeff Law <law@redhat.com>
26398
26399 [BZ #14277]
26400 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26401 free. Simplify list management for _LIBC case.
26402
26403 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26404
26405 [BZ #14273]
26406 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26407 Clear sign bit of 64-bit integer value before comparing against
26408 overflow value.
26409
26410 * sysdeps/mach/configure: Regenerated.
26411
26412 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26413
26414 [BZ #14278]
26415 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26416
26417 2012-06-21 Jeff Law <law@redhat.com>
26418
26419 [BZ #13882]
26420 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26421 uint16_t for elements in the "seen" array to avoid char overflows.
26422 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26423 * elf/dl-open.c (dl_open_worker): Likewise.
26424
26425 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26426
26427 * scripts/list-sources.sh: Scan PORTS for translations.
26428 * po/libc.pot: Regenerated.
26429
26430 2012-06-21 Andreas Jaeger <aj@suse.de>
26431
26432 [BZ #12194]
26433 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26434 warning.
26435 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26436 * bits/byteswap-16.h (__bswap_16): Likewise.
26437 * bits/byteswap.h (__bswap_constant_16): Likewise.
26438
26439 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26440
26441 [BZ #14117]
26442 * sysdeps/i386/fpu_control.h: Removed.
26443 * sysdeps/x86_64/fpu_control.h: Moved to ...
26444 * sysdeps/x86/fpu_control.h: Here.
26445
26446 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26447 (_FPU_SETCW): Likewise.
26448
26449 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26450
26451 [BZ #14117]
26452 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26453 * sysdeps/x86/fpu/bits/mathinline.h: This.
26454 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26455
26456 [BZ #14050]
26457 [BZ #14117]
26458 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26459 functions if __x86_64__ is defined.
26460
26461 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26462
26463 * string/endian.h: Add !__ASSEMBLER__ condition for including
26464 conversion interfaces.
26465
26466 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26467
26468 [BZ #14241]
26469 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26470 of ABS(x) in calculating zero to negative powers other than odd
26471 integers.
26472 * math/libm-test.inc (pow_test): Add more tests.
26473
26474 2012-06-15 Andreas Jaeger <aj@suse.de>
26475
26476 * manual/contrib.texi (Contributors): Update entry of Liubov
26477 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26478 Machado Filho.
26479
26480 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26481
26482 * string/string.h: Add __wur to GNU version of strerror_r.
26483
26484 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26485
26486 [BZ #14229]
26487 * string/Makefile (tests): Add tst-strtok_r.
26488 * string/tst-strtok_r.c: New file.
26489 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26490 RAX_LP/RDX_LP on SAVE_PTR.
26491
26492 2012-06-14 Roland McGrath <roland@hack.frob.com>
26493
26494 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26495
26496 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26497
26498 * libm_test.inc (csqrt_test): Allow more spurious underflow
26499 exceptions.
26500 (j0_test): Likewise.
26501 (j1_test): Likewise.
26502 (y0_test): Likewise.
26503 (y1_test): Likewise.
26504
26505 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26506
26507 * po/Makefile (libc.pot): Use UTF-8 charset.
26508
26509 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26510
26511 [BZ #14210]
26512 Suppress sign-conversion warning from FD_SET.
26513 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26514 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26515 not unsigned long int.
26516 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26517
26518 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26519
26520 [BZ #14050]
26521 [BZ #14117]
26522 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26523 __extern_always_inline instead of __extern_inline.
26524 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26525 (__signbit): Likewise.
26526 (__signbitl): Support C++ namespace.
26527 (lrintf): New inline function.
26528 (lrint): Likewise.
26529 (llrintf): Likewise.
26530 (llrint): Likewise.
26531 (fmaxf): Likewise.
26532 (fmax): Likewise.
26533 (fminf): Likewise.
26534 (fmin): Likewise.
26535 (rint): Likewise.
26536 (rintf): Likewise.
26537 (ceil): Likewise.
26538 (ceilf): Likewise.
26539 (floor): Likewise.
26540 (floorf): Likewise.
26541 (nearbyint): Likewise.
26542 (nearbyintf): Likewise.
26543
26544 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26545
26546 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26547 non-default versions.
26548
26549 2012-06-11 Roland McGrath <roland@hack.frob.com>
26550
26551 [BZ #14218]
26552 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26553
26554 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26555
26556 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26557 (FE_UPWARD, FE_DOWNWARD): Don't define.
26558 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26559 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26560
26561 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26562 reading it.
26563 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26564 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26565
26566 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26567
26568 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26570 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26571 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26572
26573 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26574
26575 [BZ #14117]
26576 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26577 * sysdeps/i386/fpu/Implies: New file.
26578 * sysdeps/x86_64/fpu/Implies: Likewise.
26579 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26580 * sysdeps/x86/fpu/bits/fenv.h: This.
26581
26582 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26583 __SSE_MATH__.
26584
26585 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26586
26587 [BZ #14134]
26588 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26589 character 0xffff that matches the last element of the
26590 conversion table.
26591
26592 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26593
26594 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26595 fmodl commit.
26596
26597 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26598
26599 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26600 values higher than 25.6283.
26601
26602 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26603
26604 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26605 subnormal exponent extraction and add some __builtin_expect.
26606 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26607 Fix for subnormal mantissa calculation.
26608
26609 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26610
26611 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26612 cpu2 is -1 and errno is not ENOSYS.
26613
26614 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26615
26616 [BZ #14117]
26617 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26618 * sysdeps/x86/bits/string.h: This.
26619 * sysdeps/x86_64/bits/string.h: Removed.
26620
26621 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26622 if not compiling for x86-64, but compiling for >= i486.
26623
26624 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26625 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26626
26627 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26628 New macro from Linux kernel 3.4.0.
26629 (FP_XSTATE_MAGIC2): Likewise.
26630 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26631 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26632 (struct _fpx_sw_bytes): New struct.
26633 (struct _xsave_hdr): Likewise.
26634 (struct _ymmh_state): Likewise.
26635 (struct _xstate): Likewise.
26636
26637 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26638 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26639 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26640 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26641 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26642 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26643
26644 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26645 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26646 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26647 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26648 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26649 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26650
26651 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26652
26653 [BZ #13743]
26654 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26655 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26656 (sysdep_headers): Include sys/platform/ppc.h.
26657 * sysdeps/powerpc/test-gettimebase.c: Test for
26658 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26659 * manual/Makefile (appendices): Include platform.texi.
26660 * manual/contrib.texi (Contributors): Update @node pointers.
26661 * manual/maint.texi (Maintenance): Likewise.
26662 (Platform): New node.
26663 * manual/platform.texi: New file. Document the new features.
26664
26665 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26666 Jakub Jelinek <jakub@redhat.com>
26667
26668 [BZ #14188]
26669 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26670 where __builtin_expect is unavailable.
26671
26672 2012-06-03 David S. Miller <davem@davemloft.net>
26673
26674 * stdlib/longlong.h: Updated from GCC.
26675
26676 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26677
26678 [BZ #14042]
26679 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26680 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26681 __mcount_internal.
26682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26683 (GLIBC_2.16): Likewise.
26684
26685 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26686
26687 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26688
26689 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26690
26691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26692 (default-abi): New variable.
26693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26694 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26695 variable.
26696 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26697 Likewise.
26698 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26699 Likewise.
26700 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26701 Likewise.
26702
26703 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26704 definition. Document in comment.
26705
26706 2012-06-01 David S. Miller <davem@davemloft.net>
26707
26708 * stdlib/longlong.h: Updated from GCC.
26709
26710 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26711
26712 [BZ #14117]
26713 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26714 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26715 sys/debugreg.h sys/io.h here.
26716 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26717 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26718 sys/io.h.
26719 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26720 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26721 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26722 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26723 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26724 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26725
26726 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26727 Define only if __x86_64__ is defined.
26728
26729 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26730
26731 [BZ #14048]
26732 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26733 Use int64_t for variable i.
26734 * math/libm-test.inc (fmod_test): Add more tests.
26735
26736 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26737 z computation is not scheduled after fetestexcept.
26738 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26739 Use math_force_eval instead of asm to ensure calculation scheduled
26740 before exception test.
26741 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26742 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26743
26744 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26745
26746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26747 computation is not scheduled after fetestexcept.
26748
26749 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26750
26751 [BZ #14117]
26752 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26753 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26754
26755 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26756
26757 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26758 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26759
26760 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26761
26762 [BZ #14117]
26763 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26764 <bits/wordsize.h>.
26765 (__WCHAR_MIN): Support __WORDSIZE == 64.
26766 (__WCHAR_MAX): Likewise.
26767
26768 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26769 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26770
26771 [BZ #14183]
26772 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26773 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26774
26775 [BZ #14117]
26776 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26777 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26778
26779 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26780 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26781
26782 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26783 Defined to 1 if __x86_64__ isn't defined.
26784 (_STAT_VER_LINUX_OLD): New.
26785 (st_atime): Remove duplicate.
26786 (st_mtime): Likewise.
26787 (st_ctime): Likewise.
26788
26789 2012-05-31 David S. Miller <davem@davemloft.net>
26790
26791 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26792 entries.
26793
26794 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26795
26796 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26797 gen-libm-test.pl.
26798
26799 [BZ #14132]
26800 * elf/dl-reloc.c: Include <_itoa.h>.
26801 (_dl_reloc_bad_type): Remove use of INTUSE.
26802 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26803 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26804 * stdio-common/psiginfo.c (psiginfo): Likewise.
26805 * stdio-common/psignal.c (psignal): Likewise.
26806 * string/strsignal.c (strsignal): Likewise.
26807 * include/signal.h (_sys_siglist): Declare hidden proto.
26808 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26809 INTVARDEF with libc_hidden_data_def.
26810 * stdio-common/itoa-udigits.c: Likewise.
26811 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26812 (_itoa_lower_digits_internal): Remove declaration.
26813 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26814 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26815 (_sys_sigabbrev_internal): Remove aliases.
26816 (_sys_siglist): Define hidden alias.
26817
26818 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26819
26820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26821 bits/sysctl.h.
26822
26823 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26824
26825 [BZ #14117]
26826 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26827 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26828
26829 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26830 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26831 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26832 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26834 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26835
26836 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26837 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26838 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26839
26840 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26841 with __addr.
26842 (insw): Likewise.
26843 (insl): Likewise.
26844 (outsb): Likewise.
26845 (outsw): Likewise.
26846 (outsl): Likewise.
26847
26848 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26849 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26850 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26851
26852 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26853 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26854 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26855 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26856 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26857 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26858
26859 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26860 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26861
26862 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26863 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26864
26865 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26866 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26867 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26868
26869 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26870 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26871 to ...
26872 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26873
26874 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26875 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26876 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26877
26878 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26879 for x86-64.
26880 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26881
26882 2012-05-31 Joseph Myers <joseph@codesourcery.com>
26883
26884 * math/math.h (M_El): Use two more decimal places.
26885 (M_LOG2El): Likewise.
26886 (M_LOG10El): Likewise.
26887 (M_LN2l): Likewise.
26888 (M_LN10l): Likewise.
26889 (M_PIl): Likewise.
26890 (M_PI_2l): Likewise.
26891 (M_PI_4l): Likewise.
26892 (M_1_PIl): Likewise.
26893 (M_2_PIl): Likewise.
26894 (M_2_SQRTPIl): Likewise.
26895 (M_SQRT2l): Likewise.
26896 (M_SQRT1_2l): Likewise.
26897
26898 2012-05-31 David S. Miller <davem@davemloft.net>
26899
26900 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26901 values between float registers.
26902 * sysdeps/sparc/sparc64/memset.S: Likewise.
26903 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26904
26905 2012-05-31 Mike Frysinger <vapier@gentoo.org>
26906
26907 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26908 -D_FORTIFY_SOURCE=1.
26909 (CPPFLAGS-tst-longjmp_chk.c): Define.
26910 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26911 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26912 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26913 CFLAGS-tst-wchar-h.c.
26914
26915 2012-05-31 Marek Polacek <polacek@redhat.com>
26916
26917 [BZ #14132]
26918 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26919 __endmntent_internal): Remove declaration.
26920 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26921 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26922 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26923
26924 2012-05-30 David S. Miller <davem@davemloft.net>
26925
26926 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26927 (___Q_simulate_exceptions): Use real FP ops rather than writing
26928 into the %fsr.
26929 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26930 Likewise.
26931
26932 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26933
26934 [BZ #14117]
26935 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26936 * sysdeps/x86/bits/xtitypes.h: This.
26937
26938 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26939 * sysdeps/x86/bits/wordsize.h: This.
26940
26941 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26942 * sysdeps/x86/bits/huge_vall.h: This.
26943
26944 * sysdeps/i386/bits/select.h: Removed.
26945 * sysdeps/x86_64/bits/select.h: Renamed to ...
26946 * sysdeps/x86/bits/select.h: This.
26947
26948 * sysdeps/i386/bits/setjmp.h: Removed.
26949 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26950 * sysdeps/x86/bits/setjmp.h: This.
26951
26952 * sysdeps/i386/bits/mathdef.h: Removed.
26953 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26954 * sysdeps/x86/bits/mathdef.h: This.
26955
26956 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26957
26958 [BZ #14132]
26959 * include/sys/socket.h (__connect_internal)
26960 (__libc_sa_len_internal): Remove declaration.
26961 (__connect, __libc_sa_len): Declare hidden_proto.
26962 (SA_LEN): Remove use of INTUSE.
26963 * socket/connect.c: Add libc_hidden_def.
26964 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26965 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26966 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26967 alias.
26968 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26969 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26970 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26971 of adding _internal alias.
26972
26973 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26974
26975 [BZ #14117]
26976 * sysdeps/i386/bits/link.h: Removed.
26977 * sysdeps/i386/bits/linkmap.h: Likewise.
26978 * sysdeps/x86_64/bits/link.h: Renamed to ...
26979 * sysdeps/x86/bits/link.h: This.
26980 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26981 * sysdeps/x86/bits/linkmap.h: This.
26982
26983 * sysdeps/i386/bits/endian.h: Removed.
26984 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26985 * sysdeps/x86/bits/endian.h: This.
26986
26987 * sysdeps/i386/bits/byteswap.h: Removed.
26988 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26989 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26990 * sysdeps/x86/bits/byteswap.h: This.
26991 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26992 * sysdeps/x86/bits/byteswap-16.h: This.
26993 * sysdeps/i386/Implies: Add x86.
26994 * sysdeps/x86_64/Implies: Likewise.
26995
26996 2012-05-30 David S. Miller <davem@davemloft.net>
26997
26998 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26999 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27000 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27001 (FP_TRAPPING_EXCEPTIONS): Define.
27002 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27003 (FP_TRAPPING_EXCEPTIONS): Define.
27004 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27005 subnormals only when inexact has been signalled or underflow
27006 exceptions are enabled.
27007 (_FP_PACK_CANONICAL): Likewise.
27008
27009 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27010
27011 [BZ #14183]
27012 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27013 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27014
27015 2012-05-30 Richard Henderson <rth@twiddle.net>
27016
27017 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27018 with #ifndef NOT_IN_libc.
27019
27020 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27021 marked to avoid plt entry.
27022
27023 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27024
27025 [BZ #14112]
27026 * Makeconfig (default-abi): New macro.
27027 (abi-includes): Likewise.
27028 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27029 $(abi-$(default-abi)-lib-soname) for soname if defined.
27030 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27031 abi-variants.
27032 * Makefile (installed-stubs): Likewise.
27033 * include/stubs-biarch.h: Removed.
27034 * scripts/lib-names.awk: Only handle one library at a time.
27035 * scripts/soversions.awk: Remove WORDSIZE support.
27036 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27037 entries.
27038 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27039 Removed.
27040 (syscall-list-default-condition): Likewise.
27041 (syscall-list-default-condition): Likewise.
27042 (syscall-list-includes): Likewise.
27043 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27044 syscall-list-* with abi-*. Handle undefined abi-variants.
27045 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27046 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27047 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27048 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27049 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27050 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27051 Removed.
27052 (syscall-list-32-options): Likewise.
27053 (syscall-list-32-condition): Likewise.
27054 (syscall-list-64-options): Likewise.
27055 (syscall-list-64-condition): Likewise.
27056 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27057 macro.
27058 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27059 Renamed to ...
27060 (abi-*): This.
27061 (abi-64-ld-soname): New macro.
27062 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27063 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27064 Renamed to ...
27065 (abi-*): This.
27066 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27067 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27068
27069 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27070
27071 * sysdeps/unix/sysv/linux/kernel-features.h
27072 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27073 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27074 include <kernel-features.h>.
27075 [!__NR_ftruncate64]: Remove conditional code.
27076 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27077 [__NR_ftruncate64]: Make code unconditional.
27078 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27079 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27080 include <kernel-features.h>.
27081 [!__NR_ftruncate64]: Remove conditional code.
27082 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27083 [__NR_ftruncate64]: Make code unconditional.
27084 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27086 include <kernel-features.h>.
27087 [!__NR_ftruncate64]: Remove conditional code.
27088 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27089 [__NR_ftruncate64]: Make code unconditional.
27090 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27092 include <kernel-features.h>.
27093 [!__NR_ftruncate64]: Remove conditional code.
27094 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27095 [__NR_ftruncate64]: Make code unconditional.
27096 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27097
27098 * configure.in (libc_cv_fpie): Weaken to a compile test using
27099 LIBC_TRY_CC_OPTION.
27100 * configure: Regenerated.
27101
27102 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27103
27104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27108 Refreshed.
27109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27115 Refreshed.
27116
27117 2012-05-27 David S. Miller <davem@davemloft.net>
27118
27119 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27120 (___Q_zero): New.
27121 (__Q_simulate_exceptions): Return void. Change to simulate
27122 exceptions by writing into the %fsr.
27123 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27124 (__Qp_handle_exceptions): Likewise.
27125 (numbers): Delete.
27126 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27127 __Qp_handle_exceptions.
27128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27129 __Qp_handle_exceptions.
27130 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27131 as unused and give dummy FP_RND_NEAREST initializer.
27132 (FP_INHIBIT_RESULTS): Define.
27133 (___Q_simulate_exceptions): Update declaration.
27134 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27135 formatting.
27136 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27137 as unused and give dummy FP_RND_NEAREST initializer.
27138 (__Qp_handle_exceptions): Update declaration.
27139 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27140 formatting.
27141
27142 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27143
27144 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27145 the temporary FPU control word.
27146 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27147 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27148 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27149 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27150 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27151 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27152 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27153 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27154 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27155 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27156 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27157
27158 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27159
27160 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27161 fields.
27162
27163 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27164
27165 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27166 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27167 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27168 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27169 Likewise.
27170 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27171 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27172 Likewise.
27173
27174 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27175
27176 * po/h.po: Update from translation team.
27177
27178 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27179
27180 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27181
27182 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27183 handling of denormals.
27184 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27185 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27186 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27187 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27189 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27191 Likewise.
27192
27193 2012-05-26 Marek Polacek <polacek@redhat.com>
27194
27195 [BZ #14152]
27196 * math/libm-test.inc (fma_test): Don't always expect underflow
27197 exception.
27198
27199 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27200
27201 [BZ #12416]
27202 * elf/tst-execstack.c: Include stackinfo.h.
27203 (do_test): Adjust test case to ensure that pthread_getattr_np
27204 behaviour remains the same after marking stack executable.
27205
27206 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27207
27208 * sysdeps/unix/sysv/linux/kernel-features.h
27209 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27210 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27211 kernel-features.h.
27212 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27213 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27214 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27215 kernel-features.h.
27216 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27217 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27218
27219 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27220
27221 * configure.in: Define the default includes to being none.
27222 * configure: Regenerated.
27223
27224 2012-05-25 Roland McGrath <roland@hack.frob.com>
27225
27226 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27227 * sysdeps/x86_64/setjmp.S: Likewise.
27228 * sysdeps/i386/bsd-setjmp.S: Likewise.
27229 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27230 * sysdeps/i386/setjmp.S: Likewise.
27231 * sysdeps/i386/__longjmp.S: Likewise.
27232 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27233 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27234
27235 * include/stap-probe.h: New file.
27236 * configure.in: Handle --enable-systemtap.
27237 * configure: Regenerated.
27238 * config.h.in (USE_STAP_PROBE): New #undef.
27239 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27240 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27241 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27242
27243 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27244
27245 [BZ #13717]
27246 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27247 to 2.4.0 where earlier.
27248 * sysdeps/unix/sysv/linux/configure: Regenerated.
27249 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27250 <kernel-features.h>.
27251 [__ASSUME_32BITUIDS]: Make code unconditional.
27252 [!__ASSUME_32BITUIDS]: Remove conditional code.
27253 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27254 <kernel-features.h>.
27255 [__ASSUME_32BITUIDS]: Make code unconditional.
27256 [!__ASSUME_32BITUIDS]: Remove conditional code.
27257 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27258 [__ASSUME_32BITUIDS]: Make code unconditional.
27259 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27260 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27261 <kernel-features.h>.
27262 [__ASSUME_32BITUIDS]: Make code unconditional.
27263 [!__ASSUME_32BITUIDS]: Remove conditional code.
27264 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27265 <kernel-features.h>.
27266 [__ASSUME_32BITUIDS]: Make code unconditional.
27267 [!__ASSUME_32BITUIDS]: Remove conditional code.
27268 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27269 <kernel-features.h>.
27270 [__ASSUME_32BITUIDS]: Make code unconditional.
27271 [!__ASSUME_32BITUIDS]: Remove conditional code.
27272 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27273 <kernel-features.h>.
27274 [__ASSUME_32BITUIDS]: Make code unconditional.
27275 [!__ASSUME_32BITUIDS]: Remove conditional code.
27276 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27277 <kernel-features.h>.
27278 [__ASSUME_32BITUIDS]: Make code unconditional.
27279 [!__ASSUME_32BITUIDS]: Remove conditional code.
27280 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27281 <kernel-features.h>.
27282 [__ASSUME_32BITUIDS]: Make code unconditional.
27283 [!__ASSUME_32BITUIDS]: Remove conditional code.
27284 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27285 <kernel-features.h>.
27286 [__ASSUME_32BITUIDS]: Make code unconditional.
27287 [!__ASSUME_32BITUIDS]: Remove conditional code.
27288 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27289 <kernel-features.h>.
27290 [__ASSUME_32BITUIDS]: Make code unconditional.
27291 [!__ASSUME_32BITUIDS]: Remove conditional code.
27292 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27293 <kernel-features.h>.
27294 [__ASSUME_32BITUIDS]: Make code unconditional.
27295 [!__ASSUME_32BITUIDS]: Remove conditional code.
27296 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27297 <kernel-features.h>.
27298 [__ASSUME_32BITUIDS]: Make code unconditional.
27299 [!__ASSUME_32BITUIDS]: Remove conditional code.
27300 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27301 <kernel-features.h>.
27302 [__NR_setresgid] (__setresgid): Do not declare.
27303 [__ASSUME_32BITUIDS]: Make code unconditional.
27304 [!__ASSUME_32BITUIDS]: Remove conditional code.
27305 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27306 <kernel-features.h>.
27307 [__NR_setresuid] (__setresuid): Do not declare.
27308 [__ASSUME_32BITUIDS]: Make code unconditional.
27309 [!__ASSUME_32BITUIDS]: Remove conditional code.
27310 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27311 <kernel-features.h>.
27312 [__ASSUME_32BITUIDS]: Make code unconditional.
27313 [!__ASSUME_32BITUIDS]: Remove conditional code.
27314 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27315 <kernel-features.h>.
27316 [__ASSUME_32BITUIDS]: Make code unconditional.
27317 [!__ASSUME_32BITUIDS]: Remove conditional code.
27318 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27319 <kernel-features.h>.
27320 [__ASSUME_32BITUIDS]: Make code unconditional.
27321 [!__ASSUME_32BITUIDS]: Remove conditional code.
27322 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27323 <kernel-features.h>.
27324 [__ASSUME_32BITUIDS]: Make code unconditional.
27325 [!__ASSUME_32BITUIDS]: Remove conditional code.
27326 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27327 <kernel-features.h>.
27328 [__ASSUME_32BITUIDS]: Make code unconditional.
27329 [!__ASSUME_32BITUIDS]: Remove conditional code.
27330 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27331 <kernel-features.h>.
27332 [__ASSUME_32BITUIDS]: Make code unconditional.
27333 [!__ASSUME_32BITUIDS]: Remove conditional code.
27334 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27335 <kernel-features.h>.
27336 [__ASSUME_32BITUIDS]: Make code unconditional.
27337 [!__ASSUME_32BITUIDS]: Remove conditional code.
27338 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27339 <kernel-features.h>.
27340 [__ASSUME_32BITUIDS]: Make code unconditional.
27341 [!__ASSUME_32BITUIDS]: Remove conditional code.
27342 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27343 <kernel-features.h>.
27344 [__ASSUME_32BITUIDS]: Make code unconditional.
27345 [!__ASSUME_32BITUIDS]: Remove conditional code.
27346 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27347 <kernel-features.h>.
27348 [__ASSUME_32BITUIDS]: Make code unconditional.
27349 [!__ASSUME_32BITUIDS]: Remove conditional code.
27350 * sysdeps/unix/sysv/linux/kernel-features.h
27351 (__ASSUME_SETRESUID_SYSCALL): Remove.
27352 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27353 (__ASSUME_32BITUIDS): Likewise.
27354 (__ASSUME_LDT_WORKS): Likewise.
27355 (__ASSUME_O_DIRECTORY): Likewise.
27356 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27357 architecture but not kernel version.
27358 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27359 (__ASSUME_MMAP2_SYSCALL): Likewise.
27360 (__ASSUME_STAT64_SYSCALL): Likewise.
27361 (__ASSUME_IPC64): Likewise.
27362 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27363 <kernel-features.h>.
27364 [__ASSUME_32BITUIDS]: Make code unconditional.
27365 [!__ASSUME_32BITUIDS]: Remove conditional code.
27366 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27367 <kernel-features.h>.
27368 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27369 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27370 132096]: Remove conditional code.
27371 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27372 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27373 <kernel-features.h>.
27374 [__ASSUME_32BITUIDS]: Make code unconditional.
27375 [!__ASSUME_32BITUIDS]: Remove conditional code.
27376 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27377 <kernel-features.h>.
27378 [__ASSUME_32BITUIDS]: Make code unconditional.
27379 [!__ASSUME_32BITUIDS]: Remove conditional code.
27380 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27381 <kernel-features.h>.
27382 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27383 unconditional.
27384 (__setresgid): Do not declare.
27385 [__ASSUME_32BITUIDS]: Make code unconditional.
27386 [!__ASSUME_32BITUIDS]: Remove conditional code.
27387 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27388 <kernel-features.h>.
27389 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27390 unconditional.
27391 (__setresuid): Do not declare.
27392 [__ASSUME_32BITUIDS]: Make code unconditional.
27393 [!__ASSUME_32BITUIDS]: Remove conditional code.
27394 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27395 <kernel-features.h>.
27396 [__ASSUME_32BITUIDS]: Make code unconditional.
27397 [!__ASSUME_32BITUIDS]: Remove conditional code.
27398 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27399 <kernel-features.h>.
27400 [__ASSUME_32BITUIDS]: Make code unconditional.
27401 [!__ASSUME_32BITUIDS]: Remove conditional code.
27402
27403 2012-05-25 Richard Henderson <rth@twiddle.net>
27404
27405 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27406 dl_hwcap to ifunc resolver.
27407 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27408 elf_ifunc_invoke.
27409 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27410 dl_hwcap to ifunc resolver.
27411 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27412
27413 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27414
27415 [BZ #14153]
27416 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27417 for |x| <= 2**-26, not 2**-57.
27418 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27419 exception.
27420
27421 2012-05-24 Jeff Law <law@redhat.com>
27422
27423 * stdio-common/Makefile (tests): Add bug25.
27424 * stdio-common/bug25.c: New test.
27425
27426 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27427
27428 [BZ #13576]
27429 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27430 multiple of MALLOC_ALIGNMENT in size.
27431 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27432
27433 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27434
27435 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27436 Require >= 256.
27437 (FILENAME_MAX): Use macro-int-constant.
27438 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27439 (_IOFBF): Use macro-int-constant.
27440 (_IOLBF): Likewise.
27441 (_IONBF): Likewise.
27442 (SEEK_CUR): Likewise.
27443 (SEEK_END): Likewise.
27444 (SEEK_SET): Likewise.
27445 (TMP_MAX): Likewise.
27446 (EOF): Use macro-int-constant. Require < 0.
27447 (NULL): Use macro-constant. Require == 0.
27448 (stdin): Require type to be FILE *.
27449 (stdout): Likewise.
27450 (stderr): Likewise.
27451 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27452 macro-int-constant.
27453 (EXIT_SUCCESS): Likewise.
27454 (NULL): Use macro-constant. Require == 0.
27455 (RAND_MAX): Use macro-int-constant.
27456 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27457 [C99-based standards] (strtof): Require function.
27458 [C99-based standards] (strtold): Likewise.
27459 [C99-based standards] (strtoll): Likewise.
27460 [C99-based standards] (strtoull): Likewise.
27461 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27462 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27463 [ISO || ISO99 || ISO11] (math.h): Likewise.
27464 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27465 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27467
27468 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27469
27470 [BZ #14132]
27471 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27472 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27473 * intl/dgettext.c (DCGETTEXT): Likewise.
27474 * intl/gettext.c (DCGETTEXT): Likewise.
27475 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27476 * posix/regex_internal.h (gettext): Likewise.
27477 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27478 Remove declaration.
27479 * include/argz.h (__argz_count_internal)
27480 (__argz_stringify_internal): Remove declaration.
27481 (__argz_count, __argz_stringify): Declare hidden proto.
27482 * intl/dcgettext.c: Remove use of INTDEF.
27483 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27484 * string/argz-stringify.c: Likewise.
27485 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27486 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27487 Declare hidden proto.
27488 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27489 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27490 Declare hidden proto.
27491 * include/stdio.h (__asprintf_internal): Don't declare.
27492 (__asprintf): Don't define as macro. Declare hidden proto.
27493 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27494 (__fsetlocking): Declare hidden proto.
27495 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27496 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27497 hidden proto.
27498 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27499 (_IO_setlinebuf): Remove use of INTUSE.
27500 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27501 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27502 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27503 Remove declaration.
27504 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27505 (_IO_do_flush): Remove use of INTUSE.
27506 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27507 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27508 (_IO_adjust_column, _IO_least_wmarker)
27509 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27510 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27511 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27512 (_IO_default_doallocate, _IO_wdefault_doallocate)
27513 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27514 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27515 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27516 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27517 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27518 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27519 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27520 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27521 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27522 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27523 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27524 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27525 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27526 proto.
27527 (_IO_flush_all_internal, _IO_adjust_column_internal)
27528 (_IO_default_uflow_internal, _IO_default_finish_internal)
27529 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27530 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27531 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27532 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27533 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27534 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27535 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27536 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27537 (_IO_file_close_internal, _IO_file_close_it_internal)
27538 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27539 (_IO_file_init_internal, _IO_file_attach_internal)
27540 (_IO_file_fopen_internal, _IO_file_read_internal)
27541 (_IO_file_sync_internal, _IO_file_seek_internal)
27542 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27543 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27544 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27545 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27546 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27547 (_IO_list_all_internal, _IO_link_in_internal)
27548 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27549 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27550 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27551 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27552 (_IO_do_write_internal, _IO_padn_internal)
27553 (_IO_getline_info_internal, _IO_getline_internal)
27554 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27555 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27556 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27557 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27558 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27559 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27560 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27561 with libc_hidden_ver, remove use of INTUSE.
27562 * libio/genops.c: Likewise.
27563 * libio/freopen.c: Likewise.
27564 * libio/freopen64.c: Likewise.
27565 * libio/iofclose.c: Likewise.
27566 * libio/iofdopen.c: Likewise.
27567 * libio/iofflush.c: Likewise.
27568 * libio/iofflush_u.c: Likewise.
27569 * libio/iofgets.c: Likewise.
27570 * libio/iofgets_u.c: Likewise.
27571 * libio/iofopen.c: Likewise.
27572 * libio/iofopncook.c: Likewise.
27573 * libio/iofread.c: Likewise.
27574 * libio/iofread_u.c: Likewise.
27575 * libio/ioftell.c: Likewise.
27576 * libio/iofwrite.c: Likewise.
27577 * libio/iogetline.c: Likewise.
27578 * libio/iogets.c: Likewise.
27579 * libio/iogetwline.c: Likewise.
27580 * libio/iopadn.c: Likewise.
27581 * libio/iopopen.c: Likewise.
27582 * libio/ioseekoff.c: Likewise.
27583 * libio/ioseekpos.c: Likewise.
27584 * libio/iosetbuffer.c: Likewise.
27585 * libio/iosetvbuf.c: Likewise.
27586 * libio/ioungetc.c: Likewise.
27587 * libio/ioungetwc.c: Likewise.
27588 * libio/iovdprintf.c: Likewise.
27589 * libio/iovsprintf.c: Likewise.
27590 * libio/iovsscanf.c: Likewise.
27591 * libio/memstream.c: Likewise.
27592 * libio/obprintf.c: Likewise.
27593 * libio/oldfileops.c: Likewise.
27594 * libio/oldiofclose.c: Likewise.
27595 * libio/oldiofdopen.c: Likewise.
27596 * libio/oldiofopen.c: Likewise.
27597 * libio/oldiopopen.c: Likewise.
27598 * libio/oldstdfiles.c: Likewise.
27599 * libio/putc.c: Likewise.
27600 * libio/setbuf.c: Likewise.
27601 * libio/setlinebuf.c: Likewise.
27602 * libio/stdfiles.c: Likewise.
27603 * libio/strops.c: Likewise.
27604 * libio/vasprintf.c: Likewise.
27605 * libio/vscanf.c: Likewise.
27606 * libio/vsnprintf.c: Likewise.
27607 * libio/vswprintf.c: Likewise.
27608 * libio/wfiledoalloc.c: Likewise.
27609 * libio/wfileops.c: Likewise.
27610 * libio/wgenops.c: Likewise.
27611 * libio/wmemstream.c: Likewise.
27612 * libio/wstrops.c: Likewise.
27613 * libio/__fpurge.c: Likewise.
27614 * libio/__fsetlocking.c: Likewise.
27615 * assert/assert.c: Likewise.
27616 * debug/fgets_chk.c: Likewise.
27617 * debug/fgets_u_chk.c: Likewise.
27618 * debug/fread_chk.c: Likewise.
27619 * debug/fread_u_chk.c: Likewise.
27620 * debug/gets_chk.c: Likewise.
27621 * debug/obprintf_chk.c: Likewise.
27622 * debug/vasprintf_chk.c: Likewise.
27623 * debug/vdprintf_chk.c: Likewise.
27624 * debug/vsnprintf_chk.c: Likewise.
27625 * debug/vsprintf_chk.c: Likewise.
27626 * malloc/mtrace.c: Likewise.
27627 * misc/error.c: Likewise.
27628 * misc/syslog.c: Likewise.
27629 * stdio-common/asprintf.c: Likewise.
27630 * stdio-common/fxprintf.c: Likewise.
27631 * stdio-common/getw.c: Likewise.
27632 * stdio-common/isoc99_fscanf.c: Likewise.
27633 * stdio-common/isoc99_scanf.c: Likewise.
27634 * stdio-common/isoc99_vfscanf.c: Likewise.
27635 * stdio-common/isoc99_vscanf.c: Likewise.
27636 * stdio-common/isoc99_vsscanf.c: Likewise.
27637 * stdio-common/printf-prs.c: Likewise.
27638 * stdio-common/printf_fp.c: Likewise.
27639 * stdio-common/printf_fphex.c: Likewise.
27640 * stdio-common/printf_size.c: Likewise.
27641 * stdio-common/putw.c: Likewise.
27642 * stdio-common/scanf.c: Likewise.
27643 * stdio-common/sprintf.c: Likewise.
27644 * stdio-common/tmpfile.c: Likewise.
27645 * stdio-common/vfprintf.c: Likewise.
27646 * stdio-common/vfscanf.c: Likewise.
27647 * stdlib/strfmon_l.c: Likewise.
27648 * sunrpc/openchild.c: Likewise.
27649 * sunrpc/xdr_stdio.c: Likewise.
27650 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27651 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27652
27653 2012-05-24 Roland McGrath <roland@hack.frob.com>
27654
27655 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27656
27657 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27658 in the third column, to generate for the shared library an IFUNC
27659 that uses _dl_vdso_vsym.
27660 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27661 * Makeconfig (object-suffixes-noshared): New variable.
27662
27663 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27664 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27665 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27666 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27667
27668 [BZ #14132]
27669 * include/sys/time.h (__gettimeofday): Remove macro.
27670 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27671 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27672 Remove INTDEF.
27673 (__gettimeofday): Add libc_hidden_def.
27674 (gettimeofday): Add libc_hidden_weak.
27675 * sysdeps/mach/gettimeofday.c: Likewise.
27676 * sysdeps/posix/gettimeofday.c: Likewise.
27677 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27678 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27679 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27680 (__gettimeofday_internal): Remove strong_alias.
27681 (__gettimeofday): Add libc_hidden_def.
27682 (gettimeofday): Add libc_hidden_weak.
27683 * sysdeps/unix/syscalls.list (gettimeofday):
27684 Remove __gettimeofday_internal alias.
27685
27686 2012-05-24 Daniel Jacobowitz <drow@false.org>
27687 H.J. Lu <hongjiu.lu@intel.com>
27688
27689 [BZ #12495]
27690 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27691 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27692 (largebin_index_32_big): New.
27693 (largebin_index): Use it for 16-byte alignment.
27694 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27695 correction with front_misalign.
27696
27697 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27698
27699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27701 Likewise.
27702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27703 Likewise.
27704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27705 Likewise.
27706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27707 Likewise.
27708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27709 Likewise.
27710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27711 Likewise.
27712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27713 Likewise.
27714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27715 Likewise.
27716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27717 Likewise.
27718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27719 Likewise.
27720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27721 Likewise.
27722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27723 Likewise.
27724
27725 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27726 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27727
27728 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27729
27730 [BZ #10846]
27731 [BZ #14036]
27732 * math/libm-test.inc (exp_test): Add test from bug 14036.
27733 (pow_test): Add test from bug 10846.
27734
27735 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27736 and other flags.
27737 (special_function): Do not include flags in test name.
27738 (parse_args): Likewise.
27739 * sysdeps/i386/fpu/libm-test-ulps: Update.
27740 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27741 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27742 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27744
27745 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27746 exceptions.
27747 * math/libm-test.inc ("Philosophy"): Update comment about
27748 exception testing.
27749 (UNDERFLOW_EXCEPTION): New macro.
27750 (UNDERFLOW_EXCEPTION_OK): Likewise.
27751 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27752 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27753 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27754 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27755 (INVALID_EXCEPTION_OK): Update value.
27756 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27757 (OVERFLOW_EXCEPTION_OK): Likewise.
27758 (IGNORE_ZERO_INF_SIGN): Likewise.
27759 (test_exceptions): Handle underflow exceptions.
27760 (acos_test): Update for underflow exception expectations.
27761 (cexp_test): Likewise.
27762 (clog_test): Likewise.
27763 (clog10_test): Likewise.
27764 (csqrt_test): Likewise.
27765 (ctan_test): Likewise.
27766 (ctanh_test): Likewise.
27767 (exp_test): Likewise.
27768 (exp10_test): Likewise.
27769 (exp2_test): Likewise.
27770 (expm1_test): Likewise.
27771 (fma_test): Likewise.
27772 (j0_test): Likewise.
27773 (jn_test): Likewise.
27774 (nexttoward_test): Likewise.
27775 (pow_test): Likewise.
27776 (scalbn_test): Likewise.
27777 (scalbln_test): Likewise.
27778 (tan_test): Likewise.
27779 (y1_test): Likewise.
27780 * sysdeps/i386/fpu/libm-test-ulps: Update.
27781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27782
27783 2012-05-23 David S. Miller <davem@davemloft.net>
27784
27785 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27786 (__libc_sigaction): Remove unused local variables.
27787
27788 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27789
27790 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27791
27792 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27793
27794 mktime: avoid signed integer overflow
27795 * time/mktime.c (__mktime_internal): Do not mishandle the case
27796 where diff == INT_MIN.
27797
27798 mktime: simplify computation of average
27799 * time/mktime.c (ranged_convert): Use new time_t_avg function
27800 instead of rolling our own (probably-slower) code.
27801
27802 mktime: do not assume signed right shift propagates sign bit
27803 * time/mktime.c (isdst_differ): New static function.
27804 (__mktime_internal): No need to normalize tm_isdst now.
27805 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27806 tm_isdst values.
27807
27808 mktime: merge another wrapv change from gnulib
27809 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27810 from some compilers.
27811
27812 mktime: remove incorrect attempt at unusual arithmetics
27813 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27814 The code didn't really work on such machines anyway.
27815 (TYPE_MINIMUM): Assume two's complement.
27816 (twos_complement_arithmetic): Verify that long_int and time_t
27817 are two's complement (or unsigned, in the latter case).
27818
27819 mktime: check signed shifts on long_int and time_t, too
27820 * time/mktime.c (SHR): Check that shifts work as desired
27821 on the types long_int and time_t too, as SHR is used on
27822 such types.
27823
27824 mktime: do not assume 'long' is wide enough
27825 * time/mktime.c (verify): Move decl up.
27826 (long_int): New type.
27827 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27828 to remove assumption in the code that 'long' is wide enough to
27829 store year values. This assumption is not true on x32 and on
27830 some non-glibc platforms.
27831
27832 mktime: merge wrapv change from gnulib
27833 * time/mktime.c (WRAPV): New macro.
27834 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27835 (guess_time_tm, __mktime_internal): Do not assume that signed
27836 integer overflow wraps around; modern compilers generate code
27837 where this assumption is no longer valid.
27838
27839 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27840
27841 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27842 Replace "jmp L(pseudo_end)" with "ret".
27843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27844 Likewise.
27845
27846 2012-05-23 Andreas Jaeger <aj@suse.de>
27847
27848 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27849 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27850
27851 2012-05-23 Andreas Jaeger <aj@suse.de>
27852 Maximilian Attems <max@stro.at>
27853
27854 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27855 New macros.
27856
27857 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27858
27859 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27860 code so that pseudo_end is just ret and the stack pointer is
27861 correct also for static library in error case.
27862
27863 2012-05-23 Joseph Myers <joseph@codesourcery.com>
27864
27865 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27866 move to syscalls.list.
27867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27871
27872 * manual/install.texi (Running make install): Do not mention Linux
27873 kernel version for which pt_chown is not needed.
27874 (Linux): Do not mention problems with nscd with 2.0 kernels.
27875 * INSTALL: Regenerated.
27876
27877 2012-05-23 Andreas Jaeger <aj@suse.de>
27878
27879 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27880 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27881 macro.
27882 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27883 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27884 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27885 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27886 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27887 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27888 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27889 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27890 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27891 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27892 * sysdeps/unix/sysv/linux/bits/in.h
27893 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27894
27895 2012-05-22 Roland McGrath <roland@hack.frob.com>
27896
27897 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27898 (PREPARE_VERSION): Just use assert instead, it will be elided
27899 under [NDEBUG] anyway.
27900
27901 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27902
27903 * sysdeps/unix/sysv/linux/Makefile: Include
27904 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27905 (sysdep_routines): Remove sysctl.
27906 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27907 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27908 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27909 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27910 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27911
27912 2012-05-22 Andreas Jaeger <aj@suse.de>
27913
27914 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27915 that pseudo_end is just ret and the stack pointer is correct also
27916 for static library in error case.
27917
27918 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27919
27920 [BZ #14122]
27921 * nss/nsswitch.c (defconfig_entries): New variable.
27922 (__nss_database_lookup): Don't leak defconfig entries.
27923 (nss_parse_service_list): Don't leak on error paths.
27924 (free_database_entries): New function.
27925 (free_defconfig): New function.
27926 (free_mem): Move common code to free_database_entries.
27927
27928 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27929
27930 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27931 Add arch_prctl.
27932 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27933
27934 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27935 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27937 New macro.
27938 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27939 (INTERNAL_SYSCALL_TYPES): Likewise.
27940 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27941 (LOAD_REGS_TYPES_[1-6]): Likewise.
27942 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27943 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27944
27945 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27946
27947 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27948 copysignl for GLIBC_2_0.
27949 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27950 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27952 logbl for GLIBC_2_0.
27953 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27954 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27955
27956 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27957
27958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27959 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27960
27961 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27962 Use "neg %eax".
27963
27964 * time/mktime.c: Update copyright years.
27965
27966 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27967
27968 mktime: merge comment-quoting-style change from gnulib
27969 * time/mktime.c: Quote 'like this' in comments.
27970 The GNU coding standards suggest that we no longer quote `like this',
27971 as "`" and "'" are typically rendered asymmetrically nowadays.
27972 The typical gnulib style is to quote 'like this' when quoting
27973 code, and "like this" when quoting English.
27974
27975 * time/mktime.c (compile-command): Add "-I.".
27976
27977 mktime: merge mktime-internal.h change from gnulib
27978 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27979
27980 mktime: merge time_r change from gnulib
27981 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27982
27983 mktime: merge DEBUG change from gnulib
27984 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27985 case system <time.h> has a #define.
27986
27987 mktime: merge <sys/types.h> change from gnulib
27988 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27989 since <time.t> is now guaranteed to define time_t.
27990
27991 mktime: merge HAVE_CONFIG_H change from gnulib
27992 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27993
27994 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27995
27996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27997 Use "neg %eax".
27998
27999 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28000 __rlim_t cast.
28001 (struct rusage): Use anonymous union to pad each field to
28002 __syscall_slong_t.
28003
28004 2012-05-21 David S. Miller <davem@davemloft.net>
28005
28006 * Makefules (o-iterator): Remove .s cases.
28007 (compile-command.s): Delete.
28008 (COMPILE.s): Delete.
28009 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28010
28011 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28012
28013 * configure.in (libc_cv_predef_stack_protector): Only consider
28014 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28015 * configure: Regenerated.
28016
28017 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28018
28019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28020 New macro. Use R*LP on int and pointer.
28021 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28022 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28023 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28024 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28025
28026 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28027 [__WORDSIZE_TIME64_COMPAT32] instead of
28028 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28029 (struct utmp): Likewise.
28030 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28031 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28032 Renamed to ...
28033 (__WORDSIZE_TIME64_COMPAT32): This.
28034 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28035 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28036 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28037 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28038 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28039 (__WORDSIZE_TIME64_COMPAT32): New macro.
28040
28041 2012-05-21 Andreas Jaeger <aj@suse.de>
28042
28043 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28044 only if [SHARED]. Add prototype for __wcschr_ia32.
28045
28046 2012-05-21 Roland McGrath <roland@hack.frob.com>
28047
28048 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28049 of %rbp unmolested in the jmp_buf while mangling the low bits.
28050 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28051 unmolested high bits of %rbp while demangling the low bits.
28052 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28053
28054 2012-05-21 Andreas Jaeger <aj@suse.de>
28055
28056 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28057 * sunrpc/svc_simple.c: Use it for registerrpc.
28058 * sunrpc/xcrypt.c: Use it for passwd2des.
28059
28060 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28061
28062 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28063
28064 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28065 Don't define if [__SYSCALL_WORDSIZE != 32].
28066 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28067 New macro.
28068
28069 2012-05-21 Bruno Haible <bruno@clisp.org>
28070 Andreas Jaeger <aj@suse.de>
28071
28072 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28073 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28074 inptr and inend for must_buffer_ch.
28075 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28076 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28077 * stdio-common/Makefile (tests): Remove bug15.
28078 (bug15-ENV): Remove macro.
28079 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28080 anymore.
28081
28082 2012-05-19 Andreas Jaeger <aj@suse.de>
28083 Roland McGrath <roland@hack.frob.com>
28084
28085 * manual/contrib.texi: Completely rewritten. It contains now an
28086 alphabetical list of contributors and their contributions.
28087
28088 2012-05-21 Richard Henderson <rth@twiddle.net>
28089
28090 * misc/getauxval.c (__getauxval): Use unsigned long int.
28091 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28092 (getauxval): Use unsigned long int.
28093
28094 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28095
28096 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28097
28098 2012-05-21 Roland McGrath <roland@hack.frob.com>
28099
28100 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28101 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28102 __alignof__ (long double).
28103
28104 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28105
28106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28107
28108 2012-05-20 Richard Henderson <rth@twiddle.net>
28109
28110 * misc/getauxval.c: New file.
28111 * misc/sys/auxv.h: New file.
28112 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28113 (routines): Add getauxval.
28114 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28115 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28116 * elf/dl-sysdep.c (_dl_auxv): Remove.
28117 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28118 * elf/dl-support.c (_dl_auxv): New variable.
28119 (_dl_aux_init): Initialize it.
28120 * manual/startup.texi (Auxiliary Vector): New node.
28121 * sysdeps/generic/bits/hwcap.h: New file.
28122 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28123 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28124 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28125 * sysdeps/sparc/sysdep.h: ... here. Include it.
28126 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28127 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28129 Update.
28130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28133 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28138
28139 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28140
28141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28142
28143 2012-05-19 David S. Miller <davem@davemloft.net>
28144
28145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28146
28147 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28148
28149 [BZ #14123]
28150 * math/s_ccosh.c: Include <float.h>
28151 (__ccosh): Avoid internal overflow calculating sinh and cosh
28152 values before multiplying by sin and cos values.
28153 * math/s_ccoshf.c: Likewise.
28154 * math/s_ccoshl.c: Likewise.
28155 * math/s_csin.c: Likewise.
28156 * math/s_csinf.c: Likewise.
28157 * math/s_csinl.c: Likewise.
28158 * math/s_csinh.c: Likewise.
28159 * math/s_csinhf.c: Likewise.
28160 * math/s_csinhl.c: Likewise.
28161 * math/libm-test.inc (ccos_test): Add more tests.
28162 (ccosh_test): Likewise.
28163 (csin_test): Likewise.
28164 (csinh_test): Likewise.
28165 * sysdeps/i386/fpu/libm-test-ulps: Update.
28166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28167
28168 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28169
28170 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28171 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28172
28173 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28174
28175 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28176
28177 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28178 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28179 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28180 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28181 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28182 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28183 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28184 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28185 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28186 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28187 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28188 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28189 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28190 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28191 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28192 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28193 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28194 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28195 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28196 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28197 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28198 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28199 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28200 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28201 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28202 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28203 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28204 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28205 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28206 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28207 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28208
28209 2012-05-18 Andreas Jaeger <aj@suse.de>
28210
28211 * csu/.gitignore: Delete.
28212
28213 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28214
28215 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28216 (timex): Use __syscall_slong_t.
28217
28218 2012-05-18 Andreas Jaeger <aj@suse.de>
28219 Carlos O'Donell <carlos_odonell@mentor.com>
28220
28221 * manual/install.texi (Configuring and compiling): Update
28222 description about files modified in the source directory.
28223 * INSTALL: Regenerated.
28224
28225 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28226
28227 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28228 value. Use "or" to set return value to -1.
28229 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28230 negate return value.
28231
28232 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28233
28234 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28235 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28236 failure if the compiler has Graphite support disabled.
28237 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28238 Likewise.
28239 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28240 CFLAGS-memmove.c): Likewise.
28241 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28242 Likewise.
28243
28244 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28245
28246 * sysdeps/x86_64/x32/_itoa.h: New file.
28247
28248 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28249 getdents system call only if kernel and user dirents have the
28250 same d_ino and d_off.
28251
28252 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28253 LLONG_MAX != LONG_MAX.
28254 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28255 (_fitoa_word): Likewise.
28256
28257 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28258 years.
28259 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28260 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28261 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28262
28263 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28264 include <bits/wordsize.h>. Check __x86_64__ instead of
28265 __WORDSIZE.
28266 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28267 if __x86_64__ is defined. Use anonymous union on fpstate.
28268
28269 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28270 anonymous union.
28271
28272 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28273
28274 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28275 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28276 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28277 Refer to _rtld_local_ro instead of _rtld_global_ro.
28278 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28279 Likewise.
28280 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28281 Likewise.
28282 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28283 Likewise.
28284 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28285 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28286 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28287
28288 * sysdeps/powerpc/powerpc32/dl-machine.c
28289 (__elf_machine_runtime_setup) [PROF]: Don't reference
28290 _dl_prof_resolve.
28291
28292 2012-05-18 Andreas Jaeger <aj@suse.de>
28293
28294 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28295 function only available for GCCs before 3.4 since GCC 3.4
28296 introduced a builtin.
28297 (lrint): Likewise.
28298 (llrintf): Likewise.
28299 (llrint): Likewise.
28300 (fmaxf): Likewise.
28301 (fmax): Likewise.
28302 (fminf): Likewise.
28303 (fmin): Likewise.
28304 (rint): Likewise.
28305 (rintf): Likewise.
28306 (nearbyint): Likewise.
28307 (nearbyintf): Likewise.
28308 (ceil): Likewise.
28309 (ceilf): Likewise.
28310 (floor): Likewise.
28311 (floorf): Likewise.
28312
28313 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28314
28315 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28316 on both fields and cast pointer to __syscall_ulong_t.
28317
28318 * bits/types.h (__fsword_t): New type.
28319 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28320 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28321 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28322 (__FSWORD_T_TYPE): Likewise.
28323 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28324 (__FSWORD_T_TYPE): Likewise.
28325 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28326 (__FSWORD_T_TYPE): Likewise.
28327 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28328 (__FSWORD_T_TYPE): Likewise.
28329 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28330 __SWORD_TYPE with __fsword_t.
28331 (statfs64): Likewise.
28332
28333 2012-05-17 David S. Miller <davem@davemloft.net>
28334
28335 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28336
28337 2012-05-17 Andreas Jaeger <aj@suse.de>
28338
28339 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28340 warning.
28341
28342 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28343
28344 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28345
28346 2012-05-17 Andreas Jaeger <aj@suse.de>
28347
28348 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28349 when it is used.
28350
28351 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28352
28353 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28354
28355 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28356
28357 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28358 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28359
28360 2012-05-17 Andreas Jaeger <aj@suse.de>
28361 Carlos O'Donell <carlos_odonell@mentor.com>
28362
28363 [BZ #14059]
28364 * sysdeps/x86_64/multiarch/init-arch.h
28365 (bit_YMM_Usable): Rename to...
28366 (bit_AVX_Usable): ... this.
28367 (bit_FMA4_Usable): New macro.
28368 (bit_XMM_state): New macro.
28369 (bit_YMM_state): New macro.
28370 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28371 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28372 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28373 (CPUID_OSXSAVE): New macro.
28374 (CPUID_AVX): New macro.
28375 (CPUID_FMA4): New macro.
28376 (index_YMM_Usable): Rename to...
28377 (index_AVX_Usable): ... this.
28378 (HAS_AVX): Use HAS_ARCH_FEATURE.
28379 (HAS_FMA4): Likewise.
28380 (HAS_YMM_USABLE): Remove.
28381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28382 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28383 are present.
28384 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28385 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28386 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28387 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28388 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28389
28390 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28391
28392 * math/libm-test.c: Support platforms without multiple rounding modes.
28393 * math/bug-nextafter.c: Support platforms without FP exceptions.
28394 * math/bug-nexttoward.c: Likewise.
28395 * math/test-fenv.c: Likewise.
28396 * math/test-misc.c: Likewise.
28397 * stdlib/bug-getcontext.c: Likewise.
28398
28399 2012-05-17 Andreas Jaeger <aj@suse.de>
28400
28401 * manual/examples/search.c (critter_cmp): Change signature to
28402 avoid warnings.
28403 * manual/string.texi (Collation Functions): Likewise.
28404
28405 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28406
28407 * bits/types.h: Fold copyright years.
28408 * bits/typesizes.h: Likewise.
28409 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28410 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28411 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28412 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28413 * time/time.h: Likewise.
28414
28415 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28416
28417 [BZ #208]
28418 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28419 in instead of returning them. Return void.
28420 (__libc_mallinfo): Accumulate over all arenas.
28421 (__malloc_stats): Adjust for change in int_mallinfo interface.
28422
28423 2012-05-16 Roland McGrath <roland@hack.frob.com>
28424
28425 [BZ #10375]
28426 * configure.in (NM): Add AC_CHECK_TOOL for it.
28427 (libc_extra_cflags): New substituted variable.
28428 Check for -fstack-protector being used implicitly.
28429 * configure: Regenerated.
28430 * config.make.in (config-extra-cflags): New variable,
28431 gets @libc_extra_cflags@.
28432 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28433
28434 [BZ #10375]
28435 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28436 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28437 * configure: Regenerated.
28438 * config.make.in (CPPUNDEFS): New substituted variable.
28439 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28440 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28441 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28442
28443 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28444
28445 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28446 (mq_attr): Use __syscall_slong_t.
28447
28448 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28449
28450 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28451 Check __x86_64__ instead of __WORDSIZE.
28452 (_STAT_VER_LINUX): Likewise.
28453 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28454 __syscall_ulong_t and __syscall_slong_t.
28455 (stat64): Likewise.
28456
28457 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28458
28459 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28460
28461 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28462
28463 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28464
28465 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28466
28467 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28468 __syscall_ulong_t.
28469
28470 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28471 include <bits/wordsize.h>. Check __x86_64__ instead of
28472 __WORDSIZE.
28473 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28474 defined.
28475 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28476
28477 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28478 include <bits/wordsize.h>. Check __x86_64__ instead of
28479 __WORDSIZE.
28480 (user_regs_struct): Use "__extension__ unsigned long long"
28481 instead of "unsigned long" if __x86_64__ is defined.
28482 (user): Likewise. Pad after pointer field if __ILP32__ is
28483 defined.
28484
28485 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28486
28487 * configure.in (makeinfo): Require version 4.5 or later. Allow
28488 versions 5 to 9.
28489 * configure: Regenerated.
28490 * manual/install.texi (texinfo): Increase version requirement to
28491 4.5 or later.
28492 * INSTALL: Regenerated.
28493
28494 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28495
28496 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28497
28498 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28499
28500 * sysdeps/x86_64/x32/ffs.c: New file.
28501
28502 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28503 __syscall_ulong_t.
28504 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28505 defined. Use __syscall_ulong_t.
28506 (shminfo): Use __syscall_ulong_t.
28507 (shm_info): Likewise.
28508
28509 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28510 __syscall_ulong_t.
28511
28512 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28513 <bits/wordsize.h>.
28514 (msgqnum_t): Use __syscall_ulong_t.
28515 (msglen_t): Likewise.
28516 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28517 __syscall_ulong_t.
28518
28519 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28520 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28521
28522 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28523
28524 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28525 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28526
28527 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28528 __syscall_slong_t.
28529
28530 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28531 include <bits/wordsize.h>. Check __x86_64__ instead of
28532 __WORDSIZE.
28533
28534 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28535 "unsigned long long int" if __x86_64__ is defined.
28536 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28537
28538 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28539 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28540 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28541
28542 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28543 <stdint.h>.
28544 (GET_PC): Cast to uintptr_t first.
28545 (GET_FRAME): Likewise.
28546 (GET_STACK): Likewise.
28547
28548 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28549 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28550 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28551 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28552 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28553 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28554 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28555 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28556 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28557 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28558 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28559 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28560 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28561 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28562 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28563 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28564 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28565 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28566 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28567 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28568 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28569 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28570 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28571 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28572 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28573 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28574 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28575 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28576 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28577
28578 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28579
28580 * Makerules (+depfiles): Also collect depfiles from .oS in
28581 $(extra-objs).
28582 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28583 .oS, $(libnldbl-routines)).
28584
28585 * Makerules (native-compile-mkdep-flags): Define.
28586 * sunrpc/Makefile (extra-objs): Add $(addprefix
28587 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28588 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28589 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28590 calling $(make-target-directory).
28591
28592 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28593
28594 * bits/types.h (__snseconds_t): Removed.
28595 * time/time.h (struct timespec): Replace __snseconds_t with
28596 __syscall_slong_t.
28597 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28598 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28599 Likewise.
28600 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28601 (__SNSECONDS_T_TYPE): Likewise.
28602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28603 (__SNSECONDS_T_TYPE): Likewise.
28604 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28605 (__SNSECONDS_T_TYPE): Likewise.
28606
28607 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28608
28609 * sysdeps/mach/hurd/bits/typesizes.h
28610 (__SYSCALL_SLONG_TYPE): New macro.
28611 (__SYSCALL_ULONG_TYPE): Likewise.
28612
28613 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28614
28615 * bits/types.h (__syscall_slong_t): New type.
28616 (__syscall_ulong_t): Likewise.
28617
28618 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28619 (__SYSCALL_ULONG_TYPE): Likewise.
28620 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28621 (__SYSCALL_SLONG_TYPE): Likewise.
28622 (__SYSCALL_ULONG_TYPE): Likewise.
28623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28624 (__SYSCALL_SLONG_TYPE): Likewise.
28625 (__SYSCALL_ULONG_TYPE): Likewise.
28626 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28627 (__SYSCALL_SLONG_TYPE): Likewise.
28628 (__SYSCALL_ULONG_TYPE): Likewise.
28629
28630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28631
28632 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28633 Add sigaltstack-offsets.sym.
28634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28635 <sigaltstack-offsets.h>.
28636 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28637 longjmp_msg pointer.
28638 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28639 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28640 signal stack.
28641 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28642
28643 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28644
28645 * elf/stackguard-macros.h: Remove file.
28646 * sysdeps/generic/stackguard-macros.h: New file.
28647 * sysdeps/i386/stackguard-macros.h: Likewise.
28648 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28649 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28650 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28651 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28652 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28653 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28654 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28655 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28656 <elf/stackguard-macros.h>.
28657
28658 [BZ #14109]
28659 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28660 __aligned__ in attribute.
28661 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28662 (gregset_t): Likewise.
28663
28664 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28665
28666 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28667 * sysdeps/x86_64/64/Implies-after: Here. New file.
28668 * sysdeps/x86_64/x32/Implies-after: New file.
28669
28670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28671
28672 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28673 and access return value for _dl_profile_fixup. Use R10_LP to
28674 load frame size.
28675
28676 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28677
28678 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28679
28680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28681
28682 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28683 * sysdeps/x86_64/x32/sysdep.h: New file.
28684
28685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28686
28687 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28688 * sysdeps/x86_64/setjmp.S: Likewise.
28689
28690 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28691
28692 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28693 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28694 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28695 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28696 remove unused global constant.
28697
28698 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28699
28700 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28701 include of <not-cancel.h>.
28702
28703 2012-05-15 Roland McGrath <roland@hack.frob.com>
28704
28705 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28706
28707 2012-05-15 Jeff Law <law@redhat.com>
28708 Andreas Jaeger <aj@suse.de>
28709
28710 [BZ #13594]
28711 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28712 out from...
28713 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28714 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28715 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28716 code changing __hst_map_handle.map.
28717
28718 2012-05-15 Roland McGrath <roland@hack.frob.com>
28719
28720 * configure.in (sysnames): Look for Implies-before and Implies-after
28721 files.
28722 * configure: Regenerated.
28723
28724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28725
28726 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28727 8-byte data alignment with LP_SIZE alignment.
28728
28729 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28730
28731 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28732 into R10_LP.
28733
28734 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28735
28736 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28737
28738 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28739
28740 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28741 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28742 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28743 Likewise.
28744 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28745
28746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28747
28748 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28749 (stackinfo_sub_sp): Likewise.
28750
28751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28752
28753 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28754 RAX_LP.
28755
28756 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28757
28758 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28759 into R*_LP.
28760
28761 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28762
28763 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28764 sizes into R*_LP.
28765
28766 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28767
28768 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28769
28770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28771
28772 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28773 into R11_LP and load __x86_64_shared_cache_size_half into
28774 R8_LP.
28775
28776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28777
28778 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28779 R8_LP.
28780
28781 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28782
28783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28784 logb for POWER7.
28785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28786 logbf for POWER7.
28787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28788 logbl for POWER7.
28789 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28790 powerpc32/power7/fpu/s_logb.c via #include.
28791 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28792 powerpc32/power7/fpu/s_logbf.c via #include.
28793 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28794 powerpc32/power7/fpu/s_logbl.c via #include.
28795
28796 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28797
28798 * README.libm: Remove file.
28799
28800 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28801
28802 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28803 count for x32. Use R*_LP and omit operand-size suffix.
28804
28805 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28806
28807 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28808 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28809 * sysdeps/x86_64/x32/shlib-versions: New file.
28810
28811 2012-05-14 Roland McGrath <roland@hack.frob.com>
28812
28813 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28814 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28815 Use _dl_fatal_printf instead.
28816
28817 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28818
28819 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28820 set if not set by the user. Do not allow for being unset.
28821 * sysdeps/unix/sysv/linux/configure: Regenerated.
28822
28823 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28824
28825 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28826 the `q' suffix from lea and replace .quad with ASM_ADDR.
28827
28828 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28829
28830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28831 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28832 instead of $17.
28833 (PTR_DEMANGLE): Likewise.
28834
28835 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28836
28837 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28838 (LP_OP): Likewise.
28839 (ASM_ADDR): Likewise.
28840 (RAX_LP): Likewise.
28841 (RBP_LP): Likewise.
28842 (RBX_LP): Likewise.
28843 (RCX_LP): Likewise.
28844 (RDI_LP): Likewise.
28845 (RSI_LP): Likewise.
28846 (RSP_LP): Likewise.
28847 (R8_LP): Likewise.
28848 (R9_LP): Likewise.
28849 (R10_LP): Likewise.
28850 (R10_LP): Likewise.
28851 (R11_LP): Likewise.
28852 (R12_LP): Likewise.
28853 (R13_LP): Likewise.
28854 (R14_LP): Likewise.
28855 (R15_LP): Likewise.
28856
28857 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28858
28859 * sysdeps/x86_64/x32/dl-machine.h: New file.
28860
28861 2012-05-14 Andreas Jaeger <aj@suse.de>
28862
28863 * manual/Makefile (subdir): Remove export of subdir.
28864 (all): Remove target.
28865 (.PHONY): Remove all from list.
28866 (mkinstalldirs): Remove.
28867 (.PHONY): Remove installdirs from list.
28868 ($(inst_infodir)/libc.info): Use make-target-directory.
28869 (installdirs): Remove.
28870 (subdir_%): Remove.
28871 (glibc-targets): Remove.
28872 (lib): Remove.
28873 (stubs): Remove.
28874 ($(objpfx)stubs ../po/manual.pot): Remove.
28875 ($(objpfx)stamp%): Remove.
28876 (make-target-directory): Remove.
28877 (subdir_install): Remove.
28878 (routines): Remove.
28879 (aux): Remove.
28880 (sources): Remove.
28881 (objects): Remove.
28882 (headers): Remove.
28883
28884 [BZ #13750]
28885 * manual/.gitignore: Remove, it's not needed anymore.
28886 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28887 all files in it.
28888 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28889 directory.
28890 (texis): Renamed to $(objpfx)texis.
28891 (texis-path): New, contains path to generated files.
28892 (chapters.%): Use texis-path for complete path, add extra argument
28893 libc-texinfo.sh.
28894 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28895 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28896 (summary,texi, stamp-summary): Use complete path of
28897 files. Generate files in build dir.
28898 (dir-add.texi): Build in build dir.
28899 (libm-err.texi,stamp-libm-err): Likewise.
28900 (version.texi, stamp-version): Likewise.
28901 (.%c.texi): Likewise.
28902 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28903 (mostlyclean): Remove target.
28904 (realclean): Remove target.
28905 (generated): Add new variable with contents from mostlyclean and
28906 realclean, remove entries duplicated in common-mostlyclean, add
28907 stamp-libm-err and stamp-version.
28908 (generated-dirs): Add libc directory.
28909 ($(inst_infodir)/libc.info): Install files from build dir.
28910
28911 * manual/install.texi (Configuring and compiling): Adjust since
28912 the info files are not part of the tar ball anymore.
28913
28914 2012-05-14 Andreas Jaeger <aj@suse.de>
28915
28916 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28917 variable.
28918
28919 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28920
28921 [BZ #13717]
28922 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28923 to 2.2.0 where earlier.
28924 * sysdeps/unix/sysv/linux/configure: Regenerated.
28925 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28926 Remove conditional code.
28927 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28928 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28929 Remove conditional code.
28930 [!__NR_lchown]: Likewise.
28931 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28932 [__NR_lchown]: Likewise.
28933 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28934 comment referencing __ASSUME_LCHOWN_SYSCALL.
28935 * sysdeps/unix/sysv/linux/i386/sigaction.c
28936 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28937 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28938 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28939 Remove conditional code.
28940 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28941 (__protocol_available): Remove #if 0 code.
28942 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28943 conditional code.
28944 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28945 * sysdeps/unix/sysv/linux/kernel-features.h
28946 (__ASSUME_GETCWD_SYSCALL): Don't define.
28947 (__ASSUME_REALTIME_SIGNALS): Likewise.
28948 (__ASSUME_PREAD_SYSCALL): Likewise.
28949 (__ASSUME_PWRITE_SYSCALL): Likewise.
28950 (__ASSUME_POLL_SYSCALL): Likewise.
28951 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28952 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28953 non-SPARC.
28954 (__ASSUME_SIOCGIFNAME): Don't define.
28955 (__ASSUME_MSG_NOSIGNAL): Likewise.
28956 (__ASSUME_SENDFILE): Define unconditionally.
28957 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28958 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28959 conditional code.
28960 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28961 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28962 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28963 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28964 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28965 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28966 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28968 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28969 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28971 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28972 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28974 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28975 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28977 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28980 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28981 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28983 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28984 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28986 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28987 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28989 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28991 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28992 Remove conditional code.
28993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28994 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28995 Remove conditional code.
28996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28997 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28998 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28999 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29000 Remove conditional code.
29001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29002 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29003 Remove conditional code.
29004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29005 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29006 Remove conditional code.
29007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29008 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29009 Remove conditional code.
29010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29011 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29012 Remove conditional code.
29013 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29014 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29015 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29017 * sysdeps/unix/sysv/linux/sigaction.c
29018 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29019 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29020 * sysdeps/unix/sysv/linux/sigpending.c
29021 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29022 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29023 * sysdeps/unix/sysv/linux/sigprocmask.c
29024 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29025 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29026 * sysdeps/unix/sysv/linux/sigsuspend.c
29027 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29028 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29029 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29030 (__libc_missing_rt_sigs): Remove.
29031 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29032 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29033 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29034 Remove conditional code.
29035 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29036 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29037 return 1.
29038 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29039 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29040 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29041 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29042
29043 2012-05-14 Andreas Jaeger <aj@suse.de>
29044
29045 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29046 it's not used in glibc.
29047 (__coshm1): Likewise.
29048 (__acosh1p): Likewise.
29049 (__sgn): Likewise.
29050
29051 * manual/string.texi (Copying and Concatenation): Add missing
29052 variable in concat example.
29053 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29054
29055 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29056
29057 [BZ #14103]
29058 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29059 __builtin_clzl with __builtin_clzll.
29060
29061 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29062
29063 [BZ #14104]
29064 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29065 libc_freeres_ptr.
29066
29067 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29068
29069 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29070 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29071 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29072 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29073
29074 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29075
29076 * NEWS: Update ia64 info.
29077
29078 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29079
29080 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29081 used as bcopy.
29082
29083 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29084
29085 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29086 * sysdeps/unix/syscalls.list (dup3): Likewise.
29087 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29088 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29089
29090 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29091
29092 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29093 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29094
29095 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29096
29097 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29098 thread pointer.
29099 (TLS_IE): Use mov/add instead of movq/addq to load thread
29100 pointer.
29101 (TLS_GD_PREFIX): New.
29102 (TLS_GD): Use it.
29103
29104 2012-05-11 David S. Miller <davem@davemloft.net>
29105
29106 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29107 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29108 (_FPU_SETCW): Likewise.
29109
29110 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29111
29112 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29113 is 32-byte aligned.
29114
29115 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29116
29117 [BZ #11837]
29118 * iconvdata/gb18030.c: Update tables.
29119 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29120 characters specially.
29121 (BODY for TO_LOOP): Add encoding of missing ranges.
29122
29123 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29124
29125 [BZ #13673]
29126 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29127 * sysdeps/mach/hurd/dup3.c: Likewise.
29128 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29129 * sysdeps/powerpc/memmove.c:: Likewise.
29130
29131 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29132
29133 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29134 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29135
29136 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29137
29138 * elf/elf.h (R_X86_64_RELATIVE64): New.
29139 (R_X86_64_NUM): Updated.
29140 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29141 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29142 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29143 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29144 tst-quad1pie tst-quad2pie
29145 (modules-names): Add tst-quadmod1 tst-quadmod2.
29146 ($(objpfx)tst-quad1): New dependency.
29147 ($(objpfx)tst-quad2): Likewise.
29148 ($(objpfx)tst-quad1pie): Likewise.
29149 ($(objpfx)tst-quad2pie): Likewise.
29150 * sysdeps/x86_64/tst-quad1.c: New file.
29151 * sysdeps/x86_64/tst-quad1pie.c: New file.
29152 * sysdeps/x86_64/tst-quad2.c: Likewise.
29153 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29154 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29155 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29156 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29157 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29158
29159 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29160
29161 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29162 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29163 * streams/stropts.h (t_scalar_t): Define type.
29164
29165 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29166 (_PATH_PRESERVE): Set to "/var/lib".
29167 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29168
29169 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29170 instead of int.
29171
29172 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29173 if __dir_mkfile succeeded.
29174
29175 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29176 checking for _hurd_dtablesize. Unlock it right after having
29177 finished _hurd_dtable allocation.
29178
29179 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29180
29181 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29182 * sysdeps/mach/hurd/configure: Regenerated.
29183 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29184 special-casing to...
29185 * sysdeps/gnu/configure.in: ... this new file.
29186 * sysdeps/unix/sysv/linux/configure: Regenerated.
29187 * sysdeps/gnu/configure: New generated file.
29188
29189 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29190 for Linux: use nsec instead of usec, as well as:
29191 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29192 members of type struct timespec.
29193 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29194 New macros.
29195 (struct stat64): Likewise.
29196 (_STATBUF_ST_NSEC): New macro.
29197 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29198
29199 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29200 __strtoul_internal rather than strtoul.
29201
29202 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29203
29204 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29205 and reject them.
29206
29207 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29208
29209 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29210 which preserves existing values.
29211 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29212
29213 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29214
29215 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29216 TIMEOUT values. Return EINVAL for NFDS values either negative or
29217 greater than FD_SETSIZE.
29218
29219 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29220
29221 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29222 allocated, call __vm_protect to finish enabling the existing space, and
29223 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29224 allocate the remainder.
29225
29226 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29227
29228 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29229 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29230
29231 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29232
29233 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29234 sysdeps/mach/hurd/readlink.c.
29235
29236 * posix/tst-sysconf.c (posix_options): Only use
29237 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29238 _POSIX_SYNCHRONIZED_IO when they are defined
29239 * sysdeps/mach/hurd/bits/posix_opt.h:
29240 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29241 (_XOPEN_REALTIME): Undefine macro.
29242 (_XOPEN_REALTIME_THREADS): Undefine macro.
29243 (_XOPEN_SHM): Undefine macro.
29244 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29245 macro to -1.
29246 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29247 macro to -1.
29248 (_POSIX_ASYNC_IO): Undefine macro.
29249 (_POSIX_PRIORITIZED_IO): Undefine macro.
29250 (_POSIX_SPIN_LOCKS): Define macro to -1.
29251
29252 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29253 SA_NODEFER, SA_RESETHAND.
29254 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29255 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29256 F_DUPFD_CLOEXEC.
29257
29258 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29259
29260 * elf/Makefile (pldd-modules): Define unconditionally.
29261
29262 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29263
29264 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29265
29266 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29267
29268 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29269 Return ENOENT when name is empty.
29270 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29271
29272 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29273
29274 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29275
29276 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29277
29278 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29279
29280 Fix mlock in all cases except non-readable pages.
29281 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29282 instead of VM_PROT_ALL as parameter to __vm_wire function.
29283
29284 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29285 (__mkdir): When path is `/', just fail with EEXIST.
29286 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29287
29288 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29289
29290 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29291 <sys/uio.h> (for writev).
29292 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29293 and <sys/param.h> (for MIN).
29294
29295 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29296
29297 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29298 REQUESTED_TIME. Properly set the remaining time and return EINTR
29299 if interrupted.
29300
29301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29302
29303 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29304 Depend on against $(link-rpcuserlibs).
29305
29306 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29307
29308 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29309 (__libc_stack_end): Do not use attribute_relro.
29310 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29311 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29312 to libthread-provided value.
29313 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29314 attribute_relro.
29315
29316 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29317
29318 [BZ #3748]
29319 * bits/libc-lock.h (__libc_once_get): New macro.
29320 * sysdeps/mach/bits/libc-lock.h: Likewise.
29321 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29322 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29323 instead of using implementation details.
29324
29325 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29326 * libio/freopen.c: Likewise.
29327 * libio/freopen64.c: Likewise.
29328 * misc/syslog.c: Likewise.
29329 * nscd/connections.c: Likewise.
29330 * nscd/netgroupcache.c: Likewise.
29331 * sysdeps/posix/getcwd.c: Likewise.
29332
29333 2012-05-10 Roland McGrath <roland@hack.frob.com>
29334
29335 * math/w_ilogbf.c: Add #include <limits.h>.
29336
29337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29338
29339 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29340 path instead of returning without unlocking.
29341
29342 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29343 immediate-write ioctls.
29344 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29345
29346 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29347
29348 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29349 __builtin_frame_address instead of making assumptions about the
29350 location of the return address relative to DATA. Force early load of
29351 the return address.
29352 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29353 __builtin_frame_address.
29354
29355 dup3 for GNU Hurd.
29356 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29357 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29358 implement dup3 and do some further code clean-ups.
29359 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29360 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29361
29362 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29363
29364 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29365
29366 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29367 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29368 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29369 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29370 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29371 d->port.lock.
29372
29373 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29374 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29375 when handler == SIG_ERR, not when handler != SIG_ERR.
29376
29377 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29378
29379 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29380 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29381 definitions.
29382
29383 accept4 for GNU Hurd.
29384 * include/sys/socket.h (__libc_accept4): New prototype.
29385 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29386 to implement __libc_accept4.
29387 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29388 __libc_accept4.
29389 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29390
29391 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29392 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29393 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29394 signal-defines.sym.
29395
29396 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29397
29398 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29399
29400 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29401
29402 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29403 assertion on O_CLOEXEC flag.
29404 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29405 * hurd/intern-fd.c: Likewise.
29406 * hurd/port2fd.c: Likewise.
29407
29408 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29409
29410 [BZ #3906]
29411 * bits/in.h (IPV6_PKTINFO): Define new macro.
29412 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29413
29414 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29415
29416 [BZ #13954]
29417 [BZ #13955]
29418 [BZ #13956]
29419 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29420 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29421 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29422 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29423 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29424 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29425 * math/libm-test.inc (logb_test) : Additional logb tests.
29426
29427 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29428 Andreas Jaeger <aj@suse.de>
29429
29430 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29431 * configure: Regenerated.
29432 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29433 * config.make.in (link-obsolete-rpc): New substituted variable.
29434 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29435 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29436 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29437 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29438 so that libc.a contains the symbols.
29439 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29440 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29441 * sunrpc/auth_none.c: Likewise.
29442 * sunrpc/auth_unix.c: Likewise.
29443 * sunrpc/authdes_prot.c: Likewise.
29444 * sunrpc/authuxprot.c: Likewise.
29445 * sunrpc/clnt_gen.c: Likewise.
29446 * sunrpc/clnt_perr.c: Likewise.
29447 * sunrpc/clnt_raw.c: Likewise.
29448 * sunrpc/clnt_simp.c: Likewise.
29449 * sunrpc/clnt_tcp.c: Likewise.
29450 * sunrpc/clnt_udp.c: Likewise.
29451 * sunrpc/clnt_unix.c: Likewise.
29452 * sunrpc/des_crypt.c: Likewise.
29453 * sunrpc/des_soft.c: Likewise.
29454 * sunrpc/get_myaddr.c: Likewise.
29455 * sunrpc/key_call.c: Likewise.
29456 * sunrpc/key_prot.c: Likewise.
29457 * sunrpc/netname.c: Likewise.
29458 * sunrpc/pm_getmaps.c: Likewise.
29459 * sunrpc/pm_getport.c: Likewise.
29460 * sunrpc/pmap_clnt.c: Likewise.
29461 * sunrpc/pmap_prot.c: Likewise.
29462 * sunrpc/pmap_prot2.c: Likewise.
29463 * sunrpc/pmap_rmt.c: Likewise.
29464 * sunrpc/publickey.c: Likewise.
29465 * sunrpc/rpc_cmsg.c: Likewise.
29466 * sunrpc/rpc_common.c: Likewise.
29467 * sunrpc/rpc_dtable.c: Likewise.
29468 * sunrpc/rpc_prot.c: Likewise.
29469 * sunrpc/rpc_thread.c: Likewise.
29470 * sunrpc/rtime.c: Likewise.
29471 * sunrpc/svc.c: Likewise.
29472 * sunrpc/svc_auth.c: Likewise.
29473 * sunrpc/svc_raw.c: Likewise.
29474 * sunrpc/svc_run.c: Likewise.
29475 * sunrpc/svc_tcp.c: Likewise.
29476 * sunrpc/svc_udp.c: Likewise.
29477 * sunrpc/svc_unix.c: Likewise.
29478 * sunrpc/svcauth_des.c: Likewise.
29479 * sunrpc/xcrypt.c: Likewise.
29480 * sunrpc/xdr.c: Likewise.
29481 * sunrpc/xdr_array.c: Likewise.
29482 * sunrpc/xdr_float.c: Likewise.
29483 * sunrpc/xdr_intXX_t.c: Likewise.
29484 * sunrpc/xdr_mem.c: Likewise.
29485 * sunrpc/xdr_rec.c: Likewise.
29486 * sunrpc/xdr_ref.c: Likewise.
29487 * sunrpc/xdr_sizeof.c: Likewise.
29488 * sunrpc/xdr_stdio.c: Likewise.
29489
29490 2012-05-10 Roland McGrath <roland@hack.frob.com>
29491
29492 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29493 change. Update copyright years.
29494
29495 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29496
29497 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29498
29499 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29500 Joseph Myers <joseph@codesourcery.com>
29501 Paul Pluzhnikov <ppluzhnikov@google.com>
29502
29503 [BZ #14012]
29504 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29505 requiring rpcgen.
29506 [cross-compiling] (extra-libs): Likewise.
29507 [cross-compiling] (extra-libs-others): Likewise.
29508 [cross-compiling] (librpcsvc-routines): Likewise.
29509 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29510 [cross-compiling] (omit-deps): Likewise.
29511 (sunrpc-CPPFLAGS): New variable.
29512 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29513 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29514 (cross-rpcgen-objs): New variable.
29515 (extra-objs): Append $(cross-rpcgen-objs).
29516 ($(cross-rpcgen-objs)): New rule.
29517 ($(objpfx)cross-rpcgen): Likewise.
29518 (rpcgen-cmd): Define to use $(built-program-file). Expand
29519 comment.
29520 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29521 ($(objpfx)x%.stmp): Likewise.
29522 * sunrpc/proto.h [IS_IN_build] (_): Define.
29523 [IS_IN_build] (_libc_intl_domainname): Likewise.
29524
29525 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29526
29527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29528 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29529 and R_X86_64_TPOFF64.
29530
29531 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29532
29533 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29534 sysdeps/unix/sysv/syscalls.list.
29535 (stime): Likewise.
29536 (utime): Likewise.
29537 * sysdeps/unix/sysv/syscalls.list: Remove file.
29538
29539 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29540
29541 [BZ #3440]
29542 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29543 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29544 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29545 (__LC_IDENTIFICATION): Make these macros useful in #if
29546 expressions, as required by C99.
29547
29548 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29549
29550 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29551 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29552 after this.
29553
29554 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29555
29556 * stdlib/longlong.h: Updated from GCC.
29557
29558 2012-05-09 Andreas Jaeger <aj@suse.de>
29559
29560 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29561 default is first entry.
29562 (run_mode): Set type.
29563 (main): Remove informal message about syslog.
29564 (options): Fix typo.
29565
29566 [BZ #14053]
29567 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29568 to asm.
29569 (lrint): Likewise.
29570 (llrintf): Likewise.
29571 (llrint): Likewise.
29572 (rint): Likewise.
29573 (rintf): Likewise.
29574 (nearbyint): Likewise.
29575 (nearbyintf): Likewise.
29576
29577 2012-05-09 Andreas Jaeger <aj@suse.de>
29578 Pedro Alves <palves@redhat.com>
29579
29580 * nscd/nscd.c (run_mode): Use enum.
29581 (main): Cleanup coding style issue.
29582
29583 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29584 Andreas Jaeger <aj@suse.de>
29585
29586 * nscd/nscd.c (go_background): Replaced with...
29587 (run_mode): ... this.
29588 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29589 (options): Add -F --foreground.
29590 (main): Implement it.
29591 (parse_opt): Parse it.
29592
29593 2012-05-09 Andreas Jaeger <aj@suse.de>
29594
29595 [BZ #14083]
29596 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29597 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29598 -Wconversion warning.
29599 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29600 Likewise.
29601
29602 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29603
29604 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29605 == 0.
29606 (LC_ALL): Use macro-int-constant.
29607 (LC_COLLATE): Likewise.
29608 (LC_CTYPE): Likewise.
29609 (LC_MESSAGES): Likewise.
29610 (LC_MONETARY): Likewise.
29611 (LC_NUMERIC): Likewise.
29612 (LC_TIME): Likewise.
29613 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29614 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29615 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29616 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29617 Specify type.
29618 [C99-based standards] (float_t): Expect type.
29619 [C99-based standards] (double_t): Expect type.
29620 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29621 type.
29622 [C99-based standards] (HUGE_VALL): Likewise.
29623 [C99-based standards] (INFINITY): Likewise.
29624 [C99-based standards] (NAN): Likewise.
29625 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29626 [C99-based standards] (FP_NAN): Likewise.
29627 [C99-based standards] (FP_NORMAL): Likewise.
29628 [C99-based standards] (FP_SUBNORMAL): Likewise.
29629 [C99-based standards] (FP_ZERO): Likewise.
29630 [C99-based standards] (FP_FAST_FMA): Use
29631 optional-macro-int-constant. Specify type. Require == 1.
29632 [C99-based standards] (FP_FAST_FMAF): Likewise.
29633 [C99-based standards] (FP_FAST_FMAL): Likewise.
29634 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29635 [C99-based standards] (FP_ILOGBNAN): Likewise.
29636 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29637 Specify type.
29638 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29639 [C99-based standards] (math_errhandling): Specify type.
29640 [ISO99 || ISO11] (signgam): Do not allow.
29641 [non-C99-based standards] (copysignf): Do not allow.
29642 [non-C99-based standards] (exp2f): Likewise.
29643 [non-C99-based standards] (log2f): Likewise.
29644 [non-C99-based standards] (modff): Allow.
29645 [non-C99-based standards] (erff): Do not allow.
29646 [non-C99-based standards] (erfcf): Likewise.
29647 [non-C99-based standards] (gammaf): Likewise.
29648 [non-C99-based standards] (hypotf): Likewise.
29649 [non-C99-based standards] (j0f): Likewise.
29650 [non-C99-based standards] (j1f): Likewise.
29651 [non-C99-based standards] (jnf): Likewise.
29652 [non-C99-based standards] (lgammaf): Likewise.
29653 [non-C99-based standards] (tgammaf): Likewise.
29654 [non-C99-based standards] (y0f): Likewise.
29655 [non-C99-based standards] (y1f): Likewise.
29656 [non-C99-based standards] (ynf): Likewise.
29657 [non-C99-based standards] (isnanf): Likewise.
29658 [non-C99-based standards] (acoshf): Likewise.
29659 [non-C99-based standards] (asinhf): Likewise.
29660 [non-C99-based standards] (atanhf): Likewise.
29661 [non-C99-based standards] (cbrtf): Likewise.
29662 [non-C99-based standards] (expm1f): Likewise.
29663 [non-C99-based standards] (ilogbf): Likewise.
29664 [non-C99-based standards] (log1pf): Likewise.
29665 [non-C99-based standards] (logbf): Likewise.
29666 [non-C99-based standards] (nextafterf): Likewise.
29667 [non-C99-based standards] (remainderf): Likewise.
29668 [non-C99-based standards] (rintf): Likewise.
29669 [non-C99-based standards] (scalbf): Likewise.
29670 [non-C99-based standards] (copysignl): Likewise.
29671 [non-C99-based standards] (exp2l): Likewise.
29672 [non-C99-based standards] (log2l): Likewise.
29673 [non-C99-based standards] (modfl): Allow.
29674 [non-C99-based standards] (erfl): Do not allow.
29675 [non-C99-based standards] (erfcl): Likewise.
29676 [non-C99-based standards] (gammal): Likewise.
29677 [non-C99-based standards] (hypotl): Likewise.
29678 [non-C99-based standards] (j0l): Likewise.
29679 [non-C99-based standards] (j1l): Likewise.
29680 [non-C99-based standards] (jnl): Likewise.
29681 [non-C99-based standards] (lgammal): Likewise.
29682 [non-C99-based standards] (tgammal): Likewise.
29683 [non-C99-based standards] (y0l): Likewise.
29684 [non-C99-based standards] (y1l): Likewise.
29685 [non-C99-based standards] (ynl): Likewise.
29686 [non-C99-based standards] (isnanl): Likewise.
29687 [non-C99-based standards] (acoshl): Likewise.
29688 [non-C99-based standards] (asinhl): Likewise.
29689 [non-C99-based standards] (atanhl): Likewise.
29690 [non-C99-based standards] (cbrtl): Likewise.
29691 [non-C99-based standards] (expm1l): Likewise.
29692 [non-C99-based standards] (ilogbl): Likewise.
29693 [non-C99-based standards] (log1pl): Likewise.
29694 [non-C99-based standards] (logbl): Likewise.
29695 [non-C99-based standards] (nextafterl): Likewise.
29696 [non-C99-based standards] (remainderl): Likewise.
29697 [non-C99-based standards] (rintl): Likewise.
29698 [non-C99-based standards] (scalbl): Likewise.
29699 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29700 [non-C99-based standards] (FP_*): Do not allow.
29701 [C99-based standards] (FP_*): Change to
29702 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29703 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29704 allow.
29705 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29706 (SIG_ERR): Likewise.
29707 [X/Open-based standards] (SIG_HOLD): Likewise.
29708 (SIG_IGN): Likewise.
29709 (SIGABRT): Use macro-int-constant. Specify type. Require
29710 positive value.
29711 (SIGFPE): Likewise.
29712 (SIGILL): Likewise.
29713 (SIGINT): Likewise.
29714 (SIGSEGV): Likewise.
29715 (SIGTER): Likewise.
29716 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29717 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29718 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29719 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29720 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29721 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29722 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29723 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29724 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29725 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29726 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29727 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29728 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29729 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29730 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29731 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29732 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29733 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29734 [X/Open-based standards] (SIGTRAP): Likewise.
29735 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29736 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29737 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29738 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29739 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29740 allow.
29741
29742 2012-05-08 Ian Wienand <ianw@vmware.com>
29743
29744 [BZ #14080]
29745 * time/tzset.c (__tzset_parse_tz): Update default rules for
29746 daylight time changes in the Energy Policy Act of 2005.
29747
29748 2012-05-09 Andreas Jaeger <aj@suse.de>
29749
29750 [BZ #13983]
29751 * elf/ldconfig.c (parse_conf): Change string to make clear that
29752 ldconfig only issued a warning if ld.so.conf does not exist.
29753
29754 2012-05-08 David S. Miller <davem@davemloft.net>
29755
29756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29757 movxtod instead of popping the value on the stack.
29758
29759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29760
29761 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29762
29763 * config.h.in: Add HAVE_ARM_PCS_VFP.
29764
29765 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
29766
29767 [BZ #13979]
29768 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29769 checking but the checks are disabled for any reason.
29770
29771 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29772
29773 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29774 and ELF64_R_TYPE with ELFW(R_TYPE).
29775
29776 2012-05-08 Joseph Myers <joseph@codesourcery.com>
29777
29778 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29779 (ulimit): Likewise.
29780
29781 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29782 (settimeofday): Likewise.
29783
29784 2012-05-08 Mike Frysinger <vapier@gentoo.org>
29785
29786 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29787 a struct th_u2 inside the union, and move tu_block/tu_code into
29788 a new th_u3 union of tu_block/tu_code inside of that. Move
29789 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29790 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29791 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29792 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29793 (th_stuff): Change to th_u1.tu_stuff.
29794 (th_data): Define.
29795 (th_msg): Change to th_u1.th_u2.tu_data.
29796
29797 2012-05-07 David S. Miller <davem@davemloft.net>
29798
29799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29800
29801 [BZ #14074]
29802 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29803 (SETUP_PIC_REG): Use it.
29804 (SETUP_PIC_REG_LEAF): Use it.
29805
29806 2012-05-07 Joseph Myers <joseph@codesourcery.com>
29807
29808 [BZ #13885]
29809 [BZ #13923]
29810 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29811 USE_AS_EXPM1L.
29812 (EXPL_FINITE): Likewise.
29813 (FLDLOG): Likewise.
29814 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29815 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29816 e_expl.S.
29817 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29818 USE_AS_EXPM1L.
29819 (EXPL_FINITE): Likewise.
29820 (FLDLOG): Likewise.
29821 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29822 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29823 e_expl.S.
29824 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29825 test of -max_value argument for long double.
29826 * sysdeps/i386/fpu/libm-test-ulps: Update.
29827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29828
29829 2012-05-06 David S. Miller <davem@davemloft.net>
29830
29831 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29832 quad soft-float symbols whose references which are compiler
29833 generated.
29834 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29835
29836 2012-05-06 Joseph Myers <joseph@codesourcery.com>
29837
29838 [BZ #13884]
29839 [BZ #13914]
29840 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29841 USE_AS_EXP10L.
29842 (EXPL_FINITE): Likewise.
29843 (FLDLOG): Likewise.
29844 (c0): Likewise.
29845 (c1): Likewise.
29846 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29847 Adjust comments for base varying.
29848 (__expl_finite): Change alias to EXPL_FINITE.
29849 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29850 e_expl.S.
29851 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29852 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29853 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29854 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29855 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29856 USE_AS_EXP10L.
29857 (EXPL_FINITE): Likewise.
29858 (FLDLOG): Likewise.
29859 (c0): Likewise.
29860 (c1): Likewise.
29861 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29862 Adjust comments for base varying.
29863 (__expl_finite): Change alias to EXPL_FINITE.
29864 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29865 tests for bugs.
29866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29867
29868 [BZ #14064]
29869 * math/libm-test.inc (check_float_internal): Correct ulp
29870 calculation for subnormal expected results.
29871
29872 2012-05-06 Andreas Jaeger <aj@suse.de>
29873
29874 * Makeconfig (+math-flags): New, set to -frounding-math.
29875 (+cflags): Add +math-flags so that all of glibc gets compiled with
29876 it.
29877
29878 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29879
29880 2012-05-05 Joseph Myers <joseph@codesourcery.com>
29881
29882 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29883 Disable one test.
29884
29885 [BZ #13787]
29886 [BZ #13922]
29887 [BZ #14036]
29888 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29889 (__ieee754_expl): Allow for and saturate large arguments.
29890 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29891 (u_threshold): Likewise.
29892 (__exp): Call __ieee754_exp before checking for overflow and
29893 underflow.
29894 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29895 (u_threshold): Likewise.
29896 (__expf): Call __ieee754_expf before checking for overflow and
29897 underflow.
29898 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29899 (u_threshold): Likewise.
29900 (__expl): Call __ieee754_expl before checking for overflow and
29901 underflow.
29902 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29903 (__ieee754_expl): Allow for and saturate large arguments.
29904 * math/libm-test.inc (exp_test): Add another test. Do not allow
29905 missing overflow exception on overflow.
29906 (expm1_test): Do not allow missing overflow exception on overflow.
29907
29908 * sysdeps/i386/fpu/e_expl.c: Move to ...
29909 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29910 rather than using inline asm.
29911 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29912 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29913 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29914
29915 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29916 (nice): Likewise.
29917 (poll): Likewise.
29918 (signal): Likewise.
29919 (time): Likewise.
29920 (times): Likewise.
29921
29922 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29923
29924 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29925 sysdeps/unix/common/syscalls.list.
29926 (fchmod): Likewise.
29927 (fchown): Likewise.
29928 (ftruncate): Likewise.
29929 (getrusage): Likewise.
29930 (gettimeofday): Likewise.
29931 (setpgid): Likewise.
29932 (setregid): Likewise.
29933 (setreuid): Likewise.
29934 (sigaction): Likewise.
29935 (truncate): Likewise.
29936 (vhangup): Likewise.
29937 * sysdeps/unix/common/syscalls.list: Remove file.
29938 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29939 * sysdeps/unix/sysv/linux/Implies: Likewise.
29940
29941 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29942
29943 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29945 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29946 Moved to ...
29947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29948 Here.
29949 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29950 to ...
29951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29952 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29953 to ...
29954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29955 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29956 to ...
29957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29958 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29959 to ...
29960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29961 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29962 to ...
29963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29964 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29965 to ...
29966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29967 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29968 to ...
29969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29970 Here.
29971 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29972 to ...
29973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29974 Here.
29975 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29976 to ...
29977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29978 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29979 Moved to ...
29980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29981 Here.
29982 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29983 to ...
29984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29985
29986 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29987
29988 * sysdeps/unix/common/bits/dirent.h: Remove file.
29989 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29990
29991 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29992 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29993 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29994 * sysdeps/unix/bsd/isatty.c: Likewise.
29995 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29996 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29997 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29998
29999 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30000
30001 [BZ #13563]
30002 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30003 long double comparison inaccuracies.
30004 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30006
30007 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30008
30009 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30010 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30011
30012 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30013
30014 [BZ #14049]
30015 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30016 nonzero digits before rounding a hex value.
30017 * stdlib/tst-strtod.c (tests): Add another test.
30018
30019 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30020
30021 * sysdeps/s390/fpu/libm-test-ulps: Update.
30022
30023 2012-05-03 Andreas Jaeger <aj@suse.de>
30024
30025 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30026 does not get optimized out.
30027 (malloc_opt_barrier): New.
30028
30029 2012-05-03 Andreas Jaeger <aj@suse.de>
30030 Roland McGrath <roland@hack.frob.com>
30031
30032 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30033 intermediate file deletion.
30034 (generated): Add .symlist files.
30035
30036 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30037
30038 [BZ #13775]
30039 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30040 Redirect under this condition.
30041 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30042 [__USE_GNU] (__dprintf_chk): Not under this condition.
30043 [__USE_GNU] (__vdprintf_chk): Likewise.
30044 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30045 under this condition.
30046 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30047 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30048 [__USE_XOPEN2K8] (vdprintf): Likewise.
30049 [__USE_GNU] (__dprintf_chk): Not under this condition.
30050 [__USE_GNU] (__vdprintf_chk): Likewise.
30051 [__USE_GNU] (dprintf): Likewise.
30052 [__USE_GNU] (vdprintf): Likewise.
30053
30054 2012-05-03 Roland McGrath <roland@hack.frob.com>
30055
30056 * elf/Makefile (common-generated): Set this instead of generated for
30057 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30058 $(all-built-dso)-derived lists.
30059
30060 2012-05-03 Andreas Jaeger <aj@suse.de>
30061
30062 * sysdeps/i386/fpu/libm-test-ulps: Update.
30063
30064 * FAQ: Removed.
30065 * FAQ.in: Likewise.
30066 * scripts/gen-FAQ.pl: Likewise.
30067 * manual/install.texi (Installation): Point to online location of
30068 FAQ.
30069 * Makefile (files-for-dist): Remove FAQ.
30070 (FAQ): Remove.
30071
30072 2012-05-02 Allan McRae <allan@archlinux.org>
30073
30074 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30075 (LDFLAGS-reldepmod5.so): Likewise.
30076 (LDFLAGS-reldep6mod1.so): Likewise.
30077 (LDFLAGS-reldep6mod4.so): Likewise.
30078 (LDFLAGS-reldep8mod3.so): Likewise.
30079 (LDFLAGS-unload4mod1.so): Likewise.
30080 (LDFLAGS-unload4mod2.so): Likewise.
30081 (LDFLAGS-tst-initorder): Likewise.
30082 (LDFLAGS-tst-initordera2.so): Likewise.
30083 (LDFLAGS-tst-initordera3.so): Likewise.
30084 (LDFLAGS-tst-initordera4.so): Likewise.
30085 (LDFLAGS-tst-initorderb2.so): Likewise.
30086 (LDFLAGS-noload): Likewise.
30087 (LDFLAGS-next): Likewise.
30088 (LDFLAGS-order2mod1.so): Likewise.
30089 (LDFLAGS-order2mod2.so): Likewise.
30090 (LDFLAGS-tst-initorder2): Likewise.
30091 (LDFLAGS-tst-initorder2a.so): Likewise.
30092 (LDFLAGS-tst-initorder2b.so): Likewise.
30093 (LDFLAGS-tst-initorder2c.so): Likewise.
30094 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30095
30096 2012-05-02 David S. Miller <davem@davemloft.net>
30097
30098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30099
30100 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30101
30102 [BZ #14055]
30103 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30104
30105 2012-05-02 Andreas Jaeger <aj@suse.de>
30106
30107 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30108 since we manipulate rounding mode.
30109 (CPPFLAGS-test-idouble.c): Likewise.
30110 (CPPFLAGS-test-ifloat.c): Likewise.
30111 (CFLAGS-test-ldouble.c): Likewise.
30112 (CFLAGS-test-double.c): Likewise.
30113 (CFLAGS-test-float.c): Likewise.
30114 (CFLAGS-test-misc.c): Likewise.
30115 (CFLAGS-test-test-fenv.c): Likewise.
30116
30117 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30118
30119 [BZ #2550]
30120 [BZ #2570]
30121 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30122 comparisons to determine direction to adjust input.
30123
30124 2012-05-01 Roland McGrath <roland@hack.frob.com>
30125
30126 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30127 output to the target.
30128
30129 * scripts/localplt.awk: New file.
30130 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30131 (check-localplt-CFLAGS): Variable removed.
30132 ($(all-built-dso:=.jmprel)): New static pattern rule.
30133 (generated): Add those targets.
30134 (localplt-built-dso): New variable.
30135 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30136
30137 * elf/check-localplt.c: File removed.
30138
30139 * scripts/check-execstack.awk: New file.
30140 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30141 (check-execstack-CFLAGS): Variable removed.
30142 ($(objpfx)check-execstack.h): Target removed.
30143 ($(objpfx)execstack-default): New target.
30144 (generated): Add that instead of check-execstack.h.
30145 ($(all-built-dso:=.phdr)): New static pattern rule.
30146 (generated): Add those targets.
30147 * elf/check-execstack.c: File removed.
30148
30149 * scripts/check-textrel.awk: New file.
30150 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30151 (check-textrel-CFLAGS): Variable removed.
30152 (all-built-dso): Use := to define.o
30153 ($(all-built-dso:=.dyn)): New static pattern rule.
30154 (generated): Add those targets.
30155 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30156 * config.make.in (READELF): New substituted variable.
30157 * elf/check-textrel.c: File removed.
30158
30159 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30160
30161 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30162 allow.
30163 * conform/data/ctype.h-data [C99-based standards] (isblank):
30164 Expect function.
30165 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30166 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30168 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30169 Specify type. Require positive value.
30170 (EILSEQ): Likewise.
30171 (ERANGE): Likewise.
30172 [ISO || POSIX] (EILSEQ): Do not expect.
30173 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30174 Specify type. Require positive value.
30175 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30176 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30177 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30178 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30179 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30180 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30181 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30182 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30183 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30184 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30185 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30186 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30187 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30188 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30189 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30190 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30191 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30192 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30193 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30194 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30195 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30196 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30197 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30198 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30199 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30200 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30201 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30202 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30203 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30204 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30205 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30206 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30207 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30208 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30209 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30210 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30211 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30212 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30213 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30214 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30215 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30216 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30217 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30218 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30219 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30220 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30221 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30222 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30223 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30224 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30225 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30226 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30227 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30228 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30229 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30230 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30231 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30232 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30233 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30234 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30235 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30236 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30237 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30238 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30239 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30240 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30241 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30242 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30243 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30244 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30245 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30246 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30247 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30248 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30249 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30250 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30251 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30252 Require >= 2.
30253 (FLT_ROUNDS): Expect as macro, not constant.
30254 (FLT_MANT_DIG): Use macro-int-constant.
30255 (DBL_MANT_DIG): Likewise.
30256 (LDBL_MANT_DIG): Likewise.
30257 (FLT_DIG): Likewise.
30258 (DBL_DIG): Likewise.
30259 (LDBL_DIG): Likewise.
30260 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30261 (DBL_MIN_EXP): Likewise.
30262 (LDBL_MIN_EXP): Likewise.
30263 (FLT_MAX_EXP): Use macro-int-constant.
30264 (DBL_MAX_EXP): Likewise.
30265 (LDBL_MAX_EXP): Likewise.
30266 (FLT_MAX_10_EXP): Likewise.
30267 (DBL_MAX_10_EXP): Likewise.
30268 (LDBL_MAX_10_EXP): Likewise.
30269 (FLT_MAX): Use macro-constant.
30270 (DBL_MAX): Likewise.
30271 (LDBL_MAX): Likewise.
30272 (FLT_EPSILON): Use macro-constant. Give upper bound.
30273 (DBL_EPSILON): Likewise.
30274 (LDBL_EPSILON): Likewise.
30275 (FLT_MIN): Likewise.
30276 (DBL_MIN): Likewise.
30277 (LDBL_MIN): Likewise.
30278 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30279 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30280 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30281 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30282 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30283 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30284 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30285 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30286 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30287 [ISO11] (FLT_TRUE_MIN): Likewise.
30288 [ISO11] (LDBL_TRUE_MIN): Likewise.
30289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30290 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30291 (SCHAR_MIN): Use macro-int-constant. Specify type.
30292 (SCHAR_MAX): Likewise.
30293 (UCHAR_MAX): Likewise.
30294 (CHAR_MIN): Likewise.
30295 (CHAR_MAX): Likewise.
30296 (MB_LEN_MAX): Use macro-int-constant.
30297 (SHRT_MIN): Use macro-int-constant. Specify type.
30298 (SHRT_MAX): Likewise.
30299 (USHRT_MAX): Likewise.
30300 (INT_MAX): Likewise.
30301 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30302 bound negative.
30303 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30304 bound with "U".
30305 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30306 bound with "L".
30307 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30308 bound negative. Suffix upper bound with "L".
30309 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30310 bound with "UL".
30311 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30312 Specify type.
30313 [C99-based standards] (LLONG_MAX): Likewise.
30314 [C99-based standards] (ULLONG_MAX): Likewise.
30315 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30316 == 0.
30317 [ISO11] (max_align_t): Require type.
30318 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30319
30320 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30321 from $CFLAGS, without defining away __attribute__ calls.
30322 (checknamespace): Use $CFLAGS_namespace.
30323
30324 * conform/conformtest.pl (@keywords): Only include C99 keywords
30325 for standards based on C99 or C11.
30326
30327 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30328 Disable tests.
30329 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30330 UNIX98]: Likewise.
30331
30332 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30333 usability of symbols in #if.
30334
30335 * conform/conformtest.pl: If macro or constant types start
30336 "promoted:", expect the symbol to be of the following type
30337 promoted by the integer promotions.
30338
30339 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30340 in one place. Also handle "macro-constant".
30341
30342 * conform/conformtest.pl: Only accept expected macro values with
30343 "==". Parse all "macro" lines in one place.
30344 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30345
30346 * conform/conformtest.pl: Handle braced types on "constant" lines
30347 instead of handling "typed-constant".
30348 * conform/data/signal.h-data: Use "constant" instead of
30349 "typed-constant".
30350
30351 * conform/conformtest.pl: Handle "optional-" at start of lines in
30352 one place rather than duplicating several cases. Handle each
30353 format of "macro" line with initial "optional-".
30354
30355 * conform/conformtest.pl: Only accept expected constant or
30356 optional-constant values with "==". Parse all "constant" lines in
30357 one place. Parse all "optional-constant" lines in one place.
30358 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30359 * conform/data/fmtmsg.h-data: Likewise.
30360 * conform/data/netinet/in.h-data: Likewise.
30361 * conform/data/tar.h-data: Likewise.
30362 * conform/data/limits.h-data: Use "==" form on "constant" and
30363 "optional-constant" lines.
30364
30365 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30366 Use -std=c99 for XOPEN2K.
30367 (@knownproblems): Remove.
30368 (newtoken): Don't check %isknown.
30369
30370 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30371 Do not expect macro.
30372 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30373 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30374 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30375 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30376 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30377 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30378 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30379 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30380 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30381 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30382 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30383 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30384 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30385 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30386 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30387 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30388 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30389 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30390 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30391 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30392 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30393 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30394 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30395 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30396 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30397 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30398 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30399 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30400 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30401 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30402 [XPG3] (acosh): Likewise.
30403 [XPG3] (asinh): Likewise.
30404 [XPG3] (atanh): Likewise.
30405 [XPG3] (cbrt): Likewise.
30406 [XPG3] (expm1): Likewise.
30407 [XPG3] (ilogb): Likewise.
30408 [XPG3] (log1p): Likewise.
30409 [XPG3] (logb): Likewise.
30410 [XPG3] (nextafter): Likewise.
30411 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30412 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30413 [XPG3] (remainder): Likewise.
30414 [XPG3] (rint): Likewise.
30415 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30416 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30417 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30418 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30419 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30420 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30421 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30422 [UNIX98 || XOPEN2K] (scalb): Expect.
30423 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30424 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30425 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30426 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30427 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30428 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30429 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30430 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30431 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30432 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30433 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30434 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30435 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30436 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30437 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30438 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30439 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30440 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30441 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30442 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30443 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30444 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30445 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30446 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30447 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30448 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30449 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30450 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30451 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30452 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30453 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30454 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30455 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30456 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30457 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30458 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30459 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30460 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30461 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30462 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30463 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30464 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30465 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30466 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30467 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30468 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30469 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30470 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30471 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30472 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30473 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30474 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30475 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30476 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30477 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30478 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30479 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30480 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30481 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30482 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30483 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30484 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30485 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30486 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30487 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30488 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30489 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30490 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30491 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30492 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30493 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30494 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30495 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30496 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30497 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30498 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30499 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30500 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30501 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30502 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30503 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30504 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30505 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30506 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30507 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30508 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30509 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30510 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30511 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30512 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30513 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30514 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30515 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30516 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30517 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30518 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30519 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30520 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30521 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30522 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30523 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30524 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30525 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30526 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30527 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30528 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30529 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30530 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30531 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30532 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30533 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30534 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30535 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30536 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30537 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30538 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30539 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30540 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30541 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30542 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30543 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30544 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30545 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30546 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30547 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30548 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30549 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30550 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30551 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30552 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30553 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30554 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30555 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30556 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30557 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30558 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30559 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30560
30561 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30562 _XOPEN_SOURCE_EXTENDED for XPG4.
30563
30564 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30565
30566 * Makeconfig (localtime): Remove variable.
30567 (inst_localtime-file): Likewise.
30568
30569 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30570
30571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30572 Update.
30573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30574 Update.
30575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30576 Update.
30577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30578 Update.
30579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30580 Update.
30581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30582 Update.
30583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30584 Update.
30585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30586 Update.
30587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30588 Update.
30589
30590 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30591
30592 [BZ #2550]
30593 [BZ #2570]
30594 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30595 comparisons to determine direction to adjust input.
30596 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30597 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30598 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30599 Likewise.
30600 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30601 Likewise.
30602 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30603 Likewise.
30604 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30605 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30606 Likewise.
30607 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30608 Likewise.
30609 * math/libm-test.inc (nexttoward_test): Add more tests.
30610
30611 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30612
30613 [BZ #14040]
30614 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30615 in version GLIBC_2.1, not GLIBC_2.0.
30616 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30617 Likewise.
30618
30619 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30620
30621 [BZ #13942]
30622 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30623 (1 - x) * (1 + x).
30624 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30625 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30626 * math/libm-test.inc (acos_test): Add more tests.
30627 (asin_test): Likewise.
30628 * sysdeps/i386/fpu/libm-test-ulps: Update.
30629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30630
30631 [BZ #14034]
30632 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30633 of square root.
30634 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30635 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30636 * math/libm-test.inc (acos_test_tonearest): New function.
30637 (acos_test_towardzero): Likewise.
30638 (acos_test_downward): Likewise.
30639 (acos_test_upward): Likewise.
30640 (asin_test_tonearest): Likewise.
30641 (asin_test_towardzero): Likewise.
30642 (asin_test_downward): Likewise.
30643 (asin_test_upward): Likewise.
30644 (main): Call the new functions.
30645 * sysdeps/i386/fpu/libm-test-ulps: Update.
30646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30647
30648 [BZ #13884]
30649 [BZ #13924]
30650 * math/e_exp10.c: Include <float.h>.
30651 (__ieee754_exp10): Handle underflow here rather than multiplying
30652 large negative argument by M_LN10.
30653 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30654 of __ieee754_expf.
30655 * math/e_exp10l.c: Include <float.h>.
30656 (__ieee754_exp10l): Handle underflow here rather than multiplying
30657 large negative argument by M_LN10l.
30658 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30659 spurious overflow exception on underflow.
30660
30661 2012-04-29 Marek Polacek <polacek@redhat.com>
30662
30663 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30664 (__fortify_function): New macro.
30665 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30666 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30667 __extern_always_inline.
30668 * libio/bits/stdio2.h: Likewise.
30669 * libio/bits/stdio.h: Likewise.
30670 * string/string.h: Likewise.
30671 * string/bits/string3.h: Likewise.
30672 * include/stdio.h: Likewise.
30673 * stdlib/bits/stdlib.h: Likewise.
30674 * stdlib/stdlib.h: Likewise.
30675 * rt/bits/mqueue2.h: Likewise.
30676 * rt/mqueue.h: Likewise.
30677 * posix/bits/unistd.h: Likewise.
30678 * posix/unistd.h: Likewise.
30679 * io/bits/poll2.h: Likewise.
30680 * io/bits/fcntl2.h: Likewise.
30681 * io/fcntl.h: Likewise.
30682 * io/sys/poll.h: Likewise.
30683 * misc/bits/syslog.h: Likewise.
30684 * misc/bits/syslog-ldbl.h: Likewise.
30685 * misc/sys/syslog.h: Likewise.
30686 * socket/bits/socket2.h: Likewise.
30687 * socket/sys/socket.h: Likewise.
30688 * debug/tst-chk1.c: Likewise.
30689 * wcsmbs/bits/wchar2.h: Likewise.
30690 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30691 * wcsmbs/wchar.h: Likewise.
30692
30693 2012-04-29 Andreas Jaeger <aj@suse.de>
30694
30695 * Makerules (tests): Remove enable-check-abi protection.
30696 (check-abi-warn): Remove.
30697 (check-abi-%): Remove check-abi-warn usage.
30698
30699 * configure.in: Remove check-abi configure option.
30700 * configure: Regenerated.
30701 * config.make.in (enable-check-abi): Remove.
30702
30703 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30704
30705 [BZ #14033]
30706 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30707 double functions to double *_finite functions.
30708
30709 [BZ #13941]
30710 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30711 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30712 LDBL_MIN_EXP.
30713 * stdio-common/Makefile (tests): Add tst-sprintf3.
30714 * stdio-common/tst-sprintf3.c: New file.
30715
30716 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30717 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30718
30719 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30720
30721 * conform/conformtest.pl: Remove duplicate typed-constant
30722 handling.
30723
30724 2012-04-28 David S. Miller <davem@davemloft.net>
30725
30726 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30727 (check-abi-%): Remove AWK script prerequisite and explicit
30728 abilist directory.
30729 (check-abi): Rewrite to just diff the symlist with the abilist.
30730 (config-tls, config-abi-config): Delete, no longer used.
30731 (update-abi-%): Remove AWK script and explicit abilist directory.
30732 (update-abi): Rewrite to simply compare and conditionally copy the
30733 symlist and the sysdep abilist file. Remove update-abi-config
30734 checks.
30735 * abilist/ld.abilist: Remove.
30736 * abilist/libBrokenLocale.abilist: Remove.
30737 * abilist/libanl.abilist: Remove.
30738 * abilist/libcrypt.abilist: Remove.
30739 * abilist/libdl.abilist: Remove.
30740 * abilist/librt.abilist: Remove.
30741 * abilist/libthread_db.abilist: Remove.
30742 * abilist/libutil.abilist: Remove.
30743 * scripts/extract-abilist.awk: Remove.
30744 * scripts/merge-abilist.awk: Remove.
30745 * sysdeps/generic/libcidn.abilist: New file.
30746 * sysdeps/generic/libnss_compat.abilist: New file.
30747 * sysdeps/generic/libnss_db.abilist: New file.
30748 * sysdeps/generic/libnss_dns.abilist: New file.
30749 * sysdeps/generic/libnss_files.abilist: New file.
30750 * sysdeps/generic/libnss_hesiod.abilist: New file.
30751 * sysdeps/generic/libnss_nis.abilist: New file.
30752 * sysdeps/generic/libnss_nisplus.abilist: New file.
30753 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30754 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30755 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30756 file.
30757 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30758 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30759 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30760 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30761 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30762 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30763 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30764 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30765 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30766 file.
30767 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30768 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30769 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30770 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30771 file.
30772 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30773 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30774 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30775 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30776 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30777 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30778 file.
30779 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30780 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30781 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30782 file.
30783 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30785 New file.
30786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30787 New file.
30788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30789 New file.
30790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30791 New file.
30792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30793 New file.
30794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30795 New file.
30796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30797 New file.
30798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30799 New file.
30800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30801 New file.
30802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30803 New file.
30804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30805 New file.
30806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30807 New file.
30808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30809 New file.
30810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30811 file.
30812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30813 New file.
30814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30815 New file.
30816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30817 file.
30818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30819 New file.
30820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30821 New file.
30822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30823 file.
30824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30825 New file.
30826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30827 New file.
30828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30829 New file.
30830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30831 New file.
30832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30833 New file.
30834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30835 New file.
30836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30838 file.
30839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30840 New file.
30841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30842 file.
30843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30844 file.
30845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30846 file.
30847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30848 file.
30849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30850 file.
30851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30852 New file.
30853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30854 file.
30855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30856 file.
30857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30858 New file.
30859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30860 file.
30861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30863 file.
30864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30865 New file.
30866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30867 file.
30868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30869 file.
30870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30871 file.
30872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30873 file.
30874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30875 file.
30876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30877 New file.
30878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30879 file.
30880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30881 file.
30882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30883 New file.
30884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30885 file.
30886 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30887 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30888 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30889 file.
30890 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30891 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30892 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30893 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30894 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30895 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30896 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30897 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30898 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30899 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30902 file.
30903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30904 New file.
30905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30906 file.
30907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30908 file.
30909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30910 file.
30911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30912 file.
30913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30914 file.
30915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30916 New file.
30917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30918 New file.
30919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30920 file.
30921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30922 New file.
30923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30924 file.
30925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30927 file.
30928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30929 New file.
30930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30931 file.
30932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30933 file.
30934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30935 file.
30936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30937 file.
30938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30939 file.
30940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30941 New file.
30942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30943 New file.
30944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30945 file.
30946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30947 New file.
30948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30949 file.
30950
30951 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30952
30953 * conform/conformtest.pl: Fix typo in handling typed-constant from
30954 allow-header.
30955
30956 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30957
30958 * README: Cut down references to pre-2.6 Linux kernels and
30959 Linuxthreads. Update lists of configurations in libc and ports
30960 and sort alphabetically. Say "or newer" with Linux kernel version
30961 requirements.
30962
30963 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30964
30965 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30966
30967 [BZ #887]
30968 * math/libm-test.inc (logb_test_downward): New test to expose
30969 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30970 rounding mode.
30971
30972 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30973
30974 [BZ #14027]
30975 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30976 to be done.
30977 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30978 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30979
30980 2012-04-26 Joseph Myers <joseph@codesourcery.com>
30981
30982 * sysdeps/unix/i386/brk.S: Remove file.
30983 * sysdeps/unix/i386/dl-brk.S: Likewise.
30984 * sysdeps/unix/i386/pipe.S: Likewise.
30985 * sysdeps/unix/i386/sigreturn.S: Likewise.
30986 * sysdeps/unix/i386/syscall.S: Likewise.
30987 * sysdeps/unix/i386/vfork.S: Likewise.
30988 * sysdeps/unix/i386/wait.S: Likewise.
30989
30990 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30991 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30992
30993 * configure.in (arm*-none*): Do not allow without
30994 --enable-hacker-mode.
30995 (netbsd*): Remove case setting base_os.
30996 (386bsd*): Likewise.
30997 (freebsd*): Likewise.
30998 (bsdi*): Likewise.
30999 (osf*): Likewise.
31000 (sunos*): Likewise.
31001 (ultrix*): Likewise.
31002 (newsos*): Likewise.
31003 (dynix*): Likewise.
31004 (*bsd*): Likewise.
31005 (sysv*): Likewise.
31006 (isc*): Likewise.
31007 (esix*): Likewise.
31008 (sco*): Likewise.
31009 (minix*): Likewise.
31010 (irix4*): Likewise.
31011 (irix6*): Likewise.
31012 (solaris[2-9]*): Likewise.
31013 (none): Likewise.
31014 * configure: Regenerated.
31015
31016 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31017
31018 [BZ #11521]
31019 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31020 overflow or cancellation in calculating denominator.
31021 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31023 down expression to avoid unexpected rounding in newer GCCs.
31024 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31025
31026 2012-04-26 David S. Miller <davem@davemloft.net>
31027
31028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31029 long-double compat symbols.
31030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31043
31044 2012-04-25 David S. Miller <davem@davemloft.net>
31045
31046 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31047 HWCAP_* values only after the memory barriers have been defined.
31048 (atomic_full_barrier): Define.
31049 (atomic_read_barrier): Define.
31050 (atomic_write_barrier): Define.
31051
31052 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31053
31054 * shlib-versions: Add libgcc_s version information.
31055 * sysdeps/generic/libgcc_s.h: Remove.
31056 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31057 libgcc_s.h.
31058 * sysdeps/gnu/unwind-resume.c: Likewise.
31059 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31060
31061 2012-04-25 David S. Miller <davem@davemloft.net>
31062
31063 * sysdeps/unix/sparc/brk.S: Delete.
31064 * sysdeps/unix/sparc/dl-brk.S: Delete.
31065 * sysdeps/unix/sparc/pipe.S: Delete.
31066 * sysdeps/unix/sparc/sysdep.S: Delete.
31067 * sysdeps/unix/sparc/sysdep.h: Delete.
31068 * sysdeps/unix/sparc/vfork.S: Delete.
31069 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31070 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31071 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31072 ret_ERRVAL, r0, r1, MOVE): Define.
31073 (JUMPTARGET): Remove.
31074 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31075 sysdeps/unix/sparc/sysdep.h
31076 (ENTRY, END): Remove.
31077 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31078
31079 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31080
31081 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31082 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31083 -DIS_IN_build.
31084
31085 * timezone/README: Update upstream location and email address for
31086 tzcode and tzdata.
31087 * timezone/zdump.c: Update from tzcode 2012b.
31088 * timezone/zic.c: Likewise.
31089
31090 * configure.in (libc_cv_as_needed): Remove test.
31091 * configure: Regenerated.
31092 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31093 conditional definition.
31094 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31095 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31096 * config.make.in (have-as-needed): Remove variable.
31097
31098 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31099 Paul Pluzhnikov <ppluzhnikov@google.com>
31100
31101 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31102 strings correctly.
31103
31104 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31105
31106 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31107 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31108 * sysdeps/sh/strlen.S: Likewise.
31109
31110 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31111
31112 * sysdeps/unix/fork.S: Remove file.
31113 * sysdeps/unix/i386/fork.S: Likewise.
31114 * sysdeps/unix/sparc/fork.S: Likewise.
31115
31116 * sysdeps/unix/system.c: Remove file.
31117 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31118
31119 * sysdeps/unix/getegid.S: Remove file.
31120 * sysdeps/unix/geteuid.S: Likewise.
31121
31122 2012-04-24 Roland McGrath <roland@hack.frob.com>
31123
31124 * scripts/check-localplt.awk: New file.
31125 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31126 of diff.
31127 * scripts/data/localplt-generic.data: Add a comment.
31128
31129 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31130 NODE when __dir_mkfile failed.
31131 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31132 Reported by Ludovic Courtès <ludo@gnu.org>.
31133
31134 2012-04-24 Andreas Jaeger <aj@suse.de>
31135
31136 * Makerules (common-clean): Also remove gen-as-const-headers
31137 files.
31138
31139 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31140
31141 * Makerules (native-compile): Do not change working directory for
31142 build. Use $(OUTPUT_OPTION) in command.
31143 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31144
31145 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31146
31147 [BZ #13886]
31148 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31149 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31150 * math/libm-test.inc (floor_test): Add more tests.
31151 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31152
31153 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31154
31155 * sysdeps/unix/getdents.c: Remove file.
31156 * sysdeps/unix/sysv/getdents.c: Likewise.
31157 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31158
31159 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31160 sysdeps/unix/mman/syscalls.list.
31161 (mmap): Likewise.
31162 (mprotect): Likewise.
31163 (msync): Likewise.
31164 (munmap): Likewise.
31165 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31166 * sysdeps/unix/mman/syscalls.list: Remove.
31167 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31168
31169 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31170 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31171 * configure: Regenerated.
31172 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31173 $(libgcc_s_suffix).
31174 * config.make.in (libgcc_s_suffix): Remove variable.
31175
31176 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31177
31178 * sysdeps/unix/sysv/gethostname.c: Move to ...
31179 * sysdeps/posix/gethostname.c: ... here.
31180
31181 * sysdeps/unix/execve.S: Remove file.
31182
31183 * sysdeps/unix/_exit.S: Remove file.
31184
31185 2012-04-23 Andreas Jaeger <aj@suse.de>
31186
31187 [BZ #13739]
31188 * manual/Makefile: Remove make dist support, there's no
31189 need for a stand-alone documentation tar ball.
31190 (TEXI2DVI): Define always, it's not in Makeconfig.
31191 (dist): Removed.
31192 (tar-it): Removed.
31193 (edition): Removed.
31194 (glibc-doc-$(edition).tar): Removed
31195 (%.Z): Removed.
31196 (%.gz): Removed.
31197 (%.uu): Removed.
31198 (ETAGS): Remove, it's in Makeconfig.
31199 (move-if-change): Remove, it's in Makeconfig.
31200
31201 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31202
31203 [BZ #13970]
31204 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31205 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31206 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31207 (strtod_l, strtof_l, strtold_l): Remove __wur.
31208 It is not necessarily an error to ignore strtol's return value.
31209 One can reliably look at the stored endptr to decide whether
31210 the number had valid syntax.
31211
31212 2012-04-21 Andreas Jaeger <aj@suse.de>
31213
31214 [BZ #13739]
31215 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31216
31217 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31218
31219 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31220 * sysdeps/unix/sysv/Versions: Remove file.
31221
31222 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31223
31224 [BZ #13927]
31225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31226
31227 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31228
31229 [BZ #7064]
31230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31231 version from __vm86.
31232
31233 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31234
31235 * sysdeps/unix/common/lxstat.c: Remove file.
31236 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31237
31238 * sysdeps/unix/sysv/Makefile: Remove file.
31239
31240 * sysdeps/unix/sysv/direct.h: Remove file.
31241
31242 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31243 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31244 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31245 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31246 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31247 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31248 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31249
31250 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31251
31252 * sysdeps/unix/xmknod.c: Remove file.
31253 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31254
31255 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31256
31257 * sysdeps/unix/sysv/i386/time.S: Remove file.
31258
31259 * sysdeps/unix/fxstat.c: Remove file.
31260 * sysdeps/unix/xstat.c: Likewise.
31261 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31262
31263 * sysdeps/unix/sysv/sigaction.c: Remove file.
31264
31265 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31266 (sysdep_headers): Remove variable.
31267 [termio.h not in sysdep_headers] (generated): Likewise.
31268 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31269 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31270 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31271 * sysdeps/unix/sysv/tcflow.c: Likewise.
31272 * sysdeps/unix/sysv/tcflush.c: Likewise.
31273 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31274 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31275 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31276 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31277 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31278
31279 * sysdeps/unix/siglist.c: Remove file.
31280
31281 * sysdeps/unix/getppid.S: Remove file.
31282
31283 * sysdeps/unix/mkdir.c: Remove file.
31284 * sysdeps/unix/rmdir.c: Likewise.
31285
31286 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31287
31288 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31289 ERR_MAX value.
31290 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31291 errlist-compat value.
31292
31293 2012-04-18 David S. Miller <davem@davemloft.net>
31294
31295 * sysdeps/generic/memcopy.h (reg_char): Delete.
31296 * debug/strcat_chk.c: Use char, not reg_char.
31297 * debug/strcpy_chk.c: Likewise.
31298 * debug/strncat_chk.c: Likewise.
31299 * debug/strncpy_chk.c: Likewise.
31300 * string/memchr.c: Likewise.
31301 * string/memrchr.c: Likewise.
31302 * string/rawmemchr.c: Likewise.
31303 * string/strcat.c: Likewise.
31304 * string/strchr.c: Likewise.
31305 * string/strchrnul.c: Likewise.
31306 * string/strcmp.c: Likewise.
31307 * string/strcpy.c: Likewise.
31308 * string/strncat.c: Likewise.
31309 * string/strncmp.c: Likewise.
31310 * string/strncpy.c: Likewise.
31311
31312 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31313
31314 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31315 __builtin_memcopy is called when src and dest ranges are known to not
31316 overlap.
31317
31318 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31319
31320 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31321 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31322 fwd_align_merge macro call.
31323 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31324 bwd_align_merge macro call.
31325 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31326
31327 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31328
31329 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31330 bwd_align_merge macros.
31331 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31332 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31333 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31334
31335 2012-04-18 David S. Miller <davem@davemloft.net>
31336
31337 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31338
31339 2012-04-18 Andreas Jaeger <aj@suse.de>
31340
31341 [BZ# 6794]
31342 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31343 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31344 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31345
31346 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31347 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31348 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31349
31350 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31351 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31352 Adjust for changed ldbl-128 files.
31353
31354 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31355 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31356 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31357
31358 2012-04-17 David S. Miller <davem@davemloft.net>
31359
31360 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31361
31362 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31363
31364 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31365 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31366 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31367 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31368 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31369 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31370
31371 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31372
31373 [BZ #6794]
31374 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31375 * math/libm-test.inc: Add ilogb errno and exception tests.
31376 * math/w_ilogb.c: New file: ilogb wrapper.
31377 * math/w_ilogbf.c: New file: ilogbf wrapper.
31378 * math/w_ilogbl.c: New file: ilogbl wrapper.
31379 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31380 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31381 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31382 exception being thrown with 0.0 as argument.
31383 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31384 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31385 exception being thrown with 0.0 as argument.
31386 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31387 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31388 exception being thrown with 0.0 as argument.
31389 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31390 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31391 exception being thrown with 0.0 as argument.
31392 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31393 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31394 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31395 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31396 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31397 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31398 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31399 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31400 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31401
31402 2012-04-17 Petr Baudis <pasky@ucw.cz>
31403
31404 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31405 with altivec.
31406
31407 2012-04-16 Marek Polacek <polacek@redhat.com>
31408
31409 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31410
31411 2012-04-16 Marek Polacek <polacek@redhat.com>
31412
31413 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31414 operands of fdivp instruction.
31415
31416 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31417
31418 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31419 * elf/tst-auditmod3b.c: Likewise.
31420 * elf/tst-auditmod4b.c: Likewise.
31421 * elf/tst-auditmod5b.c: Likewise.
31422 * elf/tst-auditmod6b.c: Likewise.
31423 * elf/tst-auditmod6c.c: Likewise.
31424 * elf/tst-auditmod7b.c: Likewise.
31425 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31426 * sysdeps/x86_64/preconfigure.in: Likewise.
31427 * sysdeps/x86_64/preconfigure: Regenerated.
31428
31429 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31430
31431 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31432 __ILP32__.
31433
31434 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31435
31436 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31437 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31438
31439 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31440
31441 [BZ #13973]
31442 * locale/iso-639.def: Fix gl language name. Spotted by
31443 Yaron Shahrabani.
31444
31445 2012-04-12 Roland McGrath <roland@hack.frob.com>
31446
31447 [BZ #2074]
31448 * libio/libio.h (__io_write_fn): Update comment.
31449
31450 2012-04-12 Petr Baudis <pasky@ucw.cz>
31451
31452 [BZ #2074]
31453 * stdio.texi (Hook Functions): The user provided writer function
31454 is not allowed to return -1.
31455
31456 2012-04-11 David S. Miller <davem@davemloft.net>
31457
31458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31459
31460 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31461
31462 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31463 Add a leading slash to rtkaio.
31464
31465 2012-04-11 Jim Meyering <meyering@redhat.com>
31466
31467 [BZ #11959]
31468 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31469 It is not necessarily an error to ignore fwrite's return
31470 value. One can reliably use ferror to test for errors after
31471 the fact.
31472
31473 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31474
31475 * bits/types.h (__snseconds_t): New type.
31476 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31477
31478 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31480 (__SNSECONDS_T_TYPE): Likewise.
31481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31482 (__SNSECONDS_T_TYPE): Likewise.
31483 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31484 (__SNSECONDS_T_TYPE): Likewise.
31485
31486 2012-04-10 Andreas Jaeger <aj@suse.de>
31487
31488 [BZ #2636]
31489 * manual/time.texi (Processor Time): Return type of times is
31490 elapsed real time since an arbitrary point in the past.
31491 (CPU Time): Move CLK_TCK from here...
31492 (Processor Time): ...to here. Correct description.
31493 * manual/conf.texi (Constants for Sysconf): Correct description of
31494 _SC_CLK_TCK.
31495
31496 2012-04-10 David S. Miller <davem@davemloft.net>
31497
31498 [BZ #13967]
31499 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31500 where the is a gap between DT_REL(A) and DT_JMPREL.
31501
31502 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31503
31504 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31505 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31506 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31507
31508 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31509
31510 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31511 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31512 (dl_main): Handle --inhibit-cache.
31513 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31514 _dl_inhibit_cache.
31515 * elf/dl-load.c (_dl_map_object): Use it.
31516 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31517
31518 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31519
31520 [BZ #13872]
31521 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31522 (__ieee754_powl): Saturate large exponents rather than testing for
31523 overflow of y*log2(x).
31524 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31525 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31526 exceptions.
31527
31528 [BZ #11521]
31529 * math/s_ctan.c: Include <float.h>.
31530 (__ctan): Avoid internal overflow or cancellation in calculating
31531 denominator.
31532 * math/s_ctanf.c: Likewise.
31533 * math/s_ctanl.c: Likewise.
31534 * math/s_ctanh.c: Likewise.
31535 * math/s_ctanhf.c: Likewise.
31536 * math/s_ctanhl.c: Likewise.
31537 * math/libm-test.inc (ctan_test): Add more tests.
31538 (ctanh_test): Likewise.
31539 * sysdeps/i386/fpu/libm-test-ulps: Update.
31540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31541
31542 2012-04-09 Andreas Jaeger <aj@suse.de>
31543
31544 [BZ #6894]
31545 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31546 is an optional BSD extension.
31547
31548 [BZ #10254]
31549 * manual/stdio.texi (Opening Streams): Document additional fopen
31550 parameters.
31551
31552 2012-04-09 Roland McGrath <roland@hack.frob.com>
31553
31554 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31555 %eax without telling the compiler.
31556
31557 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31558
31559 [BZ # 13963]
31560 * manual/install.texi: Use sourceware.org.
31561
31562 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31563
31564 [BZ #13873]
31565 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31566 (__ieee754_pow): Generate overflow and underflow using huge*huge
31567 and tiny*tiny rather than just returning constant infinity or zero
31568 for large exponents.
31569 * math/libm-test.inc (pow_test): Require overflow exceptions for
31570 applicable cases of large exponents.
31571
31572 [BZ #706]
31573 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31574 (__ieee754_pow): Use iterative multiplication algorithm only for
31575 integer exponents with absolute value below 1024. Check for odd
31576 integer exponents when using algorithm for real exponents.
31577 * math/libm-test.inc (pow_test): Add more tests.
31578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31579
31580 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31581
31582 [BZ #13705]
31583 * math/libm-test.inc (exp_test): Do not allow overflow exception
31584 on underflow test.
31585
31586 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31587
31588 [BZ #13705]
31589 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31590 instead of __kernel_standard_f.
31591
31592 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31593
31594 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31595 * sysdeps/x86_64/memset_chk.S: Likewise.
31596
31597 2012-04-08 Andreas Jaeger <aj@suse.de>
31598
31599 [BZ #10153]
31600 * manual/startup.texi (Environment Access): Describe return value
31601 for putenv and setenv.
31602
31603 [BZ #6895]
31604 * manual/filesys.texi (Directory Entries): Add description for
31605 DT_LNK.
31606
31607 [BZ #6890]
31608 * manual/filesys.texi (Directory Entries): Clarify that it's file
31609 system not operating system in the description of DT_UNKNOWN.
31610
31611 [BZ #6578]
31612 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31613
31614 2012-04-08 Stephen Compall <s11@member.fsf.org>
31615
31616 [BZ #6649]
31617 * manual/llio.texi (Opening and Closing Files): Add cross
31618 reference to explain mode argument.
31619
31620 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31621
31622 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31623 * sysdeps/x86_64/memset_chk.S: Likewise.
31624
31625 2012-04-07 David S. Miller <davem@davemloft.net>
31626
31627 * elf/elf.h (R_SPARC_WDISP10): Define.
31628 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31629 R_SPARC_SIZE32.
31630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31631 R_SPARC_SIZE64 and R_SPARC_H34.
31632
31633 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31634
31635 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31636 conditions and remove no longer applicable assertion.
31637
31638 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31639
31640 * bits/byteswap.h: Include <features.h>.
31641 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31642 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31643
31644 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31645
31646 * bits/byteswap.h (__bswap_16): Removed.
31647 Include <bits/byteswap-16.h> to get __bswap_16.
31648 * sysdeps/i386/bits/byteswap.h: Likewise.
31649 * sysdeps/s390/bits/byteswap.h: Likewise.
31650 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31651 * bits/byteswap-16.h: New file.
31652 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31653 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31654 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31655 * string/Makefile (headers): Add bits/byteswap-16.h.
31656
31657 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31658
31659 [BZ #13895]
31660 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31661 extra indirection.
31662 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31663 * nss/tst-nss-static.c: New.
31664
31665 2012-04-06 Robert Millan <rmh@gnu.org>
31666
31667 [BZ #6486]
31668 * manual/llio.texi (File Position Primitive): lseek
31669 refers to WHENCE when it really means OFFSET.
31670
31671 2012-04-06 Andreas Jaeger <aj@suse.de>
31672
31673 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31674 strncmp declarations.
31675
31676 * abilist/libc.abilist: Add __poll and __ppoll.
31677
31678 2012-04-05 David S. Miller <davem@davemloft.net>
31679
31680 * scripts/check-local-headers.sh: Accept a host triplet in the
31681 path matched by the exclude regexp.
31682
31683 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31684 definition.
31685 * sysdeps/powerpc/powerpc32/dl-machine.h
31686 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31687 * sysdeps/s390/s390-32/dl-machine.h
31688 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31689 * sysdeps/sparc/sparc32/dl-machine.h
31690 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31691 * sysdeps/sparc/sparc64/dl-machine.h
31692 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31693
31694 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31695 lazy binding.
31696 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31697 undefined symbol errors.
31698
31699 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31700 DT_NEEDED entries.
31701
31702 2012-04-05 Michael Matz <matz@suse.de>
31703
31704 [BZ #13592]
31705 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31706
31707 2012-04-05 Andreas Jaeger <aj@suse.de>
31708
31709 [BZ #13908]
31710 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31711 comment.
31712
31713 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31714
31715 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31716 which ROUND is no valid rounding mode.
31717
31718 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31719
31720 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31721 read again.
31722 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31723
31724 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31725
31726 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31727 an exception using FPU order intentionally.
31728
31729 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31730
31731 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31732 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31733 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31734 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31735
31736 2012-04-05 Simon Josefsson <simon@josefsson.org>
31737
31738 [BZ #12340]
31739 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31740 EINVAL when BUFLEN is too smal.
31741
31742 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31743
31744 [BZ #13553]
31745 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31746 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31747
31748 2012-04-03 Andreas Jaeger <aj@suse.de>
31749
31750 [BZ #13938]
31751 * manual/setjmp.texi (System V contexts): Fix sentence.
31752
31753 [BZ #13926]
31754 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31755 New macro for this case.
31756 [!__GNUC__] (__bswap_64): New inline function for this case.
31757 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31758 * bits/byteswap.h: Likewise.
31759 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31760 ull, guard with __GLIBC_HAVE_LONG_LONG.
31761
31762 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31763 __GLIBC_HAVE_LONG_LONG.
31764
31765 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31766 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31767
31768 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31769
31770 [BZ #13691]
31771 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31772 inptr and inend, rather than using last_ch.
31773
31774 2012-04-02 David S. Miller <davem@davemloft.net>
31775
31776 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31777 * stdio-common/printf-parse.h (read_int): Change return type to
31778 'int', return -1 on INT_MAX overflow.
31779 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31780 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31781 overflows INT_MAX. Check for overflow of in-format-string precision
31782 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31783 SIZE_MAX not INT_MAX for integer overflow test.
31784 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31785 skip the construct in the format string but do not record anything.
31786 * stdio-common/bug22.c: Adjust to test both width/prevision
31787 INT_MAX overflow as well as total length INT_MAX overflow. Check
31788 explicitly for proper errno values.
31789
31790 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31791
31792 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31793 CHAR_MAX.
31794 * string/test-strcmp.c [! WIDE]: Likewise.
31795 * time/tst-mktime2.c: Likewise for INT_MAX.
31796 * string/test-string.h: #include <sys/param.h> for MIN.
31797
31798 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31799 * sysdeps/i386/init-first.c (init): Likewise.
31800 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31801 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31802 * sysdeps/sh/init-first.c (init): Likewise.
31803
31804 2012-04-01 Ulrich Drepper <drepper@gmail.com>
31805
31806 * po/ru.po: Update from translation team.
31807 * po/vi.po: Likewise.
31808
31809 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31810
31811 * resolv/nss_dns/dns-host.c: Merge copyright years.
31812
31813 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31814
31815 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31816 Optimize memcpy with prefetch if
31817 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31818 src, dst pointers have unequal 16 byte alignments.
31819
31820 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31821
31822 [BZ #13928]
31823 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31824 from a CNAME entry and return the minimum ttl for the query.
31825 (gaih_getanswer_slice): Likewise.
31826
31827 2012-03-30 Jeff Law <law@redhat.com>
31828
31829 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31830 due to long keys.
31831 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31832 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31833
31834 * resolv/nss_dns/dns-host.c: Update copyright year.
31835
31836 2012-03-30 Ulrich Drepper <drepper@gmail.com>
31837
31838 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31839 requests to save a system call. Fix check that all bytes are sent.
31840
31841 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31842 comments for sendmmsg.
31843
31844 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31845
31846 [BZ #13691]
31847 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31848 with only 1 character between 0x0041 and 0x01b0.
31849 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31850 * wcsmbs/tst-mbsnrtowcs.c: New file.
31851
31852 2012-03-29 David S. Miller <davem@davemloft.net>
31853
31854 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31855 small copies by hand.
31856
31857 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31858
31859 [BZ #13761]
31860 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31861 _nss_compat_initgroups_dyn): Fall back to malloc/free
31862 for large group memberships.
31863
31864 2012-03-28 David S. Miller <davem@davemloft.net>
31865
31866 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31867 that branches into memcpy.
31868 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31869 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31870 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31871 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31872 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31873 bits.
31874 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31875 implementation too.
31876 * sysdeps/sparc/mempcpy.S: New file.
31877
31878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31879 the IFUNC routine in the libc case.
31880 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31881
31882 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31883 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31884 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31885 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31886 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31887 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31888 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31889 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31890
31891 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31892 loop to 256 bytes instead of 64 bytes and fix test signedness.
31893
31894 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31895 * sysdeps/sparc/sparc32/Makefile: rather than here...
31896 * sysdeps/sparc/sparc64/Makefile: and here.
31897
31898 2012-03-28 Ulrich Drepper <drepper@gmail.com>
31899
31900 * malloc/mallocbug.c: Avoid warnings about unused variables.
31901
31902 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31903
31904 [BZ #13760]
31905 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31906 in the right place. Discard and retry query if response is
31907 larger than input buffer size.
31908
31909 2012-03-28 Joseph Myers <joseph@codesourcery.com>
31910
31911 [BZ #369]
31912 [BZ #2678]
31913 [BZ #3866]
31914 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31915 x for large integer exponent.
31916 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31917 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31918 sign of result as needed afterwards.
31919 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31920 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31921 result for underflowing pow the same as for overflow.
31922 (__kernel_standard_l): Handle powl overflow and underflow here
31923 rather than calling __kernel_standard.
31924 * math/libm-test.inc (pow_test): Add more tests.
31925
31926 [BZ #3868]
31927 [BZ #13879]
31928 [BZ #13910]
31929 [BZ #13911]
31930 [BZ #13912]
31931 [BZ #13913]
31932 [BZ #13915]
31933 [BZ #13916]
31934 [BZ #13917]
31935 [BZ #13918]
31936 [BZ #13919]
31937 [BZ #13920]
31938 [BZ #13921]
31939 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31940 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31941 (__kernel_standard_l): New function.
31942 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31943 __kernel_standard.
31944 * math/w_acosl.c (__acosl): Likewise.
31945 * math/w_asinl.c (__asinl): Likewise.
31946 * math/w_atan2l.c (__atan2l): Likewise.
31947 * math/w_atanhl.c (__atanhl): Likewise.
31948 * math/w_coshl.c (__coshl): Likewise.
31949 * math/w_exp10l.c (__exp10l): Likewise.
31950 * math/w_exp2l.c (__exp2l): Likewise.
31951 * math/w_fmodl.c (__fmodl): Likewise.
31952 * math/w_hypotl.c (__hypotl): Likewise.
31953 * math/w_j0l.c (__j0l, __y0l): Likewise.
31954 * math/w_j1l.c (__j1l, __y1l): Likewise.
31955 * math/w_jnl.c (__jnl, __ynl): Likewise.
31956 * math/w_lgammal.c (__lgammal): Likewise.
31957 * math/w_log10l.c (__log10l): Likewise.
31958 * math/w_log2l.c (__log2l): Likewise.
31959 * math/w_logl.c (__logl): Likewise.
31960 * math/w_powl.c (__powl): Likewise.
31961 * math/w_remainderl.c (__remainderl): Likewise.
31962 * math/w_scalbl.c (sysv_scalbl): Likewise.
31963 * math/w_sinhl.c (__sinhl): Likewise.
31964 * math/w_sqrtl.c (__sqrtl): Likewise.
31965 * math/w_tgammal.c (__tgammal): Likewise.
31966 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31967 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31968 * math/libm-test.inc (acos_test): Add more tests.
31969 (acosh_test): Likewise.
31970 (asin_test): Likewise.
31971 (atanh_test): Likewise.
31972 (exp_test): Likewise.
31973 (exp10_test): Likewise.
31974 (exp2_test): Likewise.
31975 (expm1_test): Likewise.
31976 (lgamma_test): Likewise.
31977 (log_test): Likewise.
31978 (log10_test): Likewise.
31979 (log1p_test): Likewise.
31980 (log2_test): Likewise.
31981 (pow_test): Do not allow some spurious overflow exceptions.
31982 (sqrt_test): Add more tests.
31983 (tgamma_test): Likewise.
31984 (y0_test): Likewise.
31985 (y1_test): Likewise.
31986 (yn_test): Likewise.
31987
31988 2012-03-27 Anton Blanchard <anton@samba.org>
31989
31990 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31991 MAP_HUGETLB.
31992 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31993 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31994 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31995
31996 2012-03-27 David S. Miller <davem@davemloft.net>
31997
31998 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31999
32000 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32001 have-as-vis3 check.
32002
32003 2012-03-27 Andreas Jaeger <aj@suse.de>
32004
32005 * sysdeps/x86_64/elf/configure.in: Moved to ...
32006 * sysdeps/x86_64/configure.in: ... here.
32007 * sysdeps/x86_64/elf/start.S: Moved to ...
32008 * sysdeps/x86_64/start.S: ... here.
32009 * sysdeps/x86_64/elf/configure: Delete.
32010
32011 * sysdeps/x86_64/configure.in: Merge contents from
32012 sysdeps/i386/configure.in (without i686 check).
32013
32014 * sysdeps/i386/elf/Versions: Merge into ...
32015 * sysdeps/i386/Versions: ... this.
32016 * sysdeps/i386/elf/Versions: Delete file.
32017 * sysdeps/i386/elf/start.S: Moved to ...
32018 * sysdeps/i386/start.S: ...here.
32019 * sysdeps/i386/elf/configure.in: Merge into...
32020 * sysdeps/i386/configure.in: ...here.
32021 * sysdeps/i386/elf/configure.in: Delete file.
32022 * sysdeps/i386/elf/configure: Delete file.
32023
32024 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32025 * debug/backtracesyms.c: ... here.
32026 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32027 * debug/backtracesymsfd.c: ... here.
32028 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32029 * sysdeps/generic/ifunc-sel.h: ... here.
32030
32031 * sysdeps/unix/i386/start.c: Delete file.
32032 * sysdeps/unix/sparc/start.c: Delete file.
32033 * sysdeps/unix/start.c: Delete file.
32034
32035 * sysdeps/sh/elf/configure.in: Moved to ...
32036 * sysdeps/sh/configure.in: ... here.
32037 * sysdeps/sh/elf/start.S: Moved to ...
32038 * sysdeps/sh/start.S: ... here.
32039 * sysdeps/sh/elf/configure: Delete file.
32040
32041 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32042 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32043 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32044 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32045 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32046 * sysdeps/powerpc/powerpc64/start.S: here.
32047 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32048 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32049 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32050 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32051 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32052
32053 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32054 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32055 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32056 * sysdeps/powerpc/powerpc32/start.S: ... here.
32057 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32058 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32059 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32060
32061 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32062 * sysdeps/powerpc/ifunc-sel.h: ... here.
32063 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32064 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32065
32066 * sysdeps/sparc/elf/configure.in: Moved to ...
32067 * sysdeps/sparc/configure.in: ... here.
32068 * sysdeps/sparc/elf/configure: Delete file.
32069 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32070 * sysdeps/sparc/sparc32/start.S: ... here.
32071 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32072 * sysdeps/sparc/sparc64/start.S: ... here.
32073 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32074 * sysdeps/sparc/sparc32/Makefile: ... this.
32075 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32076 * sysdeps/sparc/sparc64/Makefile: ... this.
32077
32078 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32079 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32080 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32081 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32082 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32083 * sysdeps/s390/s390-32/setjmp.S: ... here.
32084 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32085 * sysdeps/s390/s390-32/configure.in: ... here.
32086 * sysdeps/s390/s390-32/elf/configure: Delete file.
32087 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32088 * sysdeps/s390/s390-32/start.S: ... here.
32089
32090 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32091 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32092 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32093 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32094 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32095 * sysdeps/s390/s390-64/setjmp.S: ... here.
32096 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32097 * sysdeps/s390/s390-64/configure.in: ... here
32098 * sysdeps/s390/s390-64/elf/configure: Delete file.
32099 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32100 * sysdeps/s390/s390-64/start.S: ... here.
32101 * sysdeps/s390/s390-64/elf/configure: Delete.
32102
32103 * configure.in: Remove support for elf directories in sysdeps.
32104
32105 * configure: Regenerated.
32106 * sysdeps/i386/configure: Regenerated.
32107 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32108 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32109 * sysdeps/s390/s390-32/configure: Regenerated.
32110 * sysdeps/s390/s390-64/configure: Regenerated.
32111 * sysdeps/sh/configure: Regenerated.
32112 * sysdeps/sparc/configure: Regenerated.
32113 * sysdeps/x86_64/configure: Regenerated.
32114
32115 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32116
32117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32118
32119 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32120 denormal result into account.
32121
32122 2012-03-25 Roland McGrath <roland@hack.frob.com>
32123
32124 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32125 Reported by Allan McRae <allan@archlinux.org>.
32126
32127 2012-03-23 Jeff Law <law@redhat.com>
32128
32129 * nss/getnssent.c (__nss_getent): Fix typo.
32130
32131 2012-03-23 David S. Miller <davem@davemloft.net>
32132
32133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32134
32135 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32136
32137 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32138 to pad to uint64_t for each field.
32139 (dl_tls_index): Replace unsigned long with uint64_t.
32140
32141 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32142 Paul Pluzhnikov <ppluzhnikov@google.com>
32143
32144 [BZ #6528]
32145 * grp/Makefile (otherlibs): Don't set it.
32146 * inet/Makefile (otherlibs): Likewise.
32147 * login/Makefile (otherlibs): Likewise.
32148 * nscd/Makefile (otherlibs): Likewise.
32149 * posix/Makefile (otherlibs): Likewise.
32150 * pwd/Makefile (otherlibs): Likewise.
32151 * rt/Makefile (otherlibs): Likewise.
32152 * sunrpc/Makefile (otherlibs): Likewise.
32153 * nss/Makefile (otherlibs): Likewise.
32154 Add libnss_files to routines and static-only-routines.
32155 ($(objpfx)getent): Remove rule.
32156 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32157 static-only-routines.
32158
32159 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32160
32161 [BZ #13892]
32162 * math/s_cexp.c: Include <float.h>.
32163 (__cexp): Handle exp result overflowing not necessarily
32164 overflowing both real and imaginary parts of result.
32165 * math/s_cexpf.c: Likewise.
32166 * math/s_cexpl.c: Likewise.
32167 * math/libm-test.inc (cexp_test): Add more tests.
32168 * sysdeps/i386/fpu/libm-test-ulps: Update.
32169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32170
32171 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32172
32173 * include/link.h (ELFW): New macro.
32174 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32175 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32176
32177 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32178
32179 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32180 with uint64_t.
32181
32182 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32183
32184 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32185 declaration.
32186 (struct La_x32_retval): Likewise.
32187
32188 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32189
32190 * sysdeps/x86_64/preconfigure.in: New file.
32191 * sysdeps/x86_64/preconfigure: New generated file.
32192
32193 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32194
32195 [BZ #13824]
32196 * math/e_exp2l.c: Include <float.h>.
32197 (__ieee754_exp2l): Handle overflow and underflow cases
32198 separately. Only pass fractional part of argument to
32199 __ieee754_expl.
32200 * math/libm-test.inc (exp2_test): Add more tests.
32201
32202 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32203 negating x to take absolute value.
32204 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32205 Likewise.
32206 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32207 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32208 Likewise.
32209 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32210 computing low part if x was negated.
32211 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32212
32213 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32214
32215 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32216 la_x32_gnu_pltexit.
32217 (pltexit): Cast int_retval to ptrdiff_t.
32218 * elf/tst-auditmod3b.c: Likewise.
32219 * elf/tst-auditmod4b.c: Likewise.
32220 * elf/tst-auditmod5b.c: Likewise.
32221 * elf/tst-auditmod6b.c: Likewise.
32222 * elf/tst-auditmod6c.c: Likewise.
32223 * elf/tst-auditmod7b.c: Likewise.
32224
32225 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32226 and x32_gnu_pltexit.
32227
32228 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32229 __ELF_NATIVE_CLASS.
32230 (La_x32_regs): New macro.
32231 (La_x32_retval): Likewise.
32232 (la_x32_gnu_pltenter): New function prototype.
32233 (la_x32_gnu_pltexit): Likewise.
32234
32235 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32236
32237 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32238 exponent.
32239
32240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32241
32242 * configure.in (libc_cv_cc_nofma): Check for option to disable
32243 generation of FMA instructions.
32244 * configure: Regenerate.
32245 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32246 * sysdeps/ieee754/dbl-64/Makefile: New file.
32247 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32248 Remove brandred-fma4.
32249 (CFLAGS-brandred-fma4.c): Remove.
32250 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32251 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32252 define.
32253 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32254 define.
32255
32256 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32257
32258 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32259 LLONG_MAX != LONG_MAX.
32260 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32261 (_fitoa_word): Likewise.
32262 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32263 LLONG_MAX != LONG_MAX.
32264 * stdio-common/_itowa.h: Include <_itoa.h>.
32265 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32266 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32267 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32268 only if not defined.
32269 (_ITOA_WORD_TYPE): Likewise.
32270 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32271 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32272
32273 2012-03-21 David S. Miller <davem@davemloft.net>
32274
32275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32276
32277 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32278
32279 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32280 of x86_64 when setting libc_cv_slibdir, libdir and
32281 libc_cv_localedir.
32282 * sysdeps/unix/sysv/linux/configure: Regenerated.
32283
32284 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32285
32286 * manual/lang.texi (Old Varargs): Remove section.
32287 (How Variadic): Update menu.
32288 (va_start): Do not mention varargs.h.
32289
32290 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32291 Joseph Myers <joseph@codesourcery.com>
32292
32293 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32294 link test.
32295 * configure: Regenerated.
32296
32297 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32298
32299 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32300 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32301 conformtest.pl
32302
32303 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32304
32305 * NOTES: Remove.
32306 * Makefile (files-for-dist): Remove NOTES.
32307 (NOTES): Remove rule.
32308 * README: Don't refer to NOTES.
32309 * manual/creature.texi: Don't include macros.texi.
32310 * manual/intro.texi (creature.texi): Remove comment referring to
32311 NOTES.
32312
32313 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32314 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32315 * configure: Regenerated.
32316 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32317 LIBC_TRY_CC_OPTION.
32318 (libc_cv_as_i686): Likewise.
32319 (libc_cv_cc_avx): Likewise.
32320 (libc_cv_cc_sse2avx): Likewise.
32321 (libc_cv_cc_fma4): Likewise.
32322 (libc_cv_cc_novzeroupper): Likewise.
32323 * sysdeps/i386/configure: Regenerated.
32324
32325 [BZ #13883]
32326 * sysdeps/i386/fpu/s_cexp.S: Remove.
32327 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32328 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32329 * math/libm-test.inc (cexp_test): Add more tests.
32330 * sysdeps/i386/fpu/libm-test-ulps: Update.
32331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32332
32333 2012-03-21 Allan McRae <allan@archlinux.org>
32334
32335 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32336
32337 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32338
32339 [BZ #13871]
32340 * math/w_exp2.c: Do not include <float.h>.
32341 (o_threshold, u_threshold): Remove.
32342 (__exp2): Calculate result before checking finiteness and calling
32343 __kernel_standard.
32344 * math/w_exp2f.c: Likewise.
32345 * math/w_exp2l.c: Likewise.
32346 * math/libm-test.inc (exp2_test): Require overflow exception for
32347 1e6 input.
32348
32349 [BZ #3866]
32350 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32351 range of signed 64-bit integers before using fistpll. Remove
32352 checks for whether integers fit in mantissa bits.
32353 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32354 the range of signed 32-bit integers before using fistpl. Remove
32355 checks for whether integers fit in mantissa bits.
32356 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32357 (__ieee754_powl): Test for y outside the range of signed 64-bit
32358 integers before using fistpll. Reduce 64-bit values to 63-bit
32359 ones as needed.
32360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32361 divide-by-zero is raised for zero to large negative powers.
32362 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32363 (__ieee754_powl): Test for y outside the range of signed 64-bit
32364 integers before using fistpll. Reduce 64-bit values to 63-bit
32365 ones as needed.
32366 * math/libm-test.inc (pow_test): Add more tests.
32367
32368 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32369
32370 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32371 <stdio-common/_itoa.h>.
32372 * debug/segfault.c: Likewise.
32373 * elf/dl-cache.c: Likewise.
32374 * elf/dl-minimal.c: Likewise.
32375 * elf/dl-misc.c: Likewise.
32376 * elf/dl-sysdep.c: Likewise.
32377 * elf/dl-version.c: Likewise.
32378 * elf/rtld.c: Likewise.
32379 * hurd/hurdsock.c: Likewise.
32380 * hurd/lookup-retry.c: Likewise.
32381 * malloc/malloc.c: Likewise.
32382 * malloc/mtrace.c: Likewise.
32383 * nscd/nscd_getgr_r.c: Likewise.
32384 * nscd/nscd_getpw_r.c: Likewise.
32385 * nscd/nscd_getserv_r.c: Likewise.
32386 * posix/getopt_init.c: Likewise.
32387 * posix/wordexp.c: Likewise.
32388 * stdio-common/_itoa.c: Likewise.
32389 * stdio-common/printf_fphex.c: Likewise.
32390 * stdio-common/vfprintf.c: Likewise.
32391 * string/_strerror.c: Likewise.
32392 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32393 * sysdeps/i386/i686/hp-timing.h: Likewise.
32394 * sysdeps/mach/_strerror.c: Likewise.
32395 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32396 * sysdeps/mach/hurd/sethostid.c: Likewise.
32397 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32398 * sysdeps/mach/xpg-strerror.c: Likewise.
32399 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32400 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32401 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32402 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32403 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32404 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32405 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32406 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32407 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32408 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32409 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32410 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32411 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32412 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32413 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32414 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32415 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32416 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32417 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32418 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32419 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32420
32421 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32422
32423 * stdio-common/_itoa.h: Moved to ...
32424 * sysdeps/generic/_itoa.h: Here.
32425
32426 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32427
32428 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32429 instead of "_itoa.h" and "_itowa.h".
32430 * stdio-common/vfprintf.: Likewise.
32431
32432 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32433
32434 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32435 <bits/wordsize.h>.
32436 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32437 (__signbit): Likwise.
32438 (llrintf): Likwise.
32439 (llrint): Likwise.
32440
32441 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32442
32443 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32444 __WORDSIZE != 64.
32445
32446 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32447
32448 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32449 OVERFLOW_EXCEPTION_OK.
32450 * math/libm-test.inc ("Philosophy"): Update comment about
32451 exception testing.
32452 (OVERFLOW_EXCEPTION): Define.
32453 (OVERFLOW_EXCEPTION_OK): Likewise.
32454 (INVALID_EXCEPTION_OK): Renumber.
32455 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32456 (IGNORE_ZERO_INF_SIGN): Likewise.
32457 (test_exceptions): Handle FE_OVERFLOW.
32458 (exp10_test): Expect overflow exceptions.
32459 (exp2_test): Likewise.
32460 (expm1_test): Likewise.
32461 (nextafter_test): Likewise.
32462 (pow_test): Likewise.
32463 (scalbn_test): Likewise.
32464 (scalbln_test): Likewise.
32465
32466 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32467
32468 * sysdeps/x86_64/bits/atomic.h
32469 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32470 64bit integer.
32471 (atomic_exchange_acq): Likewise.
32472 (__arch_exchange_and_add_body): Likewise.
32473 (__arch_add_body): Likewise.
32474 (atomic_add_negative): Likewise.
32475 (atomic_add_zero): Likewise.
32476
32477 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32478
32479 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32480 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32481
32482 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32483
32484 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32485 Check __x86_64__ instead of __WORDSIZE.
32486
32487 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32488
32489 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32490
32491 2012-03-19 David S. Miller <davem@davemloft.net>
32492
32493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32494
32495 * sysdeps/sparc/fpu/fenv_private.h: New file.
32496 * sysdeps/sparc/fpu/math_private.h: Use it.
32497 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32498 Remove.
32499 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32500 (libc_feholdexcept_setroundl): Remove.
32501 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32502 Remove.
32503 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32504 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32505
32506 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32507
32508 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32509 int64_t instead of long int.
32510 (INSERT_WORDS64): Likwise.
32511
32512 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32513
32514 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32515 _Unwind_GetCFA return to _Unwind_Ptr first.
32516
32517 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32518
32519 [BZ #13629]
32520 * math/s_clog.c: Include <float.h>.
32521 (__clog): Scale large or subnormal inputs.
32522 * math/s_clogf.c: Likewise.
32523 * math/s_clogl.c: Likewise.
32524 * math/s_clog10.c: Include <float.h>.
32525 (M_LOG10_2): Define.
32526 (__clog10): Scale large or subnormal inputs.
32527 * math/s_clog10f.c: Likewise.
32528 * math/s_clog10l.c: Likewise.
32529 * math/libm-test.inc (clog_test): Add more tests.
32530 (clog10_test): Likewise.
32531 * sysdeps/i386/fpu/libm-test-ulps: Update.
32532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32533
32534 [BZ #11451]
32535 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32536 x and y.
32537 * math/libm-test.inc (atan2_test): Add another test.
32538
32539 * Makerules (common-objdir-compile): Remove.
32540 * sysdeps/unix/Makefile (config-generated): Do not add
32541 $(unix-generated) to variable.
32542 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32543 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32544 Remove rule.
32545 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32546 Likewise.
32547 [generic bits/local_lim.h] (before-compile): Do not append to
32548 variable.
32549 [generic bits/local_lim.h] (common-generated): Likewise.
32550 [generic sys/param.h] (before-compile): Do not append to variable.
32551 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32552 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32553 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32554 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32555 include.
32556 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32557 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32558 [generic sys/param.h] ($(addprefix
32559 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32560 [generic sys/param.h] (common-generated): Do not append to
32561 variable.
32562 [generic sys/param.h] (sysdep_headers): Likewise.
32563 [generic bits/errno.h] (before-compile): Do not append to
32564 variable.
32565 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32566 rule.
32567 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32568 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32569 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32570 [generic bits/errno.h] (common-generated): Do not append to
32571 variable.
32572 [generic bits/ioctls.h] (before-compile): Do not append to
32573 variable.
32574 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32575 rule.
32576 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32577 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32578 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32579 rule.
32580 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32581 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32582 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32583 [generic bits/ioctls.h] (common-generated): Do not append to
32584 variable.
32585 [generic sys/syscall.h] (syscall.h): Remove variable.
32586 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32587 rule.
32588 [generic sys/syscall.h] (before-compile): Do not append to
32589 variable.
32590 [generic sys/syscall.h] (common-generated): Likewise.
32591 * sysdeps/unix/errnos-tmpl.c: Remove file.
32592 * sysdeps/unix/errnos.awk: Likewise.
32593 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32594 * sysdeps/unix/ioctls.awk: Likewise.
32595 * sysdeps/unix/mk-local_lim.c: Likewise.
32596 * sysdeps/unix/snarf-ioctls: Likewise.
32597
32598 2012-03-19 Richard Henderson <rth@twiddle.net>
32599
32600 * sysdeps/i386/fpu/fenv_private.h: New file.
32601 * sysdeps/i386/fpu/math_private.h: Use it.
32602 (math_opt_barrier, math_force_eval): Remove.
32603 (libc_feholdexcept_setround_53bit): Remove.
32604 (libc_feupdateenv_53bit): Remove.
32605 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32606 (math_opt_barrier, math_force_eval): Remove.
32607 (libc_feholdexcept): Remove.
32608 (libc_feholdexcept_setround): Remove.
32609 (libc_fetestexcept, libc_fesetenv): Remove.
32610 (libc_feupdateenv_test): Remove.
32611 (libc_feupdateenv, libc_feholdsetround): Remove.
32612 (libc_feresetround): Remove.
32613
32614 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32615 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32616
32617 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32618 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32619 (libc_feupdateenv_testl): New.
32620 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32621 (libc_feupdateenv_testf): New.
32622 (libc_feupdateenv): Use libc_feupdateenv_test.
32623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32624 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32625
32626 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32627 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32628 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32629 (libc_feresetround_noex): New.
32630 (libc_feresetround_noexf): New.
32631 (libc_feresetround_noexl): New.
32632 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32633 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32634 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32635 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32636 SET_RESTORE_ROUND.
32637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32639 (__cos): Likewise.
32640 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32641 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32642 SET_RESTORE_ROUND_NOEX.
32643 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32644 SET_RESTORE_ROUND_NOEXF.
32645 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32646 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32647 (libc_feholdsetroundf): New.
32648 (libc_feresetround, libc_feresetroundf): New.
32649
32650 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32651 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32652 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32653
32654 * sysdeps/generic/math_private.h: Include <fenv.h>.
32655 (default_libc_feholdexcept): New.
32656 (default_libc_feholdexcept_setround): New.
32657 (default_libc_fesetenv, default_libc_feupdateenv): New.
32658 (libc_feholdexcept): Only define if undefined.
32659 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32660 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32661 (libc_feholdexcept_setroundl): Likewise.
32662 (libc_feholdexcept_setround_53bit): Likewise.
32663 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32664 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32665 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32666 (libc_feupdateenv_53bit): Likewise.
32667 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32668 (libc_feholdexcept): Convert from macro to inline function.
32669 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32670 (libc_fesetenv, libc_feupdateenv): Likewise.
32671
32672 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32673 not previously defined.
32674 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32675 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32676 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32677 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32678 * sysdeps/ieee754/flt-32/math_private.h: New file.
32679 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32680 math_private.h below SET_FLOAT_WORD.
32681 (__isnan, __isinf_ns, __finite): Remove.
32682 (__isnanf, __isinf_nsf, __finitef): Remove.
32683
32684 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32685
32686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32687
32688 2012-03-17 David S. Miller <davem@davemloft.net>
32689
32690 [BZ #6471]
32691 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32692 for 2.16.
32693
32694 2012-03-16 David S. Miller <davem@davemloft.net>
32695
32696 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32697 warnings.
32698
32699 [BZ #6471]
32700 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32701 properly.
32702 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32703 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32704 sysdep_routines when subdir is sysvipc.
32705 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32706 __getshmlba helper.
32707
32708 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32709
32710 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32711
32712 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32713 [__LP64__].
32714
32715 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32716
32717 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32718 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32719 (__lround): Renamed to ...
32720 (__llround): This. Replace long int with long long int.
32721 Define lround functions as aliases of llround functions.
32722 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32723
32724 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32725
32726 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32727 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32728 adresses to uintptr_t. Replace "long int" and "unsigned long
32729 int" with "greg_t" on va_arg.
32730
32731 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32732
32733 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32734 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32735
32736 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32737 Move e_machine check before EI_CLASS check. Handle x32
32738 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32739 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32740 SKIP_EM_IA_64 and include
32741 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32742
32743 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32744 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32745 (add_system_dir): New macro.
32746
32747 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32748 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32749
32750 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32751
32752 [BZ #2551]
32753 [BZ #2552]
32754 [BZ #2553]
32755 [BZ #2554]
32756 [BZ #2562]
32757 [BZ #2563]
32758 [BZ #2565]
32759 [BZ #2566]
32760 [BZ #2576]
32761 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32762 (y0): Likewise.
32763 * math/w_j0f.c (j0f): Likewise.
32764 (y0f): Likewise.
32765 * math/w_j0l.c (__j0l): Likewise.
32766 (__y0l): Likewise.
32767 * math/w_j1.c (j1): Likewise.
32768 (y1): Likewise.
32769 * math/w_j1f.c (j1f): Likewise.
32770 (y1f): Likewise.
32771 * math/w_j1l.c (__j1l): Likewise.
32772 (__y1l): Likewise.
32773 * math/w_jn.c (jn): Likewise.
32774 (yn): Likewise.
32775 * math/w_jnf.c (jnf): Likewise.
32776 (ynf): Likewise.
32777 * math/w_jnl.c (__jnl): Likewise.
32778 (__ynl): Likewise.
32779 * math/libm-test.inc (j0_test): Add more tests.
32780 (j1_test): Likewise.
32781 (jn_test): Likewise. Add trailing semicolon to existing test.
32782 (y0_test): Likewise.
32783 (y1_test): Likewise.
32784 * sysdeps/i386/fpu/libm-test-ulps: Update.
32785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32786
32787 [BZ #13851]
32788 [BZ #13854]
32789 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32790 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32791 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32792 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32793 (__tanl): Set errno for infinite argument.
32794 * sysdeps/i386/fpu/mptan.c: Remove.
32795 * sysdeps/i386/fpu/s_tan.S: Likewise.
32796 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32797 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32798 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32799 * math/libm-test.inc (tan_test): Add more tests and enable more
32800 tests for double and long double.
32801 * sysdeps/i386/fpu/libm-test-ulps: Update.
32802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32803
32804 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32805
32806 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32807 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32808
32809 2012-03-16 Roland McGrath <roland@hack.frob.com>
32810
32811 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32812 * configure.in: Use it for both main tree and add-ons.
32813 * configure: Regenerated.
32814
32815 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32816
32817 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32818
32819 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32820
32821 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32822 in comment.
32823
32824 [BZ #13851]
32825 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32826 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32827 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32828 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32829 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32830 infinite argument.
32831 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32832 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32833 != 0 for prec == 2.
32834 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32835 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32836 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32837 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32838 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32839 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32840 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32841 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32842 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32843 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32844 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32845 * math/libm-test.inc (cos_test): Add more tests and enable more
32846 tests for long double.
32847 (sin_test): Likewise.
32848 (sincos_test): Likewise.
32849 * sysdeps/i386/fpu/libm-test-ulps: Update.
32850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32851
32852 2012-03-16 David S. Miller <davem@davemloft.net>
32853
32854 * sysdeps/sparc/fpu/math_private.h: New file.
32855
32856 2012-03-15 David S. Miller <davem@davemloft.net>
32857
32858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32859 file.
32860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32862 file.
32863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32869 sysdep routines.
32870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32871
32872 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32873 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32874
32875 * sysdeps/sparc/sparc-ifunc.h: New file.
32876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32877 sparc-ifunc.h
32878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32880 Likewise.
32881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32882 Likewise.
32883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32887 Likewise.
32888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32893 Likewise.
32894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32895 Likewise.
32896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32903 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32914 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32917 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32919 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32920
32921 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32922
32923 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32924 scaling.
32925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32926
32927 2012-03-15 Andreas Jaeger <aj@suse.de>
32928
32929 [BZ #13852]
32930 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32931 ieee754/flt-32 implementation for sin, cos and sincos.
32932 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32933 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32934 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32935 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32936 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32937 ieee754/flt-32 implementation for tan.
32938
32939 * math/libm-test.inc (cos_test): Enable some large input tests for
32940 float as well
32941 (sin_test): Likewise.
32942 (sincos_test): Likewise.
32943 (tan_test): Add tests for large input.
32944
32945 * sysdeps/i386/fpu/libm-test-ulps: Update.
32946
32947 2012-03-15 Andreas Jaeger <aj@suse.de>
32948
32949 [BZ #13658]
32950 * math/libm-test.inc (cos_test): Add more test cases.
32951 (sin_test): Likewise.
32952 (sincos_test): Likewise.
32953
32954 2012-03-15 Andreas Jaeger <aj@suse.de>
32955
32956 [BZ #13837]
32957 * math/libm-test.inc (cos_test): Add a test case for large input
32958 value.
32959 (sin_test): Likewise.
32960 (sincos_test): Likewise.
32961
32962 2012-03-15 Andreas Jaeger <aj@suse.de>,
32963 Joseph Myers <joseph@codesourcery.com>
32964
32965 [BZ #13658]
32966 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32967 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32968 * sysdeps/i386/fpu/branred.c: Likewise.
32969 * sysdeps/i386/fpu/dosincos.c: Likewise.
32970 * sysdeps/i386/fpu/mpa.c: Likewise.
32971 * sysdeps/i386/fpu/s_cos.S: Likewise.
32972 * sysdeps/i386/fpu/s_sin.S: Likewise.
32973 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32974 * sysdeps/i386/fpu/sincos32.c: Likewise.
32975
32976 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32977 Define.
32978 (libc_feupdateenv_53bit): Define.
32979 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32980 Define.
32981 (libc_feupdateenv_53bit): Define.
32982
32983 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32984 53 bit (without extend i386 double precision).
32985
32986 * math/libm-test.inc (sincos_test): Add tests for large input.
32987 (sin): Likewise.
32988 (cos): Likewise.
32989
32990 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32991
32992 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32993
32994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32995
32996 2012-03-15 David S. Miller <davem@davemloft.net>
32997
32998 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32999 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33000 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33001 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33014 file.
33015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33017 file.
33018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33020 file.
33021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33023 file.
33024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33025 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33026 fmin/fmax sysdep routines.
33027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33028
33029 2012-03-14 David S. Miller <davem@davemloft.net>
33030
33031 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33036 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33037 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33038 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33051 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33052 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33053 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33054 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33055 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33056 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33057 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33058 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33059 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33060 routines.
33061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33062 file.
33063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33065 file.
33066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33068 file.
33069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33071 file.
33072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33074 file.
33075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33077 file.
33078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33079 file.
33080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33081 file.
33082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33083 file.
33084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33085 New file.
33086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33087 file.
33088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33089 file.
33090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33092 file.
33093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33095 file.
33096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33098 file.
33099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33101 VIS3 routines.
33102
33103 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33104 New file.
33105
33106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33107
33108 * sysdeps/sparc/configure.in: New file.
33109 * sysdeps/sparc/configure: Generate.
33110 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33111 * configure: Regenerate.
33112 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33113 * config.make.in (have-as-vis3): New.
33114 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33115 available use -Av9d instead of -Av9a.
33116 * sysdeps/sparc/sparc64/Makefile: Likewise.
33117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33119 New file.
33120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33121 file.
33122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33123 New file.
33124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33125 file.
33126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33127 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33128 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33131
33132 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33133 fzeros/fnegs to load 0x80000000 into a float register instead of
33134 using the stack.
33135 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33136
33137 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33138
33139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33140 bits/syscall.h.
33141 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33142 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33143 ($(inst_includedir)/bits/syscall.h): Remove rule.
33144 ($(objpfx)bits/syscall.d): Include instead of
33145 $(objpfx)syscall-list.d.
33146 (generated): Change syscall-list.h and syscall-list.d to
33147 bits/syscall.h and bits/syscall.d.
33148
33149 2012-03-14 Roland McGrath <roland@hack.frob.com>
33150
33151 [BZ #13846]
33152 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33153
33154 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33155
33156 [BZ #13841]
33157 * math/s_csqrt.c: Include <float.h>.
33158 (__csqrt): Scale large or subnormal inputs.
33159 * math/s_csqrtf.c: Likewise.
33160 * math/s_csqrtl.c: Likewise.
33161 * math/libm-test.inc (csqrt_test): Add more tests.
33162 * sysdeps/i386/fpu/libm-test-ulps: Update.
33163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33164
33165 [BZ #13840]
33166 * math/libm-test.inc (hypot_test): Add more tests.
33167
33168 2012-03-13 David S. Miller <davem@davemloft.net>
33169
33170 [BZ #13840]
33171 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33172 double-precision for the calculation instead of scaling.
33173
33174 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33175
33176 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33177 manipulate bits before adding and subtracting TWO52[sx].
33178 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33179 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33180 Likewise.
33181 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33182
33183 2012-03-13 David S. Miller <davem@davemloft.net>
33184
33185 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33186 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33188 rtld-global-offsets.h
33189 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33190
33191 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33192 large parameters.
33193
33194 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33195
33196 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33197 'err' in the ifdef scope in which it is actually used.
33198
33199 * nss/nss_db/db-init.c: Include string.h
33200
33201 2012-03-12 David S. Miller <davem@davemloft.net>
33202
33203 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33204 masking out of the most significant byte of random value used.
33205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33206 Fix coding style in previous change.
33207
33208 * sysdeps/unix/sysv/linux/kernel-features.h
33209 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33210 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33211 expression.
33212 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33213 later.
33214
33215 2012-03-11 David S. Miller <davem@davemloft.net>
33216
33217 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33218 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33219 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33220 for 'resultvar' otherwise things get truncated on 64-bit.
33221
33222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33223 Fix masking out of the most significant byte of random value used.
33224
33225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33226
33227 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33228
33229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33230
33231 2012-03-09 David S. Miller <davem@davemloft.net>
33232
33233 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33234 variables with appropriate CPP guards.
33235 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33236 frame pointer, not the stack pointer. Correct layout comments. Fix test
33237 on resulting framesize and the management of the outregs buffer for pltexit.
33238 Preserve floating point return values across _dl_call_pltexit call.
33239 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33240 framesize and the management of the outregs buffer for pltexit.
33241 Preserve floating point return values across _dl_call_pltexit
33242 call.
33243 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33244 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33245 (print_exit): Fix format string for return register value.
33246
33247 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33248
33249 * sunrpc/Makefile (others): Add rpcgen.
33250 ($(objpfx)rpcgen): Remove special build rule and dependency on
33251 libc.
33252 * sunrpc/rpcgen.c: New file.
33253
33254 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33255
33256 [BZ #13673]
33257 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33258 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33259 * sysdeps/i386/crti.S: Likewise.
33260 * sysdeps/i386/crtn.S: Likewise.
33261 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33262 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33263 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33264 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33265 * sysdeps/sh/crti.S: Likewise.
33266 * sysdeps/sh/crtn.S: Likewise.
33267 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33268
33269 [BZ #13673]
33270 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33271 with URL.
33272 * locale/programs/locfile-kw.gperf: Likewise.
33273 * locale/programs/charmap-kw.h: Regenerated.
33274 * locale/programs/locfile-kw.h: Likewise.
33275
33276 [BZ #13673]
33277 * intl/plural.y: Replace FSF snail mail address with URL.
33278 * intl/plural.c: Regenerated.
33279
33280 2012-03-09 Richard Henderson <rth@twiddle.net>
33281
33282 * include/math_private.h: Remove file.
33283 * math/math_private.h: Move file ...
33284 * sysdeps/generic/math_private.h: ... here.
33285
33286 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33287 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33288 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33289
33290 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33291 and <math_private.h>.
33292 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33293 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33294 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33295 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33296 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33297 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33298 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33299 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33300 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33301 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33303 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33304 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33305 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33306 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33307 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33308 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33309 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33310 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33311 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33313 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33314 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33316 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33317 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33318 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33319 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33320 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33321 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33322 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33324 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33325 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33326 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33327 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33328 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33329 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33330 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33331 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33332 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33333 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33334 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33335 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33336 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33337 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33338 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33339 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33340 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33341 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33342 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33343 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33344 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33345 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33346 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33347 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33348 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33349 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33350 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33351 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33352 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33353 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33354 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33355 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33356 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33357 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33358 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33359 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33360 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33361 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33362 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33363 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33364 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33366 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33367 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33368 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33369 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33370 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33371 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33372 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33373 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33374 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33375 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33376 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33379 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33380 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33381 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33382 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33383 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33384 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33385 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33386 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33387 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33388 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33389 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33390 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33391 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33392 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33393 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33394 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33395 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33396 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33397 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33398 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33399 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33400 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33402 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33403 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33404 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33405 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33406 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33407 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33408 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33409 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33410 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33411 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33412 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33413 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33414 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33415 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33416 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33417 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33418 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33419 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33420 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33421 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33422 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33423 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33424 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33425 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33426 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33427 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33428 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33429 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33430 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33431 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33432 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33433 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33434 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33435 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33436 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33437 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33438 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33439 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33440 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33441 * sysdeps/ieee754/k_standard.c: Likewise.
33442 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33443 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33444 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33445 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33446 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33447 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33448 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33449 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33450 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33451 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33452 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33453 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33454 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33455 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33456 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33457 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33458 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33459 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33460 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33461 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33462 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33463 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33464 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33465 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33466 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33467 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33468 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33469 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33470 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33471 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33472 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33473 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33474 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33475 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33476 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33477 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33478 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33479 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33480 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33481 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33482 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33483 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33484 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33485 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33486 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33487 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33488 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33489 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33490 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33491 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33492 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33493 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33494 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33495 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33496 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33497 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33498 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33499 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33500 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33501 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33502 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33503 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33504 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33505 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33507 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33508 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33509 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33510 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33511 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33512 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33514 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33515 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33516 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33517 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33518 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33519 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33520 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33521 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33522 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33523 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33524 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33525 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33526 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33527 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33528 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33529 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33530 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33531 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33532 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33533 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33534 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33535 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33536 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33537 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33538 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33539 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33540 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33541 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33542 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33543 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33544 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33545 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33546 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33549 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33550 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33551 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33552 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33553 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33554 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33555 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33556 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33557 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33558 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33559 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33560 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33561 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33562 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33563 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33564 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33565 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33566 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33567 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33568 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33569 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33570 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33571 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33572 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33573 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33574 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33575 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33576 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33577 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33578 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33579 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33580 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33581 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33582 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33583 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33584 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33585 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33586 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33587 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33588 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33589 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33590 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33591 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33592 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33593 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33594 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33595 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33596 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33597 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33598 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33599 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33600 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33601 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33602 * sysdeps/ieee754/s_lib_version.c: Likewise.
33603 * sysdeps/ieee754/s_matherr.c: Likewise.
33604 * sysdeps/ieee754/s_signgam.c: Likewise.
33605 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33606 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33607 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33608 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33609 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33610 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33611 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33612 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33613 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33614 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33615 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33616 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33617 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33618 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33619 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33620 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33621 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33622 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33623 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33624 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33626
33627 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33628
33629 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33630 * sunrpc/rpc_main.c: Likewise.
33631 * sunrpc/rpc_svcout.c: Likewise.
33632
33633 2012-03-09 David S. Miller <davem@davemloft.net>
33634
33635 * include/math_private.h: New file.
33636
33637 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33638
33639 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33640 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33641 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33642 from <bits/socket_type.h>.
33643 (enum __socket_type): Don't define here.
33644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33646 bits/socket_type.h.
33647
33648 [BZ #13566]
33649 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33650 checking __USE_GNU.
33651
33652 * Makerules ($(inst_includedir)/%.h): New rule.
33653 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33654 (install-others): Remove variable setting.
33655 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33656
33657 2012-03-08 Richard Henderson <rth@twiddle.net>
33658
33659 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33660 from macro to inline function; merge with the
33661 !__LIBC_INTERNAL_MATH_INLINES version.
33662 (__ieee754_sqrtf): Likewise.
33663
33664 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33665 to inline function.
33666 (__rintf, __floor, __floorf): Likewise.
33667
33668 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33669 macro to inline function.
33670 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33671
33672 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33673 not <math/math_private.h>.
33674
33675 2012-03-08 David S. Miller <davem@davemloft.net>
33676
33677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33678 copyright year.
33679 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33680
33681 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33682
33683 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33684 normalization.
33685 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33686 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33687
33688 2012-03-08 Ulrich Drepper <drepper@gmail.com>
33689
33690 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33691 be defined individually, they must be defined as a block. Define
33692 S for printing a string instead of hidint the different by using a
33693 macro for adding the 'l'.
33694 * stdio-common/tst-fphex-wide.c: Adjust.
33695
33696 2012-03-07 Marek Polacek <polacek@redhat.com>
33697
33698 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33699
33700 2012-03-08 Marek Polacek <polacek@redhat.com>
33701
33702 [BZ #13806]
33703 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33704 * stdio-common/tst-fphex.c: Define a few macros to make the
33705 test reusable. Use them.
33706 * stdio-common/tst-fphex-wide.c: New file.
33707
33708 2012-03-08 Joseph Myers <joseph@codesourcery.com>
33709
33710 [BZ #6911]
33711 * manual/macros.texi (gnusystems): New macro.
33712 (nongnusystems): Likewise.
33713 (gnulinuxhurdsystems): Likewise.
33714 (gnuhurdsystems): Likewise..
33715 (gnulinuxsystems): Likewise.
33716 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33717 variants of the GNU system, not "GNU system".
33718 * manual/conf.texi: Likewise.
33719 * manual/errno.texi: Likewise. Update example of errno macro
33720 expansion.
33721 * manual/filesys.texi: Likewise.
33722 (getumask): Document as specific to GNU/Hurd.
33723 * manual/install.texi: Likewise. Reword some references to
33724 GNU/Linux.
33725 * manual/intro.texi: Likewise.
33726 * manual/io.texi: Likewise.
33727 (File Name Portability): Detail which constraints are inapplicable
33728 to all GNU systems and which are only inapplicable to GNU/Hurd.
33729 * manual/job.texi: Likewise.
33730 * manual/llio.texi: Likewise.
33731 (O_NOCTTY): Document as present on GNU/Linux.
33732 * manual/maint.texi: Likewise.
33733 * manual/memory.texi: Likewise.
33734 * manual/pattern.texi: Likewise.
33735 * manual/pipe.texi: Likewise.
33736 * manual/process.texi: Likewise.
33737 * manual/resource.texi: Likewise.
33738 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33739 child on GNU/Hurd.
33740 * manual/setjmp.texi: Likewise.
33741 * manual/signal.texi: Likewise.
33742 * manual/startup.texi: Likewise.
33743 * manual/stdio.texi: Likewise.
33744 * manual/terminal.texi: Likewise.
33745 (ONLCR): Document as POSIX.
33746 (OXTABS): Document availability on GNU/Linux as XTABS.
33747 (ONOEOT): Document availability separately from other bits.
33748 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33749 * manual/time.texi: Likewise.
33750 * manual/users.texi: Likewise.
33751 * INSTALL: Regenerated.
33752 * sysdeps/gnu/errlist.c: Regenerated.
33753
33754 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33755 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33756 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33757 puts.
33758 * configure: Regenerated.
33759
33760 2012-03-07 Joseph Myers <joseph@codesourcery.com>
33761
33762 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33763 default includes instead of AC_HEADER_CHECK.
33764 * sysdeps/i386/configure: Regenerated.
33765
33766 [BZ #10716]
33767 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33768 * math/s_cacoshf.c (__cacoshf): Likewise.
33769 * math/s_cacoshl.c (__cacoshl): Likewise.
33770 * math/s_casinh.c (__casinh): Set signs of result from argument.
33771 * math/s_casinhf.c (__casinhf): Likewise.
33772 * math/s_casinhl.c (__casinhl): Likewise.
33773 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33774 (casinh_test): Add more tests.
33775 * sysdeps/i386/fpu/libm-test-ulps: Update.
33776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33777
33778 2012-03-07 Ulrich Drepper <drepper@gmail.com>
33779
33780 * po/zh_TW.po: Update from translation team.
33781
33782 * login/Makefile (distribute): Remove variable.
33783 * catgets/Makefile: Likewise.
33784 * mach/Makefile: Likewise.
33785 * malloc/Makefile: Likewise.
33786 * misc/Makefile: Likewise.
33787 * iconv/Makefile: Likewise.
33788 * nscd/Makefile: Likewise.
33789 * hurd/Makefile: Likewise.
33790 * manual/Makefile: Likewise.
33791 * locale/Makefile: Likewise.
33792 * intl/Makefile: Likewise.
33793 * conform/Makefile: Likewise.
33794 * nss/Makefile: Likewise.
33795 * time/Makefile: Likewise.
33796 * soft-fp/Makefile: Likewise.
33797 * dirent/Makefile: Likewise.
33798 * gmon/Makefile: Likewise.
33799 * po/Makefile: Likewise.
33800 * rt/Makefile: Likewise.
33801 * socket/Makefile: Likewise.
33802 * math/Makefile: Likewise.
33803 * signal/Makefile: Likewise.
33804 * debug/Makefile: Likewise.
33805 * elf/Makefile: Likewise.
33806 * timezone/Makefile: Likewise.
33807 * stdlib/Makefile: Likewise.
33808 * iconvdata/Makefile: Likewise.
33809 * sunrpc/Makefile: Likewise.
33810 * io/Makefile: Likewise.
33811 * argp/Makefile: Likewise.
33812 * inet/Makefile: Likewise.
33813 * hesiod/Makefile: Likewise.
33814 * grp/Makefile: Likewise.
33815 * csu/Makefile: Likewise.
33816 * wctype/Makefile: Likewise.
33817 * crypt/Makefile: Likewise.
33818 * libio/Makefile: Likewise.
33819 * string/Makefile: Likewise.
33820 * nis/Makefile: Likewise.
33821 * resolv/Makefile: Likewise.
33822 * stdio-common/Makefile: Likewise.
33823 * wcsmbs/Makefile: Likewise.
33824 * dlfcn/Makefile: Likewise.
33825 * posix/Makefile: Likewise.
33826
33827 [BZ #6959]
33828 * timezone/Makefile: Don't install timezone files, just the programs
33829 and scripts.
33830
33831 2012-03-06 Ulrich Drepper <drepper@gmail.com>
33832
33833 * nss/databases.def: Add missing gshadow entry.
33834
33835 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33836
33837 2012-03-06 Marek Polacek <polacek@redhat.com>
33838
33839 [BZ #13726]
33840 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33841 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33842 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33843 * stdio-common/tst-long-dbl-fphex.c: New file.
33844
33845 2012-03-06 David S. Miller <davem@davemloft.net>
33846
33847 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33848 (set_obp_int): New function.
33849 (get_obp_int): New function.
33850 (__get_clockfreq_via_dev_openprom): Likewise.
33851 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33852 Avoid unused variable warnings on 'val' and use builtin_expect.
33853 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33854 __builtin_expect.
33855 (INLINE_CLONE_SYSCALL): Likewise.
33856
33857 2012-03-05 David S. Miller <davem@davemloft.net>
33858
33859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33860
33861 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33862
33863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33864
33865 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33866 only for |x| >= 40.
33867 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33868
33869 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
33870
33871 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33872 Replace gettimeofday with __vdso_gettimeofday.
33873
33874 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33875 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33876 __vdso_clock_gettime and __vdso_getcpu.
33877
33878 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33879 time with __vdso_time.
33880
33881 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33882
33883 * manual/lang.texi (size_t): Note types to which size_t may be
33884 equivalent with the GNU C Library, but do not describe when
33885 differences between them are significant.
33886
33887 2012-03-05 Andreas Jaeger <aj@suse.de>
33888
33889 * sysdeps/i386/fpu/libm-test-ulps: Update.
33890
33891 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33892
33893 [BZ #3976]
33894 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33895 (__ieee754_pow): Save and restore rounding mode and use
33896 round-to-nearest for main computations.
33897 * math/libm-test.inc (pow_test_tonearest): New function.
33898 (pow_test_towardzero): Likewise.
33899 (pow_test_downward): Likewise.
33900 (pow_test_upward): Likewise.
33901 (main): Call the new functions.
33902 * sysdeps/i386/fpu/libm-test-ulps: Update.
33903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33904
33905 [BZ #3976]
33906 * math/libm-test.inc (cosh_test_tonearest): New function.
33907 (cosh_test_towardzero): Likewise.
33908 (cosh_test_downward): Likewise.
33909 (cosh_test_upward): Likewise.
33910 (sinh_test_tonearest): Likewise.
33911 (sinh_test_towardzero): Likewise.
33912 (sinh_test_downward): Likewise.
33913 (sinh_test_upward): Likewise.
33914 (main): Call the new functions.
33915 * sysdeps/i386/fpu/libm-test-ulps: Update.
33916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33917
33918 2012-03-05 Tom de Vries <tom@codesourcery.com>
33919
33920 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33921 default stack guard is set in last bytes.
33922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33923
33924 2012-03-05 Kees Cook <keescook@chromium.org>
33925
33926 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33927
33928 [BZ #13656]
33929 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33930 possibly allocate from heap instead of stack.
33931 * stdio-common/bug-vfprintf-nargs.c: New file.
33932 * stdio-common/Makefile (tests): Add nargs overflow test.
33933
33934 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33935
33936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33937
33938 2012-03-03 Marek Polacek <polacek@redhat.com>
33939
33940 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33941 * math/math_private.h: Likewise.
33942 * stdlib/tst-strtod.c: Likewise.
33943 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33944 * sysdeps/x86_64/bits/atomic.h: Likewise.
33945
33946 2012-03-02 David S. Miller <davem@davemloft.net>
33947
33948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33952 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33953 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33954 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33955 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33956
33957 2012-03-02 Roland McGrath <roland@hack.frob.com>
33958
33959 [BZ #13792]
33960 * manual/examples/README: New file, says the example source files
33961 can be used under GPL>=2.
33962 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33963 line containing just "*/".
33964 * manual/examples/add.c: Add copyright header (GPL>=2).
33965 * manual/examples/argp-ex1.c: Likewise.
33966 * manual/examples/argp-ex2.c: Likewise.
33967 * manual/examples/argp-ex3.c: Likewise.
33968 * manual/examples/argp-ex4.c: Likewise.
33969 * manual/examples/atexit.c: Likewise.
33970 * manual/examples/db.c: Likewise.
33971 * manual/examples/dir.c: Likewise.
33972 * manual/examples/dir2.c: Likewise.
33973 * manual/examples/execinfo.c: Likewise.
33974 * manual/examples/filecli.c: Likewise.
33975 * manual/examples/filesrv.c: Likewise.
33976 * manual/examples/fmtmsgexpl.c: Likewise.
33977 * manual/examples/genpass.c: Likewise.
33978 * manual/examples/inetcli.c: Likewise.
33979 * manual/examples/inetsrv.c: Likewise.
33980 * manual/examples/isockad.c: Likewise.
33981 * manual/examples/longopt.c: Likewise.
33982 * manual/examples/memopen.c: Likewise.
33983 * manual/examples/memstrm.c: Likewise.
33984 * manual/examples/mkfsock.c: Likewise.
33985 * manual/examples/mkisock.c: Likewise.
33986 * manual/examples/mygetpass.c: Likewise.
33987 * manual/examples/pipe.c: Likewise.
33988 * manual/examples/popen.c: Likewise.
33989 * manual/examples/rprintf.c: Likewise.
33990 * manual/examples/search.c: Likewise.
33991 * manual/examples/select.c: Likewise.
33992 * manual/examples/setjmp.c: Likewise.
33993 * manual/examples/sigh1.c: Likewise.
33994 * manual/examples/sigusr.c: Likewise.
33995 * manual/examples/stpcpy.c: Likewise.
33996 * manual/examples/strdupa.c: Likewise.
33997 * manual/examples/strftim.c: Likewise.
33998 * manual/examples/strncat.c: Likewise.
33999 * manual/examples/subopt.c: Likewise.
34000 * manual/examples/swapcontext.c: Likewise.
34001 * manual/examples/termios.c: Likewise.
34002 * manual/examples/testopt.c: Likewise.
34003 * manual/examples/testpass.c: Likewise.
34004 * manual/examples/timeval_subtract.c: Likewise.
34005
34006 [BZ #13792]
34007 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34008 function to ...
34009 * manual/timeval_subtract.c.texi: ... here, new file.
34010
34011 2012-03-02 David S. Miller <davem@davemloft.net>
34012
34013 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34014
34015 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34016
34017 [BZ #3976]
34018 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34019 (__sin): Save and restore rounding mode and use round-to-nearest
34020 for all computations.
34021 (__cos): Save and restore rounding mode and use round-to-nearest
34022 for all computations.
34023 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34024 <fenv.h>.
34025 (tan): Save and restore rounding mode and use round-to-nearest for
34026 all computations.
34027 * math/libm-test.inc (cos_test_tonearest): New function.
34028 (cos_test_towardzero): Likewise.
34029 (cos_test_downward): Likewise.
34030 (cos_test_upward): Likewise.
34031 (sin_test_tonearest): Likewise.
34032 (sin_test_towardzero): Likewise.
34033 (sin_test_downward): Likewise.
34034 (sin_test_upward): Likewise.
34035 (tan_test_tonearest): Likewise.
34036 (tan_test_towardzero): Likewise.
34037 (tan_test_downward): Likewise.
34038 (tan_test_upward): Likewise.
34039 (main): Call the new functions.
34040 * sysdeps/i386/fpu/libm-test-ulps: Update.
34041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34042
34043 [BZ #10135]
34044 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34045 small n, then large n, before computing and testing k+n.
34046 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34047 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34048 Likewise.
34049 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34050 Likewise.
34051 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34052 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34053 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34054 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34055 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34056 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34057 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34058 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34059 * math/libm-test.inc (scalbn_test): Add more tests.
34060 (scalbln_test): Likewise.
34061
34062 * manual/filesys.texi (mode_t): Describe constraints on size and
34063 signedness, not exact equivalence to a particular type.
34064 (ino_t): Likewise.
34065 (ino64_t): Likewise.
34066 (dev_t): Likewise.
34067 (nlink_t): Likewise.
34068 (blkcnt_t): Likewise.
34069 (blkcnt64_t): Likewise.
34070 * manual/llio.texi (off_t): Likewise.
34071
34072 [BZ #3976]
34073 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34074 (__ieee754_exp): Save and restore rounding mode and use
34075 round-to-nearest for all computations.
34076 * math/libm-test.inc (exp_test_tonearest): New function.
34077 (exp_test_towardzero): Likewise.
34078 (exp_test_downward): Likewise.
34079 (exp_test_upward): Likewise.
34080 (main): Call the new functions.
34081 * sysdeps/i386/fpu/libm-test-ulps: Update.
34082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34083
34084 2012-03-01 Chris Demetriou <cgd@google.com>
34085
34086 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34087 have predictable order.
34088
34089 2012-03-01 David S. Miller <davem@davemloft.net>
34090
34091 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34092
34093 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34094 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34095 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34096 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34097
34098 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34099 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34100 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34102 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34103 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34104 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34105 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34106 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34107
34108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34109
34110 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34111 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34112 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34113
34114 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34115 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34116 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34117 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34118 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34119 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34120 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34121 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34122 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34123 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34124 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34125 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34126 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34127 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34128 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34130 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34131 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34132 * sysdeps/sparc/elf/configure: Regenerated.
34133
34134 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34135
34136 * configure.in (AS, LD): Require binutils 2.20 or later.
34137 * configure: Regenerated.
34138 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34139 as required minimum version.
34140 * INSTALL: Regenerated.
34141
34142 [BZ #2541]
34143 [BZ #4108]
34144 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34145 before squaring exponent.
34146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34147 bottom long double and 27 bits of top long double before squaring
34148 exponent.
34149 * math/libm-test.inc (erfc_test): Add more tests.
34150 * sysdeps/i386/fpu/libm-test-ulps: Update.
34151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34153
34154 2012-03-01 Kai Tietz <ktietz@redhat.com>
34155
34156 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34157 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34158 containing bit-fields.
34159 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34160 * soft-fp/single.h (_FP_UNION_S): Likewise.
34161 * soft-fp/double.h (_FP_UNION_D): Likewise.
34162
34163 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34164
34165 [BZ #13786]
34166 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34167 not include ../strcmp.S.
34168 [USE_AS_STRNCASECMP_L]: Likewise.
34169 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34170 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34171 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34172 (__strncasecmp_l_ia32): Define as alias to
34173 __strncasecmp_l_nonascii.
34174
34175 [BZ #5794]
34176 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34177 * sysdeps/i386/fpu/libm-test-ulps: Update.
34178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34179
34180 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34182
34183 2012-02-29 Jeff Law <law@redhat.com>
34184
34185 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34186 out of bounds read.
34187
34188 2012-02-29 Marek Polacek <polacek@redhat.com>
34189
34190 [BZ #13706]
34191 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34192 * elf/Makefile: Add rules to run tst-unused-dep.out.
34193
34194 2012-02-28 David S. Miller <davem@davemloft.net>
34195
34196 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34197 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34198 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34199 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34200 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34201 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34202
34203 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34204
34205 * math/libm-test.inc (llround_test): Move one test from
34206 lround_test. Use TEST_f_L in moved test.
34207 (lround_test): Move misplaced test to llround_test. Add testcase
34208 from bug 2561.
34209
34210 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34211
34212 * sysdeps/x86_64/fpu/e_expf.S: New file.
34213 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34214
34215 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34216
34217 [BZ #13637]
34218 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34219 of remain_len that may cause incomplete multi-byte character and
34220 false match.
34221 * posix/bug-regex33.c: New file.
34222 * posix/Makefile (tests): Add bug-regex33.
34223
34224 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34225
34226 * manual/macros.texi: New file.
34227 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34228 * manual/libc.texinfo: Include macros.texi.
34229 * manual/creatute.texi: Likewise.
34230 * manual/install.texi: Likewise.
34231 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34232 @glibcadj{} in references to the GNU C Library.
34233 * manual/charset.texi: Likewise.
34234 * manual/conf.texi: Likewise.
34235 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34236 when not using those macros.
34237 * manual/creature.texi: Likewise.
34238 * manual/crypt.texi: Likewise.
34239 * manual/errno.texi: Likewise.
34240 * manual/filesys.texi: Likewise.
34241 * manual/header.texi: Likewise.
34242 * manual/install.texi: Likewise.
34243 * manual/intro.texi: Likewise.
34244 * manual/io.texi: Likewise.
34245 * manual/job.texi: Likewise.
34246 * manual/lang.texi: Likewise.
34247 * manual/libc.texiinfo: Likewise.
34248 * manual/llio.texi: Likewise.
34249 * manual/locale.texi: Likewise.
34250 * manual/maint.texi: Likewise.
34251 * manual/math.texi: Likewise.
34252 * manual/memory.texi: Likewise.
34253 * manual/message.texi: Likewise.
34254 * manual/nss.texi: Likewise.
34255 * manual/pattern.texi: Likewise.
34256 * manual/process.texi: Likewise.
34257 * manual/resource.texi: Likewise.
34258 * manual/search.texi: Likewise.
34259 * manual/setjmp.texi: Likewise.
34260 * manual/signal.texi: Likewise.
34261 * manual/socket.texi: Likewise.
34262 * manual/startup.texi: Likewise.
34263 * manual/stdio.texi: Likewise.
34264 * manual/string.texi: Likewise.
34265 * manual/sysinfo.texi: Likewise.
34266 * manual/syslog.texi: Likewise.
34267 * manual/terminal.texi: Likewise.
34268 * manual/time.texi: Likewise.
34269 * manual/users.texi: Likewise.
34270 * INSTALL: Regenerated.
34271 * NOTES: Regenerated.
34272 * sysdeps/gnu/errlist.c: Regenerated.
34273
34274 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34275
34276 * include/dirent.h: Include <dirstream.h> before
34277 <dirent/dirent.h>.
34278
34279 2012-02-28 David S. Miller <davem@davemloft.net>
34280
34281 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34282 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34283 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34284 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34285
34286 2012-02-27 David S. Miller <davem@davemloft.net>
34287
34288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34290 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34291 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34292
34293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34294 frame pointer instead of stack pointer relative arg slot.
34295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34296 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34297 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34298
34299 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34300
34301 [BZ #3992]
34302 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34303
34304 2012-02-27 David S. Miller <davem@davemloft.net>
34305
34306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34310 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34311 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34312 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34313 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34314
34315 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34316
34317 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34318 later. Allow versions 5-9.
34319 * configure: Regenerated.
34320 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34321 required minimum version and 4.6 as recommended version. Do not
34322 mention bugs in GCC 2.7 and 2.8.
34323 * INSTALL: Regenerated.
34324
34325 2012-02-27 David S. Miller <davem@davemloft.net>
34326
34327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34331 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34332 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34333 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34334 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34335
34336 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34337 manipulate bits before adding and subtracting TWO112[sx].
34338 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34339
34340 2012-02-27 Roland McGrath <roland@hack.frob.com>
34341
34342 [BZ #13775]
34343 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34344 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34345 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34346 being in POSIX, because they are in 1003.1-2008.
34347
34348 * rt/tst-aio.c: Include <fcntl.h>.
34349 * rt/tst-aio7.c: Likewise.
34350 * rt/tst-aio64.c: Likewise.
34351
34352 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34353
34354 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34355
34356 * manual/install.texi (--with-headers): Describe headers as
34357 interface headers, not private headers.
34358 (Specific advice for GNU/Linux systems): Describe use of headers
34359 from "make headers_install", not private headers from older
34360 kernels.
34361 * INSTALL: Regenerated.
34362 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34363 Change to 2.6.19.
34364 * sysdeps/unix/sysv/linux/configure: Regenerated.
34365
34366 * manual/llio.texi (fclean): Remove documentation.
34367
34368 * manual/Makefile (libc-texi-generated): New variable. Include
34369 version.texi.
34370 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34371 $(libc-texi-generated), not duplicated list of files.
34372 (version.texi, stamp-version): New rules.
34373 (realclean): Remove $(libc-texi-generated), not individual files
34374 from that list. Do not remove dir-add.texinfo.
34375 * manual/libc.texinfo: Comment out uses of edition numbers and
34376 references to printed manual. Remove last-updated dates.
34377 (EDITION): Comment out.
34378 (ISBN): Likewise.
34379 (VERSION, UPDATED): Remove.
34380 (version.texi): Include.
34381
34382 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34383
34384 * sysdeps/posix/spawni.c: Include <signal.h>.
34385 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34386 * sysdeps/pthread/aio_fsync.c: Likewise.
34387
34388 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34389
34390 * conform/Makefile (tests): Run only when not cross-compiling and
34391 when fast-check is not defined.
34392
34393 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34394 * conform/data/limits.h-data: Fixes for POSIX2008.
34395 * conform/run-conformtest.sh: Run all tests.
34396 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34397 headers.
34398 * include/bits/dlfcn.h: Likewise.
34399 * include/langinfo.h: Likewise.
34400 * include/monetary.h: Likewise.
34401 * include/sys/poll.h: Likewise.
34402
34403 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34404 for __USE_GNU.
34405 * posix/spawn.h: Define __need_sigset_t.
34406 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34407 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34408 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34409 to get sigevent_t only.
34410 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34411 only for __USE_GNU.
34412 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34413 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34414 process_vm_writev only for __USE_GNU.
34415 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34416
34417 * conform/Makefile: For now ignore errors from run-conformtest.
34418 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34419 POSIX to avoid namespace pollution. Don't prepend headers.
34420 * conform/data/aio.h-data: Fixes for POSIX testing.
34421 * conform/data/fcntl.h-data: Likewise.
34422 * conform/data/glob.h-data: Likewise.
34423 * conform/data/grp.h-data: Likewise.
34424 * conform/data/pthread.h-data: Likewise.
34425 * conform/data/pwd.h-data: Likewise.
34426 * conform/data/signal.h-data: Likewise.
34427 * conform/data/spawn.h-data: Likewise.
34428 * conform/data/stdio.h-data: Likewise.
34429 * conform/data/stdlib.h-data: Likewise.
34430 * conform/data/stropts.h-data: Likewise.
34431 * conform/data/sys/mman.h-data: Likewise.
34432 * conform/data/sys/stat.h-data: Likewise.
34433 * conform/data/sys/types.h-data: Likewise.
34434 * conform/data/sys/wait.h-data: Likewise.
34435 * conform/data/time.h-data: Likewise.
34436 * conform/data/unistd.h-data: Likewise.
34437 * conform/data/utime.h-data: Likewise.
34438
34439 * io/sys/stat.h: fchmod was always in POSIX.
34440 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34441 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34442 * rt/aio.h: Define __need_timespec before including <time.h>.
34443 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34444 struct. Add forward declaration of pthread_attr_t and use it in
34445 sigevent.
34446 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34447 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34448 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34449 always remove CLK_TCK definition.
34450
34451 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34452
34453 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34454
34455 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34456
34457 * conform/run-conformtest.sh: New file.
34458 * conform/Makefile: Run run-conformtest for tests.
34459 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34460 support.
34461
34462 * conform/data/uchar.h-data: New file.
34463 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34464 * conform/data/arpa/inet.h-data: Likewise.
34465 * conform/data/assert.h-data: Likewise.
34466 * conform/data/complex.h-data: Likewise.
34467 * conform/data/cpio.h-data: Likewise.
34468 * conform/data/ctype.h-data: Likewise.
34469 * conform/data/dirent.h-data: Likewise.
34470 * conform/data/dlfcn.h-data: Likewise.
34471 * conform/data/errno.h-data: Likewise.
34472 * conform/data/fcntl.h-data: Likewise.
34473 * conform/data/float.h-data: Likewise.
34474 * conform/data/fmtmsg.h-data: Likewise.
34475 * conform/data/fnmatch.h-data: Likewise.
34476 * conform/data/ftw.h-data: Likewise.
34477 * conform/data/glob.h-data: Likewise.
34478 * conform/data/grp.h-data: Likewise.
34479 * conform/data/iconv.h-data: Likewise.
34480 * conform/data/inttypes.h-data: Likewise.
34481 * conform/data/langinfo.h-data: Likewise.
34482 * conform/data/libgen.h-data: Likewise.
34483 * conform/data/limits.h-data: Likewise.
34484 * conform/data/locale.h-data: Likewise.
34485 * conform/data/math.h-data: Likewise.
34486 * conform/data/monetary.h-data: Likewise.
34487 * conform/data/mqueue.h-data: Likewise.
34488 * conform/data/ndbm.h-data: Likewise.
34489 * conform/data/net/if.h-data: Likewise.
34490 * conform/data/netdb.h-data: Likewise.
34491 * conform/data/netinet/in.h-data: Likewise.
34492 * conform/data/nl_types.h-data: Likewise.
34493 * conform/data/poll.h-data: Likewise.
34494 * conform/data/pthread.h-data: Likewise.
34495 * conform/data/pwd.h-data: Likewise.
34496 * conform/data/regex.h-data: Likewise.
34497 * conform/data/sched.h-data: Likewise.
34498 * conform/data/search.h-data: Likewise.
34499 * conform/data/semaphore.h-data: Likewise.
34500 * conform/data/setjmp.h-data: Likewise.
34501 * conform/data/signal.h-data: Likewise.
34502 * conform/data/spawn.h-data: Likewise.
34503 * conform/data/stdarg.h-data: Likewise.
34504 * conform/data/stdio.h-data: Likewise.
34505 * conform/data/stdlib.h-data: Likewise.
34506 * conform/data/string.h-data: Likewise.
34507 * conform/data/strings.h-data: Likewise.
34508 * conform/data/stropts.h-data: Likewise.
34509 * conform/data/sys/ipc.h-data: Likewise.
34510 * conform/data/sys/mman.h-data: Likewise.
34511 * conform/data/sys/msg.h-data: Likewise.
34512 * conform/data/sys/resource.h-data: Likewise.
34513 * conform/data/sys/select.h-data: Likewise.
34514 * conform/data/sys/sem.h-data: Likewise.
34515 * conform/data/sys/shm.h-data: Likewise.
34516 * conform/data/sys/socket.h-data: Likewise.
34517 * conform/data/sys/stat.h-data: Likewise.
34518 * conform/data/sys/statvfs.h-data: Likewise.
34519 * conform/data/sys/time.h-data: Likewise.
34520 * conform/data/sys/timeb.h-data: Likewise.
34521 * conform/data/sys/times.h-data: Likewise.
34522 * conform/data/sys/types.h-data: Likewise.
34523 * conform/data/sys/uio.h-data: Likewise.
34524 * conform/data/sys/un.h-data: Likewise.
34525 * conform/data/sys/utsname.h-data: Likewise.
34526 * conform/data/sys/wait.h-data: Likewise.
34527 * conform/data/syslog.h-data: Likewise.
34528 * conform/data/tar.h-data: Likewise.
34529 * conform/data/termios.h-data: Likewise.
34530 * conform/data/utime.h-data: Likewise.
34531 * conform/data/utmpx.h-data: Likewise.
34532 * conform/data/varargs.h-data: Likewise.
34533 * conform/data/wchar.h-data: Likewise.
34534 * conform/data/wctype.h-data: Likewise.
34535 * conform/data/wordexp.h-data: Likewise.
34536
34537 * include/stropts.h: New file.
34538 * include/uchar.h: New file.
34539 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34540 * include/assert.h: Likewise.
34541 * include/ctype.h: Likewise.
34542 * include/dirent.h: Likewise.
34543 * include/dlfcn.h: Likewise.
34544 * include/fcntl.h: Likewise.
34545 * include/fnmatch.h: Likewise.
34546 * include/glob.h: Likewise.
34547 * include/grp.h: Likewise.
34548 * include/libio.h: Likewise.
34549 * include/locale.h: Likewise.
34550 * include/math.h: Likewise.
34551 * include/net/if.h: Likewise.
34552 * include/netdb.h: Likewise.
34553 * include/netinet/in.h: Likewise.
34554 * include/pthread.h: Likewise.
34555 * include/pwd.h: Likewise.
34556 * include/regex.h: Likewise.
34557 * include/sched.h: Likewise.
34558 * include/search.h: Likewise.
34559 * include/setjmp.h: Likewise.
34560 * include/signal.h: Likewise.
34561 * include/stdio.h: Likewise.
34562 * include/stdlib.h: Likewise.
34563 * include/string.h: Likewise.
34564 * include/sys/cdefs.h: Likewise.
34565 * include/sys/mman.h: Likewise.
34566 * include/sys/msg.h: Likewise.
34567 * include/sys/resource.h: Likewise.
34568 * include/sys/select.h: Likewise.
34569 * include/sys/socket.h: Likewise.
34570 * include/sys/stat.h: Likewise.
34571 * include/sys/statvfs.h: Likewise.
34572 * include/sys/time.h: Likewise.
34573 * include/sys/times.h: Likewise.
34574 * include/sys/uio.h: Likewise.
34575 * include/sys/utsname.h: Likewise.
34576 * include/sys/wait.h: Likewise.
34577 * include/termios.h: Likewise.
34578 * include/time.h: Likewise.
34579 * include/ulimit.h: Likewise.
34580 * include/unistd.h: Likewise.
34581 * include/utime.h: Likewise.
34582 * include/wchar.h: Likewise.
34583 * include/wctype.h: Likewise.
34584 * include/wordexp.h: Likewise.
34585
34586 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34587
34588 * time/time.h: TIME_UTC must be a macro.
34589 Make timespec_get available for ISO C11 only as well.
34590
34591 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34592
34593 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34594 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34595
34596 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34597
34598 * configure.in: Use -o not -a in test for unsupported multi-arch.
34599
34600 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34601
34602 * manual/texinfo.tex: Update to version 2012-01-19.16.
34603
34604 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34605
34606 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34607
34608 2012-02-24 Roland McGrath <roland@hack.frob.com>
34609
34610 [BZ #13738]
34611 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34612 * manual/fdl-1.3.texi: New file.
34613 * manual/fdl-1.1.texi: File removed.
34614
34615 [BZ #13738]
34616 * manual/libc.texinfo (FDL_VERSION): New @set.
34617 Use it for mention of FDL in cover text.
34618 (Documentation License): Use it in @include file name.
34619
34620 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34621 Roland McGrath <roland@hack.frob.com>
34622
34623 [BZ #5461]
34624 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34625 not LONG_LONG_MAX and LONG_LONG_MIN.
34626 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34627 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34628 name.
34629 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34630
34631 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34632
34633 [BZ #2547]
34634 [BZ #11365]
34635 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34636 manipulate bits before adding and subtracting TWO23[sx].
34637 * math/libm-test.inc (nearbyint_test): Add more tests.
34638
34639 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34640
34641 [BZ #2548]
34642 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34643 bits before adding and subtracting TWO23[sx].
34644 * math/libm-test.inc (rint_test): Add more tests.
34645 (rint_test_tonearest): Likewise.
34646 (rint_test_towardzero): Likewise.
34647 (rint_test_downward): Likewise.
34648 (rint_test_upward: Likewise.
34649
34650 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34651
34652 [BZ #10110]
34653 * include/stdc-predef.h: New file. Extracted from features.h.
34654 * include/features.h: Include stdc-predef.h.
34655 * Makefile (headers): Add stdc-predef.h.
34656 * CONFORMANCE (Compiler limitations): Update.
34657
34658 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34659
34660 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34661
34662 2012-02-21 David S. Miller <davem@davemloft.net>
34663
34664 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34665 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34666
34667 2012-02-20 David S. Miller <davem@davemloft.net>
34668
34669 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34670 using a normal save/restore sequence, rather than allocating a
34671 dummy stack frame just to store a frame pointer and restore.
34672 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34673
34674 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34675
34676 * manual/install.texi: Fix stray word in line-wrapped comment.
34677
34678 2012-02-20 David S. Miller <davem@davemloft.net>
34679
34680 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34681 both binutils and gcc support GOTDATA.
34682
34683 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34684 "rd %pc" in the PIC register setup sequences.
34685
34686 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34687 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34688 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34689 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34690 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34692 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34693 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34694 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34695 (SYSCALL_ERROR_HANDLER): Likewise.
34696 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34697 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34699 (SYSCALL_ERROR_HANDLER): Likewise.
34700
34701 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34702 (HAVE_GCC_GOTDATA): New.
34703 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34704 relocation support in both binutils and gcc.
34705 * sysdeps/sparc/elf/configure: Regenerate.
34706
34707 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34708 * sysdeps/sparc/sparc32/elf/configure: Delete.
34709 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34710 * sysdeps/sparc/sparc64/elf/configure: Delete.
34711 * sysdeps/sparc/elf/configure.in: New file.
34712 * sysdeps/sparc/elf/configure: Generate.
34713
34714 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34715 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34716 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34717 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34718 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34719
34720 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34721
34722 * manual/install.texi: Do not mention specific glibc version
34723 numbers.
34724 * manual/libc.texinfo (VERSION, UPDATED): Update.
34725 (@copying): Use @copyright{} and range of years.
34726
34727 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34728
34729 [BZ #13695]
34730 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34731 [crti.S not in sysdirs] (generated): Do not append.
34732 [crti.S not in sysdirs] (omit-deps): Likewise.
34733 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34734 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34735 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34736 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34737 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34738 Likewise.
34739 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34740 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34741 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34742 * csu/defs.awk: Remove file.
34743 * sysdeps/generic/initfini.c: Likewise.
34744 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34745 variable.
34746 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34747 Likewise.
34748
34749 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34750
34751 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34752 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34753 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34754 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34755 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34756 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34757 <bits/epoll.h>.
34758 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34759 (__EPOLL_PACKED): Define to empty if not defined by
34760 <bits/epoll.h>.
34761 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34763 bits/epoll.h.
34764
34765 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34766
34767 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34768 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34769 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34770 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34771 <bits/timerfd.h>.
34772 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34774 bits/timerfd.h.
34775
34776 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34777
34778 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34779 in C locale.
34780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34781 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34782 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34784
34785 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34786
34787 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34788 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34789
34790 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34791
34792 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34793 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34794 defined.
34795 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34796 Likewise.
34797 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34798 entry for 2.16.
34799
34800 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34801
34802 * math/w_acos.c: Use non-signaling floating-point comparisons.
34803 * math/w_acosf.c: Likewise.
34804 * math/w_acosh.c: Likewise.
34805 * math/w_acoshf.c: Likewise.
34806 * math/w_acoshl.c: Likewise.
34807 * math/w_acosl.c: Likewise.
34808 * math/w_asin.c: Likewise.
34809 * math/w_asinf.c: Likewise.
34810 * math/w_asinl.c: Likewise.
34811 * math/w_atanh.c: Likewise.
34812 * math/w_atanhf.c: Likewise.
34813 * math/w_atanhl.c: Likewise.
34814 * math/w_exp2.c: Likewise.
34815 * math/w_exp2f.c: Likewise.
34816 * math/w_exp2l.c: Likewise.
34817 * math/w_j0.c: Likewise.
34818 * math/w_j0f.c: Likewise.
34819 * math/w_j0l.c: Likewise.
34820 * math/w_j1.c: Likewise.
34821 * math/w_j1f.c: Likewise.
34822 * math/w_j1l.c: Likewise.
34823 * math/w_jn.c: Likewise.
34824 * math/w_jnf.c: Likewise.
34825 * math/w_log.c: Likewise.
34826 * math/w_log10.c: Likewise.
34827 * math/w_log10f.c: Likewise.
34828 * math/w_log10l.c: Likewise.
34829 * math/w_log2.c: Likewise.
34830 * math/w_log2f.c: Likewise.
34831 * math/w_log2l.c: Likewise.
34832 * math/w_logf.c: Likewise.
34833 * math/w_logl.c: Likewise.
34834 * math/w_sqrt.c: Likewise.
34835 * math/w_sqrtf.c: Likewise.
34836 * math/w_sqrtl.c: Likewise.
34837 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34838 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34839 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34840 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34841 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34842
34843 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34844
34845 [BZ #9739]
34846 * manual/string.texi (strnlen): Use correct parameter name in
34847 equivalent expression.
34848
34849 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34850
34851 [BZ #11174]
34852 * manual/users.texi (seteuid): Consistently use neweuid for
34853 argument name.
34854
34855 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34856
34857 [BZ #13704]
34858 * manual/nss.texi (Services in the NSS configuration): Correct
34859 list of services in example configuration file.
34860
34861 2012-02-19 Nick Bowler <nbowler@draconx.ca>
34862
34863 [BZ #11322]
34864 * manual/arith.texi: Remove statements about negative zero
34865 behaving identically to zero.
34866
34867 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34868
34869 [BZ #5993]
34870 * manual/install.texi: Do not document upgrading from libc5.
34871
34872 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34873
34874 [BZ #4596]
34875 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34876
34877 2012-02-18 David S. Miller <davem@davemloft.net>
34878
34879 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34880 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34881 %o7 across the call.
34882 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34883 instead.
34884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34885 SETUP_PIC_REG_LEAF.
34886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34887 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34888 * sysdeps/sparc/crtn.S: Likewise.
34889
34890 2012-02-17 Ulrich Drepper <drepper@gmail.com>
34891
34892 * aout/Makefile: Remove.
34893
34894 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34895
34896 [BZ #13058]
34897 * manual/examples/argp-ex1.c (main): Format definition in GNU
34898 style.
34899 * manual/examples/argp-ex2.c (main): Likewise.
34900 * manual/examples/argp-ex3.c (main): Likewise.
34901 * manual/examples/argp-ex4.c (main): Likewise.
34902 * manual/examples/longopt.c (main): Use new-style prototype
34903 definition.
34904 * manual/examples/strncat.c (main): Specify return type and use
34905 (void) for arguments.
34906 * manual/examples/subopt.c (main): Use char **argv argument.
34907
34908 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34909
34910 [BZ #5077]
34911 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34912 rounding modes.
34913
34914 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34915
34916 [BZ #6907]
34917 * manual/string.texi (strchr): Change when strchrnul is
34918 recommended.
34919
34920 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34921
34922 [BZ #174]
34923 * manual/locale.texi (setlocale): Document LOCPATH.
34924
34925 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34926
34927 [BZ #10210]
34928 * manual/process.texi (execle): Move @dots{} before last argument.
34929
34930 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
34931
34932 [BZ #12047]
34933 * manual/charset.texi (Generic Charset Conversion): Fix typo
34934 (LC_TYPE -> LC_CTYPE).
34935
34936 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34937
34938 [BZ #5805]
34939 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34940 (scalbnf): Likewise.
34941 (scalbnl): Likewise.
34942 (scalbln): Likewise.
34943 (scalblnf): Likewise.
34944 (scalblnl): Likewise.
34945 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34946 (vwarnx): Likewise.
34947 (verr): Likewise.
34948 (verrx): Likewise.
34949 * manual/filesys.texi (telldir): Use braces around return type.
34950 * manual/llio.texi (mmap): Add space after comma.
34951 (mmap64): Likewise.
34952 * manual/math.texi (jn): Use @var{} on parameter names.
34953 (jnf): Likewise.
34954 (jnl): Likewise.
34955 (yn): Likewise.
34956 (ynf): Likewise.
34957 (ynl): Likewise.
34958 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34959 line.
34960 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34961 "...".
34962 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34963 (sched_get_priority_max): Likewise.
34964 * manual/signal.texi (sigvec): Add space after comma.
34965 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34966 names.
34967 (if_indextoname): Likewise.
34968 (if_freenameindex): Likewise.
34969 (sendto): Use ',' instead of '.' in prototype.
34970 * manual/startup.texi (syscall): Use @dots{} instead of literal
34971 "...".
34972 * manual/stdio.texi (__fpending): Separate initial words of
34973 paragraph from @deftypefun line.
34974 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34975 "...".
34976 (vsyslog): Use @var{} on parameter names.
34977 * manual/terminal.texi (stty): Use @var{} on parameter names.
34978 * manual/users.texi (getutmp): Use @var{} on parameter names.
34979 (getutmpx): Likewise.
34980
34981 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34982
34983 [BZ #6884]
34984 * manual/stdio.texi (fopen): Fix typos in description of
34985 ",ccs=STRING".
34986
34987 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34988
34989 [BZ #4026]
34990 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34991 get clock_id definition.
34992
34993 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
34994
34995 [BZ #4822]
34996 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34997 (madvise): Cast every argument to void on its own.
34998
34999 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35000
35001 [BZ #9902]
35002 * manual/startup.texi (Exit Status): Fix typo.
35003
35004 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35005
35006 [BZ #10140]
35007 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35008 * manual/examples/argp-ex2.c: Likewise.
35009 * manual/examples/argp-ex3.c: Likewise.
35010
35011 2012-02-16 Richard Henderson <rth@redhat.com>
35012
35013 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35014 * sysdeps/s390/s390-32/initfini.c: Remove.
35015 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35016 * sysdeps/s390/s390-64/initfini.c: Remove.
35017
35018 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35019
35020 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35021 compiler output for sysdeps/generic/initfini.c.
35022 * sysdeps/sh/elf/initfini.c: Remove file.
35023
35024 2012-02-16 David S. Miller <davem@davemloft.net>
35025
35026 [BZ #11494]
35027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35028
35029 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35030 * sysdeps/sparc/crti.S: New file.
35031 * sysdeps/sparc/crtn.S: New file.
35032 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35033 * sysdeps/sparc/sparc64/Makefile: Likewise.
35034
35035 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35036
35037 [BZ #3335]
35038 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35039
35040 2012-02-15 Roland McGrath <roland@hack.frob.com>
35041
35042 [BZ #4822]
35043 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35044
35045 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35046 (write, read, close): Likewise.
35047 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35048
35049 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35050
35051 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35052 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35053 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35054 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35055 <bits/signalfd.h>.
35056 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35058 bits/signalfd.h.
35059
35060 2012-02-14 Marek Polacek <polacek@redhat.com>
35061
35062 * sysdeps/x86_64/crti.S: New file.
35063 * sysdeps/x86_64/crtn.S: New file.
35064 * sysdeps/x86_64/elf/initfini.c: Remove file.
35065
35066 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35067
35068 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35069 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35070 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35071 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35072 <bits/inotify.h>.
35073 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35075 bits/inotify.h.
35076
35077 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35078
35079 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35080 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35081 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35082 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35083 <bits/eventfd.h>.
35084 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35085 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35086 bits/eventfd.h.
35087
35088 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35089
35090 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35091 __feraiseexcept instead of feraiseexcept.
35092
35093 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35094 nanosleep invocations.
35095 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35096 strings, and add error checking for a nanosleep invocations.
35097
35098 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35099
35100 Replace FSF snail mail address with URLs, as per GNU coding standards.
35101 Most of the snail mail addresses were wrong anyway, and omitting
35102 them makes the source code easier to maintain. Almost all of the
35103 changes are to license notices and to locale LC_IDENTIFICATION
35104 addresses, except for this one:
35105 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35106 not its snail mail address.
35107
35108 2012-02-09 Richard Henderson <rth@twiddle.net>
35109
35110 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35111 of kernel-features.h.
35112
35113 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35114
35115 2012-02-08 Marek Polacek <polacek@redhat.com>
35116
35117 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35118 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35119 * sysdeps/gnu/_G_config.h: Likewise.
35120 * sysdeps/generic/_G_config.h: Likewise.
35121
35122 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35123
35124 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35125 tests.
35126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35127
35128 * sysdeps/powerpc/powerpc32/crti.S: New file.
35129 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35130 * sysdeps/powerpc/powerpc64/crti.S: New file.
35131 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35132
35133 * Makeconfig (have-initfini): Don't set.
35134 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35135 * configure.in (nopic_initfini): Don't substitute.
35136 * config.h.in (HAVE_INITFINI): Don't #undef.
35137 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35138 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35139
35140 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35141
35142 Support crti.S and crtn.S provided directly by architectures.
35143 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35144 [crti.S in sysdirs] (omit-deps): Likewise.
35145 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35146 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35147 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35148 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35149 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35150 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35151 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35152 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35153 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35154 compiler output for sysdeps/generic/initfini.c.
35155 * sysdeps/i386/elf/Makefile: Remove file.
35156 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35157
35158 2012-02-07 Marek Polacek <polacek@redhat.com>
35159
35160 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35161 * sysdeps/gnu/_G_config.h: Likewise.
35162 * sysdeps/mach/hurd/_G_config.h: Likewise.
35163
35164 2012-02-07 Marek Polacek <polacek@redhat.com>
35165
35166 * math/Makefile (tests): Add tst-CMPLX2.
35167 * math/tst-CMPLX2.c: New file.
35168
35169 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35170
35171 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35172
35173 * math/libm-test.inc (jn_test): Add missing L suffix.
35174
35175 2012-02-06 Marek Polacek <polacek@redhat.com>
35176
35177 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35178 * sysdeps/i386/fpu/e_powf.S: Likewise.
35179 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35180 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35181 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35182 * sysdeps/i386/fpu/e_pow.S: Likewise.
35183 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35184 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35185 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35186 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35187 * sysdeps/i386/fpu/e_log2.S: Likewise.
35188 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35189 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35190 * sysdeps/i386/fpu/e_powl.S: Likewise.
35191 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35192 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35193 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35194 * sysdeps/i386/fpu/e_logl.S: Likewise.
35195 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35196 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35197 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35198 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35199 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35200 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35201 * sysdeps/i386/fpu/e_log.S: Likewise.
35202 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35203 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35204 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35205 * sysdeps/i386/fpu/e_logf.S: Likewise.
35206 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35207 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35208 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35209 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35210 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35211 * sysdeps/i386/fpu/e_log10.S: Likewise.
35212 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35213 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35214 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35215 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35216 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35217 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35218 * sysdeps/i386/asm-syntax.h: Likewise.
35219 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35220 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35221 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35222 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35223 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35224 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35225 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35226 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35227 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35228 * sysdeps/powerpc/sysdep.h: Likewise.
35229 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35230 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35231
35232 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35233
35234 [BZ #411]
35235 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35236
35237 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35238
35239 * sysdeps/i386/sysdep.h: Include <features.h>.
35240 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35241 version.
35242
35243 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35244
35245 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35246 Define.
35247 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35248 LOAD_PIC_REG_STR.
35249
35250 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35251
35252 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35253 (SETUP_PIC_REG): Use GET_PC_THUNK.
35254 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35255 macro.
35256
35257 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35258
35259 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35260 for non-PIC compilation.
35261 (SETUP_PIC_REG): Add .p2align directive.
35262 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35263 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35264 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35265 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35266 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35267 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35268 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35269 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35270 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35271 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35272 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35273 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35274 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35275 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35276 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35277 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35278 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35279 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35280 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35281 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35282 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35283 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35284 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35285 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35286 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35287 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35288 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35289 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35290 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35291 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35292 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35293 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35294 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35295 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35296 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35297 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35298 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35299 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35300 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35301 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35302 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35303
35304 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35305
35306 * math/tst-CMPLX.c: Include <stdio.h>.
35307
35308 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35309
35310 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35311 float.
35312 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35313 * sysdeps/sparc/bits/mathdef.h: Likewise.
35314
35315 2012-01-31 Marek Polacek <polacek@redhat.com>
35316
35317 * libio/libio.h: Don't define _PARAMS.
35318 * locale/programs/config.h: Don't define PARAMS.
35319 * stdlib/strtol_l.c: Likewise.
35320 (__strtol_l): Remove PARAMS from the prototype.
35321
35322 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35323
35324 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35325 names. Just use the correct names. Remove unnecessary wrapper
35326 functions.
35327 * malloc/arena.c: Likewise.
35328 * malloc/hooks.c: Likewise.
35329
35330 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35331 ARENA_TEST says not to. Simplify test for creation of a new arena.
35332 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35333
35334 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35335
35336 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35337 into tail calls.
35338 (update_get_addr): New function.
35339 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35340 GET_ADDR_MODULE parameter.
35341
35342 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35343
35344 * crypt/cert.c: Remove __STDC__ conditionals.
35345 * crypt/crypt-entry.c: Likewise.
35346 * crypt/crypt_util.c: Likewise.
35347 * libio/filedoalloc.c: Likewise.
35348 * libio/fileops.c: Likewise.
35349 * libio/genops.c: Likewise.
35350 * libio/iofclose.c: Likewise.
35351 * libio/iofdopen.c: Likewise.
35352 * libio/iofopen.c: Likewise.
35353 * libio/iofopen64.c: Likewise.
35354 * libio/iogetdelim.c: Likewise.
35355 * libio/iopopen.c: Likewise.
35356 * libio/obprintf.c: Likewise.
35357 * libio/oldfileops.c: Likewise.
35358 * libio/oldiofclose.c: Likewise.
35359 * libio/oldiofdopen.c: Likewise.
35360 * libio/oldiofopen.c: Likewise.
35361 * libio/oldiopopen.c: Likewise.
35362 * libio/wfiledoalloc.c: Likewise.
35363 * libio/wgenops.c: Likewise.
35364 * locale/programs/xmalloc.c: Likewise.
35365 * misc/syslog.c: Likewise.
35366 * stdio-common/xbug.c: Likewise.
35367 * string/memchr.c: Likewise.
35368 * string/memcmp.c: Likewise.
35369 * string/memrchr.c: Likewise.
35370 * string/rawmemchr.c: Likewise.
35371 * sysdeps/posix/getcwd.c: Likewise.
35372 * time/strftime_l.c: Likewise.
35373
35374 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35375
35376 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35377 * config.make.in (config-cflags-sse2avx): Define.
35378 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35379 Fix typo.
35380
35381 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35382
35383 * scripts/config.guess: Update from upstream config git repository.
35384 * scripts/config.sub: Likewise.
35385
35386 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35387
35388 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35389 (EM_NUM): Update.
35390 (R_TILEPRO_*, R_TILEGX_*): New macros.
35391
35392 * scripts/firstversions.awk: Fix bug in version range handling.
35393
35394 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35395
35396 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35397
35398 * include/sys/epoll.h: New file.
35399 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35400 libc_hidden_def.
35401
35402 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35403
35404 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35405 Avoid unnecessary __WORDSIZE == 64 test.
35406 (fmaxf): Use VEX format if possible.
35407 (fmax): Likewise.
35408 (fminf): Likewise.
35409 (fmin): Likewise.
35410
35411 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35412 * math/math_private.h: Remove libc_fegetround* and
35413 libc_fesetround*.
35414 * sysdeps/i386/configure.in: Check for -msse2avx.
35415 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35416 also if SSE2AVX is defined.
35417 Remove libc_fegetround* and libc_fesetround*.
35418 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35419 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35420 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35421 of HAS_YMM_USABLE.
35422 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35423 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35424 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35425 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35426 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35427
35428 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35429
35430 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35431
35432 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35433 size is not set.
35434 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35435
35436 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35437
35438 [BZ #13618]
35439 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35440 relocation.
35441 * Makeconfig (libm): Define.
35442 * elf/Makefile: Add rules to build and run tst-relsort1.
35443 * elf/tst-relsort1.c: New file.
35444 * elf/tst-relsort1mod1.c: New file.
35445 * elf/tst-relsort1mod2.c: New file.
35446
35447 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35448
35449 * math/s_ldexp.c: Remove __STDC__ conditionals.
35450 * math/s_ldexpf.c: Likewise.
35451 * math/s_ldexpl.c: Likewise.
35452 * math/s_nextafter.c: Likewise.
35453 * math/s_nexttowardf.c: Likewise.
35454 * math/s_significand.c: Likewise.
35455 * math/s_significandf.c: Likewise.
35456 * math/s_significandl.c: Likewise.
35457 * math/w_jnl.c: Likewise.
35458 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35459 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35460 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35461 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35462 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35463 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35464 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35465 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35466 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35467 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35468 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35469 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35470 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35471 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35472 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35473 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35474 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35475 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35476 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35477 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35478 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35479 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35480 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35481 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35482 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35483 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35484 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35485 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35486 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35487 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35488 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35489 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35490 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35491 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35492 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35493 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35494 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35495 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35496 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35497 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35498 * sysdeps/ieee754/k_standard.c: Likewise.
35499 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35500 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35501 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35502 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35503 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35504 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35505 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35506 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35507 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35508 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35509 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35510 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35511 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35512 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35513 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35514 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35515 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35516 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35518 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35521 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35522 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35523 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35524 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35525 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35526 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35527 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35528 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35529 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35530 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35531 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35532 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35533 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35534 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35535 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35536 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35537 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35538 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35539 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35541 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35542 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35543 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35544 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35545 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35546 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35547 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35548 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35549 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35550 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35551 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35552 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35553 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35554 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35555 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35556 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35557 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35558 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35559 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35560 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35561 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35562 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35563 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35564 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35565 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35566 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35567 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35568 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35569 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35570 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35571 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35572 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35573 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35574 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35575 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35576 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35577 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35578 * sysdeps/ieee754/s_matherr.c: Likewise.
35579 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35580 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35582 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35583
35584 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35585
35586 * crypt/md5.h: Remove __STDC__ conditionals.
35587 * libio/libioP.h: Likewise.
35588 * locale/programs/config.h: Likewise.
35589 * sysdeps/generic/sysdep.h: Likewise.
35590 * sysdeps/i386/asm-syntax.h: Likewise.
35591 * sysdeps/s390/asm-syntax.h: Likewise.
35592 * sysdeps/unix/sysdep.h: Likewise.
35593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35595
35596 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35597
35598 * libio/libio.h: Remove __STDC__ conditionals.
35599 * malloc/obstack.h: Likewise.
35600 * math/complex.h: Likewise.
35601 * math/math.h: Likewise.
35602 * sysdeps/generic/_G_config.h: Likewise.
35603 * sysdeps/gnu/_G_config.h: Likewise.
35604 * sysdeps/mach/hurd/_G_config.h: Likewise.
35605 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35606 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35607 * sysdeps/sparc/bits/mathdef.h: Likewise.
35608
35609 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35610
35611 [BZ #13583]
35612 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35613 Clean up HAS_* macros.
35614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35615 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35616 possible.
35617 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35618 HAS_AVX.
35619 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35620 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35621 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35623 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35624
35625 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35626
35627 * elf/tst-unique3.cc (gets): Remove declaration.
35628 * elf/tst-unique3lib.cc (gets): Likewise.
35629 * elf/tst-unique3lib2.cc (gets): Likewise.
35630 * elf/tst-unique4.cc (gets): Likewise.
35631
35632 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35633
35634 * include/stdio.h: Add C++ protection. Add gets declarations and
35635 definitions.
35636 * debug/tst-chk1.c: Don't declare gets here.
35637 * stdio-common/tst-gets.c: Likewise.
35638
35639 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35640
35641 * posix/glob: Remove directory.
35642
35643 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35644
35645 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35646
35647 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35648
35649 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35650 of the non-standard EPFNOSUPPORT.
35651
35652 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35653
35654 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35655 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35656 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35657
35658 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35659
35660 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35661
35662 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35663
35664 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35665 transient errors.
35666 * nscd/grpcache.c (cache_addgr): Likewise.
35667 * nscd/hstcache.c (cache_addhst): Likewise.
35668 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35669 * nscd/pwdcache.c (cache_addpw): Likewise.
35670 * nscd/servicescache.c (cache_addserv): Likewise.
35671
35672 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35673
35674 * malloc/malloc.c: Various cleanups.
35675 * malloc/hooks.c: Likewise.
35676
35677 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35678 * stdlib/bug-fmtmsg1.c: New file.
35679
35680 * stdlib/fmtmsg.c (init): Add missing unlock.
35681 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35682
35683 2012-01-12 Marek Polacek <polacek@redhat.com>
35684
35685 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35686 and _GNU_SOURCE.
35687
35688 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35689
35690 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35691 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35692 macro to ensure uniqueness of label name.
35693 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35694 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35695
35696 2012-01-11 Ulrich Drepper <drepper@gmail.com>
35697
35698 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35699
35700 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35701 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35702 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35703 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35704
35705 2012-01-10 Ulrich Drepper <drepper@gmail.com>
35706
35707 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35708
35709 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35710 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35711 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35712
35713 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35714
35715 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35716 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35717 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35718 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35719
35720 * math/bits/math-finite.h: Add ldexp support.
35721
35722 2012-01-10 Marek Polacek <polacek@redhat.com>
35723
35724 * locale/programs/localedef.h (show_archive_content): Add noreturn
35725 attribute.
35726
35727 2012-01-09 Ulrich Drepper <drepper@gmail.com>
35728
35729 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35730
35731 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35732
35733 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35734
35735 * io/Makefile (headers): Add bits/poll2.h.
35736
35737 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35738
35739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35740 typo #include statement.
35741
35742 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35743
35744 * include/sys/cdefs.h: Define __attribute_alloc_size.
35745 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35746 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35747 * elf/pldd.c: Likewise.
35748 * iconv/iconv_charmap.c: Likewise.
35749 * iconv/iconvconfig.c: Likewise.
35750 * iconv/strtab.c: Likewise.
35751 * locale/programs/locale.c: Likewise.
35752 * locale/programs/localedef.h: Likewise.
35753 * locale/programs/simple-hash.c: Likewise.
35754 * nscd/nscd.h: Likewise.
35755 * nss/makedb.c: Likewise.
35756 * sysdeps/generic/ldconfig.h: Likewise.
35757 * locale/programs/localedef.c: Remove xmalloc prototype.
35758 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35759
35760 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35761
35762 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35763 appropriate.
35764
35765 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35766
35767 * math/Makefile (tests): Add tst-CMPLX.
35768 * math/tst-CMPLX.c: New file.
35769
35770 * math/complex.h (CMPLXL): Fix typo.
35771
35772 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35773 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35774 GLIBC_2.16.
35775 * debug/tst-chk1.c: Add poll and ppoll tests.
35776 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35777 * include/sys/poll.h: Add hidden proto for ppoll.
35778 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35779 * sysdeps/mach/hurd/ppoll.c: Likewise.
35780 * io/ppoll.c: Likewise.
35781 * debug/poll_chk.c: New file.
35782 * debug/ppoll_chk.c: New file.
35783 * include/bits/poll2.h: New file.
35784 * io/bits/poll2.h: New file.
35785
35786 [BZ #1350]
35787 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35788
35789 * configure.in: static is always set to yes. Remove.
35790 * config.make.in: Don't set build-static.
35791 * Makeconfig: Remove use of build-static.
35792 * dlfcn/Makefile: Likewise.
35793 * elf/Makefile: Likewise.
35794 * math/Makefile: Likewise.
35795 * misc/Makefile: Likewise.
35796 * nptl/Makefile: Likewise.
35797 * sysdeps/mach/hurd/Makefile: Likewise.
35798
35799 * configure.in: PWD_P is not used anymore.
35800 * config.make.in: Remove PWD_P entry.
35801
35802 * configure.in: Remove last remnants of RANLIB.
35803 No need to check for signed size_t anymore.
35804 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35805 and IA-64.
35806 Remove __builtin_expect test because we require at least gcc 3.4.
35807 * aclocal.m4: Likewise.
35808
35809 * wcsmbs/mbrtoc16.c: Implement using towc function.
35810 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35811 * wcsmbs/wcsmbsload.c: Likewise.
35812 * iconv/gconv_simple.c: Likewise.
35813 * iconv/gconv_int.h: Likewise.
35814 * iconv/gconv_builtin.h: Likewise.
35815 * iconv/iconv_prog.c: Remove CHAR16 handling.
35816
35817 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35818
35819 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35820
35821 * configure.in: Remove --with-elf and --enable-bounded options.
35822 Dont set base_machine for ia64. More non-ELF conditions removed.
35823 Remove testing and setting of leading underscore information.
35824 * config.make.in (build-bounded): Set to no.
35825 * config.h.in: Remove NO_UNDERSCORES entry.
35826 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35827 them.
35828 * csu/start.c: Remove !NO_UNDERSCORE code.
35829 * locale/localeinfo.h: Likewise.
35830 * sysdeps/generic/machine-gmon.h: Likewise.
35831 * sysdeps/generic/sysdep.h: Likewise.
35832 * sysdeps/i386/sysdep.h: Likewise.
35833 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35834 * sysdeps/mach/sysdep.h: Likewise.
35835 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35836 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35837 * sysdeps/sh/sysdep.h: Likewise.
35838 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35839 * sysdeps/unix/i386/sysdep.S: Likewise.
35840 * sysdeps/unix/sparc/start.c: Likewise.
35841 * sysdeps/unix/sparc/sysdep.S: Likewise.
35842 * sysdeps/unix/sparc/sysdep.h: Likewise.
35843 * sysdeps/unix/start.c: Likewise.
35844 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35845 * sysdeps/x86_64/sysdep.h: Likewise.
35846
35847 2012-01-07 Ulrich Drepper <drepper@gmail.com>
35848
35849 [BZ #13553]
35850 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35851 for non-gcc.
35852 * argp/argp-fmtstream.h: Use const instead __const.
35853 * argp/argp.h: Likewise.
35854 * assert/assert.h: Likewise.
35855 * bits/fenv.h: Likewise.
35856 * bits/sched.h: Likewise.
35857 * bits/sigset.h: Likewise.
35858 * bits/sigthread.h: Likewise.
35859 * catgets/nl_types.h: Likewise.
35860 * conform/data/pthread.h-data: Likewise.
35861 * crypt/crypt-private.h: Likewise.
35862 * crypt/crypt.h: Likewise.
35863 * crypt/crypt_util.c: Likewise.
35864 * ctype/ctype.h: Likewise.
35865 * debug/execinfo.h: Likewise.
35866 * debug/mbsnrtowcs_chk.c: Likewise.
35867 * debug/mbsrtowcs_chk.c: Likewise.
35868 * debug/wcsnrtombs_chk.c: Likewise.
35869 * debug/wcsrtombs_chk.c: Likewise.
35870 * debug/wcstombs_chk.c: Likewise.
35871 * dirent/dirent.h: Likewise.
35872 * dlfcn/dlfcn.h: Likewise.
35873 * elf/neededtest4.c: Likewise.
35874 * grp/grp.h: Likewise.
35875 * gshadow/gshadow.h: Likewise.
35876 * iconv/gconv.h: Likewise.
35877 * iconv/gconv_int.h: Likewise.
35878 * iconv/gconv_simple.c: Likewise.
35879 * iconv/iconv.h: Likewise.
35880 * iconv/loop.c: Likewise.
35881 * iconv/skeleton.c: Likewise.
35882 * include/aio.h: Likewise.
35883 * include/aliases.h: Likewise.
35884 * include/argz.h: Likewise.
35885 * include/arpa/inet.h: Likewise.
35886 * include/assert.h: Likewise.
35887 * include/dirent.h: Likewise.
35888 * include/dlfcn.h: Likewise.
35889 * include/execinfo.h: Likewise.
35890 * include/fcntl.h: Likewise.
35891 * include/fenv.h: Likewise.
35892 * include/glob.h: Likewise.
35893 * include/grp.h: Likewise.
35894 * include/libintl.h: Likewise.
35895 * include/mntent.h: Likewise.
35896 * include/netdb.h: Likewise.
35897 * include/pwd.h: Likewise.
35898 * include/rpc/netdb.h: Likewise.
35899 * include/sched.h: Likewise.
35900 * include/search.h: Likewise.
35901 * include/shadow.h: Likewise.
35902 * include/signal.h: Likewise.
35903 * include/stdio.h: Likewise.
35904 * include/stdlib.h: Likewise.
35905 * include/string.h: Likewise.
35906 * include/sys/socket.h: Likewise.
35907 * include/sys/stat.h: Likewise.
35908 * include/sys/statfs.h: Likewise.
35909 * include/sys/statvfs.h: Likewise.
35910 * include/sys/syslog.h: Likewise.
35911 * include/sys/time.h: Likewise.
35912 * include/sys/uio.h: Likewise.
35913 * include/time.h: Likewise.
35914 * include/unistd.h: Likewise.
35915 * include/utmp.h: Likewise.
35916 * include/wchar.h: Likewise.
35917 * include/wctype.h: Likewise.
35918 * inet/aliases.h: Likewise.
35919 * inet/arpa/inet.h: Likewise.
35920 * inet/netinet/ether.h: Likewise.
35921 * inet/netinet/in.h: Likewise.
35922 * intl/libintl.h: Likewise.
35923 * io/bits/fcntl2.h: Likewise.
35924 * io/fcntl.h: Likewise.
35925 * io/ftw.h: Likewise.
35926 * io/sys/poll.h: Likewise.
35927 * io/sys/stat.h: Likewise.
35928 * io/sys/statfs.h: Likewise.
35929 * io/sys/statvfs.h: Likewise.
35930 * io/utime.h: Likewise.
35931 * libio/bits/stdio.h: Likewise.
35932 * libio/bits/stdio2.h: Likewise.
35933 * libio/libio.h: Likewise.
35934 * libio/libioP.h: Likewise.
35935 * libio/stdio.h: Likewise.
35936 * locale/lc-ctype.c: Likewise.
35937 * locale/locale.h: Likewise.
35938 * login/utmp.h: Likewise.
35939 * malloc/arena.c: Likewise.
35940 * malloc/malloc.c: Likewise.
35941 * malloc/malloc.h: Likewise.
35942 * malloc/mcheck.c: Likewise.
35943 * malloc/mtrace.c: Likewise.
35944 * math/bits/mathcalls.h: Likewise.
35945 * math/fenv.h: Likewise.
35946 * math/math_private.h: Likewise.
35947 * misc/bits/error.h: Likewise.
35948 * misc/bits/syslog.h: Likewise.
35949 * misc/err.h: Likewise.
35950 * misc/error.h: Likewise.
35951 * misc/fstab.h: Likewise.
35952 * misc/mntent.h: Likewise.
35953 * misc/regexp.h: Likewise.
35954 * misc/search.h: Likewise.
35955 * misc/sgtty.h: Likewise.
35956 * misc/sys/mman.h: Likewise.
35957 * misc/sys/syslog.h: Likewise.
35958 * misc/sys/uio.h: Likewise.
35959 * misc/sys/xattr.h: Likewise.
35960 * misc/ttyent.h: Likewise.
35961 * nis/rpcsvc/ypclnt.h: Likewise.
35962 * nss/nss.h: Likewise.
35963 * posix/bits/unistd.h: Likewise.
35964 * posix/fnmatch.h: Likewise.
35965 * posix/glob.h: Likewise.
35966 * posix/sched.h: Likewise.
35967 * posix/spawn.h: Likewise.
35968 * posix/sys/wait.h: Likewise.
35969 * posix/unistd.h: Likewise.
35970 * posix/wordexp.h: Likewise.
35971 * pwd/pwd.h: Likewise.
35972 * resolv/netdb.h: Likewise.
35973 * resource/sys/resource.h: Likewise.
35974 * rt/aio.h: Likewise.
35975 * rt/bits/mqueue2.h: Likewise.
35976 * rt/mqueue.h: Likewise.
35977 * shadow/shadow.h: Likewise.
35978 * signal/signal.h: Likewise.
35979 * socket/send.c: Likewise.
35980 * socket/sendto.c: Likewise.
35981 * socket/sys/socket.h: Likewise.
35982 * stdio-common/printf.h: Likewise.
35983 * stdlib/bits/stdlib.h: Likewise.
35984 * stdlib/fmtmsg.h: Likewise.
35985 * stdlib/monetary.h: Likewise.
35986 * stdlib/stdlib.h: Likewise.
35987 * stdlib/ucontext.h: Likewise.
35988 * streams/stropts.h: Likewise.
35989 * string/argz.h: Likewise.
35990 * string/bits/string2.h: Likewise.
35991 * string/string.h: Likewise.
35992 * string/strings.h: Likewise.
35993 * sunrpc/rpc/auth.h: Likewise.
35994 * sunrpc/rpc/auth_des.h: Likewise.
35995 * sunrpc/rpc/clnt.h: Likewise.
35996 * sunrpc/rpc/netdb.h: Likewise.
35997 * sunrpc/rpc/pmap_clnt.h: Likewise.
35998 * sunrpc/rpc/xdr.h: Likewise.
35999 * sysdeps/generic/inttypes.h: Likewise.
36000 * sysdeps/generic/net/if.h: Likewise.
36001 * sysdeps/generic/sys/swap.h: Likewise.
36002 * sysdeps/gnu/net/if.h: Likewise.
36003 * sysdeps/gnu/utmpx.h: Likewise.
36004 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36005 * sysdeps/i386/i486/bits/string.h: Likewise.
36006 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36007 * sysdeps/s390/bits/string.h: Likewise.
36008 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36009 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36010 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36011 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36012 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36013 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36014 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36015 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36016 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36017 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36018 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36019 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36020 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36021 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36022 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36023 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36024 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36026 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36027 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36028 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36029 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36030 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36031 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36032 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36033 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36034 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36035 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36036 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36037 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36038 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36039 * sysvipc/sys/ipc.h: Likewise.
36040 * sysvipc/sys/msg.h: Likewise.
36041 * sysvipc/sys/sem.h: Likewise.
36042 * sysvipc/sys/shm.h: Likewise.
36043 * termios/termios.h: Likewise.
36044 * time/sys/time.h: Likewise.
36045 * time/time.h: Likewise.
36046 * wcsmbs/bits/wchar2.h: Likewise.
36047 * wcsmbs/uchar.h: Likewise.
36048 * wcsmbs/wchar.h: Likewise.
36049 * wctype/wctype.h: Likewise.
36050
36051 [BZ #13551]
36052 * Makeconfig: Remove all but ELF support including AIX support.
36053 * Makerules: Likewise.
36054 * config.h.in: Likewise.
36055 * config.make.in: Likewise.
36056 * configure: Likewise.
36057 * configure.in: Likewise.
36058 * csu/Makefile: Likewise.
36059 * csu/version.c: Likewise.
36060 * debug/Makefile: Likewise.
36061 * dlfcn/Makefile: Likewise.
36062 * elf/Makefile: Likewise.
36063 * extra-lib.mk: Likewise.
36064 * iconv/Makefile: Likewise.
36065 * include/libc-symbols.h: Likewise.
36066 * include/shlib-compat.h: Likewise.
36067 * resolv/Makefile: Likewise.
36068 * resolv/res_libc.c: Likewise.
36069 * rt/Makefile: Likewise.
36070 * sysdeps/i386/asm-syntax.h: Likewise.
36071 * sysdeps/i386/sysdep.h: Likewise.
36072 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36073 * sysdeps/mach/sysdep.h: Likewise.
36074 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36075 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36076 * sysdeps/s390/asm-syntax.h: Likewise.
36077 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36078 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36079 * sysdeps/sh/sysdep.h: Likewise.
36080 * sysdeps/unix/sparc/sysdep.h: Likewise.
36081 * sysdeps/wordsize-32/divdi3.c: Likewise.
36082 * sysdeps/x86_64/sysdep.h: Likewise.
36083
36084 * argp/Versions: Remove _argp_unlock_xxx.
36085
36086 [BZ #13559]
36087 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36088 * abilist/libBrokenLocale.abilist: Likewise.
36089 * abilist/libanl.abilist: Likewise.
36090 * abilist/libc.abilist: Likewise.
36091 * abilist/libcrypt.abilist: Likewise.
36092 * abilist/libdl.abilist: Likewise.
36093 * abilist/libm.abilist: Likewise.
36094 * abilist/libnsl.abilist: Likewise.
36095 * abilist/libpthread.abilist: Likewise.
36096 * abilist/libresolv.abilist: Likewise.
36097 * abilist/librt.abilist: Likewise.
36098 * abilist/libthread_db.abilist: Likewise.
36099 * abilist/libutil.abilist: Likewise.
36100 * abilist/libnss_db.abilist: New file.
36101
36102 * scripts/abilist.awk: Add support for indirect functions.
36103
36104 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36105
36106 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36107
36108 * shlib-versions: Remove entries for ports architectures.
36109
36110 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36111 files in ports.
36112 * elf/stackguard-macros.h: Remove support for IA-64.
36113 * elf/tst-auditmod1.c: Likewise.
36114 * sysdeps/generic/ldsodefs.h: Likewise.
36115
36116 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36117 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36118 configure files.
36119
36120 [BZ #13552]
36121 * configure.in: Remove --enable-omitfp support.
36122 * FAQ.in: Adjust.
36123 * config.make.in: Likewise.
36124 * Makeconfig: Likewise.
36125 * manual/install.texi: Likewise.
36126
36127 In case anyone cares, the IA-64 architecture could move to ports.
36128 * sysdeps/ia64/*: Removed.
36129 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36130 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36131
36132 [BZ #13555]
36133 * configure.in: Remove entries for unsupported architectures.
36134
36135 [BZ #13533]
36136 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36137 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36138 routines.
36139 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36140 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36141 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36142 fall back to using wcrtomb.
36143 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36144 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36145 renaming.
36146 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36147 * wcsmbs/tst-c16c32-1.c: New file.
36148
36149 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36150 local variable.
36151
36152 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36153
36154 * elf/tst-unique3.cc: Add explicit declaration of gets.
36155 * elf/tst-unique3lib.cc: Likewise.
36156 * elf/tst-unique3lib2.cc: Likewise.
36157 * elf/tst-unique4.cc: Likewise.
36158
36159 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36160
36161 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36162
36163 [BZ #13566]
36164 * assert/assert.h (static_assert): Don't define for C++.
36165 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36166 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36167
36168 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36169
36170 * iconv/loop.c (single loop): Fix assertion in storing of
36171 remaining bytes.
36172
36173 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36174
36175 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36176
36177 * posix/getconf.c: Update copyright year.
36178 * nss/getent.c: Likewise.
36179 * nss/makedb.c: Likewise.
36180 * iconv/iconvconfig.c: Likewise.
36181 * iconv/iconv_prog.c: Likewise.
36182 * elf/ldconfig.c: Likewise.
36183 * elf/pldd.c: Likewise.
36184 * elf/sotruss.ksh: Likewise.
36185 * catgets/gencat.c: Likewise.
36186 * csu/version.c: Likewise.
36187 * elf/ldd.bash.in: Likewise.
36188 * elf/sprof.c (print_version): Likewise.
36189 * locale/programs/locale.c: Likewise.
36190 * locale/programs/localedef.c: Likewise.
36191 * login/programs/pt_chown.c: Likewise.
36192 * nscd/nscd.c (print_version): Likewise.
36193 * debug/xtrace.sh: Likewise.
36194 * malloc/memusage.sh: Likewise.
36195 * malloc/mtrace.pl: Likewise.
36196 * debug/catchsegv.sh: Likewise.
36197
36198 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36199
36200 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36201 pure attribute.
36202
36203 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36204
36205 [BZ #13533]
36206 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36207 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36208 transformations.
36209 * iconv/gconv_int.h: Likewise.
36210 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36211 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36212 from libc for GLIBC_2.16.
36213 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36214 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36215 * wcsmbs/uchar.h: Really define mbstate_t.
36216 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36217 * wcsmbs/c16rtomb.c: New file.
36218 * wcsmbs/mbrtoc16.c: New file.
36219 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36220 for C/POSIX locale.
36221 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36222 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36223
36224 * wcsmbs/wchar.h: Add missing __restrict.
36225
36226 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36227
36228 [BZ #13532]
36229 * time/Makefile (routines): Add timespec_get.
36230 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36231 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36232 timespec for ISO C11.
36233 * time/timespec_get.c: New file.
36234 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36235 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36236
36237 [BZ #13531]
36238 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36239 * stdlib/stdlib.h: Declare aligned_alloc.
36240 * Versions.def: Add GLIBC_2.16 for libc.
36241 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36242
36243 [BZ 13527]
36244 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36245 ISO C11.
36246
36247 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36248 code.
36249
36250 [BZ #13528]
36251 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36252
36253 [BZ #13529]
36254 * assert/assert.h (static_assert): Define.
36255
36256 * version.h: Update for 2.16 development version.
36257
36258 [BZ #13526]
36259 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36260 _ISOC11_SOURCE.
36261
36262 * version.h (RELEASE): Bump for 2.15 release.
36263 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36264
36265 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36266 Patch by Marek Polacek <mpolacek@redhat.com>.
36267
36268 * bits/byteswap.h: Protect long long constants with __extension__.
36269 * sysdeps/i386/bits/byteswap.h: Likewise.
36270 * sysdeps/ia64/bits/byteswap.h: Likewise.
36271 * sysdeps/s390/bits/byteswap.h: Likewise.
36272 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36273
36274 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36275
36276 [BZ #13540]
36277 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36278 destination buffer.
36279 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36280
36281 2011-12-23 Marek Polacek <polacek@redhat.com>
36282
36283 * elf/dl-addr.c (determine_info): Add inline keyword.
36284 * elf/tst-auditmod4b.c (check_avx): Likewise.
36285 * elf/tst-auditmod6b.c (check_avx): Likewise.
36286 * elf/tst-auditmod6c.c (check_avx): Likewise.
36287 * elf/tst-auditmod7b.c (check_avx): Likewise.
36288
36289 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36290
36291 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36292 !__SSE_MATH__.
36293
36294 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36295
36296 [BZ #13540]
36297 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36298 processing for last bytes.
36299
36300 2011-08-06 Bruno Haible <bruno@clisp.org>
36301
36302 [BZ #13061]
36303 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36304 U+0385, not to U+1FEE.
36305
36306 [BZ #13062]
36307 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36308 entry for U+00A5 U+0301.
36309
36310 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36311
36312 [BZ #13166]
36313 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36314 buffer for the output is too small.
36315
36316 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36317 optimization.
36318
36319 [BZ #13185]
36320 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36321 SSE flags if possible.
36322
36323 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36324
36325 [BZ #13540]
36326 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36327 processing for last bytes.
36328
36329 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36330
36331 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36332 (syscall-list-default-options, syscall-list-default-condition)
36333 (syscall-list-includes): Define.
36334 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36335 list of ABIs and options and #if conditions for each ABI. Do not
36336 handle common syscalls between ABIs specially.
36337 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36338 Remove.
36339 (syscall-list-variants, syscall-list-32bit-options)
36340 (syscall-list-32bit-condition, syscall-list-64bit-options)
36341 (syscall-list-64bit-condition): Define.
36342 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36343 (syscall-list-variants, syscall-list-32bit-options)
36344 (syscall-list-32bit-condition, syscall-list-64bit-options)
36345 (syscall-list-64bit-condition): Define.
36346 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36347 Remove.
36348 (syscall-list-variants, syscall-list-32bit-options)
36349 (syscall-list-32bit-condition, syscall-list-64bit-options)
36350 (syscall-list-64bit-condition): Define.
36351 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36352 Remove.
36353 (syscall-list-variants, syscall-list-32bit-options)
36354 (syscall-list-32bit-condition, syscall-list-64bit-options)
36355 (syscall-list-64bit-condition): Define.
36356
36357 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36358
36359 * locale/iso-639.def: Add brx entry.
36360
36361 [BZ #13328]
36362 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36363 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36364
36365 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36366 __feraiseexcept_renamed.
36367
36368 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36369
36370 [BZ #13538]
36371 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36372 EPOLLET with unsigned values.
36373 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36374 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36375
36376 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36377 to large cancellation.
36378 * math/s_cacoshf.c: Likewise.
36379 * math/s_cacoshl.c: Likewise.
36380
36381 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36382
36383 [BZ #13305]
36384 [BZ #12786]
36385 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36386 * math/s_cacoshf.c: Likewise.
36387 * math/s_cacoshl.c: Likewise.
36388
36389 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36390
36391 [BZ #13439]
36392 * iconv/gconv.h: Define __GCONV_SWAP.
36393 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36394 * iconvdata/utf-16.c: Likewise.
36395 * iconvdata/utf-32.c: Likewise.
36396
36397 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36398
36399 [BZ #13524]
36400 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36401 numerator after shifting it by one limb.
36402
36403 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36404
36405 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36406 under [__USE_EXTERN_INLINES].
36407
36408 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36409
36410 [BZ #13446]
36411 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36412
36413 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36414
36415 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36416 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36417 optimized code.
36418 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36419 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36420 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36421 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36422 for strncasecmp/strncasecmp_l compilation.
36423 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36424 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36425
36426 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36427
36428 [BZ #13484]
36429 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36430 of __asm__.
36431
36432 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36433
36434 [BZ #13506]
36435 * time/tzfile.c (__tzfile_read): Check values from file header.
36436
36437 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36438
36439 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36440 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36441 * powerpc/powerpc32/dl-start.S: Likewise.
36442 * powerpc/powerpc32/elf/start.S: Likewise.
36443 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36444 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36445 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36446 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36447 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36448 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36449 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36450 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36451 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36452 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36453 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36454 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36455 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36456 * powerpc/powerpc32/memset.S: Likewise.
36457 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36458 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36459 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36460 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36461 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36462 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36463 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36464 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36465 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36466 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36467 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36468 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36469 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36470
36471 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36472
36473 * math/libm-test.inc: Added more nearbyint tests.
36474 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36475 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36476 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36477 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36478
36479 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36480
36481 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36482 FD_CLOEXEC.
36483
36484 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36485
36486 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36487 Add wcscpy-ssse3 wcscpy-c.
36488 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36489 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36490 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36491 * sysdeps/x86_64/wcschr.S: New file.
36492 * sysdeps/x86_64/wcsrchr.S: New file.
36493 * string/test-strcmp.c: Remove checking of wcscmp function for
36494 wrong alignments.
36495 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36496 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36497 wcsrchr-sse2 wcsrchr-c.
36498 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36499 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36500 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36501 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36502 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36503 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36504 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36505 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36506 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36507 * wcsmbc/wcschr.c (WCSCHR): New macro.
36508
36509 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36510
36511 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36512 * wcsmbs/test-wcsrchr.c: New file.
36513 * string/test-strrchr.c: Add wcsrchr support.
36514 (WIDE): New macro.
36515 * wcsmbs/test-wcscpy.c: New file.
36516 * string/test-strcpy.c: Add wcscpy support.
36517 (WIDE): New macro.
36518
36519 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36520
36521 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36522 the inner loop.
36523
36524 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36525
36526 [BZ #13472]
36527 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36528
36529 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36530
36531 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36532 Minor optimizations.
36533
36534 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36535 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36536 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36537
36538 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36539
36540 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36541 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36542 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36543 for gcc to avoid warnings.
36544 * inet/Makefile (tests): Add tst-checks.
36545 * inet/tst-checks.c: New file.
36546
36547 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36548 warning.
36549
36550 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36551 __wmemcmp_sse2.
36552
36553 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36554 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36555
36556 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36557
36558 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36559
36560 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36561 problem.
36562
36563 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36564
36565 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36566
36567 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36568 conditional on GCC version.
36569 (__arch_compare_and_exchange_val_8_acq)
36570 (__arch_compare_and_exchange_val_16_acq)
36571 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36572 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36573 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36574
36575 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36576
36577 * sysdeps/sh/backtrace.c: New file.
36578
36579 2011-12-02 Andreas Schwab <schwab@redhat.com>
36580
36581 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36582 parenthesis.
36583
36584 2011-12-01 Andreas Schwab <schwab@redhat.com>
36585
36586 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36587 falling back to utime.
36588
36589 2011-11-30 Andreas Schwab <schwab@redhat.com>
36590
36591 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36592 expectations for float.
36593
36594 2011-11-29 Andreas Schwab <schwab@redhat.com>
36595
36596 * locale/weight.h (findidx): Add parameter len.
36597 * locale/weightwc.h (findidx): Likewise.
36598 * posix/fnmatch_loop.c (FCT): Adjust caller.
36599 * posix/regcomp.c (build_equiv_class): Likewise.
36600 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36601 * posix/regexec.c (check_node_accept_bytes): Likewise.
36602 * string/strcoll_l.c (STRCOLL): Likewise.
36603 * string/strxfrm_l.c (STRXFRM): Likewise.
36604
36605 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36606
36607 * Makefile.in: Remove CVSOPT handling.
36608 * configure.in: Remove use of AC_REVISION.
36609 * iconvdata/Makefile (distribute): No need to filter out CVS.
36610 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36611 handling.
36612
36613 2011-11-16 Andreas Schwab <schwab@redhat.com>
36614
36615 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36616 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36617 [USE_AS_STRNCASECMP_L]: Likewise.
36618 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36619 NO_TLS_DIRECT_SEG_REFS.
36620 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36621 Fix argument offsets for non-PIC.
36622 [USE_AS_STRNCASECMP_L]: Likewise.
36623 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36624 NO_TLS_DIRECT_SEG_REFS.
36625
36626 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36627
36628 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36629 O_CLOEXEC.
36630 * locale/loadlocale.c (_nl_load_locale): Likewise.
36631
36632 2011-11-15 Andreas Schwab <schwab@redhat.com>
36633
36634 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36635 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36636 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36637 (SYSCALL_GETTIME): Set errno on error.
36638
36639 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36640 count references to noai6ai_cached.
36641
36642 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36643
36644 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36645
36646 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36647 FD_CLOEXEC for /proc/self/maps.
36648
36649 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36650 FD_CLOEXEC for /proc/meminfo.
36651
36652 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36653 gai.conf.
36654
36655 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36656 FD_CLOEXEC for given file.
36657
36658 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36659
36660 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36661 FD_CLOEXEC for /etc/hosts.
36662 (_gethtent): Likewise.
36663
36664 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36665
36666 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36667 cancellation and set FD_CLOEXEC for /etc/netgroup.
36668
36669 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36670 reading /etc/publickey.
36671
36672 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36673 allow cancellation when reading /etc/group.
36674
36675 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36676 cancellation.
36677 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36678
36679 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36680 when using data file.
36681
36682 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36683
36684 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36685 (write_nis_obj): Use "c" and "e" in fopen.
36686
36687 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36688
36689 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36690
36691 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36692
36693 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36694
36695 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36696 locale.alias.
36697
36698 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36699
36700 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36701
36702 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36703
36704 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36705 file parsing and set FD_CLOEXEC.
36706
36707 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36708
36709 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36710
36711 2011-11-14 Andreas Schwab <schwab@redhat.com>
36712
36713 * malloc/arena.c (arena_get2): Don't call reused_arena when
36714 _int_new_arena failed.
36715
36716 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36717
36718 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36719 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36720 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36721 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36722 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36723 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36724 to compile strcasecmp and strncasecmp.
36725 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36726 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36727
36728 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36729
36730 2011-11-13 Ulrich Drepper <drepper@gmail.com>
36731
36732 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36733 locale-defines.sym to gen-as-const-headers.
36734 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36735 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36736 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36737 to compile strcasecmp and strncasecmp.
36738 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36739 strcasecmp_l and strncasecmp_l.
36740 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36741 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36742 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36743 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36744 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36745 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36746 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36747 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36748 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36749 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36750 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36751
36752 2011-11-12 Ulrich Drepper <drepper@gmail.com>
36753
36754 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36755 result of SYSDEP_GETTIME_CPU to retval.
36756 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36757 parameter list to macro. Remove trailing semicolon. Adjust users.
36758
36759 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36760 variable.
36761
36762 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36763 mantissa words.
36764 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36765
36766 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36767 from unused variable.
36768
36769 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36770 DWARF definitions.
36771 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36772 for assembling.
36773
36774 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36775 over namespaces.
36776
36777 * sunrpc/rpc_prot.c (rejected): Fix case value.
36778
36779 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36780 unsigned long long int to avoid warnings in shift.
36781
36782 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36783 of use of trans.
36784 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36785 variable tmp.
36786
36787 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36788 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36789 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36790
36791 * nis/nis_table.c (nis_list): Use variable of correct type for
36792 result of __follow_path call.
36793
36794 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36795
36796 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36797 of math functions ceil, trunc, floor, round, and sqrt, when
36798 avaliable on the platform.
36799 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36800 name clash.
36801 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36802 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36803 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36804
36805 2011-10-30 Marek Polacek <mpolacek@redhat.com>
36806
36807 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36808 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36809
36810 2011-11-11 Roland McGrath <roland@hack.frob.com>
36811
36812 * include/unistd.h: Fix __readlink return type.
36813 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36814
36815 2011-11-11 Ulrich Drepper <drepper@gmail.com>
36816
36817 * stdlib/ucontext.h: Undo last change for makecontext.
36818
36819 2011-11-11 Andreas Schwab <schwab@redhat.com>
36820
36821 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36822
36823 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36824 * setjmp/setjmp.h: Mark functions as non-leaf.
36825 * setjmp/bits/setjmp2.h: Likewise.
36826 * stdlib/ucontext.h: Likewise.
36827
36828 2011-11-10 Andreas Schwab <schwab@redhat.com>
36829
36830 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36831 (reused_arena): Don't check arena limit.
36832 (arena_get2): Atomically check arena limit.
36833
36834 2011-11-08 Ulrich Drepper <drepper@gmail.com>
36835
36836 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36837 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36838
36839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36840 instructions.
36841
36842 2011-11-07 Andreas Schwab <schwab@redhat.com>
36843
36844 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36845 handler when locking.
36846
36847 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36848 Fix size of allocated buffer.
36849
36850 2011-11-04 Andreas Schwab <schwab@redhat.com>
36851
36852 [BZ #10103]
36853 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36854 declarations for long double functions.
36855 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36856
36857 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36858
36859 2011-11-03 Andreas Schwab <schwab@redhat.com>
36860
36861 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36862 installed.
36863
36864 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36865 is disabled.
36866
36867 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36868
36869 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36870
36871 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36872
36873 * include/alloca.h (stackinfo_alloca_round): Define.
36874 (extend_alloca): Use it.
36875 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36876 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36877 here.
36878
36879 * scripts/check-local-headers.sh: Ignore libaudit.h.
36880
36881 * nscd/Makefile (extra-objs): Make recursively expanded.
36882
36883 2011-11-01 Ulrich Drepper <drepper@gmail.com>
36884
36885 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36886 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36887
36888 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36889 * posix/tst-rfc3484-2.c: Likewise.
36890 * posix/tst-rfc3484-3.c: Likewise.
36891
36892 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36893 process_vm_writev.
36894 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36895 process_vm_writev.
36896 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36897 process_vm_writev from libc using GLIBC_2.15 version.
36898
36899 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36900
36901 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36902
36903 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36904 stack usage.
36905
36906 2011-10-31 Ulrich Drepper <drepper@gmail.com>
36907
36908 [BZ #13367]
36909 * nss/getent.c (initgroups_keys): Show error message in case no group
36910 names are given.
36911
36912 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36913 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36914 __bump_nl_timestamp.
36915 * nscd/connections (nscd_init): When host database is served open
36916 netlink socket and request notification about configuration changes.
36917 (main_loop_poll): Track netlink file descriptor and bump timestamp
36918 in case data becomes available.
36919 (main_loop_epoll): Likewise.
36920 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36921 (database_pers_head): Add extra_data fileds.
36922 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36923 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36924 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36925 Adjust caller.
36926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36927 in6ai data, call __free_in6ai.
36928 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36929 Add -DHAVE_NETLINK.
36930 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36931 interface information. Reuse previous data if netlink timestamp
36932 is not changed.
36933 (__bump_nl_timestamp): New function.
36934 (__free_in6ai): New function.
36935
36936 2011-10-30 Ulrich Drepper <drepper@gmail.com>
36937
36938 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36939 close_not_cancel_no_status here.
36940 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36941
36942 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36943
36944 [BZ #13276]
36945 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36946 return value.
36947
36948 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36949 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36950 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36951
36952 2011-07-03 Andreas Jaeger <aj@suse.de>
36953
36954 [BZ #10709]
36955 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36956 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36957 * math/libm-test.inc (sin_test): Add test case.
36958
36959 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36960
36961 [BZ #13337]
36962 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36963 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36964
36965 * elf/chroot_canon.c (chroot_canon): Cleanups.
36966
36967 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36968
36969 [BZ #13335]
36970 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36971 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36972
36973 * string/test-strchr.c: Make usable for strchrnul testing.
36974 * string/test-strchrnul.c: New file.
36975 * string/Makefile (strop-tests): Add strchrnul.
36976
36977 * po/it.po: Update from translation team.
36978 * po/es.po: Likewise.
36979
36980 2011-10-28 Ulrich Drepper <drepper@gmail.com>
36981
36982 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36983 the three constants needed as parameters. Drop the others.
36984 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36985 __m128i_strloadu_tolower.
36986 Create and initialize variable zero and use it in all the places
36987 where _mm_setzero_si128 was used.
36988
36989 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36990 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36991 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36992 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36993 anymore.
36994 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36995 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36996 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36997 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36998 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36999 __mpranred, __mptan.
37000 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37001 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37002 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37003 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37004 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37005 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37006 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37007 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37008 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37009
37010 2011-10-28 Andreas Schwab <schwab@redhat.com>
37011
37012 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37013 redefine if SHARED.
37014 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37015
37016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37017 wide char related routines to wcsmbs subdir.
37018
37019 2011-10-27 Andreas Schwab <schwab@redhat.com>
37020
37021 [BZ #13344]
37022 * misc/sys/cdefs.h (__THROWNL): Define.
37023 * posix/unistd.h: Use __THREADNL instead of __THREAD
37024 for memory synchronization functions.
37025
37026 2011-10-26 Roland McGrath <roland@hack.frob.com>
37027
37028 [BZ #13349]
37029 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37030 doesn't exist.
37031 * manual/stdio.texi (Obstack Streams): Node removed.
37032
37033 2011-10-26 Andreas Schwab <schwab@redhat.com>
37034
37035 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37036 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37037 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37038
37039 * math/math_private.h (math_force_eval): Allow non-addressable
37040 arguments.
37041 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37042
37043 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37044
37045 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37046 file is not needed.
37047
37048 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37049 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37050 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37051 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37052 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37053 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37054 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37055 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37056 Add AVX variants.
37057 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37058 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37059 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37060 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37061 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37062 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37063 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37064 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37065 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37066 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37067 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37068 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37069 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37070 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37071 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37072 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37073 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37074 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37075 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37076
37077 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37078 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37079
37080 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37081 place. Use VEX encoding when compiling for AVX.
37082
37083 2011-10-25 Andreas Schwab <schwab@redhat.com>
37084
37085 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37086 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37087
37088 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37089
37090 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37091
37092 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37093 useless if() expression.
37094 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37097 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37098 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37103 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37104 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37105 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37106 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37107 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37108 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37109 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37110 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37111 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37112 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37113
37114 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37115
37116 2011-10-25 Andreas Schwab <schwab@redhat.com>
37117
37118 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37119 condition.
37120 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37121
37122 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37123
37124 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37125 .text section. Avoid duplicate constants.
37126 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37136 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37138 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37141 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37143 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37149 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37150 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37151 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37152 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37153 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37154 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37155 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37156 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37157 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37158 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37159 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37160 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37161 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37162 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37163 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37164 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37165 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37166 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37167 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37168 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37169 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37170 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37171
37172 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37173
37174 * sysdeps/x86_64/dla.h: Move to ...
37175 * sysdeps/x86_64/fpu/dla.h: ...here.
37176 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37177 situations. Use __builtin_fma only for gcc 4.6 and up.
37178
37179 * config.make.in: Add have-mfma4 entry.
37180 * configure.in: Substitute libc_cv_cc_fma4.
37181 * math/Makefile (dbl-only-routines): Add sincostab.
37182 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37183 Use __sincostab not sincos.
37184 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37185 name is a macro.
37186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37187 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37190 using __copysign.
37191 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37192 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37193 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37194 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37195 and __inv.
37196 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37197 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37198 __copysign.
37199 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37200 define aliases when function name is a macro.
37201 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37202 sysdeps/ieee754/dbl-64/sincos.tbl.
37203 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37204 fma4-enabled routines.
37205 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37206 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37207 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37208 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37209 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37210 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37211 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37212 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37213 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37214 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37215 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37216 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37217 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37218 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37219 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37220 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37221 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37222 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37223 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37224 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37225 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37226 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37227 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37228 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37230 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37231 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37232 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37233 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37234 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37235
37236 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37237 rename.
37238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37239 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37240 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37241 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37244 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37245 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37246
37247 2011-10-24 Andreas Schwab <schwab@redhat.com>
37248
37249 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37250
37251 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37252
37253 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37254
37255 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37256 prediction.
37257 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37258
37259 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37260 Remove unused variable magic_bits.
37261 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37262
37263 * string/strnlen.c: Define and use STRNLEN macro.
37264 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37265 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37266 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37267 * wcsmbs/wcslen.c: Define and use WCSLEN.
37268 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37269 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37270 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37271 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37272 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37273 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37274 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37275
37276 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37277
37278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37279 strnlen-sse2-no-bsf.
37280 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37281 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37282 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37283 Add strnlen support.
37284 (USE_AS_STRNLEN): New macro.
37285 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37286 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37287 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37288 * sysdeps/x86_64/wcslen.S: New file.
37289
37290 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37291
37292 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37293 XMM-moves are used for copying on small sizes.
37294
37295 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37296
37297 * wcsmbs/Makefile (strop-tests): Add wcschr.
37298 * wcsmbs/test-wcschr.c: New file.
37299 * string/test-strchr.c: Update.
37300 Add wcschr support.
37301 (WIDE): New macro.
37302
37303 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37304
37305 * wcsmbs/Makefile (strop-tests): Add wcslen.
37306 * wcsmbs/test-wcslen.c: New file.
37307 * string/test-strlen.c: Update.
37308 Add wcslen support.
37309 (WIDE): New macro.
37310
37311 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37312
37313 * po/it.po: Update from translation team.
37314
37315 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37316
37317 * sysdeps/x86_64/wcscmp.S: Update.
37318 Fix wrong comparison semantics.
37319 wcscmp shall use signed comparison not unsigned.
37320 Don't use substraction to avoid overflow bug.
37321 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37322 * wcsmbc/wcscmp.c: Likewise.
37323 * string/test-strcmp.c: Likewise.
37324 Add new tests to check cases with negative values.
37325
37326 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37327
37328 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37329 * sysdeps/x86_64/dla.h: ...here. New file.
37330 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37331 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37335 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37339
37340 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37341
37342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37343 __ynl_finite aliases.
37344
37345 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37346
37347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37348
37349 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37350 define DLA_FMA.
37351 [DLA_FMA] (EMULV): Use DLA_FMA.
37352 [DLA_FMA] (MUL12): Use EMULV.
37353 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37354 that are not needed.
37355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37360 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37362
37363 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37364
37365 * math/s_nan.c: Undef __nan.
37366 * math/s_nanf.c: Undef __nanf.
37367 * math/s_nanl.c: Undef __nanl.
37368 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37369 "math_private.h".
37370
37371 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37372
37373 * math/s_catan.c: Add branch predictions.
37374 * math/s_catanf.c: Likewise.
37375 * math/s_catanh.c: Likewise.
37376 * math/s_catanhf.c: Likewise.
37377 * math/s_catanhl.c: Likewise.
37378 * math/s_catanl.c: Likewise.
37379 * math/s_cexp.c: Likewise.
37380 * math/s_cexpf.c: Likewise.
37381 * math/s_cexpl.c: Likewise.
37382 * math/s_clog.c: Likewise.
37383 * math/s_clog10.c: Likewise.
37384 * math/s_clog10f.c: Likewise.
37385 * math/s_clog10l.c: Likewise.
37386 * math/s_clogf.c: Likewise.
37387 * math/s_clogl.c: Likewise.
37388 * math/s_csqrt.c: Likewise.
37389 * math/s_csqrtf.c: Likewise.
37390 * math/s_csqrtl.c: Likewise.
37391 * math/s_ctanf.c: Likewise.
37392 * math/s_ctanh.c: Likewise.
37393 * math/s_ctanhf.c: Likewise.
37394 * math/s_ctanhl.c: Likewise.
37395 * math/s_ctanl.c: Likewise.
37396
37397 * math/math_private.h: Define __nan, __nanf, __nanl.
37398 * math/s_cacosh.c: Include <math_private.h>.
37399 * math/s_cacoshl.c: Likewise.
37400 * math/s_casinh.c: Likewise.
37401 * math/s_casinhf.c: Likewise.
37402 * math/s_casinhl.c: Likewise.
37403 * math/s_ccos.c: Rely entire on ccosh.
37404 * math/s_ccosf.c: Rely entire on ccoshf.
37405 * math/s_ccosl.c: Rely entirely on ccoshl.
37406 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37407 Remove tests for FE_INVALID.
37408 * math/s_ccoshf.c: Likewise.
37409 * math/s_ccoshl.c: Likewise.
37410 * math/s_csin.c: Likewise.
37411 * math/s_csinf.c: Likewise.
37412 * math/s_csinh.c Likewise.
37413 * math/s_csinhf.c: Likewise.
37414 * math/s_csinhl.c: Likewise.
37415 * math/s_csinl.c: Likewise.
37416 * math/s_ctan.c: Likewise.
37417 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37418 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37419 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37420
37421 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37422
37423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37424 compilation problems.
37425
37426 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37427 __builtin_expect.
37428
37429 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37430
37431 * sysdeps/i386/configure.in: Test for -mfma4 option.
37432 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37433 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37434 COMMON_CPUID_INDEX_80000001.
37435 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37436 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37437 use it if FMA3 is not supported.
37438 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37439
37440 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37441 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37442
37443 2011-10-20 Andreas Schwab <schwab@redhat.com>
37444
37445 [BZ #12892]
37446 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37447 it would create a cycle with a link time dependency.
37448
37449 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37450
37451 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37452 instruction.
37453 * string/Makefile (strop-tests): Add rawmemchr.
37454 * string/test-rawmemchr.c: New file.
37455
37456 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37457 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37458 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37459 when compiling str{,n}casecmp and when AVX is available. Hook up
37460 new optimized code in initializers.
37461
37462 2011-10-19 Andreas Schwab <schwab@redhat.com>
37463
37464 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37465 __feraiseexcept instead of feraiseexcept.
37466
37467 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37468
37469 * math/math_private.h: Define defaults for libc_fetestexcept and
37470 libc_feupdateenv.
37471 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37472 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37473 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37474 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37475 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37476 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37477 libc_fetestexcept and libc_feupdateenv.
37478
37479 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37480 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37481 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37482 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37483 libc_feholdexcept_setround.
37484
37485 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37486 Add s_nearbyint-c and s_nearbyintf-c.
37487 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37488 nearbyintf inlines.
37489 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37490 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37491 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37492 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37493
37494 * math/math_private.h: Define defaults for libc_fegetround,
37495 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37496 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37497 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37498 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37499 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37500 standard functions.
37501 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37502 Remove comments and hacks for old compiler versions.
37503 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37504 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37505 libc_feholdexceptl.
37506
37507 2011-10-18 Andreas Schwab <schwab@redhat.com>
37508
37509 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37510 (__feraiseexcept_renamed): Add __NTH.
37511 (feraiseexcept): Add __NTH. Rename local variables to fix
37512 namespace violations.
37513
37514 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37515
37516 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37517
37518 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37519
37520 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37521 recently added interfaces.
37522 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37523
37524 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37525 about macro parameter expansion.
37526
37527 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37528 __NO_MATH_INLINES is defined. Cleanups.
37529
37530 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37531 and __floorf is target has SSE4.1.
37532 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37533 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37534 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37535 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37536
37537 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37538 name.
37539 (floorf): Likewise.
37540
37541 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37542
37543 2011-10-17 Andreas Schwab <schwab@redhat.com>
37544
37545 * misc/sys/cdefs.h: Fix last change.
37546
37547 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37548 database lookup.
37549
37550 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37551
37552 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37553
37554 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37555 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37556 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37557 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37559 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37560 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37561 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37562 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37563 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37564 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37565 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37566 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37567 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37568 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37569 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37570 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37571 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37572 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37573 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37574 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37575 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37576
37577 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37578 ceil, ceilf, floor, floorf.
37579
37580 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37581 Perform IRELATIVE relocations last.
37582
37583 * elf/do-rel.h: Add another parameter nrelative, replacing the
37584 local variable with the same name. Change name of the function
37585 to end in Rel or Rela (uppercase).
37586 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37587 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37588 elf_dynamic_do_##reloc function.
37589
37590 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37591
37592 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37593 is sufficient, at least on modern CPUs.
37594
37595 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37596
37597 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37598 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37599
37600 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37601 __expl_finite.
37602 * math/bits/math-finite.h: Add entries for exp.
37603 * math/e_expl.c: Add __*_finite alias.
37604 * sysdeps/i386/fpu/e_exp.S: Likewise.
37605 * sysdeps/i386/fpu/e_expf.S: Likewise.
37606 * sysdeps/i386/fpu/e_expl.c: Likewise.
37607 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37608 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37609 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37610 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37612 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37613 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37614
37615 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37616 is sufficient, at least on modern CPUs.
37617
37618 * ctype/ctype-info.c (__ctype_init): Define.
37619 * include/ctype.h (__ctype_init): Declare.
37620 (__ctype_b_loc): The variable is always initialized.
37621 (__ctype_toupper_loc): Likewise.
37622 (__ctype_tolower_loc): Likewise.
37623 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37624 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37625
37626 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37627
37628 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37629
37630 * configure.in: Also look in $cxxmachine/include for C++ system
37631 headers.
37632
37633 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37634
37635 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37636 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37637 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37638 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37639 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37640 (USE_AS_WMEMCMP): New macro.
37641 Fixing indents.
37642 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37643 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37644 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37645 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37647 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37648 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37649 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37650 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37651 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37652 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37653 (USE_AS_WMEMCMP): New macro.
37654 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37655 * sysdeps/string/test-memcmp.c: Update.
37656 Fix simple_wmemcmp.
37657 Add new tests.
37658 * wcsmbs/wmemcmp.c: Update.
37659 (WMEMCMP): New macro.
37660 Fix overflow bug.
37661
37662 2011-10-12 Andreas Jaeger <aj@suse.de>
37663
37664 [BZ #13268]
37665 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37666
37667 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37668
37669 * libio/iofwide.c (do_length): Avoid warning.
37670
37671 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37672
37673 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37674
37675 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37676
37677 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37678 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37679 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37680 * sysdeps/i386/i686/fpu/e_log.S: New file.
37681 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37682 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37683
37684 * ctype/ctype.h: Add support for inlined isXXX functions when
37685 compiling C++ code.
37686
37687 2011-10-14 Andreas Schwab <schwab@redhat.com>
37688
37689 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37690
37691 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37692
37693 2011-10-13 Roland McGrath <roland@hack.frob.com>
37694
37695 [BZ #13291]
37696 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37697
37698 2011-10-13 Andreas Schwab <schwab@redhat.com>
37699
37700 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37701 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37702 feraiseexcept.
37703
37704 * sysdeps/x86_64/memrchr.S: Check for zero size.
37705
37706 * string/stratcliff.c: Add memrchr tests.
37707
37708 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37709
37710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37711 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37712 rawmemchr-sse2 rawmemchr-sse2-bsf.
37713 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37714 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37715 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37716 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37717 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37718 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37719 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37720 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37721 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37722 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37723 * string/memrchr.c (MEMRCHR): New macro.
37724
37725 2011-10-12 Ulrich Drepper <drepper@gmail.com>
37726
37727 Add integration with gcc's -ffinite-math-only and optimize wrapper
37728 functions in libm.
37729 * Versions.def: Define GLIBC_2.15 version for libm.
37730 * math/Makefile (headers): Add bits/math-finite.h.
37731 * math/bits/math-finite.h: New file.
37732 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37733 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37734 * math/e_acoshl.c: Add __*_finite alias.
37735 * math/e_acosl.c: Likewise.
37736 * math/e_asinl.c: Likewise.
37737 * math/e_atan2l.c: Likewise.
37738 * math/e_atanhl.c: Likewise.
37739 * math/e_coshl.c: Likewise.
37740 * math/e_exp10.c: Likewise.
37741 * math/e_exp10f.c: Likewise.
37742 * math/e_exp10l.c: Likewise.
37743 * math/e_exp2l.c: Likewise.
37744 * math/e_fmodl.c: Likewise.
37745 * math/e_gammal_r.c: Likewise.
37746 * math/e_hypotl.c: Likewise.
37747 * math/e_j0l.c: Likewise.
37748 * math/e_j1l.c: Likewise.
37749 * math/e_jnl.c: Likewise.
37750 * math/e_lgammal_r.c: Likewise.
37751 * math/e_log10l.c: Likewise.
37752 * math/e_log2l.c: Likewise.
37753 * math/e_logl.c: Likewise.
37754 * math/e_powl.c: Likewise.
37755 * math/e_sinhl.c: Likewise.
37756 * math/e_sqrtl.c: Likewise.
37757 * math/e_scalb.c: Completely rewritten and optimized.
37758 * math/e_scalbf.c: Likewise.
37759 * math/e_scalbl.c: Likewise.
37760 * math/w_acos.c: Likewise.
37761 * math/w_acosf.c: Likewise.
37762 * math/w_acosl.c: Likewise.
37763 * math/w_acosh.c: Likewise.
37764 * math/w_acoshf.c: Likewise.
37765 * math/w_acoshl.c: Likewise.
37766 * math/w_asin.c: Likewise.
37767 * math/w_asinf.c: Likewise.
37768 * math/w_asinl.c: Likewise.
37769 * math/w_atan2.c: Likewise.
37770 * math/w_atan2f.c: Likewise.
37771 * math/w_atan2l.c: Likewise.
37772 * math/w_atanh.c: Likewise.
37773 * math/w_atanhf.c: Likewise.
37774 * math/w_atanhl.c: Likewise.
37775 * math/w_exp10.c: Likewise.
37776 * math/w_exp10f.c: Likewise.
37777 * math/w_exp10l.c: Likewise.
37778 * math/w_fmod.c: Likewise.
37779 * math/w_fmodf.c: Likewise.
37780 * math/w_fmodl.c: Likewise.
37781 * math/w_j0.c: Likewise.
37782 * math/w_j0f.c: Likewise.
37783 * math/w_j0l.c: Likewise.
37784 * math/w_j1.c: Likewise.
37785 * math/w_j1f.c: Likewise.
37786 * math/w_j1l.c: Likewise.
37787 * math/w_jn.c: Likewise.
37788 * math/w_jnf.c: Likewise.
37789 * math/w_log.c: Likewise.
37790 * math/w_logf.c: Likewise.
37791 * math/w_logl.c: Likewise.
37792 * math/w_log10.c: Likewise.
37793 * math/w_log10f.c: Likewise.
37794 * math/w_log10l.c: Likewise.
37795 * math/w_log2.c: Likewise.
37796 * math/w_log2f.c: Likewise.
37797 * math/w_log2l.c: Likewise.
37798 * math/w_pow.c: Likewise.
37799 * math/w_powf.c: Likewise.
37800 * math/w_powl.c: Likewise.
37801 * math/w_remainder.c: Likewise.
37802 * math/w_remainderf.c: Likewise.
37803 * math/w_remainderl.c: Likewise.
37804 * math/w_scalb.c: Likewise.
37805 * math/w_scalbf.c: Likewise.
37806 * math/w_scalbl.c: Likewise.
37807 * math/w_sqrt.c: Likewise.
37808 * math/w_sqrtf.c: Likewise.
37809 * math/w_sqrtl.c: Likewise.
37810 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37811 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37812 used.
37813 * math/math_private.h: Declare __kernel_standard_f.
37814 * math/w_cosh.c: Remove cruft and optimize a bit.
37815 * math/w_coshf.c: Likewise.
37816 * math/w_coshl.c: Likewise.
37817 * math/w_exp2.c: Likewise.
37818 * math/w_exp2f.c: Likewise.
37819 * math/w_exp2l.c: Likewise.
37820 * math/w_hypot.c: Likewise.
37821 * math/w_hypotf.c: Likewise.
37822 * math/w_hypotl.c: Likewise.
37823 * math/w_lgamma.c: Likewise.
37824 * math/w_lgamma_r.c: Likewise.
37825 * math/w_lgammaf.c: Likewise.
37826 * math/w_lgammaf_r.c: Likewise.
37827 * math/w_lgammal.c: Likewise.
37828 * math/w_lgammal_r.c: Likewise.
37829 * math/w_sinh.c: Likewise.
37830 * math/w_sinhf.c: Likewise.
37831 * math/w_sinhl.c: Likewise.
37832 * math/w_tgamma.c: Likewise.
37833 * math/w_tgammaf.c: Likewise.
37834 * math/w_tgammal.c: Likewise.
37835 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37836 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37837 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37838 Minor optimizations. Pretty printing. Remove cruft.
37839 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37840 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37841 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37842 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37843 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37844 * sysdeps/i386/fpu/e_asin.S: Likewise.
37845 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37846 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37847 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37848 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37849 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37850 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37851 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37852 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37853 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37854 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37855 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37856 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37857 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37858 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37859 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37860 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37861 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37862 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37863 * sysdeps/i386/fpu/e_log.S: Likewise.
37864 * sysdeps/i386/fpu/e_log10.S: Likewise.
37865 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37866 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37867 * sysdeps/i386/fpu/e_log2.S: Likewise.
37868 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37869 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37870 * sysdeps/i386/fpu/e_logf.S: Likewise.
37871 * sysdeps/i386/fpu/e_logl.S: Likewise.
37872 * sysdeps/i386/fpu/e_pow.S: Likewise.
37873 * sysdeps/i386/fpu/e_powf.S: Likewise.
37874 * sysdeps/i386/fpu/e_powl.S: Likewise.
37875 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37876 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37877 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37878 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37879 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37880 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37881 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37882 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37883 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37884 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37885 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37887 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37888 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37889 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37890 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37891 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37892 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37893 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37897 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37900 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37901 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37902 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37904 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37905 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37906 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37907 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37908 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37909 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37910 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37911 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37912 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37913 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37914 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37915 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37916 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37917 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37918 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37919 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37920 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37921 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37922 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37923 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37924 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37925 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37926 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37927 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37928 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37929 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37930 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37931 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37932 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37933 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37934 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37935 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37936 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37937 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37938 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37939 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37940 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37941 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37942 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37943 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37944 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37945 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37946 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37947 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37948 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37949 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37950 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37951 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37952 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37953 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37954 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37955 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37956 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37957 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37958 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37959 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37960 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37961 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37962 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37963 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37964 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37965 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37966 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37967 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37968 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37969 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37970 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37971 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37972 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37973 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37974 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37975 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37976 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37977 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37978 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37979 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37980 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37981 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37982 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37983 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37984 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37985 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37986 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37987 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37988 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37989 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37990 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37991 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37992 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37993 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37994 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37995 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37996 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37997 (__isnanf): Likewise.
37998 (__isinf_ns): Likewise.
37999 (__isinf_nsf): Likewise.
38000 (__finite): Likewise.
38001 (__finitef): Likewise.
38002 (__ieee754_sqrt): Define as macro.
38003 (__ieee754_sqrtf): Define as macro.
38004 (__ieee754_sqrtl): Define as macro.
38005 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38006 inlined copy.
38007 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38008 __FINITE_MATH_ONLY__ consistent.
38009 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38010
38011 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38012
38013 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38014 of rawmemchr.
38015
38016 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38017
38018 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38019
38020 * po/ja.po: Update from translation team.
38021
38022 2011-10-08 Roland McGrath <roland@hack.frob.com>
38023
38024 * locale/programs/locarchive.c (prepare_address_space): New function.
38025 (create_archive, enlarge_archive, open_archive): Use it.
38026
38027 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38028 inside [SHARED], where it is used.
38029
38030 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38031
38032 * nss/getent.c (netgroup_keys): Remove unused variable.
38033 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38034
38035 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38036
38037 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38038 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38039 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38040 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38041 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38042 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38043 * math/Makefile (libm-calls): Add s_isinf_ns.
38044 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38045 * math/multc3.c: Likewise.
38046 * math/s_casin.c: Likewise.
38047 * math/s_casinf.c: Likewise.
38048 * math/s_casinl.c: Likewise.
38049 * math/s_ccos.c: Likewise.
38050 * math/s_ccosf.c: Likewise.
38051 * math/s_ccosl.c: Likewise.
38052 * math/s_ctan.c: Likewise.
38053 * math/s_ctanf.c: Likewise.
38054 * math/s_ctanh.c: Likewise.
38055 * math/s_ctanhf.c: Likewise.
38056 * math/s_ctanhl.c: Likewise.
38057 * math/s_ctanl.c: Likewise.
38058 * math/w_fmod.c: Likewise.
38059 * math/w_fmodf.c: Likewise.
38060 * math/w_fmodl.c: Likewise.
38061 * math/w_remainder.c: Likewise.
38062 * math/w_remainderf.c: Likewise.
38063 * math/w_remainderl.c: Likewise.
38064 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38065 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38066 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38068 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38069 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38070 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38071 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38072
38073 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38074 of the number.
38075 * stdio-common/printf_fphex.c: Likewise.
38076 * stdio-common/printf_size.c: Likewise.
38077
38078 * math/e_exp10.c: Include math_private.h using <...> not "...".
38079 * math/e_exp10f.c: Likewise.
38080 * math/e_exp10l.c: Likewise.
38081 * math/e_exp2l.c: Likewise.
38082 * math/e_j0l.c: Likewise.
38083 * math/e_j1l.c: Likewise.
38084 * math/e_jnl.c: Likewise.
38085 * math/e_lgammal_r.c: Likewise.
38086 * math/e_rem_pio2l.c: Likewise.
38087 * math/e_scalb.c: Likewise.
38088 * math/e_scalbf.c: Likewise.
38089 * math/e_scalbl.c: Likewise.
38090 * math/k_cosl.c: Likewise.
38091 * math/k_sinl.c: Likewise.
38092 * math/k_tanl.c: Likewise.
38093 * math/s_cacoshf.c: Likewise.
38094 * math/s_catan.c: Likewise.
38095 * math/s_catanf.c: Likewise.
38096 * math/s_catanh.c: Likewise.
38097 * math/s_catanhf.c: Likewise.
38098 * math/s_catanhl.c: Likewise.
38099 * math/s_catanl.c: Likewise.
38100 * math/s_ccosh.c: Likewise.
38101 * math/s_ccoshf.c: Likewise.
38102 * math/s_ccoshl.c: Likewise.
38103 * math/s_cexp.c: Likewise.
38104 * math/s_cexpf.c: Likewise.
38105 * math/s_cexpl.c: Likewise.
38106 * math/s_clog.c: Likewise.
38107 * math/s_clog10.c: Likewise.
38108 * math/s_clog10f.c: Likewise.
38109 * math/s_clog10l.c: Likewise.
38110 * math/s_clogf.c: Likewise.
38111 * math/s_clogl.c: Likewise.
38112 * math/s_csin.c: Likewise.
38113 * math/s_csinf.c: Likewise.
38114 * math/s_csinh.c: Likewise.
38115 * math/s_csinhf.c: Likewise.
38116 * math/s_csinhl.c: Likewise.
38117 * math/s_csinl.c: Likewise.
38118 * math/s_csqrt.c: Likewise.
38119 * math/s_csqrtf.c: Likewise.
38120 * math/s_csqrtl.c: Likewise.
38121 * math/s_ctan.c: Likewise.
38122 * math/s_ctanf.c: Likewise.
38123 * math/s_ctanh.c: Likewise.
38124 * math/s_ctanhf.c: Likewise.
38125 * math/s_ctanhl.c: Likewise.
38126 * math/s_ctanl.c: Likewise.
38127 * math/s_ldexp.c: Likewise.
38128 * math/s_ldexpf.c: Likewise.
38129 * math/s_ldexpl.c: Likewise.
38130 * math/s_significand.c: Likewise.
38131 * math/s_significandf.c: Likewise.
38132 * math/s_significandl.c: Likewise.
38133 * math/w_acos.c: Likewise.
38134 * math/w_acosf.c: Likewise.
38135 * math/w_acosh.c: Likewise.
38136 * math/w_acoshf.c: Likewise.
38137 * math/w_acoshl.c: Likewise.
38138 * math/w_acosl.c: Likewise.
38139 * math/w_asin.c: Likewise.
38140 * math/w_asinf.c: Likewise.
38141 * math/w_asinl.c: Likewise.
38142 * math/w_atan2.c: Likewise.
38143 * math/w_atan2f.c: Likewise.
38144 * math/w_atan2l.c: Likewise.
38145 * math/w_atanh.c: Likewise.
38146 * math/w_atanhf.c: Likewise.
38147 * math/w_atanhl.c: Likewise.
38148 * math/w_cosh.c: Likewise.
38149 * math/w_coshf.c: Likewise.
38150 * math/w_coshl.c: Likewise.
38151 * math/w_dremf.c: Likewise.
38152 * math/w_exp10.c: Likewise.
38153 * math/w_exp10f.c: Likewise.
38154 * math/w_exp10l.c: Likewise.
38155 * math/w_exp2.c: Likewise.
38156 * math/w_exp2f.c: Likewise.
38157 * math/w_fmod.c: Likewise.
38158 * math/w_fmodf.c: Likewise.
38159 * math/w_fmodl.c: Likewise.
38160 * math/w_hypot.c: Likewise.
38161 * math/w_hypotf.c: Likewise.
38162 * math/w_hypotl.c: Likewise.
38163 * math/w_j0.c: Likewise.
38164 * math/w_j0f.c: Likewise.
38165 * math/w_j0l.c: Likewise.
38166 * math/w_j1.c: Likewise.
38167 * math/w_j1f.c: Likewise.
38168 * math/w_j1l.c: Likewise.
38169 * math/w_jn.c: Likewise.
38170 * math/w_jnf.c: Likewise.
38171 * math/w_jnl.c: Likewise.
38172 * math/w_lgamma.c: Likewise.
38173 * math/w_lgamma_r.c: Likewise.
38174 * math/w_lgammaf.c: Likewise.
38175 * math/w_lgammaf_r.c: Likewise.
38176 * math/w_lgammal.c: Likewise.
38177 * math/w_lgammal_r.c: Likewise.
38178 * math/w_log.c: Likewise.
38179 * math/w_log10.c: Likewise.
38180 * math/w_log10f.c: Likewise.
38181 * math/w_log10l.c: Likewise.
38182 * math/w_log2.c: Likewise.
38183 * math/w_log2f.c: Likewise.
38184 * math/w_log2l.c: Likewise.
38185 * math/w_logf.c: Likewise.
38186 * math/w_logl.c: Likewise.
38187 * math/w_pow.c: Likewise.
38188 * math/w_powf.c: Likewise.
38189 * math/w_powl.c: Likewise.
38190 * math/w_remainder.c: Likewise.
38191 * math/w_remainderf.c: Likewise.
38192 * math/w_remainderl.c: Likewise.
38193 * math/w_scalb.c: Likewise.
38194 * math/w_scalbf.c: Likewise.
38195 * math/w_scalbl.c: Likewise.
38196 * math/w_sinh.c: Likewise.
38197 * math/w_sinhf.c: Likewise.
38198 * math/w_sinhl.c: Likewise.
38199 * math/w_sqrt.c: Likewise.
38200 * math/w_sqrtf.c: Likewise.
38201 * math/w_sqrtl.c: Likewise.
38202 * math/w_tgamma.c: Likewise.
38203 * math/w_tgammaf.c: Likewise.
38204 * math/w_tgammal.c: Likewise.
38205
38206 * po/ja.po: Update from translation team.
38207
38208 2011-09-29 Andreas Jaeger <aj@suse.de>
38209
38210 [BZ #13179]
38211 * sunrpc/netname.c (netname2host): Fix logic.
38212
38213 [BZ #6779]
38214 [BZ #6783]
38215 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38216 correctly.
38217 * math/w_remainder.c (__remainder): Likewise.
38218 * math/w_remainderf.c (__remainderf): Likewise.
38219 * math/libm-test.inc (remainder_test): Add test cases.
38220
38221 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38222
38223 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38224 sdiv_qrnnd.
38225
38226 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38227
38228 * string/test-memcmp.c: Avoid unncessary #defines.
38229 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38230
38231 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38232
38233 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38234 Use new sse2 version for core i3 - i7 as it's faster
38235 than sse42 version.
38236 (bit_Prefer_PMINUB_for_stringop): New.
38237 * sysdeps/x86_64/rawmemchr.S: Update.
38238 Replace with faster SSE2 version.
38239 * sysdeps/x86_64/memrchr.S: New file.
38240 * sysdeps/x86_64/memchr.S: Update.
38241 Replace with faster SSE2 version.
38242
38243 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38244
38245 * elf/dl-load.c (lose): Add cast to avoid warning.
38246
38247 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38248
38249 * po/ca.po: Update from translation team.
38250
38251 * inet/getnetgrent_r.c: Hook up nscd.
38252 * nscd/Makefile (routines): Add nscd_netgroup.
38253 (nscd-modules): Add netgroupcache.
38254 (CFLAGS-netgroupcache.c): Define.
38255 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38256 (cache_search): Add const to second parameter.
38257 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38258 INNETGR.
38259 (dbs): Add netgrdb entry.
38260 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38261 (verify_persistent_db): Handle netgrdb.
38262 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38263 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38264 GETFDNETGR.
38265 (netgroup_response_header): Define.
38266 (innetgroup_response_header): Define.
38267 (datahead): Add netgroup_response_header and innetgroup_response_header
38268 elements.
38269 * nscd/nscd.conf: Add entries for netgroup cache.
38270 * nscd/nscd.h (dbtype): Add netgrdb.
38271 (_PATH_NSCD_NETGROUP_DB): Define.
38272 (netgroup_iov_disabled): Declare.
38273 (xmalloc, xcalloc, xrealloc): Move declarations here.
38274 (cache_search): Adjust prototype.
38275 Add netgroup-related prototypes.
38276 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38277 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38278 (__nscd_innetgr): Declare.
38279 * nscd/selinux.c (perms): Use access_vector_t as element type and
38280 add netgroup-related initializers.
38281 * nscd/netgroupcache.c: New file.
38282 * nscd/nscd_netgroup.c: New file.
38283 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38284 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38285 For four parameters use innetgr.
38286 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38287 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38288 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38289 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38290
38291 * nscd/connections.c (register_traced_file): Don't register file
38292 for disabled databases.
38293
38294 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38295
38296 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38297
38298 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38299 from tree and freeing node.
38300
38301 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38302
38303 * nss/nsswitch.c (__nss_database_lookup): Handle
38304 nss_parse_service_list out of memory case.
38305
38306 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38307
38308 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38309 out of memory case.
38310
38311 2011-10-04 Andreas Schwab <schwab@redhat.com>
38312
38313 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38314 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38315 pass it down.
38316 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38317 elf_machine_rela, elf_machine_lazy_rel.
38318 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38319 (ELF_DYNAMIC_DO_REL): Likewise.
38320 (ELF_DYNAMIC_DO_RELA): Likewise.
38321 (ELF_DYNAMIC_RELOCATE): Likewise.
38322 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38323 to ELF_DYNAMIC_DO_REL.
38324 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38325 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38326 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38327 elf_machine_rela.
38328 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38329 skip_ifunc, don't call ifunc function if non-zero.
38330 (elf_machine_rela): Likewise.
38331 (elf_machine_lazy_rel): Likewise.
38332 (elf_machine_lazy_rela): Likewise.
38333 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38334 (elf_machine_lazy_rel): Likewise.
38335 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38336 Likewise.
38337 (elf_machine_lazy_rel): Likewise.
38338 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38339 Likewise.
38340 (elf_machine_lazy_rel): Likewise.
38341 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38342 (elf_machine_lazy_rel): Likewise.
38343 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38344 (elf_machine_lazy_rel): Likewise.
38345 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38346 (elf_machine_lazy_rel): Likewise.
38347 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38348 (elf_machine_lazy_rel): Likewise.
38349 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38350 (elf_machine_lazy_rel): Likewise.
38351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38352 (elf_machine_lazy_rel): Likewise.
38353
38354 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38355
38356 * nss/nss_files/files-init.c (_nss_files_init): Use static
38357 initialization for all the *_traced_file variables.
38358
38359 2011-09-28 Andreas Schwab <schwab@redhat.com>
38360
38361 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38362
38363 2011-09-27 Roland McGrath <roland@hack.frob.com>
38364
38365 [BZ #13226]
38366 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38367
38368 2011-09-27 Andreas Schwab <schwab@redhat.com>
38369
38370 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38371 Reread the line before reparsing it.
38372
38373 2011-09-26 Andreas Schwab <schwab@redhat.com>
38374
38375 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38376
38377 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38378 Maxim Kuvyrkov <maxim@codesourcery.com>
38379 Joseph Myers <joseph@codesourcery.com>
38380
38381 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38382 if needed for __stack_chk_guard.
38383
38384 2011-09-19 Roland McGrath <roland@hack.frob.com>
38385
38386 * sysdeps/posix/spawni.c (script_execute): Always define it.
38387 It will be optimized away if unused.
38388 (maybe_script_execute): New function.
38389 (__spawni): Call it.
38390
38391 * Makerules: Don't include tls.make.
38392 (config-tls): Always set to thread.
38393 * tls.make.c: File removed.
38394
38395 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38396
38397 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38398 * config.make.in (CPPFLAGS-config): New substituted variable.
38399
38400 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38401
38402 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38403
38404 [BZ #13192]
38405 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38406 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38407
38408 2011-09-15 Roland McGrath <roland@hack.frob.com>
38409
38410 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38411 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38412 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38413 (CALL_FAIL): Likewise.
38414 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38415 (CALL_FAIL): Macro removed.
38416 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38417
38418 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38419
38420 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38421 for __FINITE_MATH_ONLY__ == 1.
38422
38423 2011-09-15 Andreas Schwab <schwab@redhat.com>
38424
38425 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38426 __ieee754_sqrt instead of sqrt.
38427 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38428 __ieee754_sqrtf instead of sqrtf.
38429 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38430 __floorf instead of floorf.
38431 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38432 __floorf, __truncf instead of floorf, truncf.
38433
38434 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38435
38436 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38437
38438 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38439 __extern_always_inline.
38440 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38441 32-bit.
38442
38443 2011-09-14 Andreas Schwab <schwab@redhat.com>
38444
38445 * elf/rtld.c (dl_main): Also relocate in dependency order when
38446 doing symbol dependency testing.
38447
38448 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38449
38450 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38451 Always define `refsym'.
38452
38453 2011-09-13 Andreas Schwab <schwab@redhat.com>
38454
38455 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38456 (__FD_ELT): Renamed from __FDELT.
38457 * misc/bits/select2.h (__FD_ELT): Likewise.
38458 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38459 __FD_MASK instead of __FDELT, __FDMASK.
38460 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38461 Likewise.
38462 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38463 Likewise.
38464
38465 * elf/Makefile (gen-ldd): Fix pattern.
38466
38467 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38468 (init_tls): Likewise.
38469
38470 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38471
38472 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38473
38474 2011-09-12 Andreas Schwab <schwab@redhat.com>
38475
38476 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38477 `struct cmsghdr *' instead of `void *'.
38478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38479 Likewise.
38480
38481 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38482
38483 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38484 if non-absolute.
38485 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38486 ldd_rewrite_script.
38487
38488 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38489
38490 * configure.in: Remove --with-tls option.
38491 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38492 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38493 out in case it is missing.
38494 * sysdeps/ia64/elf/configure.in: Likewise.
38495 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38496 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38497 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38498 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38499 * sysdeps/sh/elf/configure.in: Likewise.
38500 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38501 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38502 * sysdeps/x86_64/elf/configure.in: Likewise.
38503 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38504 * sysdeps/mach/hurd/tls.h: Likewise.
38505
38506 [BZ #13067]
38507 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38508
38509 [BZ #13090]
38510 * configure.in: Fix use of AC_INIT.
38511
38512 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38513
38514 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38515
38516 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38517 __set_errno.
38518 * malloc/hooks.c: Likewise.
38519
38520 [BZ #11929]
38521 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38522 variables statically.
38523 (narenas): Initialize.
38524 (list_lock): Initialize.
38525 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38526 initializtion of main_arena and list_lock. Small cleanups.
38527 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38528 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38529 Add initializers to main_arena and mp_.
38530 (malloc_state): Remove pagesize member. Change all users to use
38531 GLRO(dl_pagesize).
38532
38533 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38534 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38535 is always initialized.
38536
38537 * malloc/malloc.c: Removed unused configurations and dead code.
38538 * malloc/arena.c: Likewise.
38539 * malloc/hooks.c: Likewise.
38540 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38541
38542 * include/tls.h: Removed. USE___THREAD must always be defined.
38543 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38544 * elf/dl-libc.c: Likewise.
38545 * elf/dl-tsd.c: Likewise.
38546 * include/errno.h: Likewise.
38547 * include/netdb.h: Likewise.
38548 * include/resolv.h: Likewise.
38549 * inet/herrno-loc.c: Likewise.
38550 * inet/herrno.c: Likewise.
38551 * malloc/arena.c: Likewise.
38552 * malloc/hooks.c: Likewise.
38553 * malloc/malloc.c: Likewise.
38554 * resolv/res-state.c: Likewise.
38555 * resolv/res_libc.c: Likewise.
38556 * sysdeps/i386/dl-machine.h: Likewise.
38557 * sysdeps/ia64/dl-machine.h: Likewise.
38558 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38559 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38560 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38561 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38562 * sysdeps/sh/dl-machine.h: Likewise.
38563 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38564 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38565 * sysdeps/unix/i386/sysdep.S: Likewise.
38566 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38567 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38569 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38570 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38571 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38572 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38573 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38574 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38575 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38576 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38577 * sysdeps/x86_64/dl-machine.h: Likewise.
38578 * tls.make.c: Likewise.
38579
38580 * configure.in: Remove --with-__thread option. Make tests for
38581 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38582 tls_model attribute fail if no support is available. Remove
38583 USE_IN_LIBIO.
38584 * Makeconfig: Adjust for dropped configure option. All features are
38585 now mandatory.
38586 * Makerules: Likewise.
38587 * Versions.def: Likewise.
38588 * argp/argp-fmtstream.c: Likewise.
38589 * argp/argp-fmtstream.h: Likewise.
38590 * argp/argp-help.c: Likewise.
38591 * assert/assert.c: Likewise.
38592 * config.h.in: Likewise.
38593 * config.make.in: Likewise.
38594 * configure: Likewise.
38595 * configure.in: Likewise.
38596 * csu/Versions: Likewise.
38597 * csu/init.c: Likewise.
38598 * elf/tst-audit2.c: Likewise.
38599 * elf/tst-tls10.c: Likewise.
38600 * elf/tst-tls10.h: Likewise.
38601 * elf/tst-tls11.c: Likewise.
38602 * elf/tst-tls12.c: Likewise.
38603 * elf/tst-tls14.c: Likewise.
38604 * elf/tst-tlsmod11.c: Likewise.
38605 * elf/tst-tlsmod12.c: Likewise.
38606 * elf/tst-tlsmod13.c: Likewise.
38607 * elf/tst-tlsmod13a.c: Likewise.
38608 * elf/tst-tlsmod14a.c: Likewise.
38609 * elf/tst-tlsmod15b.c: Likewise.
38610 * elf/tst-tlsmod16a.c: Likewise.
38611 * elf/tst-tlsmod16b.c: Likewise.
38612 * elf/tst-tlsmod7.c: Likewise.
38613 * elf/tst-tlsmod8.c: Likewise.
38614 * elf/tst-tlsmod9.c: Likewise.
38615 * gmon/gmon.c: Likewise.
38616 * grp/fgetgrent_r.c: Likewise.
38617 * grp/putgrent.c: Likewise.
38618 * hurd/fopenport.c: Likewise.
38619 * include/libc-symbols.h: Likewise.
38620 * include/tls.h: Likewise.
38621 * intl/gettextP.h: Likewise.
38622 * intl/loadinfo.h: Likewise.
38623 * locale/global-locale.c: Likewise.
38624 * locale/localeinfo.h: Likewise.
38625 * mach/devstream.c: Likewise.
38626 * malloc/arena.c: Likewise.
38627 * malloc/set-freeres.c: Likewise.
38628 * misc/err.c: Likewise.
38629 * misc/getttyent.c: Likewise.
38630 * misc/mntent_r.c: Likewise.
38631 * posix/getopt.c: Likewise.
38632 * posix/wordexp.c: Likewise.
38633 * pwd/fgetpwent_r.c: Likewise.
38634 * resolv/Versions: Likewise.
38635 * resolv/res_hconf.c: Likewise.
38636 * shadow/fgetspent_r.c: Likewise.
38637 * shadow/putspent.c: Likewise.
38638 * stdio-common/printf_fphex.c: Likewise.
38639 * stdio-common/tmpfile.c: Likewise.
38640 * stdlib/abort.c: Likewise.
38641 * stdlib/fmtmsg.c: Likewise.
38642 * sunrpc/auth_unix.c: Likewise.
38643 * sunrpc/clnt_perr.c: Likewise.
38644 * sunrpc/clnt_tcp.c: Likewise.
38645 * sunrpc/clnt_udp.c: Likewise.
38646 * sunrpc/clnt_unix.c: Likewise.
38647 * sunrpc/openchild.c: Likewise.
38648 * sunrpc/svc_simple.c: Likewise.
38649 * sunrpc/svc_tcp.c: Likewise.
38650 * sunrpc/svc_udp.c: Likewise.
38651 * sunrpc/svc_unix.c: Likewise.
38652 * sunrpc/xdr.c: Likewise.
38653 * sunrpc/xdr_array.c: Likewise.
38654 * sunrpc/xdr_rec.c: Likewise.
38655 * sunrpc/xdr_ref.c: Likewise.
38656 * sunrpc/xdr_stdio.c: Likewise.
38657
38658 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38659
38660 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38661
38662 2011-07-03 Andreas Jaeger <aj@suse.de>
38663
38664 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38665 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38666 regenerate with gen-libm-tests.pl.
38667
38668 2010-05-12 Petr Baudis <pasky@suse.cz>
38669
38670 [BZ #11589]
38671 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38672 around j0() zero points by switching to j1().
38673 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38674 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38676 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38677
38678 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38679
38680 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38681 instead of 0.
38682 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38683 instead of 0.
38684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38685 Patch in part by Pavel Roskin <proski@gnu.org>.
38686
38687 [BZ #13138]
38688 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38689 realloc.
38690 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38691 Free memory block if necessary.
38692
38693 [BZ #12847]
38694 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38695 be NULL. Don't lock in this case.
38696
38697 2011-09-09 Roland McGrath <roland@hack.frob.com>
38698
38699 * elf/elf.h (ELFOSABI_GNU): New macro.
38700 (ELFOSABI_LINUX): Define to that.
38701
38702 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38703
38704 * string/strncat.c (strncat): Undef the symbol in case it has been
38705 defined in bits/string.h.
38706
38707 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38708
38709 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38710
38711 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38712 link map.
38713
38714 2011-08-17 Andreas Jaeger <aj@suse.de>
38715
38716 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38717
38718 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38719 Ian Lance Taylor <iant@google.com>
38720
38721 * math/libm-test.inc (lround_test): New testcase.
38722 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38723
38724 2011-09-08 Ulrich Drepper <drepper@gmail.com>
38725
38726 * Makefile: Remove support for automatic cvs check-ins.
38727 * Makerules: Likewise.
38728 * config.make.in: Likewise.
38729 * configure.in: Likewise.
38730 * intl/Makefile: Likewise.
38731 * locale/Makefile: Likewise.
38732 * po/Makefile: Likewise.
38733 * posix/Makefile: Likewise.
38734 * sysdeps/gnu/Makefile: Likewise.
38735 * sysdeps/mach/hurd/Makefile: Likewise.
38736 * sysdeps/sparc/sparc32/Makefile: Likewise.
38737
38738 [BZ #13118]
38739 * posix/Makefile (bug-regex32-ENV): Define.
38740 Patch by John Stanley <jpsinthemix@verizon.net>.
38741
38742 * misc/Makefile (headers): Add bits/select2.h.
38743 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38744 * misc/bits/select2.h: New file.
38745 * include/bits/select2.h: New file.
38746 * debug/Makefile (routines): Add fdelt_chk.
38747 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38748 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38749 FD_ISSET.
38750 * debug/fdelt_chk.c: New file.
38751
38752 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38753 * wcsmbs/test-wmemcmp.c: Likewise.
38754 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38755 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38756
38757 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38758
38759 * string/Makefile (strop-tests): Add memcmp.
38760 * string/test-wmemcmp.c: New file.
38761 * string/test-memcmp.c: Add wmemcmp support.
38762
38763 2011-09-08 Roland McGrath <roland@hack.frob.com>
38764
38765 [BZ #13153]
38766 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38767 2011-07-19 change.
38768
38769 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38770 garbage value in a __mach_port_mod_refs call in the cases of the
38771 task-self and thread-self ports.
38772
38773 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38774
38775 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38776
38777 2011-09-08 Andreas Schwab <schwab@redhat.com>
38778
38779 * elf/dl-load.c (lose): Check for non-null L.
38780
38781 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38782
38783 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38784
38785 * elf/dl-libc.c (dlerror_run): Pass back error code from
38786 dl_catch_error.
38787
38788 [BZ #13123]
38789 * elf/dl-load.c (lose): Free l_origin if it is valid.
38790
38791 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38792 names.
38793 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38794 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38795 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38796 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38797 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38798 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38799
38800 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38801
38802 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38803 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38804 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38805 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38806 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38807 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38808 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38809 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38810 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38811 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38812
38813 2011-08-15 Alan Modra <amodra@gmail.com>
38814
38815 [BZ #13092]
38816 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38817 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38818 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38819 ppc_mcount to static-only-routines.
38820 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38821 __mcount_internal.
38822 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38823 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38824
38825 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38826
38827 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38828 for finite and infinity parameters.
38829
38830 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38831
38832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38833 and add nop instructions for throughput optimization.
38834 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38835
38836 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38837
38838 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38839 aligned copy for power7 with vector-scalar instructions.
38840 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38841
38842 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38843
38844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38845 AVX check.
38846
38847 2011-09-07 Andreas Schwab <schwab@redhat.com>
38848
38849 [BZ #13144]
38850 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38851 last change.
38852
38853 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38854
38855 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38856 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38857 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38858 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38859 clock_gettime.
38860
38861 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38862
38863 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38864 Forgot to demangle the pointer.
38865
38866 * sysdeps/i386/sysdep.h: Define atom_text_section.
38867 * sysdeps/x86_64/sysdep.h: Likewise.
38868 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38869 section with atom_text_section.
38870 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38871 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38872 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38873 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38874 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38875
38876 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38877 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38878 already be defined. Change to take two parameters and don't assign
38879 result to variable. Adjust all users.
38880 Define INTERNAL_GETTIME if not already defined.
38881 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38882 call.
38883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38884 HAVE_CLOCK_GETTIME_VSYSCALL.
38885 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38886
38887 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38888 gettimeofday vsyscall, just use time.
38889
38890 2011-09-06 Andreas Schwab <schwab@redhat.com>
38891
38892 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38893 <errno.h>.
38894
38895 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38896
38897 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38898 syscall on x86-64.
38899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38900 syscall.
38901 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38902 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38903 syscall if possible.
38904
38905 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38906
38907 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38908 e_ident. Don't pass to find_mapsXX.
38909 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38910
38911 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38912
38913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38914 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38915 * sysdeps/x86_64/multiarch/strchr.S: Update.
38916 Check bit_slow_BSF bit.
38917 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38918 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38919 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38920
38921 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38922
38923 [BZ #13134]
38924 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38925 before glibc 2.15.
38926 (tryshell): Define.
38927 (__spawni): Change last parameter to be flag. Test
38928 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38929 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38930 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38931 * posix/spawni.c: Likewise.
38932 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38933 * posix/spawnp.c: Likewise. Change normal version to use
38934 SPAWN_XFLAGS_USE_PATH.
38935 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38936 SPAWN_XFLAGS_TRY_SHELL.
38937
38938 [BZ #13150]
38939 * posix/glob.h: Remove gcc 1.x support.
38940
38941 [BZ #13068]
38942 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38943
38944 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38945
38946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38947 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38948 strrchr-sse2-bsf
38949 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38950 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38951 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38952 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38953 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38954 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38955
38956 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38957
38958 * sysdeps/x86_64/wcscmp.S: New file.
38959
38960 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38961 wcscmp-c wcscmp-sse2
38962 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38963 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38964 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38965 * wcsmbs/wcscmp.c: Allow renaming.
38966
38967 2011-09-05 David S. Miller <davem@davemloft.net>
38968
38969 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38970 stack slot, rather than the struct return pointer slot.
38971 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38972 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38974 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38975
38976 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38977
38978 * po/ja.po: Update from translation team.
38979
38980 [BZ #13144]
38981 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38982 kernel in 64-bit binaries.
38983
38984 2011-09-01 David S. Miller <davem@davemloft.net>
38985
38986 * elf/elf.h (HWCAP_SPARC_*): Move to..
38987 * sysdeps/sparc/sysdep.h: this new file and add new values.
38988 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38989 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38990 _DL_HWCAP_COUNT to 24.
38991 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38992 entries.
38993 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38994 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38995 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38997 instead of magic constants.
38998 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38999
39000 2011-08-31 David S. Miller <davem@davemloft.net>
39001
39002 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39003 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39004 Reimplement to do errno handling inline.
39005 (SYSCALL_ERROR_HANDLER): New macro.
39006 (__SYSCALL_STRING): Do not do errno handling in asm.
39007 (__CLONE_SYSCALL_STRING): Delete.
39008 (__INTERNAL_SYSCALL_STRING): Delete.
39009 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39010 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39011 (PSEUDO): Reimplement to do errno handling inline.
39012 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39013 (SYSCALL_ERROR_HANDLER): New macro.
39014 (__SYSCALL_STRING): Do not do errno handling in asm.
39015 (__CLONE_SYSCALL_STRING): Delete.
39016 (__INTERNAL_SYSCALL_STRING): Delete.
39017 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39018 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39019 i386.
39020 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39021 (inline_syscall*): Add 'err' argument.
39022 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39023 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39024 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39025 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39026
39027 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39028 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39029
39030 2011-08-30 Andreas Schwab <schwab@redhat.com>
39031
39032 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39033
39034 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39035
39036 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39037 directive.
39038
39039 2011-08-24 David S. Miller <davem@davemloft.net>
39040
39041 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39042
39043 2011-08-24 Andreas Schwab <schwab@redhat.com>
39044
39045 * elf/Makefile: Add rules to build and run unload8 test.
39046 * elf/unload8.c: New file.
39047 * elf/unload8mod1.c: New file.
39048 * elf/unload8mod1x.c: New file.
39049 * elf/unload8mod2.c: New file.
39050 * elf/unload8mod3.c: New file.
39051
39052 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39053 it wasn't used.
39054
39055 2011-08-23 David S. Miller <davem@davemloft.net>
39056
39057 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39058 subtract stack bias.
39059 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39060 %sp not %fp in calculations.
39061 (_JMPBUF_UNWINDS_ADJ): Likewise.
39062
39063 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39064 (aio_suspend): Call it to force an exception region around the
39065 AIO_MISC_WAIT() invocation.
39066
39067 2011-08-23 Andreas Schwab <schwab@redhat.com>
39068
39069 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39070 backslash.
39071
39072 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39073
39074 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39075 protection macro.
39076 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39077 and <dl-machine.h>.
39078 (Elf64_FuncDesc): Remove.
39079
39080 2011-08-22 David S. Miller <davem@davemloft.net>
39081
39082 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39083 sigaltstack check, add missing cfi directives.
39084 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39085 missing cfi directives, and sigaltstack handling.
39086
39087 2011-08-16 Andreas Schwab <schwab@redhat.com>
39088
39089 [BZ #11724]
39090 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39091 object is seen twice.
39092 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39093
39094 * elf/Makefile (distribute): Add tst-initorder2.c.
39095 (tests): Add tst-initorder2.
39096 (modules-names): Add tst-initorder2a tst-initorder2b
39097 tst-initorder2c tst-initorder2d. Add rules to build them.
39098 ($(objpfx)tst-initorder2.out): New rule.
39099 * elf/tst-initorder2.c: New file.
39100 * elf/tst-initorder2.exp: New file.
39101
39102 2011-08-22 Andreas Schwab <schwab@redhat.com>
39103
39104 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39105
39106 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39107 dependencies back to end of function.
39108
39109 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39110 $(elfobjdir)/ld.so.
39111
39112 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39113
39114 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39115 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39117 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39118 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39119 of __vdso_gettimeofday.
39120 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39121 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39122 attribute_hidden.
39123 (_libc_vdso_platform_setup): Remove initialization of
39124 __vdso_gettimeofday and __vdso_time.
39125
39126 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39127
39128 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39129 and fgetc_unlocked.
39130 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39131 getc_unlocked.
39132
39133 * elf/dl-open.c (add_to_global): Report additions to the global scope
39134 for LD_DEBUG=scopes.
39135 (dl_open_worker): Also print scope of newly loaded dependencies.
39136 (_dl_show_scope): Indicate if there is no scope.
39137
39138 [BZ #13114]
39139 * stdio-common/Makefile (tests): Add bug24.
39140 * stdio-common/bug24.c: New file.
39141
39142 2011-08-19 Andreas Jaeger <aj@suse.de>
39143
39144 [BZ #13114]
39145 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39146 non-existant file when using close-on-exec mode.
39147
39148 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39149
39150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39151 the very first instruction.
39152
39153 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39154 the CFI state in the end.
39155 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39156 inclusion of dl-trampoline.h.
39157 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39158
39159 2011-08-19 Andreas Schwab <schwab@redhat.com>
39160
39161 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39162 expectations for long double.
39163
39164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39165 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39166
39167 2011-08-14 David S. Miller <davem@davemloft.net>
39168
39169 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39170 artificual limit depends upon the system page size.
39171
39172 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39173
39174 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39175 * resolv/Makefile: Define CFLAGS-libresolv.
39176
39177 2011-08-17 Andreas Schwab <schwab@redhat.com>
39178
39179 * nss/makedb.c (compute_tables): Make variables used in nested
39180 function static.
39181
39182 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39183
39184 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39185 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39186 if buffer was too small.
39187
39188 * elf/pldd.c (main): Attach to all threads in the process.
39189 Rewrite /proc handling to use *at functions.
39190
39191 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39192
39193 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39194 specifies first scope to show.
39195 (dl_open_worker): Update callers. Move printing scope of new
39196 object to before the relocation.
39197 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39198 * sysdeps/generic/ldsodefs.h: Update declaration.
39199
39200 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39201 string for the scope number.
39202
39203 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39204
39205 * nscd/servicescache.c (cache_addserv): Make sure written is always
39206 initialized.
39207
39208 2011-08-14 Roland McGrath <roland@hack.frob.com>
39209
39210 * sysdeps/i386/i486/bits/atomic.h
39211 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39212 statement expression, so as to suppress "set but not used" warning.
39213 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39214
39215 * string/strncat.c (STRNCAT): Use prototype definition.
39216
39217 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39218 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39219 -Iprograms here.
39220 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39221 (localedef-modules): Add localedef.
39222 (locale-modules): Add locale.
39223
39224 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39225 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39226 to avoid a warning.
39227
39228 2011-08-14 David S. Miller <davem@davemloft.net>
39229
39230 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39231 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39232
39233 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39234
39235 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39236 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39237 * elf/rtld.c (dl_main): Set l_name of vDSO.
39238 Call _dl_show_scope when DL_DEBUG_SCOPES.
39239 (process_dl_debug): Recognize scopes flag and also set it for all.
39240 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39241 Declare _dl_show_scope.
39242
39243 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39244 (do_dlopen): Pass caller_dlopen to dl_open.
39245 (__libc_dlopen_mode): Initialize caller_dlopen.
39246
39247 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39248 of libc. Make tolower call locale-independent. Optimize a bit by
39249 using isdigit instead of isalnum.
39250 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39251
39252 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39253
39254 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39255 was a dependency or dynamically loaded.
39256
39257 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39258
39259 * intl/l10nflist.c: Allow architecture-specific pop function.
39260 * sysdeps/x86_64/l10nflist.c: New file.
39261
39262 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39263 classification.
39264
39265 2011-08-10 Andreas Schwab <schwab@redhat.com>
39266
39267 * include/dirent.h: Add libc_hidden_proto for scandirat and
39268 scandirat64. Don't declare __scandirat64.
39269 * dirent/scandirat.c: Add libc_hidden_def.
39270 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39271 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39272
39273 2011-08-10 David S. Miller <davem@davemloft.net>
39274
39275 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39276 enum.
39277 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39279 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39280
39281 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39282
39283 * Versions.def [libc]: Add GLIBC_2.15.
39284 * dirent/Makefile (routines): Add scandirat and scandirat64.
39285 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39286 GLIBC_2.15.
39287 * dirent/dirent.h: Declare scandirat and scandirat64.
39288 * dirent/scandirat.c: New file.
39289 * dirent/scandirat64.c: New file.
39290 * sysdeps/wordsize-64/scandirat.c: New file.
39291 * sysdeps/wordsize-64/scandirat64.c: New file.
39292 * dirent/opendir.c: Define opendirat.
39293 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39294 using scandirat.
39295 * dirent/scandir64.c: Adjust for scandir.c change.
39296 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39297 __scandirat64, and __scandir_cancel_handler.
39298 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39299 additional parameter and use openat instead of open (outside of ld.so).
39300 Add new __opendir as wrapper around __opendirat.
39301 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39302 here without requiring old scandirat implementation.
39303
39304 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39305
39306 * dirent/scandir.c (cancel_handler): Renamed to
39307 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39308 defined. Adjust users.
39309 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39310 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39311
39312 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39313
39314 * string/test-string.h (IMPL): Use __STRING to expand name and then
39315 stringify it.
39316
39317 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39318 of cleanups.
39319
39320 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39321
39322 * string/Makefile: Update.
39323 (strop-tests): Append strncat.
39324 * string/test-wcscmp.c: New file.
39325 New comprehensive test for wcscmp.
39326 * string/test-strcmp.c: Update.
39327 (WIDE): New define.
39328
39329 2011-07-22 Andreas Schwab <schwab@redhat.com>
39330
39331 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39332 line.
39333
39334 2011-07-26 Andreas Schwab <schwab@redhat.com>
39335
39336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39337 encoding to ACE if AI_IDN.
39338
39339 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39340
39341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39342 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39343
39344 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39345
39346 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39347 Fix overflow bug in strncat.
39348 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39349
39350 * string/test-strncat.c: Update.
39351 Add new tests for checking overflow bugs.
39352
39353 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39354
39355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39356 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39357 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39358 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39359 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39360 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39361 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39362 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39363 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39364
39365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39366 (USE_AS_STRCAT): Define.
39367 Add strcat and strncat support.
39368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39369
39370 2011-07-25 Andreas Schwab <schwab@redhat.com>
39371
39372 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39373 __n bigger than INT_MAX+1.
39374 (__strncmp_g): Likewise.
39375
39376 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39377
39378 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39379 * libio/stido.h: Likewise.
39380
39381 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39382 (AF_NFC): Define.
39383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39384 (AF_NFC): Define.
39385
39386 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39387 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39388 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39389 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39390 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39391
39392 [BZ #13021]
39393 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39394 installed.
39395
39396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39397 typo.
39398 (_dl_x86_64_save_sse): Likewise.
39399
39400 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39401
39402 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39403 OSXSAVE.
39404 (_dl_x86_64_save_sse): Likewise.
39405
39406 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39407
39408 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39409
39410 2011-07-21 Andreas Schwab <schwab@redhat.com>
39411
39412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39413 change.
39414 (_dl_x86_64_save_sse): Use correct AVX check.
39415
39416 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39417
39418 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39419 bug in strncpy/strncat.
39420 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39421
39422 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39423
39424 * string/tester.c (test_strcat): Add tests for different alignments
39425 of source and destination.
39426 (test_strncat): Likewise.
39427
39428 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39429
39430 [BZ #12852]
39431 * posix/glob.c (glob): Check passed in values before using them in
39432 expressions to avoid some overflows.
39433 (glob_in_dir): Likewise.
39434
39435 [BZ #13007]
39436 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39437 check for AVX enablement so that we don't crash with old kernels and
39438 new hardware.
39439 * elf/tst-audit4.c: Add same checks here.
39440 * elf/tst-audit6.c: Likewise.
39441
39442 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39443
39444 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39445
39446 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39447
39448 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39449
39450 * po/cs.po: Update from translation team.
39451 * po/bg.po: Likewise.
39452
39453 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39454
39455 * misc/sys/cdefs.h: Add support for const attribute.
39456 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39457 to gnu_dev_{major,minor,makedev} functions.
39458
39459 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39460
39461 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39462
39463 2011-07-20 Andreas Schwab <schwab@redhat.com>
39464
39465 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39466 strlen results.
39467
39468 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39469
39470 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39471 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39472 register in order to avoid conflicts with the soft frame pointer
39473 being held in r11 when necessary.
39474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39475 (INTERNAL_VSYSCALL_NCS): Likewise.
39476
39477 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39478
39479 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39480 * elf/dl-fini.c (_dl_fini): Adjust caller.
39481 * elf/dl-close.c (_dl_close_worker): Likewise.
39482 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39483
39484 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39485
39486 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39487 "aux_cache->nlibs < 0".
39488
39489 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39490 in the reload-count case.
39491
39492 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39493
39494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39495 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39496 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39497 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39498 * sysdeps/x86_64/multiarch/strcat.S: New file.
39499 * sysdeps/x86_64/multiarch/strncat.S: New file.
39500 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39501 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39502 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39503 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39504 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39505 (USE_AS_STRCAT): Define.
39506 Add strcat and strncat support.
39507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39508 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39509 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39510 * string/strncat.c: Update.
39511 (USE_AS_STRNCAT): Define.
39512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39513 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39514 and i7.
39515 * sysdeps/x86_64/multiarch/init-arch.h
39516 (bit_Prefer_PMINUB_for_stringop): New.
39517 (index_Prefer_PMINUB_for_stringop): Likewise.
39518 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39519 bit_Prefer_PMINUB_for_stringop.
39520
39521 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39522
39523 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39524 buffer64.
39525 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39526 of casting of buffer.
39527 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39528 buffer32 and buffer64.
39529 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39530 writes instead of casting of buffer.
39531 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39532 buffer32.
39533 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39534 casting of buffer.
39535
39536 2011-07-19 Andreas Schwab <schwab@redhat.com>
39537
39538 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39539
39540 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39541
39542 * nscd/nscd.c (termination_handler): Don't do anything for a database
39543 if it has not yet been initialized.
39544
39545 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39546
39547 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39548
39549 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39550
39551 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39552
39553 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39554
39555 * po/nl.po: Update from translation team.
39556 * po/sv.po: Likewise.
39557
39558 2011-07-16 Roland McGrath <roland@hack.frob.com>
39559
39560 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39561 now disallowed by GCC.
39562
39563 * configure.in (use-default-link): Default to yes if a test -shared
39564 link meets our qualifications.
39565 * configure: Regenerated.
39566
39567 * config.make.in (output-format): New variable.
39568 * configure.in: Check for ld --print-output-format support.
39569 * configure: Regenerated.
39570 * Makerules ($(common-objpfx)format.lds)
39571 [$(output-format) != unknown]: Just use $(output-format),
39572 instead of the linker-script munging.
39573
39574 2011-07-14 Roland McGrath <roland@hack.frob.com>
39575
39576 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39577 of $(common-objpfx)shlib.lds.
39578 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39579
39580 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39581 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39582
39583 * configure.in (-z relro check): Adjust test code to add a large
39584 writable data section after it.
39585 * configure: Regenerated.
39586
39587 2011-07-11 Roland McGrath <roland@hack.frob.com>
39588
39589 * configure.in (-z relro check): Fix test code to make the variable
39590 truly const.
39591 * configure: Regenerated.
39592
39593 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39594
39595 * nscd/nscd.h (struct traced_file): Define.
39596 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39597 elements. Add traced_files.
39598 (inotify_fd): Declare.
39599 (register_traced_file): Declare.
39600 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39601 (inotify_fd): Export.
39602 (resolv_conf_descr): Remove.
39603 (nscd_init): Move inotify descriptor creation to main.
39604 Don't register files for notification here.
39605 (register_traced_file): New function.
39606 (invalidate_cache): Don't use reset_res to determine whether to call
39607 res_init, go through the list of registered files.
39608 (main_loop_poll): The inotify descriptors are now stored in the
39609 structures for the traced files.
39610 (main_loop_epoll): Likewise
39611 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39612 to __nss_disable_nscd.
39613 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39614 for a database anymore. Check the records for all the registered
39615 files instead.
39616 * nss/Makefile (libnss_files-routines): Add files-init.
39617 (libnss_db-routines): Add db-init.
39618 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39619 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39620 * nss/nss_db/db-init.c: New file.
39621 * nss/nss_files/files-init.c: New file.
39622 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39623 __nss_lookup_function.
39624 (__nss_lookup_function): Call nss_load_library.
39625 (nss_load_all_libraries): New function.
39626 (__nss_disable_nscd): Take parameter with callback function for files
39627 to register. Set is_nscd. Load all the DSOs for the NSS modules
39628 used for the cached services.
39629 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39630 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39631 options for features to all the files in nscd.
39632
39633 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39634
39635 2011-07-10 Roland McGrath <roland@hack.frob.com>
39636
39637 * csu/elf-init.c (__libc_csu_init): Comment typo.
39638
39639 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39640
39641 * po/pl.po: Update from translation team.
39642 * po/ja.po: Likewise.
39643 * po/ru.po: Likewise.
39644 * po/ko.po: Likewise.
39645 * po/fr.po: Likewise.
39646
39647 2011-07-09 Roland McGrath <roland@hack.frob.com>
39648
39649 * configure.in (.ctors/.dtors header and trailer check):
39650 Use an empirical test on a built program.
39651 * configure: Regenerated.
39652
39653 * configure.in (-z relro check): Use an empirical test on a built DSO.
39654 Detect, but do not require, on ia64.
39655 * configure: Regenerated.
39656
39657 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39658 Update tests that use readelf to use $READELF instead.
39659 * configure: Regenerated.
39660
39661 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39662
39663 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39664 if the result is not used.
39665
39666 2011-07-05 Andreas Jaeger <aj@suse.de>
39667
39668 [BZ#9696]
39669 * stdlib/tst-strtod.c: Add testcase.
39670
39671 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39672
39673 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39674 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39675 The latter has a higher limit. Take additional parameter to pass to
39676 the new function.
39677 (__pathconf): Pass file to __statfs_link_max.
39678 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39679 __statfs_link_max.
39680 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39681 __statfs_link_max.
39682
39683 [BZ #12868]
39684 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39685 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39686 Handle Lustre.
39687 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39688 (__statfs_filesize_max): Likewise.
39689 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39690
39691 2011-07-05 Andreas Jaeger <aj@suse.de>
39692
39693 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39694
39695 2011-07-06 Marek Polacek <mpolacek@redhat.com>
39696
39697 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39698 `status' variable.
39699 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39700 Likewise.
39701
39702 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39703
39704 * Makefile (strop-tests): Add strncat.
39705 * string/test-strncat.c: New file.
39706
39707 2011-06-30 Marek Polacek <mpolacek@redhat.com>
39708
39709 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39710
39711 2011-06-21 Andreas Jaeger <aj@suse.de>
39712
39713 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39714 Copy rule from iconvdata/Makefile.
39715
39716 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39717
39718 [BZ #12922]
39719 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39720 but no long options are defined, just return 'W'.
39721
39722 2011-06-22 Marek Polacek <mpolacek@redhat.com>
39723
39724 [BZ #9696]
39725 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39726
39727 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39728
39729 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39730 netgroups to read.
39731 (innetgr): Likewise.
39732
39733 2011-07-05 Roland McGrath <roland@hack.frob.com>
39734
39735 * config.make.in (install_root): Default to $(DESTDIR).
39736
39737 2011-07-05 Ulrich Drepper <drepper@gmail.com>
39738
39739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39740
39741 2011-07-02 Roland McGrath <roland@hack.frob.com>
39742
39743 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39744
39745 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39746 containing directory rather than embedding absolute directory names.
39747
39748 * scripts/check-local-headers.sh: Rewritten using awk.
39749 Match by word, not by line. Print error messages for matches.
39750 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39751
39752 * Makerules [shlib-lds-flags empty]:
39753 ($(common-objpfx)libc_pic.opts): New target.
39754 ($(common-objpfx)libc_pic.os.clean): New target.
39755 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39756
39757 * config.make.in (OBJCOPY): New variable.
39758 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39759 * configure: Regenerated.
39760
39761 * config.make.in (use-default-link): New variable.
39762 * configure.in (use_default_link): Grok --with-default-link to set it.
39763 * configure: Regenerated.
39764 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39765 (shlib-lds, shlib-lds-flags): Define to empty.
39766
39767 * Makerules (shlib-lds): New variable.
39768 (shlib-lds-flags): New variable.
39769 (build-shlib, build-moduile, build-module-asneeded): Use it.
39770 ($(common-objpfx)libc.so): Use $(shlib-lds).
39771 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39772 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39773
39774 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39775 DT_FLAGS/DT_FLAGS_1 with zero flags.
39776
39777 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39778 linker script munging.
39779
39780 2011-07-02 Ulrich Drepper <drepper@gmail.com>
39781
39782 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39783 as 128-bit value.
39784 * crypt/sha512.c (sha512_process_block): Perform total addition using
39785 128-bit if possible.
39786 (__sha512_finish_ctx): Likewise.
39787 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39788 as 64-bit value.
39789 * crypt/sha256.c (SWAP64): Define.
39790 (sha256_process_block): Perform total addition using 64-bit if
39791 possible.
39792 (__sha256_finish_ctx): Likewise.
39793
39794 2011-07-01 Ulrich Drepper <drepper@gmail.com>
39795
39796 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39797 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39798 * nscd/hstcache.c (cache_addhst): Likewise.
39799 * nscd/grpcache.c (cache_addgr): Likewise.
39800 * nscd/aicache.c (addhstaiX): Likewise
39801 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39802
39803 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
39804
39805 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39806 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39807 * nscd/hstcache.c (cache_addhst): Likewise.
39808 * nscd/grpcache.c (cache_addgr): Likewise.
39809 * nscd/aicache.c (addhstaiX): Likewise
39810
39811 2011-07-01 Andreas Schwab <schwab@redhat.com>
39812
39813 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39814 domain only when needed.
39815
39816 2011-06-30 Andreas Schwab <schwab@redhat.com>
39817
39818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39819 is always restored.
39820
39821 2011-06-29 Ulrich Drepper <drepper@gmail.com>
39822
39823 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39824 are re-adding the entry.
39825 * nscd/servicescache.c (cache_addserv): Likewise.
39826
39827 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39828
39829 * sysdeps/generic/dl-irel.h: fix protection against multiple
39830 inclusions.
39831 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39832
39833 2011-06-28 Ulrich Drepper <drepper@gmail.com>
39834
39835 [BZ #12935]
39836 * malloc/memusage.sh: Fix quoting in message.
39837 * debug/xtrace.sh: Likewise.
39838
39839 * configure.in: Remove support for --experimental-malloc option, make
39840 it the default.
39841 * config.make.in: Likewise.
39842 * malloc/Makefile: Likewise.
39843
39844 2011-06-27 Andreas Schwab <schwab@redhat.com>
39845
39846 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39847 two-byte characters.
39848
39849 2011-06-27 Roland McGrath <roland@hack.frob.com>
39850
39851 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39852 AC_CACHE_CHECK invocation.
39853 * configure: Regenerated.
39854
39855 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39856
39857 2011-06-27 Ulrich Drepper <drepper@gmail.com>
39858
39859 [BZ #12350]
39860 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39861 bit from old_res_options.
39862
39863 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39864
39865 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39866 value type for setfct.
39867
39868 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39869
39870 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39871 __gettimeofday instead of gettimeofday.
39872
39873 2011-06-26 Ulrich Drepper <drepper@gmail.com>
39874
39875 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39876
39877 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39878
39879 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39880
39881 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39882 info.
39883
39884 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39885
39886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39887 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39888 strcpy-sse2-unaligned strncpy-sse2-unaligned
39889 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39890 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39891 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39892 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39893 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39894 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39895 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39896 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39897 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39898 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39899 (STRCPY): Support SSE2 and SSSE3 versions.
39900
39901 2011-06-24 Ulrich Drepper <drepper@gmail.com>
39902
39903 [BZ #12874]
39904 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39905 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39906 kernels which artificially limit size of requests.
39907
39908 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39909
39910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39911 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39912 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39913 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39914 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39915 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39916 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39917 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39918 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39919 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39920 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39921 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39922 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39923 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39924 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39926 Enable unaligned load optimization for Intel Core i3, i5 and i7
39927 processors.
39928 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39929 Define.
39930 (index_Fast_Unaligned_Load): Define.
39931 (HAS_FAST_UNALIGNED_LOAD): Define.
39932
39933 2011-06-23 Marek Polacek <mpolacek@redhat.com>
39934
39935 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39936
39937 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39938
39939 [BZ #12907]
39940 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39941 until it is clear that the information is realy needed.
39942 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39943
39944 2011-06-22 Andreas Schwab <schwab@redhat.com>
39945
39946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39947
39948 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39949
39950 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39951 /sys/devices/system/cpu/online if it is usable.
39952
39953 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39954 reading the information from the /proc filesystem to once a second.
39955
39956 2011-06-21 Andreas Jaeger <aj@suse.de>
39957
39958 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39959 NULL after inclusion of kernel headers.
39960
39961 2011-06-21 Ulrich Drepper <drepper@gmail.com>
39962
39963 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39964 calls to internal_setent.
39965
39966 [BZ #12885]
39967 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39968 addresses using gethostbyname4_r ignore IPv4 addresses.
39969
39970 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39971 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39972
39973 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39974
39975 2011-06-20 David S. Miller <davem@davemloft.net>
39976
39977 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39978 inclusions.
39979 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39980
39981 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39982 (elf_irel): Use it.
39983 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39984 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39985 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39986 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39987 * sysdeps/x86_64/dl-irel.h: Likewise.
39988
39989 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39990 * elf/dl-sym.c: Likewise.
39991
39992 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39993
39994 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39995 need to dereference resplen2.
39996
39997 2011-06-14 Andreas Schwab <schwab@redhat.com>
39998
39999 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40000
40001 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40002
40003 * Makeconfig: Define vardbdir and inst_vardbdir.
40004 * nss/Makefile: Add rules to install db-Makefile.
40005
40006 * nss/nss_db/db-XXX.c: Cleanup.
40007
40008 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40009 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40010 GLIBC_PRIVATE.
40011 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40012 * nss/makedb.c: Implement -g option to specify that value strings
40013 are generated and should not be added to table iterated over for
40014 get*ent calls.
40015 * nss/nss_db/db-initgroups.c: New file.
40016
40017 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40018 interface.
40019
40020 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40021 (internal_getgrouplist): Adjust to name change.
40022 Update use_initgroups_entry if this is not the first call.
40023 * nss/databases.def: Add initgroups entry.
40024
40025 * nss/makedb.c (compute_tables): Check result of multiple hash table
40026 sizes to minimize maximum chain length.
40027
40028 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40029
40030 * Versions.def: Add entry for libnss_db.
40031 * shlib-versions: Likewise.
40032 * nss/Makefile: Add rules to build libnss_db.
40033 * nss/Versions: Add libnss_db information. Organize libnss_files
40034 entries better.
40035 * nss/db-Makefile: Add gshadow support. Change rules for the new
40036 makedb progra. Some minor improvements to generate smaller files.
40037 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40038 here from...
40039 * nss/makedb.c: ...here.
40040 Improve database format to be smaller and require less memory at
40041 runtime.
40042 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40043 db anymore.
40044 * nss/nss_db/db-netgrp.c: Likewise.
40045 * nss/nss_db/db-open.c: Likewise.
40046 * nss/nss_files/flies-XXX.x: Adjust comments.
40047 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40048 * nss/nss_files/files-grp.c: Likewise.
40049 * nss/nss_files/files-hosts.c: Likewise.
40050 * nss/nss_files/files-network.c: Likewise.
40051 * nss/nss_files/files-proto.c: Likewise.
40052 * nss/nss_files/files-pwd.c: Likewise.
40053 * nss/nss_files/files-rpc.c: Likewise.
40054 * nss/nss_files/files-service.c: Likewise.
40055 * nss/nss_files/files-sgrp.c: Likewise.
40056 * nss/nss_files/files-spwd.c: Likewise.
40057 * nss/nss_db/db-alias.c: Removed.
40058 * nss/nss_db/dummy-db.h: Removed.
40059
40060 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40061
40062 * nss/makedb.c: Rewritten to not use database library.
40063 * nss/Makefile: Update to build new makedb program.
40064
40065 2011-06-14 Andreas Jaeger <aj@suse.de>
40066
40067 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40068 memset declaration.
40069
40070 2011-06-10 Andreas Schwab <schwab@redhat.com>
40071
40072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40073 tmpbuf.
40074
40075 2011-06-10 Roland McGrath <roland@hack.frob.com>
40076
40077 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40078 * elf/Makefile ($(objpfx)ld.so): Likewise.
40079
40080 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40081 Don't list ld.so twice in dependencies.
40082
40083 * posix/bug-regex31.c: Include <stdlib.h>.
40084
40085 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40086
40087 * nis/nss_compat/compat-spwd.c
40088 (getspent_next_nss_netgr): Remove unused variable.
40089 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40090
40091 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40092 nonmembers" output to use the right array.
40093
40094 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40095
40096 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40097
40098 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40099 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40100 * catgets/gencat.c (read_input_file): Likewise.
40101 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40102
40103 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40104 variable definition inside #if's controlling its use.
40105
40106 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40107
40108 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40109
40110 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40111
40112 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40113 unreachable code.
40114
40115 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40116
40117 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40118 * configure: Regenerated.
40119
40120 * Makerules: Revert last change.
40121 * elf/Makefile: Likewise.
40122
40123 2011-06-09 Roland McGrath <roland@hack.frob.com>
40124
40125 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40126 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40127 (reloc-link): Likewise.
40128
40129 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40130
40131 * elf/Makefile: Add rules to build pldd.
40132 * elf/pldd.c: New file.
40133 * elf/pldd-xx.c: New file.
40134
40135 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40136
40137 * version.h: Update for 2.15 development version.
40138
40139 2011-06-07 David S. Miller <davem@davemloft.net>
40140
40141 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40142 ifuncs.
40143 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40144 elf_machine_lazy_rel): Likewise.
40145 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40147 elf_machine_lazy_rel): Likewise.
40148 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40149 dl_hwcap via passed in argument.
40150 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40151 Likewise.
40152
40153 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40154
40155 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40156
40157 2011-06-06 Roland McGrath <roland@hack.frob.com>
40158
40159 [BZ #12849]
40160 * manual/fdl-1.1.texi: New file, verbatim from:
40161 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40162 * manual/lgpl-2.1.texi: New file, verbatim from:
40163 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40164 * manual/Makefile (licenses): New variable, list those new file names.
40165 (texis): Use it.
40166 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40167
40168 * manual/fdl.texi: File removed.
40169 * manual/lesser.texi: File removed.
40170 * manual/libc.texinfo (Copying, Documentation License):
40171 Use new @include file names, put @appendix directive before @include.
40172
40173 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40174
40175 [BZ #12841]
40176 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40177 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40178 (mq_open): Add __NTH.
40179
40180 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40181
40182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40183 Assume Intel Core i3/i5/i7 processor if AVX is available.
40184
40185 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40186
40187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40188 typo.
40189
40190 2011-05-31 Andreas Schwab <schwab@redhat.com>
40191
40192 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40193 memory. Use alloca_account. Fix memory leak when retrying.
40194
40195 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40196
40197 * version.h (RELEASE): Bump for 2.14 release.
40198 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40199
40200 * config.make.in (RANLIB): Remove entry.
40201
40202 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40203
40204 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40205 (libc.pot): Work around missing support for .ksh extension in xgettext.
40206
40207 [BZ #12684]
40208 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40209 if both request failed.
40210 (send_dg): In case of server errors clear resplen or *resplen2.
40211
40212 [BZ #12454]
40213 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40214 when there are multiple maps.
40215 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40216 (_dl_fini): Remove test here.
40217
40218 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40219
40220 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40221
40222 [BZ #12350]
40223 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40224 bit from old_res_options.
40225 (gaih_inet): Likewise.
40226
40227 [BZ #11099]
40228 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40229 as signed.
40230
40231 * resolv/res_init.c (res_setoptions): Make the code more compact.
40232
40233 [BZ #11558]
40234 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40235 set RES_USEVC.
40236
40237 [BZ #11634]
40238 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40239
40240 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40241
40242 [BZ #11781]
40243 * malloc/malloc.h: Declare malloc hook variables as volatile.
40244
40245 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40246 in last patch.
40247
40248 [BZ #11799]
40249 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40250 raise in the comment.
40251 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40252 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40253 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40254
40255 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40256
40257 [BZ #12811]
40258 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40259 grow the buffers more if it already has to be sufficient.
40260 (build_wcs_upper_buffer): Likewise.
40261 * posix/regexec.c (check_matching): Likewise.
40262 (clean_state_log_if_needed): Likewise.
40263 (extend_buffers): Don't enlarge buffers beyond size of the input
40264 buffer.
40265 Patches mostly by Emil Wojak <emil@wojak.eu>.
40266 * posix/bug-regex32.c: New file.
40267 * posix/Makefile (tests): Add bug-regex32.
40268
40269 * locale/findlocale.c (_nl_find_locale): Return right away if
40270 _nl_explode_name failed.
40271 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40272
40273 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40274
40275 * debug/xtrace.sh: Unify messages.
40276 * malloc/memusage.sh: Likewise.
40277
40278 [BZ #12813]
40279 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40280 time symbol from vDSO. Substitute with vsyscall if not available.
40281 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40282 __vdso_time.
40283
40284 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40285 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40286 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40287 Add sendmmsg and internal_sendmmsg.
40288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40289 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40290 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40291
40292 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40293 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40294 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40295
40296 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40297
40298 [BZ #12813]
40299 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40300 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40301 available.
40302 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40303 __vdso_getcpu.
40304
40305 [BZ #12814]
40306 * iconvdata/Makefile (tests): Add bug-iconv9.
40307 * iconvdata/bug-iconv9.c: New file.
40308
40309 2011-05-27 Andreas Schwab <schwab@redhat.com>
40310
40311 [BZ #12814]
40312 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40313
40314 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40315
40316 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40317 (struct user_regs_struct): Change intcs field back to cs.
40318
40319 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40320
40321 * po/ja.po: Update from translation team.
40322
40323 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40324
40325 [BZ #12795]
40326 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40327 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40328
40329 2011-05-20 Andreas Schwab <schwab@redhat.com>
40330
40331 * stdlib/longlong.h: Update from GCC.
40332
40333 2011-05-23 Andreas Schwab <schwab@redhat.com>
40334
40335 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40336 parameter name.
40337 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40338 Add parameter name.
40339 (__sysconf): Pass it down.
40340
40341 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40342
40343 [BZ #12671]
40344 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40345 some situations.
40346 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40347 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40348 add in in __libc_use_alloca calls. Adjust callers.
40349 (glob): Use malloc in some situations.
40350
40351 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40352 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40353 pltexit.
40354
40355 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40356
40357 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40358 and CLOCK_BOOTTIME_ALARM.
40359
40360 [BZ #12782]
40361 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40362 is returned.
40363
40364 * string/_strerror.c (__strerror_r): Print negative errors as signed
40365 numbers.
40366
40367 [BZ #12777]
40368 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40369 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40370 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40371
40372 * configure.in: Fix typo in redirection and correct removal of test
40373 files in two cases.
40374
40375 [BZ #12788]
40376 * locale/setlocale.c (new_composite_name): Fix test to check for
40377 identical name of all categories.
40378
40379 [BZ #12792]
40380 * libio/filedoalloc.c (local_isatty): New function.
40381 (_IO_file_doallocate): Use local_isatty.
40382 * stdio-common/perror.c (perror): In case a new stream is used
40383 forward the stream error.
40384 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40385 error flag.
40386
40387 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40388
40389 [BZ #11869]
40390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40391 alloca.
40392 * include/alloca.h (extend_alloca_account): Define.
40393
40394 [BZ #11857]
40395 * posix/regex.h: Fix comments with documentation of user-accessible
40396 fields after compilation and describe correct free'ing of pattern
40397 after re_compile_pattern.
40398 Patch by Reuben Thomas <rrt@sc3d.org>.
40399
40400 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40401
40402 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40403 and -mno-altivec to prevent the compiler from using Altivec and/or
40404 VSX instructions when the corresponding registers are not available.
40405
40406 2011-05-19 Andreas Schwab <schwab@redhat.com>
40407
40408 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40409
40410 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40411
40412 * libio/freopen.c (freopen): Use __dup2, not dup2.
40413 * libio/freopen64.c (freopen64): Likewise.
40414
40415 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40416
40417 [BZ #12775]
40418 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40419 * math/Makefile (tests): Add test-powl.
40420 (CFLAGS-test-powl.c): Define.
40421 * math/test-powl.c: New file.
40422
40423 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40424
40425 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40426
40427 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40428
40429 [BZ #11837]
40430 * iconvdata/gb18030.c: Update to GB18020-2005.
40431
40432 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40433
40434 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40435 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40436 Patch by Aharon Robbins <arnold@skeeve.com>.
40437
40438 [BZ #11892]
40439 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40440 on the stack.
40441
40442 [BZ #11895]
40443 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40444 through underflows.
40445
40446 [BZ #12766]
40447 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40448 point to strings before performing equality test for error_one_per_line
40449 mode.
40450
40451 [BZ #11697]
40452 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40453
40454 [BZ #11820]
40455 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40456 (struct user_fpregs_struct): Avoid __uint*_t types.
40457
40458 [BZ #6420]
40459 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40460 symbol info. Use it instead of calling _dl_addr locally.
40461 (lock_and_info): New function.
40462 (tr_freehook): Call lock_and_info and pass symbol info as additional
40463 parameter to tr_where.
40464 (tr_mallochook): Likewise.
40465 (tr_reallochook): Likewise.
40466 (tr_memalignhook): Likewise.
40467
40468 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40469 used and couldn't be at all thread-safe.
40470
40471 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40472
40473 * libio/freopen.c (freopen): Don't close old file descriptor
40474 before the new one is opened. Instead dup the new file descriptor
40475 to the old one after the new stream is created.
40476 * libio/freopen64.c (freopen64): Likewise.
40477 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40478 * libio/fileops.c (_IO_new_file_close_it): Handle new
40479 _IO_FLAGS2_NOCLOSE flag.
40480 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40481 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40482 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40483 _IO_FLAGS2_NOCLOSE flag.
40484 * include/unistd.h: Add hidden_proto for dup3.
40485 Define __have_dup3.
40486 * io/dup3.c: Define hidden symbol.
40487 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40488
40489 [BZ #7101]
40490 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40491 when an incomplete long option is used.
40492 * posix/tst-getopt_long1.c: New file.
40493 * posix/Makefile (tests): Add tst-getopt_long1.
40494
40495 [BZ #10138]
40496 * scripts/config.guess: Update from autoconf-2.68.
40497 * scripts/config.sub: Likewise.
40498
40499 [BZ #10157]
40500 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40501 tests into ...
40502 (has_cpuclock): ...this. New function.
40503 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40504 macro here based on has_cpuclock code.
40505
40506 [BZ #10149]
40507 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40508 First byte (not low byte) is now always NUL.
40509 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40510
40511 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40512 Use non-cancelable interfaces.
40513
40514 [BZ #9809]
40515 * locale/iso-639.def: Add entry for Sorani.
40516
40517 [BZ #11901]
40518 * include/stdlib.h: Move include protection to the right place.
40519 Define abort_msg_s. Declare __abort_msg with it.
40520 * stdlib/abort.c (__abort_msg): Adjust type.
40521 * assert/assert.c (__assert_fail_base): New function. Majority
40522 of code from __assert_fail. Allocate memory for __abort_msg with
40523 mmap.
40524 (__assert_fail): Now call __assert_fail_base.
40525 * assert/assert-perr.c: Remove bulk of implementation. Use
40526 __assert_fail_base.
40527 * include/assert.hL Declare __assert_fail_base.
40528 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40529 mmap.
40530 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40531
40532 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40533
40534 [BZ #11952]
40535 [BZ #12453]
40536 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40537 until all modules are registered in the DTV.
40538 * elf/Makefile: Add rules to build and run tst-tls19.
40539 * elf/tst-tls19.c: New file.
40540 * elf/tst-tls19mod1.c: New file.
40541 * elf/tst-tls19mod2.c: New file.
40542 * elf/tst-tls19mod3.c: New file.
40543 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40544
40545 [BZ #12083]
40546 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40547 correctly.
40548
40549 [BZ #12601]
40550 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40551 two-byte sequence errors.
40552 * iconvdata/Makefile (tests): Add bug-iconv8.
40553 * iconvdata/bug-iconv8.c: New file.
40554
40555 [BZ #12626]
40556 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40557 buf2 definition.
40558
40559 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40560
40561 [BZ #12432]
40562 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40563 (dummy_getcfa): New function.
40564 (init): Get _Unwind_GetCFA address, use dummy if not found.
40565 (backtrace_helper): In recursion check, also check whether CFA changes.
40566 (__backtrace): Completely initialize arg.
40567
40568 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40569 storing incomplete byte sequence in state object. Avoid testing for
40570 guaranteed too small input if we know there is enough data available.
40571
40572 2011-05-11 Andreas Schwab <schwab@redhat.com>
40573
40574 * Makeconfig (+link-pie): Indent.
40575 * Rules (binaries-pie): Define if $(have-fpie) and
40576 $(build-shared).
40577 (binaries-shared): Also filter out $(binaries-pie).
40578 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40579 * nscd/Makefile (others-pie): Add nscd.
40580 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40581 ($(objpfx)nscd): Remove command override.
40582 * login/Makefile (others-pie): Add pt_chown.
40583 ($(objpfx)pt_chown): Remove command override.
40584 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40585 remove command overrides.
40586
40587 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40588
40589 * libio/tst_putwc.c: Fix error messages.
40590
40591 [BZ #12724]
40592 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40593 currently writing and seek to current position when not.
40594 * libio/Makefile (tests): Add bug-fclose1.
40595 * libio/bug-fclose1.c: New file.
40596
40597 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40598
40599 [BZ #12511]
40600 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40601 don't set DF_1_NODELETE here.
40602 (do_lookup_x): When entering new entry test for copy relocation
40603 and if necessary set DF_1_NODELETE flag.
40604 * elf/tst-unique4.cc: New file.
40605 * elf/tst-unique4.h: New file.
40606 * elf/tst-unique4lib.cc: New file.
40607 * elf/Makefile: Add rules to build and run tst-unique4.
40608 Patch by Piotr Bury <pbury@goahead.com>.
40609
40610 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40611
40612 [BZ #12052]
40613 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40614
40615 [BZ #12625]
40616 * misc/mntent_r.c (addmntent): Flush the stream after the output
40617
40618 [BZ #12393]
40619 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40620 (is_trusted_path_normalize): Skip initial colon. Append slash
40621 to empty buffer. Duplicate is_trusted_path code but allow
40622 constructed patch to be prefix.
40623 (is_dst): Allow $ORIGIN followed by /.
40624 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40625 Correct testing of result of is_trusted_path_normalize
40626 (decompose_rpath): Fix warning.
40627
40628 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40629
40630 [BZ #11257]
40631 * grp/initgroups.c (internal_getgrouplist): When we found the service
40632 list through the initgroups entry in nsswitch.conf do not always
40633 continue on a successful lookup. Don't always use the
40634 __nss_group_database value if it is set.
40635 * nss/nsswitch.conf (initgroups): Change action for successful db
40636 lookup to continue for compatibility.
40637
40638 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40639
40640 [BZ #11532]
40641 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40642 and CP774 modules.
40643 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40644 and CP774 modules.
40645 * iconvdata/tst-tables.sh: Likewise.
40646 * iconvdata/cp770.c: New file.
40647 * iconvdata/cp771.c: New file.
40648 * iconvdata/cp772.c: New file.
40649 * iconvdata/cp773.c: New file.
40650 * iconvdata/cp774.c: New file.
40651 * iconvdata/testdata/CP770: New file.
40652 * iconvdata/testdata/CP770..UTF8: New file.
40653 * iconvdata/testdata/CP771: New file.
40654 * iconvdata/testdata/CP771..UTF8: New file.
40655 * iconvdata/testdata/CP772: New file.
40656 * iconvdata/testdata/CP772..UTF8: New file.
40657 * iconvdata/testdata/CP773: New file.
40658 * iconvdata/testdata/CP773..UTF8: New file.
40659 * iconvdata/testdata/CP774: New file.
40660 * iconvdata/testdata/CP774..UTF8: New file.
40661
40662 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40663 END CHARMAP line.
40664 * iconvdata/gen-8bit-gap.sh: Likewise.
40665 * iconvdata/gen-8bit.sh: Likewise.
40666
40667 * locale/iso-639.def: Add ary entry.
40668
40669 [BZ #11258]
40670 * locale/C-translit.h.in: Add U20A1 transliteration.
40671
40672 [BZ #12178]
40673 * locale/iso-639.def: Add wae entry.
40674 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40675
40676 [BZ #12545]
40677 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40678 for n.
40679
40680 [BZ #12711]
40681 * locale/C-translit.h.in: Add entry for U20B9.
40682 Patch by pravin.d.s@gmail.com.
40683
40684 2011-05-08 Ulrich Drepper <drepper@gmail.com>
40685
40686 [BZ #12713]
40687 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40688 ENAMETOOLONG use generic getcwd.
40689 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40690 in rtld. Use *stat64.
40691 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40692 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40693 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40694 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40695 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40696 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40697 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40698 __fstatat64 macros.
40699 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40700 * dirent/rewinddir.c: Add libc_hidden_def.
40701 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40702 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40703
40704 * include/dirent.h (__alloc_dir): Add flags parameter.
40705 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40706 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40707 __alloc_dir.
40708 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40709 from fdopendir if O_CLOEXEC is already set.
40710
40711 2011-03-15 Alan Modra <amodra@gmail.com>
40712
40713 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40714 l_tls_firstbyte_offset non-zero. Save padding offset in
40715 l_tls_firstbyte_offset for later use.
40716 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40717 freeing static tls block.
40718
40719 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40720
40721 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40722 where #ifdef was intended. The intent is to prevent ARG_MAX from
40723 being defined by the kernel headers.
40724
40725 2011-05-07 Ulrich Drepper <drepper@gmail.com>
40726
40727 [BZ #12734]
40728 * resolv/resolv.h: Define RES_NOTLDQUERY.
40729 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40730 no-tld-query and set RES_NOTLDQUERY.
40731 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40732 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40733 modern BIND to search name as TLD unless forbidden.
40734
40735 2011-05-07 Petr Baudis <pasky@suse.cz>
40736 Ulrich Drepper <drepper@gmail.com>
40737
40738 [BZ #12393]
40739 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40740 (is_trusted_path): ...to here.
40741 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40742 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40743 using is_trusted_path_normalize() in setuid scripts.
40744
40745 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40746
40747 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40748 __BEGIN/__END_DECLS.
40749
40750 2011-05-06 Ulrich Drepper <drepper@gmail.com>
40751
40752 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40753 NSS_STATUS_NOTFOUND if no record was found.
40754
40755 2011-05-05 Andreas Schwab <schwab@redhat.com>
40756
40757 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40758 (headers-not-in-tirpc): Remove rpc/netdb.h
40759 * resolv/netdb.h: Revert last change.
40760
40761 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40762
40763 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40764 circular dependency between libgcc.a and libc.a.
40765
40766 2011-05-05 Andreas Schwab <schwab@redhat.com>
40767
40768 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40769 * nis/Makefile: Don't install rpcsvc/*.
40770 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40771 instead of <rpc/types.h>.
40772 (MAXHOSTNAMELEN): Define.
40773
40774 2011-05-03 Andreas Schwab <schwab@redhat.com>
40775
40776 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40777
40778 2011-04-28 Maciej Babinski <mbabinski@google.com>
40779
40780 [BZ #12714]
40781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40782 gethostbyname4_r when IPv6 results are possible.
40783
40784 2011-05-02 Ulrich Drepper <drepper@gmail.com>
40785
40786 [BZ #12723]
40787 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40788 _PC_PIPE_BUF handling.
40789
40790 2011-04-30 Bruno Haible <bruno@clisp.org>
40791
40792 [BZ #12717]
40793 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40794 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40795 to 'int'.
40796 * inet/getnameinfo.c (getnameinfo): Likewise.
40797
40798 2011-04-29 Ulrich Drepper <drepper@gmail.com>
40799
40800 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40801 to groups setting in database lookup.
40802 * nss/nsswitch.conf: Add initgroups entry.
40803
40804 2011-04-22 Ulrich Drepper <drepper@gmail.com>
40805
40806 [BZ #12685]
40807 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40808 mode string.
40809 Patch by Eric Blake <eblake@redhat.com>.
40810
40811 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40812
40813 * sunrpc/Makefile (need-export-routines): Add svc_run.
40814 (routines): Remove svc_run.
40815 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40816 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40817 * sunrpc/svc_run.c (svc_run): Likewise.
40818 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40819
40820 2011-04-21 Ulrich Drepper <drepper@gmail.com>
40821
40822 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40823 problem in reallocation in last patch.
40824
40825 2011-04-20 Ulrich Drepper <drepper@gmail.com>
40826
40827 * sunrpc/Makefile: Move inclusion of Rules.
40828
40829 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40830
40831 * nss/nss_files/files-initgroups.c: New file.
40832 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40833 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40834 _nss_files_initgroups_dyn.
40835
40836 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40837
40838 * elf/elf.h (R_ARM_IRELATIVE): Define.
40839
40840 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40841
40842 * po/ru.po: Update from translation team.
40843
40844 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40845
40846 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40847 dependencies.
40848
40849 2011-02-06 Mike Frysinger <vapier@gentoo.org>
40850
40851 [BZ #12653]
40852 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40853 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40855 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40856 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40857
40858 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40859
40860 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40861 differing bytes.
40862 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40863 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40864 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40865
40866 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40867
40868 [BZ #12420]
40869 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40870 storing it.
40871 * stdlib/bug-getcontext.c: New file.
40872 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40873
40874 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40875
40876 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40877 instructions into .machine "z9-109".
40878 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40879 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40880
40881 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40882
40883 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40884 between environment variables and auxiliary vector.
40885
40886 2011-04-16 Ulrich Drepper <drepper@gmail.com>
40887
40888 * Makefile: Add rules to build linkobj/libc.so.
40889 * include/libc-symbols.h: Define libc_hidden_nolink.
40890 * include/rpc/auth.h: Mark functions which are to be hidden.
40891 * include/rpc/auth_des.h: Likewise.
40892 * include/rpc/auth_unix.h: Likewise.
40893 * include/rpc/clnt.h: Likewise.
40894 * include/rpc/des_crypt.h: Likewise.
40895 * include/rpc/key_prot.h: Likewise.
40896 * include/rpc/pmap_clnt.h: Likewise.
40897 * include/rpc/pmap_prot.h: Likewise.
40898 * include/rpc/pmap_rmt.h: Likewise.
40899 * include/rpc/rpc_msg.h: Likewise.
40900 * include/rpc/svc.h: Likewise.
40901 * include/rpc/svc_auth.h: Likewise.
40902 * include/rpc/xdr.h: Likewise.
40903 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40904 * nss/Makefile: Likewise.
40905 * sunrpc/Makefile: Don't install headers. Build library with normal
40906 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40907 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40908 for the compat linking library. Remove use of INTDEF/INTUSE.
40909 * sunrpc/auth_none.c: Likewise.
40910 * sunrpc/auth_unix.c: Likewise.
40911 * sunrpc/authdes_prot.c: Likewise.
40912 * sunrpc/authuxprot.c: Likewise.
40913 * sunrpc/clnt_gen.c: Likewise.
40914 * sunrpc/clnt_perr.c: Likewise.
40915 * sunrpc/clnt_raw.c: Likewise.
40916 * sunrpc/clnt_simp.c: Likewise.
40917 * sunrpc/clnt_tcp.c: Likewise.
40918 * sunrpc/clnt_udp.c: Likewise.
40919 * sunrpc/clnt_unix.c: Likewise.
40920 * sunrpc/des_crypt.c: Likewise.
40921 * sunrpc/des_soft.c: Likewise.
40922 * sunrpc/get_myaddr.c: Likewise.
40923 * sunrpc/key_call.c: Likewise.
40924 * sunrpc/key_prot.c: Likewise.
40925 * sunrpc/netname.c: Likewise.
40926 * sunrpc/pm_getmaps.c: Likewise.
40927 * sunrpc/pm_getport.c: Likewise.
40928 * sunrpc/pmap_clnt.c: Likewise.
40929 * sunrpc/pmap_prot.c: Likewise.
40930 * sunrpc/pmap_prot2.c: Likewise.
40931 * sunrpc/pmap_rmt.c: Likewise.
40932 * sunrpc/publickey.c: Likewise.
40933 * sunrpc/rpc_cmsg.c: Likewise.
40934 * sunrpc/rpc_common.c: Likewise.
40935 * sunrpc/rpc_dtable.c: Likewise.
40936 * sunrpc/rpc_prot.c: Likewise.
40937 * sunrpc/rpc_thread.c: Likewise.
40938 * sunrpc/rtime.c: Likewise.
40939 * sunrpc/svc.c: Likewise.
40940 * sunrpc/svc_auth.c: Likewise.
40941 * sunrpc/svc_authux.c: Likewise.
40942 * sunrpc/svc_raw.c: Likewise.
40943 * sunrpc/svc_run.c: Likewise.
40944 * sunrpc/svc_simple.c: Likewise.
40945 * sunrpc/svc_tcp.c: Likewise.
40946 * sunrpc/svc_udp.c: Likewise.
40947 * sunrpc/svc_unix.c: Likewise.
40948 * sunrpc/svcauth_des.c: Likewise.
40949 * sunrpc/xcrypt.c: Likewise.
40950 * sunrpc/xdr.c: Likewise.
40951 * sunrpc/xdr_array.c: Likewise.
40952 * sunrpc/xdr_float.c: Likewise.
40953 * sunrpc/xdr_intXX_t.c: Likewise.
40954 * sunrpc/xdr_mem.c: Likewise.
40955 * sunrpc/xdr_rec.c: Likewise.
40956 * sunrpc/xdr_ref.c: Likewise.
40957 * sunrpc/xdr_sizeof.c: Likewise.
40958 * sunrpc/xdr_stdio.c: Likewise.
40959
40960 2011-04-10 Ulrich Drepper <drepper@gmail.com>
40961
40962 [BZ #12650]
40963 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40964 * sysdeps/ia64/dl-tls.h: Likewise.
40965 * sysdeps/powerpc/dl-tls.h: Likewise.
40966 * sysdeps/s390/dl-tls.h: Likewise.
40967 * sysdeps/sh/dl-tls.h: Likewise.
40968 * sysdeps/sparc/dl-tls.h: Likewise.
40969 * sysdeps/x86_64/dl-tls.h: Likewise.
40970 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40971
40972 2011-03-14 Andreas Schwab <schwab@redhat.com>
40973
40974 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40975 rpath element also skip the following colon.
40976 (expand_dynamic_string_token): Add is_path parameter and pass
40977 down to DL_DST_REQUIRED and _dl_dst_substitute.
40978 (decompose_rpath): Call expand_dynamic_string_token with
40979 non-zero is_path. Ignore empty rpaths.
40980 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40981 with zero is_path.
40982
40983 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40984
40985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40986 Make cancelable.
40987
40988 2011-04-09 Ulrich Drepper <drepper@gmail.com>
40989
40990 [BZ #12655]
40991 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40992 Patch by Filipe David Manana <fdmanana@apache.org>.
40993
40994 2011-04-07 Andreas Schwab <schwab@redhat.com>
40995
40996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40997 Maintain aligned stack.
40998 (CHECK_RSP): Remove unused macro.
40999
41000 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41001
41002 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41003 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41004
41005 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41006
41007 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41008
41009 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41010
41011 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41012
41013 [BZ #12518]
41014 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41015 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41016 * sysdeps/x86_64/memmove.c: New file.
41017 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41018 (memcpy): Renamed to ...
41019 (__new_memcpy): This.
41020 (memcpy): Provide GLIBC_2_14 memcpy.
41021 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41022 (memcpy): Provide GLIBC_2_2_5 memcpy.
41023
41024 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41025
41026 [BZ #12631]
41027 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41028
41029 2011-03-30 Andreas Schwab <schwab@redhat.com>
41030
41031 * misc/syncfs.c: New file.
41032 * misc/Makefile (routines): Add syncfs.
41033 * posix/unistd.h: Declare syncfs.
41034 * sysdeps/unix/syscalls.list: Add syncfs.
41035
41036 2011-04-01 Andreas Schwab <schwab@redhat.com>
41037
41038 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41039 open_by_handle_at.
41040 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41041 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41043 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41044 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41045 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41047
41048 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41049
41050 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41051 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41052 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41053 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41054 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41055 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41056 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41057
41058 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41059 sync_file_range.c with -fexceptions.
41060 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41061 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41062 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41063 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41064 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41065 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41066 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41067 sync_file_range as cancellation point
41068 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41069 now a wrapper around __call_sync_file_range with cancellation handling.
41070 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41071 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41072 function name to __call_sync_file_range.
41073 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41074 Add call_sync_file_range.
41075
41076 2011-04-01 Andreas Schwab <schwab@redhat.com>
41077
41078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41079 bits/timex.h.
41080
41081 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41082
41083 * iconv/iconv.h: Fix typo in comment.
41084 * io/fcntl.h: Likewise.
41085 * libio/stdio.h: Likewise.
41086 * posix/spawn.h: Likewise.
41087 * posix/unistd.h: Likewise.
41088 * stdlib/stdlib.h: Likewise.
41089 * time/time.h: Likewise.
41090 * wcsmbs/wchar.h: Likewise.
41091
41092 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41093 open_by_handle): Add.
41094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41095 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41096 Augment a few comments.
41097 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41102 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41103 open_by_handle.
41104
41105 * io/fcntl.h (AT_EMPTY_PATH): Define.
41106
41107 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41108
41109 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41110 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41111 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41112 to...
41113 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41114 * Versions.def: Add GLIBC_2.14.
41115 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41116 Export.
41117
41118 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41119
41120 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41121 round counter.
41122 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41123
41124 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41125
41126 [BZ #12597]
41127 * string/test-strncmp.c (do_page_test): New function.
41128 (check2): Likewise.
41129 (test_main): Call check2.
41130 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41131
41132 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41133
41134 [BZ #12587]
41135 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41136 Handle cache information in CPU leaf 4.
41137 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41138
41139 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41140
41141 [BZ #12583]
41142 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41143 character representation.
41144 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41145
41146 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41147
41148 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41149 END(__isnan) to END(__isnanf) to match function entry point/label
41150 EALIGN(__isnanf,...).
41151
41152 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41153
41154 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41155
41156 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41157
41158 [BZ #12510]
41159 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41160 copy from the symbol referenced in the relocation to initialize the
41161 used variable.
41162 Patch by Piotr Bury <pbury@goahead.com>.
41163 * elf/Makefile: Add rules to build and tst-unique3.
41164 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41165 * elf/tst-unique3.cc: New file.
41166 * elf/tst-unique3.h: New file.
41167 * elf/tst-unique3lib.cc: New file.
41168 * elf/tst-unique3lib2.cc: New file.
41169
41170 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41171
41172 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41173
41174 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41175 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41176 to _start.
41177
41178 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41179
41180 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41181 to-be-loaded object along a path to loader is ld.so.
41182
41183 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41184 Ulrich Drepper <drepper@gmail.com>
41185
41186 * sysdeps/x86_64/memset.S: After aligning destination, code
41187 branches to different locations depending on the value of
41188 misalignment, when multiarch is enabled. Fix this.
41189
41190 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41191
41192 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41193 Set _x86_64_preferred_memory_instruction for AMD processsors.
41194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41195 Set bit_Prefer_SSE_for_memop for AMD processors.
41196
41197 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41198
41199 * libio/fmemopen.c (fmemopen): Optimize a bit.
41200
41201 2011-03-03 Andreas Schwab <schwab@redhat.com>
41202
41203 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41204
41205 2011-03-03 Roland McGrath <roland@redhat.com>
41206
41207 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41208
41209 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41210
41211 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41212 __bzero_ultra1 instead of __memset_ultra1.
41213
41214 2011-02-23 Andreas Schwab <schwab@redhat.com>
41215 Ulrich Drepper <drepper@gmail.com>
41216
41217 [BZ #12509]
41218 * include/link.h (struct link_map): Add l_orig_initfini.
41219 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41220 returning unsuccessfully.
41221 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41222 close of a file loaded at startup, restore the original l_initfini
41223 list.
41224 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41225 list, store the pointer.
41226 * elf/Makefile ($(objpfx)noload-mem): New rule.
41227 (noload-ENV): Define.
41228 (tests): Add $(objpfx)noload-mem.
41229 * elf/noload.c: Include <memcheck.h>.
41230 (main): Call mtrace. Close all opened handles.
41231
41232 2011-02-17 Andreas Schwab <schwab@redhat.com>
41233
41234 [BZ #12454]
41235 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41236 dependencies are missing.
41237
41238 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41239
41240 Fix __if_freereq crash: Unlike the generic version which uses free,
41241 Hurd needs munmap.
41242 * sysdeps/mach/hurd/ifreq.h: New file.
41243
41244 2011-01-27 Petr Baudis <pasky@suse.cz>
41245 Ulrich Drepper <drepper@gmail.com>
41246
41247 [BZ 12445]#
41248 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41249 to extend_alloca().
41250 * stdio-common/bug23.c: New file.
41251 * stdio-common/Makefile (tests): Add bug23.
41252
41253 2010-09-28 Andreas Schwab <schwab@redhat.com>
41254 Ulrich Drepper <drepper@gmail.com>
41255
41256 [BZ #12489]
41257 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41258 before performing relro protection. At old place add assertion
41259 to make sure nothing changed.
41260
41261 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41262 Glauber de Oliveira Costa <glommer@gmail.com>
41263
41264 * elf/elf.h: Add new ARM TLS relocs.
41265
41266 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41267
41268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41269 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41270 cast from r3.
41271 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41272 'tests' variable.
41273 * sysdeps/wordsize-64/tst-writev.c: New file.
41274
41275 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41276
41277 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41278 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41279 insns in _dl_start to prevent a TOC reference before relocs are
41280 resolved.
41281
41282 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41283
41284 [BZ #12469]
41285 * Makeconfig: Remove RANLIB definition.
41286 * Makerules: Don't use RANLIB.
41287 * aclocal.m4: Remove ranlib test.
41288 * configure.in: No need to check for ranlib.
41289 * elf/rtld-Rules: Don't use RANLIB.
41290
41291 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41292
41293 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41294 protection macro.
41295 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41296 inclusion protection macro.
41297
41298 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41299 SIGRTMIN and SIGRTMAX and print information in that case only when
41300 SIGRTMIN is defined.
41301
41302 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41303
41304 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41305 arginfo fn returning -1.
41306
41307 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41308 and thousands string is zero terminated.
41309
41310 2011-02-03 Andreas Schwab <schwab@redhat.com>
41311
41312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41313 sysdeps/unix/sysv/linux/bits/socket.h.
41314
41315 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41316
41317 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41318 (__CPU_COUNT): Remove old macros.
41319 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41320 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41321 (__CPU_ALLOC, __CPU_FREE): Add macros.
41322 (__sched_cpualloc, __sched_cpufree): Add declarations.
41323
41324 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41325
41326 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41327 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41328 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41329 (readdhstai): Return value of addhstaiX call.
41330 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41331 (addgrbyX): Return value returned by cache_addgr.
41332 (readdgrbyname): Return value returned by addgrbyX.
41333 (readdgrbygid): Likewise.
41334 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41335 (addpwbyX): Return value returned by cache_addpw.
41336 (readdpwbyname): Return value returned by addhstbyX.
41337 (readdpwbyuid): Likewise.
41338 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41339 (addservbyX): Return value returned by cache_addserv.
41340 (readdservbyname): Return value returned by addservbyX:
41341 (readdservbyport): Likewise.
41342 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41343 (addhstbyX): Return value returned by cache_addhst.
41344 (readdhstbyname): Return value returned by addhstbyX.
41345 (readdhstbyaddr): Likewise.
41346 (readdhstbynamev6): Likewise.
41347 (readdhstbyaddrv6): Likewise.
41348 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41349 (readdinitgroups): Return value returned by addinitgroupsX.
41350 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41351 (prune_cache): Keep track of timeout value of re-added entries.
41352 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41353 * nscd/nscd.h: Adjust prototypes of readd* functions.
41354
41355 2011-02-04 Roland McGrath <roland@redhat.com>
41356
41357 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41358 (nis_stats): Likewise.
41359 * nis/nis_modify.c (nis_modify): Likewise.
41360 * nis/nis_remove.c (nis_remove): Likewise.
41361 * nis/nis_add.c (nis_add): Likewise.
41362
41363 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41364
41365 * posix/fnmatch_loop.c: Add some consts.
41366
41367 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41368
41369 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41370
41371 [BZ #12460]
41372 * config.make.in (config-cflags-novzeroupper): Define.
41373 * configure.in: Substitute libc_cv_cc_novzeroupper.
41374 * elf/Makefile (AVX-CFLAGS): Define.
41375 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41376 (CFLAGS-tst-auditmod4a.c): Likewise.
41377 (CFLAGS-tst-auditmod4b.c): Likewise.
41378 (CFLAGS-tst-auditmod6b.c): Likewise.
41379 (CFLAGS-tst-auditmod6c.c): Likewise.
41380 (CFLAGS-tst-auditmod7b.c): Likewise.
41381 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41382
41383 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41384
41385 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41386 function to the callback.
41387 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41388
41389 2011-02-02 Andreas Schwab <schwab@redhat.com>
41390
41391 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41392 of errno.
41393
41394 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41395
41396 [BZ #11724]
41397 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41398 of constructors.
41399 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41400 of destructors.
41401 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41402
41403 [BZ #11724]
41404 * elf/Makefile: Add rules to build and run new test.
41405 * elf/tst-initorder.c: New file.
41406 * elf/tst-initorder.exp: New file.
41407 * elf/tst-initordera1.c: New file.
41408 * elf/tst-initordera2.c: New file.
41409 * elf/tst-initordera3.c: New file.
41410 * elf/tst-initordera4.c: New file.
41411 * elf/tst-initorderb1.c: New file.
41412 * elf/tst-initorderb2.c: New file.
41413 * elf/tst-order-a1.c: New file.
41414 * elf/tst-order-a2.c: New file.
41415 * elf/tst-order-a3.c: New file.
41416 * elf/tst-order-a4.c: New file.
41417 * elf/tst-order-b1.c: New file.
41418 * elf/tst-order-b2.c: New file.
41419 * elf/tst-order-main.c: New file.
41420 New test case by George Gensure <werkt0@gmail.com>.
41421
41422 2010-10-01 Andreas Schwab <schwab@redhat.com>
41423
41424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41425 decoding ACE if AI_CANONIDN.
41426
41427 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41428
41429 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41430
41431 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41432
41433 * version.h (RELEASE): Bump for 2.13 release.
41434 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41435
41436 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41437
41438 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41439 MADV_NOHUGEPAGE.
41440 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41441 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41442 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41443 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41444 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41445 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41446
41447 * posix/getconf.c: Update copyright year.
41448 * catgets/gencat.c: Likewise.
41449 * csu/version.c: Likewise.
41450 * debug/catchsegv.sh: Likewise.
41451 * debug/xtrace.sh: Likewise.
41452 * elf/ldconfig.c: Likewise.
41453 * elf/ldd.bash.in: Likewise.
41454 * elf/sprof.c (print_version): Likewise.
41455 * iconv/iconv_prog.c: Likewise.
41456 * iconv/iconvconfig.c: Likewise.
41457 * locale/programs/locale.c: Likewise.
41458 * locale/programs/localedef.c: Likewise.
41459 * malloc/memusage.sh: Likewise.
41460 * malloc/mtrace.pl: Likewise.
41461 * nscd/nscd.c (print_version): Likewise.
41462 * nss/getent.c: Likewise.
41463
41464 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41465 PF_CAIF, and PF_ALG.
41466 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41467
41468 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41469
41470 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41471 (modules-names): Use them.
41472 (ifunc-test-modules, ifunc-pie-tests): Define.
41473 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41474 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41475 (test-extras): Likewise.
41476 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41477 $(compile-command.c).
41478 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41479 (all-built-dso): Define.
41480 (check-textrel.out, check-execstack.out): Depend on it.
41481
41482 * configure.in: Don't override --enable-multi-arch.
41483
41484 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41485
41486 [BZ #6812]
41487 * nscd/hstcache.c (tryagain): Define.
41488 (cache_addhst): Return tryagain not notfound for temporary errors.
41489 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41490 failed.
41491
41492 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41493
41494 [BZ #10563]
41495 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41496 to make the syscall.
41497 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41498
41499 [BZ #12378]
41500 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41501 and fall back to matching as normal character if the string ends before
41502 the matching ']' is found. This is what POSIX requires.
41503 * posix/testfnm.c: Adjust test result.
41504 * posix/globtest.sh: Adjust test result. Add new test.
41505 * posix/tst-fnmatch.input: Likewise.
41506 * posix/tst-fnmatch2.c: Add new test.
41507
41508 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41509
41510 * elf/Makefile (check-execstack): Revert last change. Depend on
41511 check-execstack.h.
41512 (check-execstack.h): New target.
41513 (generated): Add check-execstack.h.
41514 * elf/check-execstack.c: Include "check-execstack.h".
41515 (main): Revert last change.
41516 (handle_file): Return zero if GNU_STACK is absent and
41517 DEFAULT_STACK_PERMS doesn't include PF_X.
41518
41519 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41520
41521 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41522 in child fails because the descriptor is already closed.
41523 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41524 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41525 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41526
41527 [BZ #12397]
41528 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41529 syscall.
41530
41531 [BZ #10484]
41532 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41533 temporary buffer used to handle multi lookups locally.
41534 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41535
41536 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41537
41538 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41539 loader is ld.so.
41540
41541 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41542
41543 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41544 alignment for SSE2.
41545
41546 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41547
41548 [BZ #12394]
41549 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41550 characters. When rounding increased number of integer digits recompute
41551 number of groups.
41552 * stdio-common/tst-grouping.c: New file.
41553 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41554
41555 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41556
41557 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41558 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41559
41560 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41561 void.
41562 * bits/select.h: Likewise.
41563
41564 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41565
41566 * po/ja.po: Update from translation team.
41567
41568 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41569
41570 [BZ #11155]
41571 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41572 implementation just like for lxstat, fxstatat, et al.
41573
41574 2010-12-27 Jim Meyering <meyering@redhat.com>
41575
41576 [BZ #12348]
41577 * posix/regexec.c (build_trtable): Return failure indication upon
41578 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41579
41580 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41581
41582 [BZ #12201]
41583 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41584 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41585 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41586 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41587
41588 [BZ #12207]
41589 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41590
41591 [BZ #12204]
41592 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41593 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41594
41595 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41596
41597 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41598 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41599 script has SORT_BY_INIT_PRIORITY.
41600 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41601 NO_CTORS_DTORS_SECTIONS is defined.
41602 * elf/soinit.c: Likewise.
41603 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41604 NO_CTORS_DTORS_SECTIONS is defined.
41605 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41606 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41607 * sysdeps/sh/init-first.c: Likewise.
41608 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41609
41610 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41611
41612 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41613 always use the slow path.
41614
41615 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41616
41617 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41618 similar rule which adds the sysdep directories to the header search in
41619 order to pick up the correct platform stackinfo.h.
41620 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41621 perform test if it is, otherwise return successfully without testing.
41622 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41623 DEFAULT_STACK_PERMS define in stackinfo.h.
41624 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41625 defined in stackinfo.h.
41626 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41627 DEFAULT_STACK_PERMS defined in stackinfo.h.
41628 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41629 * sysdeps/ia64/stackinfo.h: Likewise.
41630 * sysdeps/s390/stackinfo.h: Likewise.
41631 * sysdeps/sh/stackinfo.h: Likewise.
41632 * sysdeps/sparc/stackinfo.h: Likewise.
41633 * sysdeps/x86_64/stackinfo.h: Likewise.
41634 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41635 PF_X for powerpc64. Retain PF_X for powerpc32.
41636
41637 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41638
41639 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41640 accurately.
41641 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41642 GETDENTS_64BIT_ALIGNED.
41643
41644 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41645
41646 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41647
41648 2010-12-10 Andreas Schwab <schwab@redhat.com>
41649
41650 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41651 _GNU_SOURCE.
41652
41653 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41654 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41655 Remove __restrict.
41656 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41657 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41658
41659 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41660
41661 [BZ #11655]
41662 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41663 are initialized.
41664
41665 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41666
41667 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41668
41669 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41670
41671 * po/it.po: Update from translation team.
41672
41673 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41674
41675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41676 unused codes.
41677
41678 2010-11-30 Ulrich Drepper <drepper@gmail.com>
41679
41680 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41681
41682 2010-11-24 Andreas Schwab <schwab@redhat.com>
41683
41684 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41685 specially.
41686 (gaih_getanswer_slice): Likewise.
41687
41688 2010-10-20 Jakub Jelinek <jakub@redhat.com>
41689
41690 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41691
41692 2010-05-31 Petr Baudis <pasky@suse.cz>
41693
41694 [BZ #11149]
41695 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41696 silently even in the chroot mode.
41697
41698 2010-11-22 Ulrich Drepper <drepper@gmail.com>
41699
41700 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41701 last patch a bit. Pretty printing
41702
41703 2010-05-31 Petr Baudis <pasky@suse.cz>
41704
41705 [BZ #10085]
41706 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41707 initialization of skip_initgroups_dyn.
41708
41709 2010-11-19 Ulrich Drepper <drepper@gmail.com>
41710
41711 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41712 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41713
41714 2010-11-16 Ulrich Drepper <drepper@gmail.com>
41715
41716 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41717
41718 2010-11-11 Andreas Schwab <schwab@redhat.com>
41719
41720 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41721 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41722 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41723 ($(objpfx)tst-fnmatch-mem): New rule.
41724 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41725 * posix/tst-fnmatch.c (main): Call mtrace.
41726
41727 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41728
41729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41730 Support Intel processor model 6 and model 0x2c.
41731
41732 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
41733
41734 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41735 signed comparison.
41736
41737 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41738
41739 [BZ #12205]
41740 * string/test-strncasecmp.c (check_result): New function.
41741 (do_one_test): Use it.
41742 (check1): New function.
41743 (test_main): Use it.
41744 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41745 Support strcasecmp and strncasecmp.
41746
41747 2010-11-08 Ulrich Drepper <drepper@gmail.com>
41748
41749 [BZ #12194]
41750 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41751 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41752
41753 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41754
41755 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41756 IFUNC support.
41757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41758 memset-x86-64.
41759 * sysdeps/x86_64/multiarch/bzero.S: New file.
41760 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41761 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41762 * sysdeps/x86_64/multiarch/memset.S: New file.
41763 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41765 Set bit_Prefer_SSE_for_memop for Intel processors.
41766 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41767 Define.
41768 (index_Prefer_SSE_for_memop): Define.
41769 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41770
41771 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
41772
41773 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41774 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41775
41776 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41777
41778 [BZ #12191]
41779 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41780 (__x86_64_raw_data_cache_size_half): Likewise.
41781 (__x86_64_raw_shared_cache_size): Likewise.
41782 (__x86_64_raw_shared_cache_size_half): Likewise.
41783
41784 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41785 (__x86_64_raw_data_cache_size_half): Likewise.
41786 (__x86_64_raw_shared_cache_size): Likewise.
41787 (__x86_64_raw_shared_cache_size_half): Likewise.
41788 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41789 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41790 and __x86_64_raw_shared_cache_size_half. Round
41791 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41792 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41793 to multiple of 256 bytes.
41794
41795 2010-11-03 Ulrich Drepper <drepper@gmail.com>
41796
41797 [BZ #12167]
41798 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41799 of inacessible symlinks. Verify result of symlink before returning it.
41800 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41801 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41802
41803 2010-10-28 Erich Ritz <erichritz@gmail.com>
41804
41805 * math/math.h (isinf): Fix typo in comment.
41806
41807 2010-11-01 Ulrich Drepper <drepper@gmail.com>
41808
41809 * po/da.po: Update from translation team.
41810
41811 2010-10-26 Ulrich Drepper <drepper@gmail.com>
41812
41813 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41814 is added to the list.
41815
41816 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41817 Ulrich Drepper <drepper@gmail.com>
41818
41819 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41820 the global list here. Move code to...
41821 (_dl_add_to_namespace_list): ...here. New function.
41822 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41823 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41824 * elf/dl-load.c (lose): Don't remove the element from the list.
41825 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41826 (_dl_map_object): Likewise.
41827
41828 2010-10-25 Ulrich Drepper <drepper@gmail.com>
41829
41830 [BZ #12159]
41831 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41832 into all bytes of SSE register.
41833 Patch by Richard Li <richardpku@gmail.com>.
41834
41835 2010-10-24 Ulrich Drepper <drepper@gmail.com>
41836
41837 [BZ #12140]
41838 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41839 perturbing.
41840
41841 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41842
41843 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41844 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41845 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41846 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41848 submachine.
41849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41850
41851 2010-10-22 Andreas Schwab <schwab@redhat.com>
41852
41853 * include/dlfcn.h (__RTLD_SECURE): Define.
41854 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41855 mode & __RTLD_SECURE instead.
41856 (open_path): Rename preloaded parameter to secure.
41857 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41858 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41859 * elf/dl-deps.c (openaux): Likewise.
41860 * elf/rtld.c (struct map_args): Remove is_preloaded.
41861 (map_doit): Don't use it.
41862 (dl_main): Likewise.
41863 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41864 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41865
41866 2010-09-09 Andreas Schwab <schwab@redhat.com>
41867
41868 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41869 (sysd-rules-targets): Remove duplicates.
41870 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41871 rtld-%.$o dependency.
41872
41873 2010-10-18 Andreas Schwab <schwab@redhat.com>
41874
41875 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41876 _dl_map_object do it.
41877
41878 2010-10-19 Ulrich Drepper <drepper@gmail.com>
41879
41880 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41881 fast fma builtins, define the macros in the C99 standard.
41882 (FP_FAST_FMAF): Likewise.
41883 (FP_FAST_FMAL): Likewise.
41884 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41885
41886 * bits/mathdef.h: Update copyright year.
41887 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41888
41889 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41890
41891 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41892 builtins, define the macros in the C99 standard.
41893 (FP_FAST_FMAF): Likewise.
41894 (FP_FAST_FMAL): Likewise.
41895 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41896 multiply/add.
41897 (FP_FAST_FMAF): Likewise.
41898
41899 2010-10-15 Jakub Jelinek <jakub@redhat.com>
41900
41901 [BZ #3268]
41902 * math/libm-test.inc (fma_test): Some new testcases.
41903 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41904 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41905 y and infinite z. Do multiplication by C already in long double.
41906 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41908 y and infinite z. Do bitwise or of inexact bit into u.d.
41909 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41910 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41911 * sysdeps/i386/fpu/s_fma.S: Removed.
41912 * sysdeps/i386/fpu/s_fmal.S: Removed.
41913
41914 2010-10-16 Jakub Jelinek <jakub@redhat.com>
41915
41916 [BZ #3268]
41917 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41919 computation is not scheduled after fetestexcept. Fix value
41920 of minimum denormal long double.
41921
41922 2010-10-14 Jakub Jelinek <jakub@redhat.com>
41923
41924 [BZ #3268]
41925 * math/libm-test.inc (fma_test): Add some more tests.
41926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41927 correctly.
41928
41929 2010-10-15 Andreas Schwab <schwab@redhat.com>
41930
41931 * scripts/data/localplt-s390-linux-gnu.data: New file.
41932 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41933
41934 2010-10-13 Jakub Jelinek <jakub@redhat.com>
41935
41936 [BZ #3268]
41937 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41938 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41939 instead of dbl-64.
41940 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41941 inlines.
41942 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41944 if one of x and y is very large and the other is subnormal.
41945 * sysdeps/s390/fpu/s_fmaf.c: New file.
41946 * sysdeps/s390/fpu/s_fma.c: New file.
41947 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41948 * sysdeps/powerpc/fpu/s_fma.S: New file.
41949 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41950 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41951 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41952
41953 2010-10-12 Jakub Jelinek <jakub@redhat.com>
41954
41955 [BZ #3268]
41956 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41957 fma tests.
41958 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41959 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41960 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41961 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41962 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41963 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41964 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41965
41966 2010-10-12 Ulrich Drepper <drepper@redhat.com>
41967
41968 [BZ #12078]
41969 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41970 * posix/bug-regex31.input: Add test case.
41971
41972 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41973
41974 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41975 * posix/bug-regex31.input: New file.
41976
41977 [BZ #12078]
41978 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41979 (parse_sub_exp): Fix last change, use postorder.
41980
41981 * posix/bug-regex31.c: New file.
41982 * posix/Makefile: Add rules to build and run bug-regex31.
41983
41984 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41985
41986 [BZ #12078]
41987 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41988
41989 [BZ #12108]
41990 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41991 to have entries in sys_siglist.
41992
41993 [BZ #12093]
41994 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41995 be NULL.
41996
41997 2010-10-07 Jakub Jelinek <jakub@redhat.com>
41998
41999 [BZ #3268]
42000 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42001 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42002 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42003 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42004 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42005 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42006 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42007 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42008 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42009 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42010 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42011 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42012 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42013 * math/ftestexcept.c (fetestexcept): Likewise.
42014 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42015 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42016 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42017 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42018 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42019 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42020 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42021
42022 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42023
42024 [BZ #12107]
42025 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42026 newline.
42027
42028 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42029
42030 * string/bug-strstr1.c: New file.
42031 * string/Makefile: Add rules to build and run bug-strstr1.
42032
42033 2010-10-05 Eric Blake <eblake@redhat.com>
42034
42035 [BZ #12092]
42036 * string/str-two-way.h (two_way_long_needle): Always clear memory
42037 when skipping input due to the shift table.
42038
42039 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42040
42041 [BZ #12005]
42042 * malloc/mcheck.c: Handle large requests.
42043
42044 [BZ #12077]
42045 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42046 for strncmp and strncasecmp.
42047 * string/stratcliff.c: Add tests for strcmp and strncmp.
42048 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42049
42050 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42051
42052 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42053 __set_fpscr.
42054
42055 2010-09-30 Andreas Jaeger <aj@suse.de>
42056
42057 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42058 (CGROUP_SUPER_MAGIC): Define.
42059 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42060 Handle btrfs and cgroup file systems.
42061 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42062 Likewise.
42063
42064 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42065
42066 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42067 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42068
42069 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42070
42071 [BZ #12067]
42072 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42073 trying to locate the ELF header.
42074
42075 2010-09-27 Andreas Schwab <schwab@redhat.com>
42076
42077 [BZ #11611]
42078 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42079 Mask out sign-bit copies when constructing f_fsid.
42080
42081 2010-09-24 Petr Baudis <pasky@suse.cz>
42082
42083 * debug/stack_chk_fail_local.c: Add missing licence exception.
42084 * debug/warning-nop.c: Likewise.
42085
42086 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42087
42088 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42089 implementing getdents64 using getdents syscall, set d_type if
42090 __ASSUME_GETDENTS32_D_TYPE.
42091
42092 2010-09-16 Andreas Schwab <schwab@redhat.com>
42093
42094 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42095 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42096
42097 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42098
42099 [BZ #12037]
42100 * posix/unistd.h: Undo change of feature selection for ftruncate from
42101 2010-01-11.
42102
42103 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42104
42105 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42106 detection.
42107
42108 2010-09-20 Andreas Schwab <schwab@redhat.com>
42109
42110 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42111 fanotify_mark.
42112 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42113
42114 2010-09-14 Andreas Schwab <schwab@redhat.com>
42115
42116 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42117 variables after CHECK_SP call.
42118 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42119
42120 2010-09-13 Andreas Schwab <schwab@redhat.com>
42121 Ulrich Drepper <drepper@redhat.com>
42122
42123 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42124 re-relocationg ld.so.
42125 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42126 _dl_init_paths call.
42127 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42128 here anymore.
42129
42130 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42131
42132 * resolv/res_init.c (__res_vinit): Count the default server we added.
42133
42134 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42135 Ulrich Drepper <drepper@redhat.com>
42136
42137 [BZ #11968]
42138 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42139 (____longjmp_chk): Use %ebx for saving value across system call.
42140 Add unwind info.
42141
42142 2010-09-06 Andreas Schwab <schwab@redhat.com>
42143
42144 * manual/Makefile: Don't mix pattern rules with normal rules.
42145
42146 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42147
42148 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42149 operation.
42150 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42151 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42152 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42153 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42154 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42155 Likewise.
42156
42157 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42158
42159 [BZ #11979]
42160 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42161 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42162
42163 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42164
42165 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42166 * sysdeps/x86_64/addmul_1.S: Likewise.
42167 * sysdeps/x86_64/lshift.S: Likewise.
42168 * sysdeps/x86_64/mul_1.S: Likewise.
42169 * sysdeps/x86_64/rshift.S: Likewise.
42170 * sysdeps/x86_64/sub_n.S: Likewise.
42171 * sysdeps/x86_64/submul_1.S: Likewise.
42172
42173 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42174
42175 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42176 Define __sched_param instead of SCHED_* and sched_param when
42177 <bits/sched.h> is included with __need_schedparam defined.
42178 * bits/sched.h [__need_schedparam]
42179 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42180 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42181 (__defined_schedparam): Define to 1.
42182 (__sched_param): New structure, identical to sched_param.
42183 (__need_schedparam): Undefine.
42184
42185 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42186
42187 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42188 (epoll_create1): Declare.
42189
42190 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42191
42192 2010-08-31 Andreas Schwab <schwab@redhat.com>
42193
42194 [BZ #7066]
42195 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42196 shifting retval into place.
42197
42198 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42199
42200 * nis/rpcsvc/nis.h: Update copyright notice.
42201 * nis/rpcsvc/nis.x: Likewise.
42202 * nis/rpcsvc/nis_callback.h: Likewise.
42203 * nis/rpcsvc/nis_callback.x: Likewise.
42204 * nis/rpcsvc/nis_object.x: Likewise.
42205 * nis/rpcsvc/nis_tags.h: Likewise.
42206 * nis/rpcsvc/yp.h: Likewise.
42207 * nis/rpcsvc/yp.x: Likewise.
42208 * nis/rpcsvc/ypupd.h: Likewise.
42209 * nis/yp_xdr.c: Likewise.
42210 * nis/ypupdate_xdr.c: Likewise.
42211
42212 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42213 mainly the body of pmap_getport. Add parameters to specify timeouts.
42214 (pmap_getport): Use __libc_rpc_getport.
42215 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42216 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42217 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42218
42219 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42220
42221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42222 fanotify_mark.
42223
42224 2010-08-27 Roland McGrath <roland@redhat.com>
42225
42226 * sysdeps/i386/i686/multiarch/Makefile
42227 (CFLAGS-varshift.c): New variable.
42228
42229 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42230
42231 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42232 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42233
42234 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42235
42236 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42237
42238 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42239
42240 * sysdeps/x86_64/strlen.S: Unroll the loop.
42241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42242 strlen-sse2 strlen-sse2-bsf.
42243 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42244 __strlen_no_bsf if bit_Slow_BSF is set.
42245 (__strlen_sse42): Removed.
42246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42247 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42248
42249 2010-08-25 Roland McGrath <roland@redhat.com>
42250
42251 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42252 * sysdeps/x86_64/multiarch/varshift.c: New file.
42253 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42254 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42255 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42256 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42257
42258 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42259
42260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42261 strlen-sse2 strlen-sse2-bsf.
42262 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42263 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42264 (__strlen_sse2): Removed.
42265 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42266 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42268 bit_Slow_BSF for Atom.
42269 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42270 (index_Slow_BSF): Define.
42271 (HAS_SLOW_BSF): Define.
42272
42273 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42274
42275 [BZ #10851]
42276 * resolv/res_init.c (__res_vinit): When no server address at all
42277 is given default to loopback.
42278
42279 2010-08-24 Roland McGrath <roland@redhat.com>
42280
42281 * configure.in: Remove config-name.h generation.
42282 * configure: Regenerated.
42283 * config-name.in: File removed.
42284 * scripts/config-uname.sh: New file.
42285 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42286 ($(objdir)config-name.h): New target.
42287
42288 * sunrpc/rpc_parse.h: Avoid nested comment.
42289
42290 2010-08-24 Richard Henderson <rth@redhat.com>
42291 Ulrich Drepper <drepper@redhat.com>
42292 H.J. Lu <hongjiu.lu@intel.com>
42293
42294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42296 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42297 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42298 _mm_alignr_epi8 with _mm_loadu_si128.
42299 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42300 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42301 (__m128i_shift_right): Removed.
42302 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42303 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42304 * sysdeps/x86_64/multiarch/varshift.h: New file.
42305 * sysdeps/x86_64/multiarch/varshift.S: New file.
42306
42307 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42308
42309 * configure.in: Move assembler checks to before sysdep dir checking.
42310
42311 2010-08-20 Petr Baudis <pasky@suse.cz>
42312
42313 * LICENSES: Sync the sunrpc license.
42314
42315 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42316
42317 * sunrpc/auth_des.c: Update copyright notice once again.
42318 * sunrpc/auth_none.c: Likewise.
42319 * sunrpc/auth_unix.c: Likewise.
42320 * sunrpc/authdes_prot.c: Likewise.
42321 * sunrpc/authuxprot.c: Likewise.
42322 * sunrpc/bindrsvprt.c: Likewise.
42323 * sunrpc/clnt_gen.c: Likewise.
42324 * sunrpc/clnt_perr.c: Likewise.
42325 * sunrpc/clnt_raw.c: Likewise.
42326 * sunrpc/clnt_simp.c: Likewise.
42327 * sunrpc/clnt_tcp.c: Likewise.
42328 * sunrpc/clnt_udp.c: Likewise.
42329 * sunrpc/clnt_unix.c: Likewise.
42330 * sunrpc/des_crypt.c: Likewise.
42331 * sunrpc/des_soft.c: Likewise.
42332 * sunrpc/get_myaddr.c: Likewise.
42333 * sunrpc/getrpcport.c: Likewise.
42334 * sunrpc/key_call.c: Likewise.
42335 * sunrpc/key_prot.c: Likewise.
42336 * sunrpc/openchild.c: Likewise.
42337 * sunrpc/pm_getmaps.c: Likewise.
42338 * sunrpc/pm_getport.c: Likewise.
42339 * sunrpc/pmap_clnt.c: Likewise.
42340 * sunrpc/pmap_prot.c: Likewise.
42341 * sunrpc/pmap_prot2.c: Likewise.
42342 * sunrpc/pmap_rmt.c: Likewise.
42343 * sunrpc/rpc/auth.h: Likewise.
42344 * sunrpc/rpc/auth_unix.h: Likewise.
42345 * sunrpc/rpc/clnt.h: Likewise.
42346 * sunrpc/rpc/des_crypt.h: Likewise.
42347 * sunrpc/rpc/key_prot.h: Likewise.
42348 * sunrpc/rpc/netdb.h: Likewise.
42349 * sunrpc/rpc/pmap_clnt.h: Likewise.
42350 * sunrpc/rpc/pmap_prot.h: Likewise.
42351 * sunrpc/rpc/pmap_rmt.h: Likewise.
42352 * sunrpc/rpc/rpc.h: Likewise.
42353 * sunrpc/rpc/rpc_des.h: Likewise.
42354 * sunrpc/rpc/rpc_msg.h: Likewise.
42355 * sunrpc/rpc/svc.h: Likewise.
42356 * sunrpc/rpc/svc_auth.h: Likewise.
42357 * sunrpc/rpc/types.h: Likewise.
42358 * sunrpc/rpc/xdr.h: Likewise.
42359 * sunrpc/rpc_clntout.c: Likewise.
42360 * sunrpc/rpc_cmsg.c: Likewise.
42361 * sunrpc/rpc_common.c: Likewise.
42362 * sunrpc/rpc_cout.c: Likewise.
42363 * sunrpc/rpc_dtable.c: Likewise.
42364 * sunrpc/rpc_hout.c: Likewise.
42365 * sunrpc/rpc_main.c: Likewise.
42366 * sunrpc/rpc_parse.c: Likewise.
42367 * sunrpc/rpc_parse.h: Likewise.
42368 * sunrpc/rpc_prot.c: Likewise.
42369 * sunrpc/rpc_sample.c: Likewise.
42370 * sunrpc/rpc_scan.c: Likewise.
42371 * sunrpc/rpc_scan.h: Likewise.
42372 * sunrpc/rpc_svcout.c: Likewise.
42373 * sunrpc/rpc_tblout.c: Likewise.
42374 * sunrpc/rpc_util.c: Likewise.
42375 * sunrpc/rpc_util.h: Likewise.
42376 * sunrpc/rpcinfo.c: Likewise.
42377 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42378 * sunrpc/rpcsvc/key_prot.x: Likewise.
42379 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42380 * sunrpc/rpcsvc/mount.x: Likewise.
42381 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42382 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42383 * sunrpc/rpcsvc/rex.x: Likewise.
42384 * sunrpc/rpcsvc/rstat.x: Likewise.
42385 * sunrpc/rpcsvc/rusers.x: Likewise.
42386 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42387 * sunrpc/rpcsvc/spray.x: Likewise.
42388 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42389 * sunrpc/rtime.c: Likewise.
42390 * sunrpc/svc.c: Likewise.
42391 * sunrpc/svc_auth.c: Likewise.
42392 * sunrpc/svc_authux.c: Likewise.
42393 * sunrpc/svc_raw.c: Likewise.
42394 * sunrpc/svc_run.c: Likewise.
42395 * sunrpc/svc_simple.c: Likewise.
42396 * sunrpc/svc_tcp.c: Likewise.
42397 * sunrpc/svc_udp.c: Likewise.
42398 * sunrpc/svc_unix.c: Likewise.
42399 * sunrpc/svcauth_des.c: Likewise.
42400 * sunrpc/xcrypt.c: Likewise.
42401 * sunrpc/xdr.c: Likewise.
42402 * sunrpc/xdr_array.c: Likewise.
42403 * sunrpc/xdr_float.c: Likewise.
42404 * sunrpc/xdr_mem.c: Likewise.
42405 * sunrpc/xdr_rec.c: Likewise.
42406 * sunrpc/xdr_ref.c: Likewise.
42407 * sunrpc/xdr_sizeof.c: Likewise.
42408 * sunrpc/xdr_stdio.c: Likewise.
42409
42410 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42411 handling.
42412
42413 2010-08-19 Andreas Schwab <schwab@redhat.com>
42414
42415 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42416
42417 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42418
42419 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42420 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42421 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42422 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42423 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42424 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42425 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42426 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42427 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42428 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42429 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42430 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42431 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42432 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42433
42434 2010-07-26 Anton Blanchard <anton@samba.org>
42435
42436 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42437 * malloc/arena.c (heap_trim): Likewise.
42438
42439 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42440
42441 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42442 here. Not...
42443 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42444 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42445
42446 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42447
42448 * sysdeps/i386/elf/Makefile: New file.
42449
42450 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42451
42452 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42453 from fanotify_init.
42454 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42455 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42456
42457 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42458
42459 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42460 of strncasecmp_l.
42461 * sysdeps/multiarch/strcmp.S: Likewise.
42462
42463 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42464
42465 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42466 strncase_l-nonascii.
42467 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42468 Add strncase_l-ssse3.
42469 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42470 * sysdeps/x86_64/strcmp.S: Likewise.
42471 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42472 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42473 * sysdeps/x86_64/strncase.S: New file.
42474 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42475 * sysdeps/x86_64/strncase_l.S: New file.
42476 * string/Makefile (strop-tests): Add strncasecmp.
42477 * string/test-strncasecmp.c: New file.
42478
42479 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42480 warning.
42481
42482 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42483 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42484
42485 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42486
42487 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42488
42489 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42490
42491 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42492 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42493 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42494
42495 2010-05-01 Alan Modra <amodra@gmail.com>
42496
42497 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42498 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42499 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42500 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42501 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42502 tidying. Don't tail-call __sigjmp_save for static lib.
42503 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42504 save location.
42505 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42506 (CALL_MCOUNT): Add eh info, and nop after bl.
42507 (TAIL_CALL_SYSCALL_ERROR): New macro.
42508 (PSEUDO_RET): Use it.
42509 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42510 Correct save location of integer regs and cr.
42511 (_dl_profile_resolve): Correct cr save location. Delete nops
42512 after bl when SHARED. Reduce cfi size a little by better
42513 placement of cfi directives.
42514 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42515 make a stack frame. Instead use parm save area as a temp.
42516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42517 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42519 Don't make a stack frame for parent, use parm save area.
42520 Increase child stack frame to 112 bytes. Don't save unused reg,
42521 and adjust reg usage. Set up cfi on error recovery and
42522 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42524 (__makecontext): Add dummy nop after jump to exit.
42525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42526 Use correct parm save area and cr save, reduce stack frame.
42527 Correct cfi for possible PSEUDO_RET frame setup.
42528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42529 Branch to local label emitted by PSEUDO_RET rather than
42530 __syscall_error.
42531
42532 2010-08-12 Andreas Schwab <schwab@redhat.com>
42533
42534 [BZ #11904]
42535 * locale/programs/locale.c (print_assignment): New function.
42536 (show_locale_vars): Use it.
42537
42538 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42539
42540 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42541 field.
42542 (struct statfs64): Likewise.
42543 (_STATFS_F_FLAGS): Define.
42544 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42545 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42546 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42547 (ST_VALID): Define locally.
42548 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42549 __statvfs_getflags, use the provided value.
42550 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42551 __ASSUME_STATFS_F_FLAGS.
42552
42553 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42554
42555 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42556 Add sys/fanotify.h.
42557 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42558 fanotify_mask for GLIBC_2.13.
42559 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42560 fanotify_init and fanotify_mark.
42561 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42562 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42563
42564 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42565 Add prlimit.
42566 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42567 prlimit64 for GLIBC_2.13.
42568 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42569 prlimit64.
42570 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42571 syscall.
42572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42573 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42574 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42575 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42576 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42577 add prlimit alias.
42578 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42579
42580 [BZ #11903]
42581 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42582 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42583
42584 * nss/Makefile: Add rules to build and run tst-nss-test1.
42585 * shlib-versions: Add entry for libnss_test1.
42586 * nss/nss_test1.c: New file.
42587 * nss/tst-nss-test1.c: New file.
42588
42589 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42590 (__nss_configure_lookup): Set appropriate entry in
42591 __nss_configure_lookup to true.
42592 * nss/nsswitch.h: Define enum with indeces of databases in
42593 databases and __nss_database_custom arrays. Declare
42594 __nss_database_custom.
42595 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42596 to avoid using nscd when custom rules are installed.
42597 * nss/getXXbyYY_r.c: Likewise.
42598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42599
42600 * nss/nss_files/files-parse.c: Whitespace fixes.
42601
42602 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42603
42604 [BZ #11883]
42605 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42606 * posix/fnmatch_loop.c: Likewise.
42607
42608 2010-07-17 Andi Kleen <ak@linux.intel.com>
42609
42610 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42611 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42612 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42613 * Versions.def [GLIBC_2.13]: Add.
42614
42615 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42616
42617 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42618 Also fail if tpwd after pwuid call is NULL.
42619
42620 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42621
42622 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42623 when converting to ms.
42624
42625 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42626
42627 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42628 EOPNOTSUPP errors with ENOTTY.
42629 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42630 EOPNOTSUPP errors with ENOTTY.
42631
42632 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42633
42634 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42635 Add strcasecmp_l-ssse3.
42636 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42637 strcasecmp.
42638 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42639 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42640 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42641
42642 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42643
42644 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42645
42646 * string/Makefile (strop-tests): Add strcasecmp.
42647 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42648 strcasecmp_l-nonascii.
42649 (gen-as-const-headers): Add locale-defines.sym.
42650 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42651 * sysdeps/x86_64/strcasecmp.S: New file.
42652 * sysdeps/x86_64/strcasecmp_l.S: New file.
42653 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42654 * sysdeps/x86_64/locale-defines.sym: New file.
42655 * string/test-strcasecmp.c: New file.
42656
42657 * string/test-strcasestr.c: Test both ends of the range of characters.
42658 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42659
42660 2010-07-29 Roland McGrath <roland@redhat.com>
42661
42662 [BZ #11856]
42663 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42664
42665 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42666
42667 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42668 for ld.so.
42669
42670 2010-07-27 Andreas Schwab <schwab@redhat.com>
42671
42672 * manual/memory.texi (Malloc Tunable Parameters): Document
42673 M_PERTURB.
42674
42675 2010-07-26 Roland McGrath <roland@redhat.com>
42676
42677 [BZ #11840]
42678 * configure.in (-fgnu89-inline check): Set and substitute
42679 gnu89_inline, not libc_cv_gnu89_inline.
42680 * configure: Regenerated.
42681 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42682
42683 2010-07-26 Ulrich Drepper <drepper@redhat.com>
42684
42685 * string/test-strnlen.c: New file.
42686 * string/Makefile (strop-tests): Add strnlen.
42687 * string/tester.c (test_strnlen): Add a few more test cases.
42688 * string/tst-strlen.c: Better error reporting.
42689
42690 * sysdeps/x86_64/strnlen.S: New file.
42691
42692 2010-07-24 Ulrich Drepper <drepper@redhat.com>
42693
42694 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42695 lower-latency instructions.
42696
42697 2010-07-23 Ulrich Drepper <drepper@redhat.com>
42698
42699 * string/test-strcasestr.c: New file.
42700 * string/test-strstr.c: New file.
42701 * string/Makefile (strop-tests): Add strstr and strcasestr.
42702 * string/str-two-way.h: Don't undefine MAX.
42703 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42704
42705 2010-07-21 Andreas Schwab <schwab@redhat.com>
42706
42707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42708 strcasestr-nonascii.
42709 (CFLAGS-strcasestr-nonascii.c): Define.
42710 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42712 Remove unused attribute.
42713
42714 2010-07-20 Roland McGrath <roland@redhat.com>
42715
42716 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42717 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42718 ld.so.cache was broken. With it, there is no way to disable dsocaps
42719 like LD_HWCAP_MASK can disable hwcaps.
42720
42721 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42722
42723 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42724
42725 2010-07-16 Ulrich Drepper <drepper@redhat.com>
42726
42727 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42728 call in strcasestr.
42729 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42730 __strcasestr_sse42_nonascii.
42731 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42732 strcasestr-nonascii.c.
42733 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42734
42735 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
42736
42737 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42738 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42739 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42740 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42741
42742 2010-07-09 Ulrich Drepper <drepper@redhat.com>
42743
42744 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42745 fcntl.
42746
42747 2010-07-06 Andreas Schwab <schwab@redhat.com>
42748
42749 [BZ #11577]
42750 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42751 dl_signal_cerror.
42752
42753 2010-07-06 Ulrich Drepper <drepper@redhat.com>
42754
42755 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42756 _PC_PIPE_BUF using F_GETPIPE_SZ.
42757
42758 2010-07-05 Roland McGrath <roland@redhat.com>
42759
42760 * manual/arith.texi (Rounding Functions): Fix rint description
42761 implicit in round description.
42762
42763 2010-07-02 Ulrich Drepper <drepper@redhat.com>
42764
42765 * elf/Makefile: Fix linking for a few tests to make recent linker
42766 happy.
42767
42768 2010-06-30 Andreas Schwab <schwab@redhat.com>
42769
42770 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42771 $(common-objpfx)libc_nonshared.a.
42772
42773 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
42774
42775 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42776 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42777 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42778 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42779 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42780 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42781 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42782 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42797 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42798 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42799 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42800 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42801 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42802 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42803 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42804 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42805 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42806 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42807 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42808 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42823
42824 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42825
42826 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42827 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42828 * string/memmove.c (memmove): Renamed to ...
42829 (MEMMOVE): ...this. Default to memmove.
42830 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42831 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42832 (END_CHK): Define.
42833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42834 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42835 mempcpy-ssse3-back memmove-ssse3-back.
42836 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42837 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42838 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42839 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42840 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42841 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42842 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42843 * sysdeps/x86_64/multiarch/memmove.c: New file.
42844 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42845 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42846 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42847 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42848 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42849 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42850 Define.
42851 (index_Fast_Copy_Backward): Define.
42852 (HAS_ARCH_FEATURE): Define.
42853 (HAS_FAST_REP_STRING): Define.
42854 (HAS_FAST_COPY_BACKWARD): Define.
42855
42856 2010-06-21 Andreas Schwab <schwab@redhat.com>
42857
42858 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42859 Restore proper fallback handling.
42860
42861 2010-06-19 Ulrich Drepper <drepper@redhat.com>
42862
42863 [BZ #11701]
42864 * posix/group_member.c (__group_member): Correct checking loop.
42865
42866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42867 OOM in getpwuid_r correctly. Return error number when the caller
42868 should return, otherwise -1.
42869 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42870 call returning > 0 value.
42871 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42872
42873 2010-06-07 Andreas Schwab <schwab@redhat.com>
42874
42875 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42876 libc_nonshared.a from targets in modules-names.
42877
42878 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42879
42880 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42881 requires it.
42882
42883 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
42884
42885 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42886 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42887 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42888 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42889
42890 2010-06-02 Andreas Schwab <schwab@redhat.com>
42891
42892 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42893
42894 2010-06-14 Ulrich Drepper <drepper@redhat.com>
42895
42896 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42897 and F_GETPIPE_SZ.
42898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42899 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42901 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42902 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42903 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42904
42905 2010-06-14 Roland McGrath <roland@redhat.com>
42906
42907 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42908
42909 2010-06-07 Jakub Jelinek <jakub@redhat.com>
42910
42911 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42912 __REDIRECT followed by __THROW.
42913 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42914 * posix/getopt.h (getopt): Likewise.
42915
42916 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42917
42918 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42919 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42920 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42921 in AT_FLAGS.
42922 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42923 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42924
42925 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
42926
42927 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42928
42929 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42930
42931 [BZ #11640]
42932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42933 Properly check family and model.
42934
42935 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42936
42937 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42938
42939 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
42940
42941 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42942
42943 2010-05-21 Ulrich Drepper <drepper@redhat.com>
42944
42945 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42946 symbol reference.
42947
42948 2010-05-19 Andreas Schwab <schwab@redhat.com>
42949
42950 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42951 symbol reference.
42952
42953 2010-05-21 Andreas Schwab <schwab@redhat.com>
42954
42955 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42956 and internal_recvmmsg.
42957 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42958 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42959 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42960 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42961
42962 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42963 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42964 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42965
42966 2010-05-20 Andreas Schwab <schwab@redhat.com>
42967
42968 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42969
42970 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
42971
42972 POWER7 optimizations.
42973 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42974 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42975
42976 2010-05-19 Ulrich Drepper <drepper@redhat.com>
42977
42978 * version.h: Update for 2.13 development version.
42979
42980 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
42981
42982 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42983 exceptions. Return 0.
42984
42985 2010-05-07 Roland McGrath <roland@redhat.com>
42986
42987 * elf/ldconfig.c (main): Add a const.
42988
42989 2010-05-06 Ulrich Drepper <drepper@redhat.com>
42990
42991 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42992 (args_options): Add no-idn option.
42993 (ahosts_keys_int): Add idn_flags to ai_flags.
42994 (parse_option): Handle 'i' option to clear idn_flags.
42995
42996 * malloc/malloc.c (_int_free): Possible race in the most recently
42997 added check. Only act on the data if no current modification
42998 happened.
42999
43000 See ChangeLog.17 for earlier changes.