]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Correct IBM long double nextafterl.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b0abbc21
AM
12014-04-02 Alan Modra <amodra@gmail.com>
2
3 [BZ #16739]
4 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5 output when value is near a power of two. Use int64_t for lx and
6 remove casts. Use decimal rather than hex exponent constants.
7 Don't use long double multiplication when double will suffice.
8 * math/libm-test.inc (nextafter_test_data): Add tests.
9 * NEWS: Add 16739 and 16786 to bug list.
10
af6b1797
AM
112014-04-02 Alan Modra <amodra@gmail.com>
12
13 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14
483818d7
AM
152014-04-02 Alan Modra <amodra@gmail.com>
16
17 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18
f6c55796
WN
192014-04-01 Will Newton <will.newton@linaro.org>
20
21 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
23
13f7fe35
FW
242014-04-01 Florian Weimer <fweimer@redhat.com>
25
26 [BZ #13347]
27 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
28 * nptl/tst-setuid2.c: New file.
29 * nptl/Makefile (xtests): Add tst-setuid2.
30
c859b32e
AM
312014-04-01 Alan Modra <amodra@gmail.com>
32
33 [BZ #16786]
34 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35
54fa2475
JM
362014-03-31 Joseph Myers <joseph@codesourcery.com>
37
8795b4a4
JM
38 [BZ #6803]
39 [BZ #6804]
40 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
41 set errno as appropriate.
42 * math/w_scalbf.c (__scalbf): Likewise.
43 * math/w_scalbl.c (__scalbl): Likewise.
44 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
45 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
46 * math/libm-test.inc (scalb_test_data): Add errno expectations.
47 Add more NaN tests.
48
54fa2475
JM
49 [BZ #16349]
50 * math/w_atan2.c: Include <errno.h>.
51 (__atan2): Set errno for result underflowing to zero.
52 * math/w_atan2f.c: Include <errno.h>.
53 (__atan2f): Set errno for result underflowing to zero.
54 * math/w_atan2l.c: Include <errno.h>.
55 (__atan2l): Set errno for result underflowing to zero.
56 * math/auto-libm-test-in: Don't allow missing errno for some atan2
57 tests.
58 * math/auto-libm-test-out: Regenerated.
59
757d9dd5
AZ
602014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61
62 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
63 Encode instruction correctly in little endian.
64 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
65 Likewise.
66 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
67 Likewise.
68 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
69 Likewise.
70 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
71 Likewise.
72
d7a68734
JM
732014-03-31 Joseph Myers <joseph@codesourcery.com>
74
47c5adeb
JM
75 [BZ #9894]
76 * sysdeps/unix/sysv/linux/kernel-features.h
77 [__sparc__ && !__arch64__ && !__sparc_v9__]
78 (__ASSUME_SET_ROBUST_LIST): Do not define.
79 [__sparc__ && !__arch64__ && !__sparc_v9__]
80 (__ASSUME_FUTEX_LOCK_PI): Likewise.
81 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
82 Likewise.
83 * sysdeps/unix/sysv/linux/arm/kernel-features.h
84 (__ASSUME_FUTEX_LOCK_PI): Undefine.
85 (__ASSUME_REQUEUE_PI): Likewise.
86 (__ASSUME_SET_ROBUST_LIST): Likewise.
87 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
88 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
89 Undefine.
90 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
91 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
92 Likewise.
93 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
94 Likewise.
95 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
96 Likewise.
97 * sysdeps/unix/sysv/linux/mips/kernel-features.h
98 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
99 Undefine.
100 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
101 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
102 Likewise.
103
d7a68734
JM
104 [BZ #16648]
105 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
106 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
107 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
108
c760f5c2
WN
1092014-03-31 Will Newton <will.newton@linaro.org>
110
111 * benchtests/Makefile (bench): Add ffs and ffsll to list
112 of tests.
113 * benchtests/ffs-inputs: New file.
114 * benchtests/ffsll-inputs: Likewise.
115
ea6029b1
JM
1162014-03-29 Joseph Myers <joseph@codesourcery.com>
117
118 [BZ #16770]
119 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
120 too large before casting to int.
121 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
122 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
123 * math/libm-test.inc (scalb_test_data): Add more tests.
124
cf806aff
SP
1252014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
126
56737508
SP
127 * benchtests/Makefile (DETAILED_OPT): New make option.
128 (bench-func): Run benchmark program with -d if DETAILED_OPT is
129 set.
130 * benchtests/bench-skeleton.c: Include stdbool.h.
131 (main): Store and print timings per input.
132 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
133 member to each argument value.
134 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
135 (_print_arg_data): Initialize per-input timing to 0.
136
cb5e4aad
SP
137 * benchtests/Makefile (timing-type): New binary.
138 (bench-clean): Also remove bench-timing-type.
139 (bench): New target for timing-type.
140 (bench-func): Print output in JSON format.
141 * benchtests/bench-skeleton.c (main): Print output in JSON
142 format.
143 * benchtests/bench-timing-type.c: New file.
144 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
145 (TIMING_PRINT_STATS): Remove.
146 * benchtests/scripts/bench.py (_print_arg_data): Store variant
147 name separately.
148
cf806aff
SP
149 * benchtests/bench-modf.c: Remove.
150 * benchtests/modf-inputs: New inputs file.
151
289e0779
JM
1522014-03-28 Joseph Myers <joseph@codesourcery.com>
153
154 [BZ #16362]
155 * math/s_clog10.c (M_PI_LOG10E): New macro.
156 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
157 imaginary parts are 0.
158 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
159 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
160 imaginary parts are 0.
161 * math/s_clog10l.c (M_PI_LOG10El): New macro.
162 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
163 imaginary parts are 0.
164 * math/libm-test.inc (clog10_test_data): Update expected results
165 for when real and imaginary parts are 0.
166
277ae3f1
PP
1672014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
168
169 * elf/dl-load.c: Finish conversion of __builtin_expect into
170 __glibc_{un}likely.
171
03a7091f
JM
1722014-03-27 Joseph Myers <joseph@codesourcery.com>
173
174 [BZ #16348]
175 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
176 1+x for argument with exponent below -67.
177 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
178 Likewise.
179 * math/auto-libm-test-in: Add more tests of exp.
180 * math/auto-libm-test-out: Regenerated.
181
ea7d8b95
SP
1822014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
183
dd3022d7
SP
184 [BZ #16759]
185 * inet/getnetgrent_r.c (get_nonempty_val): New function.
186 (nscd_getnetgrent): Use it.
187
ea7d8b95
SP
188 [BZ #16760]
189 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
190 of stpcpy.
191
df5b85da
AK
1922014-03-27 Andi Kleen <ak@linux.intel.com>
193
194 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
195 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
196 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
197 Remove out of line section. Use cfi intrinsics.
198 (LLL_STUB_UNWIND_INFO*): Remove.
199 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
200 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
201 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
202 Remove out of line section. Use cfi intrinsics.
203 (LLL_STUB_UNWIND_INFO*): Remove.
204
fbd6b5a4
SP
2052014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
206
207 [BZ #16758]
208 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
209 blank values.
210
1b26b855
PP
2112014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
212
213 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
214
9be36fb8
JM
2152014-03-26 Joseph Myers <joseph@codesourcery.com>
216
217 [BZ #16198]
218 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
219 fnstenv.
220 * math/test-fenv-preserve.c: New file.
221 * math/Makefile (tests): Add test-fenv-preserve.
222
60a2f3c1
WN
2232014-03-26 Will Newton <will.newton@linaro.org>
224
225 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
226
a5e5f1e2
RM
2272014-03-25 Roland McGrath <roland@hack.frob.com>
228
229 * scripts/versionlist.awk: Partition the version sets and emit all
230 GLIBC_* (sorted) before all others (sorted).
231
00f4012a
JM
2322014-03-25 Joseph Myers <joseph@codesourcery.com>
233
234 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
235 GLIBC_2.2.5 version.
236
7bc5a741
AZ
2372014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
238
239 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
240 calls.
241
7578473b
AZ
2422014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
243
244 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
245 previous change.
246
f3f1dab3
AZ
2472014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
248
249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
250
6da36183
AS
2512014-03-25 Andreas Schwab <schwab@suse.de>
252
253 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
254 label to be used after in6ailist is initialized.
255
f3f1dab3 2562014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 257
7578473b 258 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
259 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
260
046651c1
JM
2612014-03-25 Joseph Myers <joseph@codesourcery.com>
262
263 [BZ #16357]
264 [BZ #16599]
265 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
266 min_plus_half.
267 (fp_formats): Update initializers.
268 (init_fp_formats): Initialize new field.
269 (output_for_one_input_case): Allow underflow for results up to
270 min_plus_half.
271 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
272 * math/auto-libm-test-in: Don't mark some underflows from asin and
273 atanh as spurious.
274 * math/auto-libm-test-out: Regenerated.
275 * sysdeps/i386/fpu/libm-test-ulps: Update.
276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
277
003e49ed
AS
2782014-03-25 Andreas Schwab <schwab@suse.de>
279
280 * libio/Makefile (tst-ftell-partial-wide-ENV)
281 (tst-ftell-active-handler-ENV): Define.
282
de031874
SL
2832014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
284
285 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
286
55a81e3b
PP
2872014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
288
289 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
290
f3426898
JM
2912014-03-24 Joseph Myers <joseph@codesourcery.com>
292
293 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
294 * sysdeps/x86_64/fpu/multiarch/e_exp.c
295 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
296
a42faf59
PP
2972014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
298
299 [BZ #16634]
a42faf59 300 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
301 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
302 (open_path): Change from boolean 'secure' to complete flag 'mode'
303 (_dl_map_object): Adjust.
a42faf59
PP
304 * elf/Makefile (tests): Add tst-dlopen-aout.
305 * elf/tst-dlopen-aout.c: New test.
306
50936127
SL
3072014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
308
309 [BZ #16714]
310 * sysdeps/unix/sysv/linux/s390/bits/stat.h
311 (struct stat): Rename member pad0 to __glibc_reserved0.
312
26011b5c
SL
3132014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
314
315 [BZ #16712]
316 * sysdeps/s390/s390-32/bits/wordsize.h
317 (__WORDSIZE32_SIZE_ULONG): New define.
318 * sysdeps/s390/s390-64/bits/wordsize.h
319 (__WORDSIZE32_SIZE_ULONG): Likewise.
320 * sysdeps/generic/stdint.h (SIZE_MAX):
321 Define as UL if __WORDSIZE32_SIZE_ULONG.
322
a2d86bf1
SL
3232014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
324
325 [BZ #16713]
326 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
327 (__glibc_reserved0): New variable.
328 (sa_flags): Change type to int.
329
78b6eebc
SL
3302014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
331
332 * posix/Makefile (before-compile): Use += before-compile instead
333 of a :=.
334
f1399b5a
SL
3352014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
336
337 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
338 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
339
a071766e
AS
3402014-03-20 Andreas Schwab <schwab@suse.de>
341
342 [BZ #16743]
343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
344 non-matching result from nscd.
345
27c673b8
SP
3462014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
347
348 * scripts/bench.py: Moved to ...
349 * benchtests/scripts/bench.py: ... here.
350 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
351
44152e4b
AS
3522014-03-24 Andreas Schwab <schwab@suse.de>
353
354 [BZ #16002]
355 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
356 alloca_account and account alloca use for struct in6ailist.
357
b376a11a
JM
3582014-03-24 Joseph Myers <joseph@codesourcery.com>
359
360 [BZ #16284]
361 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
362 rounding mode to recompute results that overflow to infinity or
363 underflow to zero.
364 * math/auto-libm-test-in: Don't mark tests as expected to fail for
365 bug 16284.
366 * math/auto-libm-test-out: Regenerated.
367 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
368 (ccosh_test): Likewise.
369 (csin_test_data): Use plus_oflow.
370 (csin_test): Use ALL_RM_TEST.
371 (csinh_test_data): Use plus_oflow.
372 (csinh_test): Use ALL_RM_TEST.
373 * sysdeps/i386/fpu/libm-test-ulps: Update.
374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
375
f7be7376
JM
3762014-03-21 Joseph Myers <joseph@codesourcery.com>
377
1ca2d03e
JM
378 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
379 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
380 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
381
f7be7376
JM
382 [BZ #16731]
383 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
384 when x - 1 is zero.
385 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
386 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
387 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
388 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
389 argument is 1.
390 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
391 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
392 zero.
393 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
394 * sysdeps/i386/fpu/libm-test-ulps: Update.
395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
396
fdf4534d
SP
3972014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
398
df26ea53
SP
399 * scripts/bench.pl: Remove file.
400 * scripts/bench.py: New benchmark script.
401 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
402 * benchtests/README: Mention python dependency.
403 * scripts/pylintrc: New file.
404 * scripts/pylint: New file.
405
fdf4534d
SP
406 * bits/mathdef.h: Use #ifdef instead of #if.
407 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
408 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
409 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
410 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
411 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
412 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
413
6f23d093
AZ
4142014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
415 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
416
417 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
419 and strpbrk-ppc64 objects.
420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
421 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
422 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
423 multiarch strpbrk for POWER7.
424 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
425 multiarch strpbrk for PPC64.
426 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
427 ifunc selector.
428 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
429 strpbrk for POWER7.
430
8c92dfff
JM
4312014-03-20 Joseph Myers <joseph@codesourcery.com>
432
433 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
434 (atan_test): Likewise.
435 (atanh_test_data): Use NO_TEST_INLINE for two tests.
436 (atanh_test): Use ALL_RM_TEST.
437 (atan2_test_data): Likewise.
438 (cabs_test): Likewise.
439 (cacosh_test): Likewise.
440 (carg_test): Likewise.
441 (casin_test): Likewise.
442 (casinh_test): Likewise.
443 (cbrt_test): Likewise.
444 (csqrt_test): Likewise.
445 (erf_test): Likewise.
446 (erfc_test): Likewise.
447 (pow10_test): Likewise.
448 (exp2_test): Likewise.
449 (hypot_test): Likewise.
450 (j0_test): Likewise.
451 (j1_test): Likewise.
452 (lgamma_test): Likewise.
453 (gamma_test): Likewise.
454 (sincos_test): Likewise.
455 (tanh_test): Likewise.
456 (y0_test): Likewise.
457 (y1_test): Likewise.
458 * sysdeps/i386/fpu/libm-test-ulps: Update.
459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
460
6eaf95cb
AZ
4612014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
462
a387428c
SP
463 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
465 and strcspn-ppc64 objects.
466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
467 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
468 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
469 multiarch strcspn for POWER7.
470 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
471 multiarch strcspn for PPC64.
472 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
473 ifunc selector.
474 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
475 strcspn for POWER7.
476
ae3a5dff
JM
4772014-03-20 Joseph Myers <joseph@codesourcery.com>
478
479 * math/gen-libm-test.pl (generate_testfile): Expect only function
480 name as argument to AUTO_TESTS_* and pass results for all rounding
481 modes to parse_args.
482 (parse_auto_input): Separate inputs of automatic tests from
483 outputs before storing in %auto_tests.
484 * math/libm-test.inc (acos_test_data): Update call to
485 AUTO_TESTS_f_f.
486 (acos_test): Use ALL_RM_TEST.
487 (acos_tonearest_test_data): Remove.
488 (acos_test_tonearest): Likewise.
489 (acos_towardzero_test_data): Likewise.
490 (acos_test_towardzero): Likewise.
491 (acos_downward_test_data): Likewise.
492 (acos_test_downward): Likewise.
493 (acos_upward_test_data): Likewise.
494 (acos_test_upward): Likewise.
495 (acosh_test_data): Update call to AUTO_TESTS_f_f.
496 (asin_test_data): Likewise.
497 (asin_test): Use ALL_RM_TEST.
498 (asin_tonearest_test_data): Remove.
499 (asin_test_tonearest): Likewise.
500 (asin_towardzero_test_data): Likewise.
501 (asin_test_towardzero): Likewise.
502 (asin_downward_test_data): Likewise.
503 (asin_test_downward): Likewise.
504 (asin_upward_test_data): Likewise.
505 (asin_test_upward): Likewise.
506 (asinh_test_data): Update call to AUTO_TESTS_f_f.
507 (atan_test_data): Likewise.
508 (atanh_test_data): Likewise.
509 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
510 (cabs_test_data): Update call to AUTO_TESTS_c_f.
511 (carg_test_data): Likewise.
512 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
513 (ccos_test_data): Update call to AUTO_TESTS_c_c.
514 (ccosh_test_data): Likewise.
515 (cexp_test_data): Likewise.
516 (clog_test_data): Likewise.
517 (clog10_test_data): Likewise.
518 (cos_test_data): Update call to AUTO_TESTS_f_f.
519 (cos_test): Use ALL_RM_TEST.
520 (cos_tonearest_test_data): Remove.
521 (cos_test_tonearest): Likewise.
522 (cos_towardzero_test_data): Likewise.
523 (cos_test_towardzero): Likewise.
524 (cos_downward_test_data): Likewise.
525 (cos_test_downward): Likewise.
526 (cos_upward_test_data): Likewise.
527 (cos_test_upward): Likewise.
528 (cosh_test_data): Update call to AUTO_TESTS_f_f.
529 (cosh_test): Use ALL_RM_TEST.
530 (cosh_tonearest_test_data): Remove.
531 (cosh_test_tonearest): Likewise.
532 (cosh_towardzero_test_data): Likewise.
533 (cosh_test_towardzero): Likewise.
534 (cosh_downward_test_data): Likewise.
535 (cosh_test_downward): Likewise.
536 (cosh_upward_test_data): Likewise.
537 (cosh_test_upward): Likewise.
538 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
539 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
540 (ctan_test_data): Likewise.
541 (ctan_test): Use ALL_RM_TEST.
542 (ctan_tonearest_test_data): Remove.
543 (ctan_test_tonearest): Likewise.
544 (ctan_towardzero_test_data): Likewise.
545 (ctan_test_towardzero): Likewise.
546 (ctan_downward_test_data): Likewise.
547 (ctan_test_downward): Likewise.
548 (ctan_upward_test_data): Likewise.
549 (ctan_test_upward): Likewise.
550 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
551 (ctanh_test): Use ALL_RM_TEST.
552 (ctanh_tonearest_test_data): Remove.
553 (ctanh_test_tonearest): Likewise.
554 (ctanh_towardzero_test_data): Likewise.
555 (ctanh_test_towardzero): Likewise.
556 (ctanh_downward_test_data): Likewise.
557 (ctanh_test_downward): Likewise.
558 (ctanh_upward_test_data): Likewise.
559 (ctanh_test_upward): Likewise.
560 (erf_test_data): Update call to AUTO_TESTS_f_f.
561 (erfc_test_data): Likewise.
562 (exp_test_data): Likewise.
563 (exp_test): Use ALL_RM_TEST.
564 (exp_tonearest_test_data): Remove.
565 (exp_test_tonearest): Likewise.
566 (exp_towardzero_test_data): Likewise.
567 (exp_test_towardzero): Likewise.
568 (exp_downward_test_data): Likewise.
569 (exp_test_downward): Likewise.
570 (exp_upward_test_data): Likewise.
571 (exp_test_upward): Likewise.
572 (exp10_test_data): Update call to AUTO_TESTS_f_f.
573 (exp10_test): Use ALL_RM_TEST.
574 (exp10_tonearest_test_data): Remove.
575 (exp10_test_tonearest): Likewise.
576 (exp10_towardzero_test_data): Likewise.
577 (exp10_test_towardzero): Likewise.
578 (exp10_downward_test_data): Likewise.
579 (exp10_test_downward): Likewise.
580 (exp10_upward_test_data): Likewise.
581 (exp10_test_upward): Likewise.
582 (exp2_test_data): Update call to AUTO_TESTS_f_f.
583 (expm1_test_data): Likewise.
584 (expm1_test): Use ALL_RM_TEST.
585 (expm1_tonearest_test_data): Remove.
586 (expm1_test_tonearest): Likewise.
587 (expm1_towardzero_test_data): Likewise.
588 (expm1_test_towardzero): Likewise.
589 (expm1_downward_test_data): Likewise.
590 (expm1_test_downward): Likewise.
591 (expm1_upward_test_data): Likewise.
592 (expm1_test_upward): Likewise.
593 (fma_test_data): Update call to AUTO_TESTS_fff_f.
594 (fma_test): Use ALL_RM_TEST.
595 (fma_towardzero_test_data): Remove.
596 (fma_test_towardzero): Likewise.
597 (fma_downward_test_data): Likewise.
598 (fma_test_downward): Likewise.
599 (fma_upward_test_data): Likewise.
600 (fma_test_upward): Likewise.
601 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
602 (j0_test_data): Update call to AUTO_TESTS_f_f.
603 (j1_test_data): Likewise.
604 (jn_test_data): Update call to AUTO_TESTS_if_f.
605 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
606 (log_test_data): Update call to AUTO_TESTS_f_f.
607 (log10_test_data): Likewise.
608 (log1p_test_data): Likewise.
609 (log2_test_data): Likewise.
610 (pow_test_data): Update call to AUTO_TESTS_ff_f.
611 (pow_tonearest_test_data): Likewise.
612 (sin_test_data): Update call to AUTO_TESTS_f_f.
613 (sin_test): Use ALL_RM_TEST.
614 (sin_tonearest_test_data): Remove.
615 (sin_test_tonearest): Likewise.
616 (sin_towardzero_test_data): Likewise.
617 (sin_test_towardzero): Likewise.
618 (sin_downward_test_data): Likewise.
619 (sin_test_downward): Likewise.
620 (sin_upward_test_data): Likewise.
621 (sin_test_upward): Likewise.
622 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
623 (sinh_test_data): Update call to AUTO_TESTS_f_f.
624 (sinh_test): Use ALL_RM_TEST.
625 (sinh_tonearest_test_data): Remove.
626 (sinh_test_tonearest): Likewise.
627 (sinh_towardzero_test_data): Likewise.
628 (sinh_test_towardzero): Likewise.
629 (sinh_downward_test_data): Likewise.
630 (sinh_test_downward): Likewise.
631 (sinh_upward_test_data): Likewise.
632 (sinh_test_upward): Likewise.
633 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
634 (sqrt_test): Use ALL_RM_TEST.
635 (sqrt_tonearest_test_data): Remove.
636 (sqrt_test_tonearest): Likewise.
637 (sqrt_towardzero_test_data): Likewise.
638 (sqrt_test_towardzero): Likewise.
639 (sqrt_downward_test_data): Likewise.
640 (sqrt_test_downward): Likewise.
641 (sqrt_upward_test_data): Likewise.
642 (sqrt_test_upward): Likewise.
643 (tan_test_data): Update call to AUTO_TESTS_f_f.
644 (tan_test): Use ALL_RM_TEST.
645 (tan_tonearest_test_data): Remove.
646 (tan_test_tonearest): Likewise.
647 (tan_towardzero_test_data): Likewise.
648 (tan_test_towardzero): Likewise.
649 (tan_downward_test_data): Likewise.
650 (tan_test_downward): Likewise.
651 (tan_upward_test_data): Likewise.
652 (tan_test_upward): Likewise.
653 (tanh_test_data): Update call to AUTO_TESTS_f_f.
654 (tgamma_test_data): Likewise.
655 (y0_test_data): Likewise.
656 (y1_test_data): Likewise.
657 (yn_test_data): Update call to AUTO_TESTS_if_f.
658 (main): Do not call removed functions.
659
d71aeee8
JM
6602014-03-19 Joseph Myers <joseph@codesourcery.com>
661
662 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
663 (ldexp_test_data): Remove.
664 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
665 scalbn_test_data.
666 (scalb_test): Use ALL_RM_TEST.
667
baaf1ded
AS
6682014-03-19 Andreas Schwab <schwab@suse.de>
669
670 * nscd/nscd.service: Also invalidate netgroup cache on reload.
671
b1115e91
JM
6722014-03-19 Joseph Myers <joseph@codesourcery.com>
673
674 [BZ #16649]
675 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
676 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
677 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
678 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
679 (__ASSUME_PREADV): Undefine.
680 (__ASSUME_PWRITEV): Likewise.
681
0283ecca
RM
6822014-03-18 Roland McGrath <roland@hack.frob.com>
683
7d375303
RM
684 * bits/mman-linux.h: Add comment about non-Linux use.
685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
686 bits/mman-linux.h resting place.
687
0283ecca
RM
688 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
689 * bits/mman-linux.h: ... here.
690
aebe1003
AZ
6912014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692
693 * conform/conformtest.pl: Add standard definition when calling C
694 preprocessor on data files.
695 (checknamespace): Remove unused variable.
696
b29b6bb8
JM
6972014-03-18 Joseph Myers <joseph@codesourcery.com>
698
699 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
700 minus_oflow, plus_uflow and minus_uflow in expected results.
701 * math/libm-test.inc (scalbn_test_data): Add more tests of
702 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
703 minus_uflow.
704 (scalbn_test): Use ALL_RM_TEST.
705 (scalbln_test_data): Add more tests of negative arguments. Use
706 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
707 (scalbln_test): Use ALL_RM_TEST.
708
c8f8fa15
RM
7092014-03-18 Roland McGrath <roland@hack.frob.com>
710
711 * scripts/abilist.awk: Ignore symbols marked with .hidden.
712
fede7a5f
WN
7132014-03-18 Will Newton <will.newton@linaro.org>
714
715 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
716 inaccurate comment.
717
80cf0a58
JM
7182014-03-18 Joseph Myers <joseph@codesourcery.com>
719
720 * Makerules [!subdir] (check-abi): Exit with error status if a
721 test failed.
722
b3620862
JM
7232014-03-17 Joseph Myers <joseph@codesourcery.com>
724
725 * math/libm-test.inc (nearbyint_test_data): Include all tests used
726 for rint. Include results for all rounding modes.
727 (nearbyint_test): Use ALL_RM_TEST.
728 (rint_test_data): Include all tests used for nearbyint.
729
788bba36
WN
7302014-03-17 Will Newton <will.newton@linaro.org>
731
04ec140a
WN
732 * nptl/sysdeps/pthread/pthread.h: Revert previous
733 change.
734
7579d8d5
WN
735 * sysdeps/generic/ldsodefs.h: Revert previous
736 change.
737
c15cf13a
WN
738 * libio/genops.c: Revert previous change.
739 * libio/libioP.h: Likewise.
740 * stdio-common/vfprintf.c: Likewise.
741
d0ac1324
WN
742 * sysdeps/generic/math_private.h: Revert previous
743 change.
744
9290130a
WN
745 * sysdeps/generic/math_private.h: Check whether
746 HAVE_RM_CTX is defined with #ifdef rather
747 than #if.
748
afb466fc
WN
749 * argp/argp-fmtstream.h: Check whether
750 __STRICT_ANSI__ is defined with #ifdef rather
751 than #if.
752 * argp/argp.h: Likewise.
753
f7efd7c3
WN
754 * libio/genops.c: Check whether
755 _IO_JUMPS_OFFSET is defined with #ifdef rather
756 than #if.
757 * libio/libioP.h: Likewise.
758 * stdio-common/vfprintf.c: Likewise.
759
53f1bed3
WN
760 * sysdeps/generic/ldsodefs.h: Check whether
761 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
762 than #if.
763
788bba36
WN
764 * nptl/sysdeps/pthread/pthread.h: Check
765 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
766 its value.
767
fcd89ebe
SP
7682014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
769
ae42bbc5
SP
770 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
771 setting O_APPEND.
772 * libio/tst-ftell-active-handler.c (do_append_test): Add a
773 test case.
774
ea33158c
SP
775 [BZ #16680]
776 * libio/fileops.c (_IO_file_open): Seek to end of file but
777 don't cache the offset.
778 (get_file_offset): Remove function.
779 (do_ftell): Use cached offset when available.
780 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
781 don't cache the offset.
782 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
783 case.
784 (do_one_test): Call it.
785 (do_ftell_test): Fix up expected old offset for a+ mode.
786 * libio/wfileops.c (do_ftell_wide): Used cached offset when
787 available.
788
b1dbb426
SP
789 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
790 up test status with function return status.
791 (do_write_test): Likewise.
792 (do_append_test): Likewise.
793
fcd89ebe
SP
794 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
795 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
796 Remove.
797
9962a2d3
JM
7982014-03-17 Joseph Myers <joseph@codesourcery.com>
799
800 * math/gen-libm-test.pl (parse_args): Handle results specified for
801 each rounding mode separately.
802 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
803 tests and results from lrint_tonearest_test_data,
804 lrint_towardzero_test_data, lrint_downward_test_data and
805 lrint_upward_test_data.
806 (lrint_test): Use ALL_RM_TEST.
807 (lrint_tonearest_test_data): Remove.
808 (lrint_test_tonearest): Likewise.
809 (lrint_towardzero_test_data): Likewise.
810 (lrint_test_towardzero): Likewise.
811 (lrint_downward_test_data): Likewise.
812 (lrint_test_downward): Likewise.
813 (lrint_upward_test_data): Likewise.
814 (lrint_test_upward): Likewise.
815 (llrint_test_data): Merge in per-rounding-mode tests and results
816 from llrint_tonearest_test_data, llrint_towardzero_test_data,
817 llrint_downward_test_data and llrint_upward_test_data.
818 (llrint_test): Use ALL_RM_TEST.
819 (llrint_tonearest_test_data): Remove.
820 (llrint_test_tonearest): Likewise.
821 (llrint_towardzero_test_data): Likewise.
822 (llrint_test_towardzero): Likewise.
823 (llrint_downward_test_data): Likewise.
824 (llrint_test_downward): Likewise.
825 (llrint_upward_test_data): Likewise.
826 (llrint_test_upward): Likewise.
827 (rint_test_data): Merge in per-rounding-mode tests and results
828 from rint_tonearest_test_data, rint_towardzero_test_data,
829 rint_downward_test_data and rint_upward_test_data. Add
830 per-rounding-mode results for tests not in those arrays.
831 (rint_test): Use ALL_RM_TEST.
832 (rint_tonearest_test_data): Remove.
833 (rint_test_tonearest): Likewise.
834 (rint_towardzero_test_data): Likewise.
835 (rint_test_towardzero): Likewise.
836 (rint_downward_test_data): Likewise.
837 (rint_test_downward): Likewise.
838 (rint_upward_test_data): Likewise.
839 (rint_test_upward): Likewise.
840 (main): Don't call removed functions.
841
5006148e
RM
8422014-03-14 Roland McGrath <roland@hack.frob.com>
843
844 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
845 "Compiled on ..." crapola. It is anti-useful.
846
d6fe5e58
JM
8472014-03-14 Joseph Myers <joseph@codesourcery.com>
848
849 * scripts/evaluate-test.sh: Handle fourth argument to determine
850 whether test run should stop on failure.
851 * Makeconfig (stop-on-test-failure): New variable.
852 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
853 $(stop-on-test-failure).
854 * Makefile (tests): Give a summary of results from testing and
855 exit with failure status if they include an ERROR or FAIL.
856 (xtests): Likewise.
857 * manual/install.texi (Configuring and compiling): Mention
858 stop-on-test-failure=y.
859 * INSTALL: Regenerated.
860
498a2233
RM
8612014-03-14 Roland McGrath <roland@hack.frob.com>
862
22dbc19d
RM
863 * scripts/versionlist.awk: New file.
864 * Makerules [$(build-shared) = yes]
865 (postclean-generated): Add Versions.def, not Versions.def.v and
866 Versions.def.v.i.
867 ($(common-objpfx)Versions.def.v.i): Target removed.
868 ($(common-objpfx)Versions.def): New target.
869 ($(common-objpfx)Versions.all): Depend on that rather that
870 $(common-objpfx)Versions.def.v.
871 * Versions.def: File removed.
872
498a2233
RM
873 * Makeconfig (+gccwarn): Add -Wundef.
874 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
875 a dl-sysdep.h breaking its contract.
876 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
877 * include/stackinfo.h: New file.
878 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
879 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
880 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
881 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
882 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
883 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
884 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
885 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
886 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
887 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
888 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
889 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
890 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
891 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
892 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
893
c7de5025
AZ
8942014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
895
896 [BZ #16707]
897 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
898 implementation.
899 * math/libm-test.inc (round_test_data): Add more tests.
900
98fb27a3
AZ
9012014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
902
903 [BZ #16706]
904 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
905 implementation.
906 * math/libm-test.inc (nearbyint_test_data): Add more tests.
907
374f7f61
AZ
9082014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
909
910 [BZ #16701]
911 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
912 implementation.
913 * math/libm-test.inc (ceil_test_data): Add more tests.
914
4655c291
AZ
9152014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
916
917 * math/libm-test.inc (trunc_test_data): Add more tests related to
918 BZ#16414.
919
d7329d4b
RM
9202014-03-14 Roland McGrath <roland@hack.frob.com>
921
922 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
923 with #if rather than #ifdef.
924 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
925
aa4de9ce
L
9262014-03-14 H.J. Lu <hongjiu.lu@intel.com>
927
928 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
929 first. Disable AVX-512 GCC support if assembler doesn't support
930 it.
931 * sysdeps/x86_64/configure: Regenerated.
932
2e03fae7
CD
9332014-03-13 Carlos O'Donell <carlos@redhat.com>
934
935 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
936 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
937 (__old_pthread_attr_setstack): Likewise.
938 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
939 [!_STACK_GROWS_DOWN]: Likewise.
940
43ca83ec
MF
9412014-03-13 Mike Frysinger <vapier@gentoo.org>
942
943 * config.make.in (have-bash2): Delete.
944 * configure.ac (libc_cv_have_bash2): Delete.
945 * configure: Regenerate.
946 * elf/Makefile (common-ldd-rewrite): Rename to ...
947 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
948 (sh-ldd-rewrite): Delete.
949 (bash-ldd-rewrite): Delete.
950 (have-bash2): Delete checks.
951 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
952
c66e48b4
MF
9532014-03-13 Mike Frysinger <vapier@gentoo.org>
954
955 * config.make.in (have-ksh): Delete.
956 (KSH): Delete.
957 * configure.ac (libc_cv_have_ksh): Delete.
958 * configure: Regenerate.
959
b93834ef
MF
9602014-03-13 Mike Frysinger <vapier@gentoo.org>
961
962 * elf/Makefile: Delete $(have-ksh) check.
963 ($(objpfx)sotruss): Change KSH to BASH.
964 * elf/sotruss.ksh: Rename to ...
965 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
966 function style to match POSIX. Drop ksh vim mode setting.
967
f3a4632a
MF
9682014-03-13 Mike Frysinger <vapier@gentoo.org>
969
970 * manual/time.texi (Specifying the Time Zone with TZ): Change
971 Tuesday to Thursday.
972
5896c8bd
MF
9732014-03-13 Mike Frysinger <vapier@gentoo.org>
974
975 * debug/tst-longjmp_chk2.c: Update header comment.
976 (stackoverflow_handler): Add comment. Call assert on pass value.
977
2d63a517
IZ
9782014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
979
980 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
981 (HAVE_AVX512_ASM_SUPPORT): Likewise.
982 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
983 (La_x86_64_vector): Add zmm.
984 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
985 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
986 ($(objpfx)tst-audit10): New target.
987 ($(objpfx)tst-audit10.out): Likewise.
988 (tst-audit10-ENV): New.
989 (AVX512-CFLAGS): Likewise.
990 (CFLAGS-tst-audit10.c): Likewise.
991 (CFLAGS-tst-auditmod10a.c): Likewise.
992 (CFLAGS-tst-auditmod10b.c): Likewise.
993 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
994 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
995 * sysdeps/x86_64/configure: Regenerated.
996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
997 AVX-512 zmm register support.
998 (_dl_x86_64_save_sse): Likewise.
999 (_dl_x86_64_restore_sse): Likewise.
1000 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1001 size vector registers.
1002 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1003 (ZMM_SIZE): Likewise.
1004 * sysdeps/x86_64/tst-audit10.c: New file.
1005 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1006 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1007
44c4e5d5
RM
10082014-03-13 Roland McGrath <roland@hack.frob.com>
1009
1010 * configure.ac (HAVE_EHDR_START): New check.
1011 * configure: Regenerated.
1012 * config.h.in (HAVE_EHDR_START): New #undef.
1013 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1014 assuming the lowest-addressed segment maps the start of the file.
1015
acd6e389
JM
10162014-03-13 Joseph Myers <joseph@codesourcery.com>
1017
1018 * INSTALL: Regenerated.
1019
6f918f36
WN
10202014-03-13 Will Newton <will.newton@linaro.org>
1021
1022 * manual/setjmp.texi (System V contexts): Improve
1023 clarity and grammar of documentation.
1024
798212a0
PP
10252014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1026
1027 [BZ #16381]
798212a0 1028 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1029 (tests-pie): Add tst-pie2.
798212a0
PP
1030 * elf/tst-pie2.c: New file.
1031 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1032 for ET_EXEC.
1033 * elf/rtld.c (map_doit): Load executable as lt_executable.
1034 (dl_main): Likewise.
1035
abe6d90c
JM
10362014-03-12 Joseph Myers <joseph@codesourcery.com>
1037
1038 [BZ #16642]
1039 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1040 (__ASSUME_PSELECT): Undefine.
1041
dd3946c6
AZ
10422014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1043
1044 [BZ #16689]
1045 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1046 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1047 static build.
1048 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1049 selector for static builds.
1050
c44496df
SP
10512014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1052
1053 [BZ #16695]
1054 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1055 key in the buffer.
1056
27c7220a
AZ
10572014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1058
1059 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1060 selector for static builds.
1061
600fa361
JM
10622014-03-11 Joseph Myers <joseph@codesourcery.com>
1063
76c96cf7
JM
1064 * sysdeps/mips/math_private.h [__mips_hard_float]
1065 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1066 libc_feresetround_mips_ctx.
1067 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1068 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1069 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1070
600fa361
JM
1071 [BZ #16677]
1072 * math/s_nextafter.c (__nextafter): Do not return value from
1073 overflowing computation.
1074 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1075 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1076 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1077 Likewise.
1078 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1079 Likewise.
1080 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1081 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1082
d7706c32
RM
10832014-03-11 Roland McGrath <roland@hack.frob.com>
1084
1085 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1086 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1087 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1088 the new mov targetting sp.
1089
4facea47
AZ
10902014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1091
1092 [BZ #16683]
1093 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1094 Define it for static builds as well.
1095 (NO_BZERO_IMPL): Likewise.
1096
e65caf1f
VR
10972014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1098
1099 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1100 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1101 multiarch strspn for PPC64.
1102 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1103 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1105 (__libc_ifunc_impl_list): Likewise.
1106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1107 multiarch optimizations
1108 * string/strspn.c (strspn): Using macro to redefine symbol name.
1109
ba9cc071
AZ
11102014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1111 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1112
1113 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1114 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1115 multiarch strncat for PPC64.
1116 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1117 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1119 (__libc_ifunc_impl_list): Likewise.
1120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1121 multiarch optimizations
1122
8b4ff974
SP
11232014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1124
1125 [BZ #16639]
1126 * nscd/nscd.service: Make service type forking.
1127
54b46a4b
AZ
11282014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1129
1130 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1131 sign in non default rounding modes.
1132 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1133
e9996ef7
JM
11342014-03-08 Joseph Myers <joseph@codesourcery.com>
1135
1136 * math/libm-test.inc (ALL_RM_TEST): New macro.
1137 (ceil_test): Use ALL_RM_TEST.
1138 (cimag_test): Likewise.
1139 (conj_test): Likewise.
1140 (copysign_test): Likewise.
1141 (cproj_test): Likewise.
1142 (creal_test): Likewise.
1143 (fabs_test): Likewise.
1144 (floor_test): Likewise.
1145 (fmax_test): Likewise.
1146 (fmin_test): Likewise.
1147 (fmod_test): Likewise.
1148 (fpclassify_test): Likewise.
1149 (frexp_test): Likewise.
1150 (ilogb_test): Likewise.
1151 (isfinite_test): Likewise.
1152 (finite_test): Likewise.
1153 (isgreater_test): Likewise.
1154 (isgreaterequal_test): Likewise.
1155 (isinf_test): Likewise.
1156 (isless_test): Likewise.
1157 (islessequal_test): Likewise.
1158 (islessgreater_test): Likewise.
1159 (isnan_test): Likewise.
1160 (isnormal_test): Likewise.
1161 (issignaling_test): Likewise.
1162 (isunordered_test): Likewise.
1163 (logb_test): Likewise.
1164 (logb_downward_test_data): Remove.
1165 (logb_test_downward): Likewise.
1166 (lround_test): Use ALL_RM_TEST.
1167 (llround_test): Likewise.
1168 (modf_test): Likewise.
1169 (nexttoward_test): Likewise.
1170 (remainder_test): Likewise.
1171 (drem_test): Likewise.
1172 (remainder_tonearest_test_data): Likewise.
1173 (remainder_test_tonearest): Likewise.
1174 (drem_test_tonearest): Likewise.
1175 (remainder_towardzero_test_data): Likewise.
1176 (remainder_test_towardzero): Likewise.
1177 (drem_test_towardzero): Likewise.
1178 (remainder_downward_test_data): Likewise.
1179 (remainder_test_downward): Likewise.
1180 (drem_test_downward): Likewise.
1181 (remainder_upward_test_data): Likewise.
1182 (remainder_test_upward): Likewise.
1183 (drem_test_upward): Likewise.
1184 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1185 (round_test): Use ALL_RM_TEST.
1186 (signbit_test): Likewise.
1187 (trunc_test): Likewise.
1188 (significand_test): Likewise.
1189 (main): Don't call removed functions.
1190
bc61d27c
JM
11912014-03-07 Joseph Myers <joseph@codesourcery.com>
1192
5c780849
JM
1193 [BZ #16674]
1194 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1195 || __USE_XOPEN2K8].
1196 (ILL_ILLOPN): Likewise.
1197 (ILL_ILLADR): Likewise.
1198 (ILL_ILLTRP): Likewise.
1199 (ILL_PRVOPC): Likewise.
1200 (ILL_PRVREG): Likewise.
1201 (ILL_COPROC): Likewise.
1202 (ILL_BADSTK): Likewise.
1203 (FPE_INTDIV): Likewise.
1204 (FPE_INTOVF): Likewise.
1205 (FPE_FLTDIV): Likewise.
1206 (FPE_FLTOVF): Likewise.
1207 (FPE_FLTUND): Likewise.
1208 (FPE_FLTRES): Likewise.
1209 (FPE_FLTINV): Likewise.
1210 (FPE_FLTSUB): Likewise.
1211 (SEGV_MAPERR): Likewise.
1212 (SEGV_ACCERR): Likewise.
1213 (BUS_ADRALN): Likewise.
1214 (BUS_ADRERR): Likewise.
1215 (BUS_OBJERR): Likewise.
1216 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1217 (TRAP_TRACE): Likewise.
1218 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1219 __USE_XOPEN2K8].
1220 (CLD_KILLED): Likewise.
1221 (CLD_DUMPED): Likewise.
1222 (CLD_TRAPPED): Likewise.
1223 (CLD_STOPPED): Likewise.
1224 (CLD_CONTINUED): Likewise.
1225 (POLL_IN): Likewise.
1226 (POLL_OUT): Likewise.
1227 (POLL_MSG): Likewise.
1228 (POLL_ERR): Likewise.
1229 (POLL_PRI): Likewise.
1230 (POLL_HUP): Likewise.
1231 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1232 Likewise.
1233 (ILL_ILLOPN): Likewise.
1234 (ILL_ILLADR): Likewise.
1235 (ILL_ILLTRP): Likewise.
1236 (ILL_PRVOPC): Likewise.
1237 (ILL_PRVREG): Likewise.
1238 (ILL_COPROC): Likewise.
1239 (ILL_BADSTK): Likewise.
1240 (FPE_INTDIV): Likewise.
1241 (FPE_INTOVF): Likewise.
1242 (FPE_FLTDIV): Likewise.
1243 (FPE_FLTOVF): Likewise.
1244 (FPE_FLTUND): Likewise.
1245 (FPE_FLTRES): Likewise.
1246 (FPE_FLTINV): Likewise.
1247 (FPE_FLTSUB): Likewise.
1248 (SEGV_MAPERR): Likewise.
1249 (SEGV_ACCERR): Likewise.
1250 (BUS_ADRALN): Likewise.
1251 (BUS_ADRERR): Likewise.
1252 (BUS_OBJERR): Likewise.
1253 (BUS_MCEERR_AR): Likewise.
1254 (BUS_MCEERR_AO): Likewise.
1255 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1256 (TRAP_TRACE): Likewise.
1257 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1258 __USE_XOPEN2K8].
1259 (CLD_KILLED): Likewise.
1260 (CLD_DUMPED): Likewise.
1261 (CLD_TRAPPED): Likewise.
1262 (CLD_STOPPED): Likewise.
1263 (CLD_CONTINUED): Likewise.
1264 (POLL_IN): Likewise.
1265 (POLL_OUT): Likewise.
1266 (POLL_MSG): Likewise.
1267 (POLL_ERR): Likewise.
1268 (POLL_PRI): Likewise.
1269 (POLL_HUP): Likewise.
1270 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1271 (ILL_ILLOPN): Likewise.
1272 (ILL_ILLADR): Likewise.
1273 (ILL_ILLTRP): Likewise.
1274 (ILL_PRVOPC): Likewise.
1275 (ILL_PRVREG): Likewise.
1276 (ILL_COPROC): Likewise.
1277 (ILL_BADSTK): Likewise.
1278 (FPE_INTDIV): Likewise.
1279 (FPE_INTOVF): Likewise.
1280 (FPE_FLTDIV): Likewise.
1281 (FPE_FLTOVF): Likewise.
1282 (FPE_FLTUND): Likewise.
1283 (FPE_FLTRES): Likewise.
1284 (FPE_FLTINV): Likewise.
1285 (FPE_FLTSUB): Likewise.
1286 (SEGV_MAPERR): Likewise.
1287 (SEGV_ACCERR): Likewise.
1288 (BUS_ADRALN): Likewise.
1289 (BUS_ADRERR): Likewise.
1290 (BUS_OBJERR): Likewise.
1291 (BUS_MCEERR_AR): Likewise.
1292 (BUS_MCEERR_AO): Likewise.
1293 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1294 (TRAP_TRACE): Likewise.
1295 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1296 __USE_XOPEN2K8].
1297 (CLD_KILLED): Likewise.
1298 (CLD_DUMPED): Likewise.
1299 (CLD_TRAPPED): Likewise.
1300 (CLD_STOPPED): Likewise.
1301 (CLD_CONTINUED): Likewise.
1302 (POLL_IN): Likewise.
1303 (POLL_OUT): Likewise.
1304 (POLL_MSG): Likewise.
1305 (POLL_ERR): Likewise.
1306 (POLL_PRI): Likewise.
1307 (POLL_HUP): Likewise.
1308 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1309 Likewise.
1310 (ILL_ILLOPN): Likewise.
1311 (ILL_ILLADR): Likewise.
1312 (ILL_ILLTRP): Likewise.
1313 (ILL_PRVOPC): Likewise.
1314 (ILL_PRVREG): Likewise.
1315 (ILL_COPROC): Likewise.
1316 (ILL_BADSTK): Likewise.
1317 (ILL_BADIADDR): Likewise.
1318 (ILL_BREAK): Likewise.
1319 (FPE_INTDIV): Likewise.
1320 (FPE_INTOVF): Likewise.
1321 (FPE_FLTDIV): Likewise.
1322 (FPE_FLTOVF): Likewise.
1323 (FPE_FLTUND): Likewise.
1324 (FPE_FLTRES): Likewise.
1325 (FPE_FLTINV): Likewise.
1326 (FPE_FLTSUB): Likewise.
1327 (FPE_DECOVF): Likewise.
1328 (FPE_DECDIV): Likewise.
1329 (FPE_DECERR): Likewise.
1330 (FPE_INVASC): Likewise.
1331 (FPE_INVDEC): Likewise.
1332 (SEGV_MAPERR): Likewise.
1333 (SEGV_ACCERR): Likewise.
1334 (SEGV_PSTKOVF): Likewise.
1335 (BUS_ADRALN): Likewise.
1336 (BUS_ADRERR): Likewise.
1337 (BUS_OBJERR): Likewise.
1338 (BUS_MCEERR_AR): Likewise.
1339 (BUS_MCEERR_AO): Likewise.
1340 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1341 (TRAP_TRACE): Likewise.
1342 (TRAP_BRANCH): Likewise.
1343 (TRAP_HWBKPT): Likewise.
1344 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1345 __USE_XOPEN2K8].
1346 (CLD_KILLED): Likewise.
1347 (CLD_DUMPED): Likewise.
1348 (CLD_TRAPPED): Likewise.
1349 (CLD_STOPPED): Likewise.
1350 (CLD_CONTINUED): Likewise.
1351 (POLL_IN): Likewise.
1352 (POLL_OUT): Likewise.
1353 (POLL_MSG): Likewise.
1354 (POLL_ERR): Likewise.
1355 (POLL_PRI): Likewise.
1356 (POLL_HUP): Likewise.
1357 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1358 (ILL_ILLOPN): Likewise.
1359 (ILL_ILLADR): Likewise.
1360 (ILL_ILLTRP): Likewise.
1361 (ILL_PRVOPC): Likewise.
1362 (ILL_PRVREG): Likewise.
1363 (ILL_COPROC): Likewise.
1364 (ILL_BADSTK): Likewise.
1365 (FPE_INTDIV): Likewise.
1366 (FPE_INTOVF): Likewise.
1367 (FPE_FLTDIV): Likewise.
1368 (FPE_FLTOVF): Likewise.
1369 (FPE_FLTUND): Likewise.
1370 (FPE_FLTRES): Likewise.
1371 (FPE_FLTINV): Likewise.
1372 (FPE_FLTSUB): Likewise.
1373 (SEGV_MAPERR): Likewise.
1374 (SEGV_ACCERR): Likewise.
1375 (BUS_ADRALN): Likewise.
1376 (BUS_ADRERR): Likewise.
1377 (BUS_OBJERR): Likewise.
1378 (BUS_MCEERR_AR): Likewise.
1379 (BUS_MCEERR_AO): Likewise.
1380 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1381 (TRAP_TRACE): Likewise.
1382 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1383 __USE_XOPEN2K8].
1384 (CLD_KILLED): Likewise.
1385 (CLD_DUMPED): Likewise.
1386 (CLD_TRAPPED): Likewise.
1387 (CLD_STOPPED): Likewise.
1388 (CLD_CONTINUED): Likewise.
1389 (POLL_IN): Likewise.
1390 (POLL_OUT): Likewise.
1391 (POLL_MSG): Likewise.
1392 (POLL_ERR): Likewise.
1393 (POLL_PRI): Likewise.
1394 (POLL_HUP): Likewise.
1395 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1396 (ILL_ILLOPN): Likewise.
1397 (ILL_ILLADR): Likewise.
1398 (ILL_ILLTRP): Likewise.
1399 (ILL_PRVOPC): Likewise.
1400 (ILL_PRVREG): Likewise.
1401 (ILL_COPROC): Likewise.
1402 (ILL_BADSTK): Likewise.
1403 (FPE_INTDIV): Likewise.
1404 (FPE_INTOVF): Likewise.
1405 (FPE_FLTDIV): Likewise.
1406 (FPE_FLTOVF): Likewise.
1407 (FPE_FLTUND): Likewise.
1408 (FPE_FLTRES): Likewise.
1409 (FPE_FLTINV): Likewise.
1410 (FPE_FLTSUB): Likewise.
1411 (SEGV_MAPERR): Likewise.
1412 (SEGV_ACCERR): Likewise.
1413 (BUS_ADRALN): Likewise.
1414 (BUS_ADRERR): Likewise.
1415 (BUS_OBJERR): Likewise.
1416 (BUS_MCEERR_AR): Likewise.
1417 (BUS_MCEERR_AO): Likewise.
1418 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1419 (TRAP_TRACE): Likewise.
1420 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1421 __USE_XOPEN2K8].
1422 (CLD_KILLED): Likewise.
1423 (CLD_DUMPED): Likewise.
1424 (CLD_TRAPPED): Likewise.
1425 (CLD_STOPPED): Likewise.
1426 (CLD_CONTINUED): Likewise.
1427 (POLL_IN): Likewise.
1428 (POLL_OUT): Likewise.
1429 (POLL_MSG): Likewise.
1430 (POLL_ERR): Likewise.
1431 (POLL_PRI): Likewise.
1432 (POLL_HUP): Likewise.
1433 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1434 (ILL_ILLOPN): Likewise.
1435 (ILL_ILLADR): Likewise.
1436 (ILL_ILLTRP): Likewise.
1437 (ILL_PRVOPC): Likewise.
1438 (ILL_PRVREG): Likewise.
1439 (ILL_COPROC): Likewise.
1440 (ILL_BADSTK): Likewise.
1441 (FPE_INTDIV): Likewise.
1442 (FPE_INTOVF): Likewise.
1443 (FPE_FLTDIV): Likewise.
1444 (FPE_FLTOVF): Likewise.
1445 (FPE_FLTUND): Likewise.
1446 (FPE_FLTRES): Likewise.
1447 (FPE_FLTINV): Likewise.
1448 (FPE_FLTSUB): Likewise.
1449 (SEGV_MAPERR): Likewise.
1450 (SEGV_ACCERR): Likewise.
1451 (BUS_ADRALN): Likewise.
1452 (BUS_ADRERR): Likewise.
1453 (BUS_OBJERR): Likewise.
1454 (BUS_MCEERR_AR): Likewise.
1455 (BUS_MCEERR_AO): Likewise.
1456 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1457 (TRAP_TRACE): Likewise.
1458 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1459 __USE_XOPEN2K8].
1460 (CLD_KILLED): Likewise.
1461 (CLD_DUMPED): Likewise.
1462 (CLD_TRAPPED): Likewise.
1463 (CLD_STOPPED): Likewise.
1464 (CLD_CONTINUED): Likewise.
1465 (POLL_IN): Likewise.
1466 (POLL_OUT): Likewise.
1467 (POLL_MSG): Likewise.
1468 (POLL_ERR): Likewise.
1469 (POLL_PRI): Likewise.
1470 (POLL_HUP): Likewise.
1471 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1472 (ILL_ILLOPN): Likewise.
1473 (ILL_ILLADR): Likewise.
1474 (ILL_ILLTRP): Likewise.
1475 (ILL_PRVOPC): Likewise.
1476 (ILL_PRVREG): Likewise.
1477 (ILL_COPROC): Likewise.
1478 (ILL_BADSTK): Likewise.
1479 (ILL_DBLFLT): Likewise.
1480 (ILL_HARDWALL): Likewise.
1481 (FPE_INTDIV): Likewise.
1482 (FPE_INTOVF): Likewise.
1483 (FPE_FLTDIV): Likewise.
1484 (FPE_FLTOVF): Likewise.
1485 (FPE_FLTUND): Likewise.
1486 (FPE_FLTRES): Likewise.
1487 (FPE_FLTINV): Likewise.
1488 (FPE_FLTSUB): Likewise.
1489 (SEGV_MAPERR): Likewise.
1490 (SEGV_ACCERR): Likewise.
1491 (BUS_ADRALN): Likewise.
1492 (BUS_ADRERR): Likewise.
1493 (BUS_OBJERR): Likewise.
1494 (BUS_MCEERR_AR): Likewise.
1495 (BUS_MCEERR_AO): Likewise.
1496 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1497 (TRAP_TRACE): Likewise.
1498 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1499 __USE_XOPEN2K8].
1500 (CLD_KILLED): Likewise.
1501 (CLD_DUMPED): Likewise.
1502 (CLD_TRAPPED): Likewise.
1503 (CLD_STOPPED): Likewise.
1504 (CLD_CONTINUED): Likewise.
1505 (POLL_IN): Likewise.
1506 (POLL_OUT): Likewise.
1507 (POLL_MSG): Likewise.
1508 (POLL_ERR): Likewise.
1509 (POLL_PRI): Likewise.
1510 (POLL_HUP): Likewise.
1511 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1512 (ILL_ILLOPN): Likewise.
1513 (ILL_ILLADR): Likewise.
1514 (ILL_ILLTRP): Likewise.
1515 (ILL_PRVOPC): Likewise.
1516 (ILL_PRVREG): Likewise.
1517 (ILL_COPROC): Likewise.
1518 (ILL_BADSTK): Likewise.
1519 (FPE_INTDIV): Likewise.
1520 (FPE_INTOVF): Likewise.
1521 (FPE_FLTDIV): Likewise.
1522 (FPE_FLTOVF): Likewise.
1523 (FPE_FLTUND): Likewise.
1524 (FPE_FLTRES): Likewise.
1525 (FPE_FLTINV): Likewise.
1526 (FPE_FLTSUB): Likewise.
1527 (SEGV_MAPERR): Likewise.
1528 (SEGV_ACCERR): Likewise.
1529 (BUS_ADRALN): Likewise.
1530 (BUS_ADRERR): Likewise.
1531 (BUS_OBJERR): Likewise.
1532 (BUS_MCEERR_AR): Likewise.
1533 (BUS_MCEERR_AO): Likewise.
1534 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1535 (TRAP_TRACE): Likewise.
1536 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1537 __USE_XOPEN2K8].
1538 (CLD_KILLED): Likewise.
1539 (CLD_DUMPED): Likewise.
1540 (CLD_TRAPPED): Likewise.
1541 (CLD_STOPPED): Likewise.
1542 (CLD_CONTINUED): Likewise.
1543 (POLL_IN): Likewise.
1544 (POLL_OUT): Likewise.
1545 (POLL_MSG): Likewise.
1546 (POLL_ERR): Likewise.
1547 (POLL_PRI): Likewise.
1548 (POLL_HUP): Likewise.
1549 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1550 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1551
bc61d27c
JM
1552 [BZ #16670]
1553 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1554 before #include of <time.h>.
1555 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1556 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1557 (test-xfail-UNIX98/sched.h/conform): Likewise.
1558
302949e2
MS
15592014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1560
1561 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1562 error absence of trapping exception support.
1563 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1564
a00f522a
JM
15652014-03-07 Joseph Myers <joseph@codesourcery.com>
1566
6f99f280
JM
1567 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1568 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1569 * timezone/Makefile (testdata): Move definition above include of
1570 Rules.
1571 (test-zones): New variable.
1572 (tests-special): Add zone files.
1573 (build-testdata): Use $(evaluate-test).
1574
0b20a9e8
JM
1575 * elf/Makefile (tests-special): Rename tests to end with .out.
1576 ($(objpfx)noload-mem): Likewise.
1577 ($(objpfx)tst-leaks1-mem): Likewise.
1578 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1579 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1580 $(objpfx)test-iconvconfig.out.
1581 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1582 set -e inside subshell and redirect output to file.
1583 * iconvdata/Makefile (generated): Rename tests to end with .out.
1584 Correct type.
1585 (tests-special): Rename tests to end with .out.
1586 ($(objpfx)mtrace-tst-loading): Likewise.
1587 * intl/Makefile (generated): Likewise.
1588 (tests-special): Likewise.
1589 ($(objpfx)mtrace-tst-gettext): Likewise.
1590 * misc/Makefile (generated): Likewise.
1591 (tests-special): Likewise.
1592 ($(objpfx)tst-error1-mem): Likewise.
1593 * nptl/Makefile (tests-special): Likewise.
1594 ($(objpfx)tst-stack3-mem): Likewise.
1595 (generated): Likewise.
1596 * posix/Makefile (generated): Likewise.
1597 (tests-special): Likewise.
1598 (xtests-special): Likewise.
1599 ($(objpfx)tst-fnmatch-mem): Likewise.
1600 ($(objpfx)bug-regex2-mem): Likewise.
1601 ($(objpfx)bug-regex14-mem): Likewise.
1602 ($(objpfx)bug-regex21-mem): Likewise.
1603 ($(objpfx)bug-regex31-mem): Likewise.
1604 ($(objpfx)tst-vfork3-mem): Likewise.
1605 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1606 ($(objpfx)tst-pcre-mem): Likewise.
1607 ($(objpfx)tst-boost-mem): Likewise.
1608 ($(objpfx)bug-ga2-mem): Likewise.
1609 ($(objpfx)bug-glob2-mem): Likewise.
1610 * resolv/Makefile (generate): Likewise.
1611 (tests-special): Likewise.
1612 (xtests-special): Likewise.
1613 (generated): Likewise.
1614 ($(objpfx)mtrace-tst-leaks): Likewise.
1615 ($(objpfx)mtrace-tst-leaks2): Likewise.
1616
265d52ab
JM
1617 * scripts/merge-test-results.sh: New file.
1618 * Makefile (tests-special-notdir): New variable.
1619 (tests): Run merge-test-results.sh.
1620 (xtests): Likewise.
1621 * Rules (tests-special-notdir): New variable.
1622 (xtests-special-notdir): Likewise.
1623 (tests): Run merge-test-results.sh
1624 (xtests): Likewise.
1625
54ee292d
JM
1626 * Makeconfig (test-xfail-name): New variable.
1627 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1628 compute variable name for expected failures.
1629 * conform/Makefile (conformtest-headers-data): New variable.
1630 (conformtest-standards): Likewise.
1631 (conformtest-headers-ISO): Likewise.
1632 (conformtest-headers-ISO99): Likewise.
1633 (conformtest-headers-ISO11): Likewise.
1634 (conformtest-headers-POSIX): Likewise.
1635 (conformtest-headers-XPG3): Likewise.
1636 (conformtest-headers-XPG4): Likewise.
1637 (conformtest-headers-UNIX98): Likewise.
1638 (conformtest-headers-XOPEN2K): Likewise.
1639 (conformtest-headers-POSIX2008): Likewise.
1640 (conformtest-headers-XOPEN2K8): Likewise.
1641 (conformtest-header-list-base): Likewise.
1642 (conformtest-header-list-tests): Likewise.
1643 (conformtest-header-base): Likewise.
1644 (conformtest-header-tests): Likewise.
1645 (tests-special): Add $(conformtest-header-list-tests). If
1646 [$(fast-check) && !$(cross-compiling)], add
1647 $(conformtest-header-tests) instead of
1648 $(objpfx)run-conformtest.out.
1649 (generated): Add $(conformtest-header-list-base). If
1650 [$(fast-check) && !$(cross-compiling)], add
1651 $(conformtest-header-base). Remove previous setting.
1652 ($(conformtest-header-list-tests)): New target.
1653 (test-xfail-run-conformtest): Remove variable.
1654 ($(objpfx)run-conformtest.out): Remove target.
1655 (test-xfail-ISO11/complex.h/conform): New variable.
1656 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1657 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1658 (test-xfail-XPG3/varargs.h/conform): Likewise.
1659 (test-xfail-XPG4/varargs.h/conform): Likewise.
1660 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1661 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1662 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1663 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1664 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1665 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1666 (test-xfail-XPG3/ftw.h/conform): Likewise.
1667 (test-xfail-XPG3/grp.h/conform): Likewise.
1668 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1669 (test-xfail-XPG3/limits.h/conform): Likewise.
1670 (test-xfail-XPG3/pwd.h/conform): Likewise.
1671 (test-xfail-XPG3/search.h/conform): Likewise.
1672 (test-xfail-XPG3/signal.h/conform): Likewise.
1673 (test-xfail-XPG3/stdio.h/conform): Likewise.
1674 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1675 (test-xfail-XPG3/string.h/conform): Likewise.
1676 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1677 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1678 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1679 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1680 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1681 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1682 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1683 (test-xfail-XPG3/termios.h/conform): Likewise.
1684 (test-xfail-XPG3/time.h/conform): Likewise.
1685 (test-xfail-XPG3/unistd.h/conform): Likewise.
1686 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1687 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1688 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1689 (test-xfail-XPG4/netdb.h/conform): Likewise.
1690 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1691 (test-xfail-XPG4/signal.h/conform): Likewise.
1692 (test-xfail-XPG4/stdio.h/conform): Likewise.
1693 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1694 (test-xfail-XPG4/stropts.h/conform): Likewise.
1695 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1696 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1697 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1698 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1699 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1700 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1701 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1702 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1703 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1704 (test-xfail-XPG4/termios.h/conform): Likewise.
1705 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1706 (test-xfail-XPG4/unistd.h/conform): Likewise.
1707 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1708 (test-xfail-POSIX/sched.h/conform): Likewise.
1709 (test-xfail-POSIX/signal.h/conform): Likewise.
1710 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1711 (test-xfail-POSIX/tar.h/conform): Likewise.
1712 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1713 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1714 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1715 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1716 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1717 (test-xfail-UNIX98/sched.h/conform): Likewise.
1718 (test-xfail-UNIX98/signal.h/conform): Likewise.
1719 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1720 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1721 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1722 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1723 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1724 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1725 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1726 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1727 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1728 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1729 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1730 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1731 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1732 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1733 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1734 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1735 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1736 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1737 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1738 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1739 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1740 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1741 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1742 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1743 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1744 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1745 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1746 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1747 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1748 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1749 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1750 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1751 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1752 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1753 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1754 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1755 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1756 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1757 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1758 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1759 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1760 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1761 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1762 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1763 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1764 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1765 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1766 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1767 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1768 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1769 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1770 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1771 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1772 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1773 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1774 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1775 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1776 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1777 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1778 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1779 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1780 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1781 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1782 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1783 (conformtest-cc-flags): Likewise.
1784 ($(conformtest-header-tests): New target.
1785 * conform/check-header-lists.sh: New file.
1786 * conform/run-conformtest.sh: Remove.
1787
a00f522a
JM
1788 * conform/conformtest.pl: Allow ' and \ in values given for
1789 constants.
1790 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1791 inclusion.
1792 [POSIX] (sys/types.h): Likewise.
1793 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1794 inclusion.
1795 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1796 inclusion.
1797 * conform/data/signal.h-data (SIGIO): Remove expectation.
1798 [XPG3] (SIGBUS): Do not expect.
1799 [POSIX || XPG3] (SIGPOLL): Likewise.
1800 [POSIX || XPG3] (SIGPROF): Likewise.
1801 [POSIX || XPG3] (SIGSYS): Likewise.
1802 [XPG3] (SIGTRAP): Likewise.
1803 [POSIX || XPG3] (SIGURG): Likewise.
1804 [POSIX || XPG3] (SIGVTALRM): Likewise.
1805 [POSIX || XPG3] (SIGXCPU): Likewise.
1806 [POSIX || XPG3] (SIGXFSZ): Likewise.
1807 [POSIX] (SA_SIGINFO): Expect.
1808 [XPG3] (siginfo_t): Do not expect type or contents.
1809 [POSIX] (si_pid): Do not expect element.
1810 [POSIX] (si_uid): Likewise.
1811 [POSIX] (si_addr): Likewise.
1812 [POSIX] (si_status): Likewise.
1813 [POSIX] (si_band): Likewise.
1814 [XPG4] (si_value): Likewise.
1815 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1816 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1817 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1818 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1819 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1820 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1821 [POSIX || XPG3] (ILL_COPROC): Likewise.
1822 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1823 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1824 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1825 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1826 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1827 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1828 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1829 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1830 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1831 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1832 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1833 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1834 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1835 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1836 [POSIX || XPG3] (CLD_EXITED): Likewise.
1837 [POSIX || XPG3] (CLD_KILLED): Likewise.
1838 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1839 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1840 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1841 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1842 [POSIX || XPG3] (POLL_IN): Likewise.
1843 [POSIX || XPG3] (POLL_OUT): Likewise.
1844 [POSIX || XPG3] (POLL_MSG): Likewise.
1845 [POSIX || XPG3] (POLL_ERR): Likewise.
1846 [POSIX || XPG3] (POLL_PRI): Likewise.
1847 [POSIX || XPG3] (POLL_HUP): Likewise.
1848 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1849 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1850 (SIG*): Do not allow.
1851 [XPG3] (si_*): Likewise.
1852 [XPG3] (SI_*): Likewise.
1853 [XPG3 || XPG4] (sigev_*): Likewise.
1854 [XPG3 || XPG4] (SIGEV_*): Likewise.
1855 [XPG3 || XPG4] (sival_*): Likewise.
1856 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1857 [POSIX || XPG3] (BUS_*): Likewise.
1858 [POSIX || XPG3] (CLD_*): Likewise.
1859 [POSIX || XPG3] (FPE_*): Likewise.
1860 [POSIX || XPG3] (ILL_*): Likewise.
1861 [POSIX || XPG3] (POLL_*): Likewise.
1862 [POSIX || XPG3] (SEGV_*): Likewise.
1863 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1864 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1865 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1866 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1867 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1868 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1869 Specify type and value.
1870 (TVERSLEN): Likewise.
1871 (REGTYPE): Likewise.
1872 (AREGTYPE): Likewise.
1873 (LNKTYPE): Likewise.
1874 (SYMTYPE): Likewise.
1875 (CHRTYPE): Likewise.
1876 (BLKTYPE): Likewise.
1877 (DIRTYPE): Likewise.
1878 (FIFOTYPE): Likewise.
1879 (CONTTYPE): Likewise.
1880 (TSUID): Likewise.
1881 (TSGID): Likewise.
1882 (TSVTX): Likewise.
1883 (TUREAD): Likewise.
1884 (TUWRITE): Likewise.
1885 (TUEXEC): Likewise.
1886 (TGREAD): Likewise.
1887 (TGWRITE): Likewise.
1888 (TGEXEC): Likewise.
1889 (TOREAD): Likewise.
1890 (TOWRITE): Likewise.
1891 (TOEXEC): Likewise.
1892 [POSIX] (TSVTX): Expect constant.
1893
aa97dee1
JM
18942014-03-06 Joseph Myers <joseph@codesourcery.com>
1895
f214606a
JM
1896 * Makefile (tests): Change dependencies to ....
1897 (tests-special): ... additions to this variable.
1898 (tests): Depend on $(tests-special).
1899 * Makerules (check-abi-list): New variable.
1900 (check-abi): Depend on $(check-abi-list).
1901 [$(subdir) = elf] (tests-special): Add
1902 $(objpfx)check-abi-libc.out.
1903 [$(build-shared) = yes && subdir] (tests-special): Add
1904 $(check-abi-list).
1905 [$(build-shared) = yes && subdir] (tests): Do not depend on
1906 check-abi.
1907 * Rules (tests): Depend on $(tests-special).
1908 (xtests): Depend on $(xtests-special).
1909 * catgets/Makefile (tests): Change dependencies to ....
1910 (tests-special): ... additions to this variable.
1911 * conform/Makefile (tests): Change dependencies to ....
1912 (tests-special): ... additions to this variable.
1913 * elf/Makefile (tests): Change dependencies to ....
1914 (tests-special): ... additions to this variable.
1915 * grp/Makefile (tests): Change dependencies to ....
1916 (tests-special): ... additions to this variable.
1917 * iconv/Makefile (xtests): Change dependencies to ....
1918 (xtests-special): ... additions to this variable.
1919 * iconvdata/Makefile (tests): Change dependencies to ....
1920 (tests-special): ... additions to this variable.
1921 * intl/Makefile (tests): Change dependencies to ....
1922 (tests-special): ... additions to this variable. Also add
1923 $(objpfx)tst-gettext.out.
1924 * io/Makefile (tests): Change dependencies to ....
1925 (tests-special): ... additions to this variable.
1926 * libio/Makefile (tests): Change dependencies to ....
1927 (tests-special): ... additions to this variable.
1928 * malloc/Makefile (tests): Change dependencies to ....
1929 (tests-special): ... additions to this variable.
1930 * misc/Makefile (tests): Change dependencies to ....
1931 (tests-special): ... additions to this variable.
1932 * nptl/Makefile (tests): Change dependencies to ....
1933 (tests-special): ... additions to this variable.
1934 * nptl_db/Makefile (tests): Change dependencies to ....
1935 (tests-special): ... additions to this variable.
1936 * posix/Makefile (tests): Change dependencies to ....
1937 (tests-special): ... additions to this variable.
1938 (xtests): Change dependencies to ....
1939 (xtests-special): ... additions to this variable.
1940 * resolv/Makefile (tests): Change dependencies to ....
1941 (tests-special): ... additions to this variable.
1942 (xtests): Change dependencies to ....
1943 (xtests-special): ... additions to this variable.
1944 * stdio-common/Makefile (tests): Change dependencies to ....
1945 (tests-special): ... additions to this variable.
1946 (do-tst-unbputc): Remove target.
1947 (do-tst-printf): Likewise.
1948 * stdlib/Makefile (tests): Change dependencies to ....
1949 (tests-special): ... additions to this variable.
1950 * string/Makefile (tests): Change dependencies to ....
1951 (tests-special): ... additions to this variable.
1952 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1953 (tests-special): ... additions to this variable.
1954
81700b53
JM
1955 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1956 whole file.
1957 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1958 whole file.
1959 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1960 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1961
2ea18461
JM
1962 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1963 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1964 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1965 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1966 * conform/data/libgen.h-data [XPG3]: Likewise.
1967 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1968 * conform/data/ndbm.h-data [XPG3]: Likewise.
1969 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1970 * conform/data/netdb.h-data [XPG3]: Likewise.
1971 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1972 * conform/data/poll.h-data [XPG3]: Likewise.
1973 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1974 * conform/data/strings.h-data [XPG3]: Likewise.
1975 * conform/data/stropts.h-data [XPG3]: Likewise.
1976 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1977 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1978 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1979 Likewise.
1980 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1981 * conform/data/sys/time.h-data [XPG3]: Likewise.
1982 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1983 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1984 * conform/data/sys/un.h-data [XPG3]: Likewise.
1985 * conform/data/syslog.h-data [XPG3]: Likewise.
1986 * conform/data/ucontext.h-data [XPG3]: Likewise.
1987 * conform/data/utmpx.h-data [XPG3]: Likewise.
1988 * conform/data/varargs.h-data [UNIX98]: Enable file.
1989
355bc986
JM
1990 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1991
215db402
JM
1992 * math/libm-test.inc (struct test_f_f_data): Move expected results
1993 into structure for each rounding mode.
1994 (struct test_ff_f_data): Likewise.
1995 (struct test_ff_f_data_nexttoward): Likewise.
1996 (struct test_fi_f_data): Likewise.
1997 (struct test_fl_f_data): Likewise.
1998 (struct test_if_f_data): Likewise.
1999 (struct test_fff_f_data): Likewise.
2000 (struct test_c_f_data): Likewise.
2001 (struct test_f_f1_data): Likewise.
2002 (struct test_fF_f1_data): Likewise.
2003 (struct test_ffI_f1_data): Likewise.
2004 (struct test_c_c_data): Likewise.
2005 (struct test_cc_c_data): Likewise.
2006 (struct test_f_i_data): Likewise.
2007 (struct test_ff_i_data): Likewise.
2008 (struct test_f_l_data): Likewise.
2009 (struct test_f_L_data): Likewise.
2010 (struct test_fFF_11_data): Likewise.
2011 (RM_): New macro.
2012 (RM_FE_DOWNWARD): Likewise.
2013 (RM_FE_TONEAREST): Likewise.
2014 (RM_FE_TOWARDZERO): Likewise.
2015 (RM_FE_UPWARD): Likewise.
2016 (RUN_TEST_LOOP_f_f): Update references to expected results.
2017 (RUN_TEST_LOOP_2_f): Likewise.
2018 (RUN_TEST_LOOP_fff_f): Likewise.
2019 (RUN_TEST_LOOP_c_f): Likewise.
2020 (RUN_TEST_LOOP_f_f1): Likewise.
2021 (RUN_TEST_LOOP_fF_f1): Likewise.
2022 (RUN_TEST_LOOP_fI_f1): Likewise.
2023 (RUN_TEST_LOOP_ffI_f1): Likewise.
2024 (RUN_TEST_LOOP_c_c): Likewise.
2025 (RUN_TEST_LOOP_cc_c): Likewise.
2026 (RUN_TEST_LOOP_f_i): Likewise.
2027 (RUN_TEST_LOOP_f_i_tg): Likewise.
2028 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2029 (RUN_TEST_LOOP_f_b): Likewise.
2030 (RUN_TEST_LOOP_f_b_tg): Likewise.
2031 (RUN_TEST_LOOP_f_l): Likewise.
2032 (RUN_TEST_LOOP_f_L): Likewise.
2033 (RUN_TEST_LOOP_fFF_11): Likewise.
2034 * math/gen-libm-test.pl (parse_args): Output four copies of
2035 expected results for each test.
2036
67737b8f
JM
2037 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2038 (__ASSUME_UTIMES): Remove.
2039 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2040 (__ASSUME_UTIMES): Likewise.
2041
aa97dee1
JM
2042 * math/gen-auto-libm-tests.c: Update comment on output format.
2043 (output_for_one_input_case): Generate before-rounding and
2044 after-rounding information as conditions on output flags not
2045 floating-point format.
2046 * math/auto-libm-test-out: Regenerated.
2047 * math/gen-libm-test.pl (cond_value): New function.
2048 (or_cond_value): Use cond_value.
2049 (generate_testfile): Handle conditional exceptions.
2050
e6b6a857
JM
20512014-03-05 Joseph Myers <joseph@codesourcery.com>
2052
2f0a0f44
JM
2053 * math/libm-test.inc (max_valid_error): New variable.
2054 (init_max_error): Take new argument specifying whether function
2055 results are exactly determined. Set max_valid_error and bound
2056 other variables for errors based on this argument.
2057 (set_max_error): Do not record results above max_valid_error.
2058 (check_float_internal): Only accept errors of up to 0.5ulps if
2059 also at most max_valid_error.
2060 (START): Take new argument EXACT and pass it to init_max_error.
2061 (acos_test): Update call to START.
2062 (acos_test_tonearest): Likewise.
2063 (acos_test_towardzero): Likewise.
2064 (acos_test_downward): Likewise.
2065 (acos_test_upward): Likewise.
2066 (acosh_test): Likewise.
2067 (asin_test): Likewise.
2068 (asin_test_tonearest): Likewise.
2069 (asin_test_towardzero): Likewise.
2070 (asin_test_downward): Likewise.
2071 (asin_test_upward): Likewise.
2072 (asinh_test): Likewise.
2073 (atan_test): Likewise.
2074 (atanh_test): Likewise.
2075 (atan2_test): Likewise.
2076 (cabs_test): Likewise.
2077 (cacos_test): Likewise.
2078 (cacosh_test): Likewise.
2079 (carg_test): Likewise.
2080 (casin_test): Likewise.
2081 (casinh_test): Likewise.
2082 (catan_test): Likewise.
2083 (catanh_test): Likewise.
2084 (cbrt_test): Likewise.
2085 (ccos_test): Likewise.
2086 (ccosh_test): Likewise.
2087 (ceil_test): Likewise.
2088 (cexp_test): Likewise.
2089 (cimag_test): Likewise.
2090 (clog_test): Likewise.
2091 (clog10_test): Likewise.
2092 (conj_test): Likewise.
2093 (copysign_test): Likewise.
2094 (cos_test): Likewise.
2095 (cos_test_tonearest): Likewise.
2096 (cos_test_towardzero): Likewise.
2097 (cos_test_downward): Likewise.
2098 (cos_test_upward): Likewise.
2099 (cosh_test): Likewise.
2100 (cosh_test_tonearest): Likewise.
2101 (cosh_test_towardzero): Likewise.
2102 (cosh_test_downward): Likewise.
2103 (cosh_test_upward): Likewise.
2104 (cpow_test): Likewise.
2105 (cproj_test): Likewise.
2106 (creal_test): Likewise.
2107 (csin_test): Likewise.
2108 (csinh_test): Likewise.
2109 (csqrt_test): Likewise.
2110 (ctan_test): Likewise.
2111 (ctan_test_tonearest): Likewise.
2112 (ctan_test_towardzero): Likewise.
2113 (ctan_test_downward): Likewise.
2114 (ctan_test_upward): Likewise.
2115 (ctanh_test): Likewise.
2116 (ctanh_test_tonearest): Likewise.
2117 (ctanh_test_towardzero): Likewise.
2118 (ctanh_test_downward): Likewise.
2119 (ctanh_test_upward): Likewise.
2120 (erf_test): Likewise.
2121 (erfc_test): Likewise.
2122 (exp_test): Likewise.
2123 (exp_test_tonearest): Likewise.
2124 (exp_test_towardzero): Likewise.
2125 (exp_test_downward): Likewise.
2126 (exp_test_upward): Likewise.
2127 (exp10_test): Likewise.
2128 (exp10_test_tonearest): Likewise.
2129 (exp10_test_towardzero): Likewise.
2130 (exp10_test_downward): Likewise.
2131 (exp10_test_upward): Likewise.
2132 (pow10_test): Likewise.
2133 (exp2_test): Likewise.
2134 (expm1_test): Likewise.
2135 (expm1_test_tonearest): Likewise.
2136 (expm1_test_towardzero): Likewise.
2137 (expm1_test_downward): Likewise.
2138 (expm1_test_upward): Likewise.
2139 (fabs_test): Likewise.
2140 (fdim_test): Likewise.
2141 (floor_test): Likewise.
2142 (fma_test): Likewise.
2143 (fma_test_towardzero): Likewise.
2144 (fma_test_downward): Likewise.
2145 (fma_test_upward): Likewise.
2146 (fmax_test): Likewise.
2147 (fmin_test): Likewise.
2148 (fmod_test): Likewise.
2149 (fpclassify_test): Likewise.
2150 (frexp_test): Likewise.
2151 (hypot_test): Likewise.
2152 (ilogb_test): Likewise.
2153 (isfinite_test): Likewise.
2154 (finite_test): Likewise.
2155 (isgreater_test): Likewise.
2156 (isgreaterequal_test): Likewise.
2157 (isinf_test): Likewise.
2158 (isless_test): Likewise.
2159 (islessequal_test): Likewise.
2160 (islessgreater_test): Likewise.
2161 (isnan_test): Likewise.
2162 (isnormal_test): Likewise.
2163 (issignaling_test): Likewise.
2164 (isunordered_test): Likewise.
2165 (j0_test): Likewise.
2166 (j1_test): Likewise.
2167 (jn_test): Likewise.
2168 (ldexp_test): Likewise.
2169 (lgamma_test): Likewise.
2170 (gamma_test): Likewise.
2171 (lrint_test): Likewise.
2172 (lrint_test_tonearest): Likewise.
2173 (lrint_test_towardzero): Likewise.
2174 (lrint_test_downward): Likewise.
2175 (lrint_test_upward): Likewise.
2176 (llrint_test): Likewise.
2177 (llrint_test_tonearest): Likewise.
2178 (llrint_test_towardzero): Likewise.
2179 (llrint_test_downward): Likewise.
2180 (llrint_test_upward): Likewise.
2181 (log_test): Likewise.
2182 (log10_test): Likewise.
2183 (log1p_test): Likewise.
2184 (log2_test): Likewise.
2185 (logb_test): Likewise.
2186 (logb_test_downward): Likewise.
2187 (lround_test): Likewise.
2188 (llround_test): Likewise.
2189 (modf_test): Likewise.
2190 (nearbyint_test): Likewise.
2191 (nextafter_test): Likewise.
2192 (nexttoward_test): Likewise.
2193 (pow_test): Likewise.
2194 (pow_test_tonearest): Likewise.
2195 (pow_test_towardzero): Likewise.
2196 (pow_test_downward): Likewise.
2197 (pow_test_upward): Likewise.
2198 (remainder_test): Likewise.
2199 (drem_test): Likewise.
2200 (remainder_test_tonearest): Likewise.
2201 (drem_test_tonearest): Likewise.
2202 (remainder_test_towardzero): Likewise.
2203 (drem_test_towardzero): Likewise.
2204 (remainder_test_downward): Likewise.
2205 (drem_test_downward): Likewise.
2206 (remainder_test_upward): Likewise.
2207 (drem_test_upward): Likewise.
2208 (remquo_test): Likewise.
2209 (rint_test): Likewise.
2210 (rint_test_tonearest): Likewise.
2211 (rint_test_towardzero): Likewise.
2212 (rint_test_downward): Likewise.
2213 (rint_test_upward): Likewise.
2214 (round_test): Likewise.
2215 (scalb_test): Likewise.
2216 (scalbn_test): Likewise.
2217 (scalbln_test): Likewise.
2218 (signbit_test): Likewise.
2219 (sin_test): Likewise.
2220 (sin_test_tonearest): Likewise.
2221 (sin_test_towardzero): Likewise.
2222 (sin_test_downward): Likewise.
2223 (sin_test_upward): Likewise.
2224 (sincos_test): Likewise.
2225 (sinh_test): Likewise.
2226 (sinh_test_tonearest): Likewise.
2227 (sinh_test_towardzero): Likewise.
2228 (sinh_test_downward): Likewise.
2229 (sinh_test_upward): Likewise.
2230 (sqrt_test): Likewise.
2231 (sqrt_test_tonearest): Likewise.
2232 (sqrt_test_towardzero): Likewise.
2233 (sqrt_test_downward): Likewise.
2234 (sqrt_test_upward): Likewise.
2235 (tan_test): Likewise.
2236 (tan_test_tonearest): Likewise.
2237 (tan_test_towardzero): Likewise.
2238 (tan_test_downward): Likewise.
2239 (tan_test_upward): Likewise.
2240 (tanh_test): Likewise.
2241 (tgamma_test): Likewise.
2242 (trunc_test): Likewise.
2243 (y0_test): Likewise.
2244 (y1_test): Likewise.
2245 (yn_test): Likewise.
2246 (significand_test): Likewise.
2247
e6b6a857
JM
2248 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2249 individual tests in comment.
2250 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2251 (prev_max_error): New variable.
2252 (prev_real_max_error): Likewise.
2253 (prev_imag_max_error): Likewise.
2254 (compare_ulp_data): Don't refer to test names in comment.
2255 (find_test_ulps): Remove function.
2256 (find_function_ulps): Likewise.
2257 (find_complex_function_ulps): Likewise.
2258 (init_max_error): Take function name as argument. Look up ulps
2259 for that function.
2260 (print_ulps): Remove function.
2261 (print_max_error): Use prev_max_error instead of calling
2262 find_function_ulps.
2263 (print_complex_max_error): Use prev_real_max_error and
2264 prev_imag_max_error instead of calling find_complex_function_ulps.
2265 (check_float_internal): Take max_ulp parameter instead of calling
2266 find_test_ulps. Don't call print_ulps.
2267 (check_float): Update call to check_float_internal.
2268 (check_complex): Update calls to check_float_internal.
2269 (START): Pass argument to init_max_error.
2270 * math/gen-libm-test.pl (%results): Don't include "kind"
2271 information.
2272 (parse_ulps): Don't handle ulps of individual tests.
2273 (print_ulps_file): Likewise.
2274 (output_ulps): Likewise.
2275 * math/README.libm-test: Update.
2276 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2277 individual tests.
2278 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2279 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2280 * sysdeps/arm/libm-test-ulps: Likewise.
2281 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2282 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2283 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2284 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2285 * sysdeps/microblaze/libm-test-ulps: Likewise.
2286 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2287 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2288 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2289 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2290 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2291 * sysdeps/sh/libm-test-ulps: Likewise.
2292 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2293 * sysdeps/tile/libm-test-ulps: Likewise.
2294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2295
45adef3c
JM
22962014-03-04 Joseph Myers <joseph@codesourcery.com>
2297
2298 * math/libm-test.inc (print_complex_max_error): Check separately
2299 whether real and imaginary errors are within allowed range and
2300 pass 0 to print_complex_function_ulps instead of value within
2301 allowed range.
2302
000232b9
SP
23032014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2304
d4b17258
SP
2305 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2306 formatting.
2307 (get_handles_fopen): Likewise.
2308 (do_write_test): Likewise.
2309
091eff71
SP
2310 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2311
fa3cd248
SP
2312 * libio/fileops.c (do_ftell): Use cached offset when
2313 available.
2314 * libio/iofwide.c (do_ftell_wide): Likewise.
2315 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2316 _IO_file_attach.
2317 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2318
000232b9
SP
2319 [BZ #16532]
2320 * libio/libioP.h (get_file_offset): New function.
2321 * libio/fileops.c (get_file_offset): Likewise.
2322 (do_ftell): Likewise.
2323 (_IO_new_file_seekoff): Split out ftell logic.
2324 * libio/wfileops.c (do_ftell_wide): Likewise.
2325 (_IO_wfile_seekoff): Split out ftell logic.
2326 * libio/tst-ftell-active-handler.c: New test case.
2327 * libio/Makefile (tests): Add it.
2328
116f4d1a
RM
23292014-03-03 Roland McGrath <roland@hack.frob.com>
2330
2331 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2332 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2333
532a6035
SP
23342014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2335
2336 [BZ #16639]
2337 * nscd/connections.c (nscd_init): Call do_exit.
2338 (start_threads): Call do_exit and notify_parent.
2339 (begin_drop_privileges): Call do_exit.
2340 (finish_drop_privileges): Likewise.
2341 * nscd/selinux.c (preserve_capabilities): Likewise.
2342 (install_real_capabilities): Likewise.
2343 (nscd_selinux_enabled): Likewise.
2344 (avc_create_thread): Likewise.
2345 (avc_alloc_lock): Likewise.
2346 (nscd_avc_init): Likewise.
2347 * nscd/nscd.c (parent_fd): New static variable.
2348 (main): Create a pipe between parent and child processes.
2349 Skip closing parent_fd.
2350 (monitor_child): New function.
2351 (do_exit): Likewise.
2352 (notify_parent): Likewise.
2353 * nscd/nscd.h (notify_parent): Likewise.
2354 (do_exit): Likewise.
2355
d6285c9f
CD
23562014-03-03 Carlos O'Donell <carlos@redhat.com>
2357
2358 * malloc/malloc.c (__libc_calloc): Revert last change.
2359
2b85d2a0
AZ
23602014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2361
2362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2363
c7debbdf
RS
23642014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2365
2366 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2368 implementation.
2369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2370 (__libc_ifunc_impl_list): Likewise.
2371 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2372 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2373 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2374 * string/strrchr.c: Define STRRCHR.
2375
235eed86
OB
23762014-02-28 Ondřej Bílka <neleai@seznam.cz>
2377
2378 * benchtest/bench-strtok.c (simple_strtok): Delete.
2379 (strtok_string): Use as benchmark.
2380 * string/strtok (STRTOK): New macro.
2381
8e25d1e7
CD
23822014-02-28 Carlos O'Donell <carlos@redhat.com>
2383
ef563f92
CD
2384 * manual/threads.texi: Add header and standard comments to all
2385 functions.
2386
8e25d1e7
CD
2387 * elf/dl-lookup.c (check_match): New function.
2388 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2389 (do_lookup_x): Remove nested function check_match. Use non-nested
2390 function check_match.
2391
ff71cc37
RM
23922014-02-28 Roland McGrath <roland@hack.frob.com>
2393
f08e9a26
RM
2394 * csu/Makefile (generated, before-compile): Use += rather than =.
2395 * catgets/Makefile (generated, generated-dirs): Likewise.
2396 * debug/Makefile (generated): Likewise.
2397 * dlfcn/Makefile (generated): Likewise.
2398 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2399 * iconvdata/Makefile (before-compile, generated): Likewise.
2400 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2401 * libio/Makefile (generated): Likewise.
2402 * malloc/Makefile (generated): Likewise.
2403 * manual/Makefile (generated, generated-dirs): Likewise.
2404 * misc/Makefile (generated): Likewise.
2405 * posix/Makefile (generated): Likewise.
2406 * resolv/Makefile (generated): Likewise.
2407 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2408 * timezone/Makefile (generated, generated-dirs): Likewise.
2409
ff71cc37
RM
2410 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2411
fe13a20c
AZ
24122014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2413
2414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2415 implementation.
2416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2417 POWER8 llround ifunc implementation.
2418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2419 POWER8 implementation.
2420 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2421 POWER8 llround implementation.
2422
1ad8950a
AZ
24232014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2424
2425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2426 implementation.
2427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2428 POWER8 llrint ifunc implementation.
2429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2430 POWER8 implementation.
2431 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2432 POWER8 llrint implementation.
2433
cac626d6
AZ
24342014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2435
2436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2437 implementation.
2438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2439 POWER8 finite ifunc implementation.
2440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2441 POWER8 implementation.
2442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2443 Likewise.
2444 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2445 POWER8 finite implementation.
2446 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2447
4393fc11
AZ
24482014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2449
2450 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2451 implementation.
2452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2453 POWER8 isinf ifunc implementation.
2454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2455 POWER8 implementation.
2456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2457 Likewise.
2458 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2459 POWER8 isinf implementation.
2460 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2461
487972ae
AZ
24622014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2463
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2465 Add hwcap2 initialization.
2466 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2467 implementation.
2468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2469 POWER8 isnan ifunc implementation.
2470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2471 POWER8 implementation.
2472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2473 Likewise.
2474 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2475 POWER8 isnan implementation.
2476 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2477
7d92b787
JY
24782014-02-27 Joey Ye <joey.ye@arm.com>
2479
2480 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2481 (_FP_NANFRAC_Q): Set to zero.
2482
1cadc858
SP
24832014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2484
2485 [BZ #16623]
2486 * math/auto-libm-test-in: New test inputs.
2487 * math/auto-libm-test-out: Regenerate.
2488 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2489 and DA.
2490 (__cos): Likewise.
2491 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2492
f8c17e79
JM
24932014-02-27 Joseph Myers <joseph@codesourcery.com>
2494
2495 * scripts/evaluate-test.sh: Take new argument indicating whether
2496 failure is expected.
2497 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2498 indicating whether failure is expected.
2499 * conform/Makefile (test-xfail-run-conformtest): New variable.
2500 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2501 level.
2502 * posix/Makefile (test-xfail-annexc): New variable.
2503 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2504
a5f891ac
JM
25052014-02-26 Joseph Myers <joseph@codesourcery.com>
2506
2507 * argp/Makefile: Include Makeconfig immediately after defining
2508 subdir.
2509 * assert/Makefile: Likewise.
2510 * benchtests/Makefile: Likewise.
2511 * catgets/Makefile: Likewise.
2512 * conform/Makefile: Likewise.
2513 * crypt/Makefile: Likewise.
2514 * csu/Makefile: Likewise.
2515 (all): Remove target.
2516 * ctype/Makefile: Include Makeconfig immediately after defining
2517 subdir.
2518 * debug/Makefile: Likewise.
2519 * dirent/Makefile: Likewise.
2520 * dlfcn/Makefile: Likewise.
2521 * gmon/Makefile: Likewise.
2522 * gnulib/Makefile: Likewise.
2523 * grp/Makefile: Likewise.
2524 * gshadow/Makefile: Likewise.
2525 * hesiod/Makefile: Likewise.
2526 * hurd/Makefile: Likewise.
2527 (all): Remove target.
2528 * iconvdata/Makefile: Include Makeconfig immediately after
2529 defining subdir.
2530 * inet/Makefile: Likewise.
2531 * intl/Makefile: Likewise.
2532 * io/Makefile: Likewise.
2533 * libio/Makefile: Likewise.
2534 (all): Remove target.
2535 * locale/Makefile: Include Makeconfig immediately after defining
2536 subdir.
2537 * login/Makefile: Likewise.
2538 * mach/Makefile: Likewise.
2539 (all): Remove target.
2540 * malloc/Makefile: Include Makeconfig immediately after defining
2541 subdir.
2542 (all): Remove target.
2543 * manual/Makefile: Include Makeconfig immediately after defining
2544 subdir.
2545 * math/Makefile: Likewise.
2546 * misc/Makefile: Likewise.
2547 * nis/Makefile: Likewise.
2548 * nss/Makefile: Likewise.
2549 * po/Makefile: Likewise.
2550 (all): Remove target.
2551 * posix/Makefile: Include Makeconfig immediately after defining
2552 subdir.
2553 * pwd/Makefile: Likewise.
2554 * resolv/Makefile: Likewise.
2555 * resource/Makefile: Likewise.
2556 * rt/Makefile: Likewise.
2557 * setjmp/Makefile: Likewise.
2558 * shadow/Makefile: Likewise.
2559 * signal/Makefile: Likewise.
2560 * socket/Makefile: Likewise.
2561 * soft-fp/Makefile: Likewise.
2562 * stdio-common/Makefile: Likewise.
2563 * stdlib/Makefile: Likewise.
2564 * streams/Makefile: Likewise.
2565 * string/Makefile: Likewise.
2566 * sunrpc/Makefile: Likewise.
2567 (all): Remove target.
2568 * sysvipc/Makefile: Include Makeconfig immediately after defining
2569 subdir.
2570 * termios/Makefile: Likewise.
2571 * time/Makefile: Likewise.
2572 * timezone/Makefile: Likewise.
2573 (all): Remove target.
2574 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2575 subdir.
2576 * wctype/Makefile: Likewise.
2577
5b456e9d
SE
25782014-02-26 Steve Ellcey <sellcey@mips.com>
2579
2580 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2581 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2582 (libc_feholdexcept_setround_mips): Ditto.
2583 (libc_feholdsetround): New.
2584 (libc_feholdsetroundf): New.
2585 (libc_feholdsetroundl): New.
2586 (libc_feupdateenv_test_mips): New.
2587 (libc_feupdateenv_test): New.
2588 (libc_feupdateenv_testf): New.
2589 (libc_feupdateenv_testl): New.
2590 (libc_feresetround): New.
2591 (libc_feresetroundf): New.
2592 (libc_feresetroundl): New.
2593 (libc_fetestexcept_mips): New.
2594 (libc_fetestexcept): New.
2595 (libc_fetestexceptf): New.
2596 (libc_fetestexceptl): New.
2597 (HAVE_RM_CTX): New.
2598 (libc_feholdexcept_setround_mips_ctx): New.
2599 (libc_feholdexcept_setround_ctx): New.
2600 (libc_feholdexcept_setroundf_ctx): New.
2601 (libc_feholdexcept_setroundl_ctx): New.
2602 (libc_fesetenv_mips_ctx): New.
2603 (libc_fesetenv_ctx): New.
2604 (libc_fesetenv_ctxf): New.
2605 (libc_fesetenv_ctxl): New.
2606 (libc_feupdateenv_mips_ctx): New.
2607 (libc_feupdateenv_ctx): New.
2608 (libc_feupdateenvf_ctx): New.
2609 (libc_feupdateenvl_ctx): New.
2610 (libc_feholdsetround_mips_ctx): New.
2611 (libc_feholdsetround_ctx): New.
2612 (libc_feholdsetroundf_ctx): New.
2613 (libc_feholdsetroundl_ctx): New.
2614 (libc_feresetround_mips_ctx): New.
2615 (libc_feresetround_ctx): New.
2616 (libc_feresetroundf_ctx): New.
2617 (libc_feresetroundl_ctx): New.
2618
085d0e35
CD
26192014-02-26 Carlos O'Donell <carlos@redhat.com>
2620
f067bf1f
CD
2621 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2622
085d0e35
CD
2623 * manual/ipc.texi: New file.
2624 * manual/Makefile (chapters): Add ipc.
2625 * manual/job.texi: Add "Inter-Process Communication" to next.
2626 * manual/process.texi: Add "Inter-Process Communication" to prev.
2627
86e58c08
AZ
26282014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2629
2630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2631
4248f0da
OB
26322014-02-26 Ondřej Bílka <neleai@seznam.cz>
2633
2634 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2635
cf822e3c
OB
2636 * manual/arith.texi: Fix spaces after sentences.
2637 * manual/charset.texi: Likewise.
2638 * manual/errno.texi: Likewise.
2639 * manual/install.texi: Likewise.
2640 * manual/llio.texi: Likewise.
2641 * manual/locale.texi: Likewise.
2642 * manual/maint.texi: Likewise.
2643 * manual/math.texi: Likewise.
2644 * manual/memory.texi: Likewise.
2645 * manual/message.texi: Likewise.
2646 * manual/probes.texi: Likewise.
2647 * manual/resource.texi: Likewise.
2648 * manual/signal.texi: Likewise.
2649 * manual/socket.texi: Likewise.
2650 * manual/stdio.texi: Likewise.
2651 * manual/string.texi: Likewise.
2652 * manual/time.texi: Likewise.
2653 * manual/users.texi: Likewise.
2654
ade40b10
CD
26552014-02-25 Carlos O'Donell <carlos@redhat.com>
2656
2657 [BZ #16632]
2658 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2659 _DEFAULT_SOURCE is defined.
2660
d0503676
CD
26612014-02-25 Ulrich Drepper <drepper@gmail.com>
2662 Carlos O'Donell <carlos@redhat.com>
2663
2664 [BZ #16613]
2665 * elf/dl-tls.c (_dl_count_modids): New function.
2666 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2667 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2668 audit library and increment generation counter.
2669 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2670 * elf/tst-audit9.c: New file.
2671 * elf/tst-auditmod9a.c: New file.
2672 * elf/tst-auditmod9b.c: New file.
2673 * elf/Makefile: Add rules to build and run tst-audit9.
2674
4cbf380c
FW
26752014-02-25 Florian Weimer <fweimer@redhat.com>
2676
2677 [BZ #15347]
2678 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2679
80a56cc3
WN
26802014-02-25 Will Newton <will.newton@linaro.org>
2681
2682 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2683 (__longjmp): Restore sp and lr before restoring callee
2684 saved registers. Add longjmp and longjmp_target
2685 SystemTap probe point.
2686 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2687 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2688 Define to zero to match jmpbuf layout.
2689 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2690 (__sigsetjmp): Save sp and lr before saving callee
2691 saved registers. Add setjmp SystemTap probe point.
2692
3ea0f74e
SL
26932014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2694
2695 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2696
b04acb26
AS
26972014-02-24 Andreas Schwab <schwab@suse.de>
2698
2699 [BZ #15804]
2700 * elf/pldd.c (wait_for_ptrace_stop): New function.
2701 (main): Call it after attaching.
2702
098ad55c
RM
27032014-02-22 Roland McGrath <roland@hack.frob.com>
2704
d4ec6ae1
RM
2705 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2706 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2707 Versions files is now verboten.
2708 * hurd/Versions (libc: GLIBC_2.0):
2709 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2710 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2711 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2712 * mach/Versions: Likewise.
2713
098ad55c
RM
2714 * csu/Versions: Remove unused %include.
2715 * resolv/Versions: Likewise.
2716
acd7f096
JM
27172014-02-21 Joseph Myers <joseph@codesourcery.com>
2718
f0881698
JM
2719 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2720 ($(objpfx)check-local-headers.out): Likewise.
2721 ($(objpfx)begin-end-check.out): Likewise.
2722 * Makerules (check-abi-%.out): Likewise.
2723 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2724 ($(objpfx)test2.cat): Likewise.
2725 ($(objpfx)de/libc.cat): Likewise.
2726 ($(objpfx)test-gencat.out): Likewise.
2727 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2728 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2729 ($(objpfx)noload-mem): Likewise.
2730 ($(objpfx)tst-pathopt.out): Likewise.
2731 ($(objpfx)tst-rtld-load-self.out): Likewise.
2732 ($(objpfx)tst-array1-cmp.out): Likewise.
2733 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2734 ($(objpfx)tst-array2-cmp.out): Likewise.
2735 ($(objpfx)tst-array3-cmp.out): Likewise.
2736 ($(objpfx)tst-array4-cmp.out): Likewise.
2737 ($(objpfx)tst-array5-cmp.out): Likewise.
2738 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2739 ($(objpfx)check-textrel.out): Likewise.
2740 ($(objpfx)check-execstack.out): Likewise.
2741 ($(objpfx)check-localplt.out): Likewise.
2742 ($(objpfx)order2-cmp.out): Likewise.
2743 ($(objpfx)tst-leaks1-mem): Likewise.
2744 ($(objpfx)tst-leaks1-static-mem): Likewise.
2745 ($(objpfx)tst-initorder-cmp.out): Likewise.
2746 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2747 ($(objpfx)tst-unused-dep.out): Likewise.
2748 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2749 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2750 * iconv/Makefile (test-iconvconfig): Likewise.
2751 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2752 ($(objpfx)iconv-test.out): Likewise.
2753 ($(objpfx)tst-tables.out): Likewise.
2754 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2755 ($(objpfx)tst-gettext.out): Likewise.
2756 ($(objpfx)tst-translit.out): Likewise.
2757 ($(objpfx)tst-gettext2.out): Likewise.
2758 ($(objpfx)tst-gettext4.out): Likewise.
2759 ($(objpfx)tst-gettext6.out): Likewise.
2760 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2761 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2762 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2763 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2764 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2765 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2766 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2767 ($(objpfx)wordexp-tst.out): Likewise.
2768 ($(objpfx)annexc.out): Likewise.
2769 ($(objpfx)tst-fnmatch-mem): Likewise.
2770 ($(objpfx)bug-regex2-mem): Likewise.
2771 ($(objpfx)bug-regex14-mem): Likewise.
2772 ($(objpfx)bug-regex21-mem): Likewise.
2773 ($(objpfx)bug-regex31-mem): Likewise.
2774 ($(objpfx)tst-vfork3-mem): Likewise.
2775 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2776 ($(objpfx)tst-pcre-mem): Likewise.
2777 ($(objpfx)tst-boost-mem): Likewise.
2778 ($(objpfx)tst-getconf.out): Likewise.
2779 ($(objpfx)bug-ga2-mem): Likewise.
2780 ($(objpfx)bug-glob2-mem): Likewise.
2781 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2782 ($(objpfx)mtrace-tst-leaks2): Likewise.
2783 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2784 ($(objpfx)tst-printf.out): Likewise.
2785 ($(objpfx)tst-setvbuf1.out): Likewise.
2786 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2787 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2788 ($(objpfx)tst-fmtmsg.out): Likewise.
2789 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2790 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2791
acd7f096
JM
2792 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2793 * bits/sigaction.h [__USE_MISC]: Likewise.
2794 * bits/waitstatus.h: Update #endif comments.
2795 * ctype/ctype.h: Likewise.
2796 * dirent/dirent.h: Likewise.
2797 [__USE_MISC]: Remove redundant conditionals.
2798 * grp/grp.h: Update #endif comments.
2799 [__USE_GNU]: Remove redundant conditionals.
2800 [__USE_MISC]: Likewise.
2801 * inet/netinet/in.h [__USE_GNU]: Likewise.
2802 * io/sys/stat.h [__USE_MISC]: Likewise.
2803 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2804 * libio/bits/stdio.h: Update #endif comments.
2805 [__USE_MISC]: Remove redundant conditionals.
2806 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2807 * libio/stdio.h: Update #endif comments.
2808 [__USE_MISC]: Remove redundant conditionals.
2809 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2810 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2811 * math/math.h: Update #else and #endif comments.
2812 [__USE_MISC]: Remove redundant conditionals.
2813 * misc/sys/uio.h: Update #endif comments.
2814 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2815 * posix/glob.h [__USE_MISC]: Likewise.
2816 * posix/sys/types.h: Update #endif comments.
2817 [__USE_MISC]: Remove redundant conditionals.
2818 * posix/sys/wait.h: Update #endif comments.
2819 [__USE_MISC]: Remove redundant conditionals.
2820 * posix/unistd.h: Update #endif comments.
2821 [__USE_MISC]: Remove redundant conditionals.
2822 * pwd/pwd.h [__USE_GNU]: Likewise.
2823 [__USE_MISC]: Likewise.
2824 * resolv/netdb.h [__USE_GNU]: Likewise.
2825 * signal/signal.h: Update #endif comments.
2826 [__USE_MISC]: Remove redundant conditionals.
2827 * stdlib/stdlib.h: Update #else and #endif comments.
2828 [__USE_MISC]: Remove redundant conditionals.
2829 [__USE_GNU]: Likewise.
2830 * string/bits/string2.h [__USE_MISC]: Likewise.
2831 * string/string.h: Update #endif comments.
2832 [__USE_MISC]: Remove redundant conditionals.
2833 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2834 Likewise.
2835 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2836 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2837 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2838 Likewise.
2839 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2840 Likewise.
2841 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2842 comments.
2843 [__USE_MISC]: Remove redundant conditionals.
2844 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2845 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2846 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2847 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2848 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2849 Likewise.
2850 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2851 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2852 Likewise.
2853 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2854 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2855 Likewise.
2856 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2857 Likewise.
2858 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2859 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2860 Likewise.
2861 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2862 Likewise.
2863 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2864 * sysdeps/x86/bits/string.h: Update #endif comments.
2865 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2866 conditionals.
2867 * time/sys/time.h: Update #endif comments.
2868 * time/time.h: Likewise.
2869 [__USE_MISC]: Remove redundant conditionals.
2870
a5d82e4e
YG
28712014-02-21 Yury Gribov <y.gribov@samsung.com>
2872
2873 [BZ #16600]
2874 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2875
9a80491d
AS
28762014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2877
2878 * Versions.def (librt): Add GLIBC_2.17.
2879
105fa381
AC
28802014-02-21 Adam Conrad <adconrad@0c3.net>
2881
2882 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2883 synonym for _SYS_AUXV_H to allow direct inclusion.
2884 * sysdeps/sparc/bits/hwcap.h: Likewise.
2885 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2886 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2887 * sysdeps/sparc/sysdep.h: Likewise.
2888
b8cd1c4e
SP
28892014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2890
2891 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2892
bd939d23
RS
28932014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2894
2895 * benchtests/bench-strrchr.c: Print length instead of position.
2896
5d7b57ca
JM
28972014-02-20 Joseph Myers <joseph@codesourcery.com>
2898
bc688c10
JM
2899 [BZ #16611]
2900 * sysdeps/unix/sysv/linux/kernel-features.h
2901 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2902 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2903 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2904 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2905 Likewise.
2906 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2907 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2908 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2909 (__ASSUME_SENDMMSG): Define instead of using previous
2910 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2911 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2912 (__ASSUME_SENDMMSG_SYSCALL): Define.
2913 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2914 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2915 Likewise.
2916 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2917 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2918 Likewise.
2919 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2920 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2921 Likewise.
2922 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2923 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2924 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2925 [__ASSUME_SENDMMSG]: Change conditionals to
2926 [__ASSUME_SENDMMSG_SOCKETCALL].
2927 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2928 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2929 Define.
2930 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2931 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2932 Likewise.
2933 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2934 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2935 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2936 [!__ASSUME_SENDMMSG]: Change conditional to
2937 [!__ASSUME_SENDMMSG_SOCKETCALL].
2938 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2939 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2940 Define.
2941
0e31b18c
JM
2942 [BZ #16610]
2943 * sysdeps/unix/sysv/linux/kernel-features.h
2944 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2945 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2946 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2947 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2948 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2949 [__i386__ || __sparc__]
2950 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2951 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2952 (__ASSUME_RECVMMSG): Define instead of using previous
2953 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2954 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2955 (__ASSUME_RECVMMSG_SYSCALL): Define.
2956 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2957 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2958 Likewise.
2959 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2960 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2961 Likewise.
2962 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2963 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2964 Likewise.
2965 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2966 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2967 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2968 [__ASSUME_RECVMMSG]: Change condition to
2969 [__ASSUME_RECVMMSG_SOCKETCALL].
2970 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2971 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2972 Define.
2973 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2974 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2975 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2976 Likewise.
2977 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2978 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2979 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2980 [!__ASSUME_RECVMMSG]: Change condition to
2981 [!__ASSUME_RECVMMSG_SOCKETCALL].
2982 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2983 (__ASSUME_RECVMMSG_SYSCALL): Define.
2984
dd481ccf
JM
2985 [BZ #16609]
2986 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2987 __powerpc__ || __s390__ || __sh__ || __sparc__]
2988 (__ASSUME_SOCKETCALL): Define.
2989 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2990 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2991 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2992 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2993 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2994 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2995 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2996 (__ASSUME_ACCEPT4): Define instead of using previous
2997 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2998 __powerpc__ || __sparc__ || __s390__)] condition.
2999 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3000 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3001 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3002 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3003 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3004 [!__ASSUME_ACCEPT4]: Change condition to
3005 [!__ASSUME_ACCEPT4_SOCKETCALL].
3006 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3007 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3008 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3009 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3010 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3011 __ASSUME_ACCEPT4_SYSCALL.
3012 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3013 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3014 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3015 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3016 __ASSUME_ACCEPT4_SYSCALL.
3017 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3018 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3019 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3020 [__ASSUME_ACCEPT4]: Change condition to
3021 [__ASSUME_ACCEPT4_SOCKETCALL].
3022 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3023 (__ASSUME_SOCKETCALL): Define.
3024 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3025 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3026 (__ASSUME_SOCKETCALL): Define.
3027 (__ASSUME_ACCEPT4): Remove.
3028 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3029 Define.
3030 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3031 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3032 Likewise.
3033 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3034 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3035
5d7b57ca
JM
3036 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3037 macro.
3038 (HWCAP_ARM_LPAE): Likewise.
3039 (HWCAP_ARM_EVTSTRM): Likewise.
3040 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3041 Add vpfd32, lpae and evtstrm.
3042 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3043 Increase to 22.
3044
63689d61
JM
30452014-02-19 Joseph Myers <joseph@codesourcery.com>
3046
3047 * math/auto-libm-test-in: Add tests of clog10.
3048 * math/auto-libm-test-out: Regenerated.
3049 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3050 * sysdeps/i386/fpu/libm-test-ulps: Update.
3051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3052
ab09bf61
AS
30532014-02-18 Andreas Schwab <schwab@suse.de>
3054
3055 [BZ #16574]
3056 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3057 Store non-zero if the second buffer was newly allocated.
3058 (send_dg): Likewise.
3059 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3060 to send_vc and send_dg.
3061 (res_nsend): Pass NULL for ansp2_malloced.
3062 * resolv/res_query.c (__libc_res_nquery): Add parameter
3063 answerp2_malloced and pass it down to __libc_res_nsend.
3064 (res_nquery): Pass additional NULL to __libc_res_nquery.
3065 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3066 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3067 second answer buffer if answerp2_malloced was set.
3068 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3069 (__libc_res_nquerydomain): Add parameter
3070 answerp2_malloced and pass it down to __libc_res_nquery.
3071 (res_nquerydomain): Pass additional NULL to
3072 __libc_res_nquerydomain.
3073 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3074 additional NULL to __libc_res_nsend and __libc_res_nquery.
3075 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3076 additional NULL to __libc_res_nsearch.
3077 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3078 parameter of __libc_res_nsearch to check for separately allocated
3079 second buffer.
3080 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3081 __libc_res_nquery.
3082 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3083 additional NULL to __libc_res_nquery.
3084 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3085 __libc_res_nsearch.
3086 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3087 * include/resolv.h: Update prototypes of __libc_res_nquery,
3088 __libc_res_nsearch, __libc_res_nsend.
3089
a4fb7861
JM
30902014-02-18 Joseph Myers <joseph@codesourcery.com>
3091
c6af2d89
JM
3092 * math/auto-libm-test-in: Add tests of fma.
3093 * math/auto-libm-test-out: Regenerated.
3094 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3095 (fma_towardzero_test_data): Likewise.
3096 (fma_downward_test_data): Likewise.
3097 (fma_upward_test_data): Likewise.
3098 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3099 mpc_mode.
3100 (rounding_modes): Add values for new field.
3101 (func_calc_method): Add value mpfr_fff_f.
3102 (func_calc_desc): Add mpfr_fff_f union field.
3103 (test_function): Add field exact_args.
3104 (FUNC): Add macro argument EXACT_ARGS.
3105 (FUNC_mpfr_f_f): Update call to FUNC.
3106 (FUNC_mpfr_f_f): Likewise.
3107 (FUNC_mpfr_ff_f): Likewise.
3108 (FUNC_mpfr_if_f): Likewise.
3109 (FUNC_mpc_c_f): Likewise.
3110 (FUNC_mpc_c_c): Likewise.
3111 (test_functions): Add fma. Update calls to FUNC.
3112 (handle_input_arg): Add argument exact_args.
3113 (add_test): Update call to handle_input_arg.
3114 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3115 (output_for_one_input_case): Update call to calc_generic_results.
3116 Recalculate exact zero results in each rounding mode.
3117
a4fb7861
JM
3118 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3119 non-negative before setting low bit.
3120 * math/auto-libm-test-in: Mark one asin test possibly having
3121 spurious underflow.
3122 * math/auto-libm-test-out: Regenerated.
3123 * sysdeps/i386/fpu/libm-test-ulps: Update.
3124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3125
ef114eaf
DH
31262014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3127
2b7f4f2c
SP
3128 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3129 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3130 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3131 * README: Add missing listing for microblaze*-*-linux-gnu.
3132
c70a4b1d
MF
31332014-02-16 Mike Frysinger <vapier@gentoo.org>
3134
3135 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3136 * sysdeps/unix/sysv/linux/ia64: Move directory from
3137 ports/sysdeps/unix/sysv/linux/ia64.
3138 * README: Update listing for ia64-*-linux-gnu.
3139
591aeaf7
TD
31402014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3141 Joseph Myers <joseph@codesourcery.com>
3142
3143 * Makeconfig (test-name): New variable.
3144 (evaluate-test): Likewise.
3145 * Makerules (do-test-clean): Remove .test-result files.
3146 (common-mostlyclean): Likewise.
3147 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3148 * scripts/evaluate-test.sh: New file.
3149
6e89caf1
JM
31502014-02-14 Joseph Myers <joseph@codesourcery.com>
3151
7f98f180
JM
3152 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3153 separate $(objpfx)tst-fopenloc-cmp.out and
3154 $(objpfx)tst-fopenloc-mem.out targets.
3155 (tests): Update dependencies.
3156 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3157 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3158 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3159 (tst-rxspencer-no-utf8-ARGS): New variable.
3160 (tst-rxspencer-no-utf8-ENV): Likewise.
3161 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3162 instead of $(objpfx)tst-rxspencer-mem.
3163 ($(objpfx)tst-rxspencer-mem): Change target to
3164 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3165 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3166 * posix/tst-rxspencer-no-utf8.c: New file.
3167
6e89caf1
JM
3168 * elf/Makefile ($(objpfx)order.out): Remove rule.
3169 [$(run-built-tests) = yes] (tests): Depend on
3170 $(objpfx)order-cmp.out.
3171 ($(objpfx)order-cmp.out): New rule.
3172 [$(run-built-tests) = yes] (tests): Depend on
3173 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3174 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3175 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3176 $(objpfx)tst-array5-static-cmp.out.
3177 ($(objpfx)tst-array1.out): Remove rule.
3178 ($(objpfx)tst-array1-cmp.out): New rule.
3179 ($(objpfx)tst-array1-static.out): Remove rule.
3180 ($(objpfx)tst-array1-static-cmp.out): New rule.
3181 ($(objpfx)tst-array2.out): Remove rule.
3182 ($(objpfx)tst-array2-cmp.out): New rule.
3183 ($(objpfx)tst-array3.out): Remove rule.
3184 ($(objpfx)tst-array3-cmp.out): New rule.
3185 ($(objpfx)tst-array4.out): Remove rule.
3186 ($(objpfx)tst-array4-cmp.out): New rule.
3187 ($(objpfx)tst-array5.out): Remove rule.
3188 ($(objpfx)tst-array5-cmp.out): New rule.
3189 ($(objpfx)tst-array5-static.out): Remove rule.
3190 ($(objpfx)tst-array5-static-cmp.out): New rule.
3191 [$(run-built-tests) = yes] (tests): Depend on
3192 $(objpfx)order2-cmp.out.
3193 ($(objpfx)order2.out): Remove rule.
3194 ($(objpfx)order2-cmp.out): New rule.
3195 ($(objpfx)tst-initorder.out): Remove rule.
3196 [$(run-built-tests) = yes] (tests): Depend on
3197 $(objpfx)tst-initorder-cmp.out.
3198 ($(objpfx)tst-initorder-cmp.out): New rule.
3199 ($(objpfx)tst-initorder2.out): Remove rule.
3200 [$(run-built-tests) = yes] (tests): Depend on
3201 $(objpfx)tst-initorder2-cmp.out.
3202 ($(objpfx)tst-initorder2-cmp.out): New rule.
3203 [$(run-built-tests) = yes] (tests): Depend on
3204 $(objpfx)tst-unused-dep-cmp.out.
3205 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3206 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3207 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3208 on $(objpfx)tst-setvbuf1-cmp.out.
3209 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3210 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3211 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3212 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3213 ($(objpfx)tst-svc.out): Remove rule.
3214 ($(objpfx)tst-svc-cmp.out): New rule.
3215
ed9a38e2
JM
32162014-02-13 Joseph Myers <joseph@codesourcery.com>
3217
3218 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3219 * ctype/ctype.h [__USE_MISC]: Likewise.
3220 * dirent/dirent.h [__USE_MISC]: Likewise.
3221 * grp/grp.h [__USE_MISC]: Likewise.
3222 * io/fcntl.h [__USE_MISC]: Likewise.
3223 * io/sys/stat.h [__USE_MISC]: Likewise.
3224 * libio/stdio.h [__USE_MISC]: Likewise.
3225 * posix/unistd.h [__USE_MISC]: Likewise.
3226 * pwd/pwd.h [__USE_MISC]: Likewise.
3227 * stdlib.h [__USE_MISC]: Likewise.
3228 * string/bits/string2.h [__USE_MISC]: Likewise.
3229 * string/string.h [__USE_MISC]: Likewise.
3230 * time/time.h [__USE_MISC]: Likewise.
3231
d6680619
AS
32322014-02-13 Andreas Schwab <schwab@suse.de>
3233
3234 [BZ #16574]
3235 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3236 second answer buffer if it was separately allocated.
3237
ace614b8
JM
32382014-02-12 Joseph Myers <joseph@codesourcery.com>
3239
743151ae
JM
3240 * sysdeps/mips/math-tests.h: Include <features.h>.
3241 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3242 (ROUNDING_TESTS_long_double): Do not define.
3243 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3244 (EXCEPTION_TESTS_long_double): Likewise.
3245 * sysdeps/mips/mips64/libm-test-ulps: Update.
3246
498afc54
JM
3247 * include/features.h (__USE_BSD): Remove macro definitions.
3248 (__USE_SVID): Likewise.
3249 (_BSD_SOURCE): Likewise.
3250 (_SVID_SOURCE): Likewise.
3251 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3252 from definition of _DEFAULT_SOURCE.
3253 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3254 [_DEFAULT_SOURCE].
3255 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3256 * bits/mman.h [__USE_BSD]: Likewise.
3257 * bits/termios.h [__USE_BSD]: Likewise.
3258 * bits/waitstatus.h [__USE_BSD]: Likewise.
3259 * ctype/ctype.h [__USE_SVID]: Likewise.
3260 * dirent/dirent.h [__USE_BSD]: Likewise.
3261 * grp/grp.h [__USE_SVID]: Likewise.
3262 [__USE_BSD]: Likewise.
3263 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3264 * io/fcntl.h [__USE_BSD]: Likewise.
3265 * io/ftw.h [__USE_BSD]: Likewise.
3266 * io/sys/stat.h [__USE_BSD]: Likewise.
3267 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3268 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3269 * libio/stdio.h [__USE_SVID]: Likewise.
3270 [__USE_BSD]: Likewise.
3271 * math/math.h [__USE_SVID]: Likewise.
3272 [__USE_BSD]: Likewise.
3273 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3274 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3275 * misc/search.h [__USE_SVID]: Likewise.
3276 * misc/sys/mman.h [__USE_BSD]: Likewise.
3277 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3278 * misc/sys/uio.h [__USE_BSD]: Likewise.
3279 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3280 * posix/glob.h [__USE_BSD]: Likewise.
3281 * posix/regex.h [__USE_BSD]: Likewise.
3282 * posix/sys/types.h [__USE_BSD]: Likewise.
3283 [__USE_SVID]: Likewise.
3284 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3285 * posix/sys/wait.h [__USE_BSD]: Likewise.
3286 [__USE_SVID]: Likewise.
3287 * posix/unistd.h [__USE_BSD]: Likewise.
3288 [__USE_SVID]: Likewise.
3289 * pwd/pwd.h [__USE_SVID]: Likewise.
3290 * resolv/netdb.h [__USE_BSD]: Likewise.
3291 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3292 * signal/signal.h [__USE_BSD]: Likewise.
3293 [__USE_SVID]: Likewise.
3294 * socket/sys/socket.h [__USE_BSD]: Likewise.
3295 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3296 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3297 [__USE_SVID]: Likewise.
3298 * string/bits/string2.h [__USE_BSD]: Likewise.
3299 [__USE_SVID]: Likewise.
3300 * string/bits/string3.h [__USE_BSD]: Likewise.
3301 * string/endian.h [__USE_BSD]: Likewise.
3302 * string/string.h [__USE_SVID]: Likewise.
3303 [__USE_BSD]: Likewise.
3304 * string/strings.h [__USE_BSD]: Likewise.
3305 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3306 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3307 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3308 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3309 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3310 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3311 Likewise.
3312 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3313 Likewise.
3314 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3315 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3316 Likewise.
3317 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3318 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3319 Likewise.
3320 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3321 Likewise.
3322 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3323 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3324 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3325 Likewise.
3326 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3327 Likewise.
3328 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3329 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3330 * termios/termios.h [__USE_BSD]: Likewise.
3331 * time/sys/time.h [__USE_BSD]: Likewise.
3332 * time/time.h [__USE_BSD]: Likewise.
3333 [__USE_SVID]: Likewise.
3334
dd7b064c
JM
3335 * Makefile (subdir_targets): Remove subdir_lint.out.
3336
a2c4c199
JM
3337 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3338 (do-tst-printf): Likewise.
3339 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3340 $(objpfx)tst-printf.out.
3341
8756f740
JM
3342 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3343
1b6dd3f1
JM
3344 * Makerules (check-abi-%): Change target to
3345 $(objpfx)check-abi-%.out.
3346 (check-abi target): Update dependencies.
3347 (check-abi-pattern variable): Redirect output of diff to $@.
3348 (check-abi variable): Likewise.
3349 * elf/Makefile (check-abi): Update dependencies.
3350
ace614b8
JM
3351 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3352 unused.
3353 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3354 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3355 subnormal range.
3356 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3357 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3358 value has largest subnormal exponent.
3359 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3360 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3361 * sysdeps/aarch64/soft-fp/sfp-machine.h
3362 (_FP_TININESS_AFTER_ROUNDING): New macro.
3363 * sysdeps/alpha/soft-fp/sfp-machine.h
3364 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3365 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3366 Likewise.
3367 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3368 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3369 * sysdeps/mips/soft-fp/sfp-machine.h
3370 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3371 * sysdeps/powerpc/soft-fp/sfp-machine.h
3372 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3373 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3374 Likewise.
3375 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3376 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3377 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3378 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3379 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3380 Likewise.
3381
fbfdf9cb
DAS
33822014-02-12 Dylan Alex Simon <dylan@dylex.net>
3383
3384 [BZ #16545]
3385 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3386 model 1.
3387
68b7efaa
RH
33882014-02-12 Richard Henderson <rth@redhat.com>
3389
c70a4b1d 3390 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3391 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3392 * sysdeps/unix/sysv/linux/alpha: Move directory from
3393 ports/sysdeps/unix/sysv/linux/alpha.
3394 * README: Update listing for alpha-*-linux-gnu.
3395
cb4a2928
JM
33962014-02-11 Joseph Myers <joseph@codesourcery.com>
3397
c941736c
JM
3398 * include/features.h: Update comment documenting feature test
3399 macros.
3400 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3401 _DEFAULT_SOURCE.
3402 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3403 (_SVID_SOURCE): Likewise.
3404 (_DEFAULT_SOURCE): Update description of default features.
3405 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3406 with _GNU_SOURCE.
3407 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3408 (S_ISVTX): Likewise.
3409 * manual/math.texi (Mathematical Constants): Likewise.
3410 * manual/signal.texi (Interrupted Primitives): Likewise.
3411 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3412 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3413 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3414 Don't refer to _SVID_SOURCE in warning text.
3415
e8d8d7ec
JM
3416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3417
cb4a2928
JM
3418 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3419 already defined.
3420 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3421 * sysdeps/mips/dl-lookup.c: Remove.
3422 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3423
7e6424e3
AK
34242014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3425
3426 [BZ #16447]
3427 * math/auto-libm-test-in: Add testcase for expl.
3428 * math/auto-libm-test-out: Regenerate.
3429 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3430 calculation of unsafe.
3431 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3432
75eff3fe
MS
34332014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3434
3435 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3436 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3437 ports/sysdeps/unix/sysv/linux/aarch64.
3438 * README: Update listing for aarch64*-*-linux-gnu.
3439
d35f1e80
WN
34402014-02-11 Will Newton <will.newton@linaro.org>
3441
3442 * manual/probes.texi (Mathematical Function Probes): Use
3443 "triggered" instead of "hit".
3444
7b3436d4
WN
34452014-02-11 Will Newton <will.newton@linaro.org>
3446
3447 * manual/probes.texi (Internal Probes): Add documentation
3448 of setjmp, longjmp and longjmp_target probes.
3449
b4f12ca3
WN
34502014-02-11 Will Newton <will.newton@linaro.org>
3451
3452 * include/stap-probe.h: Add comment about probe argument
3453 format.
3454
c13a72b7
WN
34552014-02-11 Will Newton <will.newton@linaro.org>
3456
3457 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3458 definition. (tr_where, tr_freehook, tr_mallochook,
3459 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3460
195b8165
DM
34612014-02-11 David S. Miller <davem@davemloft.net>
3462
3463 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3464 processing int_tests.
3465
2ad7600b
JM
34662014-02-10 Joseph Myers <joseph@codesourcery.com>
3467
3468 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3469 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3470 * sysdeps/unix/sysv/linux/mips: Move directory from
3471 ports/sysdeps/unix/sysv/linux/mips.
3472 * README: Update listing for mips-*-linux-gnu and
3473 mips64-*-linux-gnu.
3474
73588a72
AS
34752014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3476
3477 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3478 * sysdeps/unix/sysv/linux/m68k: Move directory from
3479 ports/sysdeps/unix/sysv/linux/m68k.
3480 * README: Update listing for m68k-*-linux-gnu.
3481
4372980f
CM
34822014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3483
3484 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3485 * sysdeps/unix/sysv/linux/generic: Move directory from
3486 ports/sysdeps/unix/sysv/linux/generic.
3487 * sysdeps/unix/sysv/linux/tile: Move directory from
3488 ports/sysdeps/unix/sysv/linux/tile.
3489 * README: Update listing for tile*-*-linux-gnu.
3490
a1ffb40e
OB
34912014-02-10 Ondřej Bílka <neleai@seznam.cz>
3492
3493 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3494 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3495 * catgets/open_catalog.c (__open_catalog): Likewise.
3496 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3497 * debug/confstr_chk.c: Likewise.
3498 * debug/fread_chk.c (__fread_chk): Likewise.
3499 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3500 * debug/getgroups_chk.c: Likewise.
3501 * debug/mbsnrtowcs_chk.c: Likewise.
3502 * debug/mbsrtowcs_chk.c: Likewise.
3503 * debug/mbstowcs_chk.c: Likewise.
3504 * debug/memcpy_chk.c: Likewise.
3505 * debug/memmove_chk.c: Likewise.
3506 * debug/mempcpy_chk.c: Likewise.
3507 * debug/memset_chk.c: Likewise.
3508 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3509 * debug/strcat_chk.c (__strcat_chk): Likewise.
3510 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3511 * debug/strncat_chk.c (__strncat_chk): Likewise.
3512 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3513 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3514 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3515 * debug/wcpncpy_chk.c: Likewise.
3516 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3517 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3518 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3519 * debug/wcsncpy_chk.c: Likewise.
3520 * debug/wcsnrtombs_chk.c: Likewise.
3521 * debug/wcsrtombs_chk.c: Likewise.
3522 * debug/wcstombs_chk.c: Likewise.
3523 * debug/wmemcpy_chk.c: Likewise.
3524 * debug/wmemmove_chk.c: Likewise.
3525 * debug/wmempcpy_chk.c: Likewise.
3526 * debug/wmemset_chk.c: Likewise.
3527 * dirent/scandirat.c (SCANDIRAT): Likewise.
3528 * dlfcn/dladdr1.c (dladdr1): Likewise.
3529 * dlfcn/dladdr.c (dladdr): Likewise.
3530 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3531 * dlfcn/dlerror.c (__dlerror): Likewise.
3532 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3533 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3534 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3535 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3536 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3537 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3538 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3539 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3540 Likewise.
3541 * elf/dl-conflict.c: Likewise.
3542 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3543 * elf/dl-dst.h: Likewise.
3544 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3545 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3546 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3547 * elf/dl-init.c (call_init, _dl_init): Likewise.
3548 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3549 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3550 _dl_map_object_from_fd, open_verify, open_path,
3551 _dl_map_object): Likewise.
3552 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3553 Likewise.
3554 * elf/dl-minimal.c (__libc_memalign): Likewise.
3555 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3556 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3557 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3558 * elf/dl-sym.c (do_sym): Likewise.
3559 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3560 _dl_tls_get_addr_soft): Likewise.
3561 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3562 * elf/dl-writev.h (_dl_writev): Likewise.
3563 * elf/ldconfig.c (search_dir): Likewise.
3564 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3565 dl_main): Likewise.
3566 * elf/setup-vdso.h (setup_vdso): Likewise.
3567 * grp/compat-initgroups.c (compat_call): Likewise.
3568 * grp/fgetgrent.c (fgetgrent): Likewise.
3569 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3570 * grp/putgrent.c (putgrent): Likewise.
3571 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3572 Likewise.
3573 * hurd/hurdinit.c: Likewise.
3574 * iconvdata/8bit-gap.c (struct): Likewise.
3575 * iconvdata/ansi_x3.110.c : Likewise.
3576 * iconvdata/big5.c : Likewise.
3577 * iconvdata/big5hkscs.c : Likewise.
3578 * iconvdata/cp1255.c: Likewise.
3579 * iconvdata/cp1258.c : Likewise.
3580 * iconvdata/cp932.c : Likewise.
3581 * iconvdata/euc-cn.c: Likewise.
3582 * iconvdata/euc-jisx0213.c : Likewise.
3583 * iconvdata/euc-jp.c: Likewise.
3584 * iconvdata/euc-jp-ms.c : Likewise.
3585 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3586 * iconvdata/gb18030.c : Likewise.
3587 * iconvdata/gbbig5.c (const): Likewise.
3588 * iconvdata/gbgbk.c: Likewise.
3589 * iconvdata/gbk.c : Likewise.
3590 * iconvdata/ibm1364.c : Likewise.
3591 * iconvdata/ibm930.c : Likewise.
3592 * iconvdata/ibm932.c: Likewise.
3593 * iconvdata/ibm933.c : Likewise.
3594 * iconvdata/ibm935.c : Likewise.
3595 * iconvdata/ibm937.c : Likewise.
3596 * iconvdata/ibm939.c : Likewise.
3597 * iconvdata/ibm943.c: Likewise.
3598 * iconvdata/iso_11548-1.c: Likewise.
3599 * iconvdata/iso-2022-cn.c : Likewise.
3600 * iconvdata/iso-2022-cn-ext.c : Likewise.
3601 * iconvdata/iso-2022-jp-3.c: Likewise.
3602 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3603 * iconvdata/iso-2022-kr.c : Likewise.
3604 * iconvdata/iso646.c (gconv_end): Likewise.
3605 * iconvdata/iso_6937-2.c : Likewise.
3606 * iconvdata/iso_6937.c : Likewise.
3607 * iconvdata/iso8859-1.c: Likewise.
3608 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3609 * iconvdata/shift_jisx0213.c : Likewise.
3610 * iconvdata/sjis.c : Likewise.
3611 * iconvdata/t.61.c : Likewise.
3612 * iconvdata/tcvn5712-1.c : Likewise.
3613 * iconvdata/tscii.c: Likewise.
3614 * iconvdata/uhc.c : Likewise.
3615 * iconvdata/unicode.c (gconv_end): Likewise.
3616 * iconvdata/utf-16.c (gconv_end): Likewise.
3617 * iconvdata/utf-32.c (gconv_end): Likewise.
3618 * iconvdata/utf-7.c (base64): Likewise.
3619 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3620 * iconv/gconv_close.c (__gconv_close): Likewise.
3621 * iconv/gconv_open.c (__gconv_open): Likewise.
3622 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3623 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3624 internal_ucs4le_loop_single, ucs4le_internal_loop,
3625 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3626 * iconv/iconv.c (iconv): Likewise.
3627 * iconv/iconv_close.c: Likewise.
3628 * iconv/loop.c (SINGLE): Likewise.
3629 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3630 * include/atomic.h: Likewise.
3631 * inet/inet6_option.c (option_alloc): Likewise.
3632 * intl/bindtextdom.c (set_binding_values): Likewise.
3633 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3634 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3635 * intl/localealias.c (read_alias_file): Likewise.
3636 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3637 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3638 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3639 * libio/fmemopen.c (fmemopen): Likewise.
3640 * libio/iofgets.c (_IO_fgets): Likewise.
3641 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3642 * libio/iofgetws.c (fgetws): Likewise.
3643 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3644 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3645 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3646 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3647 * locale/findlocale.c (_nl_find_locale): Likewise.
3648 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3649 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3650 Likewise.
3651 * locale/setlocale.c (setlocale): Likewise.
3652 * login/programs/pt_chown.c (main): Likewise.
3653 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3654 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3655 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3656 mmap, mmap64, mremap, munmap): Likewise.
3657 * math/e_exp2l.c: Likewise.
3658 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3659 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3660 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3661 * math/s_catan.c (__catan): Likewise.
3662 * math/s_catanf.c (__catanf): Likewise.
3663 * math/s_catanh.c (__catanh): Likewise.
3664 * math/s_catanhf.c (__catanhf): Likewise.
3665 * math/s_catanhl.c (__catanhl): Likewise.
3666 * math/s_catanl.c (__catanl): Likewise.
3667 * math/s_ccosh.c (__ccosh): Likewise.
3668 * math/s_ccoshf.c (__ccoshf): Likewise.
3669 * math/s_ccoshl.c (__ccoshl): Likewise.
3670 * math/s_cexp.c (__cexp): Likewise.
3671 * math/s_cexpf.c (__cexpf): Likewise.
3672 * math/s_cexpl.c (__cexpl): Likewise.
3673 * math/s_clog10.c (__clog10): Likewise.
3674 * math/s_clog10f.c (__clog10f): Likewise.
3675 * math/s_clog10l.c (__clog10l): Likewise.
3676 * math/s_clog.c (__clog): Likewise.
3677 * math/s_clogf.c (__clogf): Likewise.
3678 * math/s_clogl.c (__clogl): Likewise.
3679 * math/s_csin.c (__csin): Likewise.
3680 * math/s_csinf.c (__csinf): Likewise.
3681 * math/s_csinh.c (__csinh): Likewise.
3682 * math/s_csinhf.c (__csinhf): Likewise.
3683 * math/s_csinhl.c (__csinhl): Likewise.
3684 * math/s_csinl.c (__csinl): Likewise.
3685 * math/s_csqrt.c (__csqrt): Likewise.
3686 * math/s_csqrtf.c (__csqrtf): Likewise.
3687 * math/s_csqrtl.c (__csqrtl): Likewise.
3688 * math/s_ctan.c (__ctan): Likewise.
3689 * math/s_ctanf.c (__ctanf): Likewise.
3690 * math/s_ctanh.c (__ctanh): Likewise.
3691 * math/s_ctanhf.c (__ctanhf): Likewise.
3692 * math/s_ctanhl.c (__ctanhl): Likewise.
3693 * math/s_ctanl.c (__ctanl): Likewise.
3694 * math/w_pow.c: Likewise.
3695 * math/w_powf.c: Likewise.
3696 * math/w_powl.c: Likewise.
3697 * math/w_scalb.c (sysv_scalb): Likewise.
3698 * math/w_scalbf.c (sysv_scalbf): Likewise.
3699 * math/w_scalbl.c (sysv_scalbl): Likewise.
3700 * misc/error.c (error_tail): Likewise.
3701 * misc/pselect.c (__pselect): Likewise.
3702 * nis/nis_callback.c (__nis_create_callback): Likewise.
3703 * nis/nis_call.c (__nisfind_server): Likewise.
3704 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3705 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3706 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3707 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3708 * nis/nis_lookup.c (nis_lookup): Likewise.
3709 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3710 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3711 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3712 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3713 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3714 internal_getgrgid_r): Likewise.
3715 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3716 Likewise.
3717 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3718 internal_getpwuid_r): Likewise.
3719 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3720 internal_getspnam_r): Likewise.
3721 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3722 _nss_nis_getaliasbyname_r): Likewise.
3723 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3724 _nss_nis_getntohost_r): Likewise.
3725 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3726 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3727 Likewise.
3728 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3729 internal_nis_gethostent_r, internal_gethostbyname2_r,
3730 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3731 _nss_nis_gethostbyname4_r): Likewise.
3732 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3733 initgroups_netid): Likewise.
3734 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3735 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3736 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3737 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3738 _nss_nis_getprotobynumber_r): Likewise.
3739 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3740 _nss_nis_getsecretkey): Likewise.
3741 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3742 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3743 Likewise.
3744 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3745 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3746 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3747 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3748 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3749 _nss_nis_getspnam_r): Likewise.
3750 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3751 Likewise.
3752 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3753 _nss_nisplus_getntohost_r): Likewise.
3754 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3755 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3756 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3757 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3758 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3759 Likewise.
3760 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3761 _nss_nisplus_getnetbyaddr_r): Likewise.
3762 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3763 _nss_nisplus_getprotobynumber_r): Likewise.
3764 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3765 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3766 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3767 Likewise.
3768 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3769 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3770 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3771 _nss_nisplus_getspnam_r): Likewise.
3772 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3773 * nscd/aicache.c (addhstaiX): Likewise.
3774 * nscd/cache.c (cache_search, prune_cache): Likewise.
3775 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3776 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3777 * nscd/grpcache.c (addgrbyX): Likewise.
3778 * nscd/hstcache.c (addhstbyX): Likewise.
3779 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3780 * nscd/mem.c (gc, mempool_alloc): Likewise.
3781 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3782 Likewise.
3783 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3784 Likewise.
3785 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3786 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3787 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3788 Likewise.
3789 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3790 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3791 * nscd/nscd_helper.c (__readvall, open_socket,
3792 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3793 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3794 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3795 * nscd/pwdcache.c (addpwbyX): Likewise.
3796 * nscd/selinux.c (preserve_capabilities): Likewise.
3797 * nscd/servicescache.c (addservbyX): Likewise.
3798 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3799 * posix/fnmatch.c (fnmatch): Likewise.
3800 * posix/getopt.c (_getopt_internal_r): Likewise.
3801 * posix/glob.c (glob, glob_in_dir): Likewise.
3802 * posix/wordexp.c (exec_comm_child): Likewise.
3803 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3804 gaih_getanswer_slice): Likewise.
3805 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3806 * resolv/res_init.c: Likewise.
3807 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3808 * resolv/res_query.c (__libc_res_nquery): Likewise.
3809 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3810 Likewise.
3811 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3812 * stdio-common/perror.c (perror): Likewise.
3813 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3814 * stdio-common/tmpnam.c (tmpnam): Likewise.
3815 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3816 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3817 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3818 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3819 * stdlib/putenv.c (putenv): Likewise.
3820 * stdlib/setenv.c (__add_to_environ): Likewise.
3821 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3822 * stdlib/strtol_l.c (INTERNAL): Likewise.
3823 * string/memmem.c (memmem): Likewise.
3824 * string/strerror.c (strerror): Likewise.
3825 * string/strnlen.c (__strnlen): Likewise.
3826 * string/test-memmem.c (simple_memmem): Likewise.
3827 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3828 * sunrpc/pm_getport.c (__get_socket): Likewise.
3829 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3830 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3831 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3832 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3833 Likewise.
3834 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3835 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3836 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3837 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3838 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3839 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3840 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3841 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3842 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3843 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3844 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3845 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3847 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3848 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3849 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3850 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3851 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3852 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3853 Likewise.
3854 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3855 Likewise.
3856 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3857 Likewise.
3858 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3859 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3860 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3861 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3862 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3863 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3864 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3865 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3866 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3867 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3868 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3869 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3870 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3871 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3872 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3873 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3874 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3875 Likewise.
3876 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3877 Likewise.
3878 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3879 Likewise.
3880 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3881 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3882 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3883 Likewise.
3884 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3885 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3886 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3887 * sysdeps/posix/sleep.c: Likewise.
3888 * sysdeps/posix/tempname.c: Likewise.
3889 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3890 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3891 Likewise.
3892 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3893 elf_machine_rela): Likewise.
3894 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3895 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3896 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3897 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3898 Likewise.
3899 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3900 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3901 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3902 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3903 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3904 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3905 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3906 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3907 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3908 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3909 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3910 elf_machine_lazy_rel): Likewise.
3911 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3912 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3913 elf_machine_lazy_rel): Likewise.
3914 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3915 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3916 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3917 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3918 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3919 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3920 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3921 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3922 Likewise.
3923 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3924 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3925 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3926 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3927 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3928 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3929 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3930 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3931 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3932 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3933 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3934 Likewise.
3935 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3936 (__posix_fallocate64_l64): Likewise.
3937 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3938 (posix_fallocate): Likewise.
3939 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3940 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3941 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3942 getifaddrs_internal): Likewise.
3943 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3944 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3945 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3946 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3947 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3948 (__posix_fallocate64_l64): Likewise.
3949 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3950 Likewise.
3951 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3952 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3953 Likewise.
3954 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3955 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3956 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3959 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3960 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3961 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3962 Likewise.
3963 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3964 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3965 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3966 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3967 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3968 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3969 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3970 Likewise.
3971 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3972 (posix_fallocate): Likewise.
3973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3974 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3975 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3976 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3977 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3978 Likewise.
3979 * time/asctime.c (asctime_internal): Likewise.
3980 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3981 * time/tzset.c (__tzset_parse_tz): Likewise.
3982 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3983 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3984 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3985 * wcsmbs/wcsmbsload.h: Likewise.
3986
f3d338c9
OB
39872014-02-10 Ondřej Bílka <neleai@seznam.cz>
3988
3989 [BZ #15894]
3990 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3991
bdfe308a
OB
39922014-02-10 Ondřej Bílka <neleai@seznam.cz>
3993
3994 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3995 arena_get2): Remove THREAD_STATS conditionals.
3996 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3997 __malloc_stats, int): Likewise.
3998
d674667c
MF
39992014-02-08 Mike Frysinger <vapier@gentoo.org>
4000
4001 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4002 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4003
6349768c
MF
40042014-02-08 Mike Frysinger <vapier@gentoo.org>
4005
4006 * manual/setjmp.texi: Fix typos/grammar errors.
4007
0b7c7473
MF
40082014-02-08 Mike Frysinger <vapier@gentoo.org>
4009
4010 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4011 Only return early when n is <= 0. Delete unused return statement.
4012
ac8cc9e3
MF
40132014-02-08 Mike Frysinger <vapier@gentoo.org>
4014
4015 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4016 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4017 * debug/tst-longjmp_chk3.c: New file.
4018
c5bb8e23
MF
40192014-02-08 Mike Frysinger <vapier@gentoo.org>
4020
4021 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4022 (test_main): Replace code with set_fortify_handler call.
4023 * debug/test-strcpy_chk.c: Likewise.
4024 * debug/tst-chk1.c: Likewise.
4025 * debug/tst-longjmp_chk.c: Likewise.
4026 * test-skeleton.c: Include fcntl.h & paths.h
4027 (set_fortify_handler): Define.
4028
10444e42
MF
40292014-02-08 Mike Frysinger <vapier@gentoo.org>
4030
4031 * debug/tst-longjmp_chk.c: Add header comment and include
4032 ../test-skeleton.c.
4033 (do_test): Mark static.
4034 (TEST_FUNCTION): Define.
4035
1e805e8d
MF
40362014-02-08 Mike Frysinger <vapier@gentoo.org>
4037
4038 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4039 (IP_PMTUDISC_INTERFACE): Likewise.
4040 (IP_MULTICAST_IF): Likewise.
4041 (IP_MULTICAST_TTL): Likewise.
4042 (IP_MULTICAST_LOOP): Likewise.
4043 (IP_ADD_MEMBERSHIP): Likewise.
4044 (IP_DROP_MEMBERSHIP): Likewise.
4045 (IP_UNBLOCK_SOURCE): Likewise.
4046 (IP_BLOCK_SOURCE): Likewise.
4047 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4048 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4049 (IP_MSFILTER): Likewise.
4050 (MCAST_JOIN_GROUP): Likewise.
4051 (MCAST_BLOCK_SOURCE): Likewise.
4052 (MCAST_UNBLOCK_SOURCE): Likewise.
4053 (MCAST_LEAVE_GROUP): Likewise.
4054 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4055 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4056 (MCAST_MSFILTER): Likewise.
4057 (IP_MULTICAST_ALL): Likewise.
4058 (IP_UNICAST_IF): Likewise.
4059
73f79bb7
MF
40602014-02-08 Mike Frysinger <vapier@gentoo.org>
4061
4062 * timezone/Makefile: Delete $(have-ksh) check.
4063 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4064 * timezone/tzselect.ksh: Add +x mode bits.
4065
8da79b60
MF
40662014-02-08 Mike Frysinger <vapier@gentoo.org>
4067
4068 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4069 (ANON_INODE_FS_MAGIC): Likewise.
4070 (BDEVFS_MAGIC): Likewise.
4071 (BINFMTFS_MAGIC): Likewise.
4072 (BTRFS_TEST_MAGIC): Likewise.
4073 (CRAMFS_MAGIC_WEND): Likewise.
4074 (DEBUGFS_MAGIC): Likewise.
4075 (ECRYPTFS_SUPER_MAGIC): Likewise.
4076 (EXT3_SUPER_MAGIC): Likewise.
4077 (EXT4_SUPER_MAGIC): Likewise.
4078 (FUTEXFS_SUPER_MAGIC): Likewise.
4079 (HOSTFS_SUPER_MAGIC): Likewise.
4080 (HUGETLBFS_MAGIC): Likewise.
4081 (MINIX3_SUPER_MAGIC): Likewise.
4082 (MTD_INODE_FS_MAGIC): Likewise.
4083 (NILFS_SUPER_MAGIC): Likewise.
4084 (OPENPROM_SUPER_MAGIC): Likewise.
4085 (PIPEFS_MAGIC): Likewise.
4086 (PSTOREFS_MAGIC): Likewise.
4087 (QNX6_SUPER_MAGIC): Likewise.
4088 (RAMFS_MAGIC): Likewise.
4089 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4090 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4091 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4092 (SECURITYFS_MAGIC): Likewise.
4093 (SELINUX_MAGIC): Likewise.
4094 (SMACK_MAGIC): Likewise.
4095 (SOCKFS_MAGIC): Likewise.
4096 (SQUASHFS_MAGIC): Likewise.
4097 (STACK_END_MAGIC): Likewise.
4098 (TMPFS_MAGIC): Likewise.
4099 (USBDEVICE_SUPER_MAGIC): Likewise.
4100 (V9FS_MAGIC): Likewise.
4101 (XENFS_SUPER_MAGIC): Likewise.
4102 (CRAMFS_MAGIC): Fix typo in comment.
4103 (EXT2_SUPER_MAGIC): Update comment.
4104 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4105
464263cc
JM
41062014-02-08 Joseph Myers <joseph@codesourcery.com>
4107
c6bfe5c4
JM
4108 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4109 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4110 * sysdeps/unix/sysv/linux/arm: Move directory from
4111 ports/sysdeps/unix/sysv/linux/arm.
4112 * README: Update listing for arm-*-linux-gnueabi.
4113
464263cc
JM
4114 * README: Remove mention of am33.
4115
32749f6c
RM
41162014-02-07 Roland McGrath <roland@hack.frob.com>
4117
4118 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4119 than the comma operator, to avoid "rhs of comma has no effect"
4120 compiler warnings.
4121 (__sigfillset, __sigandset, __sigorset): Likewise.
4122 * include/signal.h (__sigemptyset): Likewise.
4123 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4124
d5b396c1
AM
41252014-02-07 Allan McRae <allan@archlinux.org>
4126
4127 * version.h (RELEASE): Set to "development".
4128 (VERSION): Set to "2.19.90"
4129 * NEWS: Add 2.20 section.
4130
3bfff2ed
CD
41312014-02-06 Carlos O'Donell <carlos@redhat.com>
4132
4133 [BZ #16529]
4134 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4135
ee7cc385
SP
41362014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4137
4138 * manual/contrib.texi: Update entry for Carlos O'Donell,
4139 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4140
f877c4f2
CD
41412014-02-05 Carlos O'Donell <carlos@rehdat.com>
4142
27e839f6
CD
4143 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4144
f877c4f2
CD
4145 * sysdeps/unix/sysv/linux/kernel-features.h
4146 [__LINUX_KERNEL_VERSION >= 0x020621]
4147 (__ASSUME_PROC_PID_TASK_COMM): Define.
4148
68159946
SP
41492014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4150
ba17cdbd
SP
4151 [BZ #16398]
4152 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4153 conversion when destination buffer does not have enough space.
4154 * libio/tst-ftell-partial-wide.c: New test case.
4155 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4156
68159946
SP
4157 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4158 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4159 Leonard and Allan McRae.
4160
2b528732
DM
41612014-02-04 David S. Miller <davem@davemloft.net>
4162
4163 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4164 32-bit.
4165
0ff82463
AZ
41662014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4167
c01603f7
AZ
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4169 file
4170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4171 New file
4172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4173 file.
4174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4175 file.
4176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4177 New file.
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4179 file.
4180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4181 file.
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4183 New file.
4184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4185 New file.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4187 New file.
4188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4189 New file.
4190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4191 New file.
4192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4193 New file.
4194
41952014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4196
0ff82463
AZ
4197 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4198 * shlib-versions: Likewise.
4199
1695c773
AZ
42002014-02-04 Roland McGrath <roland@hack.frob.com>
4201 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4202
4203 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4204 (abilist-pattern): New variable, set to %-le.abilist.
4205
4206 * Makerules (abilist-pattern): New variable.
4207 (vpath): Use $(abilist-pattern) in place of %.abilist.
4208 (check-abi-% pattern rule): Likewise.
4209 (check-abi, update-abi): Likewise.
4210
6c0ce4b4
EW
42112014-02-04 Eric Wong <normalperson@yhbt.net>
4212
4213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4214
dc98b8f5
EW
42152014-02-04 Eric Wong <normalperson@yhbt.net>
4216
4217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4218
481e3524
CD
42192014-02-03 Carlos O'Donell <carlos@redhat.com>
4220
4221 * manual/startup.texi: Add next, previous, and top entries for
4222 the `Program Arguments' and `Environment Variables' nodes.
4223
375592d3
AO
42242014-02-03 Alexandre Oliva <aoliva@redhat.com>
4225
4226 * manual/macros.texi: Add comments before MTASC-safety macros.
4227
f54838ba
AO
4228 * manual/users.texi: Document MTASC-safety properties.
4229
909e12ad
AO
4230 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4231 pthread_getspecific, pthread_setspecific): Format with
4232 @deftypefun, and add @safety note.
4233 * manual/signal.texi: Move comments that analyze the above
4234 functions to their home place.
4235
fd3daba4
AM
42362014-02-03 Allan McRae <allan@archlinux.org>
4237
4238 * po/sl.po: Update Slovenian translation from translation project.
4239
597636d7
AO
42402014-02-02 Alexandre Oliva <aoliva@redhat.com>
4241
4242 * manual/time.texi (timegm): Add missing blank after @c.
4243 Reported by Joseph Myers <joseph@codesourcery.com>.
4244
ee196e3c
AO
42452014-02-01 Alexandre Oliva <aoliva@redhat.com>
4246
4247 * manual/check-safety.sh: New.
4248 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4249
f8d529d5
AO
4250 * manual/terminal.texi: Document MTASC-safety properties.
4251
de55fdf4
AO
4252 * manual/filesys.texi: Document MTASC-safety properties.
4253
c3299c08
AO
4254 * manual/errno.texi: Document MTASC-safety properties.
4255
06e90b14
AO
4256 * manual/intro.texi: Document safety identifiers and
4257 conditionals.
4258
1acd4371
AO
4259 * manual/string.texi (wcstok): Fix prototype.
4260 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4261
23e5b8cb
AO
4262 * manual/time.texi: Document MTASC-safety properties.
4263
11087373
AO
4264 * manual/string.texi: Document MTASC-safety properties.
4265
5da2c93d
AO
4266 * manual/threads.texi: Document MTASC-safety properties.
4267
171e9210
AO
4268 * manual/stdio.texi: Document MTASC-safety properties.
4269
d9e02532
AO
4270 * manual/syslog.texi: Document MTASC-safety properties.
4271
6af8bab7
AO
4272 * manual/sysinfo.texi: Document MTASC-safety properties.
4273
663b02d7
AO
4274 * manual/startup.texi: Document MTASC-safety properties.
4275
973f180b
AO
4276 * manual/socket.texi: Document MTASC-safety properties.
4277
8f3c25c8
AO
4278 * manual/signal.texi: Document MTASC-safety properties.
4279
542210fb
AO
42802014-01-31 Alexandre Oliva <aoliva@redhat.com>
4281
4282 * manual/setjmp.texi: Document MTASC-safety properties.
4283
433c45a2
AO
4284 * manual/search.texi: Document MTASC-safety properties.
4285
c8ce789c
AO
4286 * manual/resource.texi: Document MTASC-safety properties.
4287
19f5d29c
AO
4288 * manual/process.texi: Document MTASC-safety properties.
4289
e2dfb7f4
AO
4290 * manual/platform.texi: Document MTASC-safety properties.
4291
8c1413f5
AO
4292 * manual/pipe.texi: Document MTASC-safety properties.
4293
03483ada
AO
4294 * manual/pattern.texi: Document MTASC-safety properties.
4295
29e7e2df
AO
4296 * manual/message.texi: Document MTASC-safety properties.
4297
9f529d7c
AO
4298 [BZ #12751]
4299 * manual/memory.texi: Document MTASC-safety properties.
4300
27aaa791
AO
4301 * manual/math.texi: Document MTASC-safety properties.
4302
f2d58726
AO
4303 * manual/locale.texi: Document MTASC-safety properties.
4304
2cc3615c
AO
4305 * manual/llio.texi: Document MTASC-safety properties.
4306
d9f0ec97
AO
4307 * manual/libdl.texi: New.
4308
e7c4409a
AO
4309 * manual/lang.texi: Document MTASC-safety properties.
4310
27bdc63c
AO
4311 * manual/job.texi: Document MTASC-safety properties.
4312
a7b90ea9
AO
4313 * manual/getopt.texi: Document MTASC-safety properties.
4314
c49130e3
AO
4315 * manual/ctype.texi: Document MTASC-safety properties.
4316
0d23a5c1
MR
43172014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4318
4319 [BZ #16046]
4320 * csu/libc-tls.c (static_map): Remove variable.
4321 (__libc_setup_tls): Use main executable's link map for TLS data.
4322 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4323 casing for LM_ID_BASE and GL(dl_nns).
4324 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4325 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4326 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4327 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4328 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4329 member.
4330 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4331 l_phnum members.
4332
0037bb60
AO
43332014-01-30 Alexandre Oliva <aoliva@redhat.com>
4334
4335 * manual/debug.texi: Document MTASC-safety properties.
4336
409e00bd
L
43372014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4338
4339 [BZ #16510]
4340 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4341 of __x86_64__ when disabling x87 inline functions.
4342
86e60666
AO
43432014-01-29 Alexandre Oliva <aoliva@redhat.com>
4344
4345 * manual/charset.texi: Document MTASC-safety properties.
4346
76167637
AO
4347 * manual/crypt.texi: Document MTASC-safety properties.
4348
e567f2a0
AO
4349 * manual/conf.texi: Document MTASC-safety properties.
4350
b719dafd
AO
4351 * manual/arith.texi: Document MTASC-safety properties.
4352
4a16c662
AO
4353 * manual/argp.texi: Document MTASC-safety properties.
4354
0a57b83e
AO
4355 * manual/macros.texi: Introduce macros to document multi
4356 thread, asynchronous signal and asynchronous cancellation
4357 safety properties.
4358 * manual/intro.texi: Introduce the properties themselves.
4359
feab2397
KK
43602014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4361
4362 * sysdeps/sh/sh4/Makefile: New file.
4363
1c0d11bc
AS
43642014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4365
4366 * math/gen-libm-test.pl ($srcdir): New variable.
4367 ($auto_input): Use it.
4368
af37a8a3
SP
43692014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4370
d7b00f98
SP
4371 [BZ #16506]
4372 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4373 access beyond array bounds when parsing netgroups file.
4374
af37a8a3
SP
4375 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4376 the old buffer before realloc.
4377
0c00f062
AM
43782014-01-27 Allan McRae <allan@archlinux.org>
4379
4380 * po/fr.po: Update French translation from translation project.
4381
7d69a1b0
KK
43822014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4383
4384 * sysdeps/sh/libm-test-ulps: Regenerate.
4385
6e697ff7
DM
43862014-01-24 David S. Miller <davem@davemloft.net>
4387
4388 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4389
9cadb35c
KK
43902014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4391
4392 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4393 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4394
5d41dadf
SP
43952013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4396
4397 [BZ #16474]
4398 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4399 string pointers after reallocation.
4400
0bad441c
KK
44012014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4402
4403 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4404 __SH4A__ instead of __SH_FPU_ANY__.
4405
7007c661
KK
44062014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4407
4408 * sysdeps/sh/fpu_control.h: New file.
4409 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4410 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4411 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4412 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4413 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4414 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4415 * sysdeps/sh/sys/ucontext.h: Remove.
4416 * sysdeps/sh/sys: Remove directory.
4417
0f0c35e4
AK
44182014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4419
4420 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4421 s390/sys/ucontext.h.
4422 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4423 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4424
4959e284
L
44252014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4426
4427 [BZ #15605]
4428 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4429
d98720e0
AZ
44302014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4431
4432 [BZ#16431]
4433 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4434 Adjust the vDSO correctly for internal calls.
4435 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4436
91cbd0bc
AM
44372014-01-20 Allan McRae <allan@archlinux.org>
4438
4439 * po/ca.po: Update Catalan translation from translation project.
4440
7a02cfad
MF
44412014-01-16 Mike Frysinger <vapier@gentoo.org>
4442
4443 * sysdeps/s390/sotruss-lib.c: New file.
4444
736c304a
AZ
44452014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4446
4447 [BZ#16430]
6e077ee5 4448 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4449 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4450 local calls issues by not having a PLT stub required for IFUNC calls.
4451 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4452
94d0cea0
JM
44532014-01-16 Joseph Myers <joseph@codesourcery.com>
4454
4455 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4456 * math/test-fpucw-static.c: Likewise.
4457
980cb518
SP
44582013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4459
4460 [BZ #16453]
4461 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4462
2393fc01
AZ
44632014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4464
4465 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4466 implementation for powerpc.
4467
d359bcc2
OB
44682014-01-15 Ondřej Bílka <neleai@seznam.cz>
4469
4470 [BZ #14782]
4471 * sysdeps/posix/system.c (__libc_system): Do not enable
4472 asynchronous cancellation.
4473
7beb48cb
AK
44742014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4475
4476 [BZ #16427]
4477 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4478 handling only for numbers special also in the IEEE case.
4479
c20d5bf5
AK
44802014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4481
4482 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4483
e83bd4ee
AM
44842014-01-11 Allan McRae <allan@archlinux.org>
4485
76d0ea69
AM
4486 * po/bg.po: Update Bulgarian translation from translation project.
4487
e83bd4ee
AM
4488 * po/de.po: Update German translation from translation project.
4489
bc2ba20a
RM
44902014-01-10 Roland McGrath <roland@hack.frob.com>
4491
4492 * sysdeps/generic/gcc-compat.h: New file.
4493
649ecea2
SP
44942014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4495
4496 * benchtests/asin-inputs: Correct slow inputs.
4497 * benchtests/acos-inputs: Likewise.
4498
1b19c006
AM
44992014-01-10 Allan McRae <allan@archlinux.org>
4500
a46dab08
AM
4501 * po:sv.po: Update Swedish translation from translation project.
4502
421df74a
AM
4503 * po/vi.po: Update Vietnamese translation from translation project.
4504
d61c51a7
AM
4505 * po/eo.po: Update Esperanto translation from translation project.
4506
0339a319
AM
4507 * po/cs.po: Update Czech translation from translation project.
4508
94ad3e99
AM
4509 * po/nl.po: Update Dutch translation from translation project.
4510
e349ca71
AM
4511 * po/pl.po: Update Polish translation from translation project.
4512
ddf930c1
AM
4513 * po/ru.po: Update Russian translation from translation project.
4514
1b19c006
AM
4515 * po/uk.po: Update Ukrainian translation from translation project.
4516
9f236c49
BM
45172014-01-08 Brooks Moses <bmoses@google.com>
4518
4519 * elf/dl-load.c: Fix comment typo.
4520
cd6701cf
CD
45212014-01-08 Carlos O'Donell <carlos@redhat.com>
4522
4523 * po/header.pot: Rename to...
4524 * po/pot.header: ... this.
4525 * po/Makefile: Use pot.header.
4526
66671c84
YK
45272014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4528 Maxim Kuvyrkov <maxim@kugelworks.com>
4529
4530 [BZ #16394]
cd6701cf
CD
4531 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4532 SRC and DEST against LEN.
66671c84 4533
38f34581
AZ
45342014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4535
4536 [BZ #16414]
4537 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4538 implementation.
4539 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4540
45412014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4542
4543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4544
4c327f2a
JM
45452014-01-08 Joseph Myers <joseph@codesourcery.com>
4546
4547 [BZ #16408]
4548 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4549 for large positive arguments.
4550
b821f414
JM
45512014-01-07 Joseph Myers <joseph@codesourcery.com>
4552
1f0f2067
JM
4553 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4554
a5a326f6
JM
4555 * math/auto-libm-test-in: Mark various tests with
4556 xfail-rounding:ldbl-128ibm.
4557 * math/auto-libm-test-out: Regenerated.
4558
b821f414
JM
4559 [BZ #16407]
4560 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4561 Increase overflow threshold.
4562
94c8a4bc
OB
45632014-01-07 Ondřej Bílka <neleai@seznam.cz>
4564
4565 [BZ #14286]
4566 * stdio-common/vfprintf.c: Check for integer overflow.
4567
87ded0c3
AK
45682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4569
4570 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4571 the first argument and return value of __tls_get_addr_internal.
4572
c5eebdd0
AK
45732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4574
4575 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4576 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4577
05d138ef
AK
45782014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4579
4580 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4581 * sysdeps/s390/rtld-global-offsets.sym: New file.
4582 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4583 GLIBC_2.19 symbol.
4584 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4585 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4586 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4587 ... this.
4588 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4589 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4590 ... this.
4591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4592 Regenerate.
4593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4594 Regenerate.
4595 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4596 halfs of GPRs for high_gprs contexts.
4597 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4598 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4599 field.
4600 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4601 uc_flags field.
4602 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4603 64 bit versions:
4604 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4605 for high GPRs (uc_high_gprs) and for future extensions
4606 (__reserved).
4607 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4608 for future extensions (__reserved).
4609 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4610 64 bit versions:
4611 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4612 SC_HIGHGPRS offset definition.
4613 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4614 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4615
93a45ff1
AK
46162014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4617
4618 * Versions.def: Add GLIBC_2.19 for libpthread.
4619 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4620 siglongjmp for libpthread with GLIBC_2.19 symver.
4621 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4622 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4623 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4624 * sysdeps/s390/__longjmp.c: New file.
4625 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4626 * sysdeps/s390/longjmp.c: New file.
4627 * sysdeps/s390/setjmp.S: New file.
4628 * sysdeps/s390/sigjmp.S: New file.
4629 * sysdeps/s390/v1-longjmp.c: New file.
4630 * sysdeps/s390/v1-setjmp.h: New file.
4631 * sysdeps/s390/v1-sigjmp.c: New file.
4632 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4633 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4634 GLIBC_2.19 version.
4635 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4636 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4637 versioned symbols for ____longjmp_chk.
4638 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4639 Likewise.
4640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4641 Regenerate.
4642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4643 Regenerate.
4644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4645 Regenerate.
4646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4647 Regenerate.
4648 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4649 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4650 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4651 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4652 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4653 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4654 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4655 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4656 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4657 * sysdeps/s390/rtld-__longjmp.c: New file.
4658 * sysdeps/s390/rtld-setjmp.S: New file.
4659
eb3fc44b
JM
46602014-01-06 Joseph Myers <joseph@codesourcery.com>
4661
4662 [BZ #16400]
4663 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4664 Return -__logl (x) for small positive arguments without evaluating
4665 a polynomial.
4666
9341dde4
MF
46672014-01-06 Mike Frysinger <vapier@gentoo.org>
4668
4669 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4670 Rename to ...
4671 (__ptrace_peeksiginfo_args): ... this.
4672 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4673 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4674 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4675
4cff0293
AM
46762014-01-06 Allan McRae <allan@archlinux.org>
4677
4678 * inet/netinet/in.h: Fix typo in comment.
4679
75595dcf
AJ
46802014-01-05 Andreas Jaeger <aj@suse.de>
4681
4682 * sysdeps/i386/fpu/libm-test-ulps: Update.
4683
79c1e109
AM
46842014-01-05 Allan McRae <allan@archlinux.org>
4685
dd804818
AM
4686 * po/libc.pot: Regenerated.
4687
79c1e109
AM
4688 * malloc/memusagestat.c: Fix gettext call formatting.
4689
0c813d1f
SK
46902014-01-04 Sami Kerola <kerolasa@iki.fi>
4691
4692 * nscd/nscd.c: Improve usage() output.
4693
20f4a8d9
MF
46942014-01-04 Mike Frysinger <vapier@gentoo.org>
4695
4696 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4697 * sysdeps/unix/sysv/linux/configure: Regenerated.
4698 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4699 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4700
22562bb2
JM
47012014-01-03 Joseph Myers <joseph@codesourcery.com>
4702
4703 [BZ #16390]
4704 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4705 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4706
d7ad2d9b
AZ
47072014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4708
4709 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4710 extra tokens at end of #undef directive.
4711 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4712 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4713 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4714
7dd009d8
JM
47152014-01-03 Joseph Myers <joseph@codesourcery.com>
4716
24db925a
JM
4717 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4718
7dd009d8
JM
4719 * math/auto-libm-test-in: Mark various tests with
4720 xfail-rounding:ldbl-128ibm.
4721 * math/auto-libm-test-out: Regenerated.
4722
396e3ecf
JM
47232014-01-02 Joseph Myers <joseph@codesourcery.com>
4724
819e5d50
JM
4725 [BZ #16386]
4726 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4727 numbers with subnormal high part when calculating exponent.
4728
90b6a1e5
JM
4729 [BZ #16385]
4730 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4731 fabs.
4732
396e3ecf
JM
4733 [BZ #16384]
4734 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4735 M_LN2l.
4736 (__ieee754_acoshl): Use __log1pl not __log1p.
4737
6c8dbf00
OB
47382013-01-02 Ondřej Bílka <neleai@seznam.cz>
4739
4740 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4741 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4742 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4743 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4744 Convert to GNU style.
4745 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4746 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4747 memalign_check, __malloc_set_state): Likewise.
4748 * malloc/mallocbug.c (main): Likewise.
4749 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4750 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4751 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4752 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4753 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4754 * malloc/malloc.h: Likewise.
4755 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4756 memalignhook, reallochook, mabort): Likewise.
4757 * malloc/mcheck.h: Likewise.
4758 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4759 mmap64, mremap, munmap, dest): Likewise.
4760 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4761 * malloc/morecore.c (__default_morecore): Likewise.
4762 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4763 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4764 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4765 print_and_abort): Likewise.
4766 * malloc/obstack.h: Likewise.
4767 * malloc/set-freeres.c (__libc_freeres): Likewise.
4768 * malloc/tst-mallocstate.c (main): Likewise.
4769 * malloc/tst-mtrace.c (main): Likewise.
4770 * malloc/tst-realloc.c (do_test): Likewise.
4771
d4124212
SP
47722013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4773
9a3c6a6f
SP
4774 [BZ #16366]
4775 * nscd/netgroupcache.c (do_notfound): New function.
4776 (addgetnetgrentX): Use it.
4777
d4124212
SP
4778 [BZ # 16365]
4779 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4780 NSS_STATUS_NOTFOUND.
4781
97b9a009
JM
47822014-01-01 Joseph Myers <joseph@codesourcery.com>
4783
4784 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4786
d4697bc9
AM
47872014-01-01 Allan McRae <allan@archlinux.org>
4788
ddb3687f
AM
4789 * scripts/update-copyrights: Update configure input file suffix.
4790
88726d48
AM
4791 * NEWS: Update copyright year.
4792 * catgets/gencat.c: Likewise.
4793 * csu/version.c: Likewise.
4794 * debug/catchsegv.sh: Likewise.
4795 * debug/pcprofiledump.c: Likewise.
4796 * debug/xtrace.sh: Likewise.
4797 * elf/ldconfig.c: Likewise.
4798 * elf/ldd.bash.in: Likewise.
4799 * elf/pldd.c: Likewise.
4800 * elf/sotruss.ksh: Likewise.
4801 * elf/sprof.c: Likewise.
4802 * iconv/iconv_prog.c: Likewise.
4803 * iconv/iconvconfig.c: Likewise.
4804 * locale/programs/locale.c: Likewise.
4805 * locale/programs/localedef.c: Likewise.
4806 * login/programs/pt_chown.c: Likewise.
4807 * malloc/memusage.sh: Likewise.
4808 * malloc/memusagestat.c: Likewise.
4809 * malloc/mtrace.pl: Likewise.
4810 * manual/libc.texinfo: Likewise.
4811 * nscd/nscd.c: Likewise.
4812 * nss/getent.c: Likewise.
4813 * nss/makedb.c: Likewise.
4814 * posix/getconf.c: Likewise.
4815 * scripts/test-installation.pl: Likewise.
4816
d4697bc9
AM
4817 * All files with FSF copyright notices: Update copyright dates
4818 using scripts/update-copyrights.
4819 * intl/plural.c: Regenerated.
4820 * locale/programs/charmap-kw.h: Likewise.
4821 * locale/programs/locfile-kw.h: Likewise.
4822
c8590f9d
MF
48232013-12-31 Mike Frysinger <vapier@gentoo.org>
4824
4825 * sysdeps/unix/sysv/linux/configure: Regenerated.
4826 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4827 the linux/fanotify.h header.
4828 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4829 HAVE_LINUX_FANOTIFY_H is defined.
4830
b19221b9
SP
48312013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4832
dd1d85e5
SP
4833 * benchtests/cos-inputs: New inputs.
4834 * benchtests/sin-inputs: Likewise.
4835
1acbb90f
SP
4836 * benchtests/atan-inputs: New inputs. Fix name of multiple
4837 precision fallback inputs.
4838
4c012ed3
SP
4839 * benchtests/atanh-inputs: New inputs.
4840 * benchtests/tanh-inputs: Likewise.
4841
eff98324
SP
4842 * benchtests/acosh-inputs: New inputs.
4843 * benchtests/asinh-inputs: Likewise.
4844
ce641152
SP
4845 * benchtests/cosh-inputs: New inputs.
4846 * benchtests/sinh-inputs: Likewise.
4847
b19221b9
SP
4848 * benchtests/acos-inputs: Add more inputs.
4849 * benchtests/asin-inputs: Likewise.
4850
030a4976 48512013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4852
030a4976 4853 [BZ #16375]
9dcc8f11
VS
4854 * manual/arith.texi: Fix spelling.
4855 * manual/charset.texi: Likewise.
4856 * manual/errno.texi: Likewise.
4857 * manual/filesys.texi: Likewise.
4858 * manual/lang.texi: Likewise.
4859 * manual/llio.texi: Likewise.
4860 * manual/locale.texi: Likewise.
4861 * manual/message.texi: Likewise.
4862 * manual/resource.texi: Likewise.
4863 * manual/search.texi: Likewise.
4864 * manual/setjmp.texi: Likewise.
4865 * manual/stdio.texi: Likewise.
4866 * manual/string.texi: Likewise.
4867 * manual/sysinfo.texi: Likewise.
4868 * manual/time.texi: Likewise.
4869
11520a57
CD
48702013-12-27 Carlos O'Donell <carlos@redhat.com>
4871
4872 * po/sl.po: New file.
4873
471103ae
MF
48742013-12-27 Mike Frysinger <vapier@gentoo.org>
4875
4876 * .gitignore: Add core/.gdbinit/.gdb_history.
4877
6c9642ed
AM
48782013-12-27 Allan McRae <allan@archlinux.org>
4879
4880 [BZ #16369]
4881 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4882 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4883
3f637079
BM
48842013-12-24 Brooks Moses <bmoses@google.com>
4885
4886 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4887 all compilers that claim C++98 compliance, not just GCC.
4888 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4889 Likewise.
4890
abc26e99
MK
48912013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4892
4893 * NEWS: Restore accidentally deleted bug-fix entries.
4894
362b47fe
MK
48952013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4896 Ondřej Bílka <neleai@seznam.cz>
4897
4898 [BZ #15073]
4899 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4900 have_lock.
362b47fe 4901
b9bcbbcb
OB
49022013-12-23 Ondřej Bílka <neleai@seznam.cz>
4903
4904 [BZ #12986]
4905 * manual/stdio.texi (String Input Conversions): Clarify that character
4906 classes are not supported.
4907
fb55fcd2
AZ
49082013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4909
4910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4911
ef7344f0
JM
49122013-12-22 Joseph Myers <joseph@codesourcery.com>
4913
4f40e4b3
JM
4914 [BZ #16337]
4915 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4916 Calculate results for small negative arguments directly rather
4917 than using reflection formula with special underflow handling.
4918
ef7344f0
JM
4919 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4920 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4921 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4922 (fchflags): Likewise.
4923 (revoke): Likewise.
4924 (setlogin): Likewise.
4925 (sigaltstack): Likewise.
4926 (wait4): Likewise.
4927 (sigblock): Remove.
4928 (sigsetmask): Likewise.
4929 (wait3): Likewise.
4930 (waitpid): Likewise.
4931 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4932 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4933 file.
4934 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4935 * sysdeps/unix/bsd/Makefile: ... here.
4936 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4937 * sysdeps/unix/bsd/Versions: ... here.
4938 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4939 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4940 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4941 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4942 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4943 * sysdeps/unix/bsd/sigblock.c: ... here.
4944 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4945 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4946 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4947 * sysdeps/unix/bsd/sigvec.c: ... here.
4948 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4949 * sysdeps/unix/bsd/tcdrain.c: ... here.
4950 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4951 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4952 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4953 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4954 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4955 * sysdeps/unix/bsd/wait.c: ... here.
4956 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4957 * sysdeps/unix/bsd/wait3.c: ... here.
4958 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4959 * sysdeps/unix/bsd/waitpid.c: ... here.
4960
5b0626b9
JM
49612013-12-21 Joseph Myers <joseph@codesourcery.com>
4962
4963 [BZ #16356]
4964 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4965 round-to-nearest for [!USE_AS_EXPM1L].
4966 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4967 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4968 more tests of exp and exp10. Expect some exp10 tests to miss
4969 exceptions or fail in directed rounding modes.
4970 * math/auto-libm-test-out: Regenerated.
4971 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4972 (exp10_test_tonearest): New function.
4973 (exp10_towardzero_test_data): New array.
4974 (exp10_test_towardzero): New function.
4975 (exp10_downward_test_data): New array.
4976 (exp10_test_downward): New function.
4977 (exp10_upward_test_data): New array.
4978 (exp10_test_upward): New function.
4979 (main): Call the new functions.
4980 * sysdeps/i386/fpu/libm-test-ulps: Update.
4981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4982
7fda5682
JM
49832013-12-20 Joseph Myers <joseph@codesourcery.com>
4984
31e3a405
JM
4985 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4986 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4987 * math/auto-libm-test-out: Regenerated.
4988 * math/libm-test.inc (acosh_test_data): Add more tests.
4989 (atanh_test_data): Likewise.
4990 (ceil_test_data): Likewise.
4991 (copysign_test_data): Likewise.
4992 * sysdeps/i386/fpu/libm-test-ulps: Update.
4993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4994
85bff96a
JM
4995 * timezone/checktab.awk: Update from tzcode 2013i.
4996 * timezone/private.h: Likewise.
4997 * timezone/scheck.c: Likewise.
4998 * timezone/tzfile.h: Likewise.
4999 * timezone/tzselect.ksh: Likewise.
5000 * timezone/zdump.c: Likewise.
5001 * timezone/zic.c: Likewise.
5002
b7867a3b
JM
5003 * math/auto-libm-test-in: Add tests of cpow.
5004 * math/auto-libm-test-out: Regenerated.
5005 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5006 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5007 mpc_cc_c.
5008 (func_calc_desc): Add mpc_cc_c union field.
5009 (test_functions): Add cpow.
5010 (special_fill_2pi): New function.
5011 (special_real_inputs): Add 2pi.
5012 (calc_generic_results): Handle mpc_cc_c.
5013 * sysdeps/i386/fpu/libm-test-ulps: Update.
5014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5015
7fda5682
JM
5016 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5017 csqrt, ctan and ctanh.
5018 * math/auto-libm-test-out: Regenerated.
5019 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5020 (TEST_COND_x86): Likewise.
5021 (ccos_test_data): Use AUTO_TESTS_c_c.
5022 (ccosh_test_data): Likewise.
5023 (cexp_test_data): Likewise.
5024 (clog_test_data): Likewise.
5025 (csqrt_test_data): Likewise.
5026 (ctan_test_data): Likewise.
5027 (ctan_tonearest_test_data): Likewise.
5028 (ctan_towardzero_test_data): Likewise.
5029 (ctan_downward_test_data): Likewise.
5030 (ctan_upward_test_data): Likewise.
5031 (ctanh_test_data): Likewise.
5032 (ctanh_tonearest_test_data): Likewise.
5033 (ctanh_towardzero_test_data): Likewise.
5034 (ctanh_downward_test_data): Likewise.
5035 (ctanh_upward_test_data): Likewise.
5036 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5037 mpc_c_c.
5038 (func_calc_desc): Add mpc_c_c union field.
5039 (FUNC_mpc_c_c): New macro.
5040 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5041 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5042 ctanh.
5043 (special_fill_min_subnorm_p120): New function.
5044 (special_real_inputs): Add min_subnorm_p120.
5045 (calc_generic_results): Handle mpc_c_c.
5046 * sysdeps/i386/fpu/libm-test-ulps: Update.
5047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5048
5ff8d60e
SP
50492013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5050
392dd2de
SP
5051 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5052 do_sin_slow): New functions.
5053 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5054 cslow2, csloww1, csloww2): Use the new functions.
5055
84ba214c
SP
5056 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5057 Use M to change sign of result instead of X. Assume X is
5058 positive.
5059 (csloww1): Likewise.
5060 (__sin): Adjust.
5061 (__cos): Adjust.
5062
975195e4
SP
5063 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5064 arguments A and DA.
5065 (__sin): Adjust.
5066 (__cos): Likewise.
5067
5ff8d60e
SP
5068 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5069 (__cos): Likewise.
5070 (sloww1): Don't adjust sign of DX.
5071 (csloww1): Likewise.
5072 (sloww2): Use X directly and don't adjust sign of DX.
5073 (csloww2): Likewise.
5074
eb983568
JM
50752013-12-19 Joseph Myers <joseph@codesourcery.com>
5076
64a17f1a
JM
5077 * math/auto-libm-test-in: Add tests of cabs and carg.
5078 * math/auto-libm-test-out: Regenerated.
5079 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5080 (carg_test_data): Likewise.
5081 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5082 mpc_c_f.
5083 (func_calc_desc): Add mpc_c_f union field.
5084 (test_functions): Add cabs and carg.
5085 (calc_generic_results): Handle mpc_c_f.
5086
eb983568
JM
5087 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5088 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5089 as a macro and a compat symbol.
5090 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5091 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5092 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5093 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5094 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5095 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5096 not use .hidden.
5097 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5098 Likewise.
5099 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5100 Likewise.
5101 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5102 Likewise.
5103 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5104 Likewise.
5105 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5106 Likewise.
5107 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5108 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5109 from GLIBC_2.3.2.
5110
6eeb678a
AZ
51112013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5112
5113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5114
6f6fc482
JM
51152013-12-19 Joseph Myers <joseph@codesourcery.com>
5116
21fea2e2
JM
5117 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5118 trailing whitespace removed.
5119 * scripts/config.guess: Update to version 2013-11-29.
5120 * scripts/config.sub: Update to version 2013-10-01.
5121
6f6fc482
JM
5122 * math/auto-libm-test-in: Add tests of sincos.
5123 * math/auto-libm-test-out: Regenerated.
5124 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5125 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5126 mpfr_f_11.
5127 (func_calc_desc): Add mpfr_f_11 union field.
5128 (test_functions): Add sincos.
5129 (calc_generic_results): Handle mpfr_f_11.
5130 * sysdeps/i386/fpu/libm-test-ulps: Update.
5131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5132
83f5c32d
AS
51332013-12-19 Andreas Schwab <schwab@suse.de>
5134
5135 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5136 CALL_MCOUNT.
5137 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5138 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5139 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5140
c688b419
JM
51412013-12-19 Joseph Myers <joseph@codesourcery.com>
5142
335ee092
JM
5143 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5144 * sysdeps/i386/fpu/libm-test-ulps: Update.
5145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5146
f88acd39
JM
5147 [BZ #16293]
5148 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5149 round-to-nearest mode when using frndint.
5150 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5151 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5152 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5153 Likewise.
5154 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5155 sinh test to fail.
5156 * math/auto-libm-test-out: Regenerated.
5157 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5158 (TEST_COND_x86): Likewise.
5159 (expm1_tonearest_test_data): New array.
5160 (expm1_test_tonearest): New function.
5161 (expm1_towardzero_test_data): New array.
5162 (expm1_test_towardzero): New function.
5163 (expm1_downward_test_data): New array.
5164 (expm1_test_downward): New function.
5165 (expm1_upward_test_data): New array.
5166 (expm1_test_upward): New function.
5167 (main): Run the new test functions.
5168 * sysdeps/i386/fpu/libm-test-ulps: Update.
5169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5170
c688b419
JM
5171 * include/features.h: Update comment documenting feature test
5172 macros. Mention _DEFAULT_SOURCE in comment.
5173 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5174 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5175 _BSD_SOURCE and _SVID_SOURCE.
5176 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5177 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5178 !_SVID_SOURCE]: Likewise.
5179 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5180 (__USE_POSIX_IMPLICITLY): Define.
5181 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5182 (_POSIX_SOURCE): Undefine and redefine.
5183 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5184 (_POSIX_C_SOURCE): Likewise.
5185 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5186 (Feature Test Macros): Update documentation of default features.
5187
9f6e964c
RS
51882013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5189
5190 * benchtests/Makefile: Add bench-strtok.
5191 * benchtests/bench-strtok.c: New file: strtok benchtest.
5192
ee0a148a
AM
51932013-12-19 Allan McRae <allan@archlinux.org>
5194
5195 * manual/install.texi: Suppress menu for plain text output.
5196 * INSTALL: Regenerated.
5197
b9ab448f
BM
51982013-12-18 Brooks Moses <bmoses@google.com>
5199
5200 [BZ #15846]
5201 * misc/getauxval.c: Include errno.h.
5202 (__getauxval): Set errno to ENOENT if the requested type is not
5203 found.
5204 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5205 don't declare with __attribute_const__.
5206 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5207 * manual/startup.texi: Document that getauxval sets errno.
5208
23776487
JM
52092013-12-18 Joseph Myers <joseph@codesourcery.com>
5210
f889953b
JM
5211 * math/auto-libm-test-in: Add tests of jn and yn.
5212 * math/auto-libm-test-out: Regenerated.
5213 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5214 (yn_test_data): Likewise.
5215 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5216 mpfr_if_f.
5217 (func_calc_desc): Add mpfr_if_f union field.
5218 (FUNC_mpfr_if_f): New macro.
5219 (test_functions): Add jn and yn.
5220 (calc_generic_results): Assert type of second input for
5221 mpfr_ff_f. Handle mpfr_if_f.
5222 (output_for_one_input_case): Disable all checking for arguments
5223 fitting floating-point types in case of an integer argument.
5224 * sysdeps/i386/fpu/libm-test-ulps: Update.
5225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5226
23776487
JM
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5228 Don't expect fegetround reference in libm.so.
5229
cb756c6d
MS
52302013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5231
5232 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5233 $(config-cflags-nofma).
5234
2dec468f
JM
52352013-12-18 Joseph Myers <joseph@codesourcery.com>
5236
5953eb3a
JM
5237 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5238 * math/auto-libm-test-out: Regenerated.
5239
2dec468f
JM
5240 [BZ #16338]
5241 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5242 to determine exponent and adjust argument to have exponent of -1.
5243 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5244 log2.
5245 * math/auto-libm-test-out: Regenerated.
5246 * sysdeps/i386/fpu/libm-test-ulps: Update.
5247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5248
4d84e6ad
OB
52492013-12-18 Ondřej Bílka <neleai@seznam.cz>
5250
5251 * manual/probes.texi: Remove cases when per-thread arenas are
5252 disabled.
5253
1818483b
AS
52542013-12-18 Andreas Schwab <schwab@suse.de>
5255
5256 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5257 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5258 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5259 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5260 * sysdeps/i386/i686/multiarch/Makefile: Update.
5261 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5262
25de95bf
JM
52632013-12-17 Joseph Myers <joseph@codesourcery.com>
5264
5265 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5266 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5267
674762d9
PE
52682013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5269
ed27ed83 5270 [BZ #15968]
0748546f
PE
5271 Support TZ transition times < 00:00:00.
5272 This is needed for version-3 tz-format files; it supports time
5273 stamps past 2037 for America/Godthab (the only entry in the tz
5274 database for which this change is relevant).
5275 * manual/time.texi (TZ Variable): Document transition times
5276 from -167:59:59 through -00:00:01.
5277 * time/tzset.c (tz_rule): Time of day is now signed.
5278 (__tzset_parse_tz): Parse negative time of day.
5279
4480e934
PE
5280 Document TZ transition times >= 25:00:00.
5281 * manual/time.texi (TZ Variable): Document transition times from
5282 25:00:00 through 167:59:59. These are already supported, and this
5283 support will help with version-3 tz-format files.
5284
69947401
PE
5285 * manual/time.texi (TZ Variable): Modernize North America example
5286 to reflect current (i.e., 2007-and-later) daylight saving rules.
5287
674762d9
PE
5288 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5289
7011c262
JM
52902013-12-17 Joseph Myers <joseph@codesourcery.com>
5291
2fc6557e
JM
5292 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5293 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5295 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5296 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5297 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5298 * sysdeps/unix/bsd/clock.c: Likewise.
5299 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5300 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5301 * sysdeps/unix/bsd/init-posix.c: Likewise.
5302 * sysdeps/unix/bsd/poll.c: Likewise.
5303 * sysdeps/unix/bsd/ptsname.c: Likewise.
5304 * sysdeps/unix/bsd/seekdir.c: Likewise.
5305 * sysdeps/unix/bsd/setegid.c: Likewise.
5306 * sysdeps/unix/bsd/seteuid.c: Likewise.
5307 * sysdeps/unix/bsd/setgid.c: Likewise.
5308 * sysdeps/unix/bsd/setrgid.c: Likewise.
5309 * sysdeps/unix/bsd/setruid.c: Likewise.
5310 * sysdeps/unix/bsd/setsid.c: Likewise.
5311 * sysdeps/unix/bsd/setuid.c: Likewise.
5312 * sysdeps/unix/bsd/sigaction.c: Likewise.
5313 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5314 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5315 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5316 * sysdeps/unix/bsd/telldir.c: Likewise.
5317 * sysdeps/unix/bsd/times.c: Likewise.
5318 * sysdeps/unix/bsd/usleep.c: Likewise.
5319
029c7b25
JM
5320 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5321 ($(objpfx)libbsd-compat.a): Remove rule.
5322
7011c262
JM
5323 * include/features.h (__FAVOR_BSD): Do not define.
5324 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5325 features conflicting with POSIX.
5326 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5327 (_BSD_SOURCE): Remove description of not being a subset of other
5328 feature test macros.
5329 * manual/job.texi (getpgrp): Do not document BSD version.
5330 (getpgid): Do not document by reference to BSD getpgrp.
5331 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5332 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5333 * signal/signal.h [__FAVOR_BSD]: Likewise.
5334 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5335 instead of making contents conditional on [__FAVOR_BSD].
5336 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5337
affb6f78
AZ
53382013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5339
5340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5341
c88769dd
JM
53422013-12-17 Joseph Myers <joseph@codesourcery.com>
5343
6432a540
JM
5344 [BZ #16314]
5345 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5346 values below 2**-450, not 2**-500.
5347 * math/auto-libm-test-in: Don't allow spurious underflow from
5348 hypot.
5349 * math/auto-libm-test-out: Regenerated.
5350
c88769dd
JM
5351 [BZ #16316]
5352 [BZ #16330]
5353 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5354 values of ha and hb and sort them after adjusting subnormal
5355 arguments.
5356 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5357 Likewise.
5358 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5359 values of ea and eb and sort them after adjusting subnormal
5360 arguments.
5361 * math/auto-libm-test-in: Do not expect some hypot tests of
5362 subnormals to fail. Add more hypot tests.
5363 * math/auto-libm-test-out: Regenerated.
5364
29618f6b
KK
53652013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5366
5367 [BZ #13304]
5368 * sysdeps/sh/s_fma.c: New file.
5369 * sysdeps/sh/s_fmaf.c: New file.
5370 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5371 version.
5372 * sysdeps/sh/Implies: Add sh/soft-fp.
5373
eacfdfbf
RM
53742013-12-16 Roland McGrath <roland@hack.frob.com>
5375
5376 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5377 level of indirection to members `objname', `errstring', `malloced'.
5378 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5379 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5380 it as the __longjmp argument (just pass 1 instead).
5381 (_dl_catch_error): Initialize C with argument pointers and address of
5382 volatile local ERRCODE rather than copying values out of C at return.
5383
ff362e5b
JM
53842013-12-16 Joseph Myers <joseph@codesourcery.com>
5385
5386 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5387 * math/auto-libm-test-out: Regenerated.
5388 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5389 (hypot_test_data): Likewise.
5390 (pow_test_data): Likewise.
5391 (pow_tonearest_test_data): Likewise.
5392 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5393 mpfr_ff_f.
5394 (func_calc_desc): Add mpfr_ff_f union field.
5395 (FUNC_mpfr_ff_f): New macro.
5396 (test_functions): Add atan2, hypot and pow.
5397 (special_fill_min): New function.
5398 (special_fill_minus_min): Likewise.
5399 (special_fill_min_subnorm): Likewise.
5400 (special_fill_minus_min_subnorm): Likewise.
5401 (special_real_inputs): Add min, -min, min_subnorm and
5402 -min_subnorm.
5403 (calc_generic_results): Handle mpfr_ff_f.
5404 * sysdeps/i386/fpu/libm-test-ulps: Update.
5405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5406
5764c27f
WN
54072013-12-16 Will Newton <will.newton@linaro.org>
5408
5409 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5410 (Aligned Memory Blocks): Add documentation for aligned_alloc
5411 and suggest it as an alternative to posix_memalign.
5412 (Hooks for Malloc): Document __memalign_hook is also called
5413 for aligned_alloc. (Summary of Malloc): Add summary for
5414 aligned alloc. Document __memalign_hook is also called
5415 for aligned_alloc.
5416
0a096e44
WN
54172013-12-16 Will Newton <will.newton@linaro.org>
5418
5419 * manual/memory.texi (Malloc Examples): Clarify default
5420 alignment documentation. Suggest posix_memalign rather
5421 than memalign or valloc.
5422 (Aligned Memory Blocks): Remove suggestion to use memalign
5423 or valloc. Remove obsolete comment about BSD.
5424 Document memalign errno values and mark the function obsolete.
5425 Document posix_memalign returned error codes. Mark valloc
5426 as obsolete. (Hooks for Malloc): __memalign_hook is also
5427 called for posix_memalign and valloc.
5428 (Summary of Malloc): Add posix_memalign to function summary.
5429 __memalign_hook is also called for posix_memalign and valloc.
5430
8d561986
SP
54312013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5432
5433 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5434 TAYLOR_SIN.
5435 (__sin): Adjust.
5436 (__cos): Likewise.
5437 (sloww): Use mynumber union. Expand ternary operator into
5438 if-else statements.
5439 (cslow): use mynumber union.
5440
73616a74
AM
54412013-12-16 Allan McRae <allan@archlinux.org>
5442
9e8ac24b
AM
5443 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5444 * configure: Regenerated.
5445
6f8e37eb
AM
5446 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5447
8894bad3
AM
5448 [BZ #14120]
5449 * configure.ac: Added --enable-maintainer-mode. Check for
5450 autoconf when enabled.
5451 * configure: Regenerated.
5452
73616a74
AM
5453 * nscd/nscd.service: New file.
5454 * nscd/nscd.tmpfiles: New file.
5455
584b18eb
OB
54562013-12-14 Ondřej Bílka <neleai@seznam.cz>
5457
5458 [BZ #12100]
5459 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5460 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5461 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5462 (strstr): Add __strstr_sse2_unaligned ifunc.
5463 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5464 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5465 (strcasestr): Remove __strcasestr_sse42 ifunc.
5466 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5467 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5469
8a5c7897
KK
54702013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5471
5472 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5473 * sysdeps/sh/bits/fenv.h: ... here.
5474 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5475
fd712ef3
AZ
54762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5477
5478 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5479
42fcb46c
AZ
54802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481
5482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5483 hypotf multiarch implementations.
5484 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5485 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5486 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5487 multiarch hypot for PPC64.
5488 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5489 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5490 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5491 multiarch hypotf for PPC64.
5492
83efded4
AZ
54932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5494
5495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5496 modff multiarch implementations.
5497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5500 multiarch modf for PPC64.
5501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5504 multiarch modff for PPC64.
5505
43e246d2
AZ
55062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5507
5508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5509 and logl multiarch implementations.
5510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5513 multiarch logb for PPC64.
5514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5517 multiarch logb for PPC64.
5518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5521 multiarch logb for PPC64.
5522
8fdad123
AZ
55232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5524
5525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5526 isinff multiarch implementation.
5527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5528 file.
5529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5531 multiarch isinf for PPC64.
5532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5533 file.
5534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5535 multiarch isinff for PPC64.
5536
1481d706
AZ
55372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5538
5539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5540 finitef multiarch implementation.
5541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5542 file.
5543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5545 multiarch finite for PPC64.
5546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5547 file.
5548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5549 multiarch finitef for PPC64.
5550
5ccd5fc8
AZ
55512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5552
5553 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5554 lrint multiarch implementation.
5555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5556 file.
5557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5559 multiarch llrint for PPC64.
5560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5561 multiarch lrint for PPC64.
5562
2568f3fa
AZ
55632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5564
5565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5566 copysignf multiarch implementation.
5567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5568 file.
5569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5570 file.
5571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5572 multiarch copysign for PPC64.
5573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5574 multiarch copysignf for PPC64.
5575
1cb341fd
AZ
55762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5577
5578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5579 multiarch implementation.
5580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5581 file.
5582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5583 file.
5584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5585 file.
5586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5587 file.
5588 multiarch llround for PPC64.
5589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5590 multiarch trunc for PPC64.
5591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5592 multiarch truncf for PPC64.
5593
59a3e194
AZ
55942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5595
5596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5597 multiarch implementation.
5598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5599 file.
5600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5601 file.
5602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5603 file.
5604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5605 file.
5606 multiarch llround for PPC64.
5607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5608 multiarch round for PPC64.
5609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5610 multiarch roundf for PPC64.
5611
357fd3b4
AZ
56122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5613
5614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5615 multiarch implementation.
5616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5617 file.
5618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5619 file.
5620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5621 file.
5622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5623 file.
5624 multiarch llround for PPC64.
5625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5626 multiarch floor for PPC64.
5627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5628 multiarch floorf for PPC64.
5629
96770f12
AZ
56302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5631
5632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5633 multiarch implementation.
5634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5635 file.
5636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5637 file.
5638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5639 file.
5640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5641 file.
5642 multiarch llround for PPC64.
5643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5644 multiarch ceil for PPC64.
5645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5646 multiarch ceilf for PPC64.
5647
c3627f6e
AZ
56482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5649
5650 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5651 multiarch implementation.
5652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5653 file.
5654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5655 file.
5656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5657 file.
5658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5659 multiarch llround for PPC64.
5660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5661 multiarch lround for PPC64.
5662
b2284ad7
AZ
56632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5664
5665 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5666 multiarch implementation.
5667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5670 file.
5671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5674 multiarch isnan for PPC64.
5675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5676 multiarch isnanf for PPC64.
5677
69bbc63d
AZ
56782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5679
5680 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5681 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5682 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5683 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5684 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5686
c24517c9
AZ
56872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5688
5689 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5690 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5691 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5692 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5693
a52374e8
AZ
56942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5695
5696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5697 multiarch implementations.
5698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5699 (__libc_ifunc_impl_list): Likewise.
5700 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5701 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5702 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5703 multiarch stpcpy for PPC64.
5704
7f5ec113
AZ
57052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5706
5707 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5708 multiarch implementations.
5709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5710 (__libc_ifunc_impl_list): Likewise.
5711 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5712 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5713 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5714 multiarch strcpy for PPC64.
5715
e28bcd42
AZ
57162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5717
5718 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5719 redefine function name.
5720 (_wordcopy_fwd_dest_aligned): Likewise.
5721 (_wordcopy_bwd_aligned): Likewise.
5722 (_wordcopy_bwd_dest_aligned): Likewise.
5723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5724 multiarch implementations.
5725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5726 (__libc_ifunc_impl_list): Likewise.
5727 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5728 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5729 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5730 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5731 multiarch wcscpy for PPC64.
5732
92cacfce
AZ
57332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5734
5735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5736 multiarch implementations.
5737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5738 (__libc_ifunc_impl_list): Likewise.
5739 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5740 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5741 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5742 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5743 multiarch wcscpy for PPC64.
5744
7b714620
AZ
57452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5746
5747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5748 multiarch implementations.
5749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5750 (__libc_ifunc_impl_list): Likewise.
5751 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5752 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5753 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5754 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5755 multiarch wcsrchr for PPC64.
5756
16fd2ae3
AZ
57572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5758
5759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5760 multiarch implementations.
5761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5762 (__libc_ifunc_impl_list): Likewise.
5763 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5764 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5765 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5766 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5767 multiarch wcschr for PPC64.
5768
9ee2969b
AZ
57692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5770
5771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5772 multiarch implementations.
5773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5774 (__libc_ifunc_impl_list): Likewise.
5775 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5776 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5777 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5778 multiarch strchrnul for PPC64.
5779
372dc060
AZ
57802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5781
5782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5783 implementations.
5784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5785 (__libc_ifunc_impl_list): Likewise.
5786 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5787 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5788 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5789 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5790 strchr for PPC64.
5791
24c2c3b9
AZ
57922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5793
5794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5795 implementations.
5796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5797 (__libc_ifunc_impl_list): Likewise.
5798 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5799 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5800 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5801 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5802 strncmp for PPC64.
5803
1c92d9a0
AZ
58042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5805
5806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5807 multiarch implementations.
5808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5809 (__libc_ifunc_impl_list): Likewise.
5810 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5811 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5812 strncasecmp for PPC64.
5813 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5814 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5815 multiarch strncasecmp_l for PPC64.
5816
17de3ee3
AZ
58172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5818
5819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5820 multiarch implementations.
5821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5822 (__libc_ifunc_impl_list): Likewise.
5823 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5824 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5825 multiarch strcasecmp for PPC64.
5826 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5827 file.
5828 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5829 multiarch strcasecmp_l for PPC64.
5830
62982bf9
AZ
58312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5832
5833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5834 implementations.
5835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5836 (__libc_ifunc_impl_list): Likewise.
5837 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5838 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5839 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5840 strnlen for PPC64.
5841
a65f4904
AZ
58422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5843
5844 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5845 implementations.
5846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5847 (__libc_ifunc_impl_list): Likewise.
5848 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5849 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5850 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5851 strlen for PPC64.
5852
1fd005ad
AZ
58532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5854
5855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5856 implementations.
5857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5858 (__libc_ifunc_impl_list): Likewise.
5859 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5860 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5861 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5862 rawmemrchr for PPC64.
5863
cd05ba91
AZ
58642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5865
5866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5867 implementation.
5868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5869 (__libc_ifunc_impl_list): Likewise.
5870 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5871 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5872 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5873 memrchr for PPC64.
5874
870f8676
AZ
58752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5876
5877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5878 implementation.
5879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5880 (__libc_ifunc_impl_list): Likewise.
5881 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5882 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5883 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5884 memchr for PPC64.
5885
f00be62b
AZ
58862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5887
5888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5889 implementation.
5890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5891 (__libc_ifunc_impl_list): Likewise.
5892 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5893 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5894 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5895 mempcpy for PPC64.
5896
8a29a3d0
AZ
58972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5898
5899 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5900 avoid cretion of __bzero symbol.
5901 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5902 Likewise.
5903 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5904 Likewise.
5905 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5906 Likewise.
5907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5908 multiarch implementations.
5909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5910 (__libc_ifunc_impl_list): Likewise.
5911 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5912 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5913 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5914 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5915 bzero for PPC32.
5916 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5917 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5918 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5919 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5920 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5921 memset for PPC64.
5922 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5923
07253fcf
AZ
59242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5925
5926 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5928 implementations.
5929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5930 (__libc_ifunc_impl_list): Likewise.
5931 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5932 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5933 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5934 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5935 memcmp for PPC64.
5936
b5beafbc
AZ
59372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5938
5939 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5940 multiarch for POWER/PPC64.
5941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5942 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5943 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5944 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5945 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5946 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5947 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5948 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5949 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5950 memcpy for PPC64.
5951
5e6a4d4b
AZ
59522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5953
5954 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5955 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5956 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5957 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5958 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5959 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5960 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5961 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5962 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5963 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5964 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5965 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5966 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5967 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5968 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5976
ddfab6dc
KK
59772013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5978
5979 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5980
19b5525e
SP
59812013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5982
5983 * benchtests/Makefile (bench): Add exp2 and log2.
5984 (LDLIBS-bench-exp2): Add -lm.
5985 (LDLIBS-bench-log2): Likewise.
5986 * benchtests/exp2-inputs: New inputs file.
5987 * benchtests/log2-inputs: New inputs file.
5988 * benchtests/log-inputs: Add new inputs.
5989 * benchtests/tan-inputs: Likewise.
5990
196f7f5d
SP
59912013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5992
7a74607f
SP
5993 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5994 definition...
5995 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5996 csloww1, csloww2): ... from here.
5997
196f7f5d
SP
5998 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5999 instead of structures.
6000 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6001 (POLYNOMIAL): Likewise.
6002 (TAYLOR_SLOW): Likewise.
6003 (__sin): Likewise.
6004 (__cos): Likewise.
6005 (slow1): Likewise.
6006 (slow2): Likewise.
6007 (sloww): Likewise.
6008 (sloww1); Likewise.
6009 (sloww2): Likewise.
6010 (bsloww1): Likewise.
6011 (bsloww2): Likewise.
6012 (cslow2): Likewise.
6013 (csloww): Likewise.
6014 (csloww1): Likewise.
6015 (csloww2): Likewise.
6016
0dfa665c
OB
60172013-12-10 Ondřej Bílka <neleai@seznam.cz>
6018
6019 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6020 (__malloc_assert, __libc_realloc, __libc_calloc,
6021 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6022 memcpy and memset.
6023 * malloc/hooks.c (realloc_check): Likewise.
6024
5782a80f
OB
60252013-12-10 Ondřej Bílka <neleai@seznam.cz>
6026
6027 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6028 * malloc/arena.c: Remove PER_THREAD conditional.
6029 [!PER_THREAD]: Remove code.
6030 (ptmalloc_unlock_all2): Likewise.
6031 (ptmalloc_init): Likewise.
6032 (_int_new_arena): Likewise.
6033 (arena_get2): Likewise.
6034 * malloc/hooks.c (__malloc_get_state): Likewise.
6035 (__malloc_set_state): Likewise.
6036 * malloc/malloc.c: Likewise.
6037 (struct malloc_state): Likewise.
6038 (struct malloc_par): Likewise.
6039 (__libc_realloc): Likewise.
6040 (__libc_mallopt): Likewise.
6041
aeb95445
AZ
60422013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6043
6044 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6045
e8349efd
OB
60462013-12-09 Ondřej Bílka <neleai@seznam.cz>
6047
6048 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6049 macro to a function. Check for zero perturb_byte.
6050 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6051
f3eeb3fc
OB
60522013-12-09 Ondřej Bílka <neleai@seznam.cz>
6053
6054 * malloc/malloc.c: (force_reg): Remove.
6055 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6056 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6057 force_reg by atomic_forced_read.
6058 * malloc/arena.c (ptmalloc_init): Likewise.
6059 * malloc/hooks.c (top_check): Likewise.
6060
be2f9009
AZ
60612013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062
6063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6064
e7b914bd
MT
60652013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6066
6067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6068
9f0be4f8
JM
60692013-12-08 Joseph Myers <joseph@codesourcery.com>
6070
6071 * math/auto-libm-test-in: Add tests of lgamma.
6072 * math/auto-libm-test-out: Regenerated.
6073 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6074 (M_LOG_2_SQRT_PIl): Likewise.
6075 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6076 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6077 mpfr_f_f1.
6078 (func_calc_desc): Add mpfr_f_f1 union field.
6079 (ARGS1): New macro.
6080 (ARGS2): Likewise.
6081 (ARGS3): Likewise.
6082 (ARGS4): Likewise.
6083 (RET1): Likewise.
6084 (RET2): Likewise.
6085 (CALC): Likewise.
6086 (FUNC): Likewise.
6087 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6088 (test_functions): Add lgamma.
6089 (calc_generic_results): Handle mpfr_f_f1.
6090 * sysdeps/i386/fpu/libm-test-ulps: Update.
6091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6092
24eeafdb
AZ
60932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6094
6095 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6096 __mpn_add_n for PowerPC64/POWER7.
6097 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6098 __mpn_sub_n for PowerPC64/POWER7.
6099
4a2c0fd4
AZ
61002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6101
6102 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6103 __mpn_addmul_1 for PowerPC64.
6104 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6105 __mpn_submul_1 for PowerPC64.
6106 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6107 for PowerPC64.
6108 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6109 for PowerPC64.
6110
4b5b548c
FS
61112013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6112
6113 [BZ #15089]
6114 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6115
0a3ac0aa
AZ
61162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6117
6118 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6119
ccdc8438
AZ
61202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6121
6122 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6123 add multiarch folders.
6124 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6125 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6126 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6127 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6128 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6129 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6130 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6131 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6132 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6133 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6134 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6141
2e973d99
AZ
61422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6143
6144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6145 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6147 New file.
6148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6149 New file.
6150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6151 multiarch __ieee754_hypot for PowerPC32.
6152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6153 New file.
6154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6155 New file.
6156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6157 multiarch __ieee754_hypotf for PowerPC32.
6158
2d9470b2
AZ
61592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6160
6161 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6162 long_double_symbol only if __logbl is defined.
6163 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6164 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6165 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6166 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6167 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6168 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6169 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6170 path for implementation.
6171 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6172 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6174 logb, and logbl multiarch implementations for PowerPC32.
6175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6176 file.
6177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6178 file.
6179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6180 multiarch logb for PowerPC32.
6181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6182 file.
6183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6184 file.
6185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6186 multiarch logbf for PowerPC32.
6187 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6189 file.
6190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6191 multiarch logbl implementation for PowerPC32.
6192
5212ffce
AZ
61932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6194
6195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6196 and modff multiarch implementations.
6197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6198 New file.
6199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6200 New file.
6201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6202 multiarch modf for PowerPC32.
6203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6204 New file.
6205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6206 New file.
6207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6208 multiarch modff for PowerPC32.
6209
79dccf31
AZ
62102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6211
6212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6213 and lrintf multiarch implementations.
6214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6215 New file.
6216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6217 New file.
6218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6219 multiarch lrint for PowerPC32.
6220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6221 file: multiarch lrintf for PowerPC32.
6222
deb66480
AZ
62232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6224
6225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6226 and lroundf multiarch implementations.
6227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6228 New file.
6229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6230 New file.
6231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6232 New file.
6233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6234 multiarch lround for PowerPC32.
6235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6236 file: multiarch lroundf for PowerPC32.
6237
264b036b
AZ
62382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6239
6240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6241 copysign and copysignf multiarch implementations.
6242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6243 New file.
6244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6245 New file.
6246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6247 file: multiarch copysign for PowerPC32.
6248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6249 file: multiarch copysignf for PowerPC32.
6250
d47db6c9
AZ
62512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6252
6253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6254 and truncf multiarch implementations.
6255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6256 New file.
6257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6258 file.
6259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6260 multiarch trunc for PowerPC32.
6261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6262 New file.
6263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6264 New file.
6265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6266 multiarch truncf for PowerPC32.
6267
ddb60b5a
AZ
62682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6269
6270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6271 and roundf multiarch implementations.
6272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6273 New file.
6274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6275 file.
6276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6277 multiarch round for PowerPC32.
6278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6279 New file.
6280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6281 New file.
6282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6283 multiarch roundf for PowerPC32.
6284
bedcf49b
AZ
62852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6286
6287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6288 and floorf multiarch implementations.
6289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6290 New file.
6291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6292 file.
6293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6294 multiarch floor for PowerPC32.
6295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6296 New file.
6297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6298 New file.
6299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6300 multiarch floorf for PowerPC32.
6301
35ae5b40
AZ
63022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6303
6304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6305 and ceilf multiarch implementations.
6306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6307 New file.
6308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6309 file.
6310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6311 multiarch ceil for PowerPC32.
6312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6313 New file.
6314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6315 file.
6316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6317 multiarch ceilf for PowerPC32.
6318
ae1a4cd9
AZ
63192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6320
6321 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6322 is defined.
6323 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6324 FINITEF is defined.
6325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6326 and finitef multiarch implementations.
6327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6328 New file.
6329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6330 file.
6331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6332 multiarch finite for PowerPC32.
6333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6334 New file.
6335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6336 file: multiarch finitef for PowerPC32.
6337
64fffd65
AZ
63382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6339
6340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6341 and isinff multiarch implementations.
6342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6343 file.
6344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6345 file.
6346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6347 multiarch isinf for PowerPC32.
6348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6349 New file.
6350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6351 multiarch isinff for PowerPC32.
6352
8e4e7ba2
AZ
63532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6354
6355 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6356 alias when __isnan is defined.
6357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6358 and isnanf multiarch implementations.
6359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6360 file.
6361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6362 file.
6363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6364 file.
6365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6366 file.
6367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6368 multiarch isnan for PowerPC32.
6369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6370 New file.
6371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6372 New file.
6373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6374 multiarch isnanf for PowerPC32.
6375
ddba588e
AZ
63762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6377
6378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6379 and sqrtf multiarch implementations.
6380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6381 file.
6382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6383 file.
6384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6385 multiarch sqrt for PowerPC32.
6386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6387 file.
6388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6389 file.
6390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6391 multiarch sqrtf for PowerPC32.
6392
0f96a2f0
AZ
63932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6394
6395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6396 and llroundf multiarch implementations.
6397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6398 New file.
6399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6400 New file.
6401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6402 New file.
6403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6404 file: multiarch llround for PowerPC32.
6405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6406 file: multiarch llroundf for PowerPC32.
6407
c9b5d79e
AZ
64082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6409
6410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6411 multiarch PowerPC32 fpu implementations.
6412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6413 New file.
6414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6415 New file.
6416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6417 multiarch llrint for PowerPC32.
6418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6419 New file.
6420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6421 New file.
6422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6423 file.
6424
9cbb3aab
AZ
64252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6426
6427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6428
ea5a72f8
AZ
64292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6430
6431 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6432 file.
6433 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6434 file.
6435 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6436 file.
6437 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6438 multiarch wordcopy for PPC32.
6439 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6440 wordcopy objects.
6441 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6442 (__libc_ifunc_impl_list): Likewise.
6443 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6444 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6445 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6446 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6447 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6448 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6449
93be09e7
AZ
64502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6451
6452 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6453 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6454 file.
6455 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6456 file.
6457 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6458 file.
6459 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6460 multiarch wcscpy for PPC32.
6461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6462 multiarch objects.
6463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6464 (__libc_ifunc_impl_list): Likewise.
6465 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6466 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6467 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6468 sysdeps/powerpc/power6/wcscpy.c.
6469
bb04e529
AZ
64702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6471
6472 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6474 file.
6475 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6476 file.
6477 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6478 file.
6479 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6480 multiarch wcsrchr for PPC32.
6481 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6482 multiarch objects.
6483 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6484 (__libc_ifunc_impl_list): Likewise.
6485 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6486 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6487 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6488 sysdeps/powerpc/power6/wcsrchr.c.
6489
05b5cd1c
AZ
64902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6491
6492 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6493 file.
6494 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6495 file.
6496 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6497 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6498 multiarch wcschr for PPc32.
6499 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6500 multiarch objects.
6501 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6502 (__libc_ifunc_impl_list): Likewise.
6503 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6504 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6505 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6506 sysdeps/powerpc/power6/wcschr.c.
6507
ba964147
AZ
65082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6509
6510 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6511 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6512 file.
6513 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6514 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6515 file: multiarch strchr for PPC32.
6516 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6517 multiarch objects.
6518 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6519 (__libc_ifunc_impl_list): Likewise.
6520
31c81aaa
AZ
65212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6522
6523 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6524 name.
6525 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6526 file.
6527 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6528 file.
6529 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6530 multiarch strchrnul for PPC32.
6531 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6532 multiarch objects.
6533 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6534 (__libc_ifunc_impl_list): Likewise.
6535
0d0607d9
AZ
65362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6537
6538 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6539 file.
6540 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6541 multiarch strncasecmp for PPC32.
6542 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6543 file.
6544 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6545 multiarch strncasecmp_l for PPC32.
6546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6547 strncasecmp multiarch objects.
6548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6549 (__libc_ifunc_impl_list): Likewise.
6550
4dfd5c86
AZ
65512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6552
6553 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6554 file.
6555 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6556 multiarch strncasecmp for PPC32.
6557 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6558 New file.
6559 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6560 multiarch strcasecmp_l for PPC32.
6561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6562 multiarch objects.
6563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6564 (__libc_ifunc_impl_list): Likewise.
6565
a19e01a3
AZ
65662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6567
6568 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6569 file.
6570 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6571 file.
6572 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6573 multiarch strncmp for PPC32.
6574 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6575 multiarch objects.
6576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6577 (__libc_ifunc_impl_list): Likewise.
6578
ae9cf7a2
AZ
65792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6580
6581 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6582 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6583 file.
6584 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6585 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6587 multiarch objects.
6588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6589 (__libc_ifunc_impl_list): Likewise.
6590
3148bb7d
AZ
65912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6592
6593 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6594 file.
6595 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6596 file.
6597 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6599 multiarch objects.
6600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6601 (__libc_ifunc_impl_list): Likewise.
6602
7af8b946
AZ
66032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6604
6605 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6606 file.
6607 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6608 file.
6609 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6610 multiarch rawmemchr for PPC32.
6611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6612 multiarch objects.
6613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6614 (__libc_ifunc_impl_list): Likewise.
6615
03a6aa6a
AZ
66162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617
6618 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6619 file.
6620 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6621 file.
6622 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6623 file: memrchr multiarch for PPC32.
6624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6625 multiarch objects.
6626 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6627 (__libc_ifunc_impl_list): Likewise.
6628
1c62e6d9
AZ
66292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6630
6631 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6632 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6633 file.
6634 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6635 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6636 multiarch memchr for PPC32.
6637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6638 multiarch objects.
6639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6640 (__libc_ifunc_impl_list): Likewise.
6641
87da8bdb
AZ
66422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6643
6644 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6645 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6646 file.
6647 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6648 file.
6649 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6650 file: multiarch mempcpy for PPC32.
6651 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6652 multiarch objects.
6653 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6654 (__libc_ifunc_impl_list): Likewise.
6655
20ed4714
AZ
66562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6657
6658 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6659 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6660 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6661 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6662 multiarch bzero for PPC32.
6663 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6664 file.
6665 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6666 file.
6667 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6668 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6669 file: multiarch memset for PPC32.
6670 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6672 memset multiarch objects.
6673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6674 (__libc_ifunc_impl_list): Likewise.
6675
ab3e3a46
AZ
66762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6677
6678 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6679 file.
6680 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6681 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6682 memcmp for PPC32.
6683 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6684 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6685 multiarch objects.
6686 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6687 (__libc_ifunc_impl_list): Likewise.
6688
930de6f0
AZ
66892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6690
6691 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6692 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6693 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6694 file.
6695 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6696 file.
6697 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6698 file.
6699 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6700 multiarch memcpy for PPC32.
6701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6702 multiarch objects.
6703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6704 (__libc_ifunc_impl_list): Likewise.
6705
4c628e00
AZ
67062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6707
6708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6709 support multiarch for POWER/PPC32.
6710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6711 Likewise.
6712 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6714 Implies file to make multiarch folder appers before the fpu and
6715 default folder for power4 configuration.
6716
f4479220
SP
67172013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6718
6719 * scripts/bench.pl: Append volatile keyword to type.
6720
8517800f
KK
67212013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6722
6723 * sysdeps/sh/sotruss-lib.c: New file.
6724 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6725
180138f1
AZ
67262013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6727
6728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6729
bbf37bdc
JM
67302013-12-05 Joseph Myers <joseph@codesourcery.com>
6731
e47cc4e0
JM
6732 [BZ #6810]
6733 * math/w_tgamma.c: Include <errno.h>.
6734 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6735 * math/w_tgammaf.c: Include <errno.h>.
6736 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6737 * math/w_tgammal.c: Include <errno.h>.
6738 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6739 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6740 underflow. Add more tgamma tests.
6741 * math/auto-libm-test-out: Regenerated.
6742 * sysdeps/i386/fpu/libm-test-ulps: Update.
6743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6744
bbf37bdc
JM
6745 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6746 sin, sinh, tan, tanh, tgamma, y0 and y1.
6747 * math/auto-libm-test-out: Regenerated.
6748 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6749 (TEST_COND_x86): Likewise.
6750 (M_E2l): Remove macro.
6751 (M_E3l): Likewise.
6752 (M_2_SQRT_PIl): Likewise.
6753 (M_SQRT_PIl): Likewise.
6754 (M_1_DIV_El): Likewise.
6755 (log_test_data): Use AUTO_TESTS_f_f.
6756 (log10_test_data): Likewise.
6757 (log1p_test_data): Likewise.
6758 (log2_test_data): Likewise.
6759 (sin_test_data): Likewise.
6760 (sin_tonearest_test_data): Likewise.
6761 (sin_towardzero_test_data): Likewise.
6762 (sin_downward_test_data): Likewise.
6763 (sin_upward_test_data): Likewise.
6764 (sinh_test_data): Likewise.
6765 (sinh_tonearest_test_data): Likewise.
6766 (sinh_towardzero_test_data): Likewise.
6767 (sinh_downward_test_data): Likewise.
6768 (sinh_upward_test_data): Likewise.
6769 (tan_test_data): Likewise.
6770 (tan_tonearest_test_data): Likewise.
6771 (tan_towardzero_test_data): Likewise.
6772 (tan_downward_test_data): Likewise.
6773 (tan_upward_test_data): Likewise.
6774 (tanh_test_data): Likewise.
6775 (tgamma_test_data): Likewise.
6776 (y0_test_data): Likewise.
6777 (y1_test_data): Likewise.
6778 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6779 (special_real_inputs): Add pi/4.
6780 * sysdeps/i386/fpu/libm-test-ulps: Update.
6781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6782
eb5ad6b9
AZ
67832013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6784
6785 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6786 "longjmp_target" static probes.
6787 (__longjmp): Rename to __longjmp_symbol.
6788 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6789 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6790 on which longjmp to generate.
6791 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6792 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6793 probe.
6794 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6795 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6796 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6797 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6798 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6799 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6801 __longjmp_symbol based on which __longjmp to generate.
6802 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6803 probe.
6804 (setjmp): Rename to setjmp_symbol.
6805 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6806 (_setjmp): Rename to _setjmp_symbol.
6807 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6808 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6809 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6810 which setjmp to generate.
6811 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6812 "longjmp_target" static probes.
6813
d136c6dc
SP
68142013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6815
9298ecba
SP
6816 * benchtests/README: Add note about output arguments.
6817 * benchtests/bench-sincos.c: Remove file.
6818 * benchtests/sincos-inputs: New file.
6819 * scripts/bench.pl: Identify output arguments and define
6820 static variables for them.
6821
232983e9
SP
6822 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6823
d136c6dc
SP
6824 [BZ #15941]
6825 * Makefile (INSTALL): Add install-plain.texi as the primary
6826 dependency.
6827 * manual/install-plain.texi: New file.
6828 * manual/install.texi: Include node directive only for
6829 non-plaintext output.
6830
699ff837
JM
68312013-12-04 Joseph Myers <joseph@codesourcery.com>
6832
ab07cea8
JM
6833 * stdlib/longlong.h: Update from GCC.
6834
699ff837
JM
6835 [BZ #6807]
6836 [BZ #15901]
6837 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6838 * math/w_j0f.c (y0f): Likewise.
6839 * math/w_j0l.c (__y0l): Likewise.
6840 * math/w_j1.c (y1): Likewise.
6841 * math/w_j1f.c (y1f): Likewise.
6842 * math/w_j1l.c (__y1l): Likewise
6843 * math/w_jn.c (yn): Likewise.
6844 * math/w_jnf.c (ynf): Likewise.
6845 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6846 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6847 value for Bessel function domain errors outside _SVID_ mode.
6848 Adjust sign of return value for yn (negative integer, 0).
6849 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6850 by zero in return for negative x and set sign appropriately for
6851 negative n.
6852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6853 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6854 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6855 expectations in error cases.
6856 (y1_test_data): Likewise.
6857 (yn_test_data): Likewise.
6858 * sysdeps/i386/fpu/libm-test-ulps: Update.
6859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6860
5b118558
UW
68612013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6862
6863 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6864 "64" to "64-v1". Add "64-v2".
6865 (abi-64-options): Rename to ...
6866 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6867 (abi-64-condition): Rename to ...
6868 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6869 (abi-64-ld-soname): Rename to ...
6870 (abi-64-v1-ld-soname): ... this.
6871 (abi-64-v2-options): Define.
6872 (abi-64-v2-condition): Likewise.
6873 (abi-64-v2-ld-soname): Likewise.
6874 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6875 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6879
61cd8fe4
UW
68802013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6881 Alan Modra <amodra@gmail.com>
6882
6883 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6884 New versions for use with the ELFv2 ABI.
6885 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6886 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6887 declaration.
6888 (struct La_ppc64v2_retval): Likewise.
6889 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6890 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6891 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6892 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6893 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6894 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6895 Do not save or restore CR.
6896 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6897 (_dl_profile_resolve): Do no save or restore CR. Support extended
6898 return values for ELFv2 ABI. Fix location of FPR return registers.
6899 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6900 updated values for _CALL_ELF == 2.
6901 (La_regs, La_retval, int_retval): Likewise.
6902
8b8a692c
UW
69032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6904
6905 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6906 (FRAME_MIN_SIZE_PARM): Likewise.
6907 (FRAME_BACKCHAIN): Likewise.
6908 (FRAME_CR_SAVE): Likewise.
6909 (FRAME_LR_SAVE): Likewise.
6910 (FRAME_TOC_SAVE): Likewise.
6911 (FRAME_PARM_SAVE): Likewise.
6912 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6913 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6914 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6915 (call_mcount_parm_offset): New macro.
6916 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6917 (PROF): Use symbolic stack frame offsets.
6918 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6919 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6920 Redefine in terms of FRAME_MIN_SIZE.
6921 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6922 (_dl_profile_resolve): Likewise. Update comment.
6923 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6924 symbols stack frame offsets.
6925 (__sigsetjmp): Likewise.
6926 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6927 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6928 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6929 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6930
6931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6932 (FRAME_BACKCHAIN): Remove.
6933 (FRAME_CR_SAVE): Likewise.
6934 (FRAME_LR_SAVE): Likewise.
6935 (FRAME_COMPILER_DW): Likewise.
6936 (FRAME_LINKER_DW): Likewise.
6937 (FRAME_TOC_SAVE): Likewise.
6938 (FRAME_PARM_SAVE): Likewise.
6939 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6940 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6941 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6943 (CHECK_SP): Use symbolic stack frame offsets.
6944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6945 zone" instead of caller's parameter save area for temp storage.
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6947 Likewise. Also, use symbolic stack frame offsets.
6948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6949 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6950 our own stack frame instead of the caller's.
6951 (__socket): Use symbolic stack frame offsets.
6952
122b66de
UW
69532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6954 Alan Modra <amodra@gmail.com>
6955
6956 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6957 Define.
6958 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6959 PPC64_LOCAL_ENTRY_OFFSET): Define.
6960 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6961 New function.
6962 (elf_machine_fixup_plt): Call it.
6963 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6964 reloc arguments.
6965 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6966 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6967 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6968 r2 before calling target.
6969
696caf1d
UW
69702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6971 Alan Modra <amodra@gmail.com>
6972
6973 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6974 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6975 versions of macros to support ELFv2 ABI.
6976 (LOCALENTRY): New macro.
6977 (ENTRY, EALIGN): Use it.
6978 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6979 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6980 fall through into ENTRY entry point.
6981 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6982 Only define if _CALL_ELF != 2.
6983
6984 (elf_machine_matches_host): Verify ABI version matches.
6985 (RTLD_START): Use LOCALENTRY.
6986 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6987 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6988 (PLT_ENTRY_WORDS): New macro.
6989 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6990 (elf_machine_runtime_setup): Support ELFv2 ABI.
6991 (elf_machine_fixup_plt): Likewise.
6992 (elf_machine_plt_conflict): Likewise.
6993 (resolve_ifunc): Likewise.
6994 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6995 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6996 Likewise.
6997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6998 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7000 (makecontext): Support ELFv2 ABI.
7001 * elf/elf.h (EF_PPC64_ABI): Define.
7002
d31beafa
UW
70032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7004
7005 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7006 New assembler macro.
7007 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7008 [ASSEMBLER] (ENTRY): ... but instead here ...
7009 [ASSEMBLER] (EALIGN): ... and here.
7010 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7011 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7012 [!ASSEMBLER] (ENTRY_2): Use it.
7013 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7014 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7015 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7016 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7017 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7019 Use PPC64_LOAD_FUNCPTR.
7020
b525166b
UW
70212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7022
7023 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7024
7ec07d9a
AM
70252013-12-04 Alan Modra <amodra@gmail.com>
7026
7027 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7028 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7029 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7030 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7031
7032 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7033 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7034 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7035 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7036 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7037 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7038
5162e7dd
UW
70392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7040
7041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7042 (__makecontext): Fix incorrect CFI when backtracing out of
7043 context created via makecontext.
7044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7045 (__setcontext): Fix incorrect CFI during switch to new context.
7046 (__novec_setcontext): Likewise.
7047
19e3372b
OB
70482013-12-04 Ondřej Bílka <neleai@seznam.cz>
7049
7050 [BZ #4772]
7051 * time/strptime_l.c (__strptime_internal): Allow modifiers
7052 in strptime.
7053 * time/tst-strptime.c (day_tests): Add testcase.
7054
7055
ecaf142d
SP
70562013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7057
7058 * scripts/bench.pl: Skip over blank lines.
7059
fbf964ae
PE
70602013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7061
7062 [BZ #926]
7063 * manual/time.texi (Calendar Time): Clarify what timezone functions
7064 use.
7065
fa60a674
AZ
70662013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7067
7068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7069
d674f0ef
OB
70702013-12-04 Ondřej Bílka <neleai@seznam.cz>
7071
7072 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7073 implementation.
7074 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7075 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7076 * debug/memset_chk.c (__memset_chk): Likewise.
7077 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7078 * debug/strncpy_chk.c: Likewise.
7079
17dea188
JM
70802013-12-03 Joseph Myers <joseph@codesourcery.com>
7081
749008ff
JM
7082 [BZ #15268]
7083 [BZ #15425]
7084 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7085 (__ieee754_exp): For possibly underflowing results, check size of
7086 result and force underflow exception if required.
7087 * math/auto-libm-test-in: Add more tests of exp.
7088 * math/auto-libm-test-out: Regenerated.
7089 * sysdeps/i386/fpu/libm-test-ulps: Update.
7090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7091
17dea188
JM
7092 [BZ #16283]
7093 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7094 * math/w_exp2f.c (__exp2f): Likewise.
7095 * math/w_exp2l.c (__exp2l): Likewise.
7096 * math/auto-libm-test-in: Do not allow missing errno on exp2
7097 underflow.
7098 * math/auto-libm-test-out: Regenerated.
7099
b20de2c3
OB
71002013-12-03 Ondřej Bílka <neleai@seznam.cz>
7101
7102 [BZ #16274]
7103 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7104 handle filename validation.
7105 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7106 (do_open): Delete.
7107
d8e2dbe3
JM
71082013-12-03 Joseph Myers <joseph@codesourcery.com>
7109
34e16df5
JM
7110 [BZ #6786]
7111 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7112 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7113 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7114 <float.h>.
7115 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7116 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7117 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7118 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7119 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7120 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7121 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7122 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7123 Add more erfc tests.
7124 * math/auto-libm-test-out: Regenerated.
7125 * sysdeps/i386/fpu/libm-test-ulps: Update.
7126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7127
d8e2dbe3
JM
7128 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7129 exp2, expm1, j0 and j1.
7130 * math/auto-libm-test-out: Regenerated.
7131 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7132 (erfc_test_data): Likewise.
7133 (exp_test_data): Likewise.
7134 (exp_tonearest_test_data): Likewise.
7135 (exp_towardzero_test_data): Likewise.
7136 (exp_downward_test_data): Likewise.
7137 (exp_upward_test_data): Likewise.
7138 (exp10_test_data): Likewise.
7139 (exp2_test_data): Likewise.
7140 (expm1_test_data): Likewise.
7141 (j0_test_data): Likewise.
7142 (j1_test_data): Likewise.
7143 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7144 (input_flag_type): Add flag_xfail_rounding.
7145 (input_flags): Add xfail-rounding.
7146 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7147 (output_for_one_input_case): Handle flag_xfail_rounding.
7148 * sysdeps/i386/fpu/libm-test-ulps: Update.
7149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7150
18d14251
AJ
71512013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7152
3d2e6075 7153 [BZ #16289]
18d14251
AJ
7154 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7155 division by 0.
7156
520d437b
SP
71572013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7158
7159 [BZ #16195]
7160 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7161 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7162 (STAP_PROBE0): New macro.
7163 (STAP_PROBE1): Likewise.
7164 (STAP_PROBE2): Likewise.
7165 (STAP_PROBE3): Likewise.
7166 (STAP_PROBE4): Likewise.
7167
416e0145
OB
71682013-12-02 Ondřej Bílka <neleai@seznam.cz>
7169
7170 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7171
9d17796a
SE
71722013-12-02 Steve Ellcey <sellcey@mips.com>
7173
7174 * benchtests/Makefile (bench): Add sqrt.
7175 (LDLIBS-bench-sqrt): New.
7176 * benchtests/sqrt-input: New.
7177
f524d6a8
PS
71782013-12-02 Pavel Simerda <psimerda@redhat.com>
7179
639a0ef8
PS
7180 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7181 (GAIH_EAI): Likewise.
7182 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7183 (gaih_inet): Likewise.
7184 (getaddrinfo): Don't use GAIH_EAI.
7185
f524d6a8
PS
7186 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7187 (struct gaih): Remove definition.
7188
df3aedaf
SP
71892013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7190
7191 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7192 Use HERRNOP directly.
7193
1ab19dec
AZ
71942013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7195
b42ad38d 7196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7197
176b0c79
JM
71982013-11-30 Joseph Myers <joseph@codesourcery.com>
7199
7200 * math/gen-auto-libm-tests.c (test_functions): Add more
7201 single-argument functions.
7202 (special_fill_pi_2): New function.
7203 (special_fill_minus_pi_2): Likewise.
7204 (special_fill_pi_6): Likewise.
7205 (special_fill_minus_pi_6): Likewise.
7206 (special_fill_pi_3): Likewise.
7207 (special_fill_2pi_3): Likewise.
7208 (special_fill_e): Likewise.
7209 (special_fill_1_e): Likewise.
7210 (special_fill_e_minus_1): Likewise.
7211 (special_real_inputs): Add more special inputs.
7212 (output_for_one_input_case): Do not require ERANGE on underflow to
7213 zero if round-to-nearest result does not underflow to zero, unless
7214 exact results required.
7215 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7216 atan, atanh, cbrt, cos and cosh.
7217 * math/auto-libm-test-out: Regenerated.
7218 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7219 (acos_tonearest_test_data): Likewise.
7220 (acos_towardzero_test_data): Likewise.
7221 (acos_downward_test_data): Likewise.
7222 (acos_upward_test_data): Likewise.
7223 (acosh_test_data): Likewise.
7224 (asin_test_data): Likewise.
7225 (asin_tonearest_test_data): Likewise.
7226 (asin_towardzero_test_data): Likewise.
7227 (asin_upward_test_data): Likewise.
7228 (asinh_test_data): Likewise.
7229 (atan_test_data): Likewise.
7230 (atanh_test_data): Likewise.
7231 (cbrt_test_data): Likewise.
7232 (cos_test_data): Likewise.
7233 (cos_tonearest_test_data): Likewise.
7234 (cos_towardzero_test_data): Likewise.
7235 (cos_downward_test_data): Likewise.
7236 (cos_upward_test_data): Likewise.
7237 (cosh_test_data): Likewise.
7238 (cosh_tonearest_test_data): Likewise.
7239 (cosh_towardzero_test_data): Likewise.
7240 (cosh_downward_test_data): Likewise.
7241 (cosh_upward_test_data): Likewise.
7242 * sysdeps/i386/fpu/libm-test-ulps: Update.
7243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7244
ffb536d0
JM
72452013-11-29 Joseph Myers <joseph@codesourcery.com>
7246
2a77a467
JM
7247 [BZ #6787]
7248 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7249 * math/w_exp10f.c (__exp10f): Likewise.
7250 * math/w_exp10l.c (__exp10l): Likewise.
7251 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7252 errno settings in existing tests.
7253
ea3bc4e8
JM
7254 [BZ #14032]
7255 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7256 precision control set to double precision.
7257 * sysdeps/i386/fpu/w_sqrt.c: New file.
7258 * math/auto-libm-test-in: Add more tests.
7259 * math/auto-libm-test-out: Update.
7260
0712c9d8
JM
7261 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7262 (sqrt_test_tonearest): New function.
7263 (sqrt_towardzero_test_data): New variable.
7264 (sqrt_test_towardzero): New function.
7265 (sqrt_downward_test_data): New variable.
7266 (sqrt_test_downward): New function.
7267 (sqrt_upward_test_data): New variable.
7268 (sqrt_test_upward): New function.
7269 (main): Call the new functions.
7270
ffb536d0
JM
7271 * math/gen-auto-libm-tests.c: New file.
7272 * math/auto-libm-test-in: Likewise.
7273 * math/auto-libm-test-out: New generated file.
7274 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7275 variables.
7276 (%beautify): Add generated representations of zero.
7277 (top level): Set $auto_input and call parse_auto_input.
7278 (beautify): Remove trailing "f" from hex float constants.
7279 (parse_args): Handle XFAIL_TEST.
7280 (convert_condition): New function.
7281 (or_value): Likewise.
7282 (or_cond_value): Likewise.
7283 (generate_testfile): Handle AUTO_TESTS_* lines.
7284 (parse_auto_input): New function.
7285 * math/libm-test.inc (XFAIL_TEST): New macro.
7286 (ERRNO_UNCHANGED): Update value.
7287 (ERRNO_EDOM): Likewise.
7288 (ERRNO_ERANGE): Likewise.
7289 (IGNORE_RESULT): Likewise.
7290 (TEST_COND_flt_32): New macro.
7291 (TEST_COND_dbl_64): Likewise.
7292 (TEST_COND_ldbl_96_intel): Likewise.
7293 (TEST_COND_ldbl_96_m68k): Likewise.
7294 (TEST_COND_ldbl_128): Likewise.
7295 (TEST_COND_ldbl_128ibm): Likewise.
7296 (TEST_COND_long32): Likewise.
7297 (TEST_COND_long64): Likewise.
7298 (TEST_COND_before_rounding): Likewise.
7299 (TEST_COND_after_rounding): Likewise.
7300 (enable_test): Handle XFAIL_TEST flag.
7301 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7302 with finite results.
7303 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7304 auto-libm-test-out.
7305
acd98a8e
AK
73062013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7307 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7308
7309 [BZ #16214]
7310 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7311 __tls_get_addr_internal instead of __tls_get_offset in order to
7312 avoid GOT pointer dependency. Make rtld export
7313 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7314 __tls_get_addr since we are a __tls_get_offset platform.
7315 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7316 GOT pointer being set up before.
7317 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7318
3c1c46a6
JM
73192013-11-28 Joseph Myers <joseph@codesourcery.com>
7320
7475aef5
JM
7321 * manual/math.texi (Errors in Math Functions): Document accuracy
7322 goals.
7323
8bca7cd8
JM
7324 [BZ #15004]
7325 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7326 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7329 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7330 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7331 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7334 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7335 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7336 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7339 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7341
91a1f3fe
JM
7342 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7343 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7344 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7345 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7346 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7347 Likewise.
7348 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7349 Likewise.
7350 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7351 Likewise.
7352 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7353 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7354 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7355 atomic-feupdateenv and flt-rounds.
7356 * sysdeps/powerpc/nofpu/Versions (libc): Add
7357 __atomic_feholdexcept, __atomic_feclearexcept,
7358 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7359 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7360 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7361 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7362 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7363 here.
7364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7365 Update.
7366
c5df7609
JM
7367 * manual/arith.texi (FP Exceptions): Document that exceptions may
7368 not be raised when matherr is used.
7369 (Math Error Reporting): Document overflow in directed rounding
7370 modes. Document that errno may not be set when finite values are
7371 returned on overflow. Document intent to set errno on underflow
7372 only for underflow to zero.
7373
3c1c46a6
JM
7374 [BZ #16271]
7375 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7376 round-to-nearest then adjust result for other rounding modes.
7377 * include/fenv.h (fegetround): Use libm_hidden_proto.
7378 * math/fegetround.c (fegetround): Use libm_hidden_def.
7379 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7380 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7381 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7382 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7383 Likewise.
7384 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7385 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7386 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7387 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7388
5a4c6d53
SP
73892013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7390
7391 [BZ #16077]
7392 * nss/Versions (libnss_files): Add
7393 _nss_files_gethostbyname3_r.
7394 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7395 New function.
7396 (HOST_DB_LOOKUP): Remove macro.
7397 (_nss_files_gethostbyname_r): Implement function without the
7398 HOST_DB_LOOKUP macro.
7399 (_nss_files_gethostbyname2_r): Likewise.
7400
897b98ba
OB
74012013-11-28 Ondřej Bílka <neleai@seznam.cz>
7402
7403 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7404
6f476861
UB
74052013-11-26 Uros Bizjak <ubizjak@gmail.com>
7406
7407 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7408 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7409 warning.
7410
bd12ab55
AZ
74112013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7412
7413 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7414 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7415 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7416 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7417 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7418 __fe_nomask_env_priv and attribute_hidden.
7419 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7420 (libc_feupdateenv_test_ppc): Likewise.
7421 (libc_feresetround_ppc): Likewise.
7422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7423 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7424 compat_symbol macro.
7425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7426 (__fe_nomask_env): Likewise.
7427 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7428
52bb6543
OB
74292013-11-26 Ondřej Bílka <neleai@seznam.cz>
7430
7431 * string/Makefile: Remove ifunc tests.
7432 * string/test-string.h: Define TEST_IFUNC.
7433 * string/test-bcopy-ifunc.c: Remove.
7434 * string/test-bzero-ifunc.c: Likewise.
7435 * string/test-memccpy-ifunc.c: Likewise.
7436 * string/test-memchr-ifunc.c: Likewise.
7437 * string/test-memcmp-ifunc.c: Likewise.
7438 * string/test-memcpy-ifunc.c: Likewise.
7439 * string/test-memmem-ifunc.c: Likewise.
7440 * string/test-memmove-ifunc.c: Likewise.
7441 * string/test-mempcpy-ifunc.c: Likewise.
7442 * string/test-memrchr-ifunc.c: Likewise.
7443 * string/test-memset-ifunc.c: Likewise.
7444 * string/test-rawmemchr-ifunc.c: Likewise.
7445 * string/test-stpcpy-ifunc.c: Likewise.
7446 * string/test-stpncpy-ifunc.c: Likewise.
7447 * string/test-strcasecmp-ifunc.c: Likewise.
7448 * string/test-strcasestr-ifunc.c: Likewise.
7449 * string/test-strcat-ifunc.c: Likewise.
7450 * string/test-strchr-ifunc.c: Likewise.
7451 * string/test-strchrnul-ifunc.c: Likewise.
7452 * string/test-strcmp-ifunc.c: Likewise.
7453 * string/test-strcpy-ifunc.c: Likewise.
7454 * string/test-strcspn-ifunc.c: Likewise.
7455 * string/test-strlen-ifunc.c: Likewise.
7456 * string/test-strncasecmp-ifunc.c: Likewise.
7457 * string/test-strncat-ifunc.c: Likewise.
7458 * string/test-strncmp-ifunc.c: Likewise.
7459 * string/test-strncpy-ifunc.c: Likewise.
7460 * string/test-strnlen-ifunc.c: Likewise.
7461 * string/test-strpbrk-ifunc.c: Likewise.
7462 * string/test-strrchr-ifunc.c: Likewise.
7463 * string/test-strspn-ifunc.c: Likewise.
7464 * string/test-strstr-ifunc.c: Likewise.
7465
ab260039 74662013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7467
7468 * benchtests/Makefile: Remove ifunc tests.
7469 * benchtests/bench-string.h: Define TEST_IFUNC.
7470 * benchtests/bench-bcopy-ifunc.c: Remove.
7471 * benchtests/bench-bzero-ifunc.c: Likewise.
7472 * benchtests/bench-memccpy-ifunc.c: Likewise.
7473 * benchtests/bench-memchr-ifunc.c: Likewise.
7474 * benchtests/bench-memcmp-ifunc.c: Likewise.
7475 * benchtests/bench-memcpy-ifunc.c: Likewise.
7476 * benchtests/bench-memmem-ifunc.c: Likewise.
7477 * benchtests/bench-memmove-ifunc.c: Likewise.
7478 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7479 * benchtests/bench-memrchr-ifunc.c: Likewise.
7480 * benchtests/bench-memset-ifunc.c: Likewise.
7481 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7482 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7483 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7484 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7485 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7486 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7487 * benchtests/bench-strcat-ifunc.c: Likewise.
7488 * benchtests/bench-strchr-ifunc.c: Likewise.
7489 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7490 * benchtests/bench-strcmp-ifunc.c: Likewise.
7491 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7492 * benchtests/bench-strcpy-ifunc.c: Likewise.
7493 * benchtests/bench-strcspn-ifunc.c: Likewise.
7494 * benchtests/bench-strlen-ifunc.c: Likewise.
7495 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7496 * benchtests/bench-strncat-ifunc.c: Likewise.
7497 * benchtests/bench-strncmp-ifunc.c: Likewise.
7498 * benchtests/bench-strncpy-ifunc.c: Likewise.
7499 * benchtests/bench-strnlen-ifunc.c: Likewise.
7500 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7501 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7502 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7503 * benchtests/bench-strspn-ifunc.c: Likewise.
7504 * benchtests/bench-strstr-ifunc.c: Likewise.
7505
75062013-11-26 Ondřej Bílka <neleai@seznam.cz>
7507
ab260039
OB
7508 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7509
d1d9eaf4 75102013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7511
d1d9eaf4
OB
7512 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7513 * rt/aio.h: Likewise.
7514 * sysdeps/gnu/bits/utmp.h: Likewise.
7515 * sysdeps/gnu/bits/utmpx.h: Likewise.
7516 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7517 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7518 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7519 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7520 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7521 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7522 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7523 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7524 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7525 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7526 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7527 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7528 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7530 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7531 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7532 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7533 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7534 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7535 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7536 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7537 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7538 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7539 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7540 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7541 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7542 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7543 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7544 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7545 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7546 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7547 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7548 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7549 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7550 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7551 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7552 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7553 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7554 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7555 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7556 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7557 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7558
a7624ed9
CD
75592013-11-25 Carlos O'Donell <carlos@redhat.com>
7560
7561 [BZ #16245]
7562 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7563 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7564
63cfe52b
JM
75652013-11-25 Joseph Myers <joseph@codesourcery.com>
7566
7567 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7568 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7569 Likewise.
7570
41e8926a
AZ
75712013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7572
7573 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7574 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7575 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7576 (__fesetround): Remove define.
7577 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7578 rounding and exceptions handling.
7579 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7580 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7581 (__fe_nomask_env): Likewise.
7582 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7583 __fegetround instead of fegetround.
7584 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7585 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7586
6851bd4d
RM
75872013-11-21 Roland McGrath <roland@hack.frob.com>
7588
070906ff
RM
7589 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7590 it's there.
7591
6851bd4d
RM
7592 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7593
84ae135d
MI
75942013-11-21 Meador Inge <meadori@codesourcery.com>
7595
7596 [BZ #11157]
7597 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7598 (encrypt_r): Likewise.
7599 * malloc/obstack.h (obstack_free): Likewise.
7600 * posix/unistd.h (encrypt): Likewise.
7601
daf75146
GM
76022013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7603
7604 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7605 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7606 DL_CALL_DT_FINI() that call the functions directly.
7607 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7608 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7609 * elf/dl-fini.c: Likewise.
7610
10ad46bc
OB
76112013-11-20 Ondřej Bílka <neleai@seznam.cz>
7612
7613 * malloc/hooks.c (memalign_check): Add alignment rounding.
7614 * malloc/malloc.c (_mid_memalign): New function.
7615 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7616 Implement by calling _mid_memalign.
7617 * manual/probes.texi (Memory Allocation Probes): Remove
7618 memory_valloc_retry and memory_pvalloc_retry.
7619
f3fd2628
SP
76202013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7621
4712799f
SP
7622 * locale/programs/locarchive.c (open_archive): Add const
7623 qualifier to ARCHIVEFNAME and copy default fname to
7624 DEFAULT_FNAME.
7625
0417b20f
SP
7626 [BZ #15601]
7627 * libio/tst-widetext.input: Rename Oriya to Odia.
7628 * locale/iso-639.def: Likewise.
7629
f3fd2628
SP
7630 * manual/probes.texi (Mathematical Function Probes): Add
7631 documentation for sin, cos, asin and acos probes.
7632 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7633 (__sin32): Add slowasin probe.
7634 (__cos32): Add slowacos probe.
7635 (__mpsin): Add slowsin probe.
7636 (__mpcos): Add slowcos probe.
7637
73c1ce4f
JM
76382013-11-19 Joseph Myers <joseph@codesourcery.com>
7639
7640 [BZ #15483]
7641 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7642 thread-local __sim_exceptions_thread and global
7643 __sim_exceptions_global.
7644 (__sim_disabled_exceptions): Change to thread-local
7645 __sim_disabled_exceptions_thread and global
7646 __sim_disabled_exceptions_global.
7647 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7648 and global __sim_round_mode_global.
7649 (__simulate_exceptions): Use thread-local floating-point state and
7650 set global state from it as needed.
7651 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7652 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7653 __sim_round_mode_thread.
7654 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7655 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7656 and global __sim_exceptions_global.
7657 (__sim_disabled_exceptions): Change to thread-local
7658 __sim_disabled_exceptions_thread and global
7659 __sim_disabled_exceptions_global.
7660 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7661 and global __sim_round_mode_global.
7662 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7663 (SIM_SET_GLOBAL): Likewise.
7664 * sysdeps/powerpc/soft-fp/sfp-machine.h
7665 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7666 __sim_round_mode_thread.
7667 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7668 __sim_disabled_exceptions_thread.
7669 (__sim_exceptions): Change to __sim_exceptions_thread.
7670 (__sim_disabled_exceptions): Change to
7671 __sim_disabled_exceptions_thread.
7672 (__sim_round_mode): Change to __sim_round_mode_thread.
7673 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7674 thread-local floating-point state and set global state from it as
7675 needed.
7676 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7677 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7678 (__sim_disabled_exceptions): Remove extern declaration.
7679 (feenableexcept): Use thread-local floating-point state and set
7680 global state from it as needed.
7681 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7682 extern declaration.
7683 (__sim_disabled_exceptions): Likewise.
7684 (__sim_round_mode): Likewise.
7685 (__fegetenv): Use thread-local floating-point state.
7686 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7687 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7688 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7689 floating-point state and set global state from it as needed.
7690 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7691 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7692 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7693 Likewise.
7694 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7695 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7696 Likewise.
7697 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7698 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7699 Use __sim_round_mode_thread.
7700 * math/test-fenv-tls.c: New file.
7701 * math/Makefile (tests): Add test-fenv-tls.
7702 ($(objpfx)test-fenv-tls): Depend on
7703 $(common-objpfx)nptl/libpthread.so.
7704
b5449b12
AS
77052013-11-19 Andreas Schwab <schwab@suse.de>
7706
7707 * locale/programs/locale.c (show_info): Decode wordarray elements.
7708 * locale/categories.def (LC_MONETARY): Add element for
7709 _NL_MONETARY_CRNCYSTR.
7710 * locale/C-monetary.c (conversion_rate): New variable.
7711 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7712 element.
7713
e186536b
CM
77142013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7715
7716 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7717 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7718
5c349950
PP
77192013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7720
7721 * elf/Makefile (tst-auxv): New test.
7722 * elf/tst-auxv.c: New
7723 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7724
699df45b
JM
77252013-11-18 Joseph Myers <joseph@codesourcery.com>
7726
7727 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7728 (hidden_proto): Caller changed.
7729 (hidden_tls_proto): New macro.
7730 (libc_hidden_tls_proto): Likewise.
7731 (rtld_hidden_tls_proto): Likewise.
7732 (libm_hidden_tls_proto): Likewise.
7733 (libresolv_hidden_tls_proto): Likewise.
7734 (librt_hidden_tls_proto): Likewise.
7735 (libdl_hidden_tls_proto): Likewise.
7736 (libnss_files_hidden_tls_proto): Likewise.
7737 (libnsl_hidden_tls_proto): Likewise.
7738 (libnss_nisplus_hidden_tls_proto): Likewise.
7739 (libutil_hidden_tls_proto): Likewise.
7740
b7589107
OB
77412013-11-18 Ondřej Bílka <neleai@seznam.cz>
7742
7743 [BZ #10253]
7744 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7745 (decompose_rpath): Defer expansion to fillin_rpath.
7746 (_dl_init_paths): Pass linkmap to fillin_rpath.
7747
250c23bd
RS
77482013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7749
7750 * benchtests/Makefile: Add strsep.
7751 * benchtests/bench-strsep.c: New file: strsep benchtest.
7752 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7753
a7931fcf
AS
77542013-11-18 Andreas Schwab <schwab@suse.de>
7755
7756 * locale/programs/locale.c (show_info) [case byte]: Check for
7757 '\377' instead of '\177'.
7758 * locale/C-monetary.c (not_available): Always use "\377".
7759 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7760 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7761 detect unavailable sign_posn locale elements.
7762 * locale/localeconv.c (__localeconv): For grouping and
7763 mon_grouping handle "\177" and "\377" like no grouping.
7764 (INT_ELEM): New macro. Use it to set all numeric members.
7765 * locale/programs/ld-monetary.c (monetary_read)
7766 <tok_mon_grouping>: Normalize single -1 to the empty string.
7767 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7768 Likewise.
7769
728dab0e
OB
77702013-11-07 Ondřej Bílka <neleai@seznam.cz>
7771
7772 [BZ #16055]
7773 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7774 when we match (nil).
7775 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7776
66294491
JM
77772013-11-16 Joseph Myers <joseph@codesourcery.com>
7778
ce665817
JM
7779 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7780 (NO_TEST_INLINE): Update value.
7781 (ERRNO_UNCHANGED): Likewise.
7782 (ERRNO_EDOM): Likewise.
7783 (ERRNO_ERANGE): Likewise.
7784 (IGNORE_RESULT): Likewise.
7785 (check_float_internal): Check signs of NaN results if
7786 TEST_NAN_SIGN used.
7787 (check_complex): Pass TEST_NAN_SIGN flag through to second
7788 check_float_internal call.
7789 (copysign_test_data): Add tests with quiet NaNs as second
7790 argument. Use TEST_NAN_SIGN.
7791 (fabs_test_data): Add test of negative quiet NaN argument. Use
7792 TEST_NAN_SIGN.
7793 (signbit_test_data): Add tests of quiet NaN argument.
7794 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7795
ee1466a9
JM
7796 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7797 $ignore_result.
7798 (parse_args): Handle function results specified as IGNORE.
7799 * math/libm-test.inc (IGNORE_RESULT): New macro.
7800 (check_float_internal): Do not check numerical result if flag
7801 IGNORE_RESULT set.
7802 (check_complex): Pass through IGNORE_RESULT to second
7803 check_float_internal call.
7804 (check_int): Do not check numerical result if flag IGNORE_RESULT
7805 set.
7806 (check_long): Likewise.
7807 (check_bool): Likewise.
7808 (check_longlong): Likewise.
7809 (lrint_test_data): Add tests of infinite and NaN arguments.
7810 (lrint_tonearest_test_data): Likewise.
7811 (lrint_towardzero_test_data): Likewise.
7812 (lrint_downward_test_data): Likewise.
7813 (lrint_upward_test_data): Likewise.
7814 (llrint_test_data): Likewise.
7815 (llrint_tonearest_test_data): Likewise.
7816 (llrint_towardzero_test_data): Likewise.
7817 (llrint_downward_test_data): Likewise.
7818 (llrint_upward_test_data): Likewise.
7819 (lround_test_data): Likewise.
7820 (llround_test_data): Likewise.
7821
14407b7e
JM
7822 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7823 (ERRNO_UNCHANGED): Update value.
7824 (ERRNO_EDOM): Likewise.
7825 (ERRNO_ERANGE): Likewise.
7826 (NO_TEST_INLINE_FLOAT): New macro.
7827 (NO_TEST_INLINE_DOUBLE): Likewise.
7828 (enable_test): New function.
7829 (RUN_TEST_f_f): Check enable_test before running test.
7830 (RUN_TEST_2_f): Likewise.
7831 (RUN_TEST_fff_f): Likewise.
7832 (RUN_TEST_c_f): Likewise.
7833 (RUN_TEST_f_f1): Likewise.
7834 (RUN_TEST_fF_f1): Likewise.
7835 (RUN_TEST_fI_f1): Likewise.
7836 (RUN_TEST_ffI_f1): Likewise.
7837 (RUN_TEST_c_c): Likewise.
7838 (RUN_TEST_cc_c): Likewise.
7839 (RUN_TEST_f_i): Likewise.
7840 (RUN_TEST_f_i_tg): Likewise.
7841 (RUN_TEST_ff_i_tg): Likewise.
7842 (RUN_TEST_f_b): Likewise.
7843 (RUN_TEST_f_b_tg): Likewise.
7844 (RUN_TEST_f_l): Likewise.
7845 (RUN_TEST_f_L): Likewise.
7846 (RUN_TEST_fFF_11): Likewise.
7847 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7848 conditionals.
7849 (cosh_test_data): Likewise.
7850 (exp_test_data): Likewise.
7851 (expm1_test_data): Likewise.
7852 (hypot_test_data): Likewise.
7853 (pow_test_data): Likewise.
7854 (sinh_test_data): Likewise.
7855 (tanh_test_data): Likewise.
7856 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7857 flags argument.
7858
ca07f197
JM
7859 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7860 tests with quiet NaN input and output.
7861 (acosh_test_data): Likewise.
7862 (asin_test_data): Likewise.
7863 (asinh_test_data): Likewise.
7864 (atan_test_data): Likewise.
7865 (atanh_test_data): Likewise.
7866 (atan2_test_data): Likewise.
7867 (cbrt_test_data): Likewise.
7868 (cos_test_data): Likewise.
7869 (cosh_test_data): Likewise.
7870 (erf_test_data): Likewise.
7871 (erfc_test_data): Likewise.
7872 (exp_test_data): Likewise.
7873 (exp10_test_data): Likewise.
7874 (exp2_test_data): Likewise.
7875 (expm1_test_data): Likewise.
7876 (hypot_test_data): Likewise.
7877 (j0_test_data): Likewise.
7878 (j1_test_data): Likewise.
7879 (jn_test_data): Likewise.
7880 (lgamma_test_data): Likewise.
7881 (log_test_data): Likewise.
7882 (log10_test_data): Likewise.
7883 (log1p_test_data): Likewise.
7884 (log2_test_data): Likewise.
7885 (pow_test_data): Likewise.
7886 (scalb_test_data): Likewise.
7887 (sin_test_data): Likewise.
7888 (sincos_test_data): Likewise.
7889 (sinh_test_data): Likewise.
7890 (tan_test_data): Likewise.
7891 (tanh_test_data): Likewise.
7892 (tgamma_test_data): Likewise.
7893 (y0_test_data): Likewise.
7894 (y1_test_data): Likewise.
7895 (yn_test_data): Likewise.
7896
66294491
JM
7897 [BZ #16167]
7898 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7899 argument being NaN and avoid computations with second argument in
7900 that case.
7901 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7902 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7903 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7904
1820b143
CL
79052013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7906
7907 * locale/iso-639.def: Add Chitwani Tharu (the).
7908
714bd261
AS
79092013-11-14 Andreas Schwab <schwab@suse.de>
7910
7911 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7912 word instead of empty string.
7913
7ab44563
AZ
79142013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7915
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7917 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7919 (__fe_nomask_env): Likewise.
7920
e8470ea2
SE
79212013-11-13 Steve Ellcey <sellcey@mips.com>
7922
7923 * benchtests/bench-timing.h: Include time.h.
7924
17c1d9f0
L
79252013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7926
7927 [BZ #15997]
7928 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7929 to 3.4.0 for x32.
7930 * sysdeps/unix/sysv/linux/configure: Regenerated.
7931
9310c284
JM
79322013-11-13 Joseph Myers <joseph@codesourcery.com>
7933
7934 [BZ #16151]
7935 * stdlib/strtod_l.c (round_and_return): Do not consider
7936 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7937 exponent one less than half the least subnormal exponent.
7938 * stdlib/test-strtod-round-data: Add more tests.
7939 * stdlib/tst-strtod-round.c (tests): Regenerated.
7940
7a2ad8cf
AZ
79412013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7942
7943 [BZ #14143]
7944 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7945 (__fe_mask_env): Likewise.
7946 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7947 libm_hidden_proto and add function prototype.
7948 (__fe_mask_env): Add function prototype.
7949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7950 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7952 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7954 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7955
50727aa7
MS
79562013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7957
b2f386c1 7958 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7959 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7960
a615be46
MS
79612013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7962
7963 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7964 of htab_find_slot().
7965
7ddace62
DM
79662013-11-11 David S. Miller <davem@davemloft.net>
7967
7968 [BZ #16150]
7969 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7970 symbol in the non-vis3 case in static builds.
7971 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7972 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7973 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7974 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7975
9182aa67
JK
79762013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7977
7978 [BZ #387]
7979 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7980 it is empty.
7981
450a2e2d
AZ
79822013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7983
b2f386c1
SP
7984 * benchtests/Makefile: Add bench-strtod.
7985 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7986
8ec3f656
AS
79872013-11-11 Andreas Schwab <schwab@suse.de>
7988
7989 [BZ #16153]
7990 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7991 terminating NUL in key length.
7992
76a9b998
AZ
79932013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7994
7995 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7996 Add artificial ODP entry for vDSO symbol for PPC64.
7997 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7998 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7999
e4368156
OB
80002013-11-07 Ondřej Bílka <neleai@seznam.cz>
8001
8002 [BZ #15374]
8003 * nss/getent.c (services_keys): Recognize services starting with digit.
8004
8d6bb57c
DM
80052013-11-06 David S. Miller <davem@davemloft.net>
8006
8007 [BZ #15985]
8008 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8009 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8010
e256c421
WN
80112013-11-06 Will Newton <will.newton@linaro.org>
8012
8013 * manual/memory.texi (Malloc Examples): Remove register
8014 keyword from examples.
8015
f6e12daa 80162013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8017
f6e12daa 8018 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8019
9d880655
AS
80202013-11-04 Joseph Myers <joseph@codesourcery.com>
8021
fd2f9486 8022 [BZ #6981]
9d880655
AS
8023 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8024 depending on [__GCC_IEC_559 > 0].
8025 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8026 depending on [__GCC_IEC_559_COMPLEX > 0].
8027
ae129d3c
CL
80282013-11-03 Chris Leonard <cjl@sugarlabs.org>
8029
8030 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8031 to iso-639.def.
8032
4a15c2a4 80332013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8034
8035 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8036
8b35e35d
OB
80372013-11-01 Ondřej Bílka <neleai@seznam.cz>
8038
8039 [BZ #16112]
8040 * malloc/malloc (malloc_info): Do not handle first bin as
8041 special case.
8042
1d70fd6c
CL
80432013-11-01 Chris Leonard <cjl@sugarlabs.org>
8044
8045 * locale/iso-639.def: Add Central Nahuatl (nhn).
8046
8c5c2600
BH
80472013-11-01 Bruno Haible <bruno@clisp.org>
8048
8049 [BZ #7003]
8050 * manual/math.texi (BSD Random): Specify range upper bound as
8051 in POSIX.
8052
da5579c2
CL
80532013-10-31 Chris Leonard <cjl@sugarlabs.org>
8054
8055 * locale/iso-639.def: Add Meadow Mari (mhr).
8056
5d30d853
OB
80572013-10-31 Ondřej Bílka <neleai@seznam.cz>
8058
8059 [BZ #14752], [BZ #15763]
8060 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8061 Validate name.
8062 * rt/tst_shm.c: Add test for escaping directory.
8063
a4966c61
AS
80642013-10-31 Andreas Schwab <schwab@suse.de>
8065
8a43e768 8066 [BZ #15917]
a4966c61
AS
8067 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8068 followed by 'x' as part of digit sequence.
8069 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8070
28d708c4
MAP
80712013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8072
8073 [BZ #16037]
8074 * configure.ac: allow GNU Make 4.0 and greater.
8075 * configure: Regenerated.
8076
a56ee40b
WN
80772013-10-30 Will Newton <will.newton@linaro.org>
8078
8079 [BZ #16038]
8080 * malloc/hooks.c (memalign_check): Limit alignment to the
8081 maximum representable power of two.
8082 * malloc/malloc.c (__libc_memalign): Likewise.
8083 * malloc/tst-memalign.c (do_test): Add test for very
8084 large alignment values.
8085 * malloc/tst-posix_memalign.c (do_test): Likewise.
8086
c6e4925d
OB
80872013-10-30 Ondřej Bílka <neleai@seznam.cz>
8088
8089 [BZ #11087]
8090 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8091 (munmap_chunk): Likewise.
8092 (mremap_chunk): Likewise.
8093
80942013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8095
8a43e768 8096 [BZ #15799]
bbea82f7
OB
8097 * stdlib/div.c (div): Remove obsolete code.
8098 * stdlib/ldiv.c (ldiv): Likewise.
8099 * stdlib/lldiv.c (lldiv): Likewise.
8100
977f4b31
SP
81012013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8102
8103 [BZ #16071]
8104 * nss/nss_files/files-XXX.c (get_contents_ret): New
8105 enumerator.
8106 (get_contents): New function.
8107 (internal_getent): Use it. Expand size of LINEBUFLEN.
8108
cb8a6dbd
MF
81092013-10-30 Mike Frysinger <vapier@gentoo.org>
8110
8111 * configure.in: Moved to ...
8112 * configure.ac: ... here. Change reference to configure.in
8113 to configure.ac.
8114 * sysdeps/arm/preconfigure.ac: ... here.
8115 configure.in to configure.ac.
8116 * sysdeps/gnu/configure.in: Moved to ...
8117 * sysdeps/gnu/configure.ac: ... here.
8118 * sysdeps/i386/configure.in: Moved to ...
8119 * sysdeps/i386/configure.ac: ... here.
8120 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8121 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8122 * sysdeps/mach/configure.in: Moved to ...
8123 * sysdeps/mach/configure.ac: ... here.
8124 * sysdeps/mach/hurd/configure.in: Moved to ...
8125 * sysdeps/mach/hurd/configure.ac: ... here.
8126 * sysdeps/powerpc/configure.in: Moved to ...
8127 * sysdeps/powerpc/configure.ac: ... here.
8128 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8129 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8130 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8131 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8132 * sysdeps/s390/s390-32/configure.in: Moved to ...
8133 * sysdeps/s390/s390-32/configure.ac: ... here.
8134 * sysdeps/s390/s390-64/configure.in: Moved to ...
8135 * sysdeps/s390/s390-64/configure.ac: ... here.
8136 * sysdeps/sh/configure.in: Moved to ...
8137 * sysdeps/sh/configure.ac: ... here.
8138 * sysdeps/sparc/configure.in: Moved to ...
8139 * sysdeps/sparc/configure.ac: ... here.
8140 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8141 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8142 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8143 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8144 * sysdeps/x86_64/configure.in: Moved to ...
8145 * sysdeps/x86_64/configure.ac: ... here.
8146 * sysdeps/x86_64/preconfigure.in: Moved to ...
8147 * sysdeps/x86_64/preconfigure.ac: ... here.
8148 * aclocal.m4: Change reference to configure.in to configure.ac.
8149 * config.h.in: Likewise.
8150 * manual/install.texi: Likewise.
8151 * manual/maint.texi: Likewise.
8152 * Makefile: Likewise.
8153 * malloc/Makefile: Likewise.
8154 * nscd/Makefile: Likewise.
8155 * Makeconfig: Change reference to configure.in and
8156 preconfigure.in to configure.ac and preconfigure.ac
8157 respectively.
8158 * INSTALL: Regenerated.
8159 * configure: Likewise.
8160 * sysdeps/gnu/configure: Likewise.
8161 * sysdeps/i386/configure: Likewise.
8162 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8163 * sysdeps/mach/configure: Likewise.
8164 * sysdeps/mach/hurd/configure: Likewise.
8165 * sysdeps/powerpc/configure: Likewise.
8166 * sysdeps/powerpc/powerpc32/configure: Likewise.
8167 * sysdeps/powerpc/powerpc64/configure: Likewise.
8168 * sysdeps/s390/s390-32/configure: Likewise.
8169 * sysdeps/s390/s390-64/configure: Likewise.
8170 * sysdeps/sh/configure: Likewise.
8171 * sysdeps/sparc/configure: Likewise.
8172 * sysdeps/unix/sysv/linux/configure: Likewise.
8173 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8174 * sysdeps/x86_64/configure: Likewise.
8175 * sysdeps/x86_64/preconfigure: Likewise.
8176
36a4953a
AS
81772013-10-29 Andreas Schwab <schwab@suse.de>
8178
8179 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8180
c79a1204
SP
81812013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8182
dfa1b402
SP
8183 * benchtests/pow-inputs: Add new inputs.
8184
54f73d9c
SP
8185 * benchtests/exp-inputs: Add new inputs.
8186
c79a1204
SP
8187 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8188 conditional check for return value.
8189 (__cos32): Likewise.
8190
67beb545 81912013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8192
8193 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8194 to provide a boost for large inputs with word alignment.
8195 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8196 implementation based on optimized PPC64 strcpy.
8197 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8198 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8199 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8200 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8201
151659f6
OB
82022013-10-25 Ondřej Bílka <neleai@seznam.cz>
8203
482a077e 8204 [BZ #2801]
151659f6
OB
8205 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8206
10b0f26b
OB
82072013-10-25 Ondřej Bílka <neleai@seznam.cz>
8208
8209 [BZ #14876]
8210 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8211 * time/tst-strptime.c (day_tests): Add testcase.
8212
ca42d35e
OB
82132013-10-25 Ondřej Bílka <neleai@seznam.cz>
8214
482a077e 8215 [BZ #14029]
ca42d35e
OB
8216 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8217
52e6d801
FB
82182013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8219
8220 [BZ #16074]
8221 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8222 MAP_FAILED on error.
8223
7cbcdb36
SP
82242013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8225
8226 [BZ #16072]
8227 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8228 heap for large requests.
8229
894f3f10
AM
82302013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8231
8232 [BZ #9954]
8233 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8234 result if the result has no associated interface.
8235 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8236 interface for all 127.X.Y.Z addresses.
8237
b85545a6
CL
82382013-10-24 Chris Leonard <cjl@sugarlabs.org>
8239
8240 * locale/iso-639.def: Add Ligurian (lij)
8241
d1f23d46
OB
82422013-10-21 Ondřej Bílka <neleai@seznam.cz>
8243
8244 [BZ #15825]
8245 * sunrpc/rpc_main.c: Document rpcgen -5.
8246
4db5b08f
MS
82472013-10-19 Michael Stahl <mstahl@redhat.com>
8248
8249 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8250
a471e96a
OB
82512013-10-19 Ondřej Bílka <neleai@seznam.cz>
8252
d1f23d46 8253 [BZ #10278]
a471e96a
OB
8254 * posix/glob.c: Match only directories when trailing slash is present.
8255 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8256 (main): Add testcase.
8257
45c30c61
OB
82582013-10-19 Ondřej Bílka <neleai@seznam.cz>
8259
8260 [BZ #15670]
8261 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8262
484c12fb
CD
82632013-10-18 Carlos O'Donell <carlos@redhat.com>
8264
3d7dc513
CD
8265 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8266 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8267 AUTH_DES and cindex for FIPS 140-2.
8268 (DES Encryption): Add cindex FIPS 46-3.
8269
484c12fb
CD
8270 * locale/locarchive.h (struct locarhandle): Add fname.
8271 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8272 if an optional argument was specified to --list-archive,
8273 otherwise NULL.
8274 * locale/programs/locarchive.c (show_archive_content): Take new
8275 argument fname and pass it via ah.fname to open_archive.
8276 * locale/programs/localedef.h: Update decl.
8277 (open_archive): If AH->fname is non-null, open that file
8278 rather than the default file name, and don't ignore ENOENT.
8279 (create_archive): Set AH.fname to NULL.
8280 (delete_locales_from_archive): Likewise.
8281 (add_locales_to_archive): Likewise.
8282 * locale/programs/locfile.c (write_all_categories): Likewise.
8283
3c8325fb
JM
82842013-10-18 Joseph Myers <joseph@codesourcery.com>
8285 Aldy Hernandez <aldyh@redhat.com>
8286
8287 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8288 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8289 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8290 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8291 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8292 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8293 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8294 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8295 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8296 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8297 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8298 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8299 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8300 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8301 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8302 Likewise.
8303 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8304 Likewise.
8305 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8306 Likewise.
8307 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8308 Likewise.
8309 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8310 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8311 Likewise.
8312 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8313 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8314 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8315 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8316 Likewise.
8317 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8318 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8319 * sysdeps/powerpc/preconfigure: Likewise.
8320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8321 Likewise.
8322 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8323 Replace contents of file by #include of <fenv_libc.h>.
8324 * sysdeps/powerpc/soft-fp/sfp-machine.h
8325 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8326 and <sys/prctl.h>.
8327 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8328 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8329 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8330 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8331 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8332 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8334 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8335 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8336 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8337 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8338 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8340 Allow copysignl PLT reference to be missing.
8341
5abe0682
RS
83422013-10-18 Richard Sandiford <richard@codesourcery.com>
8343 Joseph Myers <joseph@codesourcery.com
8344
8345 [BZ #15948]
8346 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8347 single character.
8348 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8349
c7738d08
SP
83502013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8351
8352 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8353 * elf/tst-tls1.c: Likewise.
8354 * elf/tst-tls10.h: Likewise.
8355 * elf/tst-tls14.c: Likewise.
8356 * elf/tst-tls2.c: Likewise.
8357 * elf/tst-tls3.c: Likewise.
8358 * elf/tst-tls4.c: Likewise.
8359 * elf/tst-tls5.c: Likewise.
8360 * elf/tst-tls6.c: Likewise.
8361 * elf/tst-tls7.c: Likewise.
8362 * elf/tst-tls8.c: Likewise.
8363 * elf/tst-tls9.c: Likewise.
8364 * elf/tst-tlsmod1.c: Likewise.
8365 * elf/tst-tlsmod13.c: Likewise.
8366 * elf/tst-tlsmod13a.c: Likewise.
8367 * elf/tst-tlsmod14a.c: Likewise.
8368 * elf/tst-tlsmod16a.c: Likewise.
8369 * elf/tst-tlsmod16b.c: Likewise.
8370 * elf/tst-tlsmod2.c: Likewise.
8371 * elf/tst-tlsmod3.c: Likewise.
8372 * elf/tst-tlsmod4.c: Likewise.
8373 * elf/tst-tlsmod5.c: Likewise.
8374 * elf/tst-tlsmod6.c: Likewise.
8375
0bfcf2c7
OB
83762013-10-18 Ondřej Bílka <neleai@seznam.cz>
8377
8378 [BZ #12486]
8379 * malloc/malloc.c: remove checks for statistics.
8380
264aad1e
OB
83812013-10-17 Ondřej Bílka <neleai@seznam.cz>
8382
8383 [BZ #15277]
8384 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8385 * inet/tst-network.c: Add testcase.
8386
b957ced8
AS
83872013-10-17 Andreas Schwab <schwab@suse.de>
8388
8389 [BZ #15218]
8390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8391 to determine canonical name.
8392
c5d5d574
OB
83932013-10-17 Ondřej Bílka <neleai@seznam.cz>
8394
8395 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8396 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8398 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8400 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8401 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8402 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8403 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8404 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8405 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8406 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8407 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8408 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8409 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8410 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8411 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8412 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8413 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8414 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8415 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8418 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8419 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8420 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8421 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8422 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8423 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8424 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8425 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8426 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8427 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8428 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8429 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8430 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8431 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8432 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8433 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8434 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8435 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8436 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8437 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8438 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8439 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8440 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8441 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8442 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8443 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8444 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8445 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8446 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8447 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8448 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8449 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8450 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8451 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8452 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8453
e5c2c2d0
JM
84542013-10-17 Joseph Myers <joseph@codesourcery.com>
8455
8456 [BZ #16041]
8457 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8458 make result into a quiet NaN.
8459
51ca9e29
JM
84602013-10-16 Joseph Myers <joseph@codesourcery.com>
8461
8462 * soft-fp/adddf3.c: Fix horizontal whitespace.
8463 * soft-fp/addsf3.c: Likewise.
8464 * soft-fp/addtf3.c: Likewise.
8465 * soft-fp/divdf3.c: Likewise.
8466 * soft-fp/divsf3.c: Likewise.
8467 * soft-fp/divtf3.c: Likewise.
8468 * soft-fp/double.h: Likewise.
8469 * soft-fp/eqdf2.c: Likewise.
8470 * soft-fp/eqsf2.c: Likewise.
8471 * soft-fp/eqtf2.c: Likewise.
8472 * soft-fp/extenddftf2.c: Likewise.
8473 * soft-fp/extended.h: Likewise.
8474 * soft-fp/extendsfdf2.c: Likewise.
8475 * soft-fp/extendsftf2.c: Likewise.
8476 * soft-fp/extendxftf2.c: Likewise.
8477 * soft-fp/fixdfdi.c: Likewise.
8478 * soft-fp/fixdfsi.c: Likewise.
8479 * soft-fp/fixdfti.c: Likewise.
8480 * soft-fp/fixsfdi.c: Likewise.
8481 * soft-fp/fixsfsi.c: Likewise.
8482 * soft-fp/fixsfti.c: Likewise.
8483 * soft-fp/fixtfdi.c: Likewise.
8484 * soft-fp/fixtfsi.c: Likewise.
8485 * soft-fp/fixtfti.c: Likewise.
8486 * soft-fp/fixunsdfdi.c: Likewise.
8487 * soft-fp/fixunsdfsi.c: Likewise.
8488 * soft-fp/fixunsdfti.c: Likewise.
8489 * soft-fp/fixunssfdi.c: Likewise.
8490 * soft-fp/fixunssfsi.c: Likewise.
8491 * soft-fp/fixunssfti.c: Likewise.
8492 * soft-fp/fixunstfdi.c: Likewise.
8493 * soft-fp/fixunstfsi.c: Likewise.
8494 * soft-fp/fixunstfti.c: Likewise.
8495 * soft-fp/floatdidf.c: Likewise.
8496 * soft-fp/floatdisf.c: Likewise.
8497 * soft-fp/floatditf.c: Likewise.
8498 * soft-fp/floatsidf.c: Likewise.
8499 * soft-fp/floatsisf.c: Likewise.
8500 * soft-fp/floatsitf.c: Likewise.
8501 * soft-fp/floattidf.c: Likewise.
8502 * soft-fp/floattisf.c: Likewise.
8503 * soft-fp/floattitf.c: Likewise.
8504 * soft-fp/floatundidf.c: Likewise.
8505 * soft-fp/floatundisf.c: Likewise.
8506 * soft-fp/floatunditf.c: Likewise.
8507 * soft-fp/floatunsidf.c: Likewise.
8508 * soft-fp/floatunsisf.c: Likewise.
8509 * soft-fp/floatunsitf.c: Likewise.
8510 * soft-fp/floatuntidf.c: Likewise.
8511 * soft-fp/floatuntisf.c: Likewise.
8512 * soft-fp/floatuntitf.c: Likewise.
8513 * soft-fp/fmadf4.c: Likewise.
8514 * soft-fp/fmasf4.c: Likewise.
8515 * soft-fp/fmatf4.c: Likewise.
8516 * soft-fp/gedf2.c: Likewise.
8517 * soft-fp/gesf2.c: Likewise.
8518 * soft-fp/getf2.c: Likewise.
8519 * soft-fp/ledf2.c: Likewise.
8520 * soft-fp/lesf2.c: Likewise.
8521 * soft-fp/letf2.c: Likewise.
8522 * soft-fp/muldf3.c: Likewise.
8523 * soft-fp/mulsf3.c: Likewise.
8524 * soft-fp/multf3.c: Likewise.
8525 * soft-fp/negdf2.c: Likewise.
8526 * soft-fp/negsf2.c: Likewise.
8527 * soft-fp/negtf2.c: Likewise.
8528 * soft-fp/op-1.h: Likewise.
8529 * soft-fp/op-2.h: Likewise.
8530 * soft-fp/op-4.h: Likewise.
8531 * soft-fp/op-8.h: Likewise.
8532 * soft-fp/op-common.h: Likewise.
8533 * soft-fp/quad.h: Likewise.
8534 * soft-fp/single.h: Likewise.
8535 * soft-fp/soft-fp.h: Likewise.
8536 * soft-fp/sqrtdf2.c: Likewise.
8537 * soft-fp/sqrtsf2.c: Likewise.
8538 * soft-fp/sqrttf2.c: Likewise.
8539 * soft-fp/subdf3.c: Likewise.
8540 * soft-fp/subsf3.c: Likewise.
8541 * soft-fp/subtf3.c: Likewise.
8542 * soft-fp/truncdfsf2.c: Likewise.
8543 * soft-fp/trunctfdf2.c: Likewise.
8544 * soft-fp/trunctfsf2.c: Likewise.
8545 * soft-fp/trunctfxf2.c: Likewise.
8546 * soft-fp/unorddf2.c: Likewise.
8547 * soft-fp/unordsf2.c: Likewise.
8548 * soft-fp/unordtf2.c: Likewise.
8549
9ebb0332
JM
85502013-10-15 Joseph Myers <joseph@codesourcery.com>
8551
8552 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8553 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8554
4b1a6d8b
OB
85552013-10-15 Ondřej Bílka <neleai@seznam.cz>
8556
8557 * elf/dl-libc.c: Clear initfini list after freeing.
8558
1e145589
JM
85592013-10-14 Joseph Myers <joseph@codesourcery.com>
8560
8561 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8562 * soft-fp/addsf3.c: Likewise.
8563 * soft-fp/addtf3.c: Likewise.
8564 * soft-fp/divdf3.c: Likewise.
8565 * soft-fp/divsf3.c: Likewise.
8566 * soft-fp/divtf3.c: Likewise.
8567 * soft-fp/double.h: Likewise.
8568 * soft-fp/eqdf2.c: Likewise.
8569 * soft-fp/eqsf2.c: Likewise.
8570 * soft-fp/eqtf2.c: Likewise.
8571 * soft-fp/extenddftf2.c: Likewise.
8572 * soft-fp/extended.h: Likewise.
8573 * soft-fp/extendsfdf2.c: Likewise.
8574 * soft-fp/extendsftf2.c: Likewise.
8575 * soft-fp/extendxftf2.c: Likewise.
8576 * soft-fp/fixdfdi.c: Likewise.
8577 * soft-fp/fixdfsi.c: Likewise.
8578 * soft-fp/fixdfti.c: Likewise.
8579 * soft-fp/fixsfdi.c: Likewise.
8580 * soft-fp/fixsfsi.c: Likewise.
8581 * soft-fp/fixsfti.c: Likewise.
8582 * soft-fp/fixtfdi.c: Likewise.
8583 * soft-fp/fixtfsi.c: Likewise.
8584 * soft-fp/fixtfti.c: Likewise.
8585 * soft-fp/fixunsdfdi.c: Likewise.
8586 * soft-fp/fixunsdfsi.c: Likewise.
8587 * soft-fp/fixunsdfti.c: Likewise.
8588 * soft-fp/fixunssfdi.c: Likewise.
8589 * soft-fp/fixunssfsi.c: Likewise.
8590 * soft-fp/fixunssfti.c: Likewise.
8591 * soft-fp/fixunstfdi.c: Likewise.
8592 * soft-fp/fixunstfsi.c: Likewise.
8593 * soft-fp/fixunstfti.c: Likewise.
8594 * soft-fp/floatdidf.c: Likewise.
8595 * soft-fp/floatdisf.c: Likewise.
8596 * soft-fp/floatditf.c: Likewise.
8597 * soft-fp/floatsidf.c: Likewise.
8598 * soft-fp/floatsisf.c: Likewise.
8599 * soft-fp/floatsitf.c: Likewise.
8600 * soft-fp/floattidf.c: Likewise.
8601 * soft-fp/floattisf.c: Likewise.
8602 * soft-fp/floattitf.c: Likewise.
8603 * soft-fp/floatundidf.c: Likewise.
8604 * soft-fp/floatundisf.c: Likewise.
8605 * soft-fp/floatunsidf.c: Likewise.
8606 * soft-fp/floatunsisf.c: Likewise.
8607 * soft-fp/floatuntidf.c: Likewise.
8608 * soft-fp/floatuntisf.c: Likewise.
8609 * soft-fp/floatuntitf.c: Likewise.
8610 * soft-fp/fmadf4.c: Likewise.
8611 * soft-fp/fmasf4.c: Likewise.
8612 * soft-fp/fmatf4.c: Likewise.
8613 * soft-fp/gedf2.c: Likewise.
8614 * soft-fp/gesf2.c: Likewise.
8615 * soft-fp/getf2.c: Likewise.
8616 * soft-fp/ledf2.c: Likewise.
8617 * soft-fp/lesf2.c: Likewise.
8618 * soft-fp/letf2.c: Likewise.
8619 * soft-fp/muldf3.c: Likewise.
8620 * soft-fp/mulsf3.c: Likewise.
8621 * soft-fp/multf3.c: Likewise.
8622 * soft-fp/negdf2.c: Likewise.
8623 * soft-fp/negsf2.c: Likewise.
8624 * soft-fp/negtf2.c: Likewise.
8625 * soft-fp/op-1.h: Likewise.
8626 * soft-fp/op-2.h: Likewise.
8627 * soft-fp/op-4.h: Likewise.
8628 * soft-fp/op-8.h: Likewise.
8629 * soft-fp/op-common.h: Likewise.
8630 * soft-fp/quad.h: Likewise.
8631 * soft-fp/single.h: Likewise.
8632 * soft-fp/soft-fp.h: Likewise.
8633 * soft-fp/sqrtdf2.c: Likewise.
8634 * soft-fp/sqrtsf2.c: Likewise.
8635 * soft-fp/sqrttf2.c: Likewise.
8636 * soft-fp/subdf3.c: Likewise.
8637 * soft-fp/subsf3.c: Likewise.
8638 * soft-fp/subtf3.c: Likewise.
8639 * soft-fp/truncdfsf2.c: Likewise.
8640 * soft-fp/trunctfdf2.c: Likewise.
8641 * soft-fp/trunctfsf2.c: Likewise.
8642 * soft-fp/trunctfxf2.c: Likewise.
8643 * soft-fp/unorddf2.c: Likewise.
8644 * soft-fp/unordsf2.c: Likewise.
8645 * soft-fp/unordtf2.c: Likewise.
8646
17c48a60
OB
86472013-10-14 Ondřej Bílka <neleai@seznam.cz>
8648
8649 [BZ #15672]
8650 * misc/error.c (error_tail): Fix possible buffer overflow.
8651
cabba934
OB
86522013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8653
8654 [BZ #13028]
8655 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8656 address.
8657
94bf958a
PM
86582013-10-14 P. J. McDermott <pj@pehjota.net>
8659
8660 [BZ #832]
8661 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8662 testing pipefail option.
8663
71b4dea7
JM
86642013-10-12 Joseph Myers <joseph@codesourcery.com>
8665
8666 * soft-fp/double.h: Indent preprocessor directives inside #if.
8667 * soft-fp/extended.h: Likewise.
8668 * soft-fp/op-2.h: Likewise.
8669 * soft-fp/op-4.h: Likewise.
8670 * soft-fp/op-common.h: Likewise.
8671 * soft-fp/quad.h: Likewise.
8672 * soft-fp/single.h: Likewise.
8673 * soft-fp/soft-fp.h: Likewise.
8674
55602758
YC
86752013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8676
8677 * iconv/iconv_prog.c: Fix typos.
8678 * stdio-common/psiginfo-data.h: Likewise.
8679
9cd83302
RT
86802013-10-12 Reuben Thomas <rrt@sc3d.org>
8681
8682 [BZ #15764]
8683 * locale/setlocale.c: Fix typo.
8684
99fd9f47
JM
86852013-10-12 Joseph Myers <joseph@codesourcery.com>
8686
b7ea74f0
JM
8687 [BZ #16036]
8688 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8689 signaling NaN arguments.
8690 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8691 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8692
8a509447
JM
8693 [BZ #14910]
8694 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8695 unordered operands.
8696 * soft-fp/gesf2.c (__gesf2): Likewise.
8697 * soft-fp/getf2.c (__getf2): Likewise.
8698 * soft-fp/ledf2.c (__ledf2): Likewise.
8699 * soft-fp/lesf2.c (__lesf2): Likewise.
8700 * soft-fp/letf2.c (__letf2): Likewise.
8701
98998e9f
JM
8702 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8703 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8704 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8705 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8706 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8707 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8708 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8709 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8710 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8711 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8712 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8713 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8714 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8715 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8716 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8717 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8718 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8719 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8720 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8721 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8722 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8723 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8724 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8725 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8726 * soft-fp/floattidf.c (__floattidf): Likewise.
8727 * soft-fp/floattisf.c (__floattisf): Likewise.
8728 * soft-fp/floattitf.c (__floattitf): Likewise.
8729 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8730 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8731 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8732 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8733 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8734 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8735 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8736 * soft-fp/gesf2.c (__gesf2): Likewise.
8737 * soft-fp/getf2.c (__getf2): Likewise.
8738 * soft-fp/ledf2.c (__ledf2): Likewise.
8739 * soft-fp/lesf2.c (__lesf2): Likewise.
8740 * soft-fp/letf2.c (__letf2): Likewise.
8741
8edc4a11
JM
8742 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8743 Undefine and redefine.
8744 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8745 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8746 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8747 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8748 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8749 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8750 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8751 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8752 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8753 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8754 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8755 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8756 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8757 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8758 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8759
8399acaf
JM
8760 [BZ #16032]
8761 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8762 without decrementing exponent if mantissa >= that for the
8763 denominator, not >.
8764 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8765 denominator, not >. Decrement exponent in < case instead of
8766 incrementing in >= case.
8767 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8768 without decrementing exponent if mantissa >= that for the
8769 denominator, not >.
8770
99fd9f47
JM
8771 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8772 computing saturated result for unsigned overflow.
8773
10e1cf6b
SP
87742013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8775 Jeff Law <law@redhat.com>
8776
8777 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8778 (atan2Mp): Add systemtap probe marker.
8779 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8780 (__ieee754_log): Add systemtap probe marker.
8781 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8782 (atanMp): Add systemtap probe marker.
8783 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8784 (tanMp): Add systemtap probe marker.
8785 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8786 (__slowexp): Add systemtap probe marker.
8787 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8788 (__slowpow): Add systemtap probe marker.
8789 * manual/probes.texi: Document probes.
8790
3d110c7c
EB
87912013-10-11 Eric Biggers <ebiggers3@gmail.com>
8792
8793 [BZ #15362]
8794 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8795 written.
8796 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8797 written.
8798 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8799 written to buffer but not flushed.
8800 * libio/iofwrite_u.c: Likewise.
8801 * libio/iopadn.c: Return bytes returned even if EOF was
8802 encountered.
8803 * libio/iowpadn.c: Likewise.
8804 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8805 if _IO_padn does not write the whole buffer.
8806 [!COMPILE_WPRINTF] (PAD): Likewise.
8807
75b4202a
DM
88082013-10-10 David S. Miller <davem@davemloft.net>
8809
8810 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8811 directory block.
8812
6c6352e6
JM
88132013-10-10 Joseph Myers <joseph@codesourcery.com>
8814
33b853c3
JM
8815 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8816 instead of FSF address.
8817 * soft-fp/fixdfti.c: Likewise.
8818 * soft-fp/fixsfti.c: Likewise.
8819 * soft-fp/fixtfti.c: Likewise.
8820 * soft-fp/fixunsdfti.c: Likewise.
8821 * soft-fp/fixunssfti.c: Likewise.
8822 * soft-fp/fixunstfti.c: Likewise.
8823 * soft-fp/floattidf.c: Likewise.
8824 * soft-fp/floattisf.c: Likewise.
8825 * soft-fp/floattitf.c: Likewise.
8826 * soft-fp/floatuntidf.c: Likewise.
8827 * soft-fp/floatuntisf.c: Likewise.
8828 * soft-fp/floatuntitf.c: Likewise.
8829 * soft-fp/trunctfxf2.c: Likewise.
8830
6c6352e6
JM
8831 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8832 * soft-fp/fixdfti.c: Likewise.
8833 * soft-fp/fixsfti.c: Likewise.
8834 * soft-fp/fixtfti.c: Likewise.
8835 * soft-fp/fixunsdfti.c: Likewise.
8836 * soft-fp/fixunssfti.c: Likewise.
8837 * soft-fp/fixunstfti.c: Likewise.
8838 * soft-fp/floattidf.c: Likewise.
8839 * soft-fp/floattisf.c: Likewise.
8840 * soft-fp/floattitf.c: Likewise.
8841 * soft-fp/floatuntidf.c: Likewise.
8842 * soft-fp/floatuntisf.c: Likewise.
8843 * soft-fp/floatuntitf.c: Likewise.
8844 * soft-fp/trunctfxf2.c: Likewise.
8845
3bf78b71
DM
88462013-10-10 David S. Miller <davem@davemloft.net>
8847
8848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8849
6f10289e
JM
88502013-10-10 Joseph Myers <joseph@codsourcery.com>
8851
bd878fc0
JM
8852 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8853 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8854 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8855 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8856 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8857 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8858 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8859
6f10289e
JM
8860 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8861 for NaNs before doing comparisons on argument.
8862 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8863 Likewise.
8864
321e2684
WN
88652013-10-10 Will Newton <will.newton@linaro.org>
8866
8867 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8868 passed to _int_memalign does not overflow.
8869
40fefba1
TR
88702013-10-10 Torvald Riegel <triegel@redhat.com>
8871
8872 * scripts/bench.pl: Add include-sources directive.
8873 * benchtests/README: Update documentation.
8874
2ae21ed2
JM
88752013-10-10 Joseph Myers <joseph@codesourcery.com>
8876
dcc2dd3f
JM
8877 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8878 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8879 instead of FP_INIT_ROUNDMODE.
8880 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8881 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8882
2ae21ed2
JM
8883 [BZ #16034]
8884 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8885 copy class of input value.
8886 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8887 not handle exceptions.
8888 * soft-fp/negsf2.c (__negsf2): Likewise.
8889 * soft-fp/negtf2.c (__negtf2): Likewise.
8890 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8891
cb8f9562
JM
88922013-10-09 Joseph Myers <joseph@codesourcery.com>
8893
8894 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8895 semicolon. From Linux kernel.
8896
5b60c59d
AB
88972013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8898
8899 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8900
b86835ca
YC
89012013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8902
8903 [BZ #156]
8904 * manual/socket.texi: Added statement about buffer
8905 for gethostbyname2_r.
8906
e7044ea7
OB
89072013-10-08 Ondřej Bílka <neleai@seznam.cz>
8908
8909 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8910 Use .p2align directive instead, throughout.
8911 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8912 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8913 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8914 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8915 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8916 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8917 * sysdeps/x86_64/strchr.S: Likewise.
8918 * sysdeps/x86_64/strrchr.S: Likewise.
8919
09544cbc
SP
89202013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8921
88576635
SP
8922 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8923
e7b2d1dd
SP
8924 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8925
09544cbc
SP
8926 * sysdeps/generic/math_private.h (__mpsin1): Remove
8927 declaration.
8928 (__mpcos1): Likewise.
8929 (__mpsin): New argument __range_reduce.
8930 (__mpcos): Likewise.
8931 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8932 (slow): Use __mpsin and __mpcos.
8933 (slow1): Likewise.
8934 (slow2): Likewise.
8935 (sloww): Likewise.
8936 (sloww1): Likewise.
8937 (sloww2): Likewise.
8938 (bsloww): Likewise.
8939 (bsloww1): Likewise.
8940 (bsloww2): Likewise.
8941 (cslow2): Likewise.
8942 (csloww): Likewise.
8943 (csloww1): Likewise.
8944 (csloww2): Likewise.
8945 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8946 range_reduce. Merge in __mpsin1.
8947 (__mpcos): Likewise.
8948 (__mpsin1): Remove.
8949 (__mpcos1): Likewise.
8950
7602d070
JM
89512013-10-07 Joseph Myers <joseph@codesourcery.com>
8952
8953 * locale/loadlocale.c (_nl_intern_locale_data): Use
8954 LOCFILE_ALIGNED_P.
8955 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8956 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8957 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8958 obstack data is appropriately aligned.
8959 (obstack_int32_grow_fast): Likewise.
8960 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8961 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8962 (add_locale_uint32_array): Likewise.
8963
a357259b
SP
89642013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8965
8966 * benchtests/Makefile: Remove ARGLIST and RET variables.
8967 ($(objpfx)bench-%.c): Pass only function name to the script.
8968 * benchtests/README: Update documentation.
8969 * benchtests/acos-inputs: Add new directives.
8970 * benchtests/acosh-inputs: Likewise.
8971 * benchtests/asin-inputs: Likewise.
8972 * benchtests/asinh-inputs: Likewise.
8973 * benchtests/atan-inputs: Likewise.
8974 * benchtests/atanh-inputs: Likewise.
8975 * benchtests/cos-inputs: Likewise.
8976 * benchtests/cosh-inputs: Likewise.
8977 * benchtests/exp-inputs: Likewise.
8978 * benchtests/log-inputs: Likewise.
8979 * benchtests/pow-inputs: Likewise.
8980 * benchtests/rint-inputs: Likewise.
8981 * benchtests/sin-inputs: Likewise.
8982 * benchtests/sinh-inputs: Likewise.
8983 * benchtests/tan-inputs: Likewise.
8984 * benchtests/tanh-inputs: Likewise.
8985 * scripts/bench.pl: Add support for new directives.
8986
9ec1b13d
AM
89872013-10-07 Alan Modra <amodra@gmail.com>
8988
8989 * README: Fix careless merge.
8990
8b7d57cd
AM
89912013-10-05 Alan Modra <amodra@gmail.com>
8992
8993 * NEWS: Mention powerpc64le support and bugs fixed.
8994 * README: Both big-endian and little-endian powerpc64 supported.
8995
7b7bab13
ST
89962013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8997
8998 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8999 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9000 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9001 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9002
d39baad1
RA
90032013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9004
9005 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9006 match prototype.
9007
cd78f7e7
JM
90082013-10-04 Joseph Myers <joseph@codesourcery.com>
9009
29d73d86
JM
9010 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9011 Move -mhard-float appending from
9012 ports/sysdeps/powerpc/powerpc32/Makefile.
9013 [$(with-fp) = yes] (ASFLAGS): Likewise.
9014 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9015 * sysdeps/powerpc/nofpu: Move directory from
9016 ports/sysdeps/powerpc/nofpu.
9017 * sysdeps/powerpc/soft-fp: Move directory from
9018 ports/sysdeps/powerpc/soft-fp.
9019 * sysdeps/powerpc/powerpc32/405: Move directory from
9020 ports/sysdeps/powerpc/powerpc32/405.
9021 * sysdeps/powerpc/powerpc32/440: Move directory from
9022 ports/sysdeps/powerpc/powerpc32/440.
9023 * sysdeps/powerpc/powerpc32/464: Move directory from
9024 ports/sysdeps/powerpc/powerpc32/464.
9025 * sysdeps/powerpc/powerpc32/476: Move directory from
9026 ports/sysdeps/powerpc/powerpc32/476.
9027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9028 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9030 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9032 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9034 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9036 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9037 * README: Update for powerpc-*-linux-gnu software floating point
9038 support in libc.
9039
e246b347
JM
9040 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9041 case to powerpc/powerpc32*.
9042 * sysdeps/unix/sysv/linux/configure: Regenerated.
9043
89c2003e
JM
9044 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9045 (_FPU_MASK_OM): Define as 0x04.
9046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9048 0x00c10080.
9049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9050 0x0000003c.
9051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9052
cd78f7e7
JM
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9054 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9055 getcontext_e500.
9056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9057 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9058 setcontext_e500.
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9060 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9061 and setcontext_e500.
9062
c755294d
CL
90632013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9064
9065 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9066
e16d221c
SP
90672013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9068
9069 * manual/threads.texi (Default Thread Attributes): Fix typo.
9070
215c7d43
WN
90712013-10-04 Will Newton <will.newton@linaro.org>
9072
9073 * malloc/Makefile: Add tst-memalign.
9074 * malloc/tst-memalign.c: New file.
9075
27d0461b
WN
9076 * malloc/tst-posix_memalign.c: Add comments.
9077 (do_test): Add comments and call free on all potentially
9078 allocated pointers. Add space after cast.
9079
1bc92709
WN
9080 * malloc/tst-pvalloc.c: Add comments.
9081 (do_test): Add comments and call free on all potentially
9082 allocated pointers. Remove duplicate check for NULL pointer.
9083 Add space after cast.
9084
66a9be9d
WN
9085 * malloc/tst-valloc.c: Add comments.
9086 (do_test): Add comments and call free on all potentially
9087 allocated pointers. Remove duplicate check for NULL pointer.
9088 Add space after cast.
9089
4cb81307
AM
90902013-10-04 Alan Modra <amodra@gmail.com>
9091
9092 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9093 Use stdint types in rather than __attribute__((mode())).
9094 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9095
f8e3e9f3
AM
90962013-10-04 Alan Modra <amodra@gmail.com>
9097
9098 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9099 Correct handling of unaligned relocs for little-endian.
9100 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9101
8f9ebb08
AM
91022013-10-04 Alan Modra <amodra@gmail.com>
9103
9104 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9105 * configure: Regenerate.
9106 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9107 * shlib-versions: Likewise.
9108
0edf96c2
AM
91092013-10-04 Alan Modra <amodra@gmail.com>
9110
9111 * string/tester.c (test_memrchr): Increment reported test cycle.
9112
e0f7a380
AM
91132013-10-04 Alan Modra <amodra@gmail.com>
9114
9115 * string/test-memcpy.c (do_one_test): When reporting errors, print
9116 string address and don't overrun end of string.
9117
466b0393
AM
91182013-10-04 Alan Modra <amodra@gmail.com>
9119
9120 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9121 insrdi. Make better use of reg selection to speed exit slightly.
9122 Schedule entry path a little better. Remove useless "are we done"
9123 checks on entry to main loop. Handle wrapping around zero address.
9124 Correct main loop count. Handle single left-over word from main
9125 loop inline rather than by using loop_small. Remove extra word
9126 case in loop_small caused by wrong loop count. Add little-endian
9127 support.
9128 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9129 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9130 cache hint.
9131 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9132 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9133 support. Avoid rlwimi.
9134 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9135
3be87c77
AM
91362013-10-04 Alan Modra <amodra@gmail.com>
9137
9138 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9139 insrdi. Formatting.
3be87c77
AM
9140 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9141 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9142 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9143 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9144 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9145 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9146
759cfef3
AM
91472013-10-04 Alan Modra <amodra@gmail.com>
9148
9149 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9150 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9151 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9152 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9153 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9154 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9155 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9156 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9157 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9158 use of regs. Use power7 mtocrf. Tidy function tails.
9159
fe6e95d7
AM
91602013-10-04 Alan Modra <amodra@gmail.com>
9161
9162 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9163 Formatting. Consistently use rXXX register defines or rN defines.
9164 Use early exit labels that avoid restoring unused non-volatile regs.
9165 Make cr field use more consistent with rWORDn compares. Rename
9166 regs used as shift registers for unaligned loop, using rN defines
9167 for short lifetime/multiple use regs.
9168 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9169 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9170 addi 1,1,64 to pop stack frame. Simplify return value code.
9171 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9172
664318c3
AM
91732013-10-04 Alan Modra <amodra@gmail.com>
9174
9175 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9176 support. Correct typos, formatting. Optimize tail. Use insrdi
9177 rather than rlwimi.
9178 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9179 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9180 little-endian support. Correct typos.
9181 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9182 rather than rlwimi.
9183 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9184 in loop and entry code to keep "and." results.
9185 (strchr): Add little-endian support. Comment. Move cntlzd
9186 earlier in tail.
9187 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9188
43b84013
AM
91892013-10-04 Alan Modra <amodra@gmail.com>
9190
9191 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9192 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9193 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9194 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9195
8a7413f9
AM
91962013-10-04 Alan Modra <amodra@gmail.com>
9197
9198 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9199 (rTMP): Define as r11.
9200 (strcmp): Add little-endian support. Optimise tail.
9201 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9202 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9203 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9204 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9205 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9206 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9207 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9208
33ee81de
AM
92092013-10-04 Alan Modra <amodra@gmail.com>
9210
9211 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9212 little-endian support. Remove unnecessary "are we done" tests.
9213 Handle "s" wrapping around zero and extremely large "size".
9214 Correct main loop count. Handle single left-over word from main
9215 loop inline rather than by using small_loop. Correct comments.
9216 Delete "zero" tail, use "end_max" instead.
9217 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9218
db9b4570
AM
92192013-10-04 Alan Modra <amodra@gmail.com>
9220
9221 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9222 support. Don't branch over align.
9223 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9224 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9225 support. Rearrange tmp reg use to suit. Comment.
9226 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9227
f7c399cf
AM
92282013-10-04 Alan Modra <amodra@gmail.com>
9229
9230 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9231
0b2c2ace
AM
92322013-10-04 Alan Modra <amodra@gmail.com>
9233
9234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9235 conditional form of branch and link when obtaining pc.
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9237
02f04a6c
AM
92382013-10-04 Alan Modra <amodra@gmail.com>
9239
9240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9241 HIWORD/LOWORD.
9242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9244
9b874b2f
AM
92452013-10-04 Alan Modra <amodra@gmail.com>
9246
9247 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9248 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9249 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9250 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9251 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9252 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9253 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9254 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9255 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9256 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9257
be1e5d31
AB
92582013-10-04 Anton Blanchard <anton@au1.ibm.com>
9259 Alistair Popple <alistair@ozlabs.au.ibm.com>
9260 Alan Modra <amodra@gmail.com>
9261
9262 [BZ #15723]
9263 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9264 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9265 _dl_hwcap access for little-endian.
9266 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9267 destroy vmx regs when saving unaligned.
9268 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9269 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9270 destroy vmx regs when saving unaligned.
9271
fef13a78
AM
92722013-10-04 Alan Modra <amodra@gmail.com>
9273
9274 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9275 Don't use a union to pack hi/low value.
9276
76a66d51
AB
92772013-10-04 Anton Blanchard <anton@au1.ibm.com>
9278
9279 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9280 for little-endian.
9281 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9283 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9284 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9285 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9286
6a31fe7f
AM
92872013-10-04 Alan Modra <amodra@gmail.com>
9288
9289 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9290 constants to usual value for .cst8 section, and remove redundant
9291 high address load.
9292 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9293 constant for 0x1p52. Load little-endian words of double from
9294 correct stack offsets.
9295
7b88401f
AM
92962013-10-04 Alan Modra <amodra@gmail.com>
9297
9298 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9299 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9300 words of double from correct stack offsets.
9301 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9302 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9303 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9304 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9305 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9306 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9307 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9308 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9309 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9310 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9311 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9312 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9313 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9314 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9315 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9316 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9317 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9318
9c008155
AM
93192013-10-04 Alan Modra <amodra@gmail.com>
9320
9321 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9322 64-bit int/double union.
9323 (_FPU_SETCW): Likewise.
9324 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9325 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9326
da13146d
AM
93272013-10-04 Alan Modra <amodra@gmail.com>
9328
9329 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9330 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9331
603e8410
AM
93322013-10-04 Alan Modra <amodra@gmail.com>
9333
9334 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9335 use vector int constants.
9336 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9337
4a28b3ca
AB
93382013-10-04 Anton Blanchard <anton@au1.ibm.com>
9339
9340 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9341 array with long long.
9342 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9343 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9344 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9345 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9346 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9347 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9348 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9349 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9350 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9351 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9352 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9353 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9354 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9355
2ca85d2b
AB
93562013-10-04 Anton Blanchard <anton@au1.ibm.com>
9357
9358 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9359 (__signbit): Likewise. Correct for little-endian.
9360 (__signbitl): Call __signbit.
9361 (lrint): Correct for little-endian.
9362 (lrintf): Call lrint.
9363
62a728ae
AM
93642013-10-04 Alan Modra <amodra@gmail.com>
9365
9366 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9367 union 32-bit int array member with 64-bit int array.
9368 (t515, tm256): Double rather than long double.
9369 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9370
32c301df
AM
93712013-10-04 Alan Modra <amodra@gmail.com>
9372
9373 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9374 Delete.
9375 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9376 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9377 version of math_ldbl.h.
9378
650ef4bd
AM
93792013-10-04 Alan Modra <amodra@gmail.com>
9380
9381 [BZ #15734], [BZ #15735]
9382 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9383 all uses of ieee875 long double macros and unions. Simplify test
9384 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9385 ldbl_extract_mantissa value for ix,iy exponents. Properly
9386 normalize after ldbl_extract_mantissa, and don't add hidden bit
9387 already handled. Don't treat low word of ieee854 mantissa like
9388 low word of IBM long double and mask off bit when testing for
9389 zero.
9390 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9391 all uses of ieee875 long double macros and unions. Simplify tests
9392 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9393 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9394 two1022, instead use their values. Recognise that tests for large
9395 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9396 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9397 Rewrite all uses of ieee875 long double macros and unions. Simplify
9398 test for 0.0L and nan. Correct negation.
9399 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9400 ieee875 long double macros and unions. Correct output for large
9401 magnitude x. Correct absolute value calculation.
9402 (__erfcl): Likewise.
9403 * math/libm-test.inc: Add tests for errors discovered in IBM long
9404 double versions of fmodl, remainderl, erfl and erfcl.
9405
765714ca
AM
94062013-10-04 Alan Modra <amodra@gmail.com>
9407
9408 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9409 all uses of ieee854 long double macros and unions. Simplify tests
9410 for long doubles that are fully specified by the high double.
9411 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9412 Likewise.
9413 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9414 Remove dead code too.
9415 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9416 (__ieee754_ynl): Likewise.
9417 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9418 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9419 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9420 Remove dead code too.
9421 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9422 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9423 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9424 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9425 Simplify.
9426 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9427 Simplify.
9428 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9429 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9430 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9431 Comment on variable precision.
9432 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9433 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9434 Likewise.
9435 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9436 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9437 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9438 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9439 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9440
4ebd120c
AM
94412013-10-04 Alan Modra <amodra@gmail.com>
9442
9443 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9444 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9445 all uses of ieee854 long double macros and unions.
9446 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9447 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9448 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9450 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9451 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9452 Likewise.
9453 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9454 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9455 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9456 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9457 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9458 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9459 Simplify sign and nan test too.
9460 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9461 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9462 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9463 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9464 Likewise.
9465 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9466 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9467 Likewise.
9468 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9469 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9470 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9471 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9472 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9474
1b6adf88
AM
94752013-10-04 Alan Modra <amodra@gmail.com>
9476
9477 * stdio-common/printf_size.c (__printf_size): Don't use
9478 union ieee854_long_double in fpnum union.
9479 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9480 signbit macro to retrieve sign from long double.
9481 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9482 retrieve sign from long double.
9483 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9484 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9485 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9486 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9487 * math/test-misc.c (main): Don't use union ieee854_long_double.
9488
4cf69995
AM
94892013-10-04 Alan Modra <amodra@gmail.com>
9490
9491 [BZ #15680]
9492 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9493 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9494 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9495 calculation. Remove unnecessary test for denormal exponent.
9496 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9497 Correct handling of denormals. Avoid undefined shift behaviour.
9498 Correct normalisation of low mantissa when low double is denormal.
9499 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9500 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9501 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9502 Correct normalisation of low mantissa. Test for overflow of high
9503 mantissa and normalise.
9504 (ldbl_nearbyint): Use more readable constant for two52.
9505 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9506 (__mpn_construct_long_double): Fix test for overflow of high
9507 mantissa and correct normalisation. Avoid undefined shift.
9508
9605ca6c
AM
95092013-10-04 Alan Modra <amodra@gmail.com>
9510
9511 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9512 (union ibm_extended_long_double): Define as an array of ieee754_double.
9513 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9514 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9515 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9516 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9524
975569d0
JM
95252013-10-03 Joseph Myers <joseph@codesourcery.com>
9526
d3d23756
JM
9527 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9528 page size instead of calling getpagesize.
9529
975569d0
JM
9530 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9531 (LOCFILE_ALIGN_MASK): Likewise.
9532 (LOCFILE_ALIGN_UP): Likewise.
9533 (LOCFILE_ALIGNED_P): Likewise.
9534 * locale/programs/ld-collate.c (collate_output): Use the new
9535 macros instead of __alignof__ (int32_t).
9536 * locale/weight.h (findidx): Likewise.
9537
b1fe1f2b
OB
95382013-10-03 Ondřej Bílka <neleai@seznam.cz>
9539
9540 [BZ #431]
9541 * manual/string.texi: Fix strncat and wcsncat.
9542
5f855e35
BM
95432013-10-03 Brooks Moses <bmoses@google.com>
9544
9545 [BZ #15915]
9546 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9547 * Makerules: ...here, and adjust associated comments.
9548
3cef6009
WN
95492013-10-02 Will Newton <will.newton@linaro.org>
9550
9551 * malloc/Makefile: Add tst-pvalloc.
9552 * malloc/tst-pvalloc.c: New file.
9553
7815420b
WN
95542013-10-02 Will Newton <will.newton@linaro.org>
9555
9556 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9557 improve test coverage.
9558
4868b204
WN
95592013-10-02 Will Newton <will.newton@linaro.org>
9560
9561 * malloc/Makefile: Add tst-posix_memalign.
9562 * malloc/tst-posix_memalign.c: New file.
9563
29c793b3
EB
95642013-10-01 Eric Blake <eblake@redhat.com>
9565
9566 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9567 Use __THROWNL rather than __THROW on static functions.
9568
fd967522
PM
95692013-09-30 Petr Machata <pmachata@redhat.com>
9570
9571 * elf/elf.h (R_AARCH64_ABS16): New macro.
9572 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9573 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9574 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9575 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9576 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9577 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9578 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9579 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9580 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9581 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9582 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9583 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9584 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9585 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9586 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9587 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9588 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9589 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9590 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9591 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9592 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9593 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9594 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9595 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9596 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9597 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9598 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9599 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9600 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9601 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9602 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9603 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9604 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9605 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9606 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9607 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9608 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9609 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9610 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9611 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9612 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9613 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9614 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9615 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9616 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9617 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9618 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9619 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9620 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9621 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9622 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9623 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9624 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9625 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9626 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9627 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9628 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9629 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9630 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9631 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9632 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9633 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9634 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9635 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9636 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9637 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9638 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9639 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9640 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9641 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9642 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9643 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9644 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9645 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9646 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9647 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9648 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9649 (R_AARCH64_TLSDESC_LDR): Likewise.
9650 (R_AARCH64_TLSDESC_ADD): Likewise.
9651 (R_AARCH64_TLSDESC_CALL): Likewise.
9652
b2179107
AS
96532013-09-30 Andreas Schwab <schwab@suse.de>
9654
9655 [BZ #15048]
9656 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9657 the nss database lookup.
9658 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9660
47f28d0a
MF
96612013-09-28 Mike Frysinger <vapier@gentoo.org>
9662
9663 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9664
96652013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9666
9667 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9668 ${Bash-specific parameter/pattern/string} parameter expansion.
9669 * sysdeps/unix/make-syscalls.sh: Likewise.
9670
f4518a17
KK
96712013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9672
9673 * sysdeps/sh/stackguard-macros.h: New file.
9674
dc1a95c7
OB
96752013-09-26 Ondřej Bílka <neleai@seznam.cz>
9676
9677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9678 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9679 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9680 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9681 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9682 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9683
5ebbff8f
AZ
96842013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9685
9686 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9687 Fix thread ID register.
9688
4fd2cf9f
JM
96892013-09-25 Joseph Myers <joseph@codesourcery.com>
9690
9691 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9692 [POSIX || UNIX98]: Require rather than permitting all symbols from
9693 <time.h>.
9694 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9695 element of struct sched_param.
9696 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9697 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9698 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9699 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9700 constant.
9701
12c22bc4
OL
97022013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9703
9704 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9705 argument calculation.
9706
a03d8ea7
JM
97072013-09-24 Joseph Myers <joseph@codesourcery.com>
9708
9709 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9710 Expect macro.
9711 [POSIX] (pthread_attr_t): Do not require type.
9712 [POSIX] (pthread_cond_t): Likewise.
9713 [POSIX] (pthread_condattr_t): Likewise.
9714 [POSIX] (pthread_key_t): Likewise.
9715 [POSIX] (pthread_mutex_t): Likewise.
9716 [POSIX] (pthread_mutexattr_t): Likewise.
9717 [POSIX] (pthread_once_t): Likewise.
9718 [POSIX] (pthread_t): Likewise.
9719 [POSIX-based standards] (pthread_atfork): Expect function.
9720
6055173a
JM
97212013-09-24 Joseph Myers <joseph@codesourcery.com>
9722 Richard Sandiford <richard@codesourcery.com>
9723
9724 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9725 (swap_endianness_p): New extern variable.
9726 (set_big_endian): New inline function.
9727 (maybe_swap_uint32): Likewise.
9728 (maybe_swap_uint32_array): Likewise.
9729 (maybe_swap_uint32_obstack): Likewise.
9730 * locale/programs/locfile.c: Include <stdbool.h>.
9731 (swap_endianness_p): New variable.
9732 (add_locale_uint32): Call maybe_swap_uint32.
9733 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9734 (write_locale_data): Call maybe_swap_uint32_array.
9735 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9736 maybe_swap_uint32.
9737 (obstack_int32_grow_fast): Likewise.
9738 (output_weightwc): Call maybe_swap_uint32_obstack.
9739 (collate_output): Likewise.
9740 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9741 (OPT_LITTLE_ENDIAN): Likewise.
9742 (options): Add --little-endian and --big-endian options.
9743 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9744 * locale/programs/locarchive.c: Include "locfile.h".
9745 (GET): New macro.
9746 (SET): Likewise.
9747 (INC): Likewise.
9748 (create_archive): Use the new macros to access fields of
9749 structures directly mapped from or written to locale archives.
9750 (oldlocrecentcmp): Likewise.
9751 (enlarge_archive): Likewise.
9752 (insert_name): Likewise.
9753 (add_alias): Likewise.
9754 (add_locale): Likewise.
9755 (delete_locales_from_archive): Likewise.
9756 (show_archive_content): Likewise.
9757 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9758 locale data.
9759
39bf0bb4
RM
97602013-09-24 Roland McGrath <roland@hack.frob.com>
9761
9762 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9763 http://www.gnu.org/doc/freemanuals.texi.
9764 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9765
f02eed10
WN
97662013-09-24 Will Newton <will.newton@linaro.org>
9767
9768 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9769 macro.
9770
a3a6c312
JM
97712013-09-23 Joseph Myers <joseph@codesourcery.com>
9772
9773 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9774 unsigned char.
9775
107375ac
MR
97762013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9777
9778 * manual/threads.texi (POSIX Threads): Fix a typo.
9779
141f3a77
SP
97802013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9781
303e567a
SP
9782 [BZ #14547]
9783 * string/tst-strcoll-overflow.c: New test case.
9784 * string/Makefile (xtests): Add tst-strcoll-overflow.
9785 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9786 cache if string sizes may cause integer overflow.
9787
141f3a77
SP
9788 [BZ #14547]
9789 * string/strcoll_l.c (coll_seq): New members rule, idx,
9790 save_idx and back_us.
9791 (get_next_seq_nocache): New function.
9792 (do_compare_nocache): New function.
9793 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9794 when malloc fails.
9795
c61b4d41
CD
97962013-09-23 Carlos O'Donell <carlos@redhat.com>
9797
0b1f8e35
CD
9798 [BZ #15754]
9799 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9800 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9801 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9802
c61b4d41
CD
9803 [BZ #15754]
9804 * elf/Makefile (tests): Add tst-ptrguard1.
9805 (tests-static): Add tst-ptrguard1-static.
9806 (tst-ptrguard1-ARGS): Define.
9807 (tst-ptrguard1-static-ARGS): Define.
9808 * elf/tst-ptrguard1.c: New file.
9809 * elf/tst-ptrguard1-static.c: New file.
9810 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9811 * sysdeps/i386/stackguard-macros.h: Likewise.
9812 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9813 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9814 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9815 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9816 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9817 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9818
98192013-09-23 Hector Marco <hecmargi@upv.es>
9820 Ismael Ripoll <iripoll@disca.upv.es>
9821 Carlos O'Donell <carlos@redhat.com>
9822
9823 [BZ #15754]
9824 * sysdeps/generic/stackguard-macros.h: Define
9825 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9826 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9827 Define __pointer_chk_guard_local.
9828 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9829 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9830
f5f4e7b4
VV
98312013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9832
9833 [BZ #15859]
9834 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9835
5bb43a43
AS
98362013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9837
9838 * include/string.h (__ffs): Declare as hidden.
9839 * string/ffs.c (__ffs): Define as hidden.
9840 * sysdeps/i386/ffs.c (__ffs): Likewise.
9841 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9842 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9843 * sysdeps/s390/ffs.c (__ffs): Likewise.
9844 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9845
3ea5be54
AO
98462013-09-20 Alexandre Oliva <aoliva@redhat.com>
9847
ffb89e53
AO
9848 * NEWS: Mention malloc probes.
9849
322dea08
AO
9850 * malloc/arena.c (new_heap): New memory_heap_new probe.
9851 (grow_heap): New memory_heap_more probe.
9852 (shrink_heap): New memory_heap_less probe.
9853 (heap_trim): New memory_heap_free probe.
9854 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9855 (systrim): New memory_sbrk_less probe.
9856 * manual/probes.texi: Document them.
9857
655673f3
AO
9858 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9859 * manual/probes.texi: Document it.
9860
35fed6f1
AO
9861 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9862 (__libc_realloc): Add memory_realloc_retry probe.
9863 (__libc_memalign): Add memory_memalign_retry probe.
9864 (__libc_valloc): Add memory_valloc_retry probe.
9865 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9866 (__libc_calloc): Add memory_calloc_retry probe.
9867 * manual/probes.texi: Document them.
9868
6999d38c
AO
9869 * malloc/arena.c (get_free_list): Add probe
9870 memory_arena_reuse_free_list.
9871 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9872 and memory_arena_reuse.
9873 (arena_get2) [!PER_THREAD]: Likewise.
9874 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9875 memory_arena_reuse_realloc.
9876 * manual/probes.texi: Document them.
9877
0653427f
AO
9878 * malloc/malloc.c (__libc_free): Add
9879 memory_mallopt_free_dyn_thresholds probe.
9880 (__libc_mallopt): Add multiple memory_mallopt probes.
9881 * manual/probes.texi: Document them.
9882
3ea5be54
AO
9883 * malloc/malloc.c: Include stap-probe.h.
9884 (__libc_mallopt): Add memory_mallopt probe.
9885 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9886 * manual/probes.texi: New.
9887 * manual/Makefile (chapters): Add probes.
9888 * manual/threads.texi: Set next node.
9889
e35696c3 98902013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9891
e35696c3
CL
9892 [BZ #15963, #13985]
9893 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9894 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9895 Add `Chinese' to `nan' entry name.
9896
4aafb73c
SP
98972013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9898
9899 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9900 (POLYNOMIAL): Likewise.
9901 (TAYLOR_SINCOS): Likewise.
9902 (TAYLOR_SLOW): Likewise.
9903 (__sin): Use TAYLOR_SINCOS.
9904 (__cos): Likewise.
9905 (slow): Use TAYLOR_SLOW.
9906 (sloww): Likewise.
9907 (bsloww): Likewise.
9908 (csloww): Likewise.
9909
d84f25c7
LD
99102013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9911
9912 * stdlib/strtod_l.c: Fix buffer overrun.
9913
5eea0404
SP
99142013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9915
7849ff93
SP
9916 * benchtests/Makefile (bench): Add sincos.
9917 * benchtests/bench-sincos.c: New file.
9918
cfa3c886
SP
9919 * math/libm-test.inc (cos_test_data): New test inputs.
9920 (sin_test_data): Likewise.
9921
b348e1e3
SP
9922 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9923 macro.
9924 (__sin): Use it.
9925 (__cos): Likewise.
9926 (slow1): Likewise.
9927 (slow2): Likewise.
9928 (sloww1): Likewise.
9929 (sloww2): Likewise.
9930 (bsloww1): Likewise.
9931 (bsloww2): Likewise.
9932 (cslow2): Likewise.
9933 (csloww1): Likewise.
9934 (csloww2): Likewise.
9935
6cce25f8
SP
9936 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9937 function.
9938 (__sin): Use it.
9939 (__cos): Likewise.
9940
5eea0404
SP
9941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9942 gotos.
9943 (__cos): Likewise.
9944
9c21573c
MR
99452013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9946
9947 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9948 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9949 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9950 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9951 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9952 * elf/cache.c (print_entry): Handle the new cache flags.
9953
24d22e65
JM
99542013-09-18 Joseph Myers <joseph@codesourcery.com>
9955 Aldy Hernandez <aldyh@redhat.com>
9956
9957 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9958 Change condition to [_SOFT_FLOAT].
9959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9962 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9964 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9971 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9974 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9975 declaration.
9976
d13ef066
JM
99772013-09-18 Joseph Myers <joseph@codesourcery.com>
9978
2e071de0
JM
9979 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9980 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9981 (__longjmp): Use LOAD_GP to load saved GPRs.
9982 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9983 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9984 (__sigsetjmp): Use SAVE_GP to save GPRs.
9985
d13ef066
JM
9986 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9987 Do not append -msoft-float.
9988 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9989
97a0650b
SP
99902013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9991
9992 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9993
11ca09e9
JM
99942013-09-17 Joseph Myers <joseph@codesourcery.com>
9995
9996 [BZ #15966]
9997 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9998 (_FPU_GETCW): Use initial "__" on variable and field names but not
9999 on macro parameter name.
10000 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10001 parentheses around reference to macro parameter.
10002
08ffcf34
RS
100032013-09-13 Richard Sandiford <richard@codesourcery.com>
10004
10005 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10006 prototype.
10007 (ctype_startup): Use uint32_t in cast and sizeof for
10008 ctype->charnames.
10009
ae7080d3
JL
100102013-09-11 Jia Liu <proljc@gmail.com>
10011
10012 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10013 __daddr_t_defined.
10014 [__FreeBSD__]: Likewise.
10015
5905e7b3
OB
100162013-09-11 Ondřej Bílka <neleai@seznam.cz>
10017
10018 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10019 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10020 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10021 (strchr): Remove __strchr_sse42 ifunc selection.
10022 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10023 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10024
b987c776
WN
100252013-09-11 Will Newton <will.newton@linaro.org>
10026
10027 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10028 parameter to RES. Remove hardcoded 1000 value.
10029 * benchtests/bench-skeleton.c (main): Pass RES parameter
10030 to TIMING_INIT and multiply result by 1000.
10031
ddf985af
AZ
100322013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10033
10034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10035
ffdd3181
AS
100362013-09-11 Andreas Schwab <schwab@suse.de>
10037
10038 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10039 if not defined.
10040 (O_TMPFILE) [__USE_GNU]: Define.
10041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10042 Define.
10043
b73ed247
WN
100442013-09-11 Will Newton <will.newton@linaro.org>
10045
10046 [BZ #15857]
10047 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10048 does not overflow.
10049
55e17aad
WN
100502013-09-11 Will Newton <will.newton@linaro.org>
10051
10052 [BZ #15856]
10053 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10054 does not overflow.
10055
1159a193
WN
100562013-09-11 Will Newton <will.newton@linaro.org>
10057
10058 [BZ #15855]
10059 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10060 does not overflow.
10061
5905e7b3 100622013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10063
10064 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10065 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10069
cdfc721b
AM
100702013-09-10 Allan McRae <allan@archlinux.org>
10071
aa04af00
AM
10072 [BZ #15748]
10073 * manual/arith.texi (Parsing of Floats): Clarify
10074 cross-reference.
10075
cdfc721b
AM
10076 [BZ #15849]
10077 * manual/install.texi (Running make install): Mention
10078 --enable-pt-chown.
10079 * INSTALL: Regenerated.
10080
95e7cf29
MR
100812013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10082
10083 * csu/init-first.c (_init): Remove the !SHARED condition around
10084 FPU control word initialization.
10085 * elf/dl-support.c (_dl_fpu_control): New variable.
10086 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10087 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10088 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10089 * math/test-fpucw-static.c: New file.
10090 * math/test-fpucw-ieee.c: New file.
10091 * math/test-fpucw-ieee-static.c: New file.
10092 * math/Makefile (tests): Add `test-fpucw-ieee' and
10093 `$(tests-static)'.
10094 (tests-static): New variable.
10095 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10096 dependency to...
10097 [($(build-shared),yes)]
10098 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10099 ... this.
10100 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10101 New dependency.
10102
83e43bf0
AM
101032013-09-09 Allan McRae <allan@archlinux.org>
10104
a9f5ce09
AM
10105 [BZ #15939]
10106 * manual/string.texi (Collation Functions): Fix typo in
10107 strcoll example.
10108 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10109
34829bc2
AM
10110 [BZ #15893]
10111 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10112
3932737d
AM
10113 [BZ #15892]
10114 * libio/memstream.c (open_memstream): Fix memory leak.
10115 * libio/wmemstream.c (open_wmemstream): Likewise.
10116
83e43bf0
AM
10117 [BZ #15895]
10118 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10119
0c66b8e9
WN
101202013-09-09 Will Newton <will.newton@linaro.org>
10121
10122 * malloc/Makefile: Add tst-realloc to tests.
10123 * malloc/tst-realloc.c: New file.
10124
f6b00fd1
AM
101252013-09-09 Allan McRae <allan@archlinux.org>
10126
10127 [BZ #15844]
10128 * COPYING: Update from GNU website to fix FSF address.
10129 * COPYING.LIB: Likewise.
10130
eec55e16
DM
101312013-09-06 David S. Miller <davem@davemloft.net>
10132
10133 * po/zh_TW.po: Update Chinese (traditional) translation from
10134 translation project.
10135
1ecbb381
RS
101362013-09-06 Richard Sandiford <richard@codesourcery.com>
10137 Joseph Myers <joseph@codesourcery.com>
10138
10139 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10140 "localeinfo.h".
10141 (obstack_chunk_alloc): New macro.
10142 (obstack_chunk_free): Likewise.
10143 (record_offset): New function.
10144 (init_locale_data): Likewise.
10145 (align_locale_data): Likewise.
10146 (add_locale_empty): Likewise.
10147 (add_locale_raw_data): Likewise.
10148 (add_locale_raw_obstack): Likewise.
10149 (add_locale_string): Likewise.
10150 (add_locale_wstring): Likewise.
10151 (add_locale_uint32): Likewise.
10152 (add_locale_uint32_array): Likewise.
10153 (add_locale_char): Likewise.
10154 (start_locale_structure): Likewise.
10155 (end_locale_structure): Likewise.
10156 (start_locale_prelude): Likewise.
10157 (end_locale_prelude): Likewise.
10158 (write_locale_data): Take locale_file structure rather than an
10159 iovec.
10160 * locale/programs/locfile.h: Include "obstack.h".
10161 (struct locale_file): Change to store locale file contents instead
10162 of header.
10163 (init_locale_data): New prototype.
10164 (align_locale_data): Likewise.
10165 (add_locale_empty): Likewise.
10166 (add_locale_raw_data): Likewise.
10167 (add_locale_raw_obstack): Likewise.
10168 (add_locale_string): Likewise.
10169 (add_locale_wstring): Likewise.
10170 (add_locale_uint32): Likewise.
10171 (add_locale_uint32_array): Likewise.
10172 (add_locale_char): Likewise.
10173 (start_locale_structure): Likewise.
10174 (end_locale_structure): Likewise.
10175 (start_locale_prelude): Likewise.
10176 (end_locale_prelude): Likewise.
10177 (write_locale_data): Update prototype.
10178 * locale/programs/3level.h (struct TABLE): Remove result field.
10179 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10180 Use new locale_file interface.
10181 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10182 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10183 * locale/programs/ld-address.c (address_output): Use new
10184 locale_file interface.
10185 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10186 NO_ADD_LOCALE.
10187 (collate_finish): Don't call collseq_table_finalize.
10188 (collate_output): Use new locale_file interface.
10189 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10190 in file.
10191 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10192 (TABLE): Move defines earlier in file.
10193 (ELEMENT): Likewise.
10194 (DEFAULT): Likewise.
10195 (wctrans_table_add): Move macro and inline function earlier in
10196 file.
10197 (struct wctype_table): Move type earlier in file.
10198 (add_locale_wctype_table): New static prototype.
10199 (struct locale_ctype_t): Use logical types instead of struct iovec
10200 pointers for members.
10201 (ctype_output): Use new locale_file interface.
10202 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10203 new locale_file interface.
10204 (allocate_arrays): Update for use of new locale_file interface.
10205 * locale/programs/ld-identification.c (identification_output): Use
10206 new locale_file interface.
10207 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10208 * locale/programs/ld-messages.c (messages_output): Likewise.
10209 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10210 * locale/programs/ld-name.c (name_output): Likewise.
10211 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10212 * locale/programs/ld-paper.c (paper_output): Likewise.
10213 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10214 * locale/programs/ld-time.c (time_output): Likewise.
10215
e029e2e5
AZ
102162013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10217
10218 * benchtests/Makefile: Add memrchr benchmark.
10219 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10220 benchmark as memrchr.
10221 * benchtests/bench-memrchr-ifunc.c: New file.
10222 * benchtests/bench-memrchr.c: New file.
10223
bbf6e8e4
WN
102242013-09-06 Will Newton <will.newton@linaro.org>
10225
10226 * benchtests/Makefile (string-bench): Add memcpy.
10227
6c82a2f8
CD
102282013-09-05 Carlos O'Donell <carlos@redhat.com>
10229 Cong Wang <amwang@redhat.com>
10230
e732c5f0 10231 [BZ #15850]
6c82a2f8
CD
10232 * sysdeps/unix/sysv/linux/bits/in.h
10233 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10234 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10235 before __USE_KERNEL_IPV6_DEFS uses.
10236 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10237 IPPROTO_BEETPH.
10238 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10239 sockaddr_in6, or ipv6_mreq.
10240
5430fc65
AZ
102412013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10242
10243 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10244 memory access for final bytes in some large inputs.
10245 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10246
4660856c
AZ
102472013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10248
10249 * string/test-memrchr.c: New file.
10250 * string/test-memrchr-ifunc.c: New file.
10251 * string/Makefile: Add new memrchr testcase.
10252
bb8ea713
MF
102532013-09-05 Mike Frysinger <vapier@gentoo.org>
10254
10255 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10256 fanotify_init returns EPERM.
10257
b92a20b5
JM
102582013-09-04 Joseph Myers <joseph@codesourcery.com>
10259
10260 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10261 errors.
10262 (top level): Treat second token from macro or constant entries for
10263 allowed headers as allowed.
10264 * include/complex.h: Condition internal declarations on
10265 [!_ISOMAC].
10266 * include/fenv.h: Condition include of <stdbool.h> and internal
10267 declarations on [!_ISOMAC].
7447ccd9
CL
10268
102692013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10270
3e181dda 10271 [BZ #15923]
7447ccd9
CL
10272 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10273
3f2e46a4
JM
102742013-09-04 Joseph Myers <joseph@codesourcery.com>
10275
10276 * configure.in (--enable-versioning): Remove configure option.
10277 (libc_cv_asm_symver_directive): Remove configure test.
10278 (libc_cv_ld_version_script_option): Likewise.
10279 (VERSIONING): Remove variable and AC_SUBST.
10280 (DO_VERSIONING): Remove AC_DEFINE.
10281 * configure: Regenerated.
10282 * config.h.in (DO_VERSIONING): Remove macro.
10283 * Makerules [$(versioning) = yes]: Change conditionals to
10284 [$(build-shared) = yes].
10285 * config.make.in (versioning): Remove variable.
10286 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10287 [$(build-shared) = yes].
10288 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10289 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10290 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10291 [$(build-shared) = yes].
10292 * extra-lib.mk [$(versioning) = yes]: Likewise.
10293 * hurd/Makefile [$(versioning) = yes]: Likewise.
10294 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10295 [SHARED].
10296 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10297 [SHARED].
10298 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10299 [SHARED && !NO_HIDDEN].
10300 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10301 [SHARED].
10302 [SHARED && DO_VERSIONING]: Likewise..
10303 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10304 [$(build-shared) = yes].
10305 * manual/install.texi (--disable-versioning): Remove
10306 documentation.
10307 * INSTALL: Regenerated.
10308 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10309 to [SHARED].
10310 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10311 [$(build-shared) = yes].
10312 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10313 * sysdeps/i386/i686/multiarch/strstr-c.c
10314 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10315 [SHARED && !NO_HIDDEN].
10316 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10317 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10318 * sysdeps/powerpc/powerpc32/dl-machine.c
10319 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10320 * sysdeps/powerpc/powerpc32/sysdep.h
10321 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10322 to [SHARED && PIC && !NO_HIDDEN].
10323 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10324 conditional to [SHARED].
10325
44558701
WN
103262013-09-04 Will Newton <will.newton@linaro.org>
10327
10328 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10329 * benchtests/bench-string.h: Include bench-timing.h instead
10330 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10331 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10332 call to HP_TIMING_DIFF_INIT.
10333 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10334 instead of hp-timing.h macros.
10335 * benchtests/bench-memchr.c: Likewise.
10336 * benchtests/bench-memcmp.c: Likewise.
10337 * benchtests/bench-memcpy.c: Likewise.
10338 * benchtests/bench-memmem.c: Likewise.
10339 * benchtests/bench-memmove.c: Likewise.
10340 * benchtests/bench-memset.c: Likewise.
10341 * benchtests/bench-rawmemchr.c: Likewise.
10342 * benchtests/bench-strcasecmp.c: Likewise.
10343 * benchtests/bench-strcasestr.c: Likewise.
10344 * benchtests/bench-strcat.c: Likewise.
10345 * benchtests/bench-strchr.c: Likewise.
10346 * benchtests/bench-strcmp.c: Likewise.
10347 * benchtests/bench-strcpy.c: Likewise.
10348 * benchtests/bench-strcpy_chk.c: Likewise.
10349 * benchtests/bench-strlen.c: Likewise.
10350 * benchtests/bench-strncasecmp.c: Likewise.
10351 * benchtests/bench-strncat.c: Likewise.
10352 * benchtests/bench-strncmp.c: Likewise.
10353 * benchtests/bench-strncpy.c: Likewise.
10354 * benchtests/bench-strnlen.c: Likewise.
10355 * benchtests/bench-strpbrk.c: Likewise.
10356 * benchtests/bench-strrchr.c: Likewise.
10357 * benchtests/bench-strspn.c: Likewise.
10358 * benchtests/bench-strstr.c: Likewise.
10359
cae16d66
WN
103602013-09-04 Will Newton <will.newton@linaro.org>
10361
10362 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10363
ffa3cd7f
JM
103642013-09-03 Joseph Myers <joseph@codesourcery.com>
10365
10366 [BZ #15427]
10367 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10368 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10369 * math/libm-test.inc (lgamma_test_data): Add more tests.
10370 * sysdeps/i386/fpu/libm-test-ulps: Update.
10371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10372
8f02859f
OB
103732013-09-03 Ondřej Bílka <neleai@seznam.cz>
10374
10375 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10376 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10377 Add ifunc.
10378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10379 Add strcmp-sse2-unaligned
10380 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10381
18d43716
MF
103822013-09-02 Mike Frysinger <vapier@gentoo.org>
10383
10384 * Versions.def (libc): Add GLIBC_2.19.
10385
ac444012
MF
103862013-09-02 Mike Frysinger <vapier@gentoo.org>
10387
10388 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10389 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10390
b7835e32
JM
103912013-09-02 Joseph Myers <joseph@codesourcery.com>
10392
10393 [BZ #14155]
10394 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10395 intermediate calculations in recurrence.
10396 (__ieee754_ynf): Likewise.
10397 * math/libm-test.inc (jn_test_data): Do not allow spurious
10398 underflow exception. Add more tests.
10399 (yn_test_data): Add more tests.
10400 * sysdeps/i386/fpu/libm-test-ulps: Update.
10401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10402
8220f4f0
OB
104032013-09-02 Ondřej Bílka <neleai@seznam.cz>
10404
10405 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10406
f24a6d08
OB
104072013-08-30 Ondřej Bílka <neleai@seznam.cz>
10408
10409 * csu/init-first.c: Fix then/than typos.
10410 * locale/programs/ld-collate.c: Likewise.
10411 * locale/programs/linereader.h: Likewise.
10412 * manual/charset.texi: Likewise.
10413 * manual/filesys.texi: Likewise.
10414 * manual/stdio.texi: Likewise.
10415 * manual/string.texi: Likewise.
10416 * stdlib/fmtmsg.c: Likewise.
10417 * sysdeps/i386/stpncpy.S: Likewise.
10418 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10419 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10420 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10421 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10422
382466e0
OB
104232013-08-30 Ondřej Bílka <neleai@seznam.cz>
10424
10425 * elf/dl-open.c: Fix typos.
10426 * iconvdata/gbbig5.c: Likewise.
10427 * iconvdata/iso-2022-jp.c: Likewise.
10428 * iconv/gconv_int.h: Likewise.
10429 * iconv/loop.c: Likewise.
10430 * nis/rpcsvc/nis.h: Likewise.
10431 * resolv/ns_name.c: Likewise.
10432 * stdio-common/vfscanf.c: Likewise.
10433 * streams/stropts.h: Likewise.
10434 * sunrpc/rpc_thread.c: Likewise.
10435 * sysdeps/i386/strpbrk.S: Likewise.
10436 * sysdeps/ieee754/k_standard.c: Likewise.
10437 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10438 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10439 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10440 * sysdeps/mach/hurd/profil.c: Likewise.
10441 * sysdeps/s390/dl-procinfo.h: Likewise.
10442 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10443 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10444 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10445 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10446 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10447
0186c6e9
OB
104482013-08-30 Ondřej Bílka <neleai@seznam.cz>
10449
10450 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10451 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10452
d4e16af1
OB
104532013-08-29 Ondřej Bílka <neleai@seznam.cz>
10454
10455 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10456 aix specific files.
10457 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10458 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10459 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10460 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10461 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10462 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10463 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10464 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10465
88335980
TS
104662013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10467 Roland McGrath <roland@hack.frob.com>
10468
10469 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10470 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10471
ed479b02
ST
104722013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10473
10474 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10475 __executable_start symbol instead of _start.
10476
f1cc4c86
TS
104772013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10478
d821f07c
TS
10479 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10480 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10481 Move macros to...
10482 * sysdeps/gnu/ldsodefs.h: ... this new file.
10483
c54290cf
TS
10484 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10485 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10486 instead of ELFOSABI_LINUX.
10487
0007fc9b 10488 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10489 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10490 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10491 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10492 Likewise.
10493 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10494 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10495 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10496 Likewise.
10497 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10498 (ibm_extended_long_double): Add ieee_nan member.
10499 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10500 (do_test): New function.
10501
f1cc4c86
TS
10502 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10503 TEST_TRUNC.
10504 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10505 functions, renamed from truncdfsf_test, trunctfsf_test,
10506 trunctfdf_test.
10507 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10508 functions.
10509 (do_test): Run all these.
10510
6f65e668
OB
105112013-08-29 Ondřej Bílka <neleai@seznam.cz>
10512
10513 * argp/argp-help.c: Fix typos.
10514 * argp/argp-parse.c: Likewise.
10515 * debug/backtracesyms.c: Likewise.
10516 * elf/elf.h: Likewise.
10517 * malloc/malloc.c: Likewise.
10518 * nis/nis_print.c: Likewise.
10519 * resolv/res_comp.c: Likewise.
10520 * stdlib/stdlib.h: Likewise.
10521 * sunrpc/clnt_tcp.c: Likewise.
10522 * sunrpc/clnt_udp.c: Likewise.
10523 * sunrpc/clnt_unix.c: Likewise.
10524 * sysdeps/unix/bsd/ptsname.c: Likewise.
10525 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10526 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10528 Likewise.
10529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10530 Likewise.
10531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10532 Likewise.
6f65e668
OB
10533 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10534
3a309239
SP
105352013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10536
10537 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10539
3b813b29
MF
105402013-08-27 Mike Frysinger <vapier@gentoo.org>
10541
10542 [BZ #15897]
10543 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10544 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10545 ($(objpfx)bug-dl-leaf): New rule.
10546 ($(objpfx)bug-dl-leaf.so): Likewise.
10547 ($(objpfx)bug-dl-leaf.out): Likewise.
10548 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10549 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10550 * dlfcn/bug-dl-leaf.c: New test.
10551 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10552 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10553 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10554 (dlclose): Likewise.
10555 (dlmopen): Likewise.
10556
8cc3269f
RM
105572013-08-27 Roland McGrath <roland@hack.frob.com>
10558
7f9d0034
RM
10559 * include/netdb.h [!_ISOMAC]:
10560 Don't include <tls.h>.
10561 (h_errno, __libc_h_errno): Move declaration and macros out of
10562 [_LIBC_REENTRANT].
10563
fb431262
RM
10564 * include/resolv.h [_RESOLV_H_]:
10565 Don't include <tls.h>.
10566 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10567 * resolv/res_libc.c: Don't include <tls.h>.
10568 (_res): Use __attribute__ ((nocommon)) in place of
10569 __attribute__ ((section (".bss"))).
10570
bd81123a
RM
10571 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10572 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10573
c4e42566
RM
10574 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10575
f890a59b
RM
10576 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10577 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10578
10579 * resolv/res_mkquery.c: Include <sys/time.h>.
10580
5d1f0a09
RM
10581 * inet/ifreq.c: Moved to ...
10582 * sysdeps/unix/ifreq.c: ... here.
10583 * inet/ifreq.c: New file, true stub version.
10584
6fcf28b3
RM
10585 * socket/sa_len.c: New file.
10586 * socket/Makefile (aux): Add it.
10587 * sysdeps/unix/sysv/linux/Makefile
10588 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10589 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10590 and #include <socket/sa_len.c>.
10591 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10592 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10593
e041fb8b
RM
10594 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10595 * bits/socket.h: ... here.
10596
8cc3269f
RM
10597 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10598 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10599 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10600
5d228a43
AS
106012013-08-27 Andreas Schwab <schwab@suse.de>
10602
45b8accc
AS
10603 [BZ #15736]
10604 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10605 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10606 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10607 * string/test-strcasecmp.c (test_main): Run tests in several
10608 locales.
10609 * string/test-strncasecmp.c (test_main): Likewise.
10610
5d228a43
AS
10611 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10612 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10613 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10615 (__strncasecmp_ssse3) [PIC]: Likewise.
10616
59d112a4
RM
106172013-08-26 Roland McGrath <roland@hack.frob.com>
10618
53234cc3
RM
10619 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10620
59d112a4
RM
10621 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10622 instead of explicitly declaring xdecrypt.
10623 * nis/nss_nis/nis-publickey.c: Likewise.
10624
595aba70
SP
106252013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10626
10627 [BZ #15890]
10628 * nscd/aicache.c: Include res_hconf.h.
10629 (addhstaiX): Initialize res_hconf.
10630
ffabd393
AS
106312013-08-26 Andreas Schwab <schwab@suse.de>
10632
10633 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10634 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10635
e0a69f5c
SP
106362013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10637
10638 * nscd/aicache.c (addhstaiX): Fix indentation.
10639
8c12f01d
MF
106402013-08-25 Mike Frysinger <vapier@gentoo.org>
10641
10642 * configure.ac: Quote $build_pt_chown test.
10643 * configure: Regenerated.
10644
8fe89494
JM
106452013-08-23 Joseph Myers <joseph@codesourcery.com>
10646
10647 [BZ #15532]
10648 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10649 * math/s_cexpf.c (__cexpf): Likewise.
10650 * math/s_cexpl.c (__cexpl): Likewise.
10651 * math/libm-test.inc (cexp_test_data): Correct expected return
10652 value for NaN + i0. Add another test.
10653
75b181d6
DM
106542013-08-22 David S. Miller <davem@davemloft.net>
10655
10656 * po/ca.po: Update Catalan translation from translation project.
936241e4 10657 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10658
acd06bb1
JM
106592013-08-21 Joseph Myers <joseph@codesourcery.com>
10660
10661 [BZ #15797]
10662 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10663 is infinite, not alongside NaN test.
10664 * math/s_fdimf.c (__fdimf): Likewise.
10665 * math/s_fdiml.c (__fdiml): Likewise.
10666 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10667 errno is unchanged.
10668
c0c3f78a
OB
106692013-08-21 Ondřej Bílka <neleai@seznam.cz>
10670
10671 * argp/argp-help.c: Fix typos.
10672 * crypt/speeds.c: Likewise.
10673 * csu/check_fds.c: Likewise.
10674 * elf/dl-load.c: Likewise.
10675 * elf/dl-open.c: Likewise.
10676 * elf/reldep3.c: Likewise.
10677 * elf/reldep.c: Likewise.
10678 * elf/sprof.c: Likewise.
10679 * iconv/iconv_charmap.c: Likewise.
10680 * iconv/skeleton.c: Likewise.
10681 * iconv/strtab.c: Likewise.
10682 * io/lockf64.c: Likewise.
10683 * libio/libioP.h: Likewise.
10684 * resolv/gai_notify.c: Likewise.
10685 * resolv/ns_name.c: Likewise.
10686 * resolv/ns_samedomain.c: Likewise.
10687 * resolv/res_send.c: Likewise.
10688 * stdlib/random.c: Likewise.
10689 * sunrpc/rpc/xdr.h: Likewise.
10690 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10691 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10692 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10693 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10694 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10695 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10696 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10697 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10698 * sysdeps/mach/hurd/check_fds.c: Likewise.
10699 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10700 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10701 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10702 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10703 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10704 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10705 * sysdeps/pthread/aio_notify.c: Likewise.
10706 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10707 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10708 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10709 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10710 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10711
46ed1038
LD
107122013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10713
10714 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10715 version if bit_Slow_SSE4_2 is set.
10716 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10717 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10718
d400dcac
AZ
107192013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10720
10721 [BZ #15867]
10722 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10723 trampoline stack frame information.
10724 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10725 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10726 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10727 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10728 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10729 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10730 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10731 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10732 sa_flags value.
10733 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10734 interrupting a syscall and set with option SA_SIGINFO.
10735
42c8fdd8
JM
107362013-08-20 Joseph Myers <joseph@codesourcery.com>
10737
c980f2f4
JM
10738 [BZ #15531]
10739 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10740 argument is infinite.
10741 * math/s_cprojf.c (__cprojf): Likewise.
10742 * math/s_cprojl.c (__cprojl): Likewise.
10743 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10744 * math/libm-test.inc (cproj_test_data): Add more tests.
10745
0716c4fc
JM
10746 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10747
42c8fdd8
JM
10748 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10749 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10750 size. Use __ffs to determine corresponding shift.
10751
b31469d0
JM
107522013-08-20 Joseph Myers <joseph@codesourcery.com>
10753 Roland McGrath <roland@hack.frob.com>
10754
10755 * Makefile (INSTALL): Remove trailing blank lines from output of
10756 makeinfo.
10757
4e39af6e
AK
107582013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10759
10760 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10761 Align 32 bit compat elf_greg to 8 bytes.
10762
f315524e
AA
107632013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10764
10765 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10766
1326ba1a
SP
107672013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10768
10769 * string/strcoll_l.c (coll_seq): New structure.
10770 (get_next_seq_cached): New function.
10771 (get_next_seq): New function.
10772 (do_compare): New function.
10773 (STRCOLL): Use GNU style definition. Simplify implementation
10774 by using get_next_seq, get_next_seq_cached and do_compare.
10775
91ce4085
FW
107762013-08-16 Florian Weimer <fweimer@redhat.com>
10777
10778 [BZ #14699]
10779 CVE-2013-4237
10780 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10781 member.
10782 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10783 member.
10784 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10785 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10786 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10787 conditional.
10788 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10789 GETDENTS_64BIT_ALIGNED.
10790 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10791 * manual/filesys.texi (Reading/Closing Directory): Document
10792 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10793 strongly.
10794 * manual/conf.texi (Limits for Files): Add portability note to
10795 NAME_MAX, PATH_MAX.
10796 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10797
ca0a6bc4
AS
107982013-08-13 Andreas Schwab <schwab@suse.de>
10799
10800 [BZ #15749]
10801 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10802 of fabs.
10803 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10804 LDBL_MAX_EXP >= 16384]: Add tests for it.
10805
6c1fd795
DM
108062013-08-12 David S. Miller <davem@davemloft.net>
10807
10808 * version.h (RELEASE): Set to "development".
10809 (VERSION): Set to "2.18.90".
10810 * NEWS: Add 2.19 section.
10811
31ad488d
DM
108122013-08-03 David S. Miller <davem@davemloft.net>
10813
10814 * po/ko.po: Update Korean translation from translation project.
10815
db24e684
DM
108162013-08-01 David S. Miller <davem@davemloft.net>
10817
10818 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10819 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10820 Bilka.
10821
f723285b
DM
108222013-07-30 David S. Miller <davem@davemloft.net>
10823
10824 * po/fr.po: Update French translation from translation project.
10825
3cbc52db
DM
108262013-07-28 David S. Miller <davem@davemloft.net>
10827
30bbc0cc
DM
10828 * po/cs.po: Update Czech translation from translation project.
10829
3cbc52db
DM
10830 * po/sv.po: Update Swedish translation from translation project.
10831
d492e6d0
DM
108322013-07-27 David S. Miller <davem@davemloft.net>
10833
f1a7f492
DM
10834 * po/eo.po: Update Esperanto translation from translation project.
10835
90e62a4a
DM
10836 * po/vi.po: Update Vietnamese translation from translation project.
10837
d492e6d0
DM
10838 * po/de.po: Update German translation from translation project.
10839
d4baa62d
DM
108402013-07-26 David S. Miller <davem@davemloft.net>
10841
641aa7b4
DM
10842 * po/bg.po: Update Bulgarian translation from translation project.
10843
d4baa62d
DM
10844 * po/nl.po: Update Dutch translation from translation project.
10845 * po/pl.po: Update Polish translation from translation project.
10846 * po/ru.po: Update Russian translation from translation project.
10847
61a9dcb9
DM
108482013-07-24 David S. Miller <davem@davemloft.net>
10849
10850 * po/libc.pot: Update.
10851
7b1f8b58
AZ
108522013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10853
10854 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10855 variable page size.
10856 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10857 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10858 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10859
a8fc7a03
AK
108602013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10861
10862 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10863
e4608715
CD
108642013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10865 Andreas Schwab <schwab@suse.de>
10866 Roland McGrath <roland@hack.frob.com>
10867 Joseph Myers <joseph@codesourcery.com>
10868 Carlos O'Donell <carlos@redhat.com>
10869
10870 [BZ #15755]
10871 * config.h.in: Define HAVE_PT_CHOWN.
10872 * config.make.in (build-pt-chown): New variable.
10873 * configure.in (--enable-pt_chown): New configure option.
10874 * configure: Regenerate.
10875 * login/Makefile: Include Makeconfig. Build pt_chown only if
10876 build-pt-chown is enabled.
10877 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10878 pt_chown to fix pty ownership.
10879 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10880 CLOSE_ALL_FDS.
10881 * manual/install.texi (Configuring and compiling): Mention
10882 --enable-pt_chown. Add @findex for grantpt.
10883 * INSTALL: Regenerate.
10884
da2d62df
DM
108852013-07-20 David S. Miller <davem@davemloft.net>
10886
10887 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10888 difference between 32-bit and 64-bit.
10889
d7e06450
CD
108902013-07-15 Carlos O'Donell <carlos@redhat.com>
10891
10892 [BZ #15711]
10893 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10894 Avoid system header dependency with -ffreestanding.
10895 ($(objpfx)bits/syscall%d): Likewise.
10896
f959cfd7
DM
108972013-07-13 David S. Miller <davem@davemloft.net>
10898
10899 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10900 underflows from atanl/atan2l due to bug 15319.
10901 (casinh_test_data): Likewise.
10902
c61f8513
DM
109032013-07-07 David S. Miller <davem@davemloft.net>
10904
10905 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10906
72c90ed0
JA
109072013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10908
10909 * sysdeps/i386/fpu/libm-test-ulps: Update.
10910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10911
52dfbe13
SP
109122013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10913
10914 * configure.in (--enable-lock-elision): Fix message text.
10915 * INSTALL: Regenerate.
10916 * configure: Regenerate.
10917
3f169543
AZ
109182013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10919
10920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10921
521c6785
AJ
109222013-07-03 Andreas Jaeger <aj@suse.de>
10923
10924 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10925 define.
10926 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10927 (ptrace_peeksiginfo_args): Add.
10928 (__ptrace_peeksiginfo_flags): Add.
10929 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10930 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10931 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10932
d2cc15cb
AM
109332013-07-03 Allan McRae <allan@archlinux.org>
10934
10935 * sysdeps/i386/fpu/libm-test-ulps: Update.
10936
3aaeeca7
DM
109372013-07-02 David S. Miller <davem@davemloft.net>
10938
10939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10940
5314ed1a
MT
109412013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10942
10943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10944
67338156
JM
109452013-07-02 Joseph Myers <joseph@codesourcery.com>
10946
10947 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10949
1717da59
AK
109502013-07-02 Andi Kleen <ak@linux.intel.com>
10951
10952 * config.h.in (ENABLE_LOCK_ELISION): Add.
10953 * configure.in (--enable-lock-elision): Add option.
10954 * manual/install.texi: Document --enable lock elision.
10955 * configure: Regenerate
10956 * INSTALL: Regenerate.
10957
1c81621c
L
109582013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10959
10960 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10961 SSE4.2 strcasecmp for libc.a.
10962 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10963
77f01ab5
JM
109642013-07-02 Joseph Myers <joseph@codesourcery.com>
10965
10966 [BZ #13304]
10967 * soft-fp/op-common.h (_FP_FMA): New macro.
10968 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10969 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10970 (_FP_MUL_MEAT_1_imm): ... here.
10971 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10972 (_FP_MUL_MEAT_1_wide): ... here.
10973 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10974 (_FP_MUL_MEAT_1_hard): ... here.
10975 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10976 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10977 (_FP_MUL_MEAT_2_wide): ... here.
10978 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10979 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10980 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10981 (_FP_MUL_MEAT_2_gmp): ... here.
10982 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10983 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10984 (_FP_MUL_MEAT_4_wide): ... here.
10985 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10986 (_FP_MUL_MEAT_4_gmp): ... here.
10987 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10988 (_FP_WFRACBITS_DW_S): Likewise.
10989 (_FP_WFRACXBITS_DW_S): Likewise.
10990 (_FP_HIGHBIT_DW_S): Likewise.
10991 (FP_FMA_S): Likewise.
10992 (_FP_FRAC_HIGH_DW_S): Likewise.
10993 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10994 (_FP_WFRACBITS_DW_D): Likewise.
10995 (_FP_WFRACXBITS_DW_D): Likewise.
10996 (_FP_HIGHBIT_DW_D): Likewise.
10997 (FP_FMA_D): Likewise.
10998 (_FP_FRAC_HIGH_DW_D): Likewise.
10999 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11000 (_FP_WFRACBITS_DW_E): Likewise.
11001 (_FP_WFRACXBITS_DW_E): Likewise.
11002 (_FP_HIGHBIT_DW_E): Likewise.
11003 (FP_FMA_E): Likewise.
11004 (_FP_FRAC_HIGH_DW_E): Likewise.
11005 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11006 (_FP_WFRACBITS_DW_Q): Likewise.
11007 (_FP_WFRACXBITS_DW_Q): Likewise.
11008 (_FP_HIGHBIT_DW_Q): Likewise.
11009 (FP_FMA_Q): Likewise.
11010 (_FP_FRAC_HIGH_DW_Q): Likewise.
11011 * soft-fp/fmasf4.c: New file.
11012 * soft-fp/fmadf4.c: Likewise.
11013 * soft-fp/fmatf4.c: Likewise.
11014
6308fd9a
LD
110152013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11016
11017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11018 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11019 Silvermont.
11020 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11021 macro.
11022 (index_Slow_SSE4_2): Likewise.
11023 (index_Prefer_PMINUB_for_stringop): Likewise.
11024 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11025 bit_Slow_SSE4_2 is set.
11026 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11027 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11028
89cd9569
RA
110292013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11030
11031 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11032 rtld_global._dl_hwcap2.
11033 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11034 POWER8.
11035 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11036 POWER8 feature descriptions defined in _dl_hwcap2.
11037 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11038 string handling for POWER8 feature bits.
11039 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11040 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11041 _dl_powerpc_cap_flags.
11042 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11043 * sysdeps/powerpc/rtld-global-offsets.sym
11044 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11045 _dl_hwcap2 in the rtld_global_ro structure.
11046
1ae8bfe0
RA
110472013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11048
11049 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11050 hardware capabilities in support of AT_HWCAP2.
11051 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11052 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11053 GLRO(dl_hwcap2).
11054 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11055 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11056 explicitly the unknown a_type display mechanism is used.
11057 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11058 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11059 struct member.
11060 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11061 to macro prototype for AT_HWCAP2 support.
11062 * sysdeps/i386/dl-procinfo.h: Likewise.
11063 * sysdeps/s390/dl-procinfo.h: Likewise.
11064 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11065 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11066 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11067 return -1 for unknown a_type display fallback.
11068 * sysdeps/sparc/dl-procinfo.h: Likewise.
11069 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11070 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11071
8fbec010
JM
110722013-06-28 Joseph Myers <joseph@codesourcery.com>
11073
11074 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11075 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11076
0432680e
PY
110772013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11078
11079 [BZ #12492]
11080 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11081 mprotect making __stack_prot writable.
11082
ce61a2ad
NF
110832013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11084 Joseph Myers <joseph@codesourcery.com>
11085
11086 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11087 as being properly aligned.
11088
f91f1c0f
MR
110892013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11090
3d0f5d0c
MR
11091 * dlfcn/modstatic5.c: New file.
11092 * dlfcn/tststatic5.c: New file.
11093 * dlfcn/Makefile (tests): Add tststatic5.
11094 (tests-static): Likewise.
11095 (modules-names): Add modstatic5.
11096 (tststatic5-ENV): New variable.
11097 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11098
f91f1c0f
MR
11099 [BZ #15022]
11100 * elf/dl-support.c (_dl_main_map): New variable.
11101 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11102 (_dl_nns, _dl_load_adds): Set to 1.
11103 (_dl_initial_searchlist): Refer to _dl_main_map.
11104 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11105 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11106 call to _dl_get_origin.
11107 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11108 around call_map.
11109 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11110 * dlfcn/modstatic3.c: New file.
11111 * dlfcn/tststatic3.c: New file.
11112 * dlfcn/tststatic4.c: New file.
11113 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11114 (tests-static): Likewise.
11115 (modules-names): Add modstatic3.
11116 (tststatic3-ENV, tststatic4-ENV): New variables.
11117 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11118 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11119
cbe7d24b
JM
111202013-06-26 Joseph Myers <joseph@codesourcery.com>
11121
11122 * configure.in (CC): Require GCC version 4.4 or later.
11123 * configure: Regenerated.
11124 * manual/install.texi (Tools for Compilation): Update GCC version
11125 requirement.
11126 * INSTALL: Regenerated.
11127
11b8a0e1
LD
111282013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11129
11130 [BZ #15674]
bb5bb87c
L
11131 * string/test-memcmp.c (check2): New.
11132 (main): Call check2.
11133
11b8a0e1
LD
11134 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11135
b0037103
MR
111362013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11137
11138 [BZ #15022]
11139 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11140 over to...
11141 (dl_open_worker) [!SHARED]: ... here.
11142
c18c701d
RA
111432013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11144
11145 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11146
1d17fa5f
RH
111472013-06-25 Richard Henderson <rth@redhat.com>
11148
11149 * locale/programs/locarchive.c: Include <libc-internal.h>
11150
8fcb833a
JM
111512013-06-25 Joseph Myers <joseph@codesourcery.com>
11152
11153 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11154 trailing whitespace removed.
11155
17db6e8d
MF
111562013-06-24 Mike Frysinger <vapier@gentoo.org>
11157
11158 [BZ #10283]
17db6e8d
MF
11159 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11160 * locale/programs/locarchive.c: Include libc-mmap.h.
11161 (prepare_address_space): Take two new outputs (the mmap base and len).
11162 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11163 values.
11164 (create_archive): Declare new mmap base and len values for
11165 prepare_address_space, and store the result in ah.
11166 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11167 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11168 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11169 Declare new mmap base and len values for
11170 prepare_address_space, and store the result in new_ah.
11171 (open_archive): Declare new mmap base and len values for
11172 prepare_address_space, and store the result in ah.
11173 (close_archive): If ah->mmap_base is not NULL, use that and
11174 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11175 * sysdeps/generic/libc-mmap.h: New file.
11176
d605071e
MF
111772013-06-24 Mike Frysinger <vapier@gentoo.org>
11178
11179 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11180 (ALIGN_UP): Likewise.
11181 (PTR_ALIGN_DOWN): Likewise.
11182 (PTR_ALIGN_UP): Likewise.
11183
2f063a6e
RA
111842013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11185
11186 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11187 entry mapped to PPC_PLATFORM_POWER8.
11188 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11189 POWER8.
11190 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11191 (_dl_string_platform): Add case for exporting platform position for
11192 POWER8.
11193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11194 search path to sysdeps/powerpc/powerpc32/power8 directory.
11195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11196 search path to sysdeps/powerpc/powerpc64/power8 directory.
11197 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11198 power7 directories.
11199 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11200 power7 directories.
11201
a31ee4b3
SP
112022013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11203
a74ca98f
SP
11204 * INSTALL: Regenerate.
11205
a31ee4b3
SP
11206 * nscd/connections.c (nscd_init): Fix comment.
11207
695c378f
JM
112082013-06-22 Joseph Myers <joseph@codesourcery.com>
11209
d8412221
JM
11210 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11211
695c378f
JM
11212 [BZ #15667]
11213 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11214 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11215
d1d54715
MR
112162013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11217
11218 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11219 DL_DST_REQ_STATIC.
11220 (DL_DST_REQ_STATIC): Remove macro.
11221
8fdda7af
JM
112222013-06-21 Joseph Myers <joseph@codesourcery.com>
11223
11224 [BZ #7006]
11225 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11226 with a shift of 0 bits.
11227
f3bc5e5a
MR
112282013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11229
11230 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11231 $(tststatic-ENV).
11232
be09e8c9
KK
112332013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11234
11235 [BZ #15655]
11236 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11237
85c2e611
AZ
112382013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11239
11240 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11241 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11242 accepts -fno-tree-loop-distribute-patterns.
11243 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11244 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11245 recursive call.
11246 * string/memset.c (memset): Likewise.
11247 * string/test-memmove.c (simple_memmove): Disable loop transformation
11248 to library calls.
11249 * string/test-memset.c (simple_memset): Likewise.
11250 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11251 * benchtests/bench-memset.c (simple_memset): Likewise.
11252 * configure: Regenerated.
11253
c91e0825
JM
112542013-06-20 Joseph Myers <joseph@codesourcery.com>
11255
b8c792af
JM
11256 * math/test-misc.c (main): Ignore fesetround failure when failures
11257 of subsequent rounding tests would be ignored.
11258
c91e0825
JM
11259 [BZ #15654]
11260 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11261 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11262 * math/fegetenv.c (__fegetenv): Return 0.
11263 * math/fegetexcept.c (fegetexcept): Return 0.
11264 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11265 FE_TONEAREST.
11266 * math/feholdexcpt.c (feholdexcept): Return 0.
11267 * math/fesetenv.c (__fesetenv): Return 0.
11268 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11269 argument FE_TONEAREST.
11270 * math/feupdateenv.c (__feupdateenv): Return 0.
11271 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11272
bfcacbde
RM
112732013-06-18 Roland McGrath <roland@hack.frob.com>
11274
11275 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11276 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11277 ($(objpfx)rtld-%.os rules): Use them.
11278
e55a9b25
AZ
112792013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11280
11281 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11282 fields.
11283
346d65b3
RM
112842013-06-17 Roland McGrath <roland@hack.frob.com>
11285
12086fb4
RM
11286 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11287 length of target pattern, then descending length of dependency pattern.
11288 * configure.in (AWK): Require gawk 3.1.2 or newer.
11289 * manual/install.texi (Tools for Compilation): Say that we do.
11290 * configure: Regenerated.
11291
346d65b3
RM
11292 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11293 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11294 * scripts/sysd-rules.awk: ... this new script.
11295 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11296 than a glob-style pattern.
11297
1a846317
JM
112982013-06-17 Joseph Myers <joseph@codesourcery.com>
11299
11300 * math/test-misc.c (main): Do not treat incorrectly rounded
11301 conversions as failure unless ROUNDING_TESTS passes.
11302
8fc75e6f
JM
113032013-06-15 Joseph Myers <joseph@codesourcery.com>
11304
3711a167
JM
11305 [BZ #15631]
11306 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11307 restore exception state around main square root computation, then
11308 check for inexactness explicitly.
11309
8fc75e6f
JM
11310 * math/libm-test.inc (fma_test_data): Add another test.
11311
61dd6208
SP
113122013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11313
adf23d2c
SP
11314 * manual/threads.texi (Non-POSIX Extensions): New document
11315 node. Document pthread_getattr_default_np and
11316 pthread_setattr_default_np.
11317
61dd6208
SP
11318 * Versions.def (libpthread): Add GLIBC_2.18.
11319 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11321 Likewise.
11322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11323 Likewise.
11324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11325 Likewise.
11326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11327 Likewise.
11328 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11329 Likewise.
11330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11331 Likewise.
11332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11333 Likewise.
11334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11335 Likewise.
11336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11337 Likewise.
11338
d086fc7b
LD
113392013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11340
11341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11342 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11343
747ef469
SP
113442013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11345 H.J. Lu <hjl.tools@gmail.com>
11346
11347 [BZ #15627]
11348 * sysdeps/x86_64/rtld-memset.c: Remove file.
11349 * sysdeps/x86_64/rtld-memset.S: New file.
11350
1b2feed2
JM
113512013-06-14 Joseph Myers <joseph@codesourcery.com>
11352
11353 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11354 (test_in_one_mode): Take arguments for whether the rounding mode
11355 is supported for each floating-point type.
11356 (do_test): Pass new arguments to test_in_one_mode using
11357 ROUNDING_TESTS.
11358
a58ad3f8
RM
113592013-06-13 Roland McGrath <roland@hack.frob.com>
11360
11361 * posix/tst-waitid.c (do_test): Distinguish different instances of
11362 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11363 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11364 before entering the kernel for waitpid.
11365
c204ab28
SP
113662013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11367
11368 * NEWS: Fix note on clock function precision. Text by Roland
11369 McGrath.
11370
f4a29fba
RM
113712013-06-13 Roland McGrath <roland@hack.frob.com>
11372
11373 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11374 it into place only when and if the sanity check passes.
11375
1f24b9ad
JM
113762013-06-13 Joseph Myers <joseph@codesourcery.com>
11377
11378 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11379 output for whether conversion result is exact. Take argument
11380 indicating whether type is IBM long double.
11381 (round_for_all): Change need_exact field to ibm_ld.
11382 * stdlib/tst-strtod-round.c (struct exactness): New type.
11383 (struct test): Change bool ld_ok field to struct exactness exact.
11384 (TEST): Update all definitions for change to field.
11385 (tests): Regenerate array contents.
11386 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11387 field value. Check for IBM long double here.
11388 (do_test): Update calls to test_in_one_mode.
11389
58206c68
SP
113902013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11391
11392 [BZ #12515]
11393 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11394 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11395
2d6f4c5b 113962013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11397
11398 [BZ #15605]
11399 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11400 generated by the compiler on loop optimizations.
11401 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11402 general definitions.
11403
94f2c076
JM
114042013-06-12 Joseph Myers <joseph@codesourcery.com>
11405
11406 * math/bug-nextafter.c: Include <math-tests.h>.
11407 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11408 the relevant type.
11409 * math/bug-nexttoward.c: Include <math-tests.h>.
11410 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11411 the relevant type.
11412 * math/test-misc.c: Include <math-tests.h>.
11413 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11414 the relevant type.
11415
e0e50a0a
AJ
114162013-06-12 Andreas Jaeger <aj@suse.de>
11417
11418 * po/ia.po: Update Interlingua translation from translation
11419 project.
11420
25061094
SP
114212013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11422
11423 * include/fenv.h: Include stdbool.h.
11424 (struct rm_ctx): New structure.
11425 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11426 Define macro.
11427 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11428 (SET_RESTORE_ROUNDF): Likewise.
11429 (SET_RESTORE_ROUNDL): Likewise.
11430 (SET_RESTORE_ROUND_NOEX): Likewise.
11431 (SET_RESTORE_ROUND_NOEXF): Likewise.
11432 (SET_RESTORE_ROUND_NOEXL): Likewise.
11433 (SET_RESTORE_ROUND_53BIT): Likewise.
11434 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11435 (libc_feresetround_noexf_ctx): Likewise.
11436 (libc_feresetround_noexl_ctx): Likewise.
11437 (libc_feholdsetround_53bit_ctx): Likewise.
11438 (libc_feresetround_53bit_ctx): Likewise.
11439 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11440 (libc_feholdexcept_setround_sse_ctx): New function.
11441 (libc_fesetenv_sse_ctx): Likewise.
11442 (libc_feupdateenv_sse_ctx): Likewise.
11443 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11444 (libc_feholdexcept_setround_387_ctx): Likewise.
11445 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11446 (libc_feholdsetround_387_prec_ctx): Likewise.
11447 (libc_feholdsetround_387_ctx): Likewise.
11448 (libc_feholdsetround_387_53bit_ctx): Likewise.
11449 (libc_feholdsetround_sse_ctx): Likewise.
11450 (libc_feresetround_sse_ctx): Likewise.
11451 (libc_feresetround_387_ctx): Likewise.
11452 (libc_feupdateenv_387_ctx): Likewise.
11453 (libc_feholdexcept_setroundf_ctx): Define macro.
11454 (libc_fesetenvf_ctx): Likewise.
11455 (libc_feupdateenvf_ctx): Likewise.
11456 (libc_feholdsetroundf_ctx): Likewise.
11457 (libc_feresetroundf_ctx): Likewise.
11458 (libc_feholdexcept_setround_ctx): Likewise.
11459 (libc_fesetenv_ctx): Likewise.
11460 (libc_feupdateenv_ctx): Likewise.
11461 (libc_feholdsetround_ctx): Likewise.
11462 (libc_feresetround_ctx): Likewise.
11463 (libc_feholdexcept_setroundl_ctx): Likewise.
11464 (libc_feupdateenvl_ctx): Likewise.
11465 (libc_feholdsetroundl_ctx): Likewise.
11466 (libc_feresetroundl_ctx): Likewise.
11467 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11468 (libc_feresetround_53bit_ctx): Likewise.
11469
59b30555
SP
114702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11471
11472 * locale/iso-639.def: Convert to UTF-8.
11473
f1d73d30
JM
114742013-06-11 Joseph Myers <joseph@codesourcery.com>
11475
11476 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11477 (EXCEPTION_TESTS_double): Likewise.
11478 (EXCEPTION_TESTS_long_double): Likewise.
11479 (EXCEPTION_TESTS): Likewise.
11480 * math/libm-test.inc (test_exceptions): Only test exceptions if
11481 EXCEPTION_TESTS (FLOAT).
11482
94aca5e7
SP
114832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11484
11485 * benchtests/Makefile (string-bench): Add strcpy_chk and
11486 stpcpy_chk.
11487 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11488 * benchtests/bench-stpcpy_chk.c: New file.
11489 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11490 * benchtests/bench-strcpy_chk.c: New file.
11491 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11492 code.
11493 (do_test): Likewise.
11494
fac0c5f2
RA
114952013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11496
11497 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11498 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11499 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11500 with tabs where appropriate.
11501 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11502 dl-procinfo.h.
11503 [PPC_PLATFORM_PPC440]: Likewise.
11504 [PPC_PLATFORM_PPC464]: Likewise.
11505 [PPC_PLATFORM_PPC476]: Likewise.
11506 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11507 ppc464, and ppc476 platform strings merging from ports/
11508 dl-procinfo.h.
11509
f22bc486
AS
115102013-06-11 Andreas Schwab <schwab@suse.de>
11511
11512 [BZ #14991]
11513 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11514 (from_ucs4_idx): Regenerate.
11515 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11516 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11517 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11518 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11519 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11520 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11521 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11522 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11523 from FROM_LOOP and TO_LOOP specific macros.
11524 (BODY): Handle combining characters.
11525 * iconvdata/BIG5HKSCS.irreversible: Update.
11526 * iconvdata/BIG5HKSCS.precomposed: New file.
11527 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11528 characters.
11529 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11530
c1f75dc3
SP
115312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11532
4eacded2
SP
11533 * include/sys/time.h: Fix indentation and add copyright header.
11534
fec799f8
SP
11535 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11536 (do_test): Likewise.
11537 * string/test-memchr.c (do_one_test): Likewise.
11538 (do_test): Likewise.
11539 * string/test-memcmp.c (do_one_test): Likewise.
11540 (do_test): Likewise.
11541 * string/test-memcpy.c (do_one_test): Likewise.
11542 (do_test): Likewise.
11543 * string/test-memmem.c (do_one_test): Likewise.
11544 (do_test): Likewise.
11545 (do_random_tests): Likewise.
11546 * string/test-memmove.c (do_one_test): Likewise.
11547 (do_test): Likewise.
11548 * string/test-memset.c (do_one_test): Likewise.
11549 (do_test): Likewise.
11550 * string/test-rawmemchr.c (do_one_test): Likewise.
11551 (do_test): Likewise.
11552 * string/test-strcasecmp.c (do_one_test): Likewise.
11553 (do_test): Likewise.
11554 * string/test-strcasestr.c (do_one_test): Likewise.
11555 (do_test): Likewise.
11556 * string/test-strcat.c (do_one_test): Likewise.
11557 (do_test): Likewise.
11558 * string/test-strchr.c (do_one_test): Likewise.
11559 (do_test): Likewise.
11560 * string/test-strcmp.c (do_one_test): Likewise.
11561 (do_test): Likewise.
11562 * string/test-strcpy.c (do_one_test): Likewise.
11563 (do_test): Likewise.
11564 * string/test-string.h: Likewise.
11565 (test_init): Likewise.
11566 * string/test-strlen.c (do_one_test): Likewise.
11567 (do_test): Likewise.
11568 * string/test-strncasecmp.c (do_one_test): Likewise.
11569 (do_test): Likewise.
11570 * string/test-strncat.c (do_one_test): Likewise.
11571 (do_test): Likewise.
11572 * string/test-strncmp.c (do_one_test): Likewise.
11573 (do_test_limit): Likewise.
11574 (do_test): Likewise.
11575 * string/test-strncpy.c (do_one_test): Likewise.
11576 (do_test): Likewise.
11577 * string/test-strnlen.c (do_one_test): Likewise.
11578 (do_test): Likewise.
11579 * string/test-strpbrk.c (do_one_test): Likewise.
11580 (do_test): Likewise.
11581 * string/test-strrchr.c (do_one_test): Likewise.
11582 (do_test): Likewise.
11583 * string/test-strspn.c (do_one_test): Likewise.
11584 (do_test): Likewise.
11585 * string/test-strstr.c (do_one_test): Likewise.
11586 (do_test): Likewise.
11587
97020474
SP
11588 * benchtests/Makefile (string-bench): Add string benchmarks.
11589 * benchtests/bench-bcopy-ifunc.c: New file.
11590 * benchtests/bench-bcopy.c: New file.
11591 * benchtests/bench-bzero-ifunc.c: New file.
11592 * benchtests/bench-bzero.c: New file.
11593 * benchtests/bench-memccpy-ifunc.c: New file.
11594 * benchtests/bench-memccpy.c: New file.
11595 * benchtests/bench-memchr-ifunc.c: New file.
11596 * benchtests/bench-memchr.c: New file.
11597 * benchtests/bench-memcmp-ifunc.c: New file.
11598 * benchtests/bench-memcmp.c: New file.
11599 * benchtests/bench-memmem-ifunc.c: New file.
11600 * benchtests/bench-memmem.c: New file.
11601 * benchtests/bench-memmove-ifunc.c: New file.
11602 * benchtests/bench-memmove.c: New file.
11603 * benchtests/bench-mempcpy-ifunc.c: New file.
11604 * benchtests/bench-mempcpy.c: New file.
11605 * benchtests/bench-memset-ifunc.c: New file.
11606 * benchtests/bench-memset.c: New file.
11607 * benchtests/bench-rawmemchr-ifunc.c: New file.
11608 * benchtests/bench-rawmemchr.c: New file.
11609 * benchtests/bench-stpcpy-ifunc.c: New file.
11610 * benchtests/bench-stpcpy.c: New file.
11611 * benchtests/bench-stpncpy-ifunc.c: New file.
11612 * benchtests/bench-stpncpy.c: New file.
11613 * benchtests/bench-strcasecmp-ifunc.c: New file.
11614 * benchtests/bench-strcasecmp.c: New file.
11615 * benchtests/bench-strcasestr-ifunc.c: New file.
11616 * benchtests/bench-strcasestr.c: New file.
11617 * benchtests/bench-strcat-ifunc.c: New file.
11618 * benchtests/bench-strcat.c: New file.
11619 * benchtests/bench-strchr-ifunc.c: New file.
11620 * benchtests/bench-strchr.c: New file.
11621 * benchtests/bench-strchrnul-ifunc.c: New file.
11622 * benchtests/bench-strchrnul.c: New file.
11623 * benchtests/bench-strcmp-ifunc.c: New file.
11624 * benchtests/bench-strcmp.c: New file.
11625 * benchtests/bench-strcpy-ifunc.c: New file.
11626 * benchtests/bench-strcpy.c: New file.
11627 * benchtests/bench-strcspn-ifunc.c: New file.
11628 * benchtests/bench-strcspn.c: New file.
11629 * benchtests/bench-strlen-ifunc.c: New file.
11630 * benchtests/bench-strlen.c: New file.
11631 * benchtests/bench-strncasecmp-ifunc.c: New file.
11632 * benchtests/bench-strncasecmp.c: New file.
11633 * benchtests/bench-strncat-ifunc.c: New file.
11634 * benchtests/bench-strncat.c: New file.
11635 * benchtests/bench-strncmp-ifunc.c: New file.
11636 * benchtests/bench-strncmp.c: New file.
11637 * benchtests/bench-strncpy-ifunc.c: New file.
11638 * benchtests/bench-strncpy.c: New file.
11639 * benchtests/bench-strnlen-ifunc.c: New file.
11640 * benchtests/bench-strnlen.c: New file.
11641 * benchtests/bench-strpbrk-ifunc.c: New file.
11642 * benchtests/bench-strpbrk.c: New file.
11643 * benchtests/bench-strrchr-ifunc.c: New file.
11644 * benchtests/bench-strrchr.c: New file.
11645 * benchtests/bench-strspn-ifunc.c: New file.
11646 * benchtests/bench-strspn.c: New file.
11647 * benchtests/bench-strstr-ifunc.c: New file.
11648 * benchtests/bench-strstr.c: New file.
11649
c1f75dc3
SP
11650 * benchtests/Makefile: Disable parallel execution of targets.
11651 (string-bench): Add memcpy.
11652 (benchset): New variable to store a list of benchmark sets.
11653 (bench-func): Renamed from bench.
11654 (bench-set): New target.
11655 (bench): Depend on bench-func and bench-set.
11656 * benchtests/README: Add section on benchmark sets.
11657 * benchtests/bench-memcpy-ifunc.c: New file.
11658 * benchtests/bench-memcpy.c: New file.
11659 * benchtests/bench-string.h: New file.
11660
50fd745b
AS
116612013-06-11 Andreas Schwab <schwab@suse.de>
11662
11663 [BZ #15577]
11664 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11665 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11666 values in the triple.
11667 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11668 terminator in the group key.
11669
3ee7e9fe
AJ
116702013-06-11 Andreas Jaeger <aj@suse.de>
11671
11672 * po/zh_TW.po: Update Chinese (traditional) translation from
11673 translation project.
11674
89fb6835
SP
116752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11676
11677 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11678 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11679 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11680 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11681 (clock_getcpuclockid): Likewise.
11682 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11683 Add weak_alias and libc_hidden_def.
11684 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11685 * rt/clock_gettime.c (clock_gettime): Rename to
11686 __clock_gettime. Add weak_alias and libc_hidden_def.
11687 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11688 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11689 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11690 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11691 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11692 Likewise.
11693 * rt/clock_settime.c (clock_settime): Rename to
11694 __clock_settime. Add weak_alias and libc_hidden_def.
11695 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11696
0efa6f8b
JM
116972013-06-10 Joseph Myers <joseph@codesourcery.com>
11698
b8c61b4b
JM
11699 * mach/err_boot.sub: Remove trailing whitespace.
11700 * mach/err_ipc.sub: Likewise.
11701 * mach/err_mach.sub: Likewise.
11702
0efa6f8b
JM
11703 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11704 (ROUNDING_TESTS_double): Likewise.
11705 (ROUNDING_TESTS_long_double): Likewise.
11706 (ROUNDING_TESTS): Likewise.
11707 * math/libm-test.inc: Include <math-tests.h>.
11708 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11709 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11710 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11711 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11712
50b818bf
SP
117132013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11714
11715 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11716 of assigning.
11717
60d2f8f3
JM
117182013-06-08 Joseph Myers <joseph@codesourcery.com>
11719
4902d2c3
JM
11720 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11721 otherwise empty TRANS lines.
11722 * sysdeps/gnu/errlist.c: Regenerated.
11723
60d2f8f3
JM
11724 * catgets/gencat.c (error_print): Use (void) in function
11725 definition.
11726 * crypt/crypt_util.c (__init_des): Likewise.
11727 * crypt/speeds.c (Stop): Likewise.
11728 (main): Likewise.
11729 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11730 * inet/ruserpass.c (token): Likewise.
11731 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11732 * intl/localealias.c (extend_alias_table): Likewise.
11733 * intl/plural-exp.c (init_germanic_plural): Likewise.
11734 * libio/fcloseall.c (__fcloseall): Likewise.
11735 * libio/genops.c (_IO_flush_all): Likewise.
11736 (_IO_flush_all_linebuffered): Likewise.
11737 (_IO_cleanup): Likewise.
11738 (_IO_iter_begin): Likewise.
11739 (_IO_iter_end): Likewise.
11740 (_IO_list_lock): Likewise.
11741 (_IO_list_unlock): Likewise.
11742 (_IO_list_resetlock): Likewise.
11743 * libio/getchar.c (getchar): Likewise.
11744 * libio/getchar_u.c (getchar_unlocked): Likewise.
11745 * libio/getwchar.c (getwchar): Likewise.
11746 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11747 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11748 * login/getpt.c (__getpt): Likewise.
11749 * login/tst-utmp.c (main): Likewise.
11750 * malloc/hooks.c (__malloc_check_init): Likewise.
11751 * malloc/malloc.c (__malloc_stats): Likewise.
11752 * malloc/mtrace.c (tr_break): Likewise.
11753 (mtrace): Likewise.
11754 (muntrace): Likewise.
11755 * misc/fstab.c (endfsent): Likewise.
11756 * misc/getclktck.c (__getclktck): Likewise.
11757 * misc/getdtsz.c (__getdtablesize): Likewise.
11758 * misc/gethostid.c (gethostid): Likewise.
11759 * misc/getpagesize.c (__getpagesize): Likewise.
11760 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11761 (__get_nprocs): Likewise.
11762 (__get_phys_pages): Likewise.
11763 (__get_avphys_pages): Likewise.
11764 * misc/getttyent.c (getttyent): Likewise.
11765 (setttyent): Likewise.
11766 (endttyent): Likewise.
11767 * misc/getusershell.c (getusershell): Likewise.
11768 (endusershell): Likewise.
11769 (setusershell): Likewise.
11770 (initshells): Likewise.
11771 * misc/hsearch.c (__hdestroy): Likewise.
11772 * misc/sync.c (sync): Likewise.
11773 * misc/syslog.c (closelog_internal): Likewise.
11774 (closelog): Likewise.
11775 * misc/ttyslot.c (ttyslot): Likewise.
11776 * misc/vhangup.c (vhangup): Likewise.
11777 * posix/fork.c (__fork): Likewise.
11778 * posix/getegid.c (__getegid): Likewise.
11779 * posix/geteuid.c (__geteuid): Likewise.
11780 * posix/getgid.c (__getgid): Likewise.
11781 * posix/getpid.c (__getpid): Likewise.
11782 * posix/getppid.c (__getppid): Likewise.
11783 * posix/getuid.c (__getuid): Likewise.
11784 * posix/pause.c (pause): Likewise.
11785 * posix/setpgrp.c (setpgrp): Likewise.
11786 * posix/setsid.c (__setsid): Likewise.
11787 * posix/test-vfork.c (noop): Likewise.
11788 * resolv/gethnamaddr.c (_endhtent): Likewise.
11789 (_gethtent): Likewise.
11790 (ht_endhostent): Likewise.
11791 (gethostent): Likewise.
11792 (dns_service): Likewise.
11793 * stdlib/drand48.c (drand48): Likewise.
11794 * stdlib/lrand48.c (lrand48): Likewise.
11795 * stdlib/mrand48.c (mrand48): Likewise.
11796 * stdlib/rand.c (rand): Likewise.
11797 * stdlib/random.c (__random): Likewise.
11798 * stdlib/setenv.c (clearenv): Likewise.
11799 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11800 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11801 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11802 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11803 (__get_nprocs): Likewise.
11804 (__get_phys_pages): Likewise.
11805 (__get_avphys_pages): Likewise.
11806 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11807 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11808 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11809 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11810 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11811 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11812 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11813 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11814 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11815 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11816 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11817 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11818 * sysdeps/posix/clock.c (clock): Likewise.
11819 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11820 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11821 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11822 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11823 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11824 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11825 (__get_nprocs_conf): Likewise.
11826 (__get_phys_pages): Likewise.
11827 (__get_avphys_pages): Likewise.
11828 * time/clock.c (clock): Likewise.
11829 * time/tzset.c (__tzname_max): Likewise.
11830
2e09a79a
JM
118312013-06-07 Joseph Myers <joseph@codesourcery.com>
11832
11833 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11834 (__bswap_32): Do not use "register".
11835 * crypt/crypt.c (_ufc_doit_r): Likewise.
11836 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11837 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11838 * gmon/gmon.c (__monstartup): Likewise.
11839 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11840 * hurd/hurdmalloc.c (more_memory): Likewise.
11841 (malloc): Likewise.
11842 (free): Likewise.
11843 (realloc): Likewise.
11844 (malloc_fork_prepare): Likewise.
11845 (malloc_fork_parent): Likewise.
11846 (malloc_fork_child): Likewise.
11847 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11848 (_svcauth_des): Likewise.
11849 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11850 * inet/inet_net.c (inet_network): Likewise.
11851 * inet/inet_netof.c (inet_netof): Likewise.
11852 * inet/rcmd.c (__validuser2_sa): Likewise.
11853 * io/fts.c (fts_open): Likewise.
11854 (fts_load): Likewise.
11855 (fts_close): Likewise.
11856 (fts_read): Likewise.
11857 (fts_children): Likewise.
11858 (fts_build): Likewise.
11859 (fts_stat): Likewise.
11860 (fts_sort): Likewise.
11861 (fts_alloc): Likewise.
11862 (fts_lfree): Likewise.
11863 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11864 (_IO_file_xsgetn): Likewise.
11865 (_IO_file_xsgetn_mmap): Likewise.
11866 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11867 (_IO_cookie_write): Likewise.
11868 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11869 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11870 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11871 * malloc/obstack.c (_obstack_begin): Likewise.
11872 (_obstack_begin_1): Likewise.
11873 (_obstack_newchunk): Likewise.
11874 (_obstack_allocated_p): Likewise.
11875 (obstack_free): Likewise.
11876 (_obstack_memory_used): Likewise.
11877 * misc/getttyent.c (getttynam): Likewise.
11878 (getttyent): Likewise.
11879 (skip): Likewise.
11880 (value): Likewise.
11881 * misc/getusershell.c (initshells): Likewise.
11882 * misc/syslog.c (__vsyslog_chk): Likewise.
11883 * misc/ttyslot.c (ttyslot): Likewise.
11884 * nis/nis_hash.c (__nis_hash): Likewise.
11885 * posix/fnmatch_loop.c (FCT): Likewise.
11886 * posix/getconf.c (print_all): Likewise.
11887 (main): Likewise.
11888 * posix/getopt.c (exchange): Likewise.
11889 * posix/glob.c (globfree): Likewise.
11890 (prefix_array): Likewise.
11891 (__glob_pattern_type): Likewise.
11892 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11893 (NS_GET32): Likewise.
11894 (NS_PUT16): Likewise.
11895 (NS_PUT32): Likewise.
11896 * resolv/gethnamaddr.c (getanswer): Likewise.
11897 (gethostbyname2): Likewise.
11898 (gethostbyaddr): Likewise.
11899 (_gethtent): Likewise.
11900 (_gethtbyname2): Likewise.
11901 (_gethtbyaddr): Likewise.
11902 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11903 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11904 * resolv/res_init.c (__res_vinit): Likewise.
11905 (net_mask): Likewise.
11906 * resolv/res_mkquery.c (outchar): Likewise.
11907 (PRINT): Likewise.
11908 * stdio-common/printf_fp.c (outchar): Likewise.
11909 (PRINT): Likewise.
11910 * stdio-common/printf_fphex.c (outchar): Likewise.
11911 (PRINT): Likewise.
11912 * stdio-common/printf_size.c (outchar): Likewise.
11913 (PRINT): Likewise.
11914 * stdio-common/test_rdwr.c (main): Likewise.
11915 * stdio-common/tfformat.c (matches): Likewise.
11916 * stdio-common/vfprintf.c (outchar): Likewise.
11917 (printf_unknown): Likewise.
11918 (buffered_vfprintf): Likewise.
11919 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11920 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11921 (ReadFile): Likewise.
11922 * stdlib/qsort.c (SWAP): Likewise.
11923 (_quicksort): Likewise.
11924 * stdlib/setenv.c (__add_to_environ): Likewise.
11925 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11926 * stdlib/strtol_l.c (__strtol_l): Likewise.
11927 * stdlib/tst-strtod.c (main): Likewise.
11928 * stdlib/tst-strtol.c (main): Likewise.
11929 * stdlib/tst-strtoll.c (main): Likewise.
11930 * string/bits/string2.h (__strcmp_cc): Likewise.
11931 (__strcmp_cg): Likewise.
11932 (__strcspn_c1): Likewise.
11933 (__strcspn_c2): Likewise.
11934 (__strcspn_c3): Likewise.
11935 (__strspn_c1): Likewise.
11936 (__strspn_c2): Likewise.
11937 (__strspn_c3): Likewise.
11938 (__strsep_1c): Likewise.
11939 (__strsep_2c): Likewise.
11940 (__strsep_3c): Likewise.
11941 * string/memccpy.c (__memccpy): Likewise.
11942 * string/stpcpy.c (__stpcpy): Likewise.
11943 * string/strcmp.c (strcmp): Likewise.
11944 * string/strrchr.c (strrchr): Likewise.
11945 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11946 Likewise.
11947 * sysdeps/mach/hurd/getcwd.c
11948 (_hurd_canonicalize_directory_name_internal): Likewise.
11949 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11950 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11951 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11952 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11953 Likewise, in both definitions.
11954 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11955 definitions.
11956 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11957 64] (__bswap_64): Likewise.
11958 * time/test_time.c (main): Likewise.
11959 * time/tzfile.c (__tzfile_read): Likewise.
11960 (__tzfile_compute): Likewise.
11961 * time/tzset.c (__tzset_parse_tz): Likewise.
11962 (tzset_internal): Likewise.
11963 (compute_change): Likewise.
11964 * wcsmbs/wcscat.c (__wcscat): Likewise.
11965 * wcsmbs/wcschr.c (wcschr): Likewise.
11966 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11967 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11968 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11969 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11970 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11971 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11972 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11973 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11974 * wcsmbs/wmemset.c (wmemset): Likewise.
11975
9e54314b
JM
119762013-06-06 Joseph Myers <joseph@codesourcery.com>
11977
11978 * scripts/config.guess: Update to version 2013-05-16.
11979 * scripts/config.sub: Update to version 2013-04-24.
11980 * scripts/install-sh: Update to version 2011-11-20.07.
11981 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11982 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11983
350635a5
OB
119842013-06-06 Ondřej Bílka <neleai@seznam.cz>
11985
11986 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11987 * elf/sln.c: Likewise.
11988 * hurd/hurd/ioctl.h: Likewise.
11989 * hurd/hurdmalloc.c: Likewise.
11990 * hurd/xattr.c: Likewise.
11991 * include/shlib-compat.h: Likewise.
11992 * inet/ruserpass.c: Likewise.
11993 * libio/iofgets_u.c: Likewise.
11994 * libio/iofgetws_u.c: Likewise.
11995 * locale/programs/ld-identification.c: Likewise.
11996 * locale/programs/ld-time.c: Likewise.
11997 * mach/msg-destroy.c: Likewise.
11998 * nss/nss_files/files-netgrp.c: Likewise.
11999 * resolv/res_data.c: Likewise.
12000 * soft-fp/op-1.h: Likewise.
12001 * soft-fp/op-2.h: Likewise.
12002 * soft-fp/op-4.h: Likewise.
12003 * soft-fp/op-common.h: Likewise.
12004 * stdio-common/printf_fphex.c: Likewise.
12005 * stdlib/strtod_l.c: Likewise.
12006 * sunrpc/rpc/clnt.h: Likewise.
12007 * sysdeps/generic/framestate.c: Likewise.
12008 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12009 * sysdeps/i386/bsd-setjmp.S: Likewise.
12010 * sysdeps/i386/__longjmp.S: Likewise.
12011 * sysdeps/i386/setjmp.S: Likewise.
12012 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12013 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12014 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12015 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12016 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12017 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12018 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12019 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12020 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12021 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12022 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12023 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12024 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12025 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12026 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12027 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12028 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12029 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12030 * sysdeps/ieee754/support.c: Likewise.
12031 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12032 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12033 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12034 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12035 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12036 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12037 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12038 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12039 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12040 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12041 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12042 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12043 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12044 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12045 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12046 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12047 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12049
44a988af
OB
120502013-06-05 Ondřej Bílka <neleai@seznam.cz>
12051
25506f09 12052 * posix/transbug.c: Remove executable mode.
44a988af 12053
9c84384c
JM
120542013-06-05 Joseph Myers <joseph@codesourcery.com>
12055
12056 * crypt/speeds.c: Remove trailing whitespace.
12057 * dlfcn/default.c: Likewise.
12058 * elf/ifuncdep2.c: Likewise.
12059 * elf/ifuncmain1.c: Likewise.
12060 * elf/ifuncmain1vis.c: Likewise.
12061 * elf/testobj.h: Likewise.
12062 * elf/tst-stackguard1.c: Likewise.
12063 * gmon/sys/gmon.h: Likewise.
12064 * hurd/hurdmsg.c: Likewise.
12065 * hurd/new-fd.c: Likewise.
12066 * hurd/ports-get.c: Likewise.
12067 * iconvdata/ibm1008_420.c: Likewise.
12068 * inet/tst-getni1.c: Likewise.
12069 * inet/tst-getni2.c: Likewise.
12070 * libio/ioungetc.c: Likewise.
12071 * libio/wfiledoalloc.c: Likewise.
12072 * manual/libm-err-tab.pl: Likewise.
12073 * math/w_dremf.c: Likewise.
12074 * misc/ftruncate.c: Likewise.
12075 * posix/bug-glob2.c: Likewise.
12076 * posix/tst-pcre.c: Likewise.
12077 * posix/wait4.c: Likewise.
12078 * resolv/README: Likewise.
12079 * resolv/res_debug.h: Likewise.
12080 * resolv/tst-inet_ntop.c: Likewise.
12081 * setjmp/bug269-setjmp.c: Likewise.
12082 * soft-fp/extended.h: Likewise.
12083 * soft-fp/op-1.h: Likewise.
12084 * soft-fp/op-2.h: Likewise.
12085 * soft-fp/op-4.h: Likewise.
12086 * soft-fp/op-8.h: Likewise.
12087 * soft-fp/testit.c: Likewise.
12088 * stdio-common/bug16.c: Likewise.
12089 * stdlib/random.c: Likewise.
12090 * sunrpc/rpcsvc/rquota.x: Likewise.
12091 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12092 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12093 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12094 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12095 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12096 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12097 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12098 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12099 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12100 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12101 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12102 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12103 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12104 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12105 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12106 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12107 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12108 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12109 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12110 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12111 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12112 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12113 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12114 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12115 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12116 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12117 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12118 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12119 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12120 * sysdeps/ieee754/s_lib_version.c: Likewise.
12121 * sysdeps/mach/hurd/check_fds.c: Likewise.
12122 * sysdeps/mach/hurd/getsockname.c: Likewise.
12123 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12124 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12125 * sysdeps/powerpc/bits/link.h: Likewise.
12126 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12127 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12128 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12129 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12130 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12131 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12132 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12133 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12134 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12135 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12136 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12137 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12138 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12139 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12140 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12141 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12142 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12143 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12144 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12145 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12146 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12147 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12148 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12149 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12150 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12151 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12152 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12153 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12154 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12155 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12156 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12157 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12158 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12159 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12160 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12161 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12162 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12163 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12164 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12165 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12166 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12167 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12168 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12169 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12170 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12171 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12172 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12173 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12174 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12175 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12176 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12177 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12178 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12179 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12180 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12181 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12182 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12183 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12184 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12185 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12186 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12187 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12188 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12189 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12190 * sysdeps/powerpc/sysdep.h: Likewise.
12191 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12192 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12193 * sysdeps/sh/dl-trampoline.S: Likewise.
12194 * sysdeps/sh/memset.S: Likewise.
12195 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12196 * sysdeps/sh/strlen.S: Likewise.
12197 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12198 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12199 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12200 * sysdeps/sparc/sparc32/rem.S: Likewise.
12201 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12202 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12203 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12204 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12205 * sysdeps/sparc/sparc32/urem.S: Likewise.
12206 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12207 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12208 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12209 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12210 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12211 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12212 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12213 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12214 * sysdeps/unix/bsd/times.c: Likewise.
12215 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12216 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12220 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12221 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12222 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12223 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12224 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12225 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12226 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12227 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12228 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12229 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12230 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12231 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12232 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12233 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12234 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12235 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12236 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12237 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12238 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12239 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12240 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12241 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12242 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12243 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12244 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12245 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12246 * sysdeps/x86_64/strcspn.S: Likewise.
12247
869378a5
RA
122482013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12249
12250 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12251 generated file. Regenerate properly from gen-translit.pl.
12252 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12253 locale/C-translit.h.
12254
840e2943
AS
122552013-06-05 Andreas Schwab <schwab@suse.de>
12256
12257 [BZ #15100]
12258 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12259 week as 6 instead of -1.
12260 * time/tst-strptime.c (day_tests): Add test case.
12261
4c60cb0c
SP
122622013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12263
12264 * sysdeps/generic/math_private.h
12265 (libc_feholdexcept_setround_53bit): Replace with
12266 libc_feholdsetround_53bit.
12267 (libc_feupdateenv_53bit): Replace with
12268 libc_feresetround_53bit.
12269 (SET_RESTORE_ROUND_53BIT): Adjust.
12270
d180203e
SP
122712013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12272
96df079a
SP
12273 * string/test-strchrnul.c: Add copyright header.
12274
d180203e
SP
12275 * posix/tst-getaddrinfo4.c: Increase test timeout.
12276
8b0ccb2d
CD
122772013-06-03 Carlos O'Donell <carlos@redhat.com>
12278
12279 [BZ #15536]
12280 * math/libm-test.inc (MAX_EXP): Remove
12281 (MIN_EXP): Define.
12282 (ulp): Use MIN_EXP - MANT_DIG.
12283 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12284
3b3c4d40
CD
122852013-05-31 Carlos O'Donell <carlos@redhat.com>
12286
12287 * po/be.po: Revert last change.
12288 * po/zh_CN.po: Likewise.
12289 * po/header.pot: Likewise.
12290
fab7ce3f
JM
122912013-05-31 Joseph Myers <joseph@codesourcery.com>
12292
12293 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12294 link-libc-deps to empty as target-specific variable.
12295 * Makerules (link-libc-args): New variable.
12296 (libc-for-link): Likewise.
12297 (link-libc-deps): Likewise.
12298 (lib%.so): Depend on $(link-libc-deps). Link with
12299 $(link-libc-args).
12300 (build-module): Link with $(link-libc-args).
12301 (build-module-asneeded): Likewise.
12302 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12303 list of objects.
12304 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12305 target-specific variable.
12306 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12307 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12308 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12309 libc.
12310 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12311 libc and ld.so.
12312 ($(objpfx)libpcprofile.so): Likewise.
12313 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12314 libc_nonshared.a.
12315 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12316 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12317 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12318 $(link-libc-deps).
12319 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12320 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12321 * login/Makefile ($(objpfx)libutil.so): Likewise.
12322 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12323 * math/Makefile ($(objpfx)libm.so): Likewise.
12324 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12325 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12326 variable instead of depending directly on libc.
12327 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12328 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12329 $(link-libc-deps).
12330 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12331 libc.
12332 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12333 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12334 ($(objpfx)libanl.so): Likewise.
12335 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12336 ld.so.
12337 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12338 $(link-libc-deps).
12339 * sysdeps/i386/fpu/Makefile: Remove file.
12340 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12341 ($(objpfx)libm.so): Remove dependency on ld.so.
12342
eca5920c
PF
123432013-05-30 Patsy Franklin <pfrankli@redhat.com>
12344
12345 [BZ # 15553]
12346 * nis/yp_xdr.c (XDRMAXNAME): Define.
12347 (XDRMAXRECORD): Define.
12348 (xdr_domainname): Use XDRMAXNAME.
12349 (xdr_mapname): Likewise.
12350 (xdr_peername): Likewise.
12351 (xdr_keydat): Use XDRMAXRECORD.
12352 (xdr_valdat): Likewise.
12353
123542013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12355
12356 [BZ #14256]
12357 * manual/errno.texi (ESTALE): Update to account for more than
12358 just NFS file systems.
12359 * sysdeps/gnu/errlist.c: Regenerated.
12360
b9375348
SP
123612013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12362
12363 [BZ #15465]
12364 * elf/Makefile (tests): Add tst-null-argv.
12365 (modules-names): Add tst-null-argv-lib.
12366 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12367 (tst-null-argv-ENV): Set environment for tst-null-argv.
12368 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12369 (RTLD_PROGNAME): New macro.
12370 * elf/tst-null-argv.c: New test case.
12371 * elf/tst-null-argv-lib.c: Library for test case.
12372 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12373 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12374 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12375 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12376 * elf/dl-init.c (call_init): Likewise.
12377 (_dl_init): Likewise.
12378 * elf/dl-load.c (print_search_path): Likewise.
12379 (_dl_map_object): Likewise.
12380 * elf/dl-lookup.c (do_lookup_x): Likewise.
12381 (add_dependency): Likewise.
12382 (_dl_lookup_symbol_x): Likewise.
12383 (_dl_debug_bindings): Likewise.
12384 * elf/dl-open.c (_dl_show_scope): Likewise.
12385 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12386 * elf/dl-version.c (match_symbol): Likewise.
12387 (_dl_check_map_versions): Likewise.
12388 * elf/rtld.c (dl_main): Likewise.
12389 (print_unresolved): Use RTLD_PROGNAME.
12390 (print_missing_version): Likewise.
12391 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12392 (elf_machine_rela): Likewise.
12393 * sysdeps/powerpc/powerpc32/dl-machine.c
12394 (__process_machine_rela): Likewise.
12395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12396 Likewise.
12397 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12398 Likewise.
12399 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12400 Likewise.
12401 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12402 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12403 Likewise.
12404 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12405 Likewise.
12406 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12407
8a9f20c8
CD
124082013-05-28 Carlos O'Donell <carlos@redhat.com>
12409
12410 * po/be.po: Add descriptive title.
12411 * po/zh_CN.po: Likewise.
12412 * po/header.pot: Likewise.
12413
0e60d68e
MF
124142013-05-28 Mike Frysinger <vapier@gentoo.org>
12415
12416 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12417 error message.
12418 (enlarge_archive): Likewise.
12419
56b672e9
BN
124202013-05-28 Ben North <ben@redfrontdoor.org>
12421
12422 * manual/arith.texi (frexp): It is the magnitude of the return
12423 value which lies in [0.5, 1), not the return value itself.
12424
5e056687
AZ
124252013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12426
12427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12428
2b66ef5d
TS
124292013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12430
528c2405
TS
12431 * stdio-common/bug26.c (main): Correct fscanf template.
12432
07b4c13d
TS
12433 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12434 declare _dl_skip_args.
12435
ec9dd97c
TS
12436 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12437 Don't declare.
12438
2b66ef5d
TS
12439 * manual/platform.texi: Add missing @end deftypefun.
12440
4f8dfe27
JM
124412013-05-24 Joseph Myers <joseph@codesourcery.com>
12442
0323d086
JM
12443 [BZ #15529]
12444 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12445 bit of mantissa of 2^16382.
12446 * math/libm-test.inc (hypot_test_data): Add more tests.
12447
dd4259b9
JM
12448 * math/libm-test.inc: Add drem and pow10 to list of tested
12449 functions.
12450 (pow10_test): New function.
12451 (drem_test): Likewise.
12452 (drem_test_tonearest): Likewise.
12453 (drem_test_towardzero): Likewise.
12454 (drem_test_downward): Likewise.
12455 (drem_test_upward): Likewise.
12456 (main): Call the new functions.
12457
4f8dfe27
JM
12458 * math/libm-test.inc (finite_test_data): Remove.
12459 (finite_test): Run tests from isfinite_test_data.
12460 (gamma_test_data): Remove.
12461 (gamma_test): Run tests from lgamma_test_data.
12462 * sysdeps/i386/fpu/libm-test-ulps: Update.
12463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12464
d116b7c4
AZ
124652013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12466
12467 * manual/platform.texi: Add PowerPC PPR function set documentation.
12468 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12469 implementation.
12470
e96e3767
CD
124712013-05-24 Carlos O'Donell <carlos@redhat.com>
12472
12473 * math/libm-test.inc (MAX_EXP): Define.
12474 (ULPDIFF): Define.
12475 (ulp): New function.
12476 (check_float_internal): Use ULPDIFF.
12477 (cpow_test): Disable failing test.
12478 (check_ulp): Test ulp() implemetnation.
12479 (main): Call check_ulp before starting tests.
12480
b679a606
JM
124812013-05-24 Joseph Myers <joseph@codesourcery.com>
12482
e8bdba36
JM
12483 * math/gen-libm-test.pl (generate_testfile): Do not handle
12484 START_DATA and END_DATA.
12485 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12486 END_DATA.
12487 (acos_tonearest_test_data): Likewise.
12488 (acos_towardzero_test_data): Likewise.
12489 (acos_downward_test_data): Likewise.
12490 (acos_upward_test_data): Likewise.
12491 (acosh_test_data): Likewise.
12492 (asin_test_data): Likewise.
12493 (asin_tonearest_test_data): Likewise.
12494 (asin_towardzero_test_data): Likewise.
12495 (asin_downward_test_data): Likewise.
12496 (asin_upward_test_data): Likewise.
12497 (asinh_test_data): Likewise.
12498 (atan_test_data): Likewise.
12499 (atanh_test_data): Likewise.
12500 (atan2_test_data): Likewise.
12501 (cabs_test_data): Likewise.
12502 (cacos_test_data): Likewise.
12503 (cacosh_test_data): Likewise.
12504 (carg_test_data): Likewise.
12505 (casin_test_data): Likewise.
12506 (casinh_test_data): Likewise.
12507 (catan_test_data): Likewise.
12508 (catanh_test_data): Likewise.
12509 (cbrt_test_data): Likewise.
12510 (ccos_test_data): Likewise.
12511 (ccosh_test_data): Likewise.
12512 (ceil_test_data): Likewise.
12513 (cexp_test_data): Likewise.
12514 (cimag_test_data): Likewise.
12515 (clog_test_data): Likewise.
12516 (clog10_test_data): Likewise.
12517 (conj_test_data): Likewise.
12518 (copysign_test_data): Likewise.
12519 (cos_test_data): Likewise.
12520 (cos_tonearest_test_data): Likewise.
12521 (cos_towardzero_test_data): Likewise.
12522 (cos_downward_test_data): Likewise.
12523 (cos_upward_test_data): Likewise.
12524 (cosh_test_data): Likewise.
12525 (cosh_tonearest_test_data): Likewise.
12526 (cosh_towardzero_test_data): Likewise.
12527 (cosh_downward_test_data): Likewise.
12528 (cosh_upward_test_data): Likewise.
12529 (cpow_test_data): Likewise.
12530 (cproj_test_data): Likewise.
12531 (creal_test_data): Likewise.
12532 (csin_test_data): Likewise.
12533 (csinh_test_data): Likewise.
12534 (csqrt_test_data): Likewise.
12535 (ctan_test_data): Likewise.
12536 (ctan_tonearest_test_data): Likewise.
12537 (ctan_towardzero_test_data): Likewise.
12538 (ctan_downward_test_data): Likewise.
12539 (ctan_upward_test_data): Likewise.
12540 (ctanh_test_data): Likewise.
12541 (ctanh_tonearest_test_data): Likewise.
12542 (ctanh_towardzero_test_data): Likewise.
12543 (ctanh_downward_test_data): Likewise.
12544 (ctanh_upward_test_data): Likewise.
12545 (erf_test_data): Likewise.
12546 (erfc_test_data): Likewise.
12547 (exp_test_data): Likewise.
12548 (exp_tonearest_test_data): Likewise.
12549 (exp_towardzero_test_data): Likewise.
12550 (exp_downward_test_data): Likewise.
12551 (exp_upward_test_data): Likewise.
12552 (exp10_test_data): Likewise.
12553 (exp2_test_data): Likewise.
12554 (expm1_test_data): Likewise.
12555 (fabs_test_data): Likewise.
12556 (fdim_test_data): Likewise.
12557 (finite_test_data): Likewise.
12558 (floor_test_data): Likewise.
12559 (fma_test_data): Likewise.
12560 (fma_towardzero_test_data): Likewise.
12561 (fma_downward_test_data): Likewise.
12562 (fma_upward_test_data): Likewise.
12563 (fmax_test_data): Likewise.
12564 (fmin_test_data): Likewise.
12565 (fmod_test_data): Likewise.
12566 (fpclassify_test_data): Likewise.
12567 (frexp_test_data): Likewise.
12568 (gamma_test_data): Likewise.
12569 (hypot_test_data): Likewise.
12570 (ilogb_test_data): Likewise.
12571 (isfinite_test_data): Likewise.
12572 (isgreater_test_data): Likewise.
12573 (isgreaterequal_test_data): Likewise.
12574 (isinf_test_data): Likewise.
12575 (isless_test_data): Likewise.
12576 (islessequal_test_data): Likewise.
12577 (islessgreater_test_data): Likewise.
12578 (isnan_test_data): Likewise.
12579 (isnormal_test_data): Likewise.
12580 (issignaling_test_data): Likewise.
12581 (isunordered_test_data): Likewise.
12582 (j0_test_data): Likewise.
12583 (j1_test_data): Likewise.
12584 (jn_test_data): Likewise.
12585 (ldexp_test_data): Likewise.
12586 (lgamma_test_data): Likewise.
12587 (lrint_test_data): Likewise.
12588 (lrint_tonearest_test_data): Likewise.
12589 (lrint_towardzero_test_data): Likewise.
12590 (lrint_downward_test_data): Likewise.
12591 (lrint_upward_test_data): Likewise.
12592 (llrint_test_data): Likewise.
12593 (llrint_tonearest_test_data): Likewise.
12594 (llrint_towardzero_test_data): Likewise.
12595 (llrint_downward_test_data): Likewise.
12596 (llrint_upward_test_data): Likewise.
12597 (log_test_data): Likewise.
12598 (log10_test_data): Likewise.
12599 (log1p_test_data): Likewise.
12600 (log2_test_data): Likewise.
12601 (logb_test_data): Likewise.
12602 (logb_downward_test_data): Likewise.
12603 (lround_test_data): Likewise.
12604 (llround_test_data): Likewise.
12605 (modf_test_data): Likewise.
12606 (nearbyint_test_data): Likewise.
12607 (nextafter_test_data): Likewise.
12608 (nexttoward_test_data): Likewise.
12609 (pow_test_data): Likewise.
12610 (pow_tonearest_test_data): Likewise.
12611 (pow_towardzero_test_data): Likewise.
12612 (pow_downward_test_data): Likewise.
12613 (pow_upward_test_data): Likewise.
12614 (remainder_test_data): Likewise.
12615 (remainder_tonearest_test_data): Likewise.
12616 (remainder_towardzero_test_data): Likewise.
12617 (remainder_downward_test_data): Likewise.
12618 (remainder_upward_test_data): Likewise.
12619 (remquo_test_data): Likewise.
12620 (rint_test_data): Likewise.
12621 (rint_tonearest_test_data): Likewise.
12622 (rint_towardzero_test_data): Likewise.
12623 (rint_downward_test_data): Likewise.
12624 (rint_upward_test_data): Likewise.
12625 (round_test_data): Likewise.
12626 (scalb_test_data): Likewise.
12627 (scalbn_test_data): Likewise.
12628 (scalbln_test_data): Likewise.
12629 (signbit_test_data): Likewise.
12630 (sin_test_data): Likewise.
12631 (sin_tonearest_test_data): Likewise.
12632 (sin_towardzero_test_data): Likewise.
12633 (sin_downward_test_data): Likewise.
12634 (sin_upward_test_data): Likewise.
12635 (sincos_test_data): Likewise.
12636 (sinh_test_data): Likewise.
12637 (sinh_tonearest_test_data): Likewise.
12638 (sinh_towardzero_test_data): Likewise.
12639 (sinh_downward_test_data): Likewise.
12640 (sinh_upward_test_data): Likewise.
12641 (sqrt_test_data): Likewise.
12642 (tan_test_data): Likewise.
12643 (tan_tonearest_test_data): Likewise.
12644 (tan_towardzero_test_data): Likewise.
12645 (tan_downward_test_data): Likewise.
12646 (tan_upward_test_data): Likewise.
12647 (tanh_test_data): Likewise.
12648 (tgamma_test_data): Likewise.
12649 (trunc_test_data): Likewise.
12650 (y0_test_data): Likewise.
12651 (y1_test_data): Likewise.
12652 (yn_test_data): Likewise.
12653 (significand_test_data): Likewise.
12654
b679a606
JM
12655 * math/gen-libm-test.pl (@functions): Remove variable.
12656 (generate_testfile): Don't handle START and END lines.
12657 * math/libm-test.inc (START): New macro.
12658 (END): Likewise.
12659 (END_COMPLEX): Likewise.
12660 (acos_test): Use END macro without arguments.
12661 (acos_test_tonearest): Likewise.
12662 (acos_test_towardzero): Likewise.
12663 (acos_test_downward): Likewise.
12664 (acos_test_upward): Likewise.
12665 (acosh_test): Likewise.
12666 (asin_test): Likewise.
12667 (asin_test_tonearest): Likewise.
12668 (asin_test_towardzero): Likewise.
12669 (asin_test_downward): Likewise.
12670 (asin_test_upward): Likewise.
12671 (asinh_test): Likewise.
12672 (atan_test): Likewise.
12673 (atanh_test): Likewise.
12674 (atan2_test): Likewise.
12675 (cabs_test): Likewise.
12676 (cacos_test): Use END_COMPLEX macro without arguments.
12677 (cacosh_test): Likewise.
12678 (carg_test): Use END macro without arguments.
12679 (casin_test): Use END_COMPLEX macro without arguments.
12680 (casinh_test): Likewise.
12681 (catan_test): Likewise.
12682 (catanh_test): Likewise.
12683 (cbrt_test): Use END macro without arguments.
12684 (ccos_test): Use END_COMPLEX macro without arguments.
12685 (ccosh_test): Likewise.
12686 (ceil_test): Use END macro without arguments.
12687 (cexp_test): Use END_COMPLEX macro without arguments.
12688 (cimag_test): Use END macro without arguments.
12689 (clog_test): Use END_COMPLEX macro without arguments.
12690 (clog10_test): Likewise.
12691 (conj_test): Likewise.
12692 (copysign_test): Use END macro without arguments.
12693 (cos_test): Likewise.
12694 (cos_test_tonearest): Likewise.
12695 (cos_test_towardzero): Likewise.
12696 (cos_test_downward): Likewise.
12697 (cos_test_upward): Likewise.
12698 (cosh_test): Likewise.
12699 (cosh_test_tonearest): Likewise.
12700 (cosh_test_towardzero): Likewise.
12701 (cosh_test_downward): Likewise.
12702 (cosh_test_upward): Likewise.
12703 (cpow_test): Use END_COMPLEX macro without arguments.
12704 (cproj_test): Likewise.
12705 (creal_test): Use END macro without arguments.
12706 (csin_test): Use END_COMPLEX macro without arguments.
12707 (csinh_test): Likewise.
12708 (csqrt_test): Likewise.
12709 (ctan_test): Likewise.
12710 (ctan_test_tonearest): Likewise.
12711 (ctan_test_towardzero): Likewise.
12712 (ctan_test_downward): Likewise.
12713 (ctan_test_upward): Likewise.
12714 (ctanh_test): Likewise.
12715 (ctanh_test_tonearest): Likewise.
12716 (ctanh_test_towardzero): Likewise.
12717 (ctanh_test_downward): Likewise.
12718 (ctanh_test_upward): Likewise.
12719 (erf_test): Use END macro without arguments.
12720 (erfc_test): Likewise.
12721 (exp_test): Likewise.
12722 (exp_test_tonearest): Likewise.
12723 (exp_test_towardzero): Likewise.
12724 (exp_test_downward): Likewise.
12725 (exp_test_upward): Likewise.
12726 (exp10_test): Likewise.
12727 (exp2_test): Likewise.
12728 (expm1_test): Likewise.
12729 (fabs_test): Likewise.
12730 (fdim_test): Likewise.
12731 (finite_test): Likewise.
12732 (floor_test): Likewise.
12733 (fma_test): Likewise.
12734 (fma_test_towardzero): Likewise.
12735 (fma_test_downward): Likewise.
12736 (fma_test_upward): Likewise.
12737 (fmax_test): Likewise.
12738 (fmin_test): Likewise.
12739 (fmod_test): Likewise.
12740 (fpclassify_test): Likewise.
12741 (frexp_test): Likewise.
12742 (gamma_test): Likewise.
12743 (hypot_test): Likewise.
12744 (ilogb_test): Likewise.
12745 (isfinite_test): Likewise.
12746 (isgreater_test): Likewise.
12747 (isgreaterequal_test): Likewise.
12748 (isinf_test): Likewise.
12749 (isless_test): Likewise.
12750 (islessequal_test): Likewise.
12751 (islessgreater_test): Likewise.
12752 (isnan_test): Likewise.
12753 (isnormal_test): Likewise.
12754 (issignaling_test): Likewise.
12755 (isunordered_test): Likewise.
12756 (j0_test): Likewise.
12757 (j1_test): Likewise.
12758 (jn_test): Likewise.
12759 (ldexp_test): Likewise.
12760 (lgamma_test): Likewise.
12761 (lrint_test): Likewise.
12762 (lrint_test_tonearest): Likewise.
12763 (lrint_test_towardzero): Likewise.
12764 (lrint_test_downward): Likewise.
12765 (lrint_test_upward): Likewise.
12766 (llrint_test): Likewise.
12767 (llrint_test_tonearest): Likewise.
12768 (llrint_test_towardzero): Likewise.
12769 (llrint_test_downward): Likewise.
12770 (llrint_test_upward): Likewise.
12771 (log_test): Likewise.
12772 (log10_test): Likewise.
12773 (log1p_test): Likewise.
12774 (log2_test): Likewise.
12775 (logb_test): Likewise.
12776 (logb_test_downward): Likewise.
12777 (lround_test): Likewise.
12778 (llround_test): Likewise.
12779 (modf_test): Likewise.
12780 (nearbyint_test): Likewise.
12781 (nextafter_test): Likewise.
12782 (nexttoward_test): Likewise.
12783 (pow_test): Likewise.
12784 (pow_test_tonearest): Likewise.
12785 (pow_test_towardzero): Likewise.
12786 (pow_test_downward): Likewise.
12787 (pow_test_upward): Likewise.
12788 (remainder_test): Likewise.
12789 (remainder_test_tonearest): Likewise.
12790 (remainder_test_towardzero): Likewise.
12791 (remainder_test_downward): Likewise.
12792 (remainder_test_upward): Likewise.
12793 (remquo_test): Likewise.
12794 (rint_test): Likewise.
12795 (rint_test_tonearest): Likewise.
12796 (rint_test_towardzero): Likewise.
12797 (rint_test_downward): Likewise.
12798 (rint_test_upward): Likewise.
12799 (round_test): Likewise.
12800 (scalb_test): Likewise.
12801 (scalbn_test): Likewise.
12802 (scalbln_test): Likewise.
12803 (signbit_test): Likewise.
12804 (sin_test): Likewise.
12805 (sin_test_tonearest): Likewise.
12806 (sin_test_towardzero): Likewise.
12807 (sin_test_downward): Likewise.
12808 (sin_test_upward): Likewise.
12809 (sincos_test): Likewise.
12810 (sinh_test): Likewise.
12811 (sinh_test_tonearest): Likewise.
12812 (sinh_test_towardzero): Likewise.
12813 (sinh_test_downward): Likewise.
12814 (sinh_test_upward): Likewise.
12815 (sqrt_test): Likewise.
12816 (tan_test): Likewise.
12817 (tan_test_tonearest): Likewise.
12818 (tan_test_towardzero): Likewise.
12819 (tan_test_downward): Likewise.
12820 (tan_test_upward): Likewise.
12821 (tanh_test): Likewise.
12822 (tgamma_test): Likewise.
12823 (trunc_test): Likewise.
12824 (y0_test): Likewise.
12825 (y1_test): Likewise.
12826 (yn_test): Likewise.
12827 (significand_test): Likewise.
12828
bae143d2
OB
128292013-05-24 Ondřej Bílka <neleai@seznam.cz>
12830
12831 [BZ #15381]
12832 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12833
9323d39b
EM
128342013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12835
d4ea44a0 12836 [BZ #14894]
9323d39b
EM
12837 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12838 __ppc_mdoio and __ppc_mdoom.
12839 * manual/platform.texi: Document new functions __ppc_yield,
12840 __ppc_mdoio and __ppc_mdoom.
12841
13e23af7
CD
128422013-05-22 Carlos O'Donell <carlos@redhat.com>
12843
12844 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12845 (main): Mention "tls" pseudo-hwcap is legacy.
12846 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12847
351fe550
JM
128482013-05-22 Joseph Myers <joseph@codesourcery.com>
12849
12850 * math/gen-libm-test.pl (parse_args): Output only string of
12851 arguments as text for test name, not full call or descriptions of
12852 tests for extra outputs.
12853 (generate_testfile): Do not pass function name to parse_args.
12854 Generate this_func variable from START.
12855 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12856 field to arg_str.
12857 (struct test_ff_f_data): Likewise.
12858 (test_ff_f_data_nexttoward): Likewise.
12859 (struct test_fi_f_data): Likewise.
12860 (struct test_fl_f_data): Likewise.
12861 (struct test_if_f_data): Likewise.
12862 (struct test_fff_f_data): Likewise.
12863 (struct test_c_f_data): Likewise.
12864 (struct test_f_f1_data): Likewise. Remove field extra_name.
12865 (struct test_fF_f1_data): Likewise.
12866 (struct test_ffI_f1_data): Likewise.
12867 (struct test_c_c_data): Rename test_name field to arg_str.
12868 (struct test_cc_c_data): Likewise.
12869 (struct test_f_i_data): Likewise.
12870 (struct test_ff_i_data): Likewise.
12871 (struct test_f_l_data): Likewise.
12872 (struct test_f_L_data): Likewise.
12873 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12874 and extra2_name.
12875 (COMMON_TEST_SETUP): New macro.
12876 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12877 (COMMON_TEST_CLEANUP): Likewise.
12878 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12879 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12880 macros.
12881 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12882 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12883 macros.
12884 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12885 (RUN_TEST_fff_f): Take argument string. Call new setup and
12886 cleanup macros.
12887 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12888 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12889 macros.
12890 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12891 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12892 macros.
12893 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12894 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12895 cleanup macros.
12896 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12897 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12898 cleanup macros.
12899 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12900 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12901 cleanup macros.
12902 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12903 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12904 macros.
12905 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12906 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12907 macros.
12908 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12909 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12910 macros.
12911 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12912 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12913 cleanup macros.
12914 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12915 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12916 cleanup macros.
12917 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12918 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12919 macros.
12920 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12921 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12922 cleanup macros.
12923 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12924 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12925 macros.
12926 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12927 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12928 macros.
12929 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12930 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12931 cleanup macros.
12932 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12933
85118d4d
EBM
129342013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12935
12936 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12937 to _sifields.sigfault.
12938 (si_addr_lsb): Define new macro.
12939 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12940 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12941 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12942
7a44c18f
CD
129432013-05-03 Carlos O'Donell <carlos at redhat.com>
12944
12945 [BZ #15441]
12946 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12947 returns -1.
12948 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12949 null return -1.
12950 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12951 loading the domain.
12952
b50a7181
JM
129532013-05-22 Joseph Myers <joseph@codesourcery.com>
12954
12955 * math/gen-libm-test.pl (parse_args): Do not include expected
12956 result in test name.
12957 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12959 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12960 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12961 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12963
051063c8
SP
129642013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12965
3ce9e010
SP
12966 * benchtests/Makefile: Sort function entries.
12967
051063c8
SP
12968 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12969 tanh, asinh, acosh, atanh.
12970 * benchtests/acos-inputs: New file.
12971 * benchtests/acosh-inputs: New file.
12972 * benchtests/asin-inputs: New file.
12973 * benchtests/asinh-inputs: New file.
12974 * benchtests/atanh-inputs: New file.
12975 * benchtests/cosh-inputs: New file.
12976 * benchtests/log-inputs: New file.
12977 * benchtests/sinh-inputs: New file.
12978 * benchtests/tanh-inputs: New file.
12979
47c22455
DL
129802013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12981
12982 [BZ #15339]
12983 * posix/tst-getaddrinfo4.c: New test.
12984 * posix/Makefile (tests): Add it.
12985
3d04f5db
SP
129862013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12987
12988 [BZ #15339]
12989 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12990 when no services were used.
12991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12992 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12993
d5dd6189
AS
129942013-05-21 Andreas Schwab <schwab@suse.de>
12995
12996 [BZ #15014]
12997 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12998 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12999 successful.
13000 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13001 redundant variable declarations and reallocation of buffer when
13002 parsing as IPv6 address. Always set NSS status when called from
13003 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13004 buffer too small. Correct computation of needed size.
13005 * nss/Makefile (tests): Add test-digits-dots.
13006 * nss/test-digits-dots.c: New test.
13007
fef94eab
SP
130082013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13009
13010 * benchtests/Makefile: Remove instructions for adding
13011 benchmark tests.
13012 * benchtests/README: New file to explain how to execute and
13013 enhance the benchmark tests.
13014
e39adf43
AS
130152013-05-21 Andreas Schwab <schwab@suse.de>
13016
13017 [BZ #15493]
13018 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13019 * setjmp/tst-sigsetjmp.c: New test.
13020
b2b671b6
OB
130212013-05-20 Ondřej Bílka <neleai@seznam.cz>
13022
13023 * sysdeps/x86_64/memset.S (memset): New implementation.
13024 (__bzero): Likewise.
13025 (__memset_tail): New function.
13026
2d48b41c
OB
130272013-05-20 Ondřej Bílka <neleai@seznam.cz>
13028
13029 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13030 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13031 __memcpy_sse2_unaligned ifunc selection.
13032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13033 Add memcpy-sse2-unaligned.S.
13034 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13035 Add: __memcpy_sse2_unaligned.
13036
f16cc3eb
JM
130372013-05-19 Joseph Myers <joseph@codesourcery.com>
13038
3e694268
JM
13039 [BZ #15490]
13040 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13041 math_force_eval before restoring floating-point envrionment.
13042 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13043 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13044 Likewise.
13045 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13046 <math_private.h>.
13047 (__nearbyintl): Use math_force_eval before restoring
13048 floating-point environment.
13049 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13050
db62a907
JM
13051 * math/gen-libm-test.pl (special_functions): Remove.
13052 (parse_args): Don't handle TEST_extra. Handle functions with no
13053 return value.
13054 * math/libm-test.inc (struct test_sincos_data): Replace with
13055 struct test_fFF_11_data.
13056 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13057 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13058 (sincos_test_data): Change element type to struct
13059 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13060 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13061 RUN_TEST_LOOP_sincos.
13062 * math/README.libm-test: Don't mention special handling of
13063 individual functions.
13064 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13065 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13066 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13067 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13068 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13070
f16cc3eb
JM
13071 * math/gen-libm-test.pl (get_variable): Remove function.
13072 (parse_args): Don't show pointer parameters to call in test
13073 names. Use "extra output N" in test names for extra outputs
13074 rather than naming variables.
13075
3779b5b6
JM
130762013-05-18 Joseph Myers <joseph@codesourcery.com>
13077
2ee094ff
JM
13078 [BZ #15488]
13079 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13080 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13081 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13082 double tests.
13083 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13084 disable.
13085 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13086 check_long_double.
13087
3779b5b6
JM
13088 * math/gen-libm-test.pl (@tests): Remove variable.
13089 ($count): Likewise.
13090 (new_test): Remove function.
13091 (show_exceptions): New function.
13092 (special_functions): Use show_exceptions instead of new_test.
13093 (parse_args): Likewise.
13094 (generate_testfile): Pass only function name in generated call to
13095 print_max_error or print_complex_max_error.
13096 (get_ulps): Do not handle complex tests specially.
13097 (output_test): Rename to ...
13098 (get_all_ulps_for_test): ... this. Return a string rather than
13099 printing to a file. Require ulps to be present.
13100 (output_ulps): Generate arrays rather than #defines.
13101 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13102 (struct ulp_data): New type.
13103 (BUILD_COMPLEX_ULP): Remove macro.
13104 (compare_ulp_data): New function.
13105 (find_ulps): Likewise.
13106 (find_test_ulps): Likewise.
13107 (find_function_ulps): Likewise.
13108 (find_complex_function_ulps): Likewise.
13109 (print_max_error): Determine allowed ulps using
13110 find_function_ulps.
13111 (print_complex_max_error): Determine allowed ulps using
13112 find_complex_function_ulps.
13113 (check_float_internal): Determine max ulps using find_test_ulps.
13114 (check_float): Do not take max_ulp parameter. Update call to
13115 check_float_internal.
13116 (check_complex): Likewise.
13117 (check_int): Do not take max_ulp parameter.
13118 (check_long): Likewise.
13119 (check_bool): Likewise.
13120 (check_longlong): Likewise.
13121 (struct test_f_f_data): Remove max_ulp field.
13122 (struct test_ff_f_data): Likewise.
13123 (struct test_ff_f_data_nexttoward): Likewise.
13124 (struct test_fi_f_data): Likewise.
13125 (struct test_fl_f_data): Likewise.
13126 (struct test_if_f_data): Likewise.
13127 (struct test_fff_f_data): Likewise.
13128 (struct test_c_f_data): Likewise.
13129 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13130 (struct test_fF_f1_data): Likewise.
13131 (struct test_ffI_f1_data): Likewise.
13132 (struct test_c_c_data): Remove max_ulp field.
13133 (struct test_cc_c_data): Likewise.
13134 (struct test_f_i_data): Likewise.
13135 (struct test_ff_i_data): Likewise.
13136 (struct test_f_l_data): Likewise.
13137 (struct test_f_L_data): Likewise.
13138 (struct test_sincos_data): Likewise.
13139 (RUN_TEST_f_f): Do not handle ulps.
13140 (RUN_TEST_LOOP_f_f): Likewise.
13141 (RUN_TEST_2_f): Likewise.
13142 (RUN_TEST_LOOP_2_f): Likewise.
13143 (RUN_TEST_fff_f): Likewise.
13144 (RUN_TEST_LOOP_fff_f): Likewise.
13145 (RUN_TEST_c_f): Likewise.
13146 (RUN_TEST_LOOP_c_f): Likewise.
13147 (RUN_TEST_f_f1): Likewise.
13148 (RUN_TEST_LOOP_f_f1): Likewise.
13149 (RUN_TEST_fF_f1): Likewise.
13150 (RUN_TEST_LOOP_fF_f1): Likewise.
13151 (RUN_TEST_fI_f1): Likewise.
13152 (RUN_TEST_LOOP_fI_f1): Likewise.
13153 (RUN_TEST_ffI_f1): Likewise.
13154 (RUN_TEST_LOOP_ffI_f1): Likewise.
13155 (RUN_TEST_c_c): Likewise.
13156 (RUN_TEST_LOOP_c_c): Likewise.
13157 (RUN_TEST_cc_c): Likewise.
13158 (RUN_TEST_LOOP_cc_c): Likewise.
13159 (RUN_TEST_f_i): Likewise.
13160 (RUN_TEST_LOOP_f_i): Likewise.
13161 (RUN_TEST_f_i_tg): Likewise.
13162 (RUN_TEST_LOOP_f_i_tg): Likewise.
13163 (RUN_TEST_ff_i_tg): Likewise.
13164 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13165 (RUN_TEST_f_b): Likewise.
13166 (RUN_TEST_LOOP_f_b): Likewise.
13167 (RUN_TEST_f_b_tg): Likewise.
13168 (RUN_TEST_LOOP_f_b_tg): Likewise.
13169 (RUN_TEST_f_l): Likewise.
13170 (RUN_TEST_LOOP_f_l): Likewise.
13171 (RUN_TEST_f_L): Likewise.
13172 (RUN_TEST_LOOP_f_L): Likewise.
13173 (RUN_TEST_sincos): Likewise.
13174 (RUN_TEST_LOOP_sincos): Likewise.
13175
8269107f
JM
131762013-05-17 Joseph Myers <joseph@codesourcery.com>
13177
bb38759d
JM
13178 [BZ #15480]
13179 [BZ #15485]
13180 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13181 main case of finite arguments, set rounding mode to FE_TONEAREST
13182 and discard exceptions.
13183 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13184 exceptions.
13185 (remainder_tonearest_test_data): New variable.
13186 (remainder_test_tonearest): New function.
13187 (remainder_towardzero_test_data): New variable.
13188 (remainder_test_towardzero): New function.
13189 (remainder_downward_test_data): New variable.
13190 (remainder_test_downward): New function.
13191 (remainder_upward_test_data): New variable.
13192 (remainder_test_upward): New function.
13193 (main): Call the new test functions.
13194
a00bdcf0
JM
13195 * math/libm-test.inc (struct test_f_f1_data): Remove field
13196 extra_init.
13197 (struct test_fF_f1_data): Likewise.
13198 (struct test_ffI_f1_data): Likewise.
13199 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13200 based on value of EXTRA_EXPECTED.
13201 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13202 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13203 EXTRA_VAR based on value of EXTRA_EXPECTED.
13204 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13205 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13206 EXTRA_VAR based on value of EXTRA_EXPECTED.
13207 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13208 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13209 EXTRA_VAR based on value of EXTRA_EXPECTED.
13210 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13211 * math/gen-libm-test.pl (parse_args): Don't output initializers
13212 for extra output values.
13213
de407f79
JM
13214 * math/libm-test.inc (check_int): Expect result to be exactly
13215 equal to expected value and do not handle ulps.
13216 (check_long): Likewise.
13217 (check_longlong): Likewise.
13218
8269107f
JM
13219 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13220 exceptions.
13221 (cimag_test_data): Likewise.
13222 (conj_test_data): Likewise.
13223 (copysign_test_data): Likewise.
13224 (cproj_test_data): Likewise.
13225 (creal_test_data): Likewise.
13226 (fabs_test_data): Likewise.
13227 (fdim_test_data): Likewise.
13228 (finite_test_data): Likewise.
13229 (floor_test_data): Likewise.
13230 (fmax_test_data): Likewise.
13231 (fmin_test_data): Likewise.
13232 (fmod_test_data): Likewise.
13233 (fpclassify_test_data): Likewise.
13234 (frexp_test_data): Likewise.
13235 (ilogb_test_data): Likewise.
13236 (isfinite_test_data): Likewise.
13237 (isgreater_test_data): Likewise.
13238 (isgreaterequal_test_data): Likewise.
13239 (isinf_test_data): Likewise.
13240 (isless_test_data): Likewise.
13241 (islessequal_test_data): Likewise.
13242 (islessgreater_test_data): Likewise.
13243 (isnan_test_data): Likewise.
13244 (isnormal_test_data): Likewise.
13245 (issignaling_test_data): Likewise.
13246 (isunordered_test_data): Likewise.
13247 (ldexp_test_data): Likewise.
13248 (lrint_test_data): Likewise.
13249 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13250 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13251 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13252 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13253 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13254 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13255 test input.
13256 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13257 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13258 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13259 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13260 that test input.
13261 (lrint_downward_test_data): Test for "inexact" exceptions.
13262 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13263 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13264 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13265 test input.
13266 (lrint_upward_test_data): Test for "inexact" exceptions.
13267 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13268 test input.
13269 (llrint_test_data): Test for "inexact" exceptions.
13270 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13271 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13272 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13273 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13274 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13275 (llrint_downward_test_data): Test for "inexact" exceptions.
13276 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13277 (llrint_upward_test_data): Test for "inexact" exceptions.
13278 (logb_test_data): Likewise.
13279 (logb_downward_test_data): Likewise.
13280 (nextafter_test_data): Likewise.
13281 (nexttoward_test_data): Likewise.
13282 (remainder_test_data): Likewise.
13283 (remquo_test_data): Likewise.
13284 (scalbn_test_data): Likewise.
13285 (scalbln_test_data): Likewise.
13286 (signbit_test_data): Likewise.
13287 (sqrt_test_data): Likewise.
13288 (significand_test_data): Likewise.
13289
48a18de1
SP
132902013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13291
13292 [BZ #15424]
13293 * benchtests/bench-modf.c (struct args): Mark arg0 as
13294 volatile.
13295 * scripts/bench.pl: Mark members of struct args as volatile.
13296
13d3b41a
AZ
132972013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13298
68191c1d 13299 [BZ # 15497]
13d3b41a
AZ
13300 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13301 negative infinity on POWER6 or lower.
13302 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13303
2848b105
MR
133042013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13305
13306 [BZ #15442]
13307 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13308 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13309 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13310 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13311 (_FP_SETQNAN): New macro.
13312 (_FP_SETQNAN_SEMIRAW): Likewise.
13313 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13314 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13315 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13316 (FP_EXTEND): Use _FP_FRAC_SNANP.
13317 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13318 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13319 into account.
13320 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13321 New macro.
13322 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13323 Likewise.
13324
323e5cb7
JM
133252013-05-16 Joseph Myers <joseph@codesourcery.com>
13326
c58b274f
JM
13327 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13328 with DIVIDE_BY_ZERO_EXCEPTION.
13329 (gamma_test_data): Likewise.
13330 (lgamma_test_data): Likewise.
13331 (log_test_data): Likewise.
13332 (log10_test_data): Likewise.
13333 (log2_test_data): Likewise.
13334 (tgamma_test_data): Likewise.
13335
0ab34904
JM
13336 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13337 (acos_test_tonearest): Likewise.
13338 (acos_test_towardzero): Likewise.
13339 (acos_test_downward): Likewise.
13340 (acos_test_upward): Likewise.
13341 (acosh_test): Likewise.
13342 (asin_test): Likewise.
13343 (asin_test_tonearest): Likewise.
13344 (asin_test_towardzero): Likewise.
13345 (asin_test_downward): Likewise.
13346 (asin_test_upward): Likewise.
13347 (asinh_test): Likewise.
13348 (atan_test): Likewise.
13349 (atanh_test): Likewise.
13350 (atan2_test): Likewise.
13351 (cabs_test): Likewise.
13352 (cacos_test): Likewise.
13353 (cacosh_test): Likewise.
13354 (casin_test): Likewise.
13355 (casinh_test): Likewise.
13356 (catan_test): Likewise.
13357 (catanh_test): Likewise.
13358 (cbrt_test): Likewise.
13359 (ccos_test): Likewise.
13360 (ccosh_test): Likewise.
13361 (cexp_test): Likewise.
13362 (clog_test): Likewise.
13363 (clog10_test): Likewise.
13364 (cos_test): Likewise.
13365 (cos_test_tonearest): Likewise.
13366 (cos_test_towardzero): Likewise.
13367 (cos_test_downward): Likewise.
13368 (cos_test_upward): Likewise.
13369 (cosh_test): Likewise.
13370 (cosh_test_tonearest): Likewise.
13371 (cosh_test_towardzero): Likewise.
13372 (cosh_test_downward): Likewise.
13373 (cosh_test_upward): Likewise.
13374 (cpow_test): Likewise.
13375 (csin_test): Likewise.
13376 (csinh_test): Likewise.
13377 (csqrt_test): Likewise.
13378 (ctan_test): Likewise.
13379 (ctan_test_tonearest): Likewise.
13380 (ctan_test_towardzero): Likewise.
13381 (ctan_test_downward): Likewise.
13382 (ctan_test_upward): Likewise.
13383 (ctanh_test): Likewise.
13384 (ctanh_test_tonearest): Likewise.
13385 (ctanh_test_towardzero): Likewise.
13386 (ctanh_test_downward): Likewise.
13387 (ctanh_test_upward): Likewise.
13388 (erf_test): Likewise.
13389 (erfc_test): Likewise.
13390 (exp_test): Likewise.
13391 (exp_test_tonearest): Likewise.
13392 (exp_test_towardzero): Likewise.
13393 (exp_test_downward): Likewise.
13394 (exp_test_upward): Likewise.
13395 (exp10_test): Likewise.
13396 (exp2_test): Likewise.
13397 (expm1_test): Likewise.
13398 (fmod_test): Likewise.
13399 (gamma_test): Likewise.
13400 (hypot_test): Likewise.
13401 (j0_test): Likewise.
13402 (j1_test): Likewise.
13403 (jn_test): Likewise.
13404 (lgamma_test): Likewise.
13405 (log_test): Likewise.
13406 (log10_test): Likewise.
13407 (log1p_test): Likewise.
13408 (log2_test): Likewise.
13409 (logb_test_downward): Likewise.
13410 (pow_test): Likewise.
13411 (pow_test_tonearest): Likewise.
13412 (pow_test_towardzero): Likewise.
13413 (pow_test_downward): Likewise.
13414 (pow_test_upward): Likewise.
13415 (remainder_test): Likewise.
13416 (remquo_test): Likewise.
13417 (sin_test): Likewise.
13418 (sin_test_tonearest): Likewise.
13419 (sin_test_towardzero): Likewise.
13420 (sin_test_downward): Likewise.
13421 (sin_test_upward): Likewise.
13422 (sincos_test): Likewise.
13423 (sinh_test): Likewise.
13424 (sinh_test_tonearest): Likewise.
13425 (sinh_test_towardzero): Likewise.
13426 (sinh_test_downward): Likewise.
13427 (sinh_test_upward): Likewise.
13428 (sqrt_test): Likewise.
13429 (tan_test): Likewise.
13430 (tan_test_tonearest): Likewise.
13431 (tan_test_towardzero): Likewise.
13432 (tan_test_downward): Likewise.
13433 (tan_test_upward): Likewise.
13434 (tanh_test): Likewise.
13435 (tgamma_test): Likewise.
13436 (y0_test): Likewise.
13437 (y1_test): Likewise.
13438 (yn_test): Likewise.
13439
323e5cb7
JM
13440 * math/gen-libm-test.pl (adjust_arg): Remove function.
13441 (special_function): Remove argument $in_func. Only handle
13442 generating output for tables of tests, not inside functions.
13443 (parse_args): Likewise.
13444 (generate_testfile): Remove variable $in_func. Update call to
13445 parse_args.
13446 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13447 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13448 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13449 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13450 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13451 (MAX_VALUE_INIT): Rename macro to max_value.
13452 (MIN_VALUE_INIT): Rename macro to min_value.
13453 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13454 (plus_zero): Remove variable.
13455 (minus_zero): Likewise.
13456 (plus_infty): Likewise.
13457 (minus_infty): Likewise.
13458 (qnan_value): Likewise.
13459 (max_value): Likewise.
13460 (min_value): Likewise.
13461 (min_subnorm_value): Likewise.
13462
e054f494
RA
134632013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13464
13465 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13466 uint64_t or uint32_t usage.
13467 * crypt/sha256-block.c: Likewise.
13468 * crypt/sha256-crypt.c: Likewise.
13469 * crypt/sha256.c: Likewise.
13470 * crypt/sha512-block.c: Likewise.
13471 * crypt/sha512-crypt.c: Likewise.
13472 * crypt/sha512.c: Likewise.
13473 * debug/backtrace-tst.c: Likewise.
13474 * debug/pcprofiledump.c: Likewise.
13475 * elf/cache.c: Likewise.
13476 * elf/dl-cache.c: Likewise.
13477 * elf/dl-misc.c: Likewise.
13478 * elf/dl-profile.c: Likewise.
13479 * elf/dl-support.c: Likewise.
13480 * elf/ldconfig.c: Likewise.
13481 * elf/sprof.c: Likewise.
13482 * iconv/dummy-repertoire.c: Likewise.
13483 * iconv/iconv_charmap.c: Likewise.
13484 * iconv/skeleton.c: Likewise.
13485 * iconvdata/8bit-generic.c: Likewise.
13486 * iconvdata/cp737.h: Likewise.
13487 * iconvdata/cp775.h: Likewise.
13488 * iconvdata/ibm1008.h: Likewise.
13489 * iconvdata/ibm1025.h: Likewise.
13490 * iconvdata/ibm1046.h: Likewise.
13491 * iconvdata/ibm1097.h: Likewise.
13492 * iconvdata/ibm1112.h: Likewise.
13493 * iconvdata/ibm1122.h: Likewise.
13494 * iconvdata/ibm1123.h: Likewise.
13495 * iconvdata/ibm1124.h: Likewise.
13496 * iconvdata/ibm1129.h: Likewise.
13497 * iconvdata/ibm1130.h: Likewise.
13498 * iconvdata/ibm1132.h: Likewise.
13499 * iconvdata/ibm1133.h: Likewise.
13500 * iconvdata/ibm1137.h: Likewise.
13501 * iconvdata/ibm1140.h: Likewise.
13502 * iconvdata/ibm1141.h: Likewise.
13503 * iconvdata/ibm1142.h: Likewise.
13504 * iconvdata/ibm1143.h: Likewise.
13505 * iconvdata/ibm1144.h: Likewise.
13506 * iconvdata/ibm1145.h: Likewise.
13507 * iconvdata/ibm1146.h: Likewise.
13508 * iconvdata/ibm1147.h: Likewise.
13509 * iconvdata/ibm1148.h: Likewise.
13510 * iconvdata/ibm1149.h: Likewise.
13511 * iconvdata/ibm1153.h: Likewise.
13512 * iconvdata/ibm1154.h: Likewise.
13513 * iconvdata/ibm1155.h: Likewise.
13514 * iconvdata/ibm1156.h: Likewise.
13515 * iconvdata/ibm1157.h: Likewise.
13516 * iconvdata/ibm1158.h: Likewise.
13517 * iconvdata/ibm1160.h: Likewise.
13518 * iconvdata/ibm1161.h: Likewise.
13519 * iconvdata/ibm1162.h: Likewise.
13520 * iconvdata/ibm1163.h: Likewise.
13521 * iconvdata/ibm1164.h: Likewise.
13522 * iconvdata/ibm1166.h: Likewise.
13523 * iconvdata/ibm1167.h: Likewise.
13524 * iconvdata/ibm12712.h: Likewise.
13525 * iconvdata/ibm1390.h: Likewise.
13526 * iconvdata/ibm1399.h: Likewise.
13527 * iconvdata/ibm16804.h: Likewise.
13528 * iconvdata/ibm4517.h: Likewise.
13529 * iconvdata/ibm4899.h: Likewise.
13530 * iconvdata/ibm4909.h: Likewise.
13531 * iconvdata/ibm4971.h: Likewise.
13532 * iconvdata/ibm5347.h: Likewise.
13533 * iconvdata/ibm803.h: Likewise.
13534 * iconvdata/ibm856.h: Likewise.
13535 * iconvdata/ibm901.h: Likewise.
13536 * iconvdata/ibm902.h: Likewise.
13537 * iconvdata/ibm9030.h: Likewise.
13538 * iconvdata/ibm9066.h: Likewise.
13539 * iconvdata/ibm921.h: Likewise.
13540 * iconvdata/ibm922.h: Likewise.
13541 * iconvdata/ibm9448.h: Likewise.
13542 * iconvdata/isiri-3342.h: Likewise.
13543 * iconvdata/jis0201.h: Likewise.
13544 * include/link.h: Likewise.
13545 * include/netdb.h: Likewise.
13546 * inet/check_native.c: Likewise.
13547 * inet/check_pf.c: Likewise.
13548 * inet/getipv4sourcefilter.c: Likewise.
13549 * inet/getnameinfo.c: Likewise.
13550 * inet/getsourcefilter.c: Likewise.
13551 * inet/htonl.c: Likewise.
13552 * inet/setipv4sourcefilter.c: Likewise.
13553 * inet/setsourcefilter.c: Likewise.
13554 * inet/test-inet6_opt.c: Likewise.
13555 * inet/tst-network.c: Likewise.
13556 * locale/C-collate.c: Likewise.
13557 * locale/C-ctype.c: Likewise.
13558 * locale/C-time.c: Likewise.
13559 * locale/C-translit.h: Likewise.
13560 * locale/loadarchive.c: Likewise.
13561 * locale/programs/3level.h: Likewise.
13562 * locale/programs/charmap.c: Likewise.
13563 * locale/programs/charmap.h: Likewise.
13564 * locale/programs/ld-address.c: Likewise.
13565 * locale/programs/ld-collate.c: Likewise.
13566 * locale/programs/ld-ctype.c: Likewise.
13567 * locale/programs/ld-identification.c: Likewise.
13568 * locale/programs/ld-measurement.c: Likewise.
13569 * locale/programs/ld-messages.c: Likewise.
13570 * locale/programs/ld-monetary.c: Likewise.
13571 * locale/programs/ld-name.c: Likewise.
13572 * locale/programs/ld-numeric.c: Likewise.
13573 * locale/programs/ld-paper.c: Likewise.
13574 * locale/programs/ld-telephone.c: Likewise.
13575 * locale/programs/ld-time.c: Likewise.
13576 * locale/programs/linereader.c: Likewise.
13577 * locale/programs/locale.c: Likewise.
13578 * locale/programs/locarchive.c: Likewise.
13579 * locale/programs/locfile.h: Likewise.
13580 * locale/programs/repertoire.c: Likewise.
13581 * locale/programs/simple-hash.c: Likewise.
13582 * locale/programs/simple-hash.h: Likewise.
13583 * malloc/memusage.c: Likewise.
13584 * malloc/memusagestat.c: Likewise.
13585 * nis/nis_defaults.c: Likewise.
13586 * nis/nis_hash.c: Likewise.
13587 * nis/nis_print.c: Likewise.
13588 * nis/nis_xdr.c: Likewise.
13589 * nscd/connections.c: Likewise.
13590 * nscd/hstcache.c: Likewise.
13591 * nscd/nscd_gethst_r.c: Likewise.
13592 * nscd/nscd_getserv_r.c: Likewise.
13593 * nscd/nscd_helper.c: Likewise.
13594 * nscd/servicescache.c: Likewise.
13595 * nss/makedb.c: Likewise.
13596 * nss/nss_db/db-XXX.c: Likewise.
13597 * nss/nss_db/db-initgroups.c: Likewise.
13598 * nss/nss_db/db-netgrp.c: Likewise.
13599 * nss/nss_files/files-network.c: Likewise.
13600 * nss/nss_files/files-parse.c: Likewise.
13601 * posix/bug-regex5.c: Likewise.
13602 * posix/fnmatch_loop.c: Likewise.
13603 * posix/regcomp.c: Likewise.
13604 * posix/regexec.c: Likewise.
13605 * posix/tst-rfc3484-2.c: Likewise.
13606 * posix/tst-rfc3484-3.c: Likewise.
13607 * posix/tst-rfc3484.c: Likewise.
13608 * resolv/nss_dns/dns-canon.c: Likewise.
13609 * resolv/nss_dns/dns-network.c: Likewise.
13610 * resolv/res_init.c: Likewise.
13611 * resolv/res_mkquery.c: Likewise.
13612 * resolv/tst-aton.c: Likewise.
13613 * stdlib/cxa_atexit.c: Likewise.
13614 * stdlib/cxa_finalize.c: Likewise.
13615 * stdlib/gen-fpioconst.c: Likewise.
13616 * stdlib/strtol_l.c: Likewise.
13617 * string/tst-endian.c: Likewise.
13618 * sunrpc/auth_des.c: Likewise.
13619 * sunrpc/clnt_udp.c: Likewise.
13620 * sunrpc/rtime.c: Likewise.
13621 * sunrpc/svcauth_des.c: Likewise.
13622 * sunrpc/xdr.c: Likewise.
13623 * sunrpc/xdr_intXX_t.c: Likewise.
13624 * sunrpc/xdr_rec.c: Likewise.
13625 * sysdeps/generic/ldconfig.h: Likewise.
13626 * sysdeps/generic/ldsodefs.h: Likewise.
13627 * sysdeps/generic/memusage.h: Likewise.
13628 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13631 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13635 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13636 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13638 * sysdeps/posix/getaddrinfo.c: Likewise.
13639 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13640 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13641 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13642 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13643 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13644 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13645 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13646 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13647 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13648 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13649 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13650 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13651 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13652 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13653 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13654 * sysdeps/x86_64/dl-tls.h: Likewise.
13655 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13656 * time/alt_digit.c: Likewise.
13657 * time/era.c: Likewise.
13658 * wcsmbs/tst-c16c32-1.c: Likewise.
13659
8c75f674
JM
136602013-05-16 Joseph Myers <joseph@codesourcery.com>
13661
13662 * math/libm-test.inc (struct test_sincos_data): New type.
13663 (RUN_TEST_LOOP_sincos): New macro.
13664 (sincos_test_data): New variable.
13665 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13666
e6e49e59
RH
136672013-05-16 Richard Henderson <rth@redhat.com>
13668
13669 * math/atest-exp2.c (LIMB64): New macro.
13670 (CONSTSZ): New macro.
13671 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13672 (hexdig): Move ...
13673 (print_mpn_fp): ... to function scope.
13674 (read_mpn_hex): Remove.
13675 (get_log2): Remove.
13676 (exp2_mpn): Use mp_log2.
13677 (main): Use mp_exp1.
13678
15c7c18d
JM
136792013-05-16 Joseph Myers <joseph@codesourcery.com>
13680
105a07df
JM
13681 * math/libm-test.inc: Remove comment about not testing "inexact"
13682 exceptions.
13683 (INEXACT_EXCEPTION): New macro.
13684 (NO_INEXACT_EXCEPTION): Likewise.
13685 (INVALID_EXCEPTION_OK): Update value.
13686 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13687 (OVERFLOW_EXCEPTION_OK): Likewise.
13688 (UNDERFLOW_EXCEPTION_OK): Likewise.
13689 (IGNORE_ZERO_INF_SIGN): Likewise.
13690 (ERRNO_UNCHANGED): Likewise.
13691 (ERRNO_EDOM): Likewise.
13692 (ERRNO_ERANGE): Likewise.
13693 (test_exceptions): Handle testing "inexact" exceptions.
13694 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13695 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13696 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13697 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13698 INEXACT_EXCEPTION.
13699 (rint_towardzero_test_data): Likewise.
13700 (rint_downward_test_data): Likewise.
13701 (rint_upward_test_data): Likewise.
13702
e9eee333
JM
13703 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13704 with OVERFLOW_EXCEPTION.
13705 (exp10_test_data): Likewise.
13706 (exp2_test_data): Likewise.
13707 (expm1_test_data): Likewise.
13708 (lgamma_test_data): Likewise.
13709 (pow_test_data): Likewise.
13710 (tgamma_test_data): Likewise.
13711 (yn_test_data): Remove duplicate test of overflow.
13712
1c38ff73
JM
13713 * math/libm-test.inc (struct test_cc_c_data): New type.
13714 (RUN_TEST_LOOP_cc_c): New macro.
13715 (cpow_test_data): New variable.
13716 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13717
15c7c18d
JM
13718 * math/libm-test.inc (struct test_f_L_data): New type.
13719 (RUN_TEST_LOOP_f_L): New macro.
13720 (llrint_test_data): New variable.
13721 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13722 (llrint_tonearest_test_data): New variable.
13723 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13724 (llrint_towardzero_test_data): New variable.
13725 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13726 (llrint_downward_test_data): New variable.
13727 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13728 (llrint_upward_test_data): New variable.
13729 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13730 (llround_test_data): New variable.
13731 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13732
f137ff13
PC
137332013-05-13 Peter Collingbourne <pcc@google.com>
13734
13735 * math/atest-exp2.c (get_log2): Remove const attribute.
13736
3608cb24
JM
137372013-05-15 Joseph Myers <joseph@codesourcery.com>
13738
13739 * math/libm-test.inc (struct test_f_l_data): New type.
13740 (RUN_TEST_LOOP_f_l): New macro.
13741 (lrint_test_data): New variable.
13742 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13743 (lrint_tonearest_test_data): New variable.
13744 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13745 (lrint_towardzero_test_data): New variable.
13746 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13747 (lrint_downward_test_data): New variable.
13748 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13749 (lrint_upward_test_data): New variable.
13750 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13751 (lround_test_data): New variable.
13752 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13753
39b1f617
PC
137542013-05-15 Peter Collingbourne <pcc@google.com>
13755
1deff3dc
PC
13756 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13757 (EXTRACT_WORDS64) Use where appropriate.
13758 (INSERT_WORDS64) Likewise.
13759
791f3ba0
PC
13760 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13761 constraints with x constraints.
13762 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13763
39b1f617
PC
13764 * malloc/obstack.c (_obstack_compat): Add initializer.
13765
12fba011
EM
137662013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13767
13768 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13769 si_trapno and add si_addr_lsb to _sifields.sigfault.
13770 (si_trapno): Remove macro.
13771 (si_addr_lsb): Define new macro.
13772 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13773
d369f531
JM
137742013-05-15 Joseph Myers <joseph@codesourcery.com>
13775
b861c6c4
JM
13776 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13777 instead of TEST_f_l.
13778 (llrint_test_tonearest): Likewise.
13779 (llrint_test_towardzero): Likewise.
13780 (llrint_test_downward): Likewise.
13781 (llrint_test_upward): Likewise.
13782 (llround_test): Likewise.
13783
7abeee12
JM
13784 * math/libm-test.inc (struct test_f_i_data): Add comment.
13785 (RUN_TEST_LOOP_f_b): New macro.
13786 (RUN_TEST_LOOP_f_b_tg): Likewise.
13787 (finite_test_data): New variable.
13788 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13789 (isfinite_test_data): New variable.
13790 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13791 (isinf_test_data): New variable.
13792 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13793 (isnan_test_data): New variable.
13794 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13795 (isnormal_test_data): New variable.
13796 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13797 (issignaling_test_data): New variable.
13798 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13799 (signbit_test_data): New variable.
13800 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13801
cbe8c4d3
JM
13802 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13803 with INVALID_EXCEPTION.
13804 (acosh_test_data): Likewise.
13805 (asin_test_data): Likewise.
13806 (atanh_test_data): Likewise.
13807 (fmod_test_data): Likewise.
13808 (log_test_data): Likewise.
13809 (log10_test_data): Likewise.
13810 (log2_test_data): Likewise.
13811 (pow_test_data): Likewise.
13812 (sqrt_test_data): Likewise.
13813 (y0_test_data): Likewise.
13814 (y1_test_data): Likewise.
13815 (yn_test_data): Likewise.
13816
5575c0e5
JM
13817 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13818 function contents.
13819
d369f531
JM
13820 * math/libm-test.inc (struct test_ff_i_data): New type.
13821 (RUN_TEST_LOOP_ff_i_tg): New macro.
13822 (isgreater_test_data): New variable.
13823 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13824 (isgreaterequal_test_data): New variable.
13825 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13826 (isless_test_data): New variable.
13827 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13828 (islessequal_test_data): New variable.
13829 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13830 (islessgreater_test_data): New variable.
13831 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13832 (isunordered_test_data): New variable.
13833 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13834
781fd748
DM
138352013-05-14 David S. Miller <davem@davemloft.net>
13836
13837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13838
87aa21df
JM
138392013-05-14 Joseph Myers <joseph@codesourcery.com>
13840
5e908270
JM
13841 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13842
f71172e5
JM
13843 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13844 extra_test to int.
13845 (struct test_f_i_data): Change type of max_ulp to int.
13846
8cfa635a
JM
13847 * math/libm-test.inc (test_ffI_f1_data): New type.
13848 (RUN_TEST_LOOP_ffI_f1): New macro.
13849 (remquo_test_data): New variable.
13850 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13851
2bcb36b2
JM
13852 * setjmp/tst-setjmp-fp.c: New file.
13853 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13854 (link-libm): New variable.
13855 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13856
acbd839a
JM
13857 * math/libm-test.inc (struct test_f_i_data): New type.
13858 (RUN_TEST_LOOP_f_i): New macro.
13859 (RUN_TEST_LOOP_f_i_tg): Likewise.
13860 (fpclassify_test_data): New variable.
13861 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13862 (ilogb_test_data): New variable.
13863 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13864
e414d745
JM
13865 * math/libm-test.inc (scalbln_test): Correct function name in END
13866 call.
13867
d9c2a0fd
JM
13868 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13869 (RUN_TEST_LOOP_fI_f1): New macro.
13870 (frexp_test_data): New variable.
13871 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13872
9dc9095d
JM
13873 * math/libm-test.inc (struct test_fF_f1_data): New type.
13874 (RUN_TEST_LOOP_fF_f1): New macro.
13875 (modf_test_data): New variable.
13876 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13877
87aa21df
JM
13878 * math/libm-test.inc (struct test_f_f1_data): New type.
13879 (RUN_TEST_LOOP_f_f1): New macro.
13880 (gamma_test_data): New variable.
13881 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13882 (lgamma_test_data): New variable.
13883 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13884
141af660
CD
138852013-05-13 Carlos O'Donell <carlos@redhat.com>
13886
13887 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13888 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13889 (main): Comment "tls" pseudo-hwcap.
13890
6d33265c
JM
138912013-05-13 Joseph Myers <joseph@codesourcery.com>
13892
68fc074c
JM
13893 * math/libm-test.inc (struct test_fl_f_data): New type.
13894 (RUN_TEST_LOOP_fl_f): New variable.
13895 (scalbln_test_data): New variable.
13896 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13897
243216e1
JM
13898 * math/libm-test.inc (struct test_fi_f_data): New type.
13899 (RUN_TEST_LOOP_fi_f): New macro.
13900 (ldexp_test_data): New variable.
13901 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13902 (scalbn_test_data): New variable.
13903 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13904
6a1992e2
JM
13905 * math/libm-test.inc (struct test_c_f_data): New type.
13906 (RUN_TEST_LOOP_c_f): New macro.
13907 (cabs_test_data): New variable.
13908 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13909 (carg_test_data): New variable.
13910 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13911 (cimag_test_data): New variable.
13912 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13913 (creal_test_data): New variable.
13914 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13915
0e400df5
JM
13916 * math/libm-test.inc (struct test_if_f_data): New type.
13917 (RUN_TEST_LOOP_if_f): New macro.
13918 (jn_test_data): New variable.
13919 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13920 (yn_test_data): New variable.
13921 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13922
6d33265c
JM
13923 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13924
f98ece5f
AZ
139252013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13926
13927 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13928 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13929
0f7d347b
SP
139302013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13931
43fe811b
SP
13932 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13933 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13934 (bench-deps): Add bench-timing.h.
13935 * benchtests-bench-skeleton.c: Include bench-timing.h.
13936 (main): Use TIMING_* macros instead of clock_gettime.
13937 * benchtests/bench-timing.h: New file.
13938
0f7d347b
SP
13939 [BZ #14582]
13940 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13941 Renamed from _LIB_VERSION.
13942 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13943
601a3a5f
JM
139442013-05-12 Joseph Myers <joseph@codesourcery.com>
13945
4f184d30
JM
13946 * math/libm-test.inc (struct test_fff_f_data): New type.
13947 (RUN_TEST_LOOP_fff_f): New macro.
13948 (fma_test_data): New variable.
13949 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13950 (fma_towardzero_test_data): New variable.
13951 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13952 (fma_downward_test_data): New variable.
13953 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13954 (fma_upward_test_data): New variable.
13955 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13956
08198877
JM
13957 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13958 (struct test_c_c_data): New type.
13959 (RUN_TEST_LOOP_c_c): New macro.
13960 (cacos_test_data): New variable.
13961 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13962 (cacosh_test_data): New variable.
13963 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13964 (casin_test_data): New variable.
13965 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13966 (casinh_test_data): New variable.
13967 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13968 (catan_test_data): New variable.
13969 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13970 (catanh_test_data): New variable.
13971 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13972 (ccos_test_data): New variable.
13973 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13974 (ccosh_test_data): New variable.
13975 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13976 (cexp_test_data): New variable.
13977 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13978 (clog_test_data): New variable.
13979 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13980 (clog10_test_data): New variable.
13981 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13982 (conj_test_data): New variable.
13983 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13984 (cproj_test_data): New variable.
13985 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13986 (csin_test_data): New variable.
13987 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13988 (csinh_test_data): New variable.
13989 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13990 (csqrt_test_data): New variable.
13991 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13992 (ctan_test_data): New variable.
13993 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13994 (ctan_tonearest_test_data): New variable.
13995 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13996 (ctan_towardzero_test_data): New variable.
13997 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13998 (ctan_downward_test_data): New variable.
13999 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14000 (ctan_upward_test_data): New variable.
14001 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14002 (ctanh_test_data): New variable.
14003 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14004 (ctanh_tonearest_test_data): New variable.
14005 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14006 (ctanh_towardzero_test_data): New variable.
14007 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14008 (ctanh_downward_test_data): New variable.
14009 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14010 (ctanh_upward_test_data): New variable.
14011 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14012 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14013 of BUILD_COMPLEX.
14014
601a3a5f
JM
14015 * math/libm-test.inc (struct test_ff_f_data): New type.
14016 (struct test_ff_f_data_nexttoward): Likewise.
14017 (RUN_TEST_LOOP_2_f): New macro.
14018 (RUN_TEST_LOOP_ff_f): Likewise.
14019 (atan2_test_data): New variable.
14020 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14021 (copysign_test_data): New variable.
14022 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14023 (fdim_test_data): New variable.
14024 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14025 (fmax_test_data): New variable.
14026 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14027 (fmin_test_data): New variable.
14028 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14029 (fmod_test_data): New variable.
14030 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14031 (hypot_test_data): New variable.
14032 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14033 (nextafter_test_data): New variable.
14034 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14035 (nexttoward_test_data): New variable.
14036 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14037 (pow_test_data): New variable.
14038 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14039 (pow_tonearest_test_data): New variable.
14040 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14041 (pow_towardzero_test_data): New variable.
14042 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14043 (pow_downward_test_data): New variable.
14044 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14045 (pow_upward_test_data): New variable.
14046 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14047 (remainder_test_data): New variable.
14048 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14049 (scalb_test_data): New variable.
14050 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14051 * sysdeps/i386/fpu/libm-test-ulps: Update.
14052
74c57478
JM
140532013-05-11 Joseph Myers <joseph@codesourcery.com>
14054
8329e4da
JM
14055 * math/libm-test.inc (fma_test): Use max_value instead of local
14056 variable fltmax.
14057 (nextafter_test): Likewise.
14058
74c57478
JM
14059 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14060 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14061 (acos_downward_test_data): New variable.
14062 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14063 (acos_upward_test_data): New variable.
14064 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14065 (acosh_test_data): New variable.
14066 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14067 (asin_test_data): New variable.
14068 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14069 (asin_tonearest_test_data): New variable.
14070 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14071 (asin_towardzero_test_data): New variable.
14072 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14073 (asin_downward_test_data): New variable.
14074 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14075 (asin_upward_test_data): New variable.
14076 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14077 (asinh_test_data): New variable.
14078 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14079 (atan_test_data): New variable.
14080 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14081 (atanh_test_data): New variable.
14082 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14083 (cbrt_test_data): New variable.
14084 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14085 (ceil_test_data): New variable.
14086 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14087 (cos_test_data): New variable.
14088 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14089 (cos_tonearest_test_data): New variable.
14090 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14091 (cos_towardzero_test_data): New variable.
14092 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14093 (cos_downward_test_data): New variable.
14094 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14095 (cos_upward_test_data): New variable.
14096 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14097 (cosh_test_data): New variable.
14098 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14099 (cosh_tonearest_test_data): New variable.
14100 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14101 (cosh_towardzero_test_data): New variable.
14102 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14103 (cosh_downward_test_data): New variable.
14104 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14105 (cosh_upward_test_data): New variable.
14106 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14107 (erf_test_data): New variable.
14108 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14109 (erfc_test_data): New variable.
14110 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14111 (exp_test_data): New variable.
14112 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14113 (exp_tonearest_test_data): New variable.
14114 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14115 (exp_towardzero_test_data): New variable.
14116 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14117 (exp_downward_test_data): New variable.
14118 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14119 (exp_upward_test_data): New variable.
14120 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14121 (exp10_test_data): New variable.
14122 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14123 (exp2_test_data): New variable.
14124 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14125 (expm1_test_data): New variable.
14126 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14127 (fabs_test_data): New variable.
14128 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14129 (floor_test_data): New variable.
14130 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14131 (j0_test_data): New variable.
14132 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14133 (j1_test_data): New variable.
14134 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14135 (log_test_data): New variable.
14136 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14137 (log10_test_data): New variable.
14138 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14139 (log1p_test_data): New variable.
14140 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14141 (log2_test_data): New variable.
14142 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14143 (logb_test_data): New variable.
14144 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14145 (logb_downward_test_data): New variable.
14146 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14147 (nearbyint_test_data): New variable.
14148 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14149 (rint_test_data): New variable.
14150 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14151 (rint_tonearest_test_data): New variable.
14152 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14153 (rint_towardzero_test_data): New variable.
14154 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14155 (rint_downward_test_data): New variable.
14156 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14157 (rint_upward_test_data): New variable.
14158 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14159 (round_test_data): New variable.
14160 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14161 (sin_test_data): New variable.
14162 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14163 (sin_tonearest_test_data): New variable.
14164 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14165 (sin_towardzero_test_data): New variable.
14166 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14167 (sin_downward_test_data): New variable.
14168 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14169 (sin_upward_test_data): New variable.
14170 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14171 (sinh_test_data): New variable.
14172 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14173 (sinh_tonearest_test_data): New variable.
14174 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14175 (sinh_towardzero_test_data): New variable.
14176 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14177 (sinh_downward_test_data): New variable.
14178 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14179 (sinh_upward_test_data): New variable.
14180 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14181 (sqrt_test_data): New variable.
14182 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14183 (tan_test_data): New variable.
14184 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14185 (tan_tonearest_test_data): New variable.
14186 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14187 (tan_towardzero_test_data): New variable.
14188 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14189 (tan_downward_test_data): New variable.
14190 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14191 (tan_upward_test_data): New variable.
14192 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14193 (tanh_test_data): New variable.
14194 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14195 (tgamma_test_data): New variable.
14196 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14197 (trunc_test_data): New variable.
14198 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14199 (y0_test_data): New variable.
14200 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14201 (y1_test_data): New variable.
14202 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14203 (significand_test_data): New variable.
14204 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14205
7187d844
CG
142062013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14207
14208 [BZ #12387]
14209 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14210
f63fae73
PT
142112013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14212
14213 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14214
8a67a4b3
AJ
142152013-05-10 Andreas Jaeger <aj@suse.de>
14216
14217 [BZ #15448]
14218 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14219 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14220
51df539d
JM
142212013-05-10 Joseph Myers <joseph@codesourcery.com>
14222
14223 * math/gen-libm-test.pl (adjust_arg): New function.
14224 (special_functions): Handle generating output in both functions
14225 and arrays.
14226 (parse_args): Likewise.
14227 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14228 $in_func argument to parse_args.
14229 * math/libm-test.inc (struct test_f_f_data): New type.
14230 (IF_ROUND_INIT_): New macro.
14231 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14232 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14233 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14234 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14235 (ROUND_RESTORE_): Likewise.
14236 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14237 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14238 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14239 (ROUND_RESTORE_FE_UPWARD): Likewise.
14240 (RUN_TEST_LOOP_f_f): New macro.
14241 (acos_test_data): New variable.
14242 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14243 (acos_tonearest_test_data): New variable.
14244 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14245
5c637fe5
SP
142462013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14247
14248 * benchtests/bench-skeleton.c (startup): Fix coding style.
14249
ab2b9461
JM
142502013-05-10 Joseph Myers <joseph@codesourcery.com>
14251
14252 [BZ #6809]
14253 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14254 negative infinity argument.
14255 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14256 negative infinity argument.
14257 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14258 negative infinity argument.
14259 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14260 domain errors.
14261
4c0fe6fe
FW
142622013-05-10 Florian Weimer <fweimer@redhat.com>
14263
14264 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14265 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14266 * iconv/iconv_prog.c (main): Likewise.
14267 * locale/programs/charmap-dir.c (charmap_readdir)
14268 (fopen_uncompressed): Likewise.
14269 * locale/programs/locfile.c (siblings_uncached)
14270 (write_locale_data): Use lstat64 instead of lstat.
14271 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14272 stat.
14273
a3375d29
AJ
142742013-05-10 Andreas Jaeger <aj@suse.de>
14275
14276 [BZ #15395]
14277 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14278 localization.
14279 Include <locale.h>.
14280
36129722
CD
142812013-05-09 Carlos O'Donell <carlos@redhat.com>
14282
14283 * elf/dl-close.c (_dl_close_worker): Add comments.
14284
faa7f811
JM
142852013-05-09 Joseph Myers <joseph@codesourcery.com>
14286
ed41ffef
JM
14287 [BZ #15359]
14288 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14289 high part of pi/2.
14290 (__ieee754_rem_pio2l): Update comments.
14291
d0213cd0
JM
14292 [BZ #15429]
14293 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14294 high part of pi/2.
14295 (__ieee754_rem_pio2l): Update comments.
14296
0d3e777a
JM
14297 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14298 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14299
24f56066
JM
14300 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14301 M_PI_4l.
14302
faa7f811
JM
14303 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14304 (M_PI_34_LOG10El): Likewise.
14305 (M_PI2_LOG10El): Likewise.
14306 (M_PI4_LOG10El): Likewise.
14307 (M_PI_LOG10El): Likewise.
14308
e9a5e0fd
AZ
143092013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14310
14311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14312
d8cd06db
JM
143132013-05-08 Joseph Myers <joseph@codesourcery.com>
14314
a0d9f9d7
JM
14315 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14316 (MINUS_ZERO_INIT): Likewise.
14317 (PLUS_INFTY_INIT): Likewise.
14318 (MINUS_INFTY_INIT): Likewise.
14319 (QNAN_VALUE_INIT): Likewise.
14320 (MAX_VALUE_INIT): Likewise.
14321 (MIN_VALUE_INIT): Likewise.
14322 (MIN_SUBNORM_VALUE_INIT): Likewise.
14323 (plus_zero): Initialize with PLUS_ZERO_INIT.
14324 (minus_zero): Initialize with MINUS_ZERO_INIT.
14325 (plus_infty): Initialize with PLUS_INFTY_INIT.
14326 (minus_infty): Initialize with MINUS_INFTY_INIT.
14327 (qnan_value): Initialize with QNAN_VALUE_INIT.
14328 (max_value): Initialize with MAX_VALUE_INIT.
14329 (min_value): Initialize with MIN_VALUE_INIT.
14330 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14331
ae08db3b
JM
14332 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14333 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14334 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14335 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14336
f44bf14a
JM
14337 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14338 (RUN_TEST_2_f): Likewise.
14339 (RUN_TEST_ff_f): Likewise.
14340 (RUN_TEST_fi_f): Likewise.
14341 (RUN_TEST_fl_f): Likewise.
14342 (RUN_TEST_fff_f): Likewise.
14343 (RUN_TEST_c_f): Likewise.
14344 (RUN_TEST_f_f1): Likewise.
14345 (RUN_TEST_fF_f1): Likewise.
14346 (RUN_TEST_fI_f1): Likewise.
14347 (RUN_TEST_ffI_f1): Likewise.
14348 (RUN_TEST_c_c): Likewise.
14349 (RUN_TEST_cc_c): Likewise.
14350 (RUN_TEST_f_i): Likewise.
14351 (RUN_TEST_f_i_tg): Likewise.
14352 (RUN_TEST_ff_i_tg): Likewise.
14353 (RUN_TEST_f_b): Likewise.
14354 (RUN_TEST_f_b_tg): Likewise.
14355 (RUN_TEST_f_l): Likewise.
14356 (RUN_TEST_f_L): Likewise.
14357 (RUN_TEST_sincos): Likewise.
14358 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14359 whether to show exceptions. Do not include ");\n" in return
14360 value.
14361 (special_functions): Output call to RUN_TEST_sincos instead of
14362 check_float calls. Update calls to new_test.
14363 (parse_args): Output call to single RUN_TEST_* macro instead of
14364 check_* calls and other assignments. Update calls to new_test.
14365
d8cd06db
JM
14366 [BZ #2546]
14367 [BZ #2560]
14368 [BZ #5159]
14369 [BZ #15426]
14370 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14371 input to result for tgamma overflow.
14372 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14373 (gamma_coeff): New variable.
14374 (NCOEFF): New macro.
14375 (gamma_positive): New function.
14376 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14377 underflow here. Use gamma_positive instead of exp (lgamma) for
14378 other arguments.
14379 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14380 (gamma_coeff): New variable.
14381 (NCOEFF): New macro.
14382 (gammaf_positive): New function.
14383 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14384 underflow here. Use gamma_positive instead of exp (lgamma) for
14385 other arguments.
14386 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14387 (gamma_coeff): New variable.
14388 (NCOEFF): New macro.
14389 (gammal_positive): New function.
14390 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14391 underflow here. Use gamma_positive instead of exp (lgamma) for
14392 other arguments.
14393 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14394 (gamma_coeff): New variable.
14395 (NCOEFF): New macro.
14396 (gammal_positive): New function.
14397 (__ieee754_gammal_r): Handle positive infinity, overflow and
14398 underflow here. Handle NaN the same as positive infinity. Remove
14399 check x < 0xffffffff for negative integers. Use gamma_positive
14400 instead of exp (lgamma) for other arguments.
14401 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14402 (gamma_coeff): New variable.
14403 (NCOEFF): New macro.
14404 (gammal_positive): New function.
14405 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14406 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14407 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14408 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14409 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14410 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14411 * sysdeps/generic/math_private.h (__gamma_productf): New
14412 prototype.
14413 (__gamma_product): Likewise.
14414 (__gamma_productl): Likewise.
14415 * math/Makefile (libm-calls): Add gamma_product.
14416 * math/libm-test.inc (tgamma_test): Add more tests.
14417 * sysdeps/i386/fpu/libm-test-ulps: Update.
14418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14419
bb7cf681
OB
144202013-05-08 Ondřej Bílka <neleai@seznam.cz>
14421
14422 * benchtests/bench-skeleton.c (main): Preheat CPU.
14423
ba853947
AJ
144242013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14425
14426 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14427
8347c74c
RM
144282013-05-07 Roland McGrath <roland@hack.frob.com>
14429
14430 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14431 and _dl_skip_args_internal.
14432
e8dd4791
CD
144332013-05-07 Carlos O'Donell <carlos@redhat.com>
14434
14435 * manual/message.texi (Message Translation): Talk about users.
14436 Message to key mapping impacts design.
14437
c7405830
RM
144382013-05-06 Roland McGrath <roland@hack.frob.com>
14439
a9173057
RM
14440 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14441
976e2f03
RM
14442 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14443
9723ffc5
RM
14444 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14445 * sysdeps/wordsize-64/glob64.c: ... here.
14446
962e6658
RM
14447 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14448 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14449 New macros.
14450
ee586a6d
RM
14451 * debug/getlogin_r_chk.c: Moved to ...
14452 * login/getlogin_r_chk.c: ... here.
14453 * debug/Makefile (routines): Move getlogin_r_chk to ...
14454 * login/Makefile (routines): ... here.
14455 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14456 * login/Versions (libc: GLIBC_2.4): ... here.
14457
355f9165
RM
14458 * io/poll.c (__poll): Renamed from poll.
14459 Add libc_hidden_def.
14460 (poll): Define as weak alias.
14461
bd9ffde6
RM
14462 * debug/ptsname_r_chk.c: Moved to ...
14463 * login/ptsname_r_chk.c: ... here.
14464 * debug/Makefile (routines): Move ptsname_r_chk to ...
14465 * login/Makefile (routines): ... here.
14466 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14467 * login/Versions (libc: GLIBC_2.4): ... here.
14468
8fb16a04
RM
14469 * posix/getlogin.c: Moved to ...
14470 * login/getlogin.c: ... here.
14471 * posix/getlogin_r.c: Moved to ...
14472 * login/getlogin_r.c: ... here.
14473 * posix/getlogin_r.c: Moved to ...
14474 * login/getlogin_r.c: ... here.
14475 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14476 * login/Makefile (routines): ... here.
14477 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14478 * login/Versions (libc: GLIBC_2.0): ... here.
14479
b99b892f
RM
14480 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14481 (setrlimit): Define as weak alias.
14482
c7405830
RM
14483 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14484 Call __ names for open, ftruncate, and close.
14485 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14486 (truncate): Define as weak alias.
14487
5bf96de5
JM
144882013-05-06 Joseph Myers <joseph@codesourcery.com>
14489
9ea3513c
JM
14490 * math/gen-libm-test.pl (parse_args): Initialize x before each
14491 test of frexp, modf and remquo.
14492
5bf96de5
JM
14493 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14494 test signgam value.
14495
16e616a7
AZ
144962013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14497
14498 [BZ #15418]
14499 [BZ #15419]
14500 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14501 internal tests.
14502 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14503
d5e82754
RM
145042013-05-06 Roland McGrath <roland@hack.frob.com>
14505
14506 * elf/dl-writev.h: New file.
14507 * elf/dl-misc.c: Include it.
14508 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14509 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14510
a7548d41
JM
145112013-05-04 Joseph Myers <joseph@codesourcery.com>
14512
b7dab1e4
JM
14513 * math/libm-test.inc (noXFails): Remove variable.
14514 (noXPasses): Likewise.
14515 (BUILD_COMPLEX_INT): Remove macro.
14516 (print_screen): Remove xfail argument.
14517 (print_screen_max_error): Likewise.
14518 (update_stats): Likewise.
14519 (print_max_error): Likewise. Update calls to other affected
14520 functions.
14521 (print_complex_max_error): Likewise.
14522 (test_single_exception): Update calls to print_screen.
14523 (test_single_errno): Likewise.
14524 (check_float_internal): Remove xfail argument. Update calls to
14525 other affected functions.
14526 (check_float): Likewise.
14527 (check_complex): Likewise.
14528 (check_int): Likewise.
14529 (check_long): Likewise.
14530 (check_bool): Likewise.
14531 (check_longlong): Likewise.
14532 (main): Don't print noXFails and noXPasses.
14533 * math/gen-libm-test.pl (top level): Don't mention expected
14534 failure handling in comment.
14535 (new_test): Don't handle expected failures.
14536 (parse_args): Don't mention expected failure handling in comment.
14537 (generate_testfile): Don't handle expected failures.
14538 (parse_ulps): Likewise.
14539 (print_ulps_file): Likewise.
14540 (get_failure): Remove function.
14541 (output_test): Don't handle expected failures.
14542 * make/README.libm-test: Don't mention expected failure handling.
14543
a7548d41
JM
14544 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14545 (minus_zero): Likewise.
14546 (plus_infty): Likewise.
14547 (minus_infty): Likewise.
14548 (qnan_value): Likewise.
14549 (max_value): Likewise.
14550 (min_value): Likewise.
14551 (min_subnorm_value): Likewise.
14552 (initialize): Do not initialize those variables dynamically.
14553
60bfd54c
RM
145542013-05-03 Roland McGrath <roland@hack.frob.com>
14555
cc0e6ed8
RM
14556 * io/open.c (__open_2): Moved to ...
14557 * io/open_2.c: ... this new file.
14558 * io/open64.c (__open64_2): Moved to ...
14559 * io/open64_2.c: ... this new file.
14560 * io/openat.c (__openat_2): Moved to ...
14561 * io/openat_2.c: ... this new file.
14562 * io/openat64.c (__openat64_2): Moved to ...
14563 * io/openat64_2.c: ... this new file.
14564 * io/Makefile (routines): Add them.
14565 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14566 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14567 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14568 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14569 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14570 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14571 (__openat64): Add hidden_ver.
14572 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14573 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14574
60bfd54c
RM
14575 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14576 Separately conditionalize setting of GLRO(dl_sysinfo) so
14577 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14578 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14579
83e7640f
AZ
145802013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14581
14582 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14583 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14584 definition.
14585 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14586 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14587 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14588 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14589 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14590
d5dc2af3
JM
145912013-05-03 Joseph Myers <joseph@codesourcery.com>
14592
c31a5b1e
JM
14593 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14594 test signgam value.
14595
d5dc2af3
JM
14596 * math/libm-test.inc (hypot_test): Do not use
14597 IGNORE_ZERO_INF_SIGN.
14598
164fd39d
AJ
145992013-05-03 Andreas Jaeger <aj@suse.de>
14600
14601 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14602 Linux 3.9.
14603 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14604 (PF_MAX): Adjust for VSOCK change.
14605
8237f48c
AZ
146062013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14607
14608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14609
9df02941
CD
146102013-05-02 Carlos O'Donell <carlos@redhat.com>
14611
14612 [BZ #15264]
14613 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14614 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14615 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14616
d422395e
DM
146172013-05-02 David S. Miller <davem@davemloft.net>
14618
14619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14620
a07c5731
OB
146212013-05-01 Ondřej Bílka <neleai@seznam.cz>
14622
14623 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14624
1324e37f
RM
146252013-05-01 Roland McGrath <roland@hack.frob.com>
14626
14627 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14628
0695940b
RS
146292013-05-01 Richard Smith <richard@metafoo.co.uk>
14630
bb5f27ad 14631 [BZ #14952]
0695940b
RS
14632 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14633 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14634 Use __attribute__ ((__gnu_inline__)).
14635 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14636 Don't use __attribute__ ((__gnu_inline__)).
14637
10de07f5
JM
146382013-05-01 Joseph Myers <joseph@codesourcery.com>
14639
14640 [BZ #15423]
14641 * math/s_catan.c (__catan): Handle small real or imaginary part of
14642 input specially to avoid spurious underflow.
14643 * math/s_catanf.c (__catanf): Likewise.
14644 * math/s_catanh.c (__catanh): Likewise.
14645 * math/s_catanhf.c (__catanhf): Likewise.
14646 * math/s_catanhl.c (__catanhl): Likewise.
14647 * math/s_catanl.c (__catanl): Likewise.
14648 * math/libm-test.inc (catan_test): Add more tests.
14649 (catanh_test): Likewise.
14650 * sysdeps/i386/fpu/libm-test-ulps: Update.
14651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14652
cb4d5414
AZ
146532013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14654
14655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14656
caf84319
JM
146572013-04-30 Joseph Myers <joseph@codesourcery.com>
14658
14659 [BZ #15416]
14660 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14661 accurately for denominator in atan2.
14662 * math/s_catanf.c (__catanf): Likewise.
14663 * math/s_catanh.c (__catanh): Likewise.
14664 * math/s_catanhf.c (__catanhf): Likewise.
14665 * math/s_catanhl.c (__catanhl): Likewise.
14666 * math/s_catanl.c (__catanl): Likewise.
14667 * math/libm-test.inc (catan_test): Add more tests.
14668 (catanh_test): Likewise.
14669 * sysdeps/i386/fpu/libm-test-ulps: Update.
14670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14671
d569c6ee
SP
146722013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14673
6dbe713d
SP
14674 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14675
f0ee064b
SP
14676 * benchtests/Makefile (bench): Remove slow benchmarks.
14677 * benchtests/atan-inputs: Add slow benchmark inputs.
14678 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14679 (BENCH_FUNC): Accept variant offset.
14680 (VARIANT): Define.
14681 * benchtests/bench-skeleton.c (main): Run benchmark for each
14682 variant.
14683 * benchtests/cos-inputs: Add slow benchmark inputs.
14684 * benchtests/exp-inputs: Likewise.
14685 * benchtests/pow-inputs: Likewise.
14686 * benchtests/sin-inputs: Likewise.
14687 * benchtests/slowatan-inputs: Remove.
14688 * benchtests/slowatan.c: Remove.
14689 * benchtests/slowcos-inputs: Remove.
14690 * benchtests/slowcos.c: Remove.
14691 * benchtests/slowexp-inputs: Remove.
14692 * benchtests/slowexp.c: Remove.
14693 * benchtests/slowpow-inputs: Remove.
14694 * benchtests/slowpow.c: Remove.
14695 * benchtests/slowsin-inputs: Remove.
14696 * benchtests/slowsin.c: Remove.
14697 * benchtests/slowtan-inputs: Remove.
14698 * benchtests/slowtan.c: Remove.
14699 * benchtests/tan-inputs: Add slow benchmark inputs.
14700 * scripts/bench.pl: Parse comments and directives.
14701
d569c6ee
SP
14702 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14703 in CPPFLAGS.
14704 ($(objpfx)bench-%.c): Remove *-ITER.
14705 * benchtests/bench-modf.c: Remove definition of ITER.
14706 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14707 (main): Loop for DURATION seconds instead of fixed number of
14708 iterations.
14709 * scripts/bench.pl: Don't expect iterations in parameters.
14710
a6a242fe
RM
147112013-04-29 Roland McGrath <roland@hack.frob.com>
14712
14713 * io/fchdir.c (__fchdir): Renamed from fchdir.
14714 (fchdir): Define as weak alias.
14715
f2da7793
JM
147162013-04-29 Joseph Myers <joseph@codesourcery.com>
14717
14718 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14719 (ERRNO_EDOM): Likewise.
14720 (ERRNO_ERANGE): Likewise.
14721 (noErrnoTests): New variable.
14722 (init_max_error): Set errno to 0.
14723 (test_single_errno): New function.
14724 (test_errno): Likewise.
14725 (check_float_internal): Call test_errno. Set errno to 0.
14726 (check_complex): Refer to errno tests in comment.
14727 (check_int): Call test_errno. Set errno to 0.
14728 (check_long): Likewise.
14729 (check_bool): Likewise.
14730 (check_longlong): Likewise.
14731 (cos_test): Use ERRNO_* flags for errno tests instead of
14732 check_int.
14733 (expm1_test): Likewise.
14734 (fmod_test): Likewise.
14735 (ilogb_test): Likewise.
14736 (lgamma_test): Likewise.
14737 (pow_test): Likewise.
14738 (remainder_test): Likewise.
14739 (sin_test): Likewise.
14740 (tan_test): Likewise.
14741 (yn_test): Likewise.
14742 (initialize): Set errno to 0.
14743 (main): Print number of errno tests.
14744 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14745
b1a36ceb
AJ
147462013-04-29 Andreas Jaeger <aj@suse.de>
14747
c3ed8088
AJ
14748 [BZ #15084]
14749 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14750 and RES_USEVC.
14751
f1a24198
AJ
14752 [BZ #15085]
14753 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14754 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14755 unimplemented.
14756
9ce3b2cb
AJ
14757 [BZ #15380]
14758 * stdlib/random.c (__initstate): Return NULL if
14759 __initstate fails.
14760
f1a24198 14761 [BZ #15086]
b1a36ceb
AJ
14762 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14763 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14764 RES_SNGLKUPREOP.
14765
7e7b6f36
AZ
147662013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14767
14768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14769
4d14f449
JM
147702013-04-29 Joseph Myers <joseph@codesourcery.com>
14771
14772 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14773 of individual tests.
14774 (casin_test): Likewise.
14775 (casinh_test): Likewise.
14776
5b4217d7
JM
147772013-04-27 Joseph Myers <joseph@codesourcery.com>
14778
14779 [BZ #15409]
14780 * math/s_catan.c (__catan): Handle arguments with large real or
14781 imaginary part separately without squaring.
14782 * math/s_catanf.c (__catanf): Likewise.
14783 * math/s_catanh.c (__catanh): Likewise.
14784 * math/s_catanhf.c (__catanhf): Likewise.
14785 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14786 and redefine.
14787 (__catanhl): Handle arguments with large real or imaginary part
14788 separately without squaring.
14789 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14790 and redefine.
14791 (__catanl): Handle arguments with large real or imaginary part
14792 separately without squaring.
14793 * math/libm-test.inc (catan_test): Add more tests.
14794 (catanh_test): Likewise.
14795 * sysdeps/i386/fpu/libm-test-ulps: Update.
14796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14797
4220c3ef
AJ
147982013-04-27 Andreas Jaeger <aj@suse.de>
14799
14800 [BZ #15007]
14801 * stdlib/stdlib.h: Update guards for qecvt.
14802 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14803 <stdlib.h>.
14804
4721b2d1
AM
148052013-04-27 Allan McRae <allan@archlinux.org>
14806
14807 * sysdeps/i386/fpu/libm-test-ulps: Update.
14808
f0302940
JM
148092013-04-26 Joseph Myers <joseph@codesourcery.com>
14810
9457fd95
JM
14811 [BZ #15406]
14812 * math/s_catan.c: Include <float.h>.
14813 (__catan): Ensure underflow exception occurs for underflowed
14814 result.
14815 * math/s_catanf.c: Include <float.h>.
14816 (__catanf): Ensure underflow exception occurs for underflowed
14817 result.
14818 * math/s_catanh.c: Include <float.h>.
14819 (__catanh): Ensure underflow exception occurs for underflowed
14820 result.
14821 * math/s_catanhf.c: Include <float.h>.
14822 (__catanhf): Ensure underflow exception occurs for underflowed
14823 result.
14824 * math/s_catanhl.c: Include <float.h>.
14825 (__catanhl): Ensure underflow exception occurs for underflowed
14826 result.
14827 * math/s_catanl.c: Include <float.h>.
14828 (__catanl): Ensure underflow exception occurs for underflowed
14829 result.
14830 * math/libm-test.inc (catan_test): Add more tests.
14831 (catanh_test): Likewise.
14832
f0302940
JM
14833 [BZ #15405]
14834 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14835 underflowed result.
14836 * math/s_ccoshf.c (__ccoshf): Likewise.
14837 * math/s_ccoshl.c (__ccoshl): Likewise.
14838 * math/s_csin.c (__csin): Likewise.
14839 * math/s_csinf.c (__csinf): Likewise.
14840 * math/s_csinh.c (__csinh): Likewise.
14841 * math/s_csinhf.c (__csinhf): Likewise.
14842 * math/s_csinhl.c (__csinhl): Likewise.
14843 * math/s_csinl.c (__csinl): Likewise.
14844 * math/libm-test.inc (ccos_test): Add more tests.
14845 (ccosh_test): Likewise.
14846 (csin_test): Likewise.
14847 (csinh_test): Likewise.
14848
aa630f59
AZ
148492013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14850
14851 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14852 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14853 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14854 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14855 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14856 powerpc/power5+/fpu folders.
14857 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14858
14859
1b835983
MT
148602013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14861
14862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14863
73709b26
JM
148642013-04-25 Joseph Myers <joseph@codesourcery.com>
14865
14866 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14867 additions to variable.
14868 [$(config-machine) = x86_64] (modules-names): Likewise.
14869 ($(objpfx)tst-audit3): Remove dependency.
14870 ($(objpfx)tst-audit3.out): Likewise.
14871 ($(objpfx)tst-audit4): Likewise.
14872 ($(objpfx)tst-audit4.out): Likewise.
14873 ($(objpfx)tst-audit5): Likewise.
14874 ($(objpfx)tst-audit5.out): Likewise.
14875 ($(objpfx)tst-audit6): Likewise.
14876 ($(objpfx)tst-audit6.out): Likewise.
14877 ($(objpfx)tst-audit7): Likewise.
14878 ($(objpfx)tst-audit7.out): Likewise.
14879 (tst-audit3-ENV): Remove variable.
14880 (tst-audit4-ENV): Likewise.
14881 (tst-audit5-ENV): Likewise.
14882 (tst-audit6-ENV): Likewise.
14883 (tst-audit7-ENV): Likewise.
14884 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14885 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14886 addition to variable.
14887 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14888 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14889 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14890 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14891 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14892 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14893 tst-audit3, tst-audit4 and tst-audit5.
14894 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14895 tst-audit6 and tst-audit7.
14896 [$(subdir) = elf] (modules-names): Add audit modules for those
14897 tests.
14898 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14899 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14900 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14901 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14902 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14903 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14904 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14905 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14906 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14907 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14908 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14909 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14910 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14911 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14912 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14913 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14914 Likewise.
14915 [$(subdir) = elf && $(config-cflags-avx) = yes]
14916 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14917 [$(subdir) = elf && $(config-cflags-avx) = yes]
14918 (CFLAGS-tst-auditmod4a.c): Likewise.
14919 [$(subdir) = elf && $(config-cflags-avx) = yes]
14920 (CFLAGS-tst-auditmod4b.c): Likewise.
14921 [$(subdir) = elf && $(config-cflags-avx) = yes]
14922 (CFLAGS-tst-auditmod6b.c): Likewise.
14923 [$(subdir) = elf && $(config-cflags-avx) = yes]
14924 (CFLAGS-tst-auditmod6c.c): Likewise.
14925 [$(subdir) = elf && $(config-cflags-avx) = yes]
14926 (CFLAGS-tst-auditmod7b.c): Likewise.
14927 * elf/tst-audit3.c: Move to ...
14928 * sysdeps/x86_64/tst-audit3.c: ... here.
14929 * elf/tst-audit4.c: Move to ...
14930 * sysdeps/x86_64/tst-audit4.c: ... here.
14931 * elf/tst-audit5.c: Move to ...
14932 * sysdeps/x86_64/tst-audit5.c: ... here.
14933 * elf/tst-audit6.c: Move to ...
14934 * sysdeps/x86_64/tst-audit6.c: ... here.
14935 * elf/tst-audit7.c: Move to ...
14936 * sysdeps/x86_64/tst-audit7.c: ... here.
14937 * elf/tst-auditmod3a.c: Move to ...
14938 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14939 * elf/tst-auditmod3b.c: Move to ...
14940 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14941 * elf/tst-auditmod4a.c: Move to ...
14942 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14943 * elf/tst-auditmod4b.c: Move to ...
14944 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14945 * elf/tst-auditmod5a.c: Move to ...
14946 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14947 * elf/tst-auditmod5b.c: Move to ...
14948 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14949 * elf/tst-auditmod6a.c: Move to ...
14950 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14951 * elf/tst-auditmod6b.c: Move to ...
14952 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14953 * elf/tst-auditmod6c.c: Move to ...
14954 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14955 * elf/tst-auditmod7a.c: Move to ...
14956 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14957 * elf/tst-auditmod7b.c: Move to ...
14958 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14959
1ef74943
PP
149602013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14961
14962 [BZ #15366]
14963 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14964 define unconditionally.
14965 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14966 define unconditionally.
14967 (INT8_C, INT16_C, etc.): Likewise.
14968
93fd48c5
MR
149692013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14970
ae9552cf
MR
14971 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14972 __ehdr_start with hidden visibility.
14973
93fd48c5
MR
14974 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14975
418601aa
CD
149762013-04-24 Carlos O'Donell <carlos@redhat.com>
14977
14978 * math/libm-test.inc (cos_test): Use accurate hex constants.
14979 (sincost_test): Likewise.
14980
2f38fbfe
JM
149812013-04-24 Joseph Myers <joseph@codesourcery.com>
14982
5e221800
JM
14983 * math/libm-test.inc (catan_test): Add more tests.
14984 (catanh_test): Likewise.
14985
77f143fd
JM
14986 * math/s_catanf.c (__catanf): Use suffixed floating-point
14987 constants.
14988 * math/s_catanhf.c (__catanhf): Likewise.
14989 * math/s_catanhl.c (__catanhl): Likewise.
14990 * math/s_catanl.c (__catanl): Likewise.
14991
2f38fbfe
JM
14992 [BZ #15394]
14993 * math/s_catan.c (__catan): Calculate imaginary part of result
14994 with log1p not log unless computing log of number close to 0.
14995 * math/s_catanf.c (__catanf): Likewise.
14996 * math/s_catanl.c (__catanl): Likewise.
14997 * math/s_catanh.c (__catanh): Calculate real part of result with
14998 log1p not log unless computing log of number close to 0.
14999 * math/s_catanhf.c (__catanhf): Likewise.
15000 * math/s_catanhl.c (__catanhl): Likewise.
15001 * math/libm-test.inc (catan_test): Add more tests.
15002 (catanh_test): Likewise.
15003 * sysdeps/i386/fpu/libm-test-ulps: Update.
15004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15005
45d69176
SP
150062013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15007
15008 * benchtests/Makefile: Mention files in which fast and slow
15009 paths of math functions are implemented.
15010
87f51853
RM
150112013-04-23 Roland McGrath <roland@hack.frob.com>
15012
15013 * sysdeps/posix/timespec_get.c: New file.
15014
3c026539
AZ
150152013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15016
15017 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15018 POWER.
15019 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15020 for POWER.
15021 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15022 powerpc/power5/fpu folders.
15023 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15024 * benchtests/Makefile: Add modf testcase.
15025 * benchtests/bench-modf.c: New file: Benchmark test for mo
15026
ff491d14
SP
150272013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15028
15029 [BZ #14888]
15030 * time/Makefile (tests): Add tst-strptime-whitespace.
15031 * time/strptime_l.c (get_number): Use ISSPACE.
15032 (__strptime_internal): Likewise.
15033 * time/tst-strptime-whitespace.c: New test case.
15034
7ed3f4e8
AS
150352013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15036
15037 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15038 member.
15039 (_nss_files_init): Set it here.
15040
5c95f7b6
HC
150412013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15042
15043 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15044 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15045 unsigned.
15046
d34c9158
JBG
150472013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15048
15049 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15050
2169712d
SP
150512013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15052
15053 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15054 size just once.
15055
29c5de99
DM
150562013-04-21 David S. Miller <davem@davemloft.net>
15057
15058 * po/ru.po: Update Russion translation from translation project.
15059
ccdad15d
AC
150602013-04-17 Adam Conrad <adconrad@0c3.net>
15061
15062 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15063 and setfsgid.
15064
0f122b8d
CD
150652013-04-17 Carlos O'Donell <carlos@redhat.com>
15066
5c5b07da 15067 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15068 * configure: Regenerate.
5c5b07da 15069 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15070 Add example to error message.
15071 * sysdeps/i386/configure: Regenerate.
15072
037714dd
SP
150732013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15074
15075 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15076 slowtan.
15077 * benchtests/cos-inputs: New file.
15078 * benchtests/slowcos-inputs: New file.
15079 * benchtests/slowcos.c: New file.
15080 * benchtests/slowtan-inputs: New file.
15081 * benchtests/slowtan.c: New file.
15082 * benchtests/tan-inputs: New file.
15083
e913141d
RM
150842013-04-16 Roland McGrath <roland@hack.frob.com>
15085
15086 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15087 considered kosher.
15088
a2964074
SP
150892013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15090
4856bcd2
SP
15091 * benchtests/Makefile: Include cppflags-iterator.mk to add
15092 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15093
a2964074
SP
15094 * Makefile.in (bench-clean): New target.
15095 * benchtests/Makefile (bench-clean): Likewise.
15096
9fbf9aca
DH
150972013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15098
15099 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15100
207d1e2a
TS
151012013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15102
15103 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15104
306dfba9
AS
151052013-04-15 Andreas Schwab <schwab@suse.de>
15106
15107 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15108 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15109 * nscd/pwdcache.c (cache_addpw): Likewise.
15110 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15111 more than recsize.
15112
206a6699
SP
151132013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15114
15115 * benchtests/Makefile (bench): Write all output to
15116 bench-out.tmp together.
15117
0582f6b3
AS
151182013-04-15 Andreas Schwab <schwab@suse.de>
15119
15120 * nscd/nscd.c (main): Don't fork again after closing files.
15121
acb4325f
SP
151222013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15123
5cb26d0a
SP
15124 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15125
acb4325f
SP
15126 * benchtests/Rules (bench-deps): Collect dependencies into a
15127 single variable. Add Makefile to dependencies.
15128 ($(objpfx)bench-%.c): Depend on bench-deps.
15129
47792506
RM
151302013-04-12 Roland McGrath <roland@hack.frob.com>
15131 Xavier Roche <roche+kml2@exalead.com>
15132
15133 [BZ #15361]
15134 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15135 just that it's a file descriptor.
15136 * manual/llio.texi (Synchronizing AIO Operations): Update description
15137 for EBADF error from aio_fsync.
15138
8fc1bee5
SP
151392013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15140
15141 * Rules (bench): Move target definition...
15142 * benchtests/Makefile: ... here.
15143
aba5e333
CD
151442013-04-11 Carlos O'Donell <carlos@redhat.com>
15145
15146 * math/libm-test.inc (cos_test): Fix PI/2 test.
15147 (sincos_test): Likewise.
15148 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15149 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15150
273cdee8
AS
151512013-04-11 Andreas Schwab <schwab@suse.de>
15152
6ecec3b6
AS
15153 [BZ #13988]
15154 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15155 accept exponent character only when digits were seen.
15156 * stdio-common/Makefile (tests): Add bug26.
15157 * stdio-common/bug26.c: New file.
15158
273cdee8
AS
15159 [BZ #14293]
15160 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15161 non-freeable.
15162
8da491f5
SP
151632013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15164
01dc6df9
SP
15165 * Makeconfig (rtld-prefix): Define built linker prefix.
15166 * Rules (run-bench): Use it.
15167 * math/Makefile (run-regen-ulps): Likewise.
15168
8da491f5
SP
15169 * Rules (bench): Remove eval.
15170
abe7f530
SP
151712013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15172 Roland McGrath <roland@hack.frob.com>
15173 Ondrej Bilka <neleai@seznam.cz>
15174
15175 [BZ #15346]
15176 * time/getdate.c: Include ctype.h and alloca.h.
15177 (__getdate_r): Trim leading and trailing spaces of input.
15178 * time/tst-getdate.c (tests): Add tests with leading and
15179 trailing spaces.
15180
61c23e62
RM
151812013-04-08 Roland McGrath <roland@hack.frob.com>
15182
15183 [BZ #14280]
15184 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15185 when computing value.
15186
7208a313
CD
151872013-04-06 Carlos O'Donell <carlos@redhat.com>
15188
085b2d41
CD
15189 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15190 Use testrun.sh to run libm tests.
15191
7208a313
CD
15192 [BZ #15309]
15193 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15194
872c0acd
MM
151952013-04-06 Marko Myllynen <myllynen@redhat.com>
15196
15197 [BZ #15264]
15198 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15199
26510bdd
CD
152002013-04-06 Carlos O'Donell <carlos@redhat.com>
15201
15202 * Makefile.in (regen-ulps): New target.
15203 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15204 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15205 [ifneq (no,$(PERL)] (regen-ulps): New target.
15206 [ifeq (no,$(PERL)] (regen-ulps): New target.
15207 * math/libm-test.inc (ulps_file_name): Define.
15208 (output_dir): New variable.
15209 (options): Add "output-dir" option.
15210 (parse_opt): Handle 'o' case.
15211 (main): If output_dir is non-NULL use it as a prefix
15212 otherwise use "".
15213 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15214
a01f19c8
CD
152152013-04-06 Carlos O'Donell <carlos@redhat.com>
15216
15217 [BZ #10060, #10062]
15218 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15219 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15220 fail configure if __sync_val_compare_and_swap is not inlined.
15221 * sysdeps/i386/configure: Regenerate.
15222 * configure.in: Build for i686 when configured for i386.
15223 * configure: Regenerate.
15224 * README: Remove i386 reference.
15225
b7a329a5
CD
152262013-04-06 Carlos O'Donell <carlos@redhat.com>
15227
15228 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15229 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15230
bf0f50df
TS
152312013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15232
ee091edf
TS
15233 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15234 (lmsnanval): New variables.
15235 (F): Add conversion tests.
15236 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15237 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15238
a8b792d6
TS
15239 * stdio-common/tstdiomisc.c (F): Properly collect individual
15240 tests' results.
15241
a1cbf437
TS
15242 [BZ #14686, #15336]
15243 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15244 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15245 Instead, use input NaN values or generate a qNaN by arithmetic
15246 operation. Also fix bugs to comply with the standard.
15247 * math/libm-test.inc (remainder_test): Add more tests.
15248
8b43a0c9
TS
15249 [BZ #15335, #15342]
15250 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15251 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15252 input NaN values or generate a qNaN by arithmetic operation.
15253
d91da4ce
TS
15254 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15255 unreachable code.
15256
bf0f50df
TS
15257 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15258 definitions.
15259
05e166c8
JM
152602013-04-03 Joseph Myers <joseph@codesourcery.com>
15261
15262 [BZ #14478]
15263 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15264 underflowed result.
15265 * math/s_cexpf.c (__cexpf): Likewise.
15266 * math/s_cexpl.c (__cexpl): Likewise.
15267 * math/libm-test.inc (cexp_test): Add more tests.
15268
1cef1b19
AS
152692013-04-03 Andreas Schwab <schwab@suse.de>
15270
15271 [BZ #15330]
15272 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15273 order arrays from heap if bigger than alloca cutoff.
15274
74d87055
TS
152752013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15276
15277 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15278 (SNAN_TESTS_double): Refer to GCC PR56831.
15279 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15280 GCC PR56828.
15281
d755bba4
SP
152822013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15283
90d5d5bb
SP
15284 * Rules (bench): Move bench.out after the run is complete.
15285
73e0cd5d
SP
15286 * Rules (bench): Echo currently running benchmark.
15287
64aabd4b
SP
15288 * benchtests/Makefile (bench): Add atan and slowatan.
15289 * benchtests/atan-inputs: New file.
15290 * benchtests/slowatan-inputs: New file.
15291 * benchtests/slowatan.c: New file.
15292
c871eccd
SP
15293 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15294 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15295 its value.
15296
d755bba4
SP
15297 [BZ #15305]
15298 * sysdeps/unix/sysv/linux/kernel-features.h
15299 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15300 __ASSUME_XFS_RESTRICTED_CHOWN.
15301 * sysdeps/unix/sysv/linux/pathconf.c
15302 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15303 Save and restore errno.
15304
52ce4860
JM
153052013-04-02 Joseph Myers <joseph@codesourcery.com>
15306
15307 [BZ #15327]
15308 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15309 arguments using __kernel_casinh.
15310 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15311 arguments using __kernel_casinhf.
15312 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15313 arguments using __kernel_casinhl.
15314 * math/libm-test.inc (cacosh_test): Add more tests.
15315 * sysdeps/i386/fpu/libm-test-ulps: Update.
15316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15317
81f311c2
SP
153182013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15319
e7906a47
SP
15320 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15322
92e3664b
SP
15323 * bench/Makefile (bench): Add sin and slowsin.
15324 * benchtests/sin-inputs: New file.
15325 * benchtests/slowsin-inputs: New file.
15326 * benchtests/slowsin.c: New file.
15327
81f311c2
SP
15328 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15329 (bench): Add slowexp and slowpow.
15330 (exp-ITER): Increase iterations.
15331 (pow-ITER): Likewise.
15332 * benchtests/exp-inputs: Change input.
15333 * benchtests/pow-inputs: Likewise.
15334 * benchtests/slowexp-inputs: New file.
15335 * benchtests/slowexp.c: New file.
15336 * benchtests/slowpow-inputs: New file.
15337 * benchtests/slowpow.c: New file.
15338
ab0f1aa9
AZ
153392013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15340
15341 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15342 instructions.
15343 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15344 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15345 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15346 * benchtests/Makefile: Add rint benchtest.
15347 * benchtests/rint-inputs: Input for rint benchtest.
15348
57267616
TS
153492013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15350
15351 * Versions.def (libm): Add GLIBC_2.18.
15352 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15353 hidden libm prototypes.
15354 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15355 * math/Makefile (libm-calls): Add s_issignaling.
15356 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15357 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15358 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15359 declaration.
15360 * math/math.h [__USE_GNU] (issignaling): New macro.
15361 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15362 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15363 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15364 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15365 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15367 * manual/arith.texi (issignaling): New section.
15368 * manual/libm-err-tab.pl (@all_functions): Update comment.
15369 * math/gen-libm-test.pl (parse_args): Apply special handling for
15370 issignaling.
15371 * math/libm-test.inc (print_float, issignaling_test): New
15372 functions.
15373 (check_float_internal): Add issignaling checks.
15374 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15375 default definition.
15376 * sysdeps/powerpc/math-tests.h: New file.
15377 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15378 tests.
15379 * math/test-snan.c (TEST_FUNC): Likewise.
15380
6142896d
DM
153812013-03-30 David S. Miller <davem@davemloft.net>
15382
15383 * po/de.po: Update from translation team.
15384
ccc8cadf
JM
153852013-03-30 Joseph Myers <joseph@codesourcery.com>
15386
15387 [BZ #10357]
15388 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15389 imaginary part less than 1.0 and real part less than 0.5
15390 specially.
15391 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15392 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15393 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15394 (cacos_test): Add more tests.
15395 (casin_test): Likewise.
15396 (casinh_test): Likewise.
15397 * sysdeps/i386/fpu/libm-test-ulps: Update.
15398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15399
0f6a8d4b
SP
154002013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15401
0d1029de
SP
15402 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15403 ONE with its value.
15404
c2d94018
SP
15405 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15406 (__pow_mp): Replace ONE and MONE with their values.
15407 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15408 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15409 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15410 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15411 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15412 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15413
27ec37f1
SP
15414 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15415
a64d7e0e
SP
15416 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15417 (__pow_mp): Replace ZERO and MZERO with their values.
15418 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15419 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15420 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15421 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15422 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15423 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15424 (__sqr): Likewise.
15425
d26dd3eb
SP
15426 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15427
0f6a8d4b
SP
15428 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15429
e57b0c61
RM
154302013-03-28 Roland McGrath <roland@hack.frob.com>
15431
15432 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15433 Declare with __attribute__ ((weak)).
15434 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15435 Call __call_tls_dtors only if it's not NULL.
15436
356b3480
RM
154372013-03-28 Roland McGrath <roland@hack.frob.com>
15438
288f7d79
RM
15439 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15440 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15441 magic __ehdr_start linker symbol if it's defined.
15442 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15443 them up here if it was already done.
15444
dc0a0263
RM
15445 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15446 (_dl_aux_init): Use const in cast when setting it.
15447 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15448 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15449 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15450
3d3436ae
RM
15451 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15452 Declare them here.
15453 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15454 * csu/libc-tls.c: Nor here.
15455 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15456
356b3480
RM
15457 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15458 (__libc_message): Never call vsyslog.
15459
b0f1246a
AM
154602013-03-28 Alan Modra <amodra@gmail.com>
15461
15462 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15463 Define as empty.
15464 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15465 Likewise.
15466
fbbe2b9a
AZ
154672013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15468
15469 [BZ #15214]
15470 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15471 underflow.
15472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15473
1728ab37
SP
154742013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15475
7a86be6e
SP
15476 [BZ #15304]
15477 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15478 Don't add gid passed as argument.
15479
1728ab37
SP
15480 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15481
3a7182a1
JM
154822013-03-27 Joseph Myers <joseph@codesourcery.com>
15483
15484 [BZ #15307]
15485 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15486 imaginary part between 1.0 and 1.5 and real part less than 0.5
15487 specially.
15488 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15489 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15490 * math/libm-test.inc (cacos_test): Add more tests.
15491 (casin_test): Likewise.
15492 (casinh_test): Likewise.
15493 * sysdeps/i386/fpu/libm-test-ulps: Update.
15494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15495
6f2e90e7
SP
154962013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15497
5739f705
SP
15498 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15499 constants.
15500 (norm): Likewise.
15501 (denorm): Likewise.
15502 (__dbl_mp): Likewise.
15503 (add_magnitudes): Likewise.
15504 (sub_magnitudes): Likewise.
15505 (__add): Likewise.
15506 (__sub): Likewise.
15507 (__mul): Likewise.
15508 (__sqr): Likewise.
15509 (__inv): Likewise.
15510 (__dvd): Likewise.
15511
e375e83d
SP
15512 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15513 commented code.
15514 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15515 (__dubcos): Likewise.
15516 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15517 (__ieee754_acos): Likewise.
15518 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15519 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15520 (__exp1): Likewise.
15521 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15523 (log1): Likewise.
15524 (my_log2): Likewise.
15525 (checkint): Likewise.
15526 * sysdeps/ieee754/dbl-64/e_remainder.c
15527 (__ieee754_remainder): Likewise.
15528 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15529 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15530 (bsloww): Likewise.
15531 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15532
6f2e90e7
SP
15533 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15534 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15535 MANTISSA_STORE_T to store computations on mantissa. Use
15536 macros for rounding and division.
15537 (denorm): Likewise.
15538 (__dbl_mp): Likewise.
15539 (add_magnitudes): Likewise.
15540 (sub_magnitudes): Likewise.
15541 (__mul): Likewise.
15542 (__sqr): Likewise.
15543 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15544 powers of two in terms of TWOPOW macro.
15545 (mp_no): Make type of mantissa as MANTISSA_T.
15546 [!RADIXI]: Define RADIXI.
15547 [!TWO52]: Define TWO52.
15548 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15549
fce14d4e
AZ
155502013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15551
15552 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15553 llroundl symbol when building for PPC32.
15554
9ad027fb
MW
155552013-03-24 Mark H Weaver <mhw@netris.org>
15556
15557 * manual/arith.texi (Normalization Functions): Fix prototypes for
15558 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15559
e42a38dd
AZ
155602013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15561
15562 [BZ #13889]
15563 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15564 high value to check if expl overflow.
15565 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15566 to check for underflow and overflow.
15567 * math/libm-test.inc: Add exp test.
15568
2e0fb521
DL
155692013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15570
15571 [BZ #11120]
15572 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15573 with NOT_IN_libc.
15574
b5784d95
AZ
155752013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15576
15577 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15578 symbol.
15579
5aa4a1a1
TS
155802013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15581
bdef0be7
TS
15582 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15583 wrap blocks consisting of several statements.
15584
5aa4a1a1
TS
15585 * sysdeps/generic/math-tests.h: New file.
15586 * sysdeps/i386/fpu/math-tests.h: Likewise.
15587 * math/test-snan.c: Include it.
15588 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15589
98c48fe5
JM
155902013-03-21 Joseph Myers <joseph@codesourcery.com>
15591
15592 [BZ #15285]
15593 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15594 (__ieee754_j0l): Do not improve calculations using cos of twice
15595 input for inputs above LDBL_MAX / 2.0L.
15596 (__ieee754_y0l): Likewise.
15597 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15598 (__ieee754_j1l): Do not improve calculations using cos of twice
15599 input for inputs above LDBL_MAX / 2.0L.
15600 (__ieee754_y1l): Likewise.
15601 * math/libm-test.inc (j0_test): Add another test.
15602 (j1_test): Likewise.
15603 (y0_test): Likewise.
15604 (y1_test): Likewise.
15605 * sysdeps/i386/fpu/libm-test-ulps: Update.
15606
3775a8bc
SP
156072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15608
15609 * Rules ($(objpfx)bench-%.c): Include code from a C source
15610 file.
15611
0a1b2ae6
JM
156122013-03-21 Joseph Myers <joseph@codesourcery.com>
15613
15614 [BZ #15287]
15615 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15616 imaginary part 1.0 and real part less than 0.5 specially.
15617 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15618 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15619 * math/libm-test.inc (cacos_test): Add more tests.
15620 (casin_test): Likewise.
15621 (casinh_test): Likewise.
15622 * sysdeps/i386/fpu/libm-test-ulps: Update.
15623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15624
b33d4ce4
SP
156252013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15626
15627 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15628 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15629
bef0b507
JM
156302013-03-20 Joseph Myers <joseph@codesourcery.com>
15631
15632 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15633 * config.make.in (config-cflags-sse4): Remove variable.
15634 (config-cflags-avx): Likewise.
15635 (config-cflags-sse2avx): Likewise.
15636 (config-cflags-novzeroupper): Likewise.
15637 (config-asflags-i686): Likewise.
15638 (have-mfma4): Likewise.
15639 (have-as-vis3): Likewise.
15640 (MIG): Likewise.
15641 * configure.in (MIG): Do not AC_SUBST.
15642 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15643 (libc_cv_cc_sse4): Do not AC_SUBST.
15644 (libc_cv_cc_avx): Likewise.
15645 (libc_cv_cc_sse2avx): Likewise.
15646 (libc_cv_cc_novzeroupper): Likewise.
15647 (libc_cv_cc_fma4): Likewise.
15648 (libc_cv_as_i686): Likewise.
15649 (libc_cv_sparc_as_vis3): Likewise.
15650 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15651 LIBC_CONFIG_VAR.
15652 (config-asflags-i686): Likewise.
15653 (config-cflags-avx): Likewise.
15654 (config-cflags-sse2avx): Likewise.
15655 (have-mfma4): Likewise.
15656 (config-cflags-novzeroupper): Likewise.
15657 * sysdeps/mach/configure.in (MIG): Likewise.
15658 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15659 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15660 LIBC_CONFIG_VAR.
15661 (config-cflags-avx): Likewise.
15662 (config-cflags-sse2avx): Likewise.
15663 (have-mfma4): Likewise.
15664 (config-cflags-novzeroupper): Likewise.
15665 * configure: Regenerated.
15666 * sysdeps/i386/configure: Likewise.
15667 * sysdeps/mach/configure: Likewise.
15668 * sysdeps/sparc/configure: Likewise.
15669 * sysdeps/x86_64/configure: Likewise.
15670
912cc4b3
RM
156712013-03-20 Roland McGrath <roland@hack.frob.com>
15672
15673 [BZ #14812]
15674 * locale/programs/localedef.c (options): Put N_ translation marker
15675 on argument names, not just descriptions.
15676
04eed2b0
MS
156772013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15678
15679 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15680
a065ceff
OB
156812013-03-20 Ondřej Bílka <neleai@seznam.cz>
15682
9bb2a810 15683 [BZ #14176]
a065ceff
OB
15684 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15685
a600e5ce
RM
156862013-03-19 Roland McGrath <roland@hack.frob.com>
15687
15688 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15689 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15690 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15691 [!BEFORE_ABORT] (before_abort): New function.
15692 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15693 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15694 (writev_for_fatal): New function.
15695 (WRITEV_FOR_FATAL): New macro; call that.
15696 (backtrace_and_maps): New function.
15697 (BEFORE_ABORT): New macro; call that.
15698 (struct str_list): Type removed.
15699 (__libc_message, __libc_fatal): Functions removed.
15700 Include <sysdeps/posix/libc_fatal.c> instead.
15701
6b18bea6
JM
157022013-03-19 Joseph Myers <joseph@codesourcery.com>
15703
15704 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15705 constants.
15706 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15707 double constants.
15708
aaa8cb4b
AS
157092013-03-19 Andreas Schwab <schwab@suse.de>
15710
44673770
AS
15711 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15712 * sysdeps/gnu/configure: Regenerate.
15713
aaa8cb4b
AS
15714 * configure.in: Substitute libc_cv_rtlddir.
15715 * configure: Regenerate.
15716 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15717 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15718 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15719 * elf/Makefile (install-others, CFLAGS-interp.c)
15720 (ldso_install, common-ldd-rewrite): Likewise.
15721 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15722 $(inst_slibdir)/$(rtld-installed-name).
15723 * scripts/rellns-sh: Add -p option.
15724 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15725 for source.
15726
d3cfc668
SP
157272013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15728
15729 * manual/nptl.texi: Renamed to ...
15730 * manual/threads.texi: ... this.
15731 * manual/Makefile (chapters): Update.
15732
0e2b9cdd
RM
157332013-03-18 Roland McGrath <roland@hack.frob.com>
15734
15735 [BZ #14812]
15736 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15737 on argument names, not just descriptions.
0e2b9cdd
RM
15738 * malloc/memusagestat.c (options): Likewise.
15739 * nss/getent.c (options): Likewise.
63270c24
RM
15740
157412013-03-18 Benno Schulenberg <bensberg@justemail.net>
15742
15743 [BZ #14812]
15744 * iconv/iconv_prog.c (options): Put N_ translation marker
15745 on argument names, not just descriptions.
15746 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15747
b2e1393c
OB
157482013-03-18 Ondrej Bilka <neleai@seznam.cz>
15749
15750 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15751 implementation which is faster on all x86_64 architectures.
15752 Tested on AMD, Intel Nehalem, SNB, IVB.
15753 * sysdeps/x86_64/strnlen.S: Likewise.
15754
15755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15756 Remove all multiarch strlen and strnlen versions.
15757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15758 Remove strlen and strnlen related parts.
15759
15760 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15761 Inline strlen part.
15762 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15763
15764 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15765 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15766 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15767 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15768 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15769 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15770
ec4ff04d
CD
157712013-03-17 Carlos O'Donell <carlos@redhat.com>
15772
15773 * manual/memory.texi (Malloc Tunable Parameters):
15774 Sort parameters alphabetically. Add comments for missing entries.
15775
cd18e90a
DM
157762013-03-17 David S. Miller <davem@davemloft.net>
15777
15778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15779
2a185d32
JM
157802013-03-16 Joseph Myers <joseph@codesourcery.com>
15781
d2f9799e
JM
15782 [BZ #15283]
15783 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15784 for arguments at most half maximum finite value.
15785 * math/libm-test.inc (j0_test): Add more tests.
15786 (j1_test): Likewise.
15787 (y0_test): Likewise.
15788 (y1_test): Likewise.
15789 * sysdeps/i386/fpu/libm-test-ulps: Update.
15790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15791
2a185d32
JM
15792 [BZ #14155]
15793 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15794 1 / x and functions P and Q for arguments above 0x1p256L.
15795 (__ieee754_y0l): Likewise.
15796 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15797 (__ieee754_y1l): Likewise.
15798 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15799 (j1_test): Likewise.
15800 (y0_test): Likewise.
15801 (y1_test): Likewise.
15802
6cbec759
TS
158032013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15804
15805 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15806 variable.
15807
bc16e260
RM
158082013-03-15 Roland McGrath <roland@hack.frob.com>
15809
aefc9b8c
RM
15810 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15811 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15812 zero since it's initialized to EXEC_PAGESIZE.
15813
bc16e260
RM
15814 * sysdeps/unix/sysv/linux/ldsodefs.h
15815 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15816 * sysdeps/generic/ldsodefs.h: ... here.
15817
a57da955
TS
158182013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15819
af00a34d
TS
15820 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15821
495ded2c
TS
15822 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15823 math/test-snan.c.
15824 * math/test-snan.c: Renamed from
15825 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15826 * math/Makefile (tests): Add test-snan.
15827 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15828 test-powerpc-snan.
15829
777b0332
TS
15830 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15831 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15832 functions.
15833 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15834 __builtin_nan family of functions.
15835 * math/libm-test.inc (initialize): Initialize qnan_value with
15836 __builtin_nan family of functions.
15837 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15838 Remove variables.
15839 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15840 Remove functions.
15841 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15842 storage class. Initialize qNaN_var and sNaN_var with
15843 __builtin_nan and __builtin_nans families of functions,
15844 respectively.
15845
64d063b8
TS
15846 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15847 (sqrt_test): Remove duplicate test with qNaN input.
15848 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15849 (round_test, signbit_test, significand_test): Note missing +/-Inf
15850 as well as qNaN tests.
15851
67e971f1
TS
15852 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15853 qNaN_var. Fix a few strings, too.
15854 * math/libm-test.inc (nan_value): Rename to qnan_value.
15855 * math/gen-libm-test.pl (%beautify): Adjust to that.
15856 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15857 * math/test-misc.c (main): Likewise.
15858 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15859 to __qnan_bytes, and __qnan_union, respectively.
15860 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15861 Likewise.
15862 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15863 and lqnanval, respectively.
15864 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15865 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15866 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15867 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15868
64487e12
TS
15869 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15870 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15871 doubles.
15872
e015e27b
TS
15873 * math/test-misc.c (main): Fix copy'n'pastos.
15874 * misc/tst-efgcvt.c (special): Likewise.
15875
a57da955
TS
15876 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15877 Remove declarations.
15878
1e380345
SP
158792013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15880
15881 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15882 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15883 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15884 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15885
ef26eece
AZ
158862013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15887
15888 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15889 macro to return vdso values correctly in IFUNC implementations.
15890 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15891 Optimization by using IFUNC.
15892
8cfdb7e0
SP
158932013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15894 Richard Henderson <rth@redhat.com>
15895 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15896
15897 * Makefile.in (bench): New target.
15898 * NEWS: Mention the benchmark framework.
15899 * Rules (bench): Likewise.
15900 (binaries-bench): Generate binaries for functions to
15901 benchmark.
15902 * benchtests/Makefile: New makefile for benchmark tests.
15903 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15904 programs.
15905 * benchtests/exp-inputs: New input file for EXP function.
15906 * benchtests/pow-inputs: New input file for POW function.
15907 * scripts/bench.pl: New script to generate source files for
15908 benchmark programs.
15909
bcda9880
SP
159102013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15911
d22ca8cd
SP
15912 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15913 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15914 computations on mantissa. Use macros for rounding and
15915 division.
15916 (denorm): Likewise.
15917 (__dbl_mp): Likewise.
15918 (add_magnitudes): Likewise.
15919 (sub_magnitudes): Likewise.
15920 (__mul): Likewise.
15921 (__sqr): Likewise.
15922 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15923 powers of two in terms of TWOPOW macro.
15924 (mp_no): Make type of mantissa as MANTISSA_T.
15925 [!RADIXI]: Define RADIXI.
15926 [!TWO52]: Define TWO52.
15927 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15928
bcda9880
SP
15929 * manual/nptl.texi (cindex): Modify threads to pthreads.
15930
06d5adfb
JM
159312013-03-15 Joseph Myers <joseph@codesourcery.com>
15932
15933 * sysdeps/x86_64/preconfigure: Regenerated.
15934
41c7328e
JM
159352013-03-14 Joseph Myers <joseph@codesourcery.com>
15936
15937 [BZ #14155]
15938 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15939 0x1p28 and above.
15940 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15941 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15942 0x1p28 and above.
15943 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15944 * math/libm-test.inc (j0_test): Do not allow one spurious
15945 underflow exception.
15946 (y1_test): Likewise.
15947
e25cfa60
SP
159482013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15949
0409959c
SP
15950 * manual/Makefile (chapters): Add nptl.
15951 * manual/debug.texi (Debugging Support): Add link to Threads
15952 chapter.
15953 * manual/nptl.texi: New file.
15954
e25cfa60
SP
15955 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15956
58a1335e
PB
159572013-03-14 Petr Baudis <pasky@ucw.cz>
15958
15959 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15960 for non-NULL pointer before the memory validity test. Pointed
15961 out by Holger Brunck <holger.brunck@keymile.com>.
15962
9dc7c64f
AS
159632013-03-13 Andreas Schwab <schwab@suse.de>
15964
15965 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15966 instead of .os.
15967
54206aa6
JM
159682013-03-13 Joseph Myers <joseph@codesourcery.com>
15969
15970 * timezone/zic.c: Update from tzcode 2013b.
15971
e98cdb38
CD
159722013-03-12 Carlos O'Donell <carlos@redhat.com>
15973
15974 * manual/install.texi (Configuring and compiling):
15975 Mention i686 and i586.
15976 * INSTALL: Regenerate.
15977
9967e003
RM
159782013-03-12 Roland McGrath <roland@hack.frob.com>
15979
15980 * sysdeps/init_array/elf-init.c: New file.
15981 * csu/elf-init.c
15982 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15983 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15984
15985 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15986 __gmon_start__ as global, but as static with a .preinit_array pointer.
15987 * sysdeps/init_array/gmon-start.c: New file. Use that.
15988 * sysdeps/init_array/crti.S: New file, empty except for comments.
15989 * sysdeps/init_array/crtn.S: Likewise.
15990
e6b5a293 159912013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15992
15993 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15994 definining bcopy.
80f844c9
OB
15995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15996 Remove Prefer_SSE_for_memop.
15997 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15998 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15999 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16001 memset-x86-64.
80f844c9 16002 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16003 Remove bzero, memset ifunc support.
80f844c9
OB
16004 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16005 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16006 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16007 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16008
fb6b0fcb
AS
160092013-03-11 Andreas Schwab <schwab@suse.de>
16010
16011 [BZ #15234]
16012 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16013 by SHLIB_COMPAT.
16014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16015 (GLIBC_2.16): Remove pthread_atfork.
16016
3e6bd4b1
PP
160172013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16018
16019 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16020 (ptestcases.h): Likewise.
16021
222d7f00
RM
160222013-03-08 Roland McGrath <roland@hack.frob.com>
16023
16024 * Makeconfig ($(common-objpfx)config.status): Depend on
16025 sysdeps/*/preconfigure{,.in} too.
16026
1ba4f030
JM
160272013-03-08 Joseph Myers <joseph@codesourcery.com>
16028
a222d91a
JM
16029 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16030 (__free_hook): Use void * instead of __malloc_ptr_t.
16031 (__malloc_hook): Likewise.
16032 (__realloc_hook): Likewise.
16033 (__memalign_hook): Likewise.
16034 (__after_morecore_hook): Likewise.
16035 * malloc/arena.c (save_malloc_hook): Likewise.
16036 (save_free_hook): Likewise.
16037 * malloc/hooks.c (malloc_hook_ini): Likewise.
16038 (realloc_hook_ini): Likewise.
16039 (memalign_hook_ini): Likewise.
16040 * malloc/malloc.c (malloc_hook_ini): Likewise.
16041 (realloc_hook_ini): Likewise.
16042 (memalign_hook_ini): Likewise.
16043 (__free_hook): Likewise.
16044 (__malloc_hook): Likewise.
16045 (__realloc_hook): Likewise.
16046 (__memalign_hook): Likewise.
16047 (__libc_malloc): Likewise.
16048 (__libc_free): Likewise.
16049 (__libc_realloc): Likewise.
16050 (__libc_memalign): Likewise.
16051 (__libc_valloc): Likewise.
16052 (__libc_pvalloc): Likewise.
16053 (__libc_calloc): Likewise.
16054 (__posix_memalign): Likewise.
16055 * malloc/morecore.c (__sbrk): Likewise.
16056 (__default_morecore): Likewise.
16057
5cc45e10
JM
16058 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16059
dd54b864
JM
16060 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16061 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16062 __malloc_ptrdiff_t.
16063
1ba4f030
JM
16064 * malloc/malloc.h (__malloc_size_t): Remove macro.
16065 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16066 __malloc_size_t.
16067 (old_memalign_hook): Likewise.
16068 (old_realloc_hook): Likewise.
16069 (struct hdr): Likewise.
16070 (flood): Likewise.
16071 (mallochook): Likewise.
16072 (memalignhook): Likewise.
16073 (reallochook): Likewise.
16074 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16075 (tr_old_realloc_hook): Likewise.
16076 (tr_old_memalign_hook): Likewise.
16077 (tr_mallochook): Likewise.
16078 (tr_reallochook): Likewise.
16079 (tr_memalignhook): Likewise.
16080
edf66e57
AZ
160812013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16082
16083 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16084 default_ldbl_pack and using as default implementation.
16085 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16086 implementation.
16087 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16088 redundant definition.
16089 (ldbl_insert_mantissa): Likewise.
16090 (ldbl_canonicalize): Likewise.
16091 (ldbl_nearbyint): Likewise.
16092 (ldbl_pack): Rename to ldbl_pack_ppc.
16093 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16094 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16095 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16096
6d9145d8
SP
160972013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16098
16099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16100 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16101 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16102 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16103 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16104 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16105 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16106 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16107
4dd4e157
AJ
161082013-03-07 Andreas Jaeger <aj@suse.de>
16109
16110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16111 bits/mman-linux.h.
16112
adbb8027
SP
161132013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16114
ce544b5b
SP
16115 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16116 Include mpa.h and declare __MPEXP.
16117 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16118 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16119 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16120 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16121 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16122 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16123 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16124
4cc149fd
SP
16125 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16126 (__slowpow): Use long double EXPL and LOGL functions to
16127 compute POW.
16128 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16129 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16130 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16131 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16132 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16133 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16134
e6ebd4a7
SP
16135 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16136 intermediate variable to calculate exponent.
16137 (__sqr): Likewise.
16138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16139 Likewise.
16140 (__sqr): Likewise.
16141
82a9811d
SP
16142 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16143 [!NO__SQR]: Define __sqr.
16144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16145 and NO__SQR. Remove all code except __mul and __sqr. Include
16146 sysdeps/ieee754/dbl-64/mpa.c.
16147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16148
adbb8027
SP
16149 [BZ #12723]
16150 * posix/Makefile (tests): Add tst-pathconf.
16151 * posix/tst-pathconf.c: New test case.
16152 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16153 _PC_PIPE_BUF.
16154 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16155
39120df9
PF
161562013-03-06 Patsy Franklin <pfrankli@redhat.com>
16157
16158 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16159
67525cb8
AJ
161602013-03-06 Andreas Jaeger <aj@suse.de>
16161
664a9ce4
AJ
16162 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16163 definition via __MAP_ANONYMOUS.
16164
8e39047d
AJ
16165 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16166 it's not part of Linux headers.
16167
67525cb8
AJ
16168 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16169 (MAP_HUGE_MASK): Define.
16170
16171 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16172 Define.
16173 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16174 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16175 Define.
16176 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16177 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16178 Define.
16179 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16180 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16181 Define.
16182 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16183
16184 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16185 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16186 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16187 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16188 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16189 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16190
16191 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16192 Handle f2fs.
16193
16194 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16195 Handle f2fs and efivarfs.
16196
16197 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16198 f2fs.
16199
16200 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16201 (EFIVARFS_MAGIC): Add.
16202 (F2FS_LINK_MAX): Add.
16203
e1b42695
PP
162042013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16205
16206 * stdio-common/vfprintf.c: Replace __builtin_expect with
16207 __glibc_unlikely.
16208
2d67d91a
JM
162092013-03-06 Joseph Myers <joseph@codesourcery.com>
16210
16211 [BZ #13550]
16212 * sysdeps/generic/bp-sym.h: Remove file.
16213 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16214 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16215 <bp-sym.h> and <bp-asm.h>.
16216 (__longjmp): Don't use BP_SYM.
16217 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16218 and <bp-asm.h>.
16219 (memcpy): Don't use BP_SYM.
16220 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16221 <bp-sym.h> and <bp-asm.h>.
16222 (memcpy): Don't use BP_SYM.
16223 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16224 <bp-asm.h>.
16225 (memcpy): Don't use BP_SYM.
16226 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16227 <bp-asm.h>.
16228 (memset): Don't use BP_SYM.
16229 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16230 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16231 (__bzero): Don't use BP_SYM.
16232 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16233 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16234 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16235 <bp-sym.h> and <bp-asm.h>.
16236 (memcmp): Don't use BP_SYM. Remove comment about bounded
16237 pointers.
16238 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16239 <bp-sym.h> and <bp-asm.h>.
16240 (memcpy): Don't use BP_SYM.
16241 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16242 <bp-sym.h> and <bp-asm.h>.
16243 (memset): Don't use BP_SYM.
16244 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16245 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16246 (__bzero): Don't use BP_SYM.
16247 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16248 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16249 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16250 <bp-sym.h> and <bp-asm.h>.
16251 (strncmp): Don't use BP_SYM. Remove comment about bounded
16252 pointers.
16253 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16254 <bp-sym.h> and <bp-asm.h>.
16255 (memcpy): Don't use BP_SYM.
16256 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16257 <bp-sym.h> and <bp-asm.h>.
16258 (memset): Don't use BP_SYM.
16259 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16260 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16261 (__bzero): Don't use BP_SYM.
16262 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16263 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16264 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16265 <bp-sym.h> and <bp-asm.h>.
16266 (__memchr): Don't use BP_SYM.
16267 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16268 <bp-sym.h> and <bp-asm.h>.
16269 (memcmp): Don't use BP_SYM. Remove comment about bounded
16270 pointers.
16271 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16272 <bp-sym.h> and <bp-asm.h>.
16273 (memcpy): Don't use BP_SYM.
16274 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16275 <bp-sym.h> and <bp-asm.h>.
16276 (__mempcpy): Don't use BP_SYM.
16277 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16278 <bp-sym.h> and <bp-asm.h>.
16279 (__memrchr): Don't use BP_SYM.
16280 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16281 <bp-sym.h> and <bp-asm.h>.
16282 (memset): Don't use BP_SYM.
16283 (__bzero): Likewise.
16284 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16285 <bp-sym.h> and <bp-asm.h>.
16286 (__rawmemchr): Don't use BP_SYM.
16287 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16288 <bp-sym.h> and <bp-asm.h>.
16289 (__STRCMP): Don't use BP_SYM.
16290 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16291 <bp-sym.h> and <bp-asm.h>.
16292 (strchr): Don't use BP_SYM.
16293 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16294 <bp-sym.h> and <bp-asm.h>.
16295 (__strchrnul): Don't use BP_SYM.
16296 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16297 <bp-sym.h> and <bp-asm.h>.
16298 (strlen): Don't use BP_SYM.
16299 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16300 <bp-sym.h> and <bp-asm.h>.
16301 (strncmp): Don't use BP_SYM. Remove comment about bounded
16302 pointers.
16303 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16304 <bp-sym.h> and <bp-asm.h>.
16305 (__strnlen): Don't use BP_SYM.
16306 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16307 <bp-sym.h> and <bp-asm.h>.
16308 (__GI__setjmp): Don't use BP_SYM.
16309 (_setjmp): Likewise.
16310 (__sigsetjmp): Likewise.
16311 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16312 (L(start_addresses)): Don't use BP_SYM.
16313 (_start): Likewise.
16314 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16315 <bp-asm.h>.
16316 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16317 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16318 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16319 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16320 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16321 <bp-asm.h>.
16322 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16323 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16324 about bounded pointers.
16325 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16326 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16327 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16328 <bp-asm.h>.
16329 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16330 about bounded pointers. Remove GKM FIXME comments.
16331 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16332 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16333 <bp-asm.h>.
16334 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16335 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16336 Remove GKM FIXME comments.
16337 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16338 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16339 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16340 <bp-asm.h>.
16341 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16342 about bounded pointers. Remove GKM FIXME comment.
16343 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16344 and <bp-asm.h>.
16345 (strncmp): Don't use BP_SYM. Remove comment about bounded
16346 pointers.
16347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16348 <bp-sym.h> and <bp-asm.h>.
16349 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16351 <bp-sym.h> and <bp-asm.h>.
16352 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16353 comment.
16354
cdcf361f
PP
163552013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16356
16357 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16358 call free(NULL).
16359
3c4a2b15
DM
163602013-03-05 David S. Miller <davem@davemloft.net>
16361
16362 * po/es.po: Update from translation team.
16363
cdcf361f 163642013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16365
16366 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16367 <bits/mman-linux.h>.
16368 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16369 is fine.
16370 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16371 <bits/mman-linux.h> to end of file.
16372 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16373 is fine.
16374 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16375 <bits/mman-linux.h> to end of file.
16376 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16377 is fine.
16378 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16379 <bits/mman-linux.h> to end of file.
16380
16381 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16382 (MCL_CURRENT, MCL_FUTURE): Define here.
16383
5f67c04f
AK
163842013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16385
8a4473cc 16386 [BZ #15232]
5f67c04f
AK
16387 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16388 attribute_hidden.
16389 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16390
c3e94a95
AK
163912013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16392
16393 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16394 fourth parameter needed for rt_sigprocmask syscall.
16395 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16396 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16397 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16398 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16399 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16400 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16401
cfb6382a
JM
164022013-03-04 Joseph Myers <joseph@codesourcery.com>
16403
16404 [BZ #13550]
16405 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16406 comment about bounded pointers.
16407 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16408 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16409
539d8e01
AJ
164102013-03-04 Andreas Jaeger <aj@suse.de>
16411
16412 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16413 common definitions.
16414
16415 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16416 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16417 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16418 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16419 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16420 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16421
2e167a70 164222013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16423
16424 [BZ #15055]
16425 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16426 __ieee754_sqrl instead of __sqrl.
16427
68508633
JM
164282013-03-01 Joseph Myers <joseph@codesourcery.com>
16429
16430 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16431 * sysdeps/powerpc/fpu_control.h: ... here.
16432 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16433 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16434 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16435 * sysdeps/powerpc/bits/mathinline.h: ... here.
16436
7775448e
RM
164372013-03-01 Roland McGrath <roland@hack.frob.com>
16438
16439 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16440 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16441 to just [NEED_DL_SYSINFO_DSO].
16442 * elf/dl-support.c: Likewise.
16443 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16444 * elf/rtld.c (dl_main): Likewise.
16445 * elf/setup-vdso.h (setup_vdso): Likewise.
16446 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16447 * sysdeps/unix/sysv/linux/dl-sysdep.c
16448 (_dl_discover_osversion): Likewise.
16449
4e9b5995
CD
164502013-03-01 Carlos O'Donell <carlos@redhat.com>
16451
16452 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16453 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16454
e23872c8
SP
164552013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16456
e5c74c63
SP
16457 * NEWS: Mention libm performance improvements and non-x86 PI
16458 futex support.
16459
e23872c8
SP
16460 * csu/libc-start.c (__pthread_initialize_minimal): Change
16461 function arguments.
16462 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16463
b5510883
JM
164642013-02-28 Joseph Myers <joseph@codesourcery.com>
16465
16466 [BZ #13550]
16467 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16468 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16469 <bp-sym.h> and <bp-asm.h>.
16470 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16471 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16472 and <bp-asm.h>.
16473 (memcpy): Don't use BP_SYM.
16474 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16475 <bp-asm.h>.
16476 (__mpn_add_n): Don't use BP_SYM.
16477 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16478 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16479 and <bp-asm.h>.
16480 (__mpn_addmul_1): Don't use BP_SYM.
16481 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16482 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16483 <bp-sym.h>.
16484 (_setjmp): Don't use BP_SYM.
16485 (__novmx_setjmp): Likewise.
16486 (__GI__setjmp): Likewise.
16487 (__vmx_setjmp): Likewise.
16488 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16489 <bp-sym.h>.
16490 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16491 (__bzero): Don't use BP_SYM.
16492 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16493 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16494 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16495 <bp-sym.h> and <bp-asm.h>.
16496 (memcpy): Don't use BP_SYM.
16497 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16498 <bp-sym.h> and <bp-asm.h>.
16499 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16500 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16501 <bp-sym.h> and <bp-asm.h>.
16502 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16503 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16504 <bp-asm.h>.
16505 (__mpn_lshift): Don't use BP_SYM.
16506 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16507 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16508 <bp-asm.h>.
16509 (memset): Don't use BP_SYM.
16510 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16511 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16512 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16513 <bp-asm.h>.
16514 (__mpn_mul_1): Don't use BP_SYM.
16515 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16516 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16517 <bp-sym.h> and <bp-asm.h>.
16518 (memcmp): Don't use BP_SYM.
16519 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16520 <bp-sym.h> and <bp-asm.h>.
16521 (memcpy): Don't use BP_SYM.
16522 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16523 <bp-sym.h> and <bp-asm.h>.
16524 (memset): Don't use BP_SYM.
16525 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16526 <bp-sym.h> and <bp-asm.h>.
16527 (strncmp): Don't use BP_SYM.
16528 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16529 <bp-sym.h> and <bp-asm.h>.
16530 (memcpy): Don't use BP_SYM.
16531 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16532 <bp-sym.h> and <bp-asm.h>.
16533 (memset): Don't use BP_SYM.
16534 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16535 <bp-sym.h> and <bp-asm.h>.
16536 (__memchr): Don't use BP_SYM.
16537 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16538 <bp-sym.h> and <bp-asm.h>.
16539 (memcmp): Don't use BP_SYM.
16540 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16541 <bp-sym.h> and <bp-asm.h>.
16542 (memcpy): Don't use BP_SYM.
16543 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16544 <bp-sym.h> and <bp-asm.h>.
16545 (__mempcpy): Don't use BP_SYM.
16546 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16547 <bp-sym.h> and <bp-asm.h>.
16548 (__memrchr): Don't use BP_SYM.
16549 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16550 <bp-sym.h> and <bp-asm.h>.
16551 (memset): Don't use BP_SYM.
16552 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16553 <bp-sym.h> and <bp-asm.h>.
16554 (__rawmemchr): Don't use BP_SYM.
16555 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16556 <bp-sym.h> and <bp-asm.h>.
16557 (__STRCMP): Don't use BP_SYM.
16558 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16559 <bp-sym.h> and <bp-asm.h>.
16560 (strchr): Don't use BP_SYM.
16561 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16562 <bp-sym.h> and <bp-asm.h>.
16563 (__strchrnul): Don't use BP_SYM.
16564 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16565 <bp-sym.h> and <bp-asm.h>.
16566 (strlen): Don't use BP_SYM.
16567 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16568 <bp-sym.h> and <bp-asm.h>.
16569 (strncmp): Don't use BP_SYM.
16570 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16571 <bp-sym.h> and <bp-asm.h>.
16572 (__strnlen): Don't use BP_SYM.
16573 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16574 <bp-asm.h>.
16575 (__mpn_rshift): Don't use BP_SYM.
16576 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16577 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16578 <bp-sym.h> and <bp-asm.h>.
16579 (__sigsetjmp): Don't use BP_SYM.
16580 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16581 (L(start_addresses)): Don't use BP_SYM.
16582 (_start): Likewise.
16583 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16584 <bp-asm.h>.
16585 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16586 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16587 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16588 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16589 <bp-asm.h>.
16590 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16591 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16592 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16593 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16594 <bp-asm.h>.
16595 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16596 comments.
16597 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16598 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16599 <bp-asm.h>.
16600 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16601 FIXME comments.
16602 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16603 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16604 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16605 <bp-asm.h>.
16606 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16607 comment.
16608 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16609 and <bp-asm.h>.
16610 (strncmp): Don't use BP_SYM,
16611 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16612 <bp-asm.h>.
16613 (__mpn_sub_n): Don't use BP_SYM.
16614 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16615 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16616 and <bp-asm.h>.
16617 (__mpn_submul_1): Don't use BP_SYM.
16618 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16620 <bp-sym.h> and <bp-asm.h>.
16621 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16623 <bp-sym.h> and <bp-asm.h>.
16624 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16625 comment.
16626
8d19fe64
SP
166272013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16628
16629 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16630 Use ZK to minimize writes to Z.
16631 (sub_magnitudes): Simplify code a bit.
16632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16633 Use ZK to minimize writes to Z.
16634 (sub_magnitudes): Simplify code a bit.
16635
85bd816a
RM
166362013-02-27 Roland McGrath <roland@hack.frob.com>
16637
16638 * csu/gmon-start.c: Add special exception to license text.
16639
b5977bf2
RH
166402013-02-27 Richard Henderson <rth@redhat.com>
16641
16642 * scripts/config.guess: Update from config.git.
16643 * scripts/config.sub: Likewise.
16644
11d6e2f2
SP
166452013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16646
09c14ed2
SP
16647 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16648
a688864e
SP
16649 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16650
6295157a
SP
16651 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16652
b8de2202
SP
16653 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16654
11d6e2f2
SP
16655 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16656
7e80ddb8
RM
166572013-02-26 Roland McGrath <roland@hack.frob.com>
16658
16659 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16660 [$(build-shared = yes].
7e80ddb8 16661
7da6d9ed
SP
166622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16663
45f05884
SP
16664 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16665 (__mul): Reduce iterations for calculating mantissa.
16666
2236d359
SP
16667 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16668 MPTWO.
16669 (__mpranred): Likewise.
16670
7da6d9ed
SP
16671 [BZ #15160]
16672 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16673 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16674
b7688c42
PE
166752013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16676
16677 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16678 Define __attribute__.
16679
53a5c423
SP
166802013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16681
16682 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16683 unused.
16684 * posix/regex_internal.h (__attribute): Remove.
16685 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16686 (re_string_context_at): Likewise.
16687 (bitset_not): Use __attribute__ and mark function as possibly
16688 unused.
16689 (bitset_merge): Likewise.
16690 (bitset_mask): Likewise.
16691 (re_string_char_size_at): Likewise.
16692 (re_string_wchar_at): Likewise.
16693 (re_string_elem_size_at): Likewise.
16694
60f5a8b5
SP
166952013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16696
2a983a2e
SP
16697 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16698 code.
16699 (cc32): Likewise.
16700
e69804d1
SP
16701 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16702 (__acr): Likewise.
16703 (__cpy): Likewise.
16704 (norm): Likewise.
16705 (denorm): Likewise.
16706 (__dbl_mp): Likewise.
16707 (add_magnitudes): Likewise.
16708 (sub_magnitudes): Likewise.
16709 (__mul): Likewise.
16710 (__inv): Likewise.
16711
2f22a1e8
SP
16712 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16713 style.
16714
8930ddc7
SP
16715 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16716 style.
16717
dc60cb11
SP
16718 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16719 code.
16720
60f5a8b5
SP
16721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16722 up changes with default code.
16723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16724 Likewise.
16725
b4d1fd33
AM
167262013-02-24 Allan McRae <allan@archlinux.org>
16727
faf6f8bc
AM
16728 * manual/socket.texi (The Internet Namespace): Order menu items
16729 to match that in the file.
16730
b4d1fd33
AM
16731 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16732 node listing of the info page menu.
16733
2366713d
JM
167342013-02-21 Joseph Myers <joseph@codesourcery.com>
16735
16736 [BZ #13550]
16737 * sysdeps/i386/bp-asm.h: Remove file.
16738 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16739 (PARMS): Do not use macros from bp-asm.h.
16740 (S1): Likewise.
16741 (S2): Likewise.
16742 (SIZE): Likewise.
16743 (__mpn_add_n): Do not use BP_SYM
16744 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16745 "bp-asm.h".
16746 (PARMS): Do not use macros from bp-asm.h.
16747 (S1): Likewise.
16748 (SIZE): Likewise.
16749 (__mpn_addmul_1): Do not use BP_SYM
16750 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16751 "bp-asm.h".
16752 (PARMS): Do not use macros from bp-asm.h.
16753 (SIGMSK): Likewise.
16754 (_setjmp): Likewise. Do not use BP_SYM.
16755 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16756 "bp-asm.h".
16757 (PARMS): Do not use macros from bp-asm.h.
16758 (SIGMSK): Likewise.
16759 (setjmp): Likewise. Do not use BP_SYM.
16760 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16761 "bp-asm.h".
16762 (PARMS): Do not use macros from bp-asm.h.
16763 (__frexp): Do not use BP_SYM.
16764 (frexp): Likewise.
16765 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16766 "bp-asm.h".
16767 (PARMS): Do not use macros from bp-asm.h.
16768 (__frexpf): Do not use BP_SYM.
16769 (frexpf): Likewise.
16770 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16771 "bp-asm.h".
16772 (PARMS): Do not use macros from bp-asm.h.
16773 (__frexpl): Do not use BP_SYM.
16774 (frexpl): Likewise.
16775 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16776 "bp-asm.h".
16777 (PARMS): Do not use macros from bp-asm.h.
16778 (__remquo): Do not use BP_SYM.
16779 (remquo): Likewise.
16780 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16781 "bp-asm.h".
16782 (PARMS): Do not use macros from bp-asm.h.
16783 (__remquof): Do not use BP_SYM.
16784 (remquof): Likewise.
16785 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16786 "bp-asm.h".
16787 (PARMS): Do not use macros from bp-asm.h.
16788 (__remquol): Do not use BP_SYM.
16789 (remquol): Likewise.
16790 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16791 "bp-asm.h".
16792 (PARMS): Do not use macros from bp-asm.h.
16793 (DEST): Likewise.
16794 (SRC): Likewise.
16795 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16796 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16797 "bp-asm.h".
16798 (PARMS): Do not use macros from bp-asm.h.
16799 (strlen): Do not use BP_SYM.
16800 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16801 "bp-asm.h".
16802 (PARMS): Do not use macros from bp-asm.h.
16803 (S1): Likewise.
16804 (S2): Likewise.
16805 (SIZE): Likewise.
16806 (__mpn_add_n): Do not use BP_SYM.
16807 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16808 "bp-asm.h".
16809 (PARMS): Do not use macros from bp-asm.h.
16810 (S1): Likewise.
16811 (SIZE): Likewise.
16812 (__mpn_addmul_1): Do not use BP_SYM.
16813 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16814 weak_alias.
16815 (bzero): Likewise.
16816 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16817 "bp-asm.h".
16818 (PARMS): Do not use macros from bp-asm.h.
16819 (S): Likewise.
16820 (SIZE): Likewise.
16821 (__mpn_lshift): Do not use BP_SYM.
16822 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16823 "bp-asm.h".
16824 (PARMS): Do not use macros from bp-asm.h.
16825 (DEST): Likewise.
16826 (SRC): Likewise.
16827 (LEN): Likewise.
16828 (memcpy): Likewise. Do not use BP_SYM.
16829 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16830 libc_hidden_def and weak_alias.
16831 (mempcpy): Do not use BP_SYM in weak_alias.
16832 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16833 "bp-asm.h".
16834 (PARMS): Do not use macros from bp-asm.h.
16835 (DEST): Likewise.
16836 (LEN): Likewise.
16837 [!BZERO_P] (CHR): Likewise.
16838 (memset): Likewise. Do not use BP_SYM.
16839 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16840 "bp-asm.h".
16841 (PARMS): Do not use macros from bp-asm.h.
16842 (S1): Likewise.
16843 (SIZE): Likewise.
16844 (__mpn_mul_1): Do not use BP_SYM.
16845 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16846 "bp-asm.h".
16847 (PARMS): Do not use macros from bp-asm.h.
16848 (S): Likewise.
16849 (SIZE): Likewise.
16850 (__mpn_rshift): Do not use BP_SYM.
16851 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16852 "bp-asm.h".
16853 (PARMS): Do not use macros from bp-asm.h.
16854 (STR): Likewise.
16855 (CHR): Likewise.
16856 (strchr): Likewise. Do not use BP_SYM.
16857 (index): Do not use BP_SYM in weak_alias.
16858 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16859 "bp-asm.h".
16860 (PARMS): Do not use macros from bp-asm.h.
16861 (DEST): Likewise.
16862 (SRC): Likewise.
16863 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16864 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16865 "bp-asm.h".
16866 (PARMS): Do not use macros from bp-asm.h.
16867 (strlen): Do not use BP_SYM.
16868 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16869 "bp-asm.h".
16870 (PARMS): Do not use macros from bp-asm.h.
16871 (S1): Likewise.
16872 (S2): Likewise.
16873 (SIZE): Likewise.
16874 (__mpn_sub_n): Do not use BP_SYM.
16875 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16876 "bp-asm.h".
16877 (PARMS): Do not use macros from bp-asm.h.
16878 (S1): Likewise.
16879 (SIZE): Likewise.
16880 (__mpn_submul_1): Do not use BP_SYM.
16881 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16882 "bp-asm.h".
16883 (PARMS): Do not use macros from bp-asm.h.
16884 (S1): Likewise.
16885 (S2): Likewise.
16886 (SIZE): Likewise.
16887 (__mpn_add_n): Do not use BP_SYM.
16888 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16889 weak_alias.
16890 (bzero): Likewise.
16891 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16892 "bp-asm.h".
16893 (PARMS): Do not use macros from bp-asm.h.
16894 (BLK2): Likewise.
16895 (LEN): Likewise.
16896 (memcmp): Do not use BP_SYM.
16897 (bcmp): Do not use BP_SYM in weak_alias.
16898 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16899 "bp-asm.h".
16900 (PARMS): Do not use macros from bp-asm.h.
16901 (DEST): Likewise.
16902 (SRC): Likewise.
16903 (LEN): Likewise.
16904 (memcpy): Likewise. Do not use BP_SYM.
16905 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16906 "bp-asm.h".
16907 (PARMS): Do not use macros from bp-asm.h.
16908 (DEST): Likewise.
16909 (SRC): Likewise.
16910 (LEN): Likewise.
16911 (memmove): Likewise. Do not use BP_SYM.
16912 * sysdeps/i386/i686/mempcpy.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 (SRC): Likewise.
16917 (LEN): Likewise.
16918 (__mempcpy): Likewise. Do not use BP_SYM.
16919 (mempcpy): Do not use BP_SYM in weak_alias.
16920 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16921 "bp-asm.h".
16922 (PARMS): Do not use macros from bp-asm.h.
16923 (DEST): Likewise.
16924 (LEN): Likewise.
16925 [!BZERO_P] (CHR): Likewise.
16926 (memset): Likewise. Do not use BP_SYM.
16927 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16928 "bp-asm.h".
16929 (PARMS): Do not use macros from bp-asm.h.
16930 (STR2): Likewise.
16931 (strcmp): Do not use BP_SYM.
16932 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16933 "bp-asm.h".
16934 (PARMS): Do not use macros from bp-asm.h.
16935 (STR): Likewise.
16936 (DELIM): Likewise.
16937 [USE_AS_STRTOK_R] (SAVE): Likewise.
16938 (FUNCTION): Likewise. Do not use BP_SYM.
16939 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16940 aliases.
16941 (strtok_r): Likewise.
16942 (__GI___strtok_r): Likewise.
16943 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16944 (PARMS): Do not use macros from bp-asm.h.
16945 (S): Likewise.
16946 (SIZE): Likewise.
16947 (__mpn_lshift): Do not use BP_SYM.
16948 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16949 (PARMS): Do not use macros from bp-asm.h.
16950 (STR): Likewise.
16951 (CHR): Likewise.
16952 (__memchr): Do not use BP_SYM.
16953 (memchr): Do not use BP_SYM in weak_alias.
16954 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16955 (PARMS): Do not use macros from bp-asm.h.
16956 (BLK2): Likewise.
16957 (LEN): Likewise.
16958 (memcmp): Do not use BP_SYM.
16959 (bcmp): Do not use BP_SYM in weak_alias.
16960 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16961 (PARMS): Do not use macros from bp-asm.h.
16962 (S1): Likewise.
16963 (SIZE): Likewise.
16964 (__mpn_mul_1): Do not use BP_SYM.
16965 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16966 "bp-asm.h".
16967 (PARMS): Do not use macros from bp-asm.h.
16968 (STR): Likewise.
16969 (CHR): Likewise.
16970 (__rawmemchr): Do not use BP_SYM.
16971 (rawmemchr): Do not use BP_SYM in weak_alias.
16972 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16973 (PARMS): Do not use macros from bp-asm.h.
16974 (S): Likewise.
16975 (SIZE): Likewise.
16976 (__mpn_rshift): Do not use BP_SYM.
16977 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16978 (PARMS): Do not use macros from bp-asm.h.
16979 (SIGMSK): Likewise.
16980 (__sigsetjmp): Likewise. Do not use BP_SYM.
16981 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16982 (_start): Do not use BP_SYM.
16983 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16984 (PARMS): Do not use macros from bp-asm.h.
16985 (DEST): Likewise.
16986 (SRC): Likewise.
16987 (__stpcpy): Likewise. Do not use BP_SYM.
16988 (stpcpy): Do not use BP_SYM in weak_alias.
16989 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16990 "bp-asm.h".
16991 (PARMS): Do not use macros from bp-asm.h.
16992 (DEST): Likewise.
16993 (SRC): Likewise.
16994 (LEN): Likewise.
16995 (__stpncpy): Likewise. Do not use BP_SYM.
16996 (stpncpy): Do not use BP_SYM in weak_alias.
16997 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16998 (PARMS): Do not use macros from bp-asm.h.
16999 (STR): Likewise.
17000 (CHR): Likewise.
17001 (strchr): Likewise. Do not use BP_SYM.
17002 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17003 "bp-asm.h".
17004 (PARMS): Do not use macros from bp-asm.h.
17005 (STR): Likewise.
17006 (CHR): Likewise.
17007 (__strchrnul): Likewise. Do not use BP_SYM.
17008 (strchrnul): Do not use BP_SYM in weak_alias.
17009 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17010 "bp-asm.h".
17011 (PARMS): Do not use macros from bp-asm.h.
17012 (STOP): Likewise.
17013 (strcspn): Do not use BP_SYM.
17014 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17015 "bp-asm.h".
17016 (PARMS): Do not use macros from bp-asm.h.
17017 (STR): Likewise.
17018 (STOP): Likewise.
17019 (strpbrk): Likewise. Do not use BP_SYM.
17020 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17021 "bp-asm.h".
17022 (PARMS): Do not use macros from bp-asm.h.
17023 (STR): Likewise.
17024 (CHR): Likewise.
17025 (strrchr): Likewise. Do not use BP_SYM.
17026 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17027 (PARMS): Do not use macros from bp-asm.h.
17028 (SKIP): Likewise.
17029 (strspn): Do not use BP_SYM.
17030 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17031 (PARMS): Do not use macros from bp-asm.h.
17032 (STR): Likewise.
17033 (DELIM): Likewise.
17034 (SAVE): Likewise.
17035 (FUNCTION): Likewise. Do not use BP_SYM.
17036 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17037 aliases.
17038 (strtok_r): Likewise.
17039 (__GI___strtok_r): Likewise.
17040 * sysdeps/i386/sub_n.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 (S2): Likewise.
17044 (SIZE): Likewise.
17045 (__mpn_sub_n): Do not use BP_SYM.
17046 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17047 "bp-asm.h".
17048 (PARMS): Do not use macros from bp-asm.h.
17049 (S1): Likewise.
17050 (SIZE): Likewise.
17051 (__mpn_submul_1): Do not use BP_SYM.
17052 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17053 <bp-sym.h>.
17054 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17055 and <bp-asm.h>.
17056 (PARMS): Do not use macros from bp-asm.h.
17057 (FLAGS): Likewise.
17058 (PTID): Likewise.
17059 (TLS): Likewise.
17060 (CTID): Likewise.
17061 (__clone): Do not use BP_SYM.
17062 (clone): Do not use BP_SYM in weak_alias.
17063 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17064 and <bp-asm.h>.
17065 (PARMS): Do not use macros from bp-asm.h.
17066 (LEN): Likewise.
17067 (__mmap64): Do not use BP_SYM.
17068 (mmap64): Do not use BP_SYM in weak_alias.
17069 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17070 <bp-sym.h> and <bp-asm.h>.
17071 (PARMS): Do not use macros from bp-asm.h.
17072 (__posix_fadvise64_l64): Do not use BP_SYM.
17073 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17074 (PARMS): Do not use macros from bp-asm.h.
17075 (NSOPS): Likewise.
17076 (semtimedop): Do not use BP_SYM.
17077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17078 and <bp-asm.h>.
17079
582a3cff
AM
170802013-02-21 Allan McRae <allan@archlinux.org>
17081
17082 * manual/message.texi (Charset conversion in gettext):
17083 Move @end statement to beginning of line.
17084
bab8a695
SP
170852013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17086
80945231
SP
17087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17088 static.
17089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17090 Likewise.
17091
bab8a695
SP
17092 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17093 (denorm): Likewise.
17094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17096
e21d7aa7
AK
170972013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17098
17099 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17100 tail-call to the resolved function if pltexit isn't needed.
17101
4c7a4263
SP
171022013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17103
17104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17105 or Y being zero as being unlikely.
17106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17107 Likewise.
17108
41f49342
CD
171092013-02-20 Carlos O'Donell <carlos@redhat.com>
17110
17111 * manual/nss.texi (System Databases and Name Service Switch):
17112 Remove frobnicate @pxref.
17113
50022a93
TS
171142013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17115
17116 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17117 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17118
08cbd996
PM
171192013-02-20 Petr Machata <pmachata@redhat.com>
17120
17121 * elf/elf.h (R_ARM_TARGET1): New macro.
17122 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17123 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17124 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17125 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17126 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17127 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17128 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17129 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17130 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17131 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17132 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17133 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17134 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17135 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17136 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17137 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17138 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17139 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17140 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17141 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17142 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17143 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17144 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17145 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17146 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17147 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17148 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17149 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17150 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17151 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17152 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17153 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17154 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17155 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17156 (R_ARM_THM_GOT_BREL12): Likewise.
17157 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17158 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17159 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17160 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17161 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17162 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17163 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17164 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17165 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17166
c7b275d6
TS
171672013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17168
17169 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17170 __attribute_used__ to __attribute__ ((unused)).
17171
20cd7fb3
SP
171722013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17173
17174 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17175 powerpc mpa.c.
17176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17177 comment formatting.
17178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17179
92945b52
JM
171802013-02-19 Joseph Myers <joseph@codesourcery.com>
17181
17182 [BZ #13550]
17183 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17184 Remove macro.
17185 (ENTER): Remove both macro definitions.
17186 (LEAVE): Likewise.
17187 (CHECK_BOUNDS_LOW): Likewise.
17188 (CHECK_BOUNDS_HIGH): Likewise.
17189 (CHECK_BOUNDS_BOTH): Likewise.
17190 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17191 (RETURN_BOUNDED_POINTER): Likewise.
17192 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17193 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17194 (POP_ERRNO_LOCATION_RETURN): Likewise.
17195 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17196 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17197 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17198 macros.
17199 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17200 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17201 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17202 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17203 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17204 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17205 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17206 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17207 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17208 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17209 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17210 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17211 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17212 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17213 removed macros.
17214 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17215 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17216 macros.
17217 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17218 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17219 * sysdeps/i386/i586/memset.S (memset): Likewise.
17220 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17221 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17222 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17223 macros.
17224 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17225 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17226 Change uses of L(2) to L(out).
17227 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17228 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17229 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17230 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17231 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17232 removed macros.
17233 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17234 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17235 macros.
17236 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17237 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17238 (RETURN): Do not use macro LEAVE.
17239 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17240 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17241 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17242 * sysdeps/i386/i686/memset.S (memset): Likewise.
17243 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17244 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17245 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17246 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17247 Likewise.
17248 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17249 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17250 L(1_2) and L(1_3) into L(1).
17251 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17252 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17253 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17254 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17255 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17256 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17257 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17258 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17259 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17260 macros.
17261 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17262 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17263 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17264 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17265 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17266 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17267 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17268 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17269 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17270 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17271 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17272 * sysdeps/i386/strspn.S (strspn): Likewise.
17273 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17274 conditional code.
17275 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17276 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17277 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17278 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17279 L(1_3) into L(1_1).
17280 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17281 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17282 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17283 macros.
17284 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17285
2389741a
JJ
172862013-02-19 Jakub Jelinek <jakub@redhat.com>
17287
17288 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17289 macro.
17290
2016b3cd
SP
172912013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17292
e4f22324
SP
17293 * math/atest-exp.c (exp_mpn): Remove ROUND.
17294 * math/atest-exp2.c (exp_mpn): Likewise.
17295 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17296
2016b3cd
SP
17297 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17298 * stdlib/tst-tls-atexit-lib.c: Likewise.
17299 * stdlib/tst-tls-atexit.c: Likewise.
17300
4be9b544
MF
173012013-02-18 Mike Frysinger <vapier@gentoo.org>
17302
17303 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17304 and __attribute_alloc_size__.
17305
2f62b9ee
MF
173062013-02-18 Mike Frysinger <vapier@gentoo.org>
17307
17308 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17309 __attribute_alloc_size__.
17310 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17311 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17312
6ff444c4
MF
173132013-02-18 Mike Frysinger <vapier@gentoo.org>
17314
17315 * include/programs/xmalloc.h: New file.
17316 * catgets/gencat.c: Include it.
17317 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17318 * elf/pldd.c: Likewise.
17319 * iconv/iconv_charmap.c: Likewise.
17320 * iconv/iconvconfig.c: Likewise.
17321 * iconv/strtab.c: Likewise.
17322 * locale/programs/locale.c: Likewise.
17323 * locale/programs/localedef.h: Likewise.
17324 * locale/programs/simple-hash.c: Likewise.
17325 * nscd/nscd.h: Likewise.
17326 * nss/makedb.c: Likewise.
17327 * sysdeps/generic/ldconfig.h: Likewise.
17328
be179c8a
SP
173292013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17330
ba384f6e
SP
17331 * Versions.def: Add GLIBC_2.18.
17332 * include/link.h (struct link_map): New member l_tls_dtor_count.
17333 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17334 (__call_tls_dtors): Likewise.
17335 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17336 __cxa_thread_atexit_impl.
17337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17338 Likewise.
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17340 Likewise.
17341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17342 Likewise.
17343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17344 Likewise.
17345 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17347 Likewise.
17348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17349 Likewise.
17350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17352 Likewise.
17353 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17354 (tests): Add test case tst-tls-atexit.
17355 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17356 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17357 (GLIBC_PRIVATE): Add __call_tls_dtors.
17358 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17359 for libstdc++.
17360 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17361 * stdlib/tst-tls-atexit.c: New test case.
17362 * stdlib/tst-tls-atexit-lib.c: New test case.
17363
ffaa74cf 17364 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17365
be179c8a
SP
17366 * elf/Versions (ld): Add _dl_find_dso_for_object.
17367 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17368 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17369 (dl_open_worker): Use _dl_find_dso_for_object.
17370 * elf/dl-sym.c (do_sym): Likewise.
17371 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17372
f78b5caa
AK
173732013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17374
17375 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17376 Syntactic changes only.
17377 (_dl_runtime_profile): Do a tail-call to the resolved function.
17378
29691210
JM
173792013-02-17 Joseph Myers <joseph@codesourcery.com>
17380
17381 [BZ #13550]
17382 * sysdeps/x86_64/bp-asm.h: Remove file.
17383 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17384 <bp-sym.h> and <bp-asm.h>.
17385 (__clone): Do not use BP_SYM.
17386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17387 <bp-sym.h> and <bp-asm.h>.
17388 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17389 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17390 "bp-asm.h".
17391 (_setjmp): Do not use BP_SYM.
17392 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17393 "bp-asm.h".
17394 (setjmp): Do not use BP_SYM.
17395 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17396 libc_hidden_def.
17397 (mempcpy): Do not use BP_SYM in weak_alias.
17398 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17399 "bp-asm.h".
17400 (strchr): Do not use BP_SYM.
17401 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17402 "bp-asm.h".
17403 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17404 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17405 (_start): Do not use BP_SYM.
17406 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17407 "bp-asm.h".
17408 (strcat): Do not use BP_SYM.
17409 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17410 "bp-asm.h".
17411 (STRCMP): Do not use BP_SYM.
17412 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17413 "bp-asm.h".
17414 (STRCPY): Do not use BP_SYM.
17415 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17416 "bp-asm.h".
17417 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17418 "bp-asm.h".
17419 (FUNCTION): Do not use BP_SYM.
17420 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17421 weak_alias.
17422 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17423
f238fd19
AJ
174242013-02-17 Andreas Jaeger <aj@suse.de>
17425
17426 * time/Versions: Sort entries.
17427 * string/Versions: Likewise.
17428 * resolv/Versions: Likewise.
17429 * posix/Versions: Likewise.
17430 * iconv/Versions: Likewise.
17431 * elf/Versions: Likewise.
17432 * wcsmbs/Versions: Likewise.
17433
bd07f23c 174342013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17435
22af19f9
SP
17436 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17437 loop termination condition.
17438
4709fe76
SP
17439 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17440 variable to calculate EZ.
17441 (__sqr): Likewise.
2d0e0f29
SP
17442
17443 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17444 the lower precision input.
17445
daaa7713
JM
174462013-02-15 Joseph Myers <joseph@codesourcery.com>
17447
17448 [BZ #13550]
17449 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17450 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17451 (run-via-rtld-prefix): Do not handle %-bp tests.
17452 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17453 (all-object-suffixes): Remove .ob.
17454 (bppfx): Remove variable.
17455 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17456 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17457 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17458 [$(build-bounded) = yes] (libtype.ob): Likewise.
17459 * Makerules (elide-routines.ob): Remove variable.
17460 (do-tests-clean): Do not handle *-bp.out.
17461 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17462 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17463 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17464 (tests): Do not include $(tests-bp.out).
17465 (xtests): Do not include $(xtests-bp.out).
17466 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17467 [$(build-bounded) = yes] ($(addprefix
17468 $(objpfx),$(binaries-bounded))): Remove rule.
17469 ($(objpfx)%-bp.out): Remove rule.
17470 * config.make.in (build-bounded): Remove variable.
17471 * crypt/Makefile [$(build-bounded) = yes]
17472 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17473 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17474 append to variable.
17475 [$(build-bounded) = yes] (install-lib): Likewise.
17476 [$(build-bounded) = yes] (generated): Likewise.
17477 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17478 Remove rule.
17479 * intl/Makefile [$(build-bounded) = yes]
17480 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17481 * math/Makefile [$(build-bounded) = yes]
17482 ($(tests:%=$(objpfx)%-bp): Likewise.
17483 * misc/Makefile [$(build-bounded) = yes]
17484 ($(objpfx)tst-tsearch-bp): Likewise.
17485 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17486 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17487 Remove dependency.
17488 * string/Makefile (o-objects.ob): Remove variable.
17489 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17490 (CFLAGS-.ob): Remove variable.
17491 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17492 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17493 both definitions of variable.
17494 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17495 (ASFLAGS-.ob): Remove variable.
17496
e97ed6dd
JM
174972013-02-14 Joseph Myers <joseph@codesourcery.com>
17498
2bdd4ca6
JM
17499 [BZ #13550]
17500 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17501 Remove __BOUNDED_POINTERS__ from condition.
17502 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17503 * string/bits/string2.h [!__NO_STRING_INLINES &&
17504 !__BOUNDED_POINTERS__]: Likewise.
17505 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17506 Likewise.
17507 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17508 Remove conditional code.
17509 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17510 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17511 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17512 condition.
17513
e97ed6dd
JM
17514 [BZ #13550]
17515 * csu/libc-start.c: Do not include <bp-sym.h>.
17516 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17517 * elf/dl-open.c: Do not include <bp-sym.h>.
17518 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17519 * math/fegetenv.c: Do not include <bp-sym.h>.
17520 (fegetenv): Do not use BP_SYM in versioned symbols.
17521 * nptl/sysdeps/pthread/bits/libc-lockP.h
17522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17523 <bp-sym.h>.
17524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17525 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17527 (__pthread_mutex_destroy): Likewise.
17528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17529 (__pthread_mutex_lock): Likewise.
17530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17531 (__pthread_mutex_trylock): Likewise.
17532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17533 (__pthread_mutex_unlock): Likewise.
17534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17535 (__pthread_mutexattr_init): Likewise.
17536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17537 (__pthread_mutexattr_destroy): Likewise.
17538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17539 (__pthread_mutexattr_settype): Likewise.
17540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17541 (__pthread_rwlock_init): Likewise.
17542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17543 (__pthread_rwlock_destroy): Likewise.
17544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17545 (__pthread_rwlock_rdlock): Likewise.
17546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17547 (__pthread_rwlock_tryrdlock): Likewise.
17548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17549 (__pthread_rwlock_wrlock): Likewise.
17550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17551 (__pthread_rwlock_trywrlock): Likewise.
17552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17553 (__pthread_rwlock_unlock): Likewise.
17554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17555 (__pthread_key_create): Likewise.
17556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17557 (__pthread_setspecific): Likewise.
17558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17559 (__pthread_getspecific): Likewise.
17560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17561 Likewise.
17562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17563 (_pthread_cleanup_push_defer): Likewise.
17564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17565 (_pthread_cleanup_pop_restore): Likewise.
17566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17567 (pthread_setcancelstate): Likewise.
17568 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17569 <bp-sym.h>.
17570 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17571 (memchr): Do not use BP_SYM in weak_alias.
17572 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17573 (fegetenv): Do not use BP_SYM in versioned symbols.
17574 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17575 (fesetenv): Do not use BP_SYM in versioned symbols.
17576 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17577 (feupdateenv): Do not use BP_SYM in versioned symbols.
17578 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17579 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17580 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17581 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17582 (open64): Do not use BP_SYM in weak_alias.
17583 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17584 (fegetenv): Do not use BP_SYM in versioned symbols.
17585 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17586 (fesetenv): Do not use BP_SYM in versioned symbols.
17587 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17588 (feupdateenv): Do not use BP_SYM in versioned symbols.
17589 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17590 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17591 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17592 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17593 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17594 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17595 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17596 <bp-sym.h>.
17597 (__libc_start_main): Do not use BP_SYM.
17598
d6752ccd
SP
175992013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17600
cb57ce60
SP
17601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17602 redundant return line.
17603 (norm): Likewise.
17604 (denorm): Likewise.
17605 (dbl_mp): Likewise.
17606 (sub_magnitudes): Likewise.
17607 (__add): Likewise.
17608 (__sub): Likewise.
17609 (__mul): Likewise.
17610 (__inv): Likewise.
17611 (__dvd): Likewise.
17612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17613 (norm): Likewise.
17614 (denorm): Likewise.
17615 (dbl_mp): Likewise.
17616 (sub_magnitudes): Likewise.
17617 (__add): Likewise.
17618 (__sub): Likewise.
17619 (__mul): Likewise.
17620 (__inv): Likewise.
17621 (__dvd): Likewise.
17622
f414520d
SP
17623 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17624 instead of __mul.
17625 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17626 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17627 (cc32): Likewise.
17628
d6752ccd
SP
17629 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17630 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17632 of __mul for squares.
17633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17634 function
17635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17636 Likewise.
17637 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17638 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17639
70d9946a
JM
176402013-02-13 Joseph Myers <joseph@codesourcery.com>
17641
17642 [BZ #13550]
17643 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17644 code.
17645 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17646 prototype or function definition. Rename ubp_* variables and
17647 parameters. Remove argv definitions conditional on
17648 [__BOUNDED_POINTERS__].
17649 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17650 * elf/dl-runtime.c (_dl_fixup): Likewise.
17651 * include/set-hooks.h (RUN_HOOK): Likewise.
17652 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17653 definition.
17654 * string/strcpy.c (strcpy): Do not use __unbounded.
17655 * sysdeps/generic/frame.h (struct layout): Likewise.
17656 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17657 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17658 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17659 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17660 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17661 (__backtrace): Likewise.
17662 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17663 use __ptrvalue.
17664 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17665 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17666 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17667 Likewise.
17668 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17669 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17670 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17671 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17672 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17673 Do not use __unbounded.
17674 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17675 Rename __unboundedrlimits parameter to rlimits in prototype.
17676 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17677 Do not use __unbounded.
17678 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17679 not use __ptrvalue.
17680 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17681 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17682 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17683 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17684 __ptrvalue or __unbounded.
17685 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17686 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17687 use __unbounded.
17688 (__new_msgctl): Do not use __ptrvalue.
17689 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17690 __unbounded.
17691 (__libc_msgrcv): Do not use __ptrvalue.
17692 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17693 startup_info): Do not use __unbounded.
17694 (__libc_start_main): Likewise. Rename ubp_* variables and
17695 parameters. Remove argv definitions conditional on
17696 [__BOUNDED_POINTERS__].
17697 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17698 __ptrvalue.
17699 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17700 use __unbounded.
17701 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17702 or __ptrvalue.
17703 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17704 use __unbounded.
17705 (__new_shmctl): Do not use __ptrvalue.
17706 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17707 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17708 Likewise.
17709 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17710 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17711 (__libc_sigaction): Likewise.
17712 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17713 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17714 Likewise.
17715 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17716
cc7834d6
OB
177172013-02-13 Ondřej Bílka <neleai@seznam.cz>
17718
ffb1ec7b 17719 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17720
17721 * string/mempcpy.c: Implement by calling memcpy.
17722
bdf02814
SP
177232013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17724
c2af38aa
SP
17725 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17726
4e92d59e
SP
17727 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17728 evaluation.
17729
909279a5
SP
17730 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17731 values in the mantissa.
17732
bdf02814
SP
17733 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17734 minimize writes to Z.
17735 (sub_magnitudes): Simplify code a bit.
17736
cd525923
RM
177372013-02-12 Roland McGrath <roland@hack.frob.com>
17738
17739 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17740 from the message. The linker prefixes all warnings with that already.
17741
7e2f0d2d
AS
177422013-02-12 Andreas Schwab <schwab@suse.de>
17743
a445af0b
AS
17744 [BZ #15078]
17745 * posix/regexec.c (extend_buffers): Add parameter min_len.
17746 (check_matching): Pass minimum needed length.
17747 (clean_state_log_if_needed): Likewise.
17748 (get_subexp): Likewise.
17749 * posix/Makefile (tests): Add bug-regex34.
17750 (bug-regex34-ENV): Define.
17751 * posix/bug-regex34.c: New file.
17752
7e2f0d2d
AS
17753 [BZ #11561]
17754 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17755 elements compare against the byte sequence of it, not its name.
17756 * posix/Makefile (tests): Add bug-regex35.
17757 (bug-regex35-ENV): Define.
17758 * posix/bug-regex35.c: New file.
17759
a175b684
TV
177602013-02-11 Tom de Vries <tom@codesourcery.com>
17761
17762 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17763 comment.
17764 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17765 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17766 (CHECK_EOL): Add undef.
17767
310998fe 177682013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17769
17770 * bits/stdlib-bsearch.h: New file.
17771 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17772 * stdlib/stdlib.h: Likewise.
41eda41d 17773
8ded91fb
RM
177742013-02-11 Roland McGrath <roland@hack.frob.com>
17775
17776 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17777 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17778 declaration.
17779 * manual/search.texi (Array Search Function): Add missing const in
17780 lfind prototype.
17781 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17782 declaration to use rlim_t.
17783 (Basic Scheduling Functions): Remove erroneous const from
17784 sched_getparam prototype. Remove erroneous * from
17785 sched_get_priority_max and sched_get_priority_min prototypes.
17786 (Resource Usage): Fix summary @comment on vtimes to refer to
17787 sys/vtimes.h rather than vtimes.h.
17788 Add missing *s in vtimes prototype.
17789 (Limits on Resources): Fix ulimit prototype to return long int.
17790 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17791 prototypes to use long int rather than double.
17792 (BSD Random): Fix initstate and setstate to use char *, not void *.
17793 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17794 prototype to make second argument 'struct aiocb64 *const[]'.
17795 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17796 (Status of AIO Operations): Remove erroneous const in aio_return and
17797 aio_return64 prototypes.
17798 (Synchronizing I/O): Fix sync prototype to return void.
17799 * manual/startup.texi (Suboptions): Remove an erroneous const in
17800 getsubopt prototype.
17801 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17802 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17803 use size_t rather than int.
17804 (Scanning All Users): Likewise for getpwent_r.
17805 (Setting Groups): Add missing const to setgroups prototype.
17806 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17807 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17808 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17809 'const void *' rather than 'const char *'.
17810 (Host Address Functions): Likewise for inet_ntop.
17811 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17812 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17813 ssize_t for return value.
17814 (Sending Data): Likewise for send, sendto, sendmsg.
17815 (Socket Option Functions): Add a missing const in setsockopt prototype.
17816 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17817 use wchar_t for the argument.
17818 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17819 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17820 take no arguments.
17821 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17822 double/float/long double for second argument.
17823 Fix return types of significand, significandf, significandl.
17824 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17825 argument in fchmod prototype.
17826 (File Owner): Use uid_t and gid_t in fchown prototype.
17827 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17828 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17829 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17830 use 'const struct dirent **' as argument types to CMP function pointer
17831 argument.
17832 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17833 (File Times): Fix summary magic @comment for struct utimbuf and utime
17834 to refer to utime.h, not time.h.
17835 * manual/string.texi (Argz Functions): Add missing const in
17836 argz_extract and argz_next prototypes.
17837 (Finding Tokens in a String): Likewise for basename.
17838 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17839 (Copying and Concatenation): Fix typo in wmemmove prototype.
17840 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17841 (Signal Stack): Remove erroneous const in sigstack prototype.
17842 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17843 prototype.
17844 (Simple Calendar Time): Likewise for stime.
17845 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17846 prototype.
17847 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17848 say sys/sysctl.h instead.
17849 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17850 and vsyslog prototypes.
17851
fe77fe6d
TV
178522013-02-11 Tom de Vries <tom@codesourcery.com>
17853
17854 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17855 Remove.
17856
3a09b620
RM
178572013-02-11 Roland McGrath <roland@hack.frob.com>
17858
17859 * misc/sys/mman.h: Fix typo in mremap comment.
17860
550a0b89
RM
178612013-02-08 Roland McGrath <roland@hack.frob.com>
17862
17863 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17864 the '\0' terminator.
17865
a2da1673
JM
178662013-02-08 Joseph Myers <joseph@codesourcery.com>
17867
17868 [BZ #13550]
17869 * debug/segfault.c: Don't include <bp-checks.h>.
17870 * sysdeps/generic/bp-checks.h: Remove file.
17871 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17872 (__GETDENTS): Don't use CHECK_N.
17873 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17874 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17875 (__getgroups): Don't use CHECK_N.
17876 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17877 (setgroups): Don't use CHECK_N.
17878 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17879 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17880 (__libc_msgrcv): Don't use CHECK_N.
17881 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17882 (__libc_msgsnd): Don't use CHECK_N.
17883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17884 <bp-checks.h>.
17885 (__libc_pread): Don't use CHECK_N.
17886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17887 include <bp-checks.h>.
17888 (__libc_pread64): Don't use CHECK_N.
17889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17890 include <bp-checks.h>.
17891 (__libc_pwrite): Don't use CHECK_N.
17892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17893 include <bp-checks.h>.
17894 (__libc_pwrite64): Don't use CHECK_N.
17895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17896 <bp-checks.h>.
17897 (__libc_pread): Don't use CHECK_N.
17898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17899 include <bp-checks.h>.
17900 (__libc_pread64): Don't use CHECK_N.
17901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17902 include <bp-checks.h>.
17903 (__libc_pwrite): Don't use CHECK_N.
17904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17905 include <bp-checks.h>.
17906 (__libc_pwrite64): Don't use CHECK_N.
17907 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17908 (do_pread): Don't use CHECK_N.
17909 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17910 (do_pread64): Don't use CHECK_N.
17911 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17912 (do_pwrite): Don't use CHECK_N.
17913 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17914 (do_pwrite64): Don't use CHECK_N.
17915 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17916 (__libc_readv): Don't use CHECK_N.
17917 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17918 (semop): Don't use CHECK_N.
17919 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17920 <bp-checks.h>.
17921 (semtimedop): Don't use CHECK_N.
17922 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17923 (__libc_pread): Don't use CHECK_N.
17924 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17925 <bp-checks.h>.
17926 (__libc_pread64): Don't use CHECK_N.
17927 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17928 <bp-checks.h>.
17929 (__libc_pwrite): Don't use CHECK_N.
17930 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17931 <bp-checks.h>.
17932 (__libc_pwrite64): Don't use CHECK_N.
17933 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17934 <bp-checks.h>.
17935 (__libc_msgrcv): Don't use CHECK_N.
17936 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17937 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17938 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17939 (__libc_writev): Don't use CHECK_N.
17940
b84660a8
RM
179412013-02-08 Roland McGrath <roland@hack.frob.com>
17942
7f3e75f8
RM
17943 * string/strcpy.c: Removed unused variable.
17944
b84660a8
RM
17945 * Makeconfig (+sysdep-includes): Define with := rather than =.
17946 Use an existing include/ subdir of each sysdeps dir before it.
17947
471514d3
CD
179482013-02-08 Carlos O'Donell <carlos@redhat.com>
17949
17950 * nscd/connection.c (register_traced_file): Comment function.
17951 [HAVE_INOTIFY] (union __inev): Define.
17952 [HAVE_INOTIFY] (inotify_check_files): New function.
17953 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17954 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17955 clear_db_cache.
17956 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17957
b2d3c3be
CD
179582013-02-08 Carlos O'Donell <carlos@redhat.com>
17959
17960 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17961 loaded if not already and that a failure is permanent.
17962
b39949d2
CD
179632013-02-08 Carlos O'Donell <carlos@redhat.com>
17964
ddacd1db 17965 [BZ #15006]
b39949d2
CD
17966 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17967 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17968
b2c9eff4
JM
179692013-02-08 Joseph Myers <joseph@codesourcery.com>
17970
f3aae3f3
JM
17971 [BZ #13550]
17972 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17973 (CHECK_1_NULL_OK): Likewise.
17974 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17975 (__fxstat): Do not use CHECK_1.
17976 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17977 <bp-checks.h>.
17978 (___fxstat64): Do not use CHECK_1.
17979 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17980 <bp-checks.h>.
17981 (__fxstatat): Do not use CHECK_1.
17982 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17983 <bp-checks.h>.
17984 (__fxstatat64): Do not use CHECK_1.
17985 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17986 <bp-checks.h>.
17987 (__fxstat): Do not use CHECK_1.
17988 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17989 <bp-checks.h>.
17990 (__fxstatat): Do not use CHECK_1.
17991 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17992 <bp-checks.h>.
17993 (__getresgid): Do not use CHECK_1.
17994 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17995 <bp-checks.h>.
17996 (__getresuid): Do not use CHECK_1.
17997 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17998 <bp-checks.h>.
17999 (__lxstat): Do not use CHECK_1.
18000 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18001 <bp-checks.h>.
18002 (__old_msgctl): Do not use CHECK_1.
18003 (__new_msgctl): Likewise.
18004 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18005 <bp-checks.h>.
18006 (__new_setrlimit): Do not use CHECK_1.
18007 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18008 <bp-checks.h>.
18009 (__old_shmctl): Do not use CHECK_1.
18010 (__new_shmctl): Likewise.
18011 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18012 <bp-checks.h>.
18013 (__xstat): Do not use CHECK_1.
18014 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18015 (__lxstat): Do not use CHECK_1.
18016 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18017 <bp-checks.h>.
18018 (___lxstat64): Do not use CHECK_1.
18019 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18020 (__old_msgctl): Do not use CHECK_1.
18021 (__new_msgctl): Likewise.
18022 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18023 <bp-checks.h>.
18024 (__gettimeofday): Do not use CHECK_1.
18025 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18026 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18027 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18028 <bp-checks.h>.
18029 (__gettimeofday): Do not use CHECK_1.
18030 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18031 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18032 (__new_shmctl): Do not use CHECK_1.
18033 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18034 <bp-checks.h>.
18035 (do_sigtimedwait): Do not use CHECK_1.
18036 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18037 <bp-checks.h>.
18038 (do_sigwaitinfo): Do not use CHECK_1.
18039 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18040 <bp-checks.h>.
18041 (msgctl): Do not use CHECK_1.
18042 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18043 <bp-checks.h>.
18044 (shmctl): Do not use CHECK_1.
18045 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18046 (ustat): Do not use CHECK_1.
18047 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18048 <bp-checks.h>.
18049 (__fxstat): Do not use CHECK_1.
18050 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18051 <bp-checks.h>.
18052 (__fxstatat): Do not use CHECK_1.
18053 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18054 <bp-checks.h>.
18055 (__lxstat): Do not use CHECK_1.
18056 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18057 <bp-checks.h>.
18058 (__xstat): Do not use CHECK_1.
18059 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18060 (__xstat): Do not use CHECK_1.
18061 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18062 (___xstat64): Do not use CHECK_1.
18063
b2c9eff4
JM
18064 [BZ #13550]
18065 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18066 definitions.
18067 (CHECK_BOUNDS_HIGH): Likewise.
18068 * string/strcpy.c: Do not include <bp-checks.h>.
18069 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18070
f1d70dad
RM
180712013-02-07 Roland McGrath <roland@hack.frob.com>
18072
18073 * nscd/nscd-client.h (__nscd_drop_map_ref):
18074 Add __attribute__ ((unused)).
18075 * nis/nss-nisplus.h (niserr2nss): Likewise.
18076
18077 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18078 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18079
18080 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18081 Remove inline keyword.
18082 * include/rounding-mode.h (round_away): Likewise.
18083 * libio/wfileops.c (adjust_wide_data): Likewise.
18084 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18085 (__m128i_strloadu_tolower): Likewise.
18086 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18087 (__m128i_strloadu_tolower): Likewise.
18088 * time/mktime.c (ydhms_diff): Likewise.
18089 * locale/elem-hash.h (elem_hash): Likewise.
18090 * locale/setlocale.c (setdata): Likewise.
18091 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18092 (re_string_wchar_at): Likewise.
18093 (bitset_not, bitset_merge, bitset_mask): Likewise.
18094 [!(__GNUC__ > 3)] (inline): Remove macro.
18095 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18096 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18097 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18098 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18099 * string/memcmp.c (memcmp_bytes): Likewise.
18100 * locale/programs/locarchive.c (compute_hashval): Likewise.
18101 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18102 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18103 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18104 * nss/getent.c (print_rpc, print_protocols): Likewise.
18105 (print_passwd, print_group, print_aliases): Likewise.
18106 * nis/nss-nisplus.h (niserr2nss): Likewise.
18107 * nscd/connections.c (restart_p): Likewise.
18108 Change return type to bool.
18109
eab55bfb
RM
181102013-02-05 Roland McGrath <roland@hack.frob.com>
18111
7bd642f5
RM
18112 * Makeconfig (all-Depend-files): Add existing
18113 $(sorted-subdirs:=/Depend) files.
18114 (all-subdirs): Remove nss.
18115 * sysdeps/unix/inet/Subdirs: Add it here instead.
18116 * hesiod/Depend: New file.
18117
573c29b2
RM
18118 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18119 instead of calling alloca.
18120
b2e25af0
RM
18121 * io/lseek.c (__lseek): Rename to __libc_lseek.
18122 Define __lseek as an alias.
18123
eab55bfb
RM
18124 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18125
9a0d1941
CD
181262013-02-04 Carlos O'Donell <carlos@redhat.com>
18127
18128 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18129 else clause and remove check for non-standard endianness.
18130
b83bbec4
DM
181312013-02-04 David S. Miller <davem@davemloft.net>
18132
18133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18134
6277fdab
JM
181352013-02-04 Joseph Myers <joseph@codesourcery.com>
18136
18137 [BZ #13550]
18138 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18139 (__ubp_memchr): Remove prototype.
18140 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18141 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18142 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18143 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18144 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18145 Remove alias.
18146 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18147 (__ubp_memchr): Likewise.
18148 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18149 (__ubp_memchr): Likewise.
18150 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18151 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18152 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18153 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18154 CHECK_STRING.
18155 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18156 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18157 (__getcwd): Do not use CHECK_STRING.
18158 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18159 <bp-checks.h>.
18160 (__real_chown): Do not use CHECK_STRING.
18161 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18162 <bp-checks.h>.
18163 (fchownat): Do not use CHECK_STRING.
18164 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18165 CHECK_STRING.
18166 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18167 <bp-checks.h>.
18168 (__lchown): Do not use CHECK_STRING.
18169 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18170 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18171 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18172 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18174 include <bp-checks.h>.
18175 (truncate64): Do not use CHECK_STRING.
18176 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18177 <bp-checks.h>.
18178 (__real_chown): Do not use CHECK_STRING.
18179 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18180 <bp-checks.h>.
18181 (__lchown): Do not use CHECK_STRING.
18182 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18183 <bp-checks.h>.
18184 (__chown): Do not use CHECK_STRING.
18185 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18186 <bp-checks.h>.
18187 (truncate64): Do not use CHECK_STRING.
18188 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18189 Likewise.
18190 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18191 (__xmknod): Do not use CHECK_STRING.
18192 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18193 <bp-checks.h>.
18194 (__xmknodat): Do not use CHECK_STRING.
18195 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18196 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18197
903ae060
AS
181982013-02-04 Andreas Schwab <schwab@suse.de>
18199
18200 [BZ #14142]
18201 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18202 * include/netdb.h: Likewise for h_errno.
18203 * elf/tst-stackguard1.c: Include <tls.h>.
18204
542f9466
JK
182052013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18206
18207 * elf/link.h (struct link_map): Extend the l_addr comment.
18208 * include/link.h (struct link_map): Likewise.
18209
e782a927
JM
182102013-02-01 Joseph Myers <joseph@codesourcery.com>
18211
18212 [BZ #13550]
18213 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18214 (BOUNDED_1): Remove macro.
18215 * debug/backtrace.c: Don't include <bp-checks.h>.
18216 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18217 (__backtrace): Likewise.
18218 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18219 <bp-checks.h>.
18220 (__backtrace): Don't use BOUNDED_1.
18221 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18222 <bp-checks.h>.
18223 (__backtrace): Don't use BOUNDED_1.
18224 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18225 (__backtrace): Don't use BOUNDED_1.
18226 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18227 (shmat): Don't use BOUNDED_N.
18228
8cf28c5e
JM
182292013-01-31 Joseph Myers <joseph@codesourcery.com>
18230
3a7ac8a0
JM
18231 [BZ #13550]
18232 * sysdeps/generic/bp-start.h: Remove file.
18233 * csu/libc-start.c: Don't include <bp-start.h>.
18234 (LIBC_START_MAIN): Set up __environ directly instead of using
18235 INIT_ARGV_and_ENVIRON.
18236 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18237 <bp-start.h>.
18238
f3499f95
JM
18239 [BZ #13550]
18240 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18241 definitions.
18242 (CHECK_FCNTL): Likewise.
18243 (CHECK_N_PAGES): Likewise.
18244
32a45bea
JM
18245 [BZ #13550]
18246 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18247 definitions.
18248 (CHECK_SIGSET_NULL_OK): Likewise.
18249 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18250 <bp-checks.h>.
18251 (sigpending): Don't use CHECK_SIGSET.
18252 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18253 <bp-checks.h>.
18254 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18255 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18256 <bp-checks.h>.
18257 (do_sigsuspend): Don't use CHECK_SIGSET.
18258 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18259 use CHECK_SIGSET.
18260 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18261 (do_sigwait): Don't use CHECK_SIGSET.
18262 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18263 use CHECK_SIGSET.
18264 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18265 include <bp-checks.h>.
18266 (sigpending): Don't use CHECK_SIGSET.
18267 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18268 include <bp-checks.h>.
18269 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18270 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18271 <bp-checks.h>.
18272 (sigpending): Don't use CHECK_SIGSET.
18273 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18274 <bp-checks.h>.
18275 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18276
2e8a5c8c
JM
18277 [BZ #13550]
18278 * sysdeps/generic/bp-semctl.h: Remove file.
18279 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18280 <bp-checks.h> and <bp-semctl.h>.
18281 (__old_semctl): Don't use CHECK_SEMCTL.
18282 (__new_semctl): Likewise.
18283 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18284 and <bp-semctl.h>.
18285 (__old_semctl): Don't use CHECK_SEMCTL.
18286 (__new_semctl): Likewise.
18287 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18288 <bp-checks.h> and <bp-semctl.h>.
18289 (__old_semctl): Don't use CHECK_SEMCTL.
18290 (__new_semctl): Likewise.
18291 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18292 <bp-checks.h> and <bp-semctl.h>.
18293 (semctl): Don't use CHECK_SEMCTL.
18294
c2d54929
JM
18295 [BZ #13550]
18296 * Makerules (elide-bp-thunks): Remove variable.
18297 (elide-routines.oS): Don't use $(elide-bp-thunks).
18298 (elide-routines.os): Likewise.
18299 (elide-routines.o): Likewise.
18300 (elide-routines.op): Likewise.
18301 (elide-routines.og): Likewise.
18302 (objects): Don't use $(bp-thunks).
18303 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18304 include.
18305 (common-generated): Do not add s-proto-bp.d.
18306 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18307 (int): Likewise.
18308 (typ): Likewise.
18309 Do not generate makefile rules for bounded-pointer thunks.
18310 * sysdeps/generic/bp-thunks.h: Remove file.
18311 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18312 * sysdeps/unix/s-proto-bp.S: Likewise.
18313
8cf28c5e
JM
18314 [BZ #15062]
18315 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18316 parts of result separately when argument is not close to line from
18317 -i to i and one part of argument is small.
18318 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18319 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18320 * math/libm-test.inc (cacos_test): Add more tests.
18321 (casin_test): Likewise.
18322 (casinh_test): Likewise.
18323 * sysdeps/i386/fpu/libm-test-ulps: Update.
18324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18325
c4e33b8d
DM
183262013-01-31 David S. Miller <davem@davemloft.net>
18327
18328 * po/de.po: Update from translation team.
18329
3b60b421
MK
183302013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18331
18332 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18333
bb931195
TS
183342013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18335
b5a5da23
TS
18336 * configure.in (_AC_PROG_CC_C89): New definition.
18337 * configure: Regenerate.
18338
bb931195
TS
18339 * configure.in (AC_PROG_CPP): New definition.
18340 * configure: Regenerate.
18341
8c53a12c
JM
183422013-01-23 Joseph Myers <joseph@codesourcery.com>
18343
18344 * debug/tst-backtrace.h: New file.
18345 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18346 (ret): Remove variable.
18347 (x): Likewise.
18348 (FAIL): Remove macro.
18349 (NO_INLINE): Likewise.
18350 (fn1): Use match function instead of strstr.
18351 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18352 (ret): Remove variable.
18353 (x): Likewise.
18354 (FAIL): Remove macro.
18355 (NO_INLINE): Likewise.
18356 (fn): Use match function instead of strstr.
18357 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18358 (ret): Remove variable.
18359 (x): Likewise.
18360 (FAIL): Remove macro.
18361 (NO_INLINE): Likewise.
18362 (handle_signal): Use match function instead of strstr.
18363 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18364 (ret): Remove variable.
18365 (x): Likewise.
18366 (FAIL): Remove macro.
18367 (NO_INLINE): Likewise.
18368 (handle_signal): Use match function instead of strstr.
18369
4858fa2a
RM
183702013-01-23 Roland McGrath <roland@hack.frob.com>
18371
18372 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18373
bae8e7f5
DM
183742013-01-23 David S. Miller <davem@davemloft.net>
18375
18376 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18377 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18378 argument of CAS if possible.
18379 * sysdeps/sparc/sparc64/bits/atomic.h
18380 (__arch_compare_and_exchange_val_32_acq): Likewise.
18381 (__arch_compare_and_exchange_val_64_acq): Likewise.
18382
9cbbc4ae
PT
183832013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18384
18385 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18386 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18387 Include <limits.h>.
67b3f58c 18388 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18389
5655a0b5
AC
183902013-01-23 Adam Conrad <adconrad@0c3.net>
18391
18392 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18393 (LDFLAGS-tst-array5): Likewise.
18394
052aff95
JM
183952013-01-23 Joseph Myers <joseph@codesourcery.com>
18396
18397 [BZ #15036]
18398 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18399 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18400 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18401 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18402
7c1e01aa
DM
184032013-01-21 David S. Miller <davem@davemloft.net>
18404
18405 * sysdeps/sparc/backtrace.c: New file.
18406 * sysdeps/sparc/sparc32/backtrace.h: New file.
18407 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18408 * sysdeps/sparc/sparc64/backtrace.h: New file.
18409 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18410 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18411 -funwind-tables.
18412
ab087e0a
AS
184132013-01-21 Andreas Schwab <schwab@suse.de>
18414
18415 [BZ #15020]
18416 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18417 closed its stdout.
18418
ed689c2f
AS
184192013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18420
18421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18422 "mpa2.h".
18423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18424
31d470ac
JM
184252013-01-18 Joseph Myers <joseph@codesourcery.com>
18426 Mark Mitchell <mark@codesourcery.com>
18427 Tom de Vries <tom@codesourcery.com>
18428 Paul Pluzhnikov <ppluzhnikov@google.com>
18429
18430 * debug/tst-backtrace2.c: New file.
18431 * debug/tst-backtrace3.c: Likewise.
18432 * debug/tst-backtrace4.c: Likewise.
18433 * debug/tst-backtrace5.c: Likewise.
18434 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18435 (CFLAGS-tst-backtrace3.c): Likewise.
18436 (CFLAGS-tst-backtrace4.c): Likewise.
18437 (CFLAGS-tst-backtrace5.c): Likewise.
18438 (LDFLAGS-tst-backtrace2): Likewise.
18439 (LDFLAGS-tst-backtrace3): Likewise.
18440 (LDFLAGS-tst-backtrace4): Likewise.
18441 (LDFLAGS-tst-backtrace5): Likewise.
18442 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18443 tst-backtrace4 and tst-backtrace5.
18444
90567f30 184452013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18446 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18447
18448 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18449 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18450 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18451 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18453 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18454 "+r" and remove output regs list as redundant. Add explicit inline
18455 asm to specify register of return val to work around compiler codegen
18456 bug. Remove (int) cast on return value. Add return type parameter to
18457 use in macro so that this macro does not truncate return value for
18458 64-bit values.
18459 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18460 pass to INTERNAL_VSYSCALL_NCS.
18461 (INLINE_VSYSCALL): Add 'long int' as return type to
18462 INTERNAL_VSYSCALL_NCS macro invocation.
18463 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18464 INTERNAL_VSYSCALL_NCS macro invocation.
18465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18466
d3b9ea61
SP
184672013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18468
0b57daeb
SP
18469 [BZ #14496]
18470 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18471 Fix application of SIMD FP exception mask.
18472
caa99d06
SP
18473 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18474 mp_no from a power of two.
18475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18476 __mpexp_twomm1. Use __pow_mp.
18477
d3b9ea61
SP
18478 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18479 multiplication.
18480
1dbaee3c
DM
184812013-01-17 David S. Miller <davem@davemloft.net>
18482
18483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18484
728d7b43
JM
184852013-01-17 Joseph Myers <joseph@codesourcery.com>
18486
18487 [BZ #15023]
18488 * include/complex.h: Condition contents on [!_COMPLEX_H].
18489 (__kernel_casinhf): New prototype.
18490 (__kernel_casinh): Likewise.
18491 (__kernel_casinhl): Likewise.
18492 * math/Makefile (libm_calls): Add k_casinh.
18493 * math/k_casinh.c: New file.
18494 * math/k_casinhf.c: Likewise.
18495 * math/k_casinhl.c: Likewise.
18496 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18497 finite nonzero arguments.
18498 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18499 finite nonzero arguments.
18500 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18501 finite nonzero arguments.
18502 * math/s_casinh.c: Do not include <float.h>.
18503 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18504 * math/s_casinhf.c: Do not include <float.h>.
18505 (__casinhf): Move code for finite nonzero arguments to
18506 k_casinhf.c.
18507 * math/s_casinhl.c: Do not include <float.h>.
18508 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18509 redefine.
18510 (__casinhl): Move code for finite nonzero arguments to
18511 k_casinhl.c.
18512 * math/libm-test.inc (cacos_test): Add more tests.
18513 * sysdeps/i386/fpu/libm-test-ulps: Update.
18514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18515
2a26ef3a
PT
185162013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18517
18518 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18519 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18520 [!HAVE_MREMAP]: Remove [defined linux] case.
18521 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18522
a897655d
SP
185232013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18524
18525 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18526
881ebe89 185272013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18528
18529 * elf/elf.h (R_386_SIZE32): New relocation.
18530 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18531 R_386_SIZE32.
18532 (elf_machine_rela): Likewise.
18533 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18534 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18535
59981e9b
JM
185362013-01-17 Joseph Myers <joseph@codesourcery.com>
18537
18538 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18539 (FP_FAST_FMA): Do not define.
18540 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18541 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18542 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18543 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18544 !_SOFT_FLOAT]: Likewise.
18545 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18546 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18547 value.
18548 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18549 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18550 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18551 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18552 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18553 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18554 file.
18555
cfa8054f
AS
185562013-01-16 Andreas Schwab <schwab@suse.de>
18557
18558 [BZ #14327]
18559 * include/stdlib.h (__mktemp): Add declaration.
18560 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18561 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18562
dd930cc5
SP
185632013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18564
881ebe89
SP
18565 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18566 definitions.
18567 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18568 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18569 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18570 definitions here.
18571 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18572 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18573 definitions.
18574 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18575 and ONE.
18576 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18577 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18578 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18579 definitions.
18580 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18581 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18582 definitions.
18583 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18584
dd930cc5
SP
18585 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18586
c19a9f89
DM
185872013-01-15 David S. Miller <davem@davemloft.net>
18588
1aa61767
DM
18589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18590 trunc{,f} to libm-sysdep_routes.
18591 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18593 file.
18594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18596 file.
18597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18598 file.
18599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18601 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18602 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18603 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18604 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18605 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18606 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18607
c42d5e98
DM
18608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18609 nearbyint{,f} to libm-sysdep_routes.
18610 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18612 New file.
18613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18614 file.
18615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18616 New file.
18617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18618 file.
18619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18621 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18622 file.
18623 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18624 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18625 file.
18626 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18627 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18628 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18629
c19a9f89
DM
18630 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18631 libc_feholdexcept and libc_fesetenv.
18632
357679d2
MF
186332013-01-15 Mike Frysinger <vapier@gentoo.org>
18634
18635 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18636
65a82e3d
DM
186372013-01-14 David S. Miller <davem@davemloft.net>
18638
8b954ab9
DM
18639 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18640 (SPARC_ASM_VIS2_IFUNC): Likewise.
18641 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18643 use of 'siam' instruction.
18644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18645 Likewise.
18646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18647 Likewise.
18648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18649 Likewise.
18650 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18651 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18655 file.
18656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18657 file.
18658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18659 file.
18660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18661 file.
18662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18667 new VIS2 routines.
18668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18671 Likewise.
18672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18673 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18675 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18677 routines to libm-sysdep_routines.
18678 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18679
65a82e3d
DM
18680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18681 fdim/fdimf to libm-sysdep_routines.
18682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18683 file.
18684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18686 file.
18687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18690 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18691 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18692 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18693 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18694
e34ab705
SP
186952013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18696
2a91b573
SP
18697 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18698 to optimize copies.
18699
1066a534
SP
18700 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18703
e34ab705
SP
18704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18705 local variable MPTWO.
18706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18707 Likewise.
18708
aba5e596
MF
187092013-01-13 Mike Frysinger <vapier@gentoo.org>
18710
18711 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18712 GLOB_NOESCAPE.
18713
e557e9e5
MF
187142013-01-13 Mike Frysinger <vapier@gentoo.org>
18715
18716 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18717
0428cec9
MF
187182013-01-13 Mike Frysinger <vapier@gentoo.org>
18719
18720 * manual/pattern.texi (glob_t): Document gl_flags.
18721 (glob64_t): Likewise.
18722
8794a964
DM
187232013-01-11 David S. Miller <davem@davemloft.net>
18724
66438c3f
RM
18725 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18726 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18727 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18728 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18729 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18730 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18731 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18732 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18733 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18734 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18735 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18736 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18737 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18738
4ae4244d
DM
18739 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18740 sparc V9 rather than using V8 code.
18741 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18742 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18743
8794a964
DM
18744 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18745 Move to...
18746 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18747 Here.
18748
6270516e
RM
187492013-01-11 Roland McGrath <roland@hack.frob.com>
18750
18751 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18752 not in the main loop.
18753 * configure: Regenerated.
18754
6a57d931
JM
187552013-01-11 Joseph Myers <joseph@codesourcery.com>
18756
18757 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18758 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18759 to just #else.
18760 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18761 [!__GLIBC_HAVE_LONG_LONG] case.
18762 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18763 condition to just #else.
18764 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18765 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18766 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18767 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18768 unconditional.
18769 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18770 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18771 #elif condition to just #else.
18772 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18773 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18774 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18775 #elif condition to just #else.
18776
0e8529e9
SE
187772013-01-11 Steve Ellcey <sellcey@mips.com>
18778
18779 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18780 (EF_MIPS_ARCH_64): Fix value.
18781 (EF_MIPS_ARCH_32R2): New.
18782 (EF_MIPS_ARCH_64R2): New.
18783
740b3dbe
L
187842013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18785
18786 * Makeconfig (+link-pie-before-libc): New.
18787 (+link-pie-after-libc): Likewise.
18788 (+link-pie-tests): Likewise.
18789 (+link-pie): Rewritten.
18790 (link-before-libc): Remove $(config-LDFLAGS).
18791 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18792 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18793 (config-LDFLAGS): Renamed to ...
18794 (rtld-LDFLAGS): This.
18795 (rtld-tests-LDFLAGS): New macro.
18796 (link-libc-rpath-link): Likewise.
18797 (link-libc-tests-rpath-link): Likewise.
18798 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18799 (link-libc): Prepand $(link-libc-rpath-link).
18800 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18801 (test-program-prefix): New macro.
18802 (test-via-rtld-prefix): Likewise.
18803 (test-program-cmd): Likewise.
18804 (host-test-program-cmd): Likewise.
18805 * Makefile ($(common-objpfx)testrun.sh): Replace
18806 $(run-program-prefix) with $(test-program-prefix).
18807 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18808 $(rtld-LDFLAGS).
18809 ($(common-objpfx)shlib.lds): Likewise.
18810 (build-module-helper): Likewise.
18811 ($(common-objpfx)format.lds): Likewise.
18812 * Rules (binaries-pie-tests): New.
18813 (binaries-pie-notests): Likewise.
18814 (binaries-pie): Rewritten.
18815 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18816 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18817 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18818 (make-test-out): Replace $(host-built-program-cmd) with
18819 $(host-test-program-cmd).
18820 * config.make.in (build-hardcoded-path-in-tests): New variable.
18821 * configure.in (--enable-hardcoded-path-in-tests): New configure
18822 option.
18823 (hardcoded_path_in_tests): New AC_SUBST.
18824 * configure: Regenerated.
18825 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18826 $(built-program-cmd) with $(test-program-cmd).
18827 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18828 (test_program_cmd): This.
18829 * elf/Makefile ($(objpfx)order.out): Run test with
18830 $(test-program-prefix).
18831 ($(objpfx)order2.out): Likewise.
18832 ($(objpfx)tst-initorder.out): Likewise.
18833 ($(objpfx)tst-initorder2.out): Likewise.
18834 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18835 $(test-program-cmd).
18836 ($(objpfx)tst-array1-static.out): Likewise.
18837 ($(objpfx)tst-array2.out): Likewise.
18838 ($(objpfx)tst-array3.out): Likewise.
18839 ($(objpfx)tst-array4.out): Likewise.
18840 ($(objpfx)tst-array5.out): Likewise.
18841 ($(objpfx)tst-array5-static.out): Likewise.
18842 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18843 $(test-program-cmd).
18844 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18845 $(run-program-prefix) with $(test-program-prefix).
18846 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18847 (test_program_prefix): This.
18848 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18849 $(run-program-prefix) with $(test-program-prefix).
18850 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18851 (test_program_prefix): This.
18852 * iconvdata/tst-tables.sh: Likewise.
18853 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18854 $(run-program-prefix) with $(test-program-prefix).
18855 ($(objpfx)tst-translit.out): Likewise.
18856 ($(objpfx)tst-gettext2.out): Likewise.
18857 ($(objpfx)tst-gettext4.out): Likewise.
18858 ($(objpfx)tst-gettext6.out): Likewise.
18859 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18860 (test_program_prefix): This.
18861 * intl/tst-gettext2.sh: Likewise.
18862 * intl/tst-gettext4.sh Likewise.
18863 * intl/tst-gettext6.sh: Likewise.
18864 * intl/tst-translit.sh: Likewise.
18865 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18866 with $(test-program-cmd).
18867 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18868 $(run-program-prefix) with $(test-program-prefix).
18869 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18870 (test_program_prefix): This.
18871 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18872 $(run-program-prefix) with $(test-program-prefix).
18873 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18874 (test_program_prefix): This.
18875 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18876 * posix/Makefile ($(objpfx)globtest.out): Replace
18877 $(run-via-rtld-prefix) and $(test-wrapper) with
18878 $(test-program-prefix) and $(test-via-rtld-prefix).
18879 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18880 $(test-program-prefix).
18881 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18882 $(host-test-program-cmd).
18883 (tst-spawn-ARGS): Likewise.
18884 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18885 $(test-program-prefix).
18886 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18887 (test_via_rtld_prefix): This.
18888 (test_wrapper): Renamed to ...
18889 (test_program_prefix): This.
18890 (run_program_prefix): Replaced by test_program_prefix.
18891 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18892 (test_program_prefix): This.
18893 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18894 with $(host-test-program-cmd).
18895 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18896 $(run-program-prefix) with $(test-program-prefix).
18897 ($(objpfx)tst-printf.out): Likewise.
18898 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18899 $(test-program-cmd).
18900 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18901 (test_program_prefix): This.
18902 * stdio-common/tst-unbputc.sh: Likewise.
18903 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18904 $(run-program-prefix) with $(test-program-prefix).
18905 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18906 (test_program_prefix): This.
18907 * string/Makefile ($(objpfx)tst-svc.out): Replace
18908 $(built-program-cmd) with $(test-program-cmd).
18909
c6fe55cf
AJ
189102013-01-11 Andreas Jaeger <aj@suse.de>
18911
18912 [BZ #15003]
18913 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18914 value. Sync with Linux 3.7.
18915
9e6919c8
DM
189162013-01-10 David S. Miller <davem@davemloft.net>
18917
18918 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18919 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18920 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18921
1c9f1a02
RM
189222013-01-10 Roland McGrath <roland@hack.frob.com>
18923
18924 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18925 never set.
18926 * configure: Regenerated.
18927
b9de2dde
DM
189282013-01-10 David S. Miller <davem@davemloft.net>
18929
18930 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18931 sparc V9 rather than using V8 code.
18932 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18933 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18934
e7f68ef4
RM
189352013-01-10 Roland McGrath <roland@hack.frob.com>
18936
18937 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18938 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18939 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18940 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18941 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18942 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18943 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18944 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18945 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18946 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18947 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18948 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18949 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18950 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18951 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18952 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18953 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18954 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18955 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18956 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18957 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18958 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18959 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18960 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18961 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18962 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18963 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18964
5a47cc9c
DM
189652013-01-10 David S. Miller <davem@davemloft.net>
18966
18967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18968
4cf8f209
L
189692013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18970
18971 * posix/Makefile (tests-static): New variable.
18972 (tests): Add $(tests-static).
18973 (tst-exec-static-ARGS): New variable.
18974 (tst-spawn-static-ARGS): Likewise.
18975 * posix/tst-exec-static.c: New file.
18976 * posix/tst-spawn-static.c: Likewise.
18977 * posix/tst-exec.c: Support run directly.
18978 * posix/tst-spawn.c: Likewise.
18979
fed0faa1
JM
189802013-01-10 Joseph Myers <joseph@codesourcery.com>
18981
828beb13
JM
18982 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18983 long.
18984 * math/bits/mathcalls.h (llrint): Likewise.
18985 (llround): Likewise.
18986 * stdlib/stdlib.h (struct drand48_data): Likewise.
18987 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18988 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18989 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18990 Likewise.
18991 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18992 Likewise.
18993 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18994 (elf_greg_t): Likewise.
18995 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18996 (__jmp_buf): Likewise.
18997 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18998 definitions.
18999 (llrint): Likewise, for all definitions.
19000 (llrintl): Likewise.
19001
fed0faa1
JM
19002 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19003 Remove [__GNUC__] condition.
19004 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19005 condition to just [__USE_ISOC99].
19006 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19007
1a20cb20
L
190082013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19009
19010 [BZ #14200]
19011 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19012 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19013 defined.
19014 (_POSIX_V6_ILP32_OFF32): Likewise.
19015 (_XBS5_ILP32_OFF32): Likewise.
19016 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19017 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19018
751b85f7
SP
190192013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19020
7490eb81
SP
19021 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19022
751b85f7
SP
19023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19024 doubles __mpexp_twomm1. Adjust usage.
19025 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19026 Remove.
19027
988197f0
AS
190282013-01-10 Andreas Schwab <schwab@suse.de>
19029
19030 [BZ #14964]
19031 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19032 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19033
e83d7298
DM
190342013-01-09 David S. Miller <davem@davemloft.net>
19035
034ed64b 19036 [BZ #15003]
e83d7298
DM
19037 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19038 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19039 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19040 TCP_FASTOPEN): Define.
19041 (tcp_repair_opt): New structure.
19042 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19043 enum values.
19044 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19045 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19046 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19047 (tcp_cookie_transactions): New structure.
19048
d5e0b9bd
AB
190492013-01-09 Anton Blanchard <anton@samba.org>
19050
19051 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19052 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19053 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19054 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19055
0c07e3ea
JM
190562013-01-09 Joseph Myers <joseph@codesourcery.com>
19057
19058 * include/features.h (__USE_ANSI): Remove.
19059
232f7002
RM
190602013-01-09 Roland McGrath <roland@hack.frob.com>
19061
ad98e30c
RM
19062 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19063
232f7002
RM
19064 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19065
950c99ca
SP
190662013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19067
b5792741
SP
19068 * sysdeps/s390/fpu/libm-test-ulps: Update.
19069
47cf2278
SP
19070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19071
950c99ca
SP
19072 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19073 (__acr): Likewise.
19074 (__cpy): Likewise.
19075 (norm): Likewise.
19076 (denorm): Likewise.
19077 (__mp_dbl): Likewise.
19078 (__dbl_mp): Likewise.
19079 (add_magnitudes): Likewise.
19080 (sub_magnitudes): Likewise.
19081 (__add): Likewise.
19082 (__sub): Likewise.
19083 (__mul): Likewise.
19084 (__inv): Likewise.
19085 (__dvd): Likewise.
19086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19087 (__acr): Likewise.
19088 (__cpy): Likewise.
19089 (norm): Likewise.
19090 (denorm): Likewise.
19091 (__mp_dbl): Likewise.
19092 (__dbl_mp): Likewise.
19093 (add_magnitudes): Likewise.
19094 (sub_magnitudes): Likewise.
19095 (__add): Likewise.
19096 (__sub): Likewise.
19097 (__mul): Likewise.
19098 (__inv): Likewise.
19099 (__dvd): Likewise.
19100 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19101 (__acr): Likewise.
19102 (__cpy): Likewise.
19103 (norm): Likewise.
19104 (denorm): Likewise.
19105 (__mp_dbl): Likewise.
19106 (__dbl_mp): Likewise.
19107 (add_magnitudes): Likewise.
19108 (sub_magnitudes): Likewise.
19109 (__add): Likewise.
19110 (__sub): Likewise.
19111 (__mul): Likewise.
19112 (__inv): Likewise.
19113 (__dvd): Likewise.
19114
eede9df9
JM
191152013-01-08 Joseph Myers <joseph@codesourcery.com>
19116
19117 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19118 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19119 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19120 2 && __USE_EXTERN_INLINES]: Likewise.
19121
c40ea3d9
AJ
191222013-01-08 Andreas Jaeger <aj@suse.de>
19123
19124 [BZ# 14985]
19125 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19126 Remove.
19127 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19128 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19129
2ccdea26
AB
191302013-01-07 Anton Blanchard <anton@samba.org>
19131
19132 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19133 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19134 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19135 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19136 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19137 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19138 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19139 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19140 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19141 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19142 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19143 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19144 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19145 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19146 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19147 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19148 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19149 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19150 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19151 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19152 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19153 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19154 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19155 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19156 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19157 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19158 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19159 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19161 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19162 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19164 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19165 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19166 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19167 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19168 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19169 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19170 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19171 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19172 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19173 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19174 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19175
a9708fed
JM
191762013-01-07 Joseph Myers <joseph@codesourcery.com>
19177
375607b9
JM
19178 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19179 (__MALLOC_PMT): Likewise.
19180 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19181 [__GNUC__], only on [_LIBC].
19182 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19183 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19184 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19185 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19186 forward declaration.
19187 (realloc_hook_ini): Likewise.
19188 (memalign_hook_ini): Likewise.
19189 (__libc_memalign): Do not use __MALLOC_PMT in variable
19190 declaration.
19191 (__libc_valloc): Likewise.
19192 (__libc_pvalloc): Likewise.
19193 (__libc_calloc): Likewise.
19194 (__posix_memalign): Likewise.
19195
a9708fed
JM
19196 [BZ #14996]
19197 * math/s_casinh.c: Include <float.h>.
19198 (__casinh): Do not do computation with squaring and square root
19199 for large arguments.
19200 * math/s_casinhf.c: Include <float.h>.
19201 (__casinhf): Do not do computation with squaring and square root
19202 for large arguments.
19203 * math/s_casinhl.c: Include <float.h>.
19204 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19205 (__casinhl): Do not do computation with squaring and square root
19206 for large arguments.
19207 * math/libm-test.inc (casin_test): Add more tests.
19208 (casinh_test): Likewise.
19209 * sysdeps/i386/fpu/libm-test-ulps: Update.
19210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19211
afec409a
L
192122013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19213
19214 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19215 (__x86_64_raw_data_cache_size): Likewise.
19216 (__x86_64_data_cache_size_half): Likewise.
19217 (__x86_64_raw_data_cache_size_half): Likewise.
19218 (__x86_64_shared_cache_size): Likewise.
19219 (__x86_64_raw_shared_cache_size): Likewise.
19220 (__x86_64_shared_cache_size_half): Likewise.
19221 (__x86_64_raw_shared_cache_size_half): Likewise.
19222 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19223 to ...
19224 (__x86_data_cache_size): This.
19225 (__x86_64_raw_data_cache_size): Renamed to ...
19226 (__x86_raw_data_cache_size): This.
19227 (__x86_64_data_cache_size_half): Renamed to ...
19228 (__x86_data_cache_size_half): This.
19229 (__x86_64_raw_data_cache_size_half): Renamed to ...
19230 (__x86_raw_data_cache_size_half): This.
19231 (__x86_64_shared_cache_size): Renamed to ...
19232 (__x86_shared_cache_size): This.
19233 (__x86_64_raw_shared_cache_size): Renamed to ...
19234 (__x86_raw_shared_cache_size): This.
19235 (__x86_64_shared_cache_size_half): Renamed to ...
19236 (__x86_shared_cache_size_half): This.
19237 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19238 (__x86_raw_shared_cache_size_half): This.
19239 * sysdeps/x86_64/memcpy.S: Updated.
19240 * sysdeps/x86_64/memset.S: Likewise.
19241 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19242 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19243 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19244
0b3986d0
DM
192452013-01-04 David S. Miller <davem@davemloft.net>
19246
19247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19248
e47686e9
AS
192492013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19250
d643bac1
AS
19251 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19252 1 to avoid redefinition warning.
19253 (__USE_GNU): Don't define.
19254 (init_signaling_nan): Protoize.
19255
e47686e9
AS
19256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19257
b18decba
SP
192582013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19259
fffb407f
SP
19260 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19262 (__cpymn): Likewise.
19263 (norm): Remove commented code.
19264 (denorm): Likewise.
19265 (__mp_dbl): Likewise.
19266 (__inv): Likewise.
19267 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19268 (__cpymn): Likewise.
19269 (norm): Remove commented code.
19270 (denorm): Likewise.
19271 (__mp_dbl): Likewise.
19272 (__inv): Likewise.
19273
b18decba
SP
19274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19275 mp_no value for 1.0 and 2.0.
19276 (norm): Use RADIXI instead of radixi.d.
19277 (denorm): Likewise.
19278 (__mul): Use 0.0 instead of zero.d.
19279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19280 mp_no value for 1.0 and 2.0.
19281 (norm): Use RADIXI instead of radixi.d.
19282 (denorm): Likewise.
19283 (__mul): Use 0.0 instead of zero.d.
19284
cdc1c96f
JM
192852013-01-04 Joseph Myers <joseph@codesourcery.com>
19286
19287 [BZ #14994]
19288 * math/s_casinh.c (__casinh): Reduce finite argument to first
19289 quadrant then set signs of results at the end.
19290 * math/s_casinhf.c (__casinhf): Likewise.
19291 * math/s_casinhl.c (__casinhl): Likewise.
19292 * math/libm-test.inc (casin_test): Add more tests.
19293 (casinh_test): Likewise.
19294 * sysdeps/i386/fpu/libm-test-ulps: Update.
19295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19296
302913e1
SP
192972013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19298
6420d207
SP
19299 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19300
a9e48ab4
SP
19301 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19302
b7837264
SP
19303 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19304 declarations.
19305 (denorm): Likewise.
19306 (__mp_dbl): Likewise.
19307 (__inv): Likewise.
19308
f8af25d2
SP
19309 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19310 and adjust the header comment.
19311
302913e1
SP
19312 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19313 variable name from declaration.
19314
5d7dd1ca
L
193152013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19316
19317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19318 Initialize COMMON_CPUID_INDEX_7 element.
19319 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19320 (CPUID_RTM): Likewise.
19321 (HAS_RTM): Likewise.
19322 (COMMON_CPUID_INDEX_7): New enum.
19323
2f5f40f4
AS
193242013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19325
19326 [BZ #14981]
19327 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19328 size is zero, record memory as freed.
19329
4056f4a0
AJ
193302013-01-03 Andreas Jaeger <aj@suse.de>
19331
19332 * po/ia.po: Add new Interlingua translation.
19333
ab15736f 193342012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19335
19336 * locale/programs/localedef.c: Fix description of '--posix' flag.
19337
568035b7
JM
193382013-01-02 Joseph Myers <joseph@codesourcery.com>
19339
e6898b8d
JM
19340 * NEWS: Update dates in second copyright notice.
19341 * README: Update copyright dates in example.
19342 * manual/libc.texinfo: Update copyright dates.
19343 * scripts/test-installation.pl: Update copyright date in --version
19344 output.
19345
0e2f9562
JM
19346 * hurd/ctty-input.c: Fix copyright notice formatting.
19347 * hurd/ctty-output.c: Likewise.
19348 * hurd/dtable.c: Likewise.
19349 * hurd/hurd-raise.c: Likewise.
19350 * hurd/hurdprio.c: Likewise.
19351 * hurd/msgportdemux.c: Likewise.
19352 * misc/sys/file.h: Likewise.
19353 * misc/sys/ioctl.h: Likewise.
19354 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19355 * sysdeps/mach/hurd/chdir.c: Likewise.
19356 * sysdeps/mach/hurd/fchdir.c: Likewise.
19357 * sysdeps/mach/hurd/rename.c: Likewise.
19358 * sysdeps/mach/hurd/rmdir.c: Likewise.
19359 * sysdeps/mach/hurd/seekdir.c: Likewise.
19360 * sysdeps/mach/hurd/setsid.c: Likewise.
19361 * sysdeps/posix/wait3.c: Likewise.
19362
568035b7
JM
19363 * All files with FSF copyright notices: Update copyright dates
19364 using scripts/update-copyrights.
19365 * intl/plural.c: Regenerated.
19366 * locale/programs/charmap-kw.h: Likewise.
19367 * locale/programs/locfile-kw.h: Likewise.
19368
da08f647
SP
193692013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19370
0f5477af
SP
19371 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19372 four values.
19373
44e0d4c2
SP
19374 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19375 calculation loop and add branch prediction.
19376
4d55b4e5
SP
19377 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19378 check access beyond bounds of m1np.
19379
da08f647
SP
19380 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19381 MPTWO.
19382 (__inv): Remove local variable MPTWO to use the global
19383 constant.
19384 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19385 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19386 variable MPTWO.
19387 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19388 MP3HALFS static const.
19389
8e051029
DM
193902013-01-01 David S. Miller <davem@davemloft.net>
19391
19392 * po/ca.po: Update from translation team.
19393
f4cf5f2d
JM
193942013-01-01 Joseph Myers <joseph@codesourcery.com>
19395
19396 * scripts/update-copyrights: New file.
19397 * Makeconfig: Reformat copyright notice.
19398 * ctype/ctype.h: Likewise.
19399 * debug/swprintf_chk.c: Likewise.
19400 * elf/dl-cache.c: Likewise.
19401 * elf/dl-debug.c: Likewise.
19402 * elf/dl-object.c: Likewise.
19403 * grp/initgroups.c: Likewise.
19404 * hurd/Makefile: Likewise.
19405 * hurd/hurd/signal.h: Likewise.
19406 * hurd/hurdfault.c: Likewise.
19407 * hurd/hurdioctl.c: Likewise.
19408 * hurd/hurdlookup.c: Likewise.
19409 * hurd/intr-msg.c: Likewise.
19410 * iconv/gconv_open.c: Likewise.
19411 * libio/swprintf.c: Likewise.
19412 * locale/lc-ctype.c: Likewise.
19413 * locale/nl_langinfo.c: Likewise.
19414 * mach/Machrules: Likewise.
19415 * mach/Makefile: Likewise.
19416 * malloc/obstack.h: Likewise.
19417 * manual/Makefile: Likewise.
19418 * manual/tsort.awk: Likewise.
19419 * misc/bits/stab.def: Likewise.
19420 * nis/nis_print_group_entry.c: Likewise.
19421 * nis/nis_table.c: Likewise.
19422 * nis/nss_compat/compat-pwd.c: Likewise.
19423 * nis/nss_compat/compat-spwd.c: Likewise.
19424 * po/Makefile: Likewise.
19425 * posix/fnmatch.c: Likewise.
19426 * posix/regex.h: Likewise.
19427 * resolv/Makefile: Likewise.
19428 * resolv/nss_dns/dns-network.c: Likewise.
19429 * resolv/res_hconf.c: Likewise.
19430 * scripts/gen-sorted.awk: Likewise.
19431 * soft-fp/soft-fp.h: Likewise.
19432 * stdio-common/printf.h: Likewise.
19433 * stdlib/monetary.h: Likewise.
19434 * stdlib/random.c: Likewise.
19435 * stdlib/random_r.c: Likewise.
19436 * sysdeps/generic/Makefile: Likewise.
19437 * sysdeps/gnu/Makefile: Likewise.
19438 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19442 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19445 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19446 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19447 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19448 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19449 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19450 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19451 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19452 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19453 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19454 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19455 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19456 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19458 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19459 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19460 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19461 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19462 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19466 * sysdeps/mach/hurd/errnos.awk: Likewise.
19467 * sysdeps/mach/hurd/fork.c: Likewise.
19468 * sysdeps/mach/hurd/getcwd.c: Likewise.
19469 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19470 * sysdeps/mach/hurd/mmap.c: Likewise.
19471 * sysdeps/mach/hurd/utimes.c: Likewise.
19472 * sysdeps/mach/hurd/xmknod.c: Likewise.
19473 * sysdeps/posix/profil.c: Likewise.
19474 * sysdeps/posix/readdir_r.c: Likewise.
19475 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19476 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19477 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19478 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19480 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19481 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19482 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19484 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19485 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19486 * sysdeps/pthread/lio_listio.c: Likewise.
19487 * sysdeps/sparc/dl-procinfo.h: Likewise.
19488 * sysdeps/unix/i386/sysdep.S: Likewise.
19489 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19490 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19491 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19492 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19494 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19495 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19496 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19497 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19498 * sysdeps/wordsize-32/divdi3.c: Likewise.
19499 * time/sys/time.h: Likewise.
19500 * wcsmbs/Makefile: Likewise.
19501
0549fbba
DM
195022013-01-01 David S. Miller <davem@davemloft.net>
19503
a141f1a7
DM
19504 * po/fr.po: Update from translation team.
19505
0549fbba
DM
19506 * catgets/gencat.c: Update copyright year.
19507 * csu/version.c: Likewise.
19508 * debug/catchsegv.sh: Likewise.
19509 * debug/pcprofiledump.c: Likewise.
19510 * debug/xtrace.sh: Likewise.
19511 * elf/ldconfig.c: Likewise.
19512 * elf/ldd.bash.in: Likewise.
19513 * elf/pldd.c: Likewise.
19514 * elf/sotruss.ksh: Likewise.
19515 * elf/sprof.c: Likewise.
19516 * iconv/iconv_prog.c: Likewise.
19517 * iconv/iconvconfig.c: Likewise.
19518 * locale/programs/locale.c: Likewise.
19519 * locale/programs/localedef.c: Likewise.
19520 * login/programs/pt_chown.c: Likewise.
19521 * malloc/memusage.sh: Likewise.
19522 * malloc/memusagestat.c: Likewise.
19523 * malloc/mtrace.pl: Likewise.
19524 * nscd/nscd.c: Likewise.
19525 * nss/getent.c: Likewise.
19526 * nss/makedb.c: Likewise.
19527 * posix/getconf.c: Likewise.
19528
18ea052c
SP
195292012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19530
19531 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19532 numbers.
19533
9c89fca6
MF
195342012-12-30 Mike Frysinger <vapier@gentoo.org>
19535
19536 * math/bits/mathcalls.h (modf): Use __nonnull.
19537
085ec079
SP
195382012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19539
19540 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19541 (split): Use macro CN instead of the bare value.
19542 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19543 could be used.
19544 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19545 instead of the bare value.
19546 (power1): Likewise.
19547
6d9f97e1
SP
195482012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19549
d63f73be
SP
19550 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19551 __ATAN_TWOM.
19552 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19553
6d9f97e1
SP
19554 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19555 their values.
19556 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19557 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19558 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19559 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19560
4c4febf5
AJ
195612012-12-28 Andreas Jaeger <aj@suse.de>
19562
af5843ef
AJ
19563 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19564 values are from Linux 3.7.
19565
4c4febf5
AJ
19566 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19567 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19568
99136f82
SP
195692012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19570
2f216c3c 19571 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19572 TRUE case.
19573
99136f82
SP
19574 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19575 (norm): Likewise.
19576 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19577 variables with preprocessor constants.
19578 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19579 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19580 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19581
7fffbdff
BH
195822012-12-27 Bruno Haible <bruno@clisp.org>
19583
19584 [BZ #14317]
19585 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19586 only if needed.
19587
b76eb5f0
SP
195882012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19589
31a7fe5c
SP
19590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19591 and use variable directly.
19592 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19593
b76eb5f0
SP
19594 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19595 MPONE.
19596 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19597 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19598 variable MPONE.
19599 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19601 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19602 include directive. Remove local variable MPONE.
19603 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19604 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19605 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19606
2c8bfe7d
DM
196072012-12-25 David S. Miller <davem@davemloft.net>
19608
19609 * version.h (RELEASE): Set to "development".
19610 (VERSION): Set to "2.17.90".
19611 * NEWS: Add 2.18 section.
19612
147d03b0
DM
196132012-12-21 David S. Miller <davem@davemloft.net>
19614
19615 * po/hr.po: Update from translation team.
19616
a8ebb2b9
AK
196172012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19618
19619 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19620
95b4f1b6
SE
196212012-12-19 Steve Ellcey <sellcey@mips.com>
19622
b2d94007 19623 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19624
cedb2a90
MS
196252012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19626
19627 * manual/contrib.texi (Contributors): Spelling correction.
19628
bbf527d6
DM
196292012-12-15 David S. Miller <davem@davemloft.net>
19630
19631 * po/ru.po: Update from translation team.
19632
bc38c906
DM
196332012-12-13 David S. Miller <davem@davemloft.net>
19634
85429b1a
DM
19635 * NEWS: Mention IFUNC testsuite enhancements.
19636
d283e353
DM
19637 * po/pl.po: Update from translation team.
19638 * po/bg.po: Likewise.
19639
bc38c906
DM
19640 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19641 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19642
a181b0d7
DM
196432012-12-11 David S. Miller <davem@davemloft.net>
19644
4641d57e
DM
19645 * po/sv.po: Update from translation team.
19646
f7bc6495
DM
19647 * po/vi.po: Update from translation team.
19648
6fc9048f
DM
19649 * po/cs.po: Update from translation team.
19650
a181b0d7
DM
19651 * po/de.po: Update from translation team.
19652 * po/eo.po: Likewise.
19653 * po/nl.po: Likewise.
19654
f70bfe80
SP
196552012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19656
3c8b4190
SP
19657 [BZ #14246]
19658 * manual/argp.texi (Argp Helper Functions): Move node to follow
19659 Argp Parsing State.
19660
f70bfe80
SP
19661 [BZ #14872]
19662 * manual/conf.texi (Limits on File System Capacity): Mention if
19663 terminating null is included in the max size.
19664
188f0adf
AJ
196652012-12-10 Andreas Jaeger <aj@suse.de>
19666
19667 * po/cs.po: Update from translation team.
19668
56e7d3ad
SP
196692012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19670
19671 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19672 void pointer and cast to uintptr_t.
19673 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19674 path.
19675 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19676 * sysdeps/s390/s390-64/memset.S: Likewise.
19677
76f2d2ea 196782012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19679
19680 [BZ #14833]
19681 * menual/message.texi (Message Translation): Fix typos.
19682 (Helper programs for gettext): Likewise.
19683
67cbf9a2
AS
196842012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19685
19686 [BZ #14898]
19687 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19688 Change to -1.
19689
682d0e9a
DM
196902012-12-07 David S. Miller <davem@davemloft.net>
19691
19692 * po/libc.pot: Update.
19693
573cd484
RH
196942012-12-07 Richard Henderson <rth@redhat.com>
19695
7e9da188 19696 [BZ #10114]
573cd484
RH
19697 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19698 normal/normal case to before the switch.
19699 (_FP_DIV): Likewise.
19700
e933a943
MF
197012012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19702 Mike Frysinger <vapier@gentoo.org>
19703
19704 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19705 check for __NR_fadvise64_64.
19706
82123268
CM
197072012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19708
19709 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19710 0, not just to plain "0" as a statement.
19711 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19712 with cw.
19713
d9814526
JM
197142012-12-06 Joseph Myers <joseph@codesourcery.com>
19715
19716 * NEWS: Use sourceware.org in Bugzilla URL.
19717
7728c574
SP
197182012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19719
f16946dd
SP
19720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19721 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19722
5704bbcb
SP
19723 * stdio-common/tst-put-error.c (do_test): Add newline to the
19724 padded test to ensure flush.
19725
17aa0516
JL
197262012-12-05 Jeff Law <law@redhat.com>
19727
19728 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19729
363313b5
JM
197302012-12-05 Joseph Myers <joseph@codesourcery.com>
19731
effbd42a
JM
19732 * README: Don't refer to ports add-on as distributed separately.
19733 Mention AArch64 in list of systems supported in the ports add-on.
19734
87600365
JM
19735 * LICENSES: Add more non-FSF copyright and license notices.
19736
a0d7066a
JM
19737 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19738 ((unused)).
19739
66ca5a5b
JM
19740 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19741
363313b5
JM
19742 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19743 10000 as width of padded output.
19744
b37984ad
JM
197452012-12-04 Joseph Myers <joseph@codesourcery.com>
19746
9003570a
JM
19747 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19748
b37984ad
JM
19749 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19750 variable LX with __attribute__ ((unused)).
19751 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19752 Likewise.
19753 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19755 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19756 with __attribute__ ((unused)).
19757
c8df52ec
DM
197582012-12-04 David S. Miller <davem@abraco.davemloft.net>
19759
19760 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19761
b3b099af
JM
197622012-12-04 Joseph Myers <joseph@codesourcery.com>
19763
c33aa6e3
JM
19764 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19765 (CFLAGS-nldbl-acos.c): New variable.
19766 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19767 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19768 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19769 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19770 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19771 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19772 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19773 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19774 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19775 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19776 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19777 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19778 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19779 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19780 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19781 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19782 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19783 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19784 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19785 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19786 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19787 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19788 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19789 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19790 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19791 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19792 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19793 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19794 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19795 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19796 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19797 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19798 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19799 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19800 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19801 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19802 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19803 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19804 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19805 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19806 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19807 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19808 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19809 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19810 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19811 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19812 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19813 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19814 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19815 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19816 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19817 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19818 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19819 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19820 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19821 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19822 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19823 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19824 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19825 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19826 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19827 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19828 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19829 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19830 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19831 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19832 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19833 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19834 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19835 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19836 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19837 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19838 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19839 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19840 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19841 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19842 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19843 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19844 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19845 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19846 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19847 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19848 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19849 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19850 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19851 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19852 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19853 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19854 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19855 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19856 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19857 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19858 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19859 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19860 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19861 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19862 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19863
20f0018d
JM
19864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19865 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19866
b3b099af
JM
19867 [BZ #14914]
19868 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19869 whole low double instead of just low 47 bits when splitting values
19870 into two parts.
19871
029264d1
AM
198722012-12-03 Allan McRae <allan@archlinux.org>
19873
19874 * manual/stdio.texi (Predefined Printf Handlers): Remove
19875 @hsep and @vsep usage.
19876
c9d6789e
MF
198772012-12-03 Mike Frysinger <vapier@gentoo.org>
19878
19879 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19880 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19881
4b7634a5
JL
198822012-12-03 Jeff Law <law@redhat.com>
19883
19884 * time/sys/time.h (settimeofday): Do not mark TV argument
19885 as __nonnull.
19886
eb6cbd24
MF
198872012-12-01 Mike Frysinger <vapier@gentoo.org>
19888
19889 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19890 when currently writing and seek to current position when not.
19891 * libio/Makefile (tests): Remove bug-fclose1.
19892 * libio/bug-fclose1.c: Delete.
19893
f638872a
JM
198942012-12-01 Joseph Myers <joseph@codesourcery.com>
19895
19896 * manual/arith.texi (feenableexcept): Fix typo.
19897 (fedisableexcept): Likewise.
19898
48085d14
RM
198992012-11-30 Roland McGrath <roland@hack.frob.com>
19900
19901 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19902 second, differently-typed declaration, rather than a cast.
19903
1a538b9f
SP
199042012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19905
19906 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19907 * include/rpc/svc.h: ... here.
19908
d07f2ff1 199092012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19910
19911 [BZ #13013]
19912 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19913 depending n and resplen2 to catch cases where answer
19914 equals answerp2.
19915
c93ec1f0
CD
199162012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19917
19918 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19919 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19920
37db69de
MF
199212012-11-29 Mike Frysinger <vapier@gentoo.org>
19922
19923 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19924
e10c4e4f
RM
199252012-11-29 Roland McGrath <roland@hack.frob.com>
19926
19927 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19928
2af1b328
JL
199292012-11-28 Jeff Law <law@redhat.com>
19930
19931 [BZ #13761]
19932 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19933 dataset_temporary. Track alloca usage into alloca_used.
19934 If dataset is large allocate and release it via malloc/free.
19935
111db5b1
FW
199362012-06-04 Florian Weimer <fweimer@redhat.com>
19937
f06cc227 19938 [BZ #14197]
111db5b1
FW
19939 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19940
dd694abd
DM
199412012-11-28 David S. Miller <davem@davemloft.net>
19942
19943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19944
9984dd01
JM
199452012-11-28 Joseph Myers <joseph@codesourcery.com>
19946
19947 [BZ #14803]
19948 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19949 of pi/2 rounded to nearest to 64 bits.
19950 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19951 nearest to 64 bits.
19952 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19953 bits.
19954
14bc93a9
JL
199552012-11-28 Jeff Law <law@redhat.com>
19956 Martin Osvald <mosvald@redhat.com>
19957
19958 [BZ #14889]
19959 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19960 * sunrpc/svc.c: Include time.h.
19961 (__svc_accept_failed): New function.
19962 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19963 any reason other than EINTR, call __svc_accept_failed.
19964 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19965 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19966
e3c6aa3a
AS
199672012-11-28 Andreas Schwab <schwab@suse.de>
19968
19969 * scripts/abilist.awk: Also handle indirect functions in .opd
19970 section.
19971
1bead169
JM
199722012-11-28 Joseph Myers <joseph@codesourcery.com>
19973
19974 [BZ #13881]
19975 * sysdeps/x86/fpu/powl_helper.c: New file.
19976 * sysdeps/x86/fpu/Makefile: Likewise.
19977 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19978 (p3): New object.
19979 (__ieee754_powl): Use __powl_helper for finite arguments except
19980 integer exponents below 8.
19981 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19982 (p3): New object.
19983 (__ieee754_powl): Use __powl_helper for finite arguments except
19984 integer exponents below 8.
19985 * math/libm-test.inc (pow_test): Add more tests and enable some
19986 previously disabled tests.
19987 * sysdeps/i386/fpu/libm-test-ulps: Update.
19988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19989
0817d63d
SP
199902012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19991 Carlos O'Donell <carlos_odonell@mentor.com>
19992
19993 * nss/makedb.c (is_prime): Assert that input is odd and greater
19994 than 4. Note that fact in a comment too.
19995 (next_prime): Add 4 to input.
19996
de2fd463
SP
199972012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19998
19999 [BZ #11741]
20000 * libio/Makefile (tests): Add test case tst-fwrite-error.
20001 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20002 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20003 * libio/tst-fwrite-error.c: New test case.
20004
c515fb51
L
200052012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20006
20007 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20008 before casting to void *.
20009 * include/libc-internal.h (__pointer_type): New macro.
20010 (__integer_if_pointer_type_sub): Likewise.
20011 (__integer_if_pointer_type): Likewise.
20012 (cast_to_integer): Likewise.
20013 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20014 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20015 before casting to atomic64_t.
20016 (atomic_exchange_acq): Likewise.
20017 (__arch_exchange_and_add_body): Likewise.
20018 (__arch_add_body): Likewise.
20019 (atomic_add_negative): Likewise.
20020 (atomic_add_zero): Likewise.
20021
4cf77aa9
JM
200222012-11-26 Joseph Myers <joseph@codesourcery.com>
20023
20024 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20025 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20026 (add_fdes): Likewise.
20027 (linear_search_fdes): Likewise.
20028 (binary_search_unencoded_fdes): Likewise.
20029
d260b3b4
AS
200302012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20031
20032 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20033
67060746
AC
200342012-11-24 Adam Conrad <adconrad@0c3.net>
20035
20036 * configure.in: Autodetect C++ header directories.
20037 * configure: Regenerated.
20038
800938a1
MF
200392012-11-23 Mike Frysinger <vapier@gentoo.org>
20040
20041 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20042
4e6e34e6
AS
200432012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20044
20045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20046
7c7feb47
JM
200472012-11-22 Joseph Myers <joseph@codesourcery.com>
20048
7184dcdf
JM
20049 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20050 LDBL_MANT_DIG == 106]: Disable some tests.
20051 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20052 Likewise.
20053 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20054 Likewise.
20055
0a42601f
JM
20056 [BZ #14871]
20057 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20058 input for small inputs. Return +/- pi/2 for large inputs.
20059 * math/libm-test.inc (atan_test): Add more tests.
20060
79c9b9fe
JM
20061 * sysdeps/generic/unwind-dw2-fde-glibc.c
20062 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20063 __attribute__ ((unused)).
20064
c60d3bf2
JM
20065 [BZ #14645]
20066 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20067 x * y if x and y are nonzero and z is zero.
20068
ef1e0867
JM
20069 [BZ #14811]
20070 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20071 nonzero exponents with absolute value below 0x1p-117 to +/-
20072 0x1p-117.
20073
1468ded3
JM
20074 [BZ #14869]
20075 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20076 up arguments below 2**-450, not just those below 2**-500.
20077 * math/libm-test.inc (hypot_test): Add another test.
20078
8e27e3cc
JM
20079 [BZ #14868]
20080 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20081 Return a+b for ratio over 2**120, not 2**60.
20082 * math/libm-test.inc (hypot_test): Add another test.
20083
c9c0279b
JM
20084 * math/libm-test.inc (clog_test): Use
20085 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20086 (clog10_test): Likewise.
20087
7c7feb47
JM
20088 [BZ #6778]
20089 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20090
fff1530e
AS
200912012-11-22 Andreas Schwab <schwab@suse.de>
20092
20093 * sysdeps/i386/fpu/libm-test-ulps: Update.
20094
94558d30
PT
200952012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20096
20097 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20098 printf output with newline.
20099
7e1be741
L
201002012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20101
6bfea974
L
20102 [BZ #14865]
20103 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20104 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20105 -z nodlopen, -z initfirst and -z execstack support.
20106 * configure: Regenerated.
20107
7e1be741
L
20108 * elf/elf.h (DF_1_NODIRECT): New macro.
20109 (DF_1_IGNMULDEF): Likewise.
20110 (DF_1_NOKSYMS): Likewise.
20111 (DF_1_NOHDR): Likewise.
20112 (DF_1_EDITED): Likewise.
20113 (DF_1_NORELOC): Likewise.
20114 (DF_1_SYMINTPOSE): Likewise.
20115 (DF_1_GLOBAUDIT): Likewise.
20116 (DF_1_SINGLETON): Likewise.
20117 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20118 DT_1_SUPPORTED_MASK bits.
20119 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20120
105ce2ce
CD
201212012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20122
20123 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20124
123be9de
TS
201252012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20126
d072f3f7
TS
20127 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20128 macro.
20129
123be9de
TS
20130 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20131 (sendmmsg): Move declarations...
20132 * socket/sys/socket.h: ... here.
20133 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20134 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20135 include it from...
20136 * socket/recvmmsg.c: ... this new file.
20137 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20138 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20139 definition of __sendmmsg hidden.
20140 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20141 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20142 Move ENOSYS stub into and include it from...
20143 * socket/sendmmsg.c: ... this new file.
20144 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20145 (sysdep_routines): Move recvmmsg and sendmmsg...
20146 * socket/Makefile (routines): ... here.
20147 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20148 (GLIBC_PRIVATE): Add __sendmmsg.
20149 * include/sys/socket.h (__sendmmsg): Add declarations.
20150 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20151 sendmmsg.
20152
cf9a5d18
JM
201532012-11-20 Joseph Myers <joseph@codesourcery.com>
20154
20155 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20156 variable I1 with __attribute__ ((unused)).
20157 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20158
ecd4caf9
JM
201592012-11-19 Joseph Myers <joseph@codesourcery.com>
20160
be14d48f
JM
20161 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20162 DUMMY variables with __attribute__ ((unused)).
20163
ecd4caf9
JM
20164 * bits/byteswap.h: Include <bits/types.h>.
20165 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20166
986cab95
PT
201672012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20168
20169 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20170 string_t. Do not manually set errno.
20171 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20172 length with __strnlen. Make sure to both set errno and return it on
20173 failure.
20174
6d33cc9d
DM
201752012-11-19 David S. Miller <davem@davemloft.net>
20176
20177 With help from Joseph Myers.
20178 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20179 very large arguments properly.
20180 * math/libm-test.inc (atan_test): New tests.
20181 (atan2_test): New tests.
20182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20184
ee663277
JM
201852012-11-19 Joseph Myers <joseph@codesourcery.com>
20186
877f2d8e
JM
20187 [BZ #14856]
20188 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20189 Define to 3.
20190
116fc08a
JM
20191 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20192 [POSIX] (EADDRNOTAVAIL): Likewise.
20193 [POSIX] (EAFNOSUPPORT): Likewise.
20194 [POSIX] (EALREADY): Likewise.
20195 [POSIX] (ECONNABORTED): Likewise.
20196 [POSIX] (ECONNREFUSED): Likewise.
20197 [POSIX] (ECONNRESET): Likewise.
20198 [POSIX] (EDESTADDRREQ): Likewise.
20199 [POSIX] (EDQUOT): Likewise.
20200 [POSIX] (EHOSTUNREACH): Likewise.
20201 [POSIX] (EIDRM): Likewise.
20202 [POSIX] (EISCONN): Likewise.
20203 [POSIX] (ELOOP): Likewise.
20204 [POSIX] (EMULTIHOP): Likewise.
20205 [POSIX] (ENETDOWN): Likewise.
20206 [POSIX] (ENETUNREACH): Likewise.
20207 [POSIX] (ENOBUFS): Likewise.
20208 [POSIX] (ENODATA): Likewise.
20209 [POSIX] (ENOLINK): Likewise.
20210 [POSIX] (ENOMSG): Likewise.
20211 [POSIX] (ENOPROTOOPT): Likewise.
20212 [POSIX] (ENOSR): Likewise.
20213 [POSIX] (ENOSTR): Likewise.
20214 [POSIX] (ENOTCONN): Likewise.
20215 [POSIX] (ENOTSOCK): Likewise.
20216 [POSIX] (EOPNOTSUPP): Likewise.
20217 [POSIX] (EOVERFLOW): Likewise.
20218 [POSIX] (EPROTO): Likewise.
20219 [POSIX] (EPROTONOSUPPORT): Likewise.
20220 [POSIX] (EPROTOTYPE): Likewise.
20221 [POSIX] (ESTALE): Likewise.
20222 [POSIX] (ETIME): Likewise.
20223 [POSIX] (ETXTBSY): Likewise.
20224 [POSIX] (EWOULDBLOCK): Likewise.
20225 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20226 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20227 [POSIX] (SEEK_CUR): Likewise.
20228 [POSIX] (SEEK_END): Likewise.
20229 [POSIX || UNIX98] (mode_t): Do not require.
20230 [POSIX] (off_t): Likewise.
20231 [POSIX] (pid_t): Likewise.
20232 [POSIX] (sys/stat.h): Do not allow header.
20233 [POSIX] (unistd.h): Likewise.
20234 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20235 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20236 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20237 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20238 require.
20239 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20240 sigevent): Specify elements.
20241 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20242 entry.
20243 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20244 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20245
a483863f
JM
20246 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20247 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20248 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20249 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20250 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20251 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20252 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20253 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20254 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20255 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20256 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20257 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20258 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20259 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20260 Likewise.
20261 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20262 Likewise.
20263 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20264 Likewise.
20265 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20266 Likewise.
20267 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20268 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20269 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20270 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20271 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20272 Specify lower bound on value.
20273 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20274 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20275 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20276 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20277 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20278 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20279 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20280 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20281 value.
20282 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20283 as optional.
20284 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20285 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20286 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20287 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20288 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20289 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20290 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20291 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20292 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20293 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20294 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20295 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20296 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20297 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20298 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20299 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20300 entry.
20301 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20302 optional.
20303 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20304 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20305 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20306 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20307 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20308 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20309 Likewise.
20310 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20311 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20312 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20313 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20314 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20315 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20316 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20317 as optional.
20318 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20319 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20320 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20321 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20322 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20323 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20324 specify as optional.
20325 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20326 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20327 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20328 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20329 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20330 [XPG3] (NL_LANGMAX): Likewise.
20331 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20332 [POSIX || XPG3] (NL_NMAX): Likewise.
20333 [POSIX || XPG3] (NL_SETMAX): Likewise.
20334 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20335 [XPG3] (NZERO): Likewise.
20336 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20337 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20338 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20339 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20340 (REG_ERANGE): Expect.
20341 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20342 optional-constant.
20343 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20344 Use (void) in prototype.
20345 [POSIX] (*_t): Allow.
20346 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20347 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20348 (WRDE_BADVAL): Expect.
20349
5ba924e3
JM
20350 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20351 expect.
20352 [XPG3 || XPG4] (O_RSYNC): Likewise.
20353 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20354 Likewise.
20355 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20356 [XPG3 || XPG4] (sigqueue): Likewise.
20357 [XPG3 || XPG4] (sigtimedwait): Likewise.
20358 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20359 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20360 [XPG3 || XPG4] (vsnprintf): Likewise.
20361 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20362 Likewise.
20363 [XPG3 || XPG4] (blksize_t): Likewise.
20364 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20365 Likewise.
20366 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20367 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20368 [XPG3 || XPG4] (struct itimerspec): Likewise.
20369 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20370 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20371 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20372 [XPG3 || XPG4] (clockid_t): Likewise.
20373 [XPG3 || XPG4] (timer_t): Likewise.
20374 [XPG3 || XPG4] (clock_getres): Likewise.
20375 [XPG3 || XPG4] (clock_gettime): Likewise.
20376 [XPG3 || XPG4] (clock_settime): Likewise.
20377 [XPG3 || XPG4] (nanosleep): Likewise.
20378 [XPG3 || XPG4] (timer_create): Likewise.
20379 [XPG3 || XPG4] (timer_delete): Likewise.
20380 [XPG3 || XPG4] (timer_gettime): Likewise.
20381 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20382 [XPG3 || XPG4] (timer_settime): Likewise.
20383 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20384 [XPG3 || XPG4] (getlogin_r): Likewise.
20385 [XPG3 || XPG4] (pread): Likewise.
20386 [XPG3 || XPG4] (pthread_atfork): Likewise.
20387 [XPG3 || XPG4] (pwrite): Likewise.
20388
ee663277
JM
20389 [BZ #14835]
20390 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20391 <bits/siginfo.h>.
20392
942caa16
PT
203932012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20394
e19af380
PT
20395 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20396 finalizing MALLSTREAM.
20397
942caa16
PT
20398 * sysdeps/mach/hurd/syncfs.c: New file.
20399
cfde9b46
SP
204002012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20401
20402 [BZ #14719]
20403 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20404 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20405 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20406 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20407 (_nss_dns_gethostbyname4_r): Likewise.
20408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20409 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20410
f6da27e5
PH
204112012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20412
20413 [BZ #13763]
20414 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20415
6665d4a2
SM
204162012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20417
1f51ee92
SM
20418 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20419 * elf/cache.c (print_entry): Print ",AArch64" for
20420 FLAG_AARCH64_LIB64
20421
6665d4a2
SM
20422 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20423 * elf/cache.c (print_entry): Print ",hard-float" for
20424 FLAG_ARM_LIBHF.
20425
05b227bd
DM
204262012-11-18 David S. Miller <davem@davemloft.net>
20427
20428 With help from Joseph Myers.
20429 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20430 cutoff to 2**-13.
20431 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20432 cutoff to 2**-25.
20433 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20434 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20435 small.
20436 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20437 * math/libm-test.inc (y0_test): New tests.
20438 (y1_test): New tests.
20439 * sysdeps/i386/fpu/libm-test-ulps: Update.
20440 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20442
786b0b67
AS
204432012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20444
20445 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20446 64-bit targets.
20447 * configure: Regenerated.
20448
8e18b86d
DM
204492012-11-17 David S. Miller <davem@davemloft.net>
20450
20451 [BZ #14811]
20452 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20453 nonzero exponents with absolute value below 0x1p-128 to +/-
20454 0x1p-128.
20455
531f1ae0
JM
204562012-11-17 Joseph Myers <joseph@codesourcery.com>
20457
12df29e2
JM
20458 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20459
150dc1a0
JM
20460 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20461
531f1ae0
JM
20462 * posix/getconf-speclist.c: New file.
20463 * posix/posix-envs.def: Likewise.
20464 * posix/confstr.c (START_ENV_GROUP): New macro.
20465 (END_ENV_GROUP): Likewise.
20466 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20467 (KNOWN_PRESENT_ENV_STRING): Likewise.
20468 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20469 (UNKNOWN_ENVIRONMENT): Likewise.
20470 (confstr): Include posix-envs.def instead of handling
20471 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20472 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20473 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20474 (END_ENV_GROUP): Likewise.
20475 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20476 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20477 (UNKNOWN_ENVIRONMENT): Likewise.
20478 (__sysconf): Include posix-envs.def instead of handling associated
20479 cases directly here.
20480 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20481 preprocessing getconf-speclist.c rather than running getconf or
20482 generating empty file.
20483
a93f9cbc
PT
204842012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20485
20486 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20487
d64d9f87
AL
204882012-11-16 Andrej Lajovic <natrij@gmail.com>
20489
20490 [BZ #14672]
20491 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20492
447885eb
DM
204932012-11-16 David S. Miller <davem@davemloft.net>
20494
20495 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20496 smaller than LDBL_EPSILON/2.0L, just return xm1.
20497
bcbf9830
L
204982012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20499
20500 * elf/tst-array1.c (init): Set constructor priority to 1000.
20501 (fini): Set destructor priority to 1000.
20502 * elf/tst-array2dep.c: Likewise.
20503
2b766585
SP
205042012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20505
20506 [BZ #11741]
20507 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20508 (_IO_new_file_xsputn): Also return EOF if none of the input
20509 data was written when overflow failed.
20510 * libio/iopadn.c (_IO_padn): Likewise.
20511 * libio/iowpadn.c (_IO_wpadn): Likewise.
20512 * stdio-common/tst-put-error.c: Add copyright notice.
20513 (do_test): Add case for printing padded string.
20514 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20515 _IO_padn returned error.
20516 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20517 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20518 return EOF.
20519
b1848fde
SP
205202012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20521
20522 * libio/libioP.h: Add comment note that the references to C++
20523 bits are now obsolete.
20524
2fd89785
MS
205252012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20526
20527 * math/libm-test.inc (check_complex): Use asprintf.
20528
e3ea5409
JM
205292012-11-14 Joseph Myers <joseph@codesourcery.com>
20530
20531 * debug/pcprofiledump.c (print_version): Update copyright year.
20532 * malloc/memusagestat.c (print_version): Likewise.
20533
2e64d265
L
205342012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20535
20536 [BZ #14831]
20537 * elf/Makefile (tests): Add tst-audit8.
20538 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20539 ($(objpfx)tst-audit8.out): New target.
20540 (tst-audit8-ENV): New variable.
20541 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20542 audit if l_reloc_result is NULL.
20543 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20544 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20545 * elf/tst-audit8.c: New file.
20546
c485e4d2
MS
205472012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20548
20549 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20550 * misc/Makefile (CFLAGS-select.c): Define.
20551 * posix/Makefile (CFLAGS-pause.c): Define.
20552
3a0d900a
DM
205532012-11-13 David S. Miller <davem@davemloft.net>
20554
20555 * crypt/Makefile: Move test targets after toplevel Rules
20556 inclusion. Grab any necessary sysdep routines when linking.
20557 * crypt/md5.c (md5_process_block): Remove define, we will always
20558 name it __md5_process_block.
20559 (md5_finish_ctx): Update md5_process_block call.
20560 (md5_stream): Likewise.
20561 (md5_process_bytes): Likewise.
20562 (md5_process_block): Rename to __md5_process_block and move to ...
20563 * crypt/md5-block.c: ... here.
20564 * crypt/sha256.c (sha256_process_block): Move to ...
20565 * crypt/sha256-block.c: ... here.
20566 * crypt/sha512.c (sha512_process_block): Move to ...
20567 * crypt/sha512-block.c: ... here.
20568 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20569 path.
20570 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20571 * sysdeps/sparc/sparc64/multiarch/Makefile
20572 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20573 crypt subdir.
20574 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20575 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20576 multiarch changes.
20577 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20578 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20579 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20580 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20581 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20582 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20583 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20584 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20585 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20586 file.
20587 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20588 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20589 file.
20590 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20591
8ca89318
JM
205922012-11-13 Joseph Myers <joseph@codesourcery.com>
20593
e27d476a
JM
20594 * timezone/tzselect.ksh: Update from tzcode git revision
20595 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20596 * timezone/zdump.c: Likewise.
20597 * timezone/zic.c: Likewise.
20598 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20599 in TZVERSION setting, not $(PKGVERSION).
20600 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20601 REPORT_BUGS_TO settings.
20602
8ca89318
JM
20603 [BZ #14838]
20604 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20605 macro.
20606
47594329
MS
206072012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20608
20609 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20610 detection to immediately after _FP_ROUND().
20611 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20612 bits are 0.
20613
640ac3f1
DM
206142012-11-11 David S. Miller <davem@davemloft.net>
20615
20616 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20617 inttypes.h
20618 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20619 __close rather than their public counterparts.
20620
3d2577bb
JM
206212012-11-10 Joseph Myers <joseph@codesourcery.com>
20622
20623 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20624 file.
20625 [UNIX98] (sem_timedwait): Do not expect.
20626 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20627 [XPG4 || UNIX98] (sockatmark): Do not expect.
20628 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20629 (clock_getcpuclockid): Do not expect.
20630 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20631 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20632 Do not expect.
20633 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20634 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20635 [UNIX98] (vwscanf): Likewise.
20636 [UNIX98] (vswscanf): Likewise.
20637
fb1ae1ee
JM
206382012-11-09 Joseph Myers <joseph@codesourcery.com>
20639
9ec6f8bd
JM
20640 * timezone/version.h: Remove file.
20641 * timezone/README: Do not refer to version.h.
20642 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20643 $(objpfx)version.h.
20644 ($(objpfx)zdump.o): Likewise.
c3f81911 20645 ($(objpfx)version.h): New target.
9ec6f8bd 20646
0aa8f8a1
JM
20647 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20648 2012i.
20649 * timezone/README: Don't mention modification to tzselect.ksh.
20650 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20651 work on unmodified tzselect.ksh. Substitute version numbers in
20652 tzselect.ksh.
20653
4e87147f
JM
20654 * Makefile (format-me): Remove.
20655 (INSTALL): Adjust indentation. Use commands directly instead of
20656 using $(format-me).
20657
8b748aed
JM
20658 * aclocal.m4 (ACX_PKGVERSION): New macro.
20659 (ACX_BUGURL): Likewise.
20660 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20661 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20662 (REPORT_BUGS_TO): Likewise.
20663 * configure: Regenerated.
20664 * config.h.in (PKGVERSION): New macro.
20665 (REPORT_BUGS_TO): Likewise.
20666 * config.make.in (PKGVERSION): New variable.
20667 (PKGVERSION_TEXI): Likewise.
20668 (REPORT_BUGS_TO): Likewise.
20669 (REPORT_BUGS_TEXI): Likewise.
20670 * Makefile (format-me): Use -I$(common-objpfx)manual.
20671 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20672 ($(common-objpfx)manual/%): New target.
20673 (manual/%): Remove target.
20674 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20675 (print_version): Use PKGVERSION.
20676 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20677 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20678 and REPORT_BUGS_TO.
20679 ($(objpfx)xtrace): Likewise.
20680 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20681 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20682 (print_version): Use PKGVERSION.
20683 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20684 (do_version): Use PKGVERSION.
20685 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20686 REPORT_BUGS_TO.
20687 (common-ldd-rewrite): Likewise.
20688 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20689 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20690 (print_version): Use PKGVERSION.
20691 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20692 * elf/pldd.c (argp_program_bug_address): Remove variable.
20693 (more_help): New function.
20694 (argp): Use more_help.
20695 (print_version): Use PKGVERSION.
20696 * elf/sln.c (main): Use PKGVERSION.
20697 (usage): Use REPORT_BUGS_TO.
20698 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20699 (top level): Use PKGVERSION.
20700 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20701 (print_version): Use PKGVERSION.
20702 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20703 (print_version): Use PKGVERSION.
20704 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20705 (print_version): Use PKGVERSION.
20706 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20707 (print_version): Use PKGVERSION.
20708 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20709 (print_version): Use PKGVERSION.
20710 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20711 (print_version): Use PKGVERSION.
20712 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20713 and BUGURL.
20714 ($(objpfx)memusage): Likewise.
20715 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20716 (do_version): Use PKGVERSION.
20717 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20718 (print_version): Use PKGVERSION.
20719 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20720 ($PKGVERSION): New variable.
20721 ($REPORT_BUGS_TO): Likewise.
20722 (usage): Use $REPORT_BUGS_TO.
20723 (top level): Use $PKGVERSION.
20724 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20725 ($(objpfx)pkgvers.texi): New rule.
20726 ($(objpfx)stamp-pkgvers): Likewise.
20727 * manual/install.texi: Include pkgvers.texi.
20728 (--with-pkgversion): Document new configure option.
20729 (--with-bugurl): Likewise.
20730 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20731 than necessarily for this particular distribution. Use
20732 REPORT_BUGS_TO for where to report bugs.
20733 * INSTALL: Regenerated.
20734 * manual/libc.texinfo: Include pkgvers.texi.
20735 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20736 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20737 (print_version): Use PKGVERSION.
20738 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20739 (print_version): Use PKGVERSION.
20740 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20741 (print_version): Use PKGVERSION.
20742 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20743 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20744 macro.
20745 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20746 (print_version): Use PKGVERSION.
20747 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20748 (print_version): Use PKGVERSION.
20749 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20750 and PKGVERSION.
20751
92e4b6a9
JM
20752 * timezone/checktab.awk: Update from tzcode 2012i.
20753 * timezone/ialloc.c: Likewise.
20754 * timezone/private.h: Likewise.
20755 * timezone/scheck.c: Likewise.
20756 * timezone/tzfile.h: Likewise.
20757 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20758 (TZVERSION): Hardcode tzcode version number.
20759 * timezone/zdump.c: Update from tzcode 2012i.
20760 * timezone/zic.c: Likewise.
20761 * timezone/version.h: New file.
20762 * timezone/README: Describe version.h. Update upstream location.
20763
9bde902c
JM
20764 [BZ #14824]
20765 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20766 (mktemp): Enable declaration.
20767 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20768 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20769 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20770 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20771 Likewise.
20772 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20773 Likewise.
20774 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20775 Likewise.
20776 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20777 Likewise.
20778 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20779 Likewise.
20780 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20781 Likewise.
20782
fb1ae1ee
JM
20783 [BZ #14821]
20784 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20785 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20786 for copies of such integer values.
20787 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20788 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20789
2c1adbcb
AJ
207902012-11-09 Andreas Jaeger <aj@suse.de>
20791
20792 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20793 definitions and declarations that are provided by
20794 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20795
d0f8457e
AK
207962012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20797
3a235abb 20798 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20799 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20800 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20801 definition.
20802
57241e26
MS
208032012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20804
20805 * elf/elf.h: Update comment before AArch64 relocations.
20806
60e8270d
DM
208072012-11-07 David S. Miller <davem@davemloft.net>
20808
20809 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20810 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20811 (__start_context): Declare.
20812 (__makecontext_ret): Delete.
20813 (__makecontext): Hook up __start_context instead of
20814 __makecontext_ret.
20815 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20816 (sysdep_routines): Add __start_context when in stdlib.
20817
0fbb0fbc
JM
208182012-11-07 Joseph Myers <joseph@codesourcery.com>
20819
20820 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20821 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20822 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20823 hardcoded "nm".
20824 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20825 (READELF): New variable. Use it instead of hardcoded "readelf".
20826
eb48db7e
L
208272012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20828
20829 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20830 * sysdeps/x86/Makefile: Here.
20831 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20832 * sysdeps/x86/tst-xmmymm.sh: This.
20833
05bcf62a
JM
208342012-11-07 Joseph Myers <joseph@codesourcery.com>
20835
c4b6cf53
JM
20836 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20837 expectations.
20838 [UNIX98] (pthread_barrier_t): Do not expect.
20839 [UNIX98] (pthread_barrierattr_t): Likewise.
20840 [UNIX98] (pthread_spinlock_t): Likewise.
20841 [UNIX98] (pthread_barrier_destroy): Likewise.
20842 [UNIX98] (pthread_barrier_init): Likewise.
20843 [UNIX98] (pthread_barrier_wait): Likewise.
20844 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20845 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20846 [UNIX98] (pthread_barrierattr_init): Likewise.
20847 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20848 [UNIX98] (pthread_getcpuclockid): Likewise.
20849 [UNIX98] (pthread_mutex_timedlock): Likewise.
20850 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20851 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20852 [UNIX98] (pthread_sigmask): Likewise.
20853 [UNIX98] (pthread_spin_destroy): Likewise.
20854 [UNIX98] (pthread_spin_init): Likewise.
20855 [UNIX98] (pthread_spin_lock): Likewise.
20856 [UNIX98] (pthread_spin_trylock): Likewise.
20857 [UNIX98] (pthread_spin_unlock): Likewise.
20858 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20859 Do not expect.
20860 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20861 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20862 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20863 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20864 [XPG3 || XPG4] (pthread_key_t): Likewise.
20865 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20866 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20867 [XPG3 || XPG4] (pthread_once_t): Likewise.
20868 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20869 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20870 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20871 [XPG3 || XPG4] (pthread_t): Likewise.
20872
cbe6e120
JM
20873 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20874 not expect.
20875 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20876
1b126443
JM
20877 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20878 Change function return type to int.
20879
b961a573
JM
20880 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20881 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20882 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20883 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20884 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20885 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20886 [!POSIX] (posix_madvise): Likewise.
20887 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20888 && !UNIX98].
20889 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20890 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20891 (mode_t): Likewise.
20892 (posix_mem_offset): Likewise.
20893 (posix_typed_mem_get_info): Likewise.
20894 (posix_typed_mem_open): Likewise.
20895
9e188909
JM
20896 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20897 Change condition to [XOPEN2K8].
20898
05bcf62a
JM
20899 * conform/conformtest.pl: Preprocess allow-header data with -x c
20900 instead of from stdin.
20901 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20902 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20903 [C99-based standards] (cerfc): Likewise.
20904 [C99-based standards] (cexp2): Likewise.
20905 [C99-based standards] (cexpm1): Likewise.
20906 [C99-based standards] (clog10): Likewise.
20907 [C99-based standards] (clog1p): Likewise.
20908 [C99-based standards] (clog2): Likewise.
20909 [C99-based standards] (clgamma): Likewise.
20910 [C99-based standards] (ctgamma): Likewise.
20911 [C99-based standards] (cerff): Likewise.
20912 [C99-based standards] (cerfcf): Likewise.
20913 [C99-based standards] (cexp2f): Likewise.
20914 [C99-based standards] (cexpm1f): Likewise.
20915 [C99-based standards] (clog10f): Likewise.
20916 [C99-based standards] (clog1pf): Likewise.
20917 [C99-based standards] (clog2f): Likewise.
20918 [C99-based standards] (clgammaf): Likewise.
20919 [C99-based standards] (ctgammaf): Likewise.
20920 [C99-based standards] (cerfl): Likewise.
20921 [C99-based standards] (cerfcl): Likewise.
20922 [C99-based standards] (cexp2l): Likewise.
20923 [C99-based standards] (cexpm1l): Likewise.
20924 [C99-based standards] (clog10l): Likewise.
20925 [C99-based standards] (clog1pl): Likewise.
20926 [C99-based standards] (clog2l): Likewise.
20927 [C99-based standards] (clgammal): Likewise.
20928 [C99-based standards] (ctgammal): Likewise.
20929 * conform/data/inttypes.h-data [C99-based standards]: Include
20930 stdint.h-data. Remove all expectations for stdint.h contents.
20931 [C99-based standards] (PRI*): Do not allow.
20932 [C99-based standards] (SCN*): Likewise.
20933 [C99-based standards] (*_t): Likewise.
20934 [C99-based-standards] (PRId8): Expect macro.
20935 [C99-based-standards] (PRIi8): Likewise.
20936 [C99-based-standards] (PRIo8): Likewise.
20937 [C99-based-standards] (PRIu8): Likewise.
20938 [C99-based-standards] (PRIx8): Likewise.
20939 [C99-based-standards] (PRIX8): Likewise.
20940 [C99-based-standards] (SCNd8): Likewise.
20941 [C99-based-standards] (SCNi8): Likewise.
20942 [C99-based-standards] (SCNo8): Likewise.
20943 [C99-based-standards] (SCNu8): Likewise.
20944 [C99-based-standards] (SCNx8): Likewise.
20945 [C99-based-standards] (PRIdLEAST8): Likewise.
20946 [C99-based-standards] (PRIiLEAST8): Likewise.
20947 [C99-based-standards] (PRIoLEAST8): Likewise.
20948 [C99-based-standards] (PRIuLEAST8): Likewise.
20949 [C99-based-standards] (PRIxLEAST8): Likewise.
20950 [C99-based-standards] (PRIXLEAST8): Likewise.
20951 [C99-based-standards] (SCNdLEAST8): Likewise.
20952 [C99-based-standards] (SCNiLEAST8): Likewise.
20953 [C99-based-standards] (SCNoLEAST8): Likewise.
20954 [C99-based-standards] (SCNuLEAST8): Likewise.
20955 [C99-based-standards] (SCNxLEAST8): Likewise.
20956 [C99-based-standards] (PRIdFAST8): Likewise.
20957 [C99-based-standards] (PRIiFAST8): Likewise.
20958 [C99-based-standards] (PRIoFAST8): Likewise.
20959 [C99-based-standards] (PRIuFAST8): Likewise.
20960 [C99-based-standards] (PRIxFAST8): Likewise.
20961 [C99-based-standards] (PRIXFAST8): Likewise.
20962 [C99-based-standards] (SCNdFAST8): Likewise.
20963 [C99-based-standards] (SCNiFAST8): Likewise.
20964 [C99-based-standards] (SCNoFAST8): Likewise.
20965 [C99-based-standards] (SCNuFAST8): Likewise.
20966 [C99-based-standards] (SCNxFAST8): Likewise.
20967 [C99-based-standards] (PRId16): Likewise.
20968 [C99-based-standards] (PRIi16): Likewise.
20969 [C99-based-standards] (PRIo16): Likewise.
20970 [C99-based-standards] (PRIu16): Likewise.
20971 [C99-based-standards] (PRIx16): Likewise.
20972 [C99-based-standards] (PRIX16): Likewise.
20973 [C99-based-standards] (SCNd16): Likewise.
20974 [C99-based-standards] (SCNi16): Likewise.
20975 [C99-based-standards] (SCNo16): Likewise.
20976 [C99-based-standards] (SCNu16): Likewise.
20977 [C99-based-standards] (SCNx16): Likewise.
20978 [C99-based-standards] (PRIdLEAST16): Likewise.
20979 [C99-based-standards] (PRIiLEAST16): Likewise.
20980 [C99-based-standards] (PRIoLEAST16): Likewise.
20981 [C99-based-standards] (PRIuLEAST16): Likewise.
20982 [C99-based-standards] (PRIxLEAST16): Likewise.
20983 [C99-based-standards] (PRIXLEAST16): Likewise.
20984 [C99-based-standards] (SCNdLEAST16): Likewise.
20985 [C99-based-standards] (SCNiLEAST16): Likewise.
20986 [C99-based-standards] (SCNoLEAST16): Likewise.
20987 [C99-based-standards] (SCNuLEAST16): Likewise.
20988 [C99-based-standards] (SCNxLEAST16): Likewise.
20989 [C99-based-standards] (PRIdFAST16): Likewise.
20990 [C99-based-standards] (PRIiFAST16): Likewise.
20991 [C99-based-standards] (PRIoFAST16): Likewise.
20992 [C99-based-standards] (PRIuFAST16): Likewise.
20993 [C99-based-standards] (PRIxFAST16): Likewise.
20994 [C99-based-standards] (PRIXFAST16): Likewise.
20995 [C99-based-standards] (SCNdFAST16): Likewise.
20996 [C99-based-standards] (SCNiFAST16): Likewise.
20997 [C99-based-standards] (SCNoFAST16): Likewise.
20998 [C99-based-standards] (SCNuFAST16): Likewise.
20999 [C99-based-standards] (SCNxFAST16): Likewise.
21000 [C99-based-standards] (PRId32): Likewise.
21001 [C99-based-standards] (PRIi32): Likewise.
21002 [C99-based-standards] (PRIo32): Likewise.
21003 [C99-based-standards] (PRIu32): Likewise.
21004 [C99-based-standards] (PRIx32): Likewise.
21005 [C99-based-standards] (PRIX32): Likewise.
21006 [C99-based-standards] (SCNd32): Likewise.
21007 [C99-based-standards] (SCNi32): Likewise.
21008 [C99-based-standards] (SCNo32): Likewise.
21009 [C99-based-standards] (SCNu32): Likewise.
21010 [C99-based-standards] (SCNx32): Likewise.
21011 [C99-based-standards] (PRIdLEAST32): Likewise.
21012 [C99-based-standards] (PRIiLEAST32): Likewise.
21013 [C99-based-standards] (PRIoLEAST32): Likewise.
21014 [C99-based-standards] (PRIuLEAST32): Likewise.
21015 [C99-based-standards] (PRIxLEAST32): Likewise.
21016 [C99-based-standards] (PRIXLEAST32): Likewise.
21017 [C99-based-standards] (SCNdLEAST32): Likewise.
21018 [C99-based-standards] (SCNiLEAST32): Likewise.
21019 [C99-based-standards] (SCNoLEAST32): Likewise.
21020 [C99-based-standards] (SCNuLEAST32): Likewise.
21021 [C99-based-standards] (SCNxLEAST32): Likewise.
21022 [C99-based-standards] (PRIdFAST32): Likewise.
21023 [C99-based-standards] (PRIiFAST32): Likewise.
21024 [C99-based-standards] (PRIoFAST32): Likewise.
21025 [C99-based-standards] (PRIuFAST32): Likewise.
21026 [C99-based-standards] (PRIxFAST32): Likewise.
21027 [C99-based-standards] (PRIXFAST32): Likewise.
21028 [C99-based-standards] (SCNdFAST32): Likewise.
21029 [C99-based-standards] (SCNiFAST32): Likewise.
21030 [C99-based-standards] (SCNoFAST32): Likewise.
21031 [C99-based-standards] (SCNuFAST32): Likewise.
21032 [C99-based-standards] (SCNxFAST32): Likewise.
21033 [C99-based-standards] (PRId64): Likewise.
21034 [C99-based-standards] (PRIi64): Likewise.
21035 [C99-based-standards] (PRIo64): Likewise.
21036 [C99-based-standards] (PRIu64): Likewise.
21037 [C99-based-standards] (PRIx64): Likewise.
21038 [C99-based-standards] (PRIX64): Likewise.
21039 [C99-based-standards] (SCNd64): Likewise.
21040 [C99-based-standards] (SCNi64): Likewise.
21041 [C99-based-standards] (SCNo64): Likewise.
21042 [C99-based-standards] (SCNu64): Likewise.
21043 [C99-based-standards] (SCNx64): Likewise.
21044 [C99-based-standards] (PRIdLEAST64): Likewise.
21045 [C99-based-standards] (PRIiLEAST64): Likewise.
21046 [C99-based-standards] (PRIoLEAST64): Likewise.
21047 [C99-based-standards] (PRIuLEAST64): Likewise.
21048 [C99-based-standards] (PRIxLEAST64): Likewise.
21049 [C99-based-standards] (PRIXLEAST64): Likewise.
21050 [C99-based-standards] (SCNdLEAST64): Likewise.
21051 [C99-based-standards] (SCNiLEAST64): Likewise.
21052 [C99-based-standards] (SCNoLEAST64): Likewise.
21053 [C99-based-standards] (SCNuLEAST64): Likewise.
21054 [C99-based-standards] (SCNxLEAST64): Likewise.
21055 [C99-based-standards] (PRIdFAST64): Likewise.
21056 [C99-based-standards] (PRIiFAST64): Likewise.
21057 [C99-based-standards] (PRIoFAST64): Likewise.
21058 [C99-based-standards] (PRIuFAST64): Likewise.
21059 [C99-based-standards] (PRIxFAST64): Likewise.
21060 [C99-based-standards] (PRIXFAST64): Likewise.
21061 [C99-based-standards] (SCNdFAST64): Likewise.
21062 [C99-based-standards] (SCNiFAST64): Likewise.
21063 [C99-based-standards] (SCNoFAST64): Likewise.
21064 [C99-based-standards] (SCNuFAST64): Likewise.
21065 [C99-based-standards] (SCNxFAST64): Likewise.
21066 [C99-based-standards] (PRIdMAX): Likewise.
21067 [C99-based-standards] (PRIiMAX): Likewise.
21068 [C99-based-standards] (PRIoMAX): Likewise.
21069 [C99-based-standards] (PRIuMAX): Likewise.
21070 [C99-based-standards] (PRIxMAX): Likewise.
21071 [C99-based-standards] (PRIXMAX): Likewise.
21072 [C99-based-standards] (SCNdMAX): Likewise.
21073 [C99-based-standards] (SCNiMAX): Likewise.
21074 [C99-based-standards] (SCNoMAX): Likewise.
21075 [C99-based-standards] (SCNuMAX): Likewise.
21076 [C99-based-standards] (SCNxMAX): Likewise.
21077 [C99-based-standards] (PRIdPTR): Likewise.
21078 [C99-based-standards] (PRIiPTR): Likewise.
21079 [C99-based-standards] (PRIoPTR): Likewise.
21080 [C99-based-standards] (PRIuPTR): Likewise.
21081 [C99-based-standards] (PRIxPTR): Likewise.
21082 [C99-based-standards] (PRIXPTR): Likewise.
21083 [C99-based-standards] (SCNdPTR): Likewise.
21084 [C99-based-standards] (SCNiPTR): Likewise.
21085 [C99-based-standards] (SCNoPTR): Likewise.
21086 [C99-based-standards] (SCNuPTR): Likewise.
21087 [C99-based-standards] (SCNxPTR): Likewise.
21088 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21089 allow.
21090 * conform/data/stdint.h-data: Update comments to clarify
21091 requirements.
21092 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21093 type.
21094 [C99-based standards] (INT8_MAX): Likewise.
21095 [C99-based standards] (INT16_MIN): Likewise.
21096 [C99-based standards] (INT16_MAX): Likewise.
21097 [C99-based standards] (INT32_MIN): Likewise.
21098 [C99-based standards] (INT32_MAX): Likewise.
21099 [C99-based standards] (INT64_MIN): Likewise.
21100 [C99-based standards] (INT64_MAX): Likewise.
21101 [C99-based standards] (UINT8_MAX): Likewise.
21102 [C99-based standards] (UINT16_MAX): Likewise.
21103 [C99-based standards] (UINT32_MAX): Likewise.
21104 [C99-based standards] (UINT64_MAX): Likewise.
21105 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21106 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21107 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21108 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21109 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21110 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21111 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21112 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21113 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21114 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21115 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21116 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21117 [C99-based standards] (INT_FAST8_MIN): Likewise.
21118 [C99-based standards] (INT_FAST8_MAX): Likewise.
21119 [C99-based standards] (INT_FAST16_MIN): Likewise.
21120 [C99-based standards] (INT_FAST16_MAX): Likewise.
21121 [C99-based standards] (INT_FAST32_MIN): Likewise.
21122 [C99-based standards] (INT_FAST32_MAX): Likewise.
21123 [C99-based standards] (INT_FAST64_MIN): Likewise.
21124 [C99-based standards] (INT_FAST64_MAX): Likewise.
21125 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21126 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21127 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21128 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21129 [C99-based standards] (INTPTR_MIN): Likewise.
21130 [C99-based standards] (INTPTR_MAX): Likewise.
21131 [C99-based standards] (UINTPTR_MAX): Likewise.
21132 [C99-based standards] (INTMAX_MIN): Likewise.
21133 [C99-based standards] (INTMAX_MAX): Likewise.
21134 [C99-based standards] (UINTMAX_MAX): Likewise.
21135 [C99-based standards] (PTRDIFF_MIN): Likewise.
21136 [C99-based standards] (PTRDIFF_MAX): Likewise.
21137 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21138 [C99-based standards] (SIZE_MAX): Likewise.
21139 [C99-based standards] (WCHAR_MAX): Likewise.
21140 [C99-based standards] (WINT_MAX): Likewise.
21141 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21142 constraint on value.
21143 [C99-based standards] (WCHAR_MIN): Likewise.
21144 [C99-based standards] (WINT_MIN): Likewise.
21145 [C99-based standards] (*_t): Allow.
21146 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21147 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21148 Include math.h-data and complex.h-data. Remove all expectations
21149 of math.h and complex.h contents.
21150 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21151 at end of line.
21152 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21153 (struct tm): Expect tag.
21154 [C99-based-standards] (wcstof): Expect function.
21155 [C99-based-standards] (wcstold): Likewise.
21156 [C99-based-standards] (wcstoll): Likewise.
21157 [C99-based-standards] (wcstoull): Likewise.
21158 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21159 macro-int-constant. Specify type.
21160 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21161 constraint on value.
21162 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21163 Specify type.
21164 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21165 Specify value.
21166 [ISO C standards]: Do not allow headers.
21167 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21168 wcs[abcdefghijklmnopqrstuvwxyz]*.
21169 [ISO C standards] (*_t): Do not allow.
21170 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21171 Expect function.
21172 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21173 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21174 Specify type.
21175 [ISO C standards]: Do not allow headers.
21176 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21177 is[abcdefghijklmnopqrstuvwxyz]*.
21178 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21179 to[abcdefghijklmnopqrstuvwxyz]*.
21180 [ISO C standards] (*_t): Do not allow.
21181 * conform/data/stdalign.h-data: New file.
21182 * conform/data/stdbool.h-data: Likewise.
21183 * conform/data/stdnoreturn.h-data: Likewise.
21184
7514feb8
RM
211852012-11-07 Roland McGrath <roland@hack.frob.com>
21186
21187 [BZ #14815]
21188 * manual/filesys.texi (Directory Entries): Typo fix.
21189 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21190
19b2ecfc
MS
211912012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21192
21193 * elf/elf.h (EM_AARCH64): New macro.
21194 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21195 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21196 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21197 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21198 (R_AARCH64_TLSDESC): Likewise.
21199 (NT_ARM_TLS): Likewise.
21200 (NT_ARM_HW_BREAK): Likewise.
21201 (NT_ARM_HW_WATCH): Likewise.
21202
60e235ee
JM
212032012-11-07 Joseph Myers <joseph@codesourcery.com>
21204
21205 [BZ #14811]
21206 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21207 (__ieee754_powl): Saturate nonzero exponents with absolute value
21208 below 0x1p-79 to +/- 0x1p-79.
21209 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21210 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21211 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21212 nonzero exponents with absolute value below 0x1p-32 to +/-
21213 0x1p-32.
21214 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21215 (__ieee754_powl): Saturate nonzero exponents with absolute value
21216 below 0x1p-79 to +/- 0x1p-79.
21217 * math/libm-test.inc (pow_test): Add more tests.
21218
0ab234b7
AK
212192012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21220
21221 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21222 _dl_s390_cap_flags with kernel. Increase string length.
21223 (_dl_s390_platforms): Add z196 and zEC12.
21224
45832f74
JM
212252012-11-07 Joseph Myers <joseph@codesourcery.com>
21226
21227 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21228 Change XOPEN21K to XOPEN2K.
21229
19218757
MK
212302012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21231
21232 * string/memmove.c: Use memcpy when possible.
21233
c5f45721
AJ
212342012-11-06 Andreas Jaeger <aj@suse.de>
21235
21236 * po/eo.po: Update from translation team.
21237
82477c28
JM
212382012-11-06 Joseph Myers <joseph@codesourcery.com>
21239
21240 [BZ #14793]
21241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21242 exponent and small x and y exponents, scale x or y up. Increase
21243 by 2 the exponent used in scaling up.
21244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21245 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21246 * math/libm-test.inc (fma_test): Add more tests.
21247 (fma_test_towardzero): Likewise.
21248 (fma_test_downward): Likewise.
21249 (fma_test_upward): Likewise.
21250
99252c8c
JM
212512012-11-05 Joseph Myers <joseph@codesourcery.com>
21252
acfa885f
JM
21253 [BZ #14805]
21254 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21255 fenv_t *.
21256
99252c8c
JM
21257 [BZ #14801]
21258 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21259 namespace for names of struct fields.
21260 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21261 fenv_t fields.
21262 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21263 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21264
d6d98dea
ST
212652012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21266
21267 [BZ #3665]
21268 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21269
e10bb107
TS
212702012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21271
21272 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21273 PTR_DEMANGLE.
21274
21275 [BZ #5246]
21276 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21277 PTR_DEMANGLE.
21278
a0c2940d
JM
212792012-11-04 Joseph Myers <joseph@codesourcery.com>
21280
21281 [BZ #14797]
21282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21283 definitely overflow as x * y not x * y + z.
21284 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21285 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21286 * math/libm-test.inc (fma_test): Add more tests.
21287 (fma_test_towardzero): Likewise.
21288 (fma_test_downward): Likewise.
21289 (fma_test_upward): Likewise.
21290
b830319d
TS
212912012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21292
21293 [BZ #157]
21294
21295 * include/stub-tag.h: Remove file.
21296 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21297 '#include' of it.
21298 * manual/maint.texi (Porting): Don't reference it.
21299 * Makerules ($(objpfx)stubs): Likewise.
21300 * dirent/closedir.c: Don't include <stub-tag.h>.
21301 * dirent/dirfd.c: Likewise.
21302 * dirent/fdopendir.c: Likewise.
21303 * dirent/getdents.c: Likewise.
21304 * dirent/getdents64.c: Likewise.
21305 * dirent/opendir.c: Likewise.
21306 * dirent/readdir.c: Likewise.
21307 * dirent/readdir64.c: Likewise.
21308 * dirent/readdir64_r.c: Likewise.
21309 * dirent/readdir_r.c: Likewise.
21310 * dirent/rewinddir.c: Likewise.
21311 * dirent/seekdir.c: Likewise.
21312 * dirent/telldir.c: Likewise.
21313 * gmon/profil.c: Likewise.
21314 * grp/setgroups.c: Likewise.
21315 * inet/if_index.c: Likewise.
21316 * io/access.c: Likewise.
21317 * io/chdir.c: Likewise.
21318 * io/chmod.c: Likewise.
21319 * io/chown.c: Likewise.
21320 * io/close.c: Likewise.
21321 * io/dup.c: Likewise.
21322 * io/dup2.c: Likewise.
21323 * io/dup3.c: Likewise.
21324 * io/euidaccess.c: Likewise.
21325 * io/faccessat.c: Likewise.
21326 * io/fchdir.c: Likewise.
21327 * io/fchmod.c: Likewise.
21328 * io/fchmodat.c: Likewise.
21329 * io/fchown.c: Likewise.
21330 * io/fchownat.c: Likewise.
21331 * io/fcntl.c: Likewise.
21332 * io/flock.c: Likewise.
21333 * io/fstatfs.c: Likewise.
21334 * io/fstatfs64.c: Likewise.
21335 * io/fstatvfs.c: Likewise.
21336 * io/fstatvfs64.c: Likewise.
21337 * io/futimens.c: Likewise.
21338 * io/fxstat.c: Likewise.
21339 * io/fxstat64.c: Likewise.
21340 * io/fxstatat.c: Likewise.
21341 * io/fxstatat64.c: Likewise.
21342 * io/getcwd.c: Likewise.
21343 * io/isatty.c: Likewise.
21344 * io/lchmod.c: Likewise.
21345 * io/lchown.c: Likewise.
21346 * io/link.c: Likewise.
21347 * io/linkat.c: Likewise.
21348 * io/lseek.c: Likewise.
21349 * io/lseek64.c: Likewise.
21350 * io/lxstat64.c: Likewise.
21351 * io/mkdir.c: Likewise.
21352 * io/mkdirat.c: Likewise.
21353 * io/mkfifo.c: Likewise.
21354 * io/mkfifoat.c: Likewise.
21355 * io/open.c: Likewise.
21356 * io/open64.c: Likewise.
21357 * io/openat.c: Likewise.
21358 * io/openat64.c: Likewise.
21359 * io/pipe.c: Likewise.
21360 * io/pipe2.c: Likewise.
21361 * io/poll.c: Likewise.
21362 * io/posix_fadvise.c: Likewise.
21363 * io/posix_fadvise64.c: Likewise.
21364 * io/posix_fallocate.c: Likewise.
21365 * io/posix_fallocate64.c: Likewise.
21366 * io/read.c: Likewise.
21367 * io/readlink.c: Likewise.
21368 * io/readlinkat.c: Likewise.
21369 * io/rmdir.c: Likewise.
21370 * io/sendfile.c: Likewise.
21371 * io/sendfile64.c: Likewise.
21372 * io/statfs.c: Likewise.
21373 * io/statfs64.c: Likewise.
21374 * io/statvfs.c: Likewise.
21375 * io/statvfs64.c: Likewise.
21376 * io/symlink.c: Likewise.
21377 * io/symlinkat.c: Likewise.
21378 * io/ttyname.c: Likewise.
21379 * io/ttyname_r.c: Likewise.
21380 * io/umask.c: Likewise.
21381 * io/unlink.c: Likewise.
21382 * io/unlinkat.c: Likewise.
21383 * io/utime.c: Likewise.
21384 * io/utimensat.c: Likewise.
21385 * io/write.c: Likewise.
21386 * io/xmknod.c: Likewise.
21387 * io/xmknodat.c: Likewise.
21388 * io/xstat.c: Likewise.
21389 * io/xstat64.c: Likewise.
21390 * login/getpt.c: Likewise.
21391 * login/grantpt.c: Likewise.
21392 * login/unlockpt.c: Likewise.
21393 * math/e_acoshl.c: Likewise.
21394 * math/e_acosl.c: Likewise.
21395 * math/e_asinl.c: Likewise.
21396 * math/e_atan2l.c: Likewise.
21397 * math/e_atanhl.c: Likewise.
21398 * math/e_coshl.c: Likewise.
21399 * math/e_expl.c: Likewise.
21400 * math/e_fmodl.c: Likewise.
21401 * math/e_gammal_r.c: Likewise.
21402 * math/e_hypotl.c: Likewise.
21403 * math/e_j0l.c: Likewise.
21404 * math/e_j1l.c: Likewise.
21405 * math/e_jnl.c: Likewise.
21406 * math/e_lgammal_r.c: Likewise.
21407 * math/e_log10l.c: Likewise.
21408 * math/e_log2l.c: Likewise.
21409 * math/e_logl.c: Likewise.
21410 * math/e_powl.c: Likewise.
21411 * math/e_rem_pio2l.c: Likewise.
21412 * math/e_sinhl.c: Likewise.
21413 * math/e_sqrtl.c: Likewise.
21414 * math/fclrexcpt.c: Likewise.
21415 * math/fedisblxcpt.c: Likewise.
21416 * math/feenablxcpt.c: Likewise.
21417 * math/fegetenv.c: Likewise.
21418 * math/fegetexcept.c: Likewise.
21419 * math/fegetround.c: Likewise.
21420 * math/feholdexcpt.c: Likewise.
21421 * math/fesetenv.c: Likewise.
21422 * math/fesetround.c: Likewise.
21423 * math/feupdateenv.c: Likewise.
21424 * math/fgetexcptflg.c: Likewise.
21425 * math/fraiseexcpt.c: Likewise.
21426 * math/fsetexcptflg.c: Likewise.
21427 * math/ftestexcept.c: Likewise.
21428 * math/k_cosl.c: Likewise.
21429 * math/k_rem_pio2l.c: Likewise.
21430 * math/k_sinl.c: Likewise.
21431 * math/k_tanl.c: Likewise.
21432 * math/s_asinhl.c: Likewise.
21433 * math/s_atanl.c: Likewise.
21434 * math/s_cbrtl.c: Likewise.
21435 * math/s_erfl.c: Likewise.
21436 * math/s_expm1l.c: Likewise.
21437 * math/s_log1pl.c: Likewise.
21438 * math/s_tanhl.c: Likewise.
21439 * misc/acct.c: Likewise.
21440 * misc/brk.c: Likewise.
21441 * misc/chflags.c: Likewise.
21442 * misc/chroot.c: Likewise.
21443 * misc/fchflags.c: Likewise.
21444 * misc/fgetxattr.c: Likewise.
21445 * misc/flistxattr.c: Likewise.
21446 * misc/fremovexattr.c: Likewise.
21447 * misc/fsetxattr.c: Likewise.
21448 * misc/fsync.c: Likewise.
21449 * misc/ftruncate.c: Likewise.
21450 * misc/futimes.c: Likewise.
21451 * misc/futimesat.c: Likewise.
21452 * misc/getdomain.c: Likewise.
21453 * misc/getdtsz.c: Likewise.
21454 * misc/gethostid.c: Likewise.
21455 * misc/gethostname.c: Likewise.
21456 * misc/getloadavg.c: Likewise.
21457 * misc/getpagesize.c: Likewise.
21458 * misc/getsysstats.c: Likewise.
21459 * misc/getxattr.c: Likewise.
21460 * misc/gtty.c: Likewise.
21461 * misc/ioctl.c: Likewise.
21462 * misc/lgetxattr.c: Likewise.
21463 * misc/listxattr.c: Likewise.
21464 * misc/llistxattr.c: Likewise.
21465 * misc/lremovexattr.c: Likewise.
21466 * misc/lsetxattr.c: Likewise.
21467 * misc/lutimes.c: Likewise.
21468 * misc/madvise.c: Likewise.
21469 * misc/mincore.c: Likewise.
21470 * misc/mlock.c: Likewise.
21471 * misc/mlockall.c: Likewise.
21472 * misc/mmap.c: Likewise.
21473 * misc/mprotect.c: Likewise.
21474 * misc/msync.c: Likewise.
21475 * misc/munlock.c: Likewise.
21476 * misc/munlockall.c: Likewise.
21477 * misc/munmap.c: Likewise.
21478 * misc/preadv.c: Likewise.
21479 * misc/preadv64.c: Likewise.
21480 * misc/ptrace.c: Likewise.
21481 * misc/pwritev.c: Likewise.
21482 * misc/pwritev64.c: Likewise.
21483 * misc/readv.c: Likewise.
21484 * misc/reboot.c: Likewise.
21485 * misc/remap_file_pages.c: Likewise.
21486 * misc/removexattr.c: Likewise.
21487 * misc/revoke.c: Likewise.
21488 * misc/select.c: Likewise.
21489 * misc/setdomain.c: Likewise.
21490 * misc/setegid.c: Likewise.
21491 * misc/seteuid.c: Likewise.
21492 * misc/sethostid.c: Likewise.
21493 * misc/sethostname.c: Likewise.
21494 * misc/setregid.c: Likewise.
21495 * misc/setreuid.c: Likewise.
21496 * misc/setxattr.c: Likewise.
21497 * misc/sstk.c: Likewise.
21498 * misc/stty.c: Likewise.
21499 * misc/swapoff.c: Likewise.
21500 * misc/swapon.c: Likewise.
21501 * misc/sync.c: Likewise.
21502 * misc/syncfs.c: Likewise.
21503 * misc/syscall.c: Likewise.
21504 * misc/truncate.c: Likewise.
21505 * misc/ualarm.c: Likewise.
21506 * misc/usleep.c: Likewise.
21507 * misc/ustat.c: Likewise.
21508 * misc/utimes.c: Likewise.
21509 * misc/vhangup.c: Likewise.
21510 * misc/writev.c: Likewise.
21511 * posix/_exit.c: Likewise.
21512 * posix/alarm.c: Likewise.
21513 * posix/execve.c: Likewise.
21514 * posix/fexecve.c: Likewise.
21515 * posix/fork.c: Likewise.
21516 * posix/fpathconf.c: Likewise.
21517 * posix/getaddrinfo.c: Likewise.
21518 * posix/getegid.c: Likewise.
21519 * posix/geteuid.c: Likewise.
21520 * posix/getgid.c: Likewise.
21521 * posix/getgroups.c: Likewise.
21522 * posix/getlogin.c: Likewise.
21523 * posix/getlogin_r.c: Likewise.
21524 * posix/getpgid.c: Likewise.
21525 * posix/getpid.c: Likewise.
21526 * posix/getppid.c: Likewise.
21527 * posix/getresgid.c: Likewise.
21528 * posix/getresuid.c: Likewise.
21529 * posix/getsid.c: Likewise.
21530 * posix/getuid.c: Likewise.
21531 * posix/glob64.c: Likewise.
21532 * posix/nanosleep.c: Likewise.
21533 * posix/pathconf.c: Likewise.
21534 * posix/pause.c: Likewise.
21535 * posix/posix_madvise.c: Likewise.
21536 * posix/pread.c: Likewise.
21537 * posix/pread64.c: Likewise.
21538 * posix/pwrite.c: Likewise.
21539 * posix/pwrite64.c: Likewise.
21540 * posix/sched_getaffinity.c: Likewise.
21541 * posix/sched_getp.c: Likewise.
21542 * posix/sched_gets.c: Likewise.
21543 * posix/sched_primax.c: Likewise.
21544 * posix/sched_primin.c: Likewise.
21545 * posix/sched_rr_gi.c: Likewise.
21546 * posix/sched_setaffinity.c: Likewise.
21547 * posix/sched_setp.c: Likewise.
21548 * posix/sched_sets.c: Likewise.
21549 * posix/sched_yield.c: Likewise.
21550 * posix/setgid.c: Likewise.
21551 * posix/setlogin.c: Likewise.
21552 * posix/setpgid.c: Likewise.
21553 * posix/setresgid.c: Likewise.
21554 * posix/setresuid.c: Likewise.
21555 * posix/setsid.c: Likewise.
21556 * posix/setuid.c: Likewise.
21557 * posix/sleep.c: Likewise.
21558 * posix/spawni.c: Likewise.
21559 * posix/sysconf.c: Likewise.
21560 * posix/times.c: Likewise.
21561 * posix/wait.c: Likewise.
21562 * posix/wait3.c: Likewise.
21563 * posix/wait4.c: Likewise.
21564 * posix/waitpid.c: Likewise.
21565 * resolv/gai_sigqueue.c: Likewise.
21566 * resource/getpriority.c: Likewise.
21567 * resource/getrlimit.c: Likewise.
21568 * resource/getrusage.c: Likewise.
21569 * resource/nice.c: Likewise.
21570 * resource/setpriority.c: Likewise.
21571 * resource/setrlimit.c: Likewise.
21572 * resource/ulimit.c: Likewise.
21573 * rt/aio_cancel.c: Likewise.
21574 * rt/aio_fsync.c: Likewise.
21575 * rt/aio_read.c: Likewise.
21576 * rt/aio_sigqueue.c: Likewise.
21577 * rt/aio_suspend.c: Likewise.
21578 * rt/aio_write.c: Likewise.
21579 * rt/clock_getres.c: Likewise.
21580 * rt/clock_gettime.c: Likewise.
21581 * rt/clock_nanosleep.c: Likewise.
21582 * rt/clock_settime.c: Likewise.
21583 * rt/lio_listio.c: Likewise.
21584 * rt/mq_close.c: Likewise.
21585 * rt/mq_getattr.c: Likewise.
21586 * rt/mq_notify.c: Likewise.
21587 * rt/mq_open.c: Likewise.
21588 * rt/mq_receive.c: Likewise.
21589 * rt/mq_send.c: Likewise.
21590 * rt/mq_setattr.c: Likewise.
21591 * rt/mq_timedreceive.c: Likewise.
21592 * rt/mq_timedsend.c: Likewise.
21593 * rt/mq_unlink.c: Likewise.
21594 * rt/shm_open.c: Likewise.
21595 * rt/shm_unlink.c: Likewise.
21596 * rt/timer_create.c: Likewise.
21597 * rt/timer_delete.c: Likewise.
21598 * rt/timer_getoverr.c: Likewise.
21599 * rt/timer_gettime.c: Likewise.
21600 * rt/timer_settime.c: Likewise.
21601 * setjmp/__longjmp.c: Likewise.
21602 * setjmp/setjmp.c: Likewise.
21603 * signal/kill.c: Likewise.
21604 * signal/killpg.c: Likewise.
21605 * signal/raise.c: Likewise.
21606 * signal/sigaction.c: Likewise.
21607 * signal/sigaltstack.c: Likewise.
21608 * signal/sigblock.c: Likewise.
21609 * signal/sigignore.c: Likewise.
21610 * signal/sigintr.c: Likewise.
21611 * signal/signal.c: Likewise.
21612 * signal/sigpause.c: Likewise.
21613 * signal/sigpending.c: Likewise.
21614 * signal/sigqueue.c: Likewise.
21615 * signal/sigreturn.c: Likewise.
21616 * signal/sigset.c: Likewise.
21617 * signal/sigsetmask.c: Likewise.
21618 * signal/sigstack.c: Likewise.
21619 * signal/sigsuspend.c: Likewise.
21620 * signal/sigtimedwait.c: Likewise.
21621 * signal/sigvec.c: Likewise.
21622 * signal/sigwait.c: Likewise.
21623 * signal/sigwaitinfo.c: Likewise.
21624 * signal/sysv_signal.c: Likewise.
21625 * socket/accept.c: Likewise.
21626 * socket/accept4.c: Likewise.
21627 * socket/bind.c: Likewise.
21628 * socket/connect.c: Likewise.
21629 * socket/getpeername.c: Likewise.
21630 * socket/getsockname.c: Likewise.
21631 * socket/getsockopt.c: Likewise.
21632 * socket/isfdtype.c: Likewise.
21633 * socket/listen.c: Likewise.
21634 * socket/recv.c: Likewise.
21635 * socket/recvfrom.c: Likewise.
21636 * socket/recvmsg.c: Likewise.
21637 * socket/send.c: Likewise.
21638 * socket/sendmsg.c: Likewise.
21639 * socket/sendto.c: Likewise.
21640 * socket/setsockopt.c: Likewise.
21641 * socket/shutdown.c: Likewise.
21642 * socket/sockatmark.c: Likewise.
21643 * socket/socket.c: Likewise.
21644 * socket/socketpair.c: Likewise.
21645 * stdio-common/ctermid.c: Likewise.
21646 * stdio-common/cuserid.c: Likewise.
21647 * stdio-common/remove.c: Likewise.
21648 * stdio-common/rename.c: Likewise.
21649 * stdio-common/renameat.c: Likewise.
21650 * stdio-common/tempname.c: Likewise.
21651 * stdlib/getcontext.c: Likewise.
21652 * stdlib/makecontext.c: Likewise.
21653 * stdlib/setcontext.c: Likewise.
21654 * stdlib/swapcontext.c: Likewise.
21655 * stdlib/system.c: Likewise.
21656 * streams/fattach.c: Likewise.
21657 * streams/fdetach.c: Likewise.
21658 * streams/getmsg.c: Likewise.
21659 * streams/getpmsg.c: Likewise.
21660 * streams/putmsg.c: Likewise.
21661 * streams/putpmsg.c: Likewise.
21662 * sysdeps/unix/bsd/getpt.c: Likewise.
21663 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21664 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21665 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21667 Likewise.
21668 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21669 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21670 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21671 * sysvipc/msgctl.c: Likewise.
21672 * sysvipc/msgget.c: Likewise.
21673 * sysvipc/msgrcv.c: Likewise.
21674 * sysvipc/msgsnd.c: Likewise.
21675 * sysvipc/semctl.c: Likewise.
21676 * sysvipc/semget.c: Likewise.
21677 * sysvipc/semop.c: Likewise.
21678 * sysvipc/semtimedop.c: Likewise.
21679 * sysvipc/shmat.c: Likewise.
21680 * sysvipc/shmctl.c: Likewise.
21681 * sysvipc/shmdt.c: Likewise.
21682 * sysvipc/shmget.c: Likewise.
21683 * termios/tcdrain.c: Likewise.
21684 * termios/tcflow.c: Likewise.
21685 * termios/tcflush.c: Likewise.
21686 * termios/tcgetattr.c: Likewise.
21687 * termios/tcgetpgrp.c: Likewise.
21688 * termios/tcsendbrk.c: Likewise.
21689 * termios/tcsetattr.c: Likewise.
21690 * termios/tcsetpgrp.c: Likewise.
21691 * time/adjtime.c: Likewise.
21692 * time/clock.c: Likewise.
21693 * time/getitimer.c: Likewise.
21694 * time/gettimeofday.c: Likewise.
21695 * time/setitimer.c: Likewise.
21696 * time/settimeofday.c: Likewise.
21697 * time/stime.c: Likewise.
21698 * time/time.c: Likewise.
21699
217002012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21701
a20492cf
PT
21702 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21703 /usr/old/bin.
21704
72e182e3
PT
21705 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21706 instead of spaces.
21707 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21708
fbeafede
JM
217092012-11-03 Joseph Myers <joseph@codesourcery.com>
21710
5b5b04d6
JM
21711 [BZ #14796]
21712 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21713 FE_TONEAREST before applying Dekker multiplication and Knuth
21714 addition. Clear inexact exceptions and check for exact zero
21715 results afterwards.
21716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21717 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21719 * math/libm-test.inc (fma_test): Add more tests.
21720 (fma_test_towardzero): Likewise.
21721 (fma_test_downward): Likewise.
21722 (fma_test_upward): Likewise.
21723 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21724 function.
21725 (libc_fesetround): New macro.
21726 (libc_fesetroundf): Likewise.
21727 (libc_fesetroundl): Likewise.
21728 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21729 function.
21730 (libc_fesetround_387): Likewise.
21731 (libc_fesetroundf): New macro.
21732 (libc_fesetround): Likewise.
21733 (libc_fesetroundl): Likewise.
21734 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21735 function.
21736 (libc_fesetroundf): New macro.
21737 (libc_fesetround): Likewise.
21738 (libc_fesetroundl): Likewise.
21739 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21740 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21741 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21742 libm_hidden_ver.
21743 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21744 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21745 libm_hidden_def.
21746 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21747 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21748 libm_hidden_ver.
21749 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21750 libm_hidden_def.
21751
fbeafede
JM
21752 [BZ #3439]
21753 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21754 integer constant usable in #if and use that to give value to enum
21755 constant.
21756 (FE_DIVBYZERO): Likewise.
21757 (FE_UNDERFLOW): Likewise.
21758 (FE_OVERFLOW): Likewise.
21759 (FE_INVALID): Likewise.
21760 (FE_INVALID_SNAN): Likewise.
21761 (FE_INVALID_ISI): Likewise.
21762 (FE_INVALID_IDI): Likewise.
21763 (FE_INVALID_ZDZ): Likewise.
21764 (FE_INVALID_IMZ): Likewise.
21765 (FE_INVALID_COMPARE): Likewise.
21766 (FE_INVALID_SOFTWARE): Likewise.
21767 (FE_INVALID_SQRT): Likewise.
21768 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21769 (FE_TONEAREST): Likewise.
21770 (FE_TOWARDZERO): Likewise.
21771 (FE_UPWARD): Likewise.
21772 (FE_DOWNWARD): Likewise.
21773 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21774 (FE_DIVBYZERO): Likewise.
21775 (FE_OVERFLOW): Likewise.
21776 (FE_UNDERFLOW): Likewise.
21777 (FE_INEXACT): Likewise.
21778 (FE_TONEAREST): Likewise.
21779 (FE_DOWNWARD): Likewise.
21780 (FE_UPWARD): Likewise.
21781 (FE_TOWARDZERO): Likewise.
21782 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21783 (FE_UNDERFLOW): Likewise.
21784 (FE_OVERFLOW): Likewise.
21785 (FE_DIVBYZERO): Likewise.
21786 (FE_INVALID): Likewise.
21787 (FE_TONEAREST): Likewise.
21788 (FE_TOWARDZERO): Likewise.
21789 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21790 (FE_OVERFLOW): Likewise.
21791 (FE_UNDERFLOW): Likewise.
21792 (FE_DIVBYZERO): Likewise.
21793 (FE_INEXACT): Likewise.
21794 (FE_TONEAREST): Likewise.
21795 (FE_TOWARDZERO): Likewise.
21796 (FE_UPWARD): Likewise.
21797 (FE_DOWNWARD): Likewise.
21798 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21799 (FE_DIVBYZERO): Likewise.
21800 (FE_OVERFLOW): Likewise.
21801 (FE_UNDERFLOW): Likewise.
21802 (FE_INEXACT): Likewise.
21803 (FE_TONEAREST): Likewise.
21804 (FE_DOWNWARD): Likewise.
21805 (FE_UPWARD): Likewise.
21806 (FE_TOWARDZERO): Likewise.
21807
105ca950
CM
218082012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21809
21810 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21811
a542b389
AS
218122012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21813
21814 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21815 commands. Quote $PWD.
21816 (blacklist_exports): Don't use remove_newlines. Replace "declare
21817 -x" by "export".
21818 (remove_newlines): Remove.
21819
f62c8abc
L
218202012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21821
21822 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21823 * stdlib/stdlib.h (atof): Moved to ...
21824 * include/bits/stdlib-float.h: Here. New file.
21825 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21826 * stdlib/bits/stdlib-float.h: New file.
21827 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21828 -mno-sse -mno-mmx.
21829 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21830 <xmmintrin.h>.
21831
0155d5b2
JM
218322012-11-02 Joseph Myers <joseph@codesourcery.com>
21833
a68d0680
JM
21834 * conform/conformtest.pl (@headers): Add fenv.h.
21835 * conform/data/fenv.h-data: New file.
21836 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21837 include of <math/fenv.h>.
21838
caf7f573
JM
21839 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21840 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21841 && !UNIX98]. Enables tests for XOPEN2K8.
21842 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21843 POSIX2008]: Likewise.
21844
6c073ad6
JM
21845 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21846 (struct rusage): Do not expect type or its members.
21847
0155d5b2
JM
21848 [BZ #3439]
21849 * math/math.h (FP_NAN): Define macro to integer constant usable in
21850 #if and use that to give value to enum constant.
21851 (FP_INFINITE): Likewise.
21852 (FP_ZERO): Likewise.
21853 (FP_SUBNORMAL): Likewise.
21854 (FP_NORMAL): Likewise.
21855
b5dcacb4
AS
218562012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21857
21858 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21859 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21860 arguments.
21861
f7934be8
RM
218622012-11-02 Roland McGrath <roland@hack.frob.com>
21863
21864 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21865 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21866 autoconf-time if not.
21867 * configure.in: Remove AC_PREREQ.
21868
d7d08bde
TMQMF
218692012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21870
21871 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21872 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21873 of the internal implementation.
21874
dcdae19a
JM
218752012-11-02 Joseph Myers <joseph@codesourcery.com>
21876
21877 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21878 except include of <misc/sys/syslog.h>.
21879
d6cffd3e
AS
218802012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21881
21882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21883 function returns with a NULL context exit with zero.
21884
b3563932
TMQMF
218852012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21886
21887 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21888
b288a93d
L
218892012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21890
21891 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21892 (run_program_cmd): This.
21893 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21894 (tst_langinfo): New variable. Use it.
21895
a2421a68
SAS
218962012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21897
21898 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21899 floating point opcodes.
21900
6f796e1b
TS
219012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21902
7402596b
TS
21903 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21904 variable.
21905
d0d4f868
TS
21906 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21907
6f796e1b
TS
21908 * sysdeps/mach/hurd/powerpc: Remove directory.
21909 * sysdeps/mach/powerpc: Likewise.
21910
4da224a2
AS
219112012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21912
21913 * scripts/check-local-headers.sh: Ignore c++ headers.
21914
341dd673
TS
219152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21916
21917 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21918 __libc_cleanup_region_start argument.
21919
473611b2
JM
219202012-11-01 Joseph Myers <joseph@codesourcery.com>
21921
21922 [BZ #14784]
21923 [BZ #14785]
21924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21925 x * y using scaling, not as x * y + z.
21926 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21927 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21928 * math/libm-test.inc (fma_test): Add more tests.
21929 (fma_test_towardzero): Likewise.
21930 (fma_test_downward): Likewise.
21931 (fma_test_upward): Likewise.
21932
4078da3d
TS
219332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21934
21935 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21936
903252aa
JM
219372012-10-31 Joseph Myers <joseph@codesourcery.com>
21938
21939 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21940 New variable.
21941
cbc818d0
TS
219422012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21943
21944 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21945
5a03cb1e
AS
219462012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21947
21948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21949 Fix sort order.
21950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21951 Likewise.
21952
90aff2ff
TMQMF
219532012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21954
21955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21956 Fix the order of the list for glibc 2.17.
21957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21958 Likewise.
21959
1818fcb7
AS
219602012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21961
21962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21963
ef82f4da
JM
219642012-10-31 Joseph Myers <joseph@codesourcery.com>
21965
16a0e2ec
JM
21966 [BZ #14610]
21967 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21968 for low part of x being zero before using __atanl (y).
21969 * math/libm-test.inc (atan2_test): Add another test.
21970
0eb69512
JM
21971 * manual/install.texi (Configuring and compiling): Document
21972 general use of test-wrapper and test-wrapper-env.
21973 * INSTALL: Regenerated.
21974
ef82f4da
JM
21975 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21976 (__fma): Do not extract and scale down low bits on after-rounding
21977 systems when result rounded to normal precision would have normal
21978 exponent.
21979 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21980 (__fmal): Do not extract and scale down low bits on after-rounding
21981 systems when result rounded to normal precision would have normal
21982 exponent.
21983 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21984 (__fmal): Do not extract and scale down low bits on after-rounding
21985 systems when result rounded to normal precision would have normal
21986 exponent.
21987 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21988 macro.
21989 (fma_test): Add more tests.
21990 (fma_test_towardzero): Likewise.
21991 (fma_test_downward): Likewise.
21992 (fma_test_upward): Likewise.
21993
954ef0d9
L
219942012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21995
21996 * sysdeps/i386/tininess.h: Renamed to ...
21997 * sysdeps/x86/tininess.h: This.
21998 * sysdeps/x86_64/tininess.h: Removed.
21999
df61ffb2
JM
220002012-10-30 Joseph Myers <joseph@codesourcery.com>
22001
22002 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22003 input. Use $(build-program-cmd).
22004 ($(objpfx)tst-array1-static.out): Likewise.
22005 ($(objpfx)tst-array2.out): Likewise.
22006 ($(objpfx)tst-array3.out): Likewise.
22007 ($(objpfx)tst-array4.out): Likewise.
22008 ($(objpfx)tst-array5.out): Likewise.
22009 ($(objpfx)tst-array5-static.out): Likewise.
22010
01767843
CM
220112012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22012
47cc1490
CM
22013 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22014 if defined.
22015
01767843
CM
22016 * nss/nsswitch.h (nss_interface_function): Provide new
22017 macro for use with NSS functions.
22018 * grp/initgroups.c: Use new macro.
22019 * nss/getXXbyYY.c: Likewise.
22020 * nss/getXXbyYY_r.c: Likewise.
22021 * nss/getXXent.c: Likewise.
22022 * nss/getXXent_r.c: Likewise.
22023 * sysdeps/posix/getaddrinfo.c: Likewise.
22024
8321aa97
AJ
220252012-10-30 Andreas Jaeger <aj@suse.de>
22026
22027 * po/ru.po: Update Russion translation from translation project.
22028
2a27fd6d
JM
220292012-10-30 Joseph Myers <joseph@codesourcery.com>
22030
8627a232
JM
22031 [BZ #14152]
22032 [BZ #14783]
22033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22034 result and shift together with sticky bit instead of replicating
22035 round-to-nearest rounding.
22036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22037 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22038 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22039 missing underflow exceptions.
22040 (fma_test_towardzero): Add more tests.
22041 (fma_test_downward): Likewise.
22042 (fma_test_upward): Likewise.
22043
2a27fd6d
JM
22044 [BZ #14047]
22045 * sysdeps/generic/tininess.h: New file.
22046 * sysdeps/i386/tininess.h: Likewise.
22047 * sysdeps/sh/tininess.h: Likewise.
22048 * sysdeps/x86_64/tininess.h: Likewise.
22049 * stdlib/tst-strtod-underflow.c: Likewise.
22050 * stdlib/tst-tininess.c: Likewise.
22051 * stdlib/strtod_l.c: Include <tininess.h>.
22052 (round_and_return): Do not set errno for exact underflow cases.
22053 Force an underflow exception when setting errno for underflow.
22054 Determine underflow based on rounding to normal precision if
22055 TININESS_AFTER_ROUNDING.
22056 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22057 ERANGE for exact underflow cases.
22058 * stdlib/Makefile (tests): Add tst-tininess and
22059 tst-strtod-underflow.
22060 ($(objpfx)tst-tininess): Use $(link-libm).
22061 ($(objpfx)tst-strtod-underflow): Likewise.
22062
e7170363
AJ
220632012-10-30 Andreas Jaeger <aj@suse.de>
22064
e5088dc6
AJ
22065 [BZ#14767]
22066 * elf/Makefile (tests): Remove conditional for have-initfini-array
22067 since this is now always required and the variable does not exist
22068 anymore.
22069 (tests-static): Likewise.
22070 (modules-names): Likewise.
22071
e7170363 22072 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22073
22074 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22075 merged with constructor/destructor.
22076 (init_array): Likewise.
22077 * elf/tst-array2dep.c (fini_array): Likewise.
22078 (init_array): Likewise.
22079
60457d8a
MF
220802012-10-29 Mike Frysinger <vapier@gentoo.org>
22081
22082 * manual/message.texi: Delete @cartouche tags.
22083
8bece752
PT
220842012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22085
94ce799f
PT
22086 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22087 EOPNOTSUPP.
22088 * sysdeps/mach/hurd/fsync.c: Likewise.
22089
8bece752
PT
22090 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22091 [_POSIX_REALTIME_SIGNALS]: Change condition to
22092 [_POSIX_REALTIME_SIGNALS > 0].
22093
86ebe6b1
AJ
220942012-10-27 Andreas Jaeger <aj@suse.de>
22095
22096 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22097 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22099 [__WORDSIZE != 64]: Likewise.
22100
54399c08
L
221012012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22102
22103 * iconvdata/tst-table.sh: Remove ${SHELL}.
22104 * iconvdata/tst-tables.sh: Likewise.
22105
e2211bed
DM
221062012-10-25 David S. Miller <davem@davemloft.net>
22107
22108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22109 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22110 of strtoull.
22111
f303f97c
DM
22112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22113 ifunc-impl-list.c
22114 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22115 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22116 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22117 file.
22118
1e9d84cd
RM
221192012-10-25 Roland McGrath <roland@hack.frob.com>
22120
22121 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22122 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22123 __getdirentries.
22124
df381762
JM
221252012-10-25 Joseph Myers <joseph@codesourcery.com>
22126 Jim Blandy <jimb@codesourcery.com>
22127
22128 * scripts/cross-test-ssh.sh: New file.
22129 * manual/install.texi (Configuring and compiling): Document use of
22130 cross-test-ssh.sh.
22131 * INSTALL: Regenerated.
22132
bff64913
PT
221332012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22134
22135 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22136 EOPNOTSUPP.
22137
25fe8932
JM
221382012-10-25 Joseph Myers <joseph@codesourcery.com>
22139
22140 * Makeconfig (run-program-prefix): Fix comment.
22141
cc1290d0
JM
221422012-10-24 Joseph Myers <joseph@codesourcery.com>
22143 Jim Blandy <jimb@codesourcery.com>
22144
22145 * Makeconfig (test-wrapper): New variable,
22146 (test-wrapper-env): Likewise.
22147 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22148 (run-built-tests): Define to yes.
22149 (run-program-prefix): Use $(test-wrapper).
22150 (built-program-cmd): Likewise.
22151 * Rules (make-test-out): Use $(test-wrapper-env) and
22152 $(host-built-program-cmd).
22153 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22154 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22155 tst-pathopt.sh.
22156 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22157 $(test-wrapper-env) to tst-rtld-load-self.sh.
22158 ($(objpfx)order2.out): Use $(test-wrapper).
22159 ($(objpfx)tst-initorder.out): Likewise.
22160 ($(objpfx)tst-initorder2.out): Likewise.
22161 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22162 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22163 (test_wrapper_env): New variable. Use it to run ld.so.
22164 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22165 Use it to run ld.so.
22166 (test_wrapper_env): Likewise.
22167 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22168 $(test-wrapper) to run-iconv-test.sh.
22169 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22170 (ICONV): Use $test_wrapper.
22171 * posix/Makefile ($(objpfx)globtest.out): Pass
22172 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22173 globtest.sh, not $(run-program-prefix).
22174 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22175 (test_wrapper): Likewise.
22176 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22177 set together with run_via_rtld_prefix.
22178 (run_program_prefix): Define in terms of test_wrapper and
22179 run_via_rtld_prefix.
22180
6e6249d0
RM
221812012-10-24 Roland McGrath <roland@hack.frob.com>
22182
22183 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22184 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22185 Targets removed.
22186
22187 [BZ #14743]
22188 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22189 Declare __clock_getres, __clock_gettime, __clock_settime,
22190 __clock_nanosleep, and __clock_getcpuclockid.
22191 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22192 Remove librt_hidden_def (clock_gettime).
22193 * sysdeps/unix/clock_gettime.c: Likewise.
22194 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22195 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22196 * rt/clock_getres.c: Define __clock_getres as an alias.
22197 * sysdeps/posix/clock_getres.c: Likewise.
22198 * rt/clock_settime.c: Define __clock_settime as an alias.
22199 * sysdeps/unix/clock_settime.c: Likewise.
22200 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22201 * sysdeps/unix/clock_nanosleep.c: Likewise.
22202 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22203 * rt/clock-compat.c: New file.
22204 * rt/Makefile (librt-routines): Add clock-compat and move
22205 $(clock-routines) to ...
22206 (routines): ... here, new variable.
22207 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22208 Don't add get_clockfreq here.
22209 * rt/Versions (libc: GLIBC_2.17): New version set.
22210 Add clock_* symbols here.
22211 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22212 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22213 (GLIBC_2.17): Add clock_* symbols.
22214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22216 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22218 Likewise.
22219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22220 Likewise.
22221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22225 * NEWS: Mention the move.
22226
22227 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22228 Use __open, __read, __close rather than their public counterparts.
22229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22230 (__get_clockfreq_via_cpuinfo): Likewise.
22231 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22232 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22233
22234 * config.h.in (HAVE_IFUNC): New #undef.
22235 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22236 was successful.
22237 * configure: Regenerated.
22238
0cae3f4b
MF
222392012-10-24 Mike Frysinger <vapier@gentoo.org>
22240
22241 * configure.in: Move READELF check to start of file.
22242 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22243 libc_cv_asm_gnu_indirect_function in the process.
22244 * configure: Regenerated.
22245
8175a253
MF
222462012-10-24 Mike Frysinger <vapier@gentoo.org>
22247
22248 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22249 send the output to /dev/null.
22250 (libc_cv_cc_with_libunwind): Likewise.
22251 (libc_cv_as_noexecstack): Likewise.
22252 * configure: Regenerate.
22253
0708a7d1
JM
222542012-10-24 Joseph Myers <joseph@codesourcery.com>
22255
10b40d85
JM
22256 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22257
0708a7d1
JM
22258 * posix/globtest.sh (TMPDIR): Do not set.
22259 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22260 (testout): Likewise.
22261
9fddec1a
AJ
222622012-10-24 Andreas Jaeger <aj@suse.de>
22263
3a8db22f
AJ
22264 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22265 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22266 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22267 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22268 posix_fadvise64, posix_fallocate64.
22269
9fddec1a
AJ
22270 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22271 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22272 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22273 Likewise.
22274 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22275 Likewise.
22276 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22277
22278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22279 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22280 <bits/fcntl-linux.h>.
22281 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22282
22283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22284 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22285 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22286 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22287 [__WORDSIZE != 64]: Likewise.
22288
ebfd1bbd
JM
222892012-10-23 Joseph Myers <joseph@codesourcery.com>
22290
03ac099f
JM
22291 * Makeconfig (run-built-tests): New variable.
22292 * Rules [$(cross-compiling) = yes]: Change condition to
22293 [$(run-built-tests) = no].
22294 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22295 to [$(run-built-tests) = yes].
22296 * elf/Makefile [$(cross-compiling) = no]: Likewise
22297 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22298 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22299 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22300 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22301 * io/Makefile [$(cross-compiling) = no]: Likewise.
22302 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22303 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22304 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22305 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22306 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22307 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22308 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22309 * string/Makefile [$(cross-compiling) = no]: Likewise.
22310
ebfd1bbd
JM
22311 * posix/Makefile ($(objpfx)globtest.out): Pass
22312 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22313 $(rtld-installed-name).
22314 * posix/globtest.sh (elf_objpfx): Remove variable.
22315 (rtld_installed_name): Likewise.
22316 (library_path): Likewise.
22317 (run_program_prefix): New variable. Use for running globtest
22318 binary.
22319
166bca24
JB
223202012-10-23 Jim Blandy <jimb@codesourcery.com>
22321 Joseph Myers <joseph@codesourcery.com>
22322
22323 * Makeconfig (host-built-program-cmd): New variable.
22324 * elf/Makefile (tst-stackguard1-ARGS): Use
22325 $(host-built-program-cmd).
22326 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22327 (tst-spawn-ARGS): Likewise.
22328 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22329
88866099
JM
223302012-10-23 Joseph Myers <joseph@codesourcery.com>
22331 Jim Blandy <jimb@codesourcery.com>
22332
22333 * Makeconfig (run-via-rtld-prefix): New variable.
22334 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22335 (built-program-cmd): Likewise.
22336
b4b4c296
AJ
223372012-10-22 Andreas Jaeger <aj@suse.de>
22338
22339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22340 __O_RSYNC if it exists, otherwise to O_SYNC.
22341
6fb54a22
JB
223422012-10-22 Jim Blandy <jimb@codesourcery.com>
22343 Joseph Myers <joseph@codesourcery.com>
22344
22345 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22346 /dev/null.
22347 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22348 from /dev/null
22349 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22350 /dev/null.
22351
481b90b9
AJ
223522012-10-22 Andreas Jaeger <aj@suse.de>
22353
2a0e2669
AJ
22354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22355 Define always.
22356 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22357
76e38f9a
AJ
22358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22359 bits/fcntl-linux.h.
22360
7cd37b43
AJ
22361 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22362 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22363
481b90b9
AJ
22364 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22365 to __O_LARGEFILE.
22366 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22367 to __O_LARGEFILE.
22368
aba75984
JB
223692012-10-21 Jim Blandy <jimb@codesourcery.com>
22370 Joseph Myers <joseph@codesourcery.com>
22371
22372 * config.make.in (NM): New variable.
22373
88d4247f
AJ
223742012-10-21 Andreas Jaeger <aj@suse.de>
22375
22376 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22377 definitions and declarations that are provided by
22378 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22379
f2eed205
L
223802012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22381
22382 [BZ #14683]
22383 * elf/Makefile (tests-static): Add tst-leaks1-static.
22384 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22385 ($(objpfx)tst-leaks1-static): New rule.
22386 ($(objpfx)tst-leaks1-static-mem): Likewise.
22387 (tst-leaks1-static-ENV): New macro.
22388 * elf/dl-open.c (dl_open_worker): Check the main application
22389 only if SHARED is defined.
22390 * elf/tst-leaks1-static.c: New file.
22391
335e6931
AJ
223922012-10-20 Andreas Jaeger <aj@suse.de>
22393
22394 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22395 generic values for Linux.
22396 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22397 and declarations that are provided by <bits/fcntl-linux.h> and
22398 include <bits/fcntl-linux.h>.
22399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22400 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22401
ac5c94d3
RM
224022012-10-20 Roland McGrath <roland@hack.frob.com>
22403
22404 * io/fcntl.h: Move include of <bits/types.h> to the top and
22405 include it unconditionally.
22406
de54b33a
L
224072012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22408
228cfb01
L
22409 * wcsmbs/Makefile (tests-ifunc): New variable.
22410 (tests): Add $(tests-ifunc).
22411 * wcsmbs/test-wcschr-ifunc.c: New file.
22412 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22413 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22414 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22415 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22416 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22417
69f07e5f
L
22418 * string/Makefile (tests-ifunc): New variable.
22419 (tests): Add $(tests-ifunc).
22420 * string/test-memccpy.c (TEST_NAME): New macro.
22421 * string/test-memchr.c (TEST_NAME): Likewise.
22422 * string/test-memcmp.c (TEST_NAME): Likewise.
22423 * string/test-memcpy.c (TEST_NAME): Likewise.
22424 * string/test-memmem.c (TEST_NAME): Likewise.
22425 * string/test-memmove.c (TEST_NAME): Likewise.
22426 * string/test-memset.c (TEST_NAME): Likewise.
22427 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22428 * string/test-stpcpy.c (TEST_NAME): Likewise.
22429 * string/test-stpncpy.c (TEST_NAME): Likewise.
22430 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22431 * string/test-strcasestr.c (TEST_NAME): Likewise.
22432 * string/test-strcat.c (TEST_NAME): Likewise.
22433 * string/test-strchr.c (TEST_NAME): Likewise.
22434 * string/test-strcmp.c(TEST_NAME): Likewise.
22435 * string/test-strcpy.c (TEST_NAME): Likewise.
22436 * string/test-strcspn.c (TEST_NAME): Likewise.
22437 * string/test-strlen.c (TEST_NAME): Likewise.
22438 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22439 * string/test-strncmp.c (TEST_NAME): Likewise.
22440 * string/test-strncpy.c (TEST_NAME): Likewise.
22441 * string/test-strnlen.c (TEST_NAME): Likewise.
22442 * string/test-strpbrk.c (TEST_NAME): Likewise.
22443 * string/test-strrchr.c (TEST_NAME): Likewise.
22444 * string/test-strspn.c (TEST_NAME): Likewise.
22445 * string/test-strstr.c (TEST_NAME): Likewise.
22446 * string/test-bcopy-ifunc.c: New file.
22447 * string/test-bzero-ifunc.c: Likewise.
22448 * string/test-memccpy-ifunc.c: Likewise.
22449 * string/test-memchr-ifunc.c: Likewise.
22450 * string/test-memcmp-ifunc.c: Likewise.
22451 * string/test-memcpy-ifunc.c: Likewise.
22452 * string/test-memmem-ifunc.c: Likewise.
22453 * string/test-memmove-ifunc.c: Likewise.
22454 * string/test-mempcpy-ifunc.c: Likewise.
22455 * string/test-memset-ifunc.c: Likewise.
22456 * string/test-rawmemchr-ifunc.c: Likewise.
22457 * string/test-stpcpy-ifunc.c: Likewise.
22458 * string/test-stpncpy-ifunc.c: Likewise.
22459 * string/test-strcasecmp-ifunc.c: Likewise.
22460 * string/test-strcasestr-ifunc.c: Likewise.
22461 * string/test-strcat-ifunc.c: Likewise.
22462 * string/test-strchr-ifunc.c: Likewise.
22463 * string/test-strchrnul-ifunc.c: Likewise.
22464 * string/test-strcmp-ifunc.c: Likewise.
22465 * string/test-strcpy-ifunc.c: Likewise.
22466 * string/test-strcspn-ifunc.c: Likewise.
22467 * string/test-strlen-ifunc.c: Likewise.
22468 * string/test-strncasecmp-ifunc.c: Likewise.
22469 * string/test-strncat-ifunc.c: Likewise.
22470 * string/test-strncmp-ifunc.c: Likewise.
22471 * string/test-strncpy-ifunc.c: Likewise.
22472 * string/test-strnlen-ifunc.c: Likewise.
22473 * string/test-strpbrk-ifunc.c: Likewise.
22474 * string/test-strrchr-ifunc.c: Likewise.
22475 * string/test-strspn-ifunc.c: Likewise.
22476 * string/test-strstr-ifunc.c: Likewise.
22477
de54b33a
L
22478 * debug/Makefile (tests-ifunc): New variable.
22479 (tests): Add $(tests-ifunc).
22480 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22481 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22482 * debug/test-stpcpy_chk-ifunc.c: New file.
22483 * debug/test-strcpy_chk-ifunc.c: Likewise.
22484
88481c16
SP
224852012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22486
22487 [BZ #13601]
22488 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22489 header is not read in.
22490
135948bd
JM
224912012-10-19 Joseph Myers <joseph@codesourcery.com>
22492
89f1c388
JM
22493 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22494 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22495 directly. Pass built executable to script as
22496 $(built-program-cmd).
22497 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22498 $testprogram without using LD_LIBRARY_PATH and $ldso.
22499
e40a0d21
JM
22500 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22501 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22502 $(rtld-installed-name).
22503 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22504 (rtld_installed_name): Likewise.
22505 (library_path): Likewise.
22506 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22507 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22508 $(run-program-prefix) to tst-tables.sh.
22509 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22510 it to run tst-table-from and tst-table-to.
22511 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22512 Pass it to tst-table.sh.
22513 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22514 $(run-program-prefix) to tst-gettext.sh.
22515 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22516 tst-translit.sh.
22517 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22518 tst-gettext2.sh.
22519 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22520 to run tst-gettext.
22521 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22522 to run tst-gettext2.
22523 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22524 to run tst-translit.
22525 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22526 $(run-program-prefix) to tst-mtrace.sh.
22527 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22528 to run tst-mtrace.
22529 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22530 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22531 $(rtld-installed-name).
22532 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22533 (rtld_installed_name): Likewise.
22534 (run_program_prefix): New variable. Use it to run wordexp-test.
22535
728e272a
JM
22536 * Makeconfig (ARCH): Remove all definitions.
22537 (machine): Likewise.
22538 [ARCH]: Remove conditional code.
22539 [!objdir]: Give error.
22540 [!objdir] (objpfx): Remove.
22541 [!objdir] (common-objpfx): Likewise.
22542 [!objdir] (common-objdir): Likewise.
22543 * configure.in (config_makefile): Remove. Hardcode Makefile in
22544 AC_CONFIG_FILES call.
22545 * configure: Regenerated.
22546
d528cdcf
JM
22547 [BZ #13888]
22548 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22549 or TMPDIR.
22550 (testout): Likewise.
22551
135948bd
JM
22552 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22553 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22554 $(rtld-installed-name).
22555 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22556 (rtld_installed_name): Likwise.
22557 (runit): Remove function.
22558 (run_getconf): New variable, Use it for running getconf binary.
22559
38c78296
L
225602012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22561
22562 [BZ #14716]
22563 * string/test-memmem.c (check_result): New function.
22564 (do_one_test): Use it.
22565 (check1): New function.
22566 (test_main): Use it.
22567
d077f65f
MT
225682012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22569
22570 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22571
ced52c71
JM
225722012-10-18 Joseph Myers <joseph@codesourcery.com>
22573
22574 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22575 (_G_LSEEK64): Likewise.
22576 (_G_MMAP64): Likewise.
22577 (_G_FSTAT64): Likewise.
22578 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22579 (_G_LSEEK64): Likewise.
22580 (_G_MMAP64): Likewise.
22581 (_G_FSTAT64): Likewise.
22582 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22583 unconditional. Call __mmap64 directly.
22584 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22585 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22586 __lseek64 directly.
22587 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22588 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22589 __mmap64 directly.
22590 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22591 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22592 __lseek64 directly.
22593 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22594 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22595 __lseek64 directly.
22596 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22597 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22598 __lseek64 directly.
22599 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22600 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22601 __fxstat64 directly.
22602 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22603 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22604 unconditional.
22605 (freopen64) [!_G_OPEN64]: Remove conditional code.
22606 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22607 unconditional.
22608 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22609 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22610 unconditional.
22611 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22612 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22613 unconditional.
22614 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22615 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22616 unconditional.
22617 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22618 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22619 unconditional.
22620 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22621 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22622 unconditional.
22623 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22624 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22625 unconditional.
22626 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22627
b741de23
SP
226282012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22629
22630 [BZ #12140]
22631 * manual/memory.texi (Malloc Tunable Parameters): Add note
22632 about free list pointers overwriting some perturb bytes.
22633 Wording suggested by Roland McGrath.
22634
f9b9d9c9
JM
226352012-10-17 Joseph Myers <joseph@codesourcery.com>
22636
22637 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22638 (lgamma_test): Likewise.
22639 (tgamma_test): Likewise.
22640
172a631a
FW
226412012-10-16 Florian Weimer <fweimer@redhat.com>
22642
22643 [BZ #14700]
22644 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22645 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22646
e9f37252
MK
226472012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22648
22649 * NEWS: Mention BZ #14716.
22650 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22651 when removing AVAILABLE1_USES_J macro.
22652
d394eb74
L
226532012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22654
22655 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22656 (__bswap_64): __uint64_t for unsigned 64-bit int.
22657
ca38dc17
AS
226582012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22659
22660 * include/string.h (memmem): Declare libc hidden alias.
22661 * string/memmem.c (memmem): Define libc hidden alias.
22662 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22663 __read, __close instead of open, read, close.
22664
9a387d1f
L
226652012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22666
ac49ecaf
L
22667 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22668 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22669 global and hidden.
22670 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22671 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22672 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22673 Likewise.
22674 (__rawmemchr_sse2): Likewise.
22675 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22676 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22677 (__strchr_sse2): Likewise.
22678 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22679 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22680 (__strcasecmp_sse2): Likewise.
22681 (__strncasecmp_sse2): Likewise.
22682 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22683 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22684 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22685 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22686 (__strrchr_sse2): Likewise.
22687 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22688 ifunc-impl-list.c.
22689 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22690 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22691 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22692 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22693 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22694 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22695 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22696 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22697 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22698 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22699 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22700 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22701 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22702 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22703 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22704 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22705 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22706 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22707 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22708 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22709 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22710 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22711 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22712 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22713 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22714 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22715 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22716 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22717 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22718 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22719
b090e8ea
L
22720 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22721 global and hidden.
22722 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22723 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22724 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22725 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22726 Likewise.
22727 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22728 Likewise.
22729 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22730 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22731 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22732 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22733 ifunc-impl-list.c.
22734 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22735 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22736 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22737 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22738 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22739 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22740 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22741 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22742 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22743 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22744 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22745 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22746 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22747 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22748 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22749 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22750 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22751 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22752 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22753 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22754 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22755 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22756 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22757 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22758 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22759 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22760 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22761 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22762 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22763 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22764 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22765 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22766 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22767 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22768 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22769 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22770 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22771 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22772 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22773 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22774 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22775
11dd4af6
L
22776 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22777 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22778 * include/ifunc-impl-list.h: New file.
22779 * misc/ifunc-impl-list.c: Likewise.
22780 * misc/Makefile (routines): Add ifunc-impl-list.
22781 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22782 * string/test-string.h: Include <ifunc-impl-list.h>.
22783 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22784 impl_array): New variables.
22785 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22786 are defined.
22787 (test_init): Call __libc_ifunc_impl_list to initialize
22788 func_list if TEST_IFUNC and TEST_NAME are defined.
22789
9a387d1f
L
22790 * string/Makefile (strop-tests): Add bcopy and bzero.
22791 * string/test-bcopy.c: New file.
22792 * string/test-bzero.c: Likewise.
22793 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22794 defined.
22795 * string/test-memset.c: Support bzero test if TEST_BZERO is
22796 defined.
22797 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22798 __libc_memmove.
22799 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22800 __libc_memset.
22801 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22802 of memset.
22803
472371b9
JM
228042012-10-10 Joseph Myers <joseph@codesourcery.com>
22805
1e4a9536
JM
22806 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22807 * configure: Regenerated.
22808
d173d12e
JM
22809 * Makeconfig (+link-static-before-libc): Don't include
22810 $(link-static-libc).
22811
472371b9
JM
22812 * libio/libio.h (_IO_pos_t): Remove.
22813
89a3ad0b
AO
228142012-10-10 Alexandre Oliva <aoliva@redhat.com>
22815
22816 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22817 McGrath.
22818
e7451425
AO
228192012-10-10 Alexandre Oliva <aoliva@redhat.com>
22820
22821 * crypt/crypt-entry.c: Include fips-private.h.
22822 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22823 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22824 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22825 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22826
4ba74a35
AO
228272012-10-10 Alexandre Oliva <aoliva@redhat.com>
22828
22829 * crypt/crypt-private.h: Include stdbool.h.
22830 (_ufc_setup_salt_r): Return bool.
22831 * crypt/crypt-entry.c: Include errno.h.
22832 (__crypt_r): Return NULL with EINVAL for bad salt.
22833 * crypt/crypt_util.c (bad_for_salt): New.
22834 (_ufc_setup_salt_r): Check that salt is long enough and within
22835 the specified alphabet.
22836 * crypt/badsalttest.c: New file.
22837 * crypt/Makefile (tests): Add it.
22838 ($(objpfx)badsalttest): New.
22839
f96f1242
MK
228402012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22841
22842 * NEWS: Add entry for BZ #14602.
22843
0e8e0c1c
JM
228442012-10-09 Joseph Myers <joseph@codesourcery.com>
22845
22846 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22847 type-generic.
22848 * math/libm-test.inc: Update comment listing what functions and
22849 macros are tested.
22850 (isgreater_test): New function.
22851 (isgreaterequal_test): Likewise.
22852 (isless_test): Likewise.
22853 (islessequal_test): Likewise.
22854 (islessgreater_test): Likewise.
22855 (isunordered_test): Likewise.
22856 (main): Call the new functions.
22857
273edc5e
RM
228582012-10-09 Roland McGrath <roland@hack.frob.com>
22859
b8493de0
RM
22860 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22861 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22862 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22863 * sysdeps/i386/configure: Regenerated.
22864 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22865 * sysdeps/mach/configure: Regenerated.
22866 * sysdeps/mach/hurd/configure: Regenerated.
22867 * sysdeps/powerpc/configure: Regenerated.
22868 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22869 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22870 * sysdeps/s390/s390-32/configure: Regenerated.
22871 * sysdeps/s390/s390-64/configure: Regenerated.
22872 * sysdeps/sh/configure: Regenerated.
22873 * sysdeps/sparc/configure: Regenerated.
22874 * sysdeps/unix/sysv/linux/configure: Regenerated.
22875 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22876 * sysdeps/x86_64/configure: Regenerated.
22877
273edc5e
RM
22878 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22879 defined. Don't check if MAP is NULL.
22880
c8450f70
JM
228812012-10-09 Joseph Myers <joseph@codesourcery.com>
22882
22883 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22884 (_G_stat64): Likewise.
22885 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22886 (_G_stat64): Likewise.
22887 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22888 instead of struct _G_stat64.
22889 * libio/fileops.c (mmap_remap_check): Likewise.
22890 (decide_maybe_mmap): Likewise.
22891 (_IO_new_file_seekoff): Likewise.
22892 (_IO_file_stat): Likewise.
22893 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22894 _G_off64_t.
22895 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22896 instead of struct _G_stat64.
22897 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22898
57e605ba
MK
228992012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22900
22901 [BZ #14602]
22902 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22903 Replace with ...
22904 (CHECK_EOL): New macro.
22905 (two_way_short_needle): Check beginning of haystack for EOL. Use
22906 CHECK_EOL.
22907 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22908 Replace with CHECK_EOL.
22909 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22910 Replace with CHECK_EOL.
22911
ef1bb361
JM
229122012-10-08 Joseph Myers <joseph@codesourcery.com>
22913
22914 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22915 type-generic.
22916 * math/libm-test.inc: Update comment listing what functions and
22917 macros are tested.
22918 (finite_test): New function.
22919 (isinf_test): Likewise.
22920 (isnan_test): Likewise.
22921 (fpclassify_test): Test subnormal input.
22922 (isfinite_test): Likewise.
22923 (isnormal_test): Likewise.
22924 (main): Call the new functions.
22925
55f11534
JN
229262012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22927
22928 [BZ #14660]
22929 * Makerules (%.dynsym): Force C locale when running
22930 $(OBJDUMP) --dynamic-syms.
22931
1ab29350
AS
229322012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22933
22934 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22935 <stdint.h>.
22936
f1ecb7ef
DM
229372012-10-06 David S. Miller <davem@davemloft.net>
22938
22939 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22940 upper 32-bits of the length value in %o2 since we use branch-on-register
22941 tests which consider the entire 64-bit register.
22942
5d41d91a
L
229432012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22944
22945 * string/test-strstr.c (check2): Add a test for page boundary.
22946
3baddb72
DM
229472012-10-05 David S. Miller <davem@davemloft.net>
22948
22949 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22950 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22951 file.
22952 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22953 sysdep_routines.
22954 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22955 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22956 and bzero when HWCAP_SPARC_CRYPTO is present.
22957
9cee5585
L
229582012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22959
d7e0dab9
L
22960 [BZ #14602]
22961 * string/test-strstr.c (check2): New function.
22962 (test_main): Call check2.
22963
03759f47
L
22964 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22965 and bug-strchr1.
22966 * string/bug-strcasestr1.c (do_test): Moved to ...
22967 * string/test-strcasestr.c (check1): Here. New function.
22968 (do_one_test): Break out result checking code into ...
22969 (check_result): This. New function.
22970 (do_one_test): Call check_result.
22971 (test_main): Call check1.
22972 * string/bug-strchr1.c (do_test): Moved to ...
22973 * string/test-strchr.c (check1): Here. New function.
22974 (do_one_test): Break out result checking code into ...
22975 (check_result): This. New function.
22976 (do_one_test): Call check_result.
22977 (test_main): Call check1.
22978 * string/bug-strstr1.c (main): Moved to ...
046f153e 22979 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22980 (do_one_test): Break out result checking code into ...
22981 (check_result): This. New function.
22982 (do_one_test): Call check_result.
22983 (test_main): Call check1.
22984 * string/bug-strcasestr1.c: Removed.
22985 * string/bug-strchr1.c: Likewise.
22986 * string/bug-strstr1.c: Likewise.
22987
53cea63e
L
22988 * elf/Makefile (dl-routines): Add hwcaps.
22989 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22990 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22991 (_dl_important_hwcaps): Moved to ...
22992 * elf/dl-hwcaps.c: Here. New file.
22993 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22994
9cee5585 22995 [BZ #14557]
bb859b06
L
22996 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22997 if IS_IN_rtld isn't defined.
22998
9cee5585
L
22999 * elf/dl-support.c (_dl_sysinfo_map): New.
23000 Include "get-dynamic-info.h" and "setup-vdso.h".
23001 (_dl_non_dynamic_init): Call setup_vdso.
23002 * elf/dynamic-link.h: Don't include <assert.h>.
23003 (elf_get_dynamic_info): Moved to ...
23004 * elf/get-dynamic-info.h: Here. New file.
23005 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23006 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23007 * elf/setup-vdso.h: Here. New file.
23008 * elf/rtld.c: Include "setup-vdso.h".
23009 (dl_main): Call setup_vdso.
23010
23c31b76
JM
230112012-10-05 Joseph Myers <joseph@codesourcery.com>
23012
28234b07
JM
23013 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23014 creal in comment listing functions tested. List finite, isinf,
23015 isnan, isless, islessequal, isgreater, isgreaterequal,
23016 islessgreater, isunordered, lgamma_r and pow10 as functions and
23017 macros not tested. Mention which functions not tested are aliases
23018 for other functions. Fix typo. Note that signs of NaNs are not
23019 tested.
23020
23c31b76
JM
23021 * scripts/config.guess: Update from config.git.
23022 * scripts/config.sub: Likewise.
23023
9043e228
RM
230242012-10-04 Roland McGrath <roland@hack.frob.com>
23025
23026 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23027 * misc/madvise.c (madvise): Renamed to __madvise.
23028 Make madvise a weak alias.
23029 * include/sys/mman.h: Declare __madvise.
23030 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23031 * sysdeps/unix/syscalls.list
23032 (madvise): Make __madvise the strong name, and madvise a weak alias.
23033 * sysdeps/unix/sysv/linux/syscalls.list
23034 (madvise, mmap): Remove redundant entries.
23035 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23036 * malloc/malloc.c (mtrim): Likewise.
23037 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23038
f57f8055
RM
230392012-10-03 Roland McGrath <roland@hack.frob.com>
23040
23041 * sysdeps/mach/hurd/dl-cache.c: File removed.
23042 * config.h.in (USE_LDCONFIG): New #undef.
23043 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23044 * configure: Regenerated.
23045 * elf/Makefile (dl-routines): Add dl-cache only under
23046 [$(use-ldconfig) = yes].
23047 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23048 cache on [USE_LDCONFIG].
23049 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23050 [USE_LDCONFIG].
23051 * elf/rtld.c (dl_main): Likewise.
23052
5bb0c10a
PT
230532012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23054
23055 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23056 _SC_LEVEL4_CACHE_LINESIZE.
23057
010188c6
RM
230582012-10-03 Roland McGrath <roland@hack.frob.com>
23059
23060 * sysdeps/unix/bsd/confstr.h: File removed.
23061
b6c5ec07
AO
230622012-10-02 Alexandre Oliva <aoliva@redhat.com>
23063
23064 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23065 sys/sdt-config.h.
23066
408223d4
RM
230672012-10-02 Roland McGrath <roland@hack.frob.com>
23068
23069 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23070 Make 'mapoff' field ElfW(Off) rather than off_t.
23071
bb9510dc
DL
230722012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23073
fc997c6e
DL
23074 * nscd/Makefile: Remove nscd-cflags and all its users.
23075 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23076 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23077
bb9510dc
DL
23078 [BZ #10631]
23079 * malloc.c (malloc_printerr): Clarify error message.
23080
05699367
L
230812012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23082
23083 [BZ #14648]
23084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23085 Set bit_FMA_Usable if FMA is supported.
23086 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23087 macro.
23088 (bit_FMA4_Usable): Updated.
23089 (index_FMA_Usable): New macro.
23090 (CPUID_FMA): Likewise
23091 (HAS_FMA): Defined with bit_FMA_Usable.
23092
51367701
RM
230932012-10-01 Roland McGrath <roland@hack.frob.com>
23094
23095 * bits/types.h (__swblk_t): Type removed.
23096 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23097 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23099 (__SWBLK_T_TYPE): Likewise.
23100 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23101 (__SWBLK_T_TYPE): Likewise.
23102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23103 (__SWBLK_T_TYPE): Likewise.
23104 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23105 (__SWBLK_T_TYPE): Likewise.
23106
4d57bf63 231072012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23108 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23109
23110 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23111 (xdr_mapname): Use YPMAXMAP as maxsize.
23112 (xdr_peername): Use YPMAXPEER as maxsize.
23113 (xdr_keydat): Use YPAXRECORD as maxsize.
23114 (xdr_valdat): Use YPMAXRECORD as maxsize.
23115
93c65d43
RM
231162012-10-01 Roland McGrath <roland@hack.frob.com>
23117
497a03d6
RM
23118 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23119
93c65d43
RM
23120 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23121 * csu/init-first.c: ... here.
23122 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23123 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23124 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23125 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23126 * sysdeps/i386/init-first.c: File removed.
23127 * sysdeps/sh/init-first.c: File removed.
23128
bec749fd
JM
231292012-10-01 Joseph Myers <joseph@codesourcery.com>
23130
23131 [BZ #14645]
23132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23133 if x * y might underflow to zero and z is zero.
23134 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23135 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23136 * math/libm-test.inc (min_subnorm_value): New variable.
23137 (fma_test): Add more tests.
23138 (fma_test_towardzero): Likewise.
23139 (fma_test_downward): Likewise
23140 (fma_test_upward): Likewise.
23141 (initialize): Set min_subnorm_value.
23142
8ec5b013
JM
231432012-09-29 Joseph Myers <joseph@codesourcery.com>
23144
23145 [BZ #14638]
23146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23147 0 + 0.
23148 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23149 mode for addition resulting in exact zero.
23150 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23151 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23152 exact 0 + 0.
23153 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23155 * math/libm-test.inc (fma_test): Add more tests.
23156 (fma_test_towardzero): New function.
23157 (fma_test_downward): Likewise.
23158 (fma_test_upward): Likewise.
23159 (main): Call the new functions.
23160
b1fa802e
DM
231612012-09-28 David S. Miller <davem@davemloft.net>
23162
23163 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23164
d3b9fd9e
RM
231652012-09-28 Roland McGrath <roland@hack.frob.com>
23166
ea4d37b3
RM
23167 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23168 instead of SIGALRM.
23169
ac51c949
RM
23170 * sysdeps/gnu/_G_config.h: Moved to ...
23171 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23172 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23173 * sysdeps/generic/_G_config.h: ... here.
23174
28c195f7
RM
23175 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23176
848917f9
RM
23177 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23178
6bacf05b
RM
23179 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23180 Conditionalize target on [libnss_test1.so-version].
23181
91363dbb
RM
23182 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23183
cc87f7d8
RM
23184 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23185 (elfobjdir): Move out of conditionals.
23186
b1c608fe
RM
23187 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23188 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23189 (__nss_lookup_function): Conditionalize label remove_from_tree on
23190 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23191
1d9a6d96
DM
231922012-09-28 David S. Miller <davem@davemloft.net>
23193
23194 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23195 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23196 file.
23197 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23198 sysdep_routines.
23199 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23200 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23201 when HWCAP_SPARC_CRYPTO is present.
23202
72581615
PT
232032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23204
23205 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23206
715a900c
JL
232072012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23208
23209 [BZ #6530]
23210 * stdio-common/vfprintf.c (process_string_arg): Revert
23211 2000-07-22 change.
23212
232132011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23214
23215 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23216 for testcase.
23217 * stdio-common/tst-sprintf.c: Include <locale.h>
23218 (main): Test sprintf's handling of incomplete multibyte
23219 characters.
23220
9bac1d86
L
232212012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23222
23223 * elf/dl-runtime.c (VERSYMIDX): Removed.
23224 * elf/dl-version.c (VERSYMIDX): Likewise.
23225 * elf/do-rel.h (VERSYMIDX): Likewise.
23226 (VALIDX): Likewise.
23227 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23228 * elf/rtld.c (VALIDX): Likewise.
23229 (ADDRIDX): Likewise.
9bac1d86
L
23230 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23231 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23232 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23233 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23234 (VALIDX): Likewise.
23235 (ADDRIDX): Likewise.
9bac1d86 23236
b31606c0
PT
232372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23238
23239 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23240
11541177
JL
232412012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23242
23243 [BZ #11438]
23244 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23245 to global scope.
23246 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23247 addresses are in the same scope as 192.0.2/24.
23248 * posix/gai.conf: Document new scope table defaults.
23249
adb26fae
SP
232502012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23251
23252 [BZ #5298]
23253 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23254 for ftell. Compute offsets from write pointers instead.
23255 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23256
4573c6b0
SP
232572012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23258
23259 [BZ #14543]
23260 * libio/Makefile (tests): New test case tst-fseek.
23261 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23262 combination works in wide mode.
23263 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23264 state when the external buffer state changes.
23265
aa9bbfe6
DM
232662012-09-27 David S. Miller <davem@davemloft.net>
23267
23268 [BZ #14376]
23269 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23270 pass reloc->r_addend in as the 'high' argument to
23271 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23272
784421e7
DM
23273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23274
c39bc8b8
PT
232752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23276
23277 * rt/tst-aio2.c: Include <pthread.h>.
23278 * rt/tst-aio3.c: Likewise.
23279
1ccc2399
SE
232802012-09-27 Steve Ellcey <sellcey@mips.com>
23281
23282 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23283
31ed4153
L
232842012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23285
25f5f885
L
23286 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23287 contents on [SHARED].
31ed4153 23288
b7bfe116
MP
232892012-09-26 Marek Polacek <polacek@redhat.com>
23290
23291 [BZ #14530]
23292 [BZ #13741]
23293 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23294 for C++ and GCC <4.3 as well as for non GCC compilers.
23295
43c4edba
MT
232962012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23297
23298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23299
6a1bf82f
RM
233002012-09-25 Roland McGrath <roland@hack.frob.com>
23301
23302 * Makefile.in (all, install): Declare with .PHONY.
23303 Reported by Michael Hope <michael.hope@linaro.org>.
23304
8ad11b9a
TMQMF
233052012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23306
23307 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23308 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23309 system header.
23310 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23311 Likewise.
23312 (sydep_routines): Add the new and the internal functions.
23313 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23314 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23316 (GLIBC_2.17): Add the new function.
23317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23318 (GLIBC_2.17): Likewise.
23319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23320 (GLIBC_2.17): Likewise.
23321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23322 (GLIBC_2.17): Likewise.
23323 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23324
7e2fca8d
AM
233252012-09-25 Alan Modra <amodra@gmail.com>
23326
23327 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23328 Add release barrier before setting once_control to say
23329 initialisation is done. Add hints on lwarx. Use macro in
23330 place of isync.
23331 (clear_once_control): Add release barrier.
23332
b87c4b24
JM
233332012-09-25 Joseph Myers <joseph@codesourcery.com>
23334
d032e0d2
JM
23335 [BZ #13629]
23336 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23337 specially.
23338 * math/s_clog10.c (__clog10): Likewise.
23339 * math/s_clog10f.c (__clog10f): Likewise.
23340 * math/s_clog10l.c (__clog10l): Likewise.
23341 * math/s_clogf.c (__clogf): Likewise.
23342 * math/s_clogl.c (__clogl): Likewise.
23343 * math/Makefile (libm-calls): Add x2y2m1.
23344 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23345 (__x2y2m1): Likewise.
23346 (__x2y2m1l): Likewise.
23347 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23348 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23351 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23352 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23353 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23354 * sysdeps/i386/fpu/libm-test-ulps: Update.
23355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23356
b87c4b24
JM
23357 [BZ #14621]
23358 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23359 int as type of variable DEPTH.
23360 (glob): Use size_t instead of int as type of variables NEWCOUNT
23361 and OLD_PATHC.
23362
6d3bf199
LD
233632012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23364
22bf5c17
LD
23365 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23366 Add s_sincosf-sse2.
23367 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23368 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23369 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23370 macros for using routine as __sincosf_ia32.
23371 Use macro for function declaration and weak_alias.
23372 * sysdeps/i386/fpu/libm-test-ulps: Update.
23373
23374 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23376
23377 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23378 subnormal argument.
23379 * math/s_cexpf.c (__cexpf): Likewise.
23380 * math/s_csinf.c (__csinf): Likewise.
23381 * math/s_csinhf.c (__csinhf): Likewise.
23382 * math/s_ctanf.c (__ctanf): Likewise.
23383 * math/s_ctanhf.c (__ctanhf): Likewise.
23384 * math/s_ccosh.c (__ccoshf): Likewise.
23385 * math/s_cexp.c (__cexpl): Likewise.
23386 * math/s_csin.c (__csin): Likewise.
23387 * math/s_csinh.c (__csinh): Likewise.
23388 * math/s_ctan.c (__ctan): Likewise.
23389 * math/s_ctanh.c (ctanh): Likewise.
23390 * math/s_ccoshl.c (__ccoshl): Likewise.
23391 * math/s_cexpl.c (__cexpl): Likewise.
23392 * math/s_csinl.c (__csinl): Likewise.
23393 * math/s_csinhl.c (__csinhl): Likewise.
23394 * math/s_ctanl.c (__ctanl): Likewise.
23395 * math/s_ctanhl.c (__ctanhl): Likewise.
23396
203e5603
JM
233972012-09-25 Joseph Myers <joseph@codesourcery.com>
23398
23399 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23400 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23401 (_IO_off_t): Define to __off_t, not _G_off_t.
23402 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23403 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23404 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23405 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23406 type of __dummy and __dummy2 fields.
23407 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23408 (_G_ssize_t): Likewise.
23409 (_G_off_t): Likewise.
23410 (_G_pid_t): Likewise.
23411 (_G_uid_t): Likewise.
23412 (_G_wchar_t): Likewise.
23413 (_G_wint_t): Likewise.
23414 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23415 (_G_ssize_t): Likewise.
23416 (_G_off_t): Likewise.
23417 (_G_pid_t): Likewise.
23418 (_G_uid_t): Likewise.
23419 (_G_wchar_t): Likewise.
23420 (_G_wint_t): Likewise.
23421 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23422 (_G_ssize_t): Likewise.
23423 (_G_off_t): Likewise.
23424 (_G_pid_t): Likewise.
23425 (_G_uid_t): Likewise.
23426 (_G_wchar_t): Likewise.
23427 (_G_wint_t): Likewise.
23428
9fab36eb
SP
234292012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23430
23431 * malloc/arena.c: Include malloc-sysdep.h.
23432 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23433 is sufficient to shrink the heap or an unmap is needed.
23434 * sysdeps/generic/malloc-sysdep.h: New file. Define
23435 new function check_may_shrink_heap.
23436 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23437 new function check_may_shrink_heap.
23438
2b4f00d1
SP
234392012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23440
23441 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23442 comments.
23443
9a9028b1
DL
234442012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23445
57c69bef
DL
23446 * catgets/test-gencat.sh: Add "set -e".
23447 * elf/tst-pathopt.sh: Likewise.
23448 * grp/tst_fgetgrent.sh: Likewise.
23449 * iconvdata/run-iconv-test.sh: Likewise.
23450 * intl/tst-gettext.sh: Likewise.
23451 * intl/tst-gettext2.sh: Likewise.
23452 * intl/tst-gettext4.sh: Likewise.
23453 * intl/tst-gettext6.sh: Likewise.
23454 * intl/tst-translit.sh: Likewise.
23455 * io/ftwtest-sh: Likewise.
23456 * libio/test-freopen.sh: Likewise.
23457 * malloc/tst-mtrace.sh: Likewise.
23458 * posix/globtest.sh: Likewise.
23459 * posix/tst-getconf.sh: Likewise.
23460 * posix/wordexp-tst.sh: Likewise.
23461 * stdio-common/tst-printf.sh: Likewise.
23462 * stdio-common/tst-unbputc.sh: Likewise.
23463 * stdlib/tst-fmtmsg.sh: Likewise.
23464 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23465 * catgets/Makefile: Do not specify -e option when running
23466 testsuite shell scripts.
23467 * elf/Makefile: Likewise.
23468 * grp/Makefile: Likewise.
23469 * iconvdata/Makefile: Likewise.
23470 * intl/Makefile: Likewise.
23471 * io/Makefile: Likewise.
23472 * libio/Makefile: Likewise.
23473 * malloc/Makefile: Likewise.
23474 * posix/Makefile: Likewise.
23475 * stdio-common/Makefile: Likewise.
23476 * stdlib/Makefile: Likewise.
23477 * sysdeps/x86_64/Makefile: Likewise.
23478
9a9028b1
DL
23479 * io/ftwtest-sh: Add copyright header.
23480 * posix/globtest.sh: Likewise.
23481 * posix/tst-getconf.sh: Likewise.
23482 * posix/wordexp-tst.sh: Likewise.
23483 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23484
ced6f16e
L
234852012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23486
94b32c39
L
23487 [BZ #13679]
23488 * Makeconfig (+link): Defined as $(+link-static) if
23489 $(build-shared) isn't yes.
23490 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23491 isn't yes.
23492 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23493
189e935b
L
23494 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23495
ced6f16e
L
23496 [BZ #14562]
23497 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23498 new chunk size with MALLOC_ALIGN_MASK.
23499
a9f8e53a
JM
235002012-09-24 Joseph Myers <joseph@codesourcery.com>
23501
23502 [BZ #5044]
23503 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23504 <rounding-mode.h>.
23505 (__printf_fphex): Determine rounding using get_rounding_mode and
23506 round_away.
23507 * stdio-common/tst-printf-round.c (struct hex_test): New
23508 structure.
23509 (hex_tests): New variable.
23510 (test_hex_in_one_mode): New function.
23511 (do_test): Also run tests for hex float output.
23512
43153109
JM
235132012-09-21 Joseph Myers <joseph@codesourcery.com>
23514
23515 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23516 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23517 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23518 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23519 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23520 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23521 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23522 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23523
8a26625d
JM
235242012-09-20 Joseph Myers <joseph@codesourcery.com>
23525
23526 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23527 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23528 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23529 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23530
f3fd569c
DL
235312012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23532
23533 [BZ #14579]
23534 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23535 mode only.
23536 * elf/tst-rtld-load-self.sh: New test.
23537 * elf/Makefile: Run it.
23538
63bbedd4
JM
235392012-09-18 Joseph Myers <joseph@codesourcery.com>
23540
23541 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23542 (tst-writev-ENV): Remove.
23543 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23544
626f8b6a
CM
235452012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23546
23547 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23548
b7aaa4d6
JM
235492012-09-17 Joseph Myers <joseph@codesourcery.com>
23550
23551 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23552 unconditional.
23553 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23554 Likewise.
23555 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23556 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23557 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23558 Likewise.
23559
65513990
L
235602012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23561
23562 [BZ #14587]
23563 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23564 * config.make.in (have-cpp-asm-debuginfo): Removed.
23565 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23566 * configure: Regenerated.
23567
784761be
JM
235682012-09-14 Joseph Myers <joseph@codesourcery.com>
23569
23570 [BZ #5044]
23571 * stdio-common/printf_fp.c: Include <stdbool.h> and
23572 <rounding-mode.h>.
23573 (___printf_fp): Determine rounding using get_rounding_mode and
23574 round_away.
23575 * stdio-common/tst-printf-round.c: New file.
23576 * stdio-common/Makefile (tests): Add tst-printf-round.
23577 (link-libm): New variable.
23578 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23579
9503345f
L
235802012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23581
23582 [BZ #14576]
23583 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23584 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23585 Likewise.
23586 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23587 Likewise.
23588
ad35fc00
JM
235892012-09-13 Joseph Myers <joseph@codesourcery.com>
23590
23591 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23592 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23593 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23594 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23595
6c9b0f68
JM
235962012-09-12 Joseph Myers <joseph@codesourcery.com>
23597
23598 [BZ #14518]
23599 * include/rounding-mode.h: New file.
23600 * sysdeps/generic/get-rounding-mode.h: Likewise.
23601 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23602 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23603 (MAX_VALUE): New macro.
23604 (MIN_VALUE): Likewise.
23605 (overflow_value): New function.
23606 (underflow_value): Likewise.
23607 (round_and_return): Use overflow_value and underflow_value to
23608 determine return values in overflow and underflow cases. Use
23609 round_away to determine rounding depending on rounding mode.
23610 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23611 determine return values in overflow and underflow cases.
23612 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23613 (struct test_results): New structure.
23614 (struct test): Use struct test_results to store expected results
23615 for all rounding modes.
23616 (TEST): Include expected results for all rounding modes.
23617 (test_in_one_mode): New function.
23618 (do_test): Use test_in_one_mode to compute and check results.
23619 Check results for all rounding modes.
23620 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23621 $(link-libm).
23622
19fcedd5
AM
236232012-12-09 Allan McRae <allan@archlinux.org>
23624
1e9d84cd 23625 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23626
8bbfd2f1
JM
236272012-09-11 Joseph Myers <joseph@codesourcery.com>
23628
23629 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23630 (_G_int32_t): Likewise.
23631 (_G_uint16_t): Likewise.
23632 (_G_uint32_t): Likewise.
23633 (_G_HAVE_BOOL): Likewise.
23634 (_G_HAVE_ATEXIT): Likewise.
23635 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23636 (_G_HAVE_IO_FILE_OPEN): Likewise.
23637 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23638 (_G_int32_t): Likewise.
23639 (_G_uint16_t): Likewise.
23640 (_G_uint32_t): Likewise.
23641 (_G_HAVE_BOOL): Likewise.
23642 (_G_HAVE_ATEXIT): Likewise.
23643 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23644 (_G_HAVE_IO_FILE_OPEN): Likewise.
23645 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23646 (_G_int32_t): Likewise.
23647 (_G_uint16_t): Likewise.
23648 (_G_uint32_t): Likewise.
23649 (_G_HAVE_BOOL): Likewise.
23650 (_G_HAVE_ATEXIT): Likewise.
23651 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23652 (_G_HAVE_IO_FILE_OPEN): Likewise.
23653
b1dc5912
L
236542012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23655
23656 * csu/libc-tls.c: Update copyright years.
23657
0e886ef9
JM
236582012-09-10 Joseph Myers <joseph@codesourcery.com>
23659
28361c5e
JM
23660 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23661 [!_G_USING_THUNKS]: Remove conditional code.
23662 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23663 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23664
0e886ef9
JM
23665 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23666 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23667 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23668 (_G_VTABLE_LABEL_PREFIX): Likewise.
23669 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23670 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23671 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23672 (_G_VTABLE_LABEL_PREFIX): Likewise.
23673 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23674 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23675 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23676 (_G_VTABLE_LABEL_PREFIX): Likewise.
23677 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23678
bcba7aa2
L
236792012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23680
23681 * libio/Makefile: Include ../Makeconfig before tests.
23682 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23683 only if $(build-shared) is yes.
23684
06585ee8
L
23685 * iconv/gconv_db.c: Update copyright years.
23686
80ccd52c
LD
236872012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23688
23689 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23690 unwind info if defined PIC. Fix special cases description.
23691 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23692
23693 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23694 DP_HI_MASK entry.
23695 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23696
691bc9c1
L
236972012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23698
3d9b46b3
L
23699 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23700
de2139a9
L
23701 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23702 is NULL.
23703
5ca78dd0
L
23704 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23705 (LDLIBS-tst-chk4): This.
23706 (LDFLAGS-tst-chk5): Renamed to ...
23707 (LDLIBS-tst-chk5): This.
23708 (LDFLAGS-tst-chk6): Renamed to ...
23709 (LDLIBS-tst-chk6): This.
23710 (LDFLAGS-tst-lfschk4): Renamed to ...
23711 (LDLIBS-tst-lfschk4): This.
23712 (LDFLAGS-tst-lfschk5): Renamed to ...
23713 (LDLIBS-tst-lfschk5): This.
23714 (LDFLAGS-tst-lfschk6): Renamed to ...
23715 (LDLIBS-tst-lfschk6): This.
23716
691bc9c1
L
23717 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23718 on $(common-objpfx)soversions.mk.
23719
65cafb1c
JM
237202012-09-07 Joseph Myers <joseph@codesourcery.com>
23721
23722 [BZ #10014]
23723 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23724 example host name.
23725
c78ab094
SP
237262012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23727
23728 * malloc/arena.c (arena_get_retry): New function that gets
23729 another arena for the caller to try its request on.
23730 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23731 current arena cannot fulfill the request.
23732 (__libc_memalign): Likewise.
23733 (__libc_memalign): Likewise.
23734 (__libc_pvalloc): Likewise.
23735 (__libc_calloc): Likewise.
23736
01f49f59
JT
237372012-09-05 John Tobey <john.tobey@gmail.com>
23738
23739 [BZ #13542]
23740 * manual/arith.texi (Operations on Complex): Fix description
23741 of carg branch cut.
23742
4c23fed5
JM
237432012-09-06 Joseph Myers <joseph@codesourcery.com>
23744
1d3c8572
JM
23745 [BZ #10014]
23746 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23747 host name.
23748
4c23fed5
JM
23749 [BZ #10038]
23750 * manual/memory.texi (Memory): Make order of menu items match
23751 order of sections.
23752
04570aaa
L
237532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23754
23755 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23756 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23757 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23758
b80af2f4
L
237592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23760
23761 * csu/libc-tls.c (static_dtv): Renamed to ...
23762 (_dl_static_dtv): This. Make it global.
23763 (_dl_initial_dtv): Removed.
23764 (__libc_setup_tls): Updated.
23765 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23766 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23767 DL_INITIAL_DTV.
23768
2abe9f15
PM
237692012-09-06 Petr Machata <pmachata@redhat.com>
23770
23771 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23772 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23773 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23774 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23775
0948c3af
L
237762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23777
23778 [BZ #14545]
23779 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23780 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23781 freeing dtv[-1].
23782
a5055ad1
L
237832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23784
23785 [BZ #14544]
23786 * Makeconfig (link-static-before-libc): Replace $(+prector)
23787 with $(+prectorT).
23788 (link-static-after-libc): Replace $(+postctor) with
23789 $(+postctorT).
23790 (link-bounded): Replace $(+prector)/$(+postctor) with
23791 $(+prectorT)/$(+postctorT).
23792 (+prectorT): New macro.
23793 (+postctorT): Likewise.
23794
ed8c2ecd
JM
237952012-09-06 Joseph Myers <joseph@codesourcery.com>
23796
23797 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23798 (round_str): Handle values above the maximum for IBM long double
23799 as inexact.
23800 * stdlib/tst-strtod-round.c (tests): Regenerated.
23801
14c996c8
AK
238022012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23803
23804 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23805 assembler flag.
23806 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23807 zarch_nohighgprs around the zarch optimized routines.
23808 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23809 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23810 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23811 for zarch.
23812
430d6ce6
DM
238132012-09-05 David S. Miller <davem@davemloft.net>
23814
23815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23816
ff04dda4
DM
23817 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23818 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23819 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23820 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23821 entries.
23822
24d4e01b
AO
238232012-09-05 Alexandre Oliva <aoliva@redhat.com>
23824
23825 * malloc/arena.c: Fold copyright years.
23826 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23827
61d58174
AO
238282012-09-05 Alexandre Oliva <aoliva@redhat.com>
23829
23830 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23831
20196a5e
AO
238322012-09-05 Alexandre Oliva <aoliva@redhat.com>
23833
23834 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23835
5c447383
AO
238362012-09-05 Alexandre Oliva <aoliva@redhat.com>
23837
23838 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23839 change internal state upon failure.
23840
fad64255
AO
238412012-09-05 Alexandre Oliva <aoliva@redhat.com>
23842
23843 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23844 * malloc/memusage.c (mmap): Likewise.
23845 (mmap64, mremap): Likewise. Adjust name in comment.
23846
1ffb8c90
SP
238472012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23848
23849 * libio/fileops.c: Fix typos in comments.
23850 * libio/oldfileops.c: Likewise.
23851 * libio/wfileops.c: Likewise.
23852
6ef9cc37
SP
238532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23854
23855 [BZ #1349]
23856 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23857 (tst-malloc-usable-ENV): Set environment for test case.
23858 * malloc/hooks.c (malloc_check_get_size): New function to get
23859 requested size.
23860 * malloc/malloc.c (musable): Use malloc_check_get_size.
23861 * malloc/tst-malloc-usable.c: New test case.
23862
4d038ae3
AS
238632012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23864
23865 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23866
c4e85184
AM
238672012-09-05 Allan McRae <allan@archlinux.org>
23868
b9dafc56 23869 [BZ #13966]
c4e85184
AM
23870 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23871 determine header location.
23872 * configure: Regenerated.
23873
e1343020
AS
238742012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23875
23876 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23877 float format.
23878 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23879 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23880 format.
e1343020
AS
23881 (test): Regenerate.
23882
0a9f1987
DM
238832012-09-04 David S. Miller <davem@davemloft.net>
23884
23885 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23886 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23887 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23888
29237804
FW
238892012-09-04 Florian Weimer <fweimer@redhat.com>
23890
23891 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23892 failures.
23893
edb3cb88
FW
23894 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23895
60160d83
JM
238962012-09-04 Joseph Myers <joseph@codesourcery.com>
23897
23898 [BZ #9914]
23899 * libio/iogetdelim.c: Include <limits.h>.
23900 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23901 + len + 1 would overflow.
23902
bcd6c8dc
AJ
239032012-09-03 Andreas Jaeger <aj@suse.de>
23904
23905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23906 * sysdeps/i386/fpu/libm-test-ulps: Update.
23907
4ffffbd2
LD
239082012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23909
23910 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23911 Add s_sinf-sse2, s_conf-sse2.
23912
23913 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23914 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23915 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23916 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23917
23918 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23919 for using routine as __sinf_ia32.
23920 Use macro for function declaration and weak_alias.
23921 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23922 for using routine as __cosf_ia32.
23923 Use macro for function declaration and weak_alias.
23924
23925 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23926 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23927
23928 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23929 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23931
23932 * math/libm-test.inc (cos_test): Add more test cases.
23933 (sin_test): Likewise.
23934 (sincos_test): Likewise.
23935
511fa286
AK
239362012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23937
23938 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23939 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23940 hidden.
23941 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23942
5f30cfec
L
239432012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23944
23945 [BZ #14538]
23946 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23947 first element of the GOT.
23948 (elf_machine_load_address): Return the difference between
23949 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23950
0786794f
AM
239512012-09-01 Allan McRae <allan@archlinux.org>
23952
5f30cfec
L
23953 [BZ #13412]
23954 * configure.in (AWK): Require gawk version 3.0 or later.
23955 * configure: Regenerated.
0786794f 23956
26889eac
JM
239572012-09-01 Joseph Myers <joseph@codesourcery.com>
23958
23959 * sysdeps/unix/sysv/linux/kernel-features.h
23960 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23961 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23962 [__NR_clock_getres]: Make code unconditional.
23963 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23964 (clock_getcpuclockid): Remove code left unreachable by removal of
23965 conditionals.
23966 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23967 code unconditional.
23968 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23969 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23970 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23971 Make code unconditional.
23972 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23973 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23974 * sysdeps/unix/sysv/linux/clock_settime.c
23975 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23976 conditional code.
23977 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23978 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23979
d22e28b0
L
239802012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23981
23982 [BZ #14476]
23983 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23984 scripts/test-installation.pl.
23985
23986 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23987 and $ld_so_version if it is set.
23988
050af9c4
SP
239892012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23990
23991 [BZ #14516]
23992 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23993 failure if reading from procfs failed.
23994 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23995
ad845c0b
JM
239962012-08-27 Joseph Myers <joseph@codesourcery.com>
23997
23998 * sysdeps/unix/sysv/linux/kernel-features.h
23999 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24000 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24001 Remove conditional code.
24002 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24003 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24004 Remove conditional code.
24005 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24006 * sysdeps/unix/sysv/linux/i386/fxstat.c
24007 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24008 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24009 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24010 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24011 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24012 * sysdeps/unix/sysv/linux/i386/lxstat.c
24013 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24014 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24015 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24016 Remove conditional code.
24017 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24018 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24019 Remove conditional code.
24020 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24021 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24022 <kernel-features.h>.
24023 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24024 Remove.
24025 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24026 Remove conditional code.
24027 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24028 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24029 Remove conditional.
24030
5dbf56af
MF
240312012-08-27 Mike Frysinger <vapier@gentoo.org>
24032
24033 [BZ #5400]
24034 * NEWS: Add fixed bug number.
24035
d6e70f43
JM
240362012-08-27 Joseph Myers <joseph@codesourcery.com>
24037
7efb4737
JM
24038 [BZ #14519]
24039 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24040 underflowing exponent in case of negative sign.
24041 * stdlib/tst-strtod-round-data: Add more tests.
24042 * stdlib/tst-strtod-round.c (tests): Regenerated.
24043
af92131a
JM
24044 [BZ #3479]
24045 * stdlib/strtod_l.c (NDIG): Remove.
24046 (HEXNDIG): Likewise.
24047 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24048 smallest representable value.
24049 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24050 lie within an exact representation of 1/2 ulp of the result.
24051 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24052 unconditionally.
24053 (TENS_P9_IDX): Define unconditionally.
24054 (TENS_P9_SIZE): Likewise.
24055 (TENS_P10_IDX): Likewise.
24056 (TENS_P10_SIZE): Likewise.
24057 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24058 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24059 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24060 entries for 10^2^13 and 10^2^14.
24061 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24062 (TENS_P13_IDX): Define.
24063 (TENS_P13_SIZE): Likewise.
24064 (TENS_P14_IDX): Likewise.
24065 (TENS_P14_SIZE): Likewise.
24066 (_fpioconst_pow10): Change array size to
24067 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24068 unconditional.
24069 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24070 1024]: Add entries for 10^2^13 and 10^2^14.
24071 [LAST_POW10 > _LAST_POW10]: Remove #error.
24072 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24073 (_fpioconst_pow10): Change array size to
24074 FPIOCONST_POW10_ARRAY_SIZE.
24075 * stdlib/gen-fpioconst.c: New file.
24076 * stdlib/gen-tst-strtod-round.c: Likewise.
24077 * stdlib/tst-strtod-round-data: Likewise.
24078 * stdlib/tst-strtod-round.c: Likewise.
24079 * stdlib/Makefile (tests): Add tst-strtod-round.
24080
d6e70f43
JM
24081 [BZ #14459]
24082 * stdlib/strtod_l.c: Include <stdint.h>.
24083 (NDEBUG): Do not define.
24084 (round_and_return): Change EXPONENT parameter to type intmax_t.
24085 Rearrange calculations to avoid internal overflow possibilities.
24086 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24087 Rearrange calculations to avoid internal overflow possibilities.
24088 Assert that number fits inside MPNSIZE limbs.
24089 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24090 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24091 calculations and add assertions to avoid internal overflow
24092 possibilities. Add casts to avoid signed/unsigned operations.
24093 * stdlib/tst-strtod-overflow.c: New file.
24094 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24095
1f529f7d
MP
240962012-08-25 Marek Polacek <polacek@redhat.com>
24097
24098 * time/time.h: Fix some typos in comments.
24099
59a629f1
RM
241002012-08-23 Roland McGrath <roland@hack.frob.com>
24101
24102 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24103 * posix/tst-rfc3484-2.c: Likewise.
24104 * posix/tst-rfc3484-3.c: Likewise.
24105
d3bafbc9
SM
241062012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24107
24108 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24109 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24110
4efcc022
JM
241112012-08-23 Joseph Myers <joseph@codesourcery.com>
24112
24113 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24114 #include of fxstatat64.c.
24115
3cc3ef96
RM
241162012-08-22 Roland McGrath <roland@hack.frob.com>
24117
f04e2132
RM
24118 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24119 * shadow/getspent_r.c: Likewise.
24120 * shadow/getspnam.c: Likewise.
24121 * shadow/getspnam_r.c: Likewise.
24122 * gshadow/getsgent.c: Likewise.
24123 * gshadow/getsgent_r.c: Likewise.
24124 * gshadow/getsgnam.c: Likewise.
24125 * gshadow/getsgnam_r.c: Likewise.
24126 * inet/getnetbyad.c: Likewise.
24127 * inet/getnetbyad_r.c: Likewise.
24128 * inet/getnetbynm.c: Likewise.
24129 * inet/getnetbynm_r.c: Likewise.
24130 * inet/getnetent.c: Likewise.
24131 * inet/getnetent_r.c: Likewise.
24132 * inet/getproto.c: Likewise.
24133 * inet/getproto_r.c: Likewise.
24134 * inet/getprtent.c: Likewise.
24135 * inet/getprtent_r.c: Likewise.
24136 * inet/getprtname.c: Likewise.
24137 * inet/getprtname_r.c: Likewise.
24138 * inet/getrpcbyname.c: Likewise.
24139 * inet/getrpcbyname_r.c: Likewise.
24140 * inet/getrpcbynumber.c: Likewise.
24141 * inet/getrpcbynumber_r.c: Likewise.
24142 * inet/getrpcent.c: Likewise.
24143 * inet/getrpcent_r.c: Likewise.
24144 * inet/getaliasent.c: Likewise.
24145 * inet/getaliasent_r.c: Likewise.
24146 * inet/getaliasname.c: Likewise.
24147 * inet/getaliasname_r.c: Likewise.
24148 * nscd/getgrgid_r.c: Likewise.
24149 * nscd/getgrnam_r.c: Likewise.
24150 * nscd/gethstbyad_r.c: Likewise.
24151 * nscd/gethstbynm3_r.c: Likewise.
24152 * nscd/getpwnam_r.c: Likewise.
24153 * nscd/getpwuid_r.c: Likewise.
24154 * nscd/getsrvbynm_r.c: Likewise.
24155 * nscd/getsrvbypt_r.c: Likewise.
24156 * nscd/gai.c: Likewise.
24157
c53d909c
RM
24158 * configure.in (build_nscd): New substituted variable, set
24159 by --disable-build-nscd and defaults to $use_nscd.
24160 * configure: Regenerated.
24161 * config.make.in (build-nscd): New substituted variable.
24162 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24163 Change conditional to require [$(build-nscd) = yes] as well.
24164 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24165
3cc3ef96
RM
24166 [BZ# 13696]
24167 * configure.in (use_nscd): New substituted variable, set by
24168 --disable-nscd. If enabled, define USE_NSCD.
24169 * configure: Regenerated.
24170 * config.h.in: Add USE_NSCD.
24171 * config.make.in (use-nscd): New substituted variable.
24172 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24173 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24174 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24175 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24176 (CFLAGS-getgrnam_r.c): Likewise.
24177 (CFLAGS-initgroups.c): Likewise.
24178 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24179 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24180 Variables removed.
24181 * inet/getnetgrent_r.c
24182 (nscd_setnetgrent): New function, broken out of ...
24183 (setnetgrent): ... here. Call it.
24184 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24185 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24186 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24187 * nscd/Makefile (routines, aux): Move definitions after include of
24188 Makeconfig. Conditionalize on [$(use-nscd) != no].
24189 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24190 Conditionalize on [USE_NSCD].
24191 (is_nscd, nscd_init_cb): Likewise.
24192 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24193 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24194 * nss/nss_db/db-init.c: Likewise.
24195 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24196 [USE_NSCD].
24197 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24198 (make_request): Use it.
24199 (cache_valid_p): New function.
24200 (__check_pf): Use it.
24201 * NEWS: Add item for --disable-nscd.
24202
07e51550
DL
242032012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24204
24205 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24206 to support sed >= 4.2.1-20-ga9bf076.
24207 * configure: Regenerated.
24208
35a5b08b
RM
242092012-08-22 Roland McGrath <roland@hack.frob.com>
24210
24211 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24212 Conditionalize whole body on [IREL].
24213
8479f23a
JL
242142012-08-22 Jeff Law <law@redhat.com>
24215
24216 [BZ #14505]
24217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24218 if the family is PF_UNSPEC.
24219
48da0b21
MF
242202012-08-22 Mike Frysinger <vapier@gentoo.org>
24221
24222 * Makerules (lib-version): Rename from V.
24223 (install-lib-nosubdir): Change V to lib-version.
24224
15d0da8c
WS
242252012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24226
24227 [BZ #14252]
24228 * powerpc32/power6/wcschr.c: New file.
24229 * powerpc32/power6/wcscpy.c: New file.
24230 * powerpc32/power6/wcsrchr.c: New file.
24231 * powerpc64/power6/wcschr.c: New file.
24232 * powerpc64/power6/wcscpy.c: New file.
24233 * powerpc64/power6/wcsrchr.c: New file.
24234
bcca0895
MK
242352012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24236
24237 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24238 (two_way_short_needle): Use it.
5a4aaa33
RM
24239 * string/strstr.c (AVAILABLE1_USES_J): Define.
24240 * string/strcasestr.c: Likewise.
99677e57
MK
24241
24242 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24243 array references.
24244 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24245
400726de
MK
24246 [BZ #11607]
24247 * NEWS: Add an entry.
24248 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24249 define their defaults.
24250 (two_way_short_needle): Detect end-of-string on-the-fly.
24251 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24252 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24253 * string/bug-strcasestr1.c: New test.
24254 * string/Makefile: Run it.
24255
20a71f2c
MK
242562012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24257
24258 [BZ #11607]
24259 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24260 the first character.
24261
21ad0558
RM
242622012-08-21 Roland McGrath <roland@hack.frob.com>
24263
24264 * csu/elf-init.c (__libc_csu_irel): Function removed.
24265 * csu/libc-start.c (apply_irel): New function.
24266 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24267
0e1d9911
JM
242682012-08-21 Joseph Myers <joseph@codesourcery.com>
24269
24270 * sysdeps/unix/sysv/linux/kernel-features.h
24271 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24272 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24273 <kernel-features.h>.
24274 [__NR_fadvise64_64]: Make code unconditional.
24275 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24276 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24277 !__NR_fadvise64_64)]: Likewise.
24278 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24279 !__NR_fadvise64_64))]: Likewise.
24280 [__NR_fadvise64]: Make code unconditional.
24281 [!__NR_fadvise64]: Remove conditional code.
24282 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24283 <kernel-features.h>.
24284 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24285 unconditional.
24286 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24287 conditional code.
24288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24289 not include <kernel-features.h>.
24290 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24291 unconditional.
24292 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24293 conditional code.
24294 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24295 include <kernel-features.h>.
24296 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24297 unconditional.
24298 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24299 conditional code.
24300
14a50c9d
WS
243012012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24302
24303 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24304 slight instruction rearrangements per scrollpipe analysis.
24305 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24306
c0f4faf0
RM
243072012-08-20 Roland McGrath <roland@hack.frob.com>
24308
696da859
RM
24309 * manual/syslog.texi (syslog; vsyslog, closelog):
24310 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24311 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24312
c0f4faf0
RM
24313 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24314 DSOCAPS to match condition on defining it.
24315
348363b2
JM
243162012-08-20 Joseph Myers <joseph@codesourcery.com>
24317
a35cbf28
JM
24318 * sysdeps/unix/sysv/linux/kernel-features.h
24319 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24321 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24322 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24324 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24325 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24327 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24328 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24329
445f7ecd
JM
24330 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24331 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24332
348363b2
JM
24333 * sysdeps/unix/sysv/linux/kernel-features.h
24334 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24335 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24336 unconditional.
24337 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24338 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24339 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24340 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24341 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24342 Make code unconditional.
24343 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24344 (__mmap64) [!__NR_mmap2]: Likewise.
24345 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24346 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24347 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24348 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24349 [__NR_mmap2]: Make code unconditional.
24350 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24351 (__mmap64) [!__NR_mmap2]: Likewise.
24352
bc5bc0e5
AK
243532012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24354
24355 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24356
88d506de
AJ
243572012-08-18 Andreas Jaeger <aj@suse.de>
24358
24359 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24360
493387d2
MF
243612012-08-18 Mike Frysinger <vapier@gentoo.org>
24362
24363 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24364 * include/unistd.h (__have_sock_cloexec): Likewise.
24365 (__have_pipe2): Likewise.
24366 (__have_dup3): Likewise.
24367
a277af22
MF
243682012-08-18 Mike Frysinger <vapier@gentoo.org>
24369
24370 [BZ #9685]
24371 * include/unistd.h (__have_pipe2): Change define into an extern int.
24372 (__have_dup3): Likewise.
24373 * socket/have_sock_cloexec.c: Include fcntl.h.
24374 (__have_pipe2): New variable.
24375 (__have_dup3): Likewise.
24376
fdab8fd3
MF
243772012-08-17 Mike Frysinger <vapier@gentoo.org>
24378
24379 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24380
31035e80
MP
243812012-08-17 Marek Polacek <polacek@redhat.com>
24382
24383 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24384 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24385
3bd9e993
RM
243862012-08-17 Roland McGrath <roland@hack.frob.com>
24387
c91c505f
RM
24388 * configure.in: Add AC_SUBST for sysheaders.
24389 * configure: Regenerated.
24390 * config.make.in (sysheaders): New substituted variable.
24391
7c6f9d53
RM
24392 * sysdeps/unix/mkfifo.c: Moved ...
24393 * sysdeps/posix/mkfifo.c: ... here.
24394 * sysdeps/unix/mkfifoat.c: Moved ...
24395 * sysdeps/posix/mkfifoat.c: ... here.
24396
24397 * sysdeps/unix/utime.c: Moved ...
24398 * sysdeps/posix/utime.c: ... here.
24399
24400 * sysdeps/unix/time.c: Moved ...
24401 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24402 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24403 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24404
24405 * sysdeps/unix/nice.c: Moved ...
24406 * sysdeps/posix/nice.c: ... here.
24407
24408 * sysdeps/unix/alarm.c: Moved ...
24409 * sysdeps/posix/alarm.c: ... here.
24410
3bd9e993
RM
24411 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24412
d1f09384
JL
244132012-08-17 Jeff Law <law@redhat.com>
24414
24415 * intl/Makefile (codeset_mo): New variable.
24416 ($(codeset_mo)): New target.
24417 (tst-codeset.out): Depend on that. Remove explicit rule.
24418 (tst-gettext3.out, tst-gettext5.out): Likewise.
24419 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24420 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24421 * intl/tst-codeset.sh: Remove.
24422 * intl/tst-gettext3.sh: Likewise.
24423 * intl/tst-gettext5.sh: Likewise.
24424
2ae1ae5c
RM
244252012-08-17 Roland McGrath <roland@hack.frob.com>
24426
c31fdb83
RM
24427 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24428 * sysdeps/unix/syscalls.list: ... here.
24429
a0844057
RM
24430 * sysdeps/posix/getaddrinfo.c
24431 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24432 (gaiconf_init, gaiconf_reload): Use them.
24433 [!_STATBUF_ST_NSEC]
24434 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24435 Define using time_t rather than struct timespec.
24436
750c1f2a
RM
24437 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24438 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24439 Macros removed.
24440 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24441 [!NO_THREADS].
24442 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24443 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24444 Likewise.
24445
2ae1ae5c
RM
24446 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24447 __libc_cleanup_push argument.
24448
e66a42f5
RM
24449 * bits/param.h: New file.
24450 * misc/sys/param.h: New file.
24451 * include/sys/param.h: New file.
24452 * misc/Makefile (headers): Add bits/param.h.
24453 * sysdeps/generic/sys/param.h: File removed.
24454 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24455 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24456 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24457 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24458
b7c08a66
RM
24459 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24460 last change.
24461
b2e1c562
RM
24462 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24463 [_IO_MTSAFE_IO].
24464 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24465 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24466 New macros.
24467
c75ccd4c
RM
24468 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24469 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24470 rather than -D_IO_MTSAFE_IO conditionally.
24471 * stdio-common/Makefile (CPPFLAGS): Likewise.
24472 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24473 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24474 Use $(libio-mtsafe).
24475 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24476 of -D_IO_MTSAFE_IO.
24477 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24478 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24479 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24480 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24481 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24482 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24483 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24484 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24485 (CFLAGS-fread_u_chk.c): Likewise.
24486 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24487 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24488 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24489 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24490 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24491 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24492 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24493 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24494 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24495
24496 * libio/Makefile: Test [$(libc-reentrant) = yes]
24497 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24498
24499 * Makeconfig
24500 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24501 * sysdeps/pthread/configure: File removed.
24502 * sysdeps/pthread/Makeconfig: New file.
24503 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24504 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24505
d9195db8
GB
245062012-08-16 Gary Benson <gbenson@redhat.com>
24507
24508 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24509 unmapping the first object in a namespace.
24510
86466cd9
RM
245112012-08-16 Roland McGrath <roland@hack.frob.com>
24512
24513 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24514 (__internal_setnetgrent): ... this. Add internal_function to
24515 definition. Add libc_hidden_def.
24516 (setnetgrent): Update caller.
24517 (internal_endnetgrent): Renamed to ...
24518 (__internal_endnetgrent): ... this. Add internal_function to
24519 definition. Add libc_hidden_def.
24520 (endnetgrent): Update caller.
24521 (internal_getnetgrent_r): Renamed to ...
24522 (__internal_getnetgrent_r): ... this. Add internal_function to
24523 definition. Add libc_hidden_def.
24524 (__getnetgrent_r): Update caller.
24525 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24526
c3c8283c
JM
245272012-08-16 Joseph Myers <joseph@codesourcery.com>
24528
24529 * stdlib/longlong.h: Update from GCC.
24530
db1ee0a8
RM
245312012-08-16 Roland McGrath <roland@hack.frob.com>
24532
24533 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24534 on _QL, which is set by umul_ppmm but never used.
24535 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24536 variables, which are set by GMP macros but never used.
24537 * stdio-common/_itowa.c (_itowa): Likewise.
24538 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24539 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24540
30f69637
CD
245412012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24542
24543 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24544 struct La_sh_regs is not constant.
24545 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24546 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24547 and struct La_sparc64_regs are not constant.
24548
93a78ac4
JM
245492012-08-16 Joseph Myers <joseph@codesourcery.com>
24550
24551 * sysdeps/unix/sysv/linux/kernel-features.h
24552 (__ASSUME_POSIX_TIMERS): Remove.
24553 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24554 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24555 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24556 Make code unconditional.
24557 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24558 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24559 Make code unconditional.
24560 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24561 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24562 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24563 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24564 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24565 Make code unconditional.
24566 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24567 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24568 (__libc_missing_posix_timers): Remove.
24569
dd924cd7
RM
245702012-08-15 Roland McGrath <roland@hack.frob.com>
24571
4b4f2771
RM
24572 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24573 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24574
601c888b
RM
24575 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24576
176790a7
RM
24577 * elf/dl-sym.c: Include <stdlib.h>.
24578
329bc018
RM
24579 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24580 constants, which avoids warnings in 32-bit builds.
24581
e04e272d
RM
24582 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24583 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24584
952bf94a
RM
24585 * misc/lseek.c: File moved to ...
24586 * io/lseek.c: ... here.
24587
7c99b50a
RM
24588 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24589
dd924cd7
RM
24590 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24591 shifting LEN more than 31 bits at once.
24592
b3f479a8
LD
245932012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24594
24595 [BZ #14195]
8c4ae0d4
RM
24596 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24597 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24598 * string/test-strncasecmp.c (check1): Renamed to...
24599 (bz12205): ...this.
24600 (bz14195): Add new testcase for two empty input strings and N > 0.
24601 (test_main): Call new testcase, adapt for renamed function.
24602
9c55864e
AJ
246032012-08-15 Andreas Jaeger <aj@suse.de>
24604
24605 [BZ #14090]
24606 * crypt/md5test2.c: New test, based on test supplied by Serge
24607 Belyshev <belyshev@depni.sinp.msu.ru>.
24608 * crypt/Makefile (xtests): Add md5test-giant..
24609 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24610
02dcb6c5
PE
246112012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24612
24613 [BZ #14090]
24614 * crypt/md5.c (md5_process_block): Don't assume the buffer
24615 length is less than 2**32.
24616 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24617 length is less than 2**64.
24618
a3f95dcc
RM
246192012-08-15 Roland McGrath <roland@hack.frob.com>
24620
be75d758
RM
24621 * string/str-two-way.h: Include <sys/param.h>.
24622 (MAX): Macro removed.
24623
7312ca90
RM
24624 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24625 Move #define and #undef of memmove to just before and after
24626 including <string.h>.
24627
9a0a5486
RM
24628 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24629 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24630 and after including <string.h>. Move declarations of
24631 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24632 to before #include "string/memmove.c".
24633
67cc348d
RM
24634 * include/dirent.h: Declare __getdirentries.
24635
a3f95dcc
RM
24636 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24637 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24638
ca98e171
MF
246392012-08-14 Mike Frysinger <vapier@gentoo.org>
24640
24641 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24642 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24643 * sysdeps/i386/configure: Regenerated.
24644 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24645 STABS_CURRENT_FILE, and STABS_FUN.
24646 (END): Remove call to STABS_FUN_END.
24647 (STABS_CURRENT_FILE1): Delete.
24648 (STABS_CURRENT_FILE): Likewise.
24649 (STABS_FUN): Likewise.
24650 (STABS_FUN_END): Likewise.
24651 (STABS_FUN2): Likewise.
24652 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24653 * sysdeps/x86_64/configure: Regenerated.
24654
5908bf46
RM
246552012-08-14 Roland McGrath <roland@hack.frob.com>
24656
24657 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24658 * elf/dl-lookup.c: Likewise.
5908bf46 24659
f2c05b9e
JM
246602012-08-14 Joseph Myers <joseph@codesourcery.com>
24661
24662 * sysdeps/unix/sysv/linux/kernel-features.h
24663 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24664 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24665 unconditionally.
24666 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24667 unconditionally.
24668 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24669 condition on __ASSUME_CLONE_THREAD_FLAGS.
24670
e11f5155
AJ
246712012-08-14 Andreas Jaeger <aj@suse.de>
24672
24673 * sysdeps/i386/fpu/libm-test-ulps: Update.
24674
51a9ba86
MK
246752012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24676
2fdd4f78
AJ
24677 * include/atomic.h (atomic_exchange_and_add): Split into ...
24678 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24679 New atomic macros.
51a9ba86 24680
ba6cba9e
MT
246812012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24682
24683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24684
42443a47
JL
246852012-08-13 Jeff Law <law@redhat.com>
24686
24687 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24688 null byte in the output string.
24689
121dce05
JM
246902012-08-10 Joseph Myers <joseph@codesourcery.com>
24691
24692 * sysdeps/unix/sysv/linux/kernel-features.h
24693 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24694 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24695 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24696 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24697 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24698 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24699 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24700
bf51f568
JL
247012012-08-09 Jeff Law <law@redhat.com>
24702
24703 [BZ #13939]
24704 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24705 When avoid_arena is set, don't retry in the that arena. Pick the
24706 next one, whatever it might be.
24707 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24708 (arena_lock): Pass in new parameter to arena_get2.
24709 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24710 arena_get2.
24711 (__libc_malloc): Unify retrying after main arena failure with
24712 __libc_memalign version.
24713 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24714
f85fa270
L
247152012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24716
24717 [BZ #14166]
24718 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24719 to __redirect_strstr.
24720 (__strstr_sse42): Use typeof __redirect_strstr.
24721 (__strstr_ia32): Likewise.
24722 (__libc_strstr): New prototype.
24723 (strstr): Renamed to ...
24724 (__libc_strstr): This.
24725 (strstr): New strong alias of __libc_strstr.
24726 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24727 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24728 __redirect_time.
24729 Include <time.h>.
24730 (__libc_time): New prototype.
24731 (time_ifunc): Replace time with __libc_time.
24732 (time): New strong alias and hidden definition of __libc_time.
24733 (__GI_time): Remove strong alias.
24734 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24735 Include <stddef.h>.
24736 (memmove): Redefined to __redirect_memmove.
24737 (__memmove_sse2): Use typeof __redirect_memmove.
24738 (__memmove_ssse3): Likewise.
24739 (__memmove_ssse3_back): Likewise.
24740 (__libc_memmove): New prototype.
24741 (memmove): Renamed to ...
24742 (__libc_memmove): This.
24743 (memmove): New strong alias of __libc_memmove.
24744
33b4a91e
MS
247452012-08-08 Mark Salter <msalter@redhat.com>
24746
24747 * elf/elf.h
24748 (R_MN10300_TLS_GD): Define.
24749 (R_MN10300_TLS_LD): Likewise.
24750 (R_MN10300_TLS_LDO): Likewise.
24751 (R_MN10300_TLS_GOTIE): Likewise.
24752 (R_MN10300_TLS_IE): Likewise.
24753 (R_MN10300_TLS_LE): Likewise.
24754 (R_MN10300_TLS_DTPMOD): Likewise.
24755 (R_MN10300_TLS_DTPOFF): Likewise.
24756 (R_MN10300_TLS_TPOFF): Likewise.
24757 (R_MN10300_SYM_DIFF): Likewise.
24758 (R_MN10300_ALIGN): Likewise.
24759 (R_MN10300_NUM): Update.
24760
b36137f1
JM
247612012-08-08 Joseph Myers <joseph@codesourcery.com>
24762
24763 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24764 Remove.
24765
cdd915fd
RM
247662012-08-08 Roland McGrath <roland@hack.frob.com>
24767
a2433aac
RM
24768 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24769
cdd915fd
RM
24770 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24771 sysdeps/unix -> sysdeps/posix move.
24772 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24773
bf9b740a
AM
247742012-08-07 Allan McRae <allan@archlinux.org>
24775
24776 [BZ #14303]
24777 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24778 (SUNOS_CPP): Likewise.
24779 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24780 not found.
24781 (open_input): Call CPP using execvp.
24782
93df14ee
JM
247832012-08-07 Joseph Myers <joseph@codesourcery.com>
24784
24785 * sysdeps/unix/sysv/linux/kernel-features.h
24786 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24787 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24788 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24789 (__ASSUME_WAITID_SYSCALL): Likewise.
24790 * sysdeps/unix/sysv/linux/dl-execstack.c
24791 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24792 code unconditional.
24793 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24794 conditional code.
24795 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24796 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24797 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24798 code.
24799 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24800 unconditional.
24801 [__ASSUME_WAITID_SYSCALL]: Likewise.
24802 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24803
d34689de
RM
248042012-08-07 Roland McGrath <roland@hack.frob.com>
24805
a281decc
RM
24806 * sysdeps/unix/closedir.c: Renamed to ...
24807 * sysdeps/posix/closedir.c: ... here.
24808 * sysdeps/unix/dirfd.c: Renamed to ...
24809 * sysdeps/posix/dirfd.c: ... here.
24810 * sysdeps/unix/dirstream.h: Renamed to ...
24811 * sysdeps/posix/dirstream.h: ... here.
24812 * sysdeps/unix/fdopendir.c: Renamed to ...
24813 * sysdeps/posix/fdopendir.c: ... here.
24814 * sysdeps/unix/opendir.c: Renamed to ...
24815 * sysdeps/posix/opendir.c: ... here.
24816 * sysdeps/unix/readdir.c: Renamed to ...
24817 * sysdeps/posix/readdir.c: ... here.
24818 * sysdeps/unix/readdir_r.c: Renamed to ...
24819 * sysdeps/posix/readdir_r.c: ... here.
24820 * sysdeps/unix/rewinddir.c: Renamed to ...
24821 * sysdeps/posix/rewinddir.c: ... here.
24822 * sysdeps/unix/seekdir.c: Renamed to ...
24823 * sysdeps/posix/seekdir.c: ... here.
24824 * sysdeps/unix/telldir.c: Renamed to ...
24825 * sysdeps/posix/telldir.c: ... here.
24826 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24827 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24828 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24829 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24830
22895b47
RM
24831 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24832 * bits/fcntl.h: ... here.
24833
707a53b6
RM
24834 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24835 not 0.
24836 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24837 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24838 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24839 (struct flock): Move l_start, l_len to the beginning.
24840 Use __pid_t for l_pid.
24841 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24842 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24843 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24844 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24845 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24846 [__USE_LARGEFILE64] (struct flock64): New type.
24847 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24848
f0bd3e25
RM
24849 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24850 * bits/dirent.h: ... here.
24851
d34689de
RM
24852 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24853 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24854
6dad2c06
JM
248552012-08-07 Joseph Myers <joseph@codesourcery.com>
24856
24857 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24858 Change from 2.6.0 to 2.6.16.
24859 * sysdeps/unix/sysv/linux/configure: Regenerated.
24860 * sysdeps/unix/sysv/linux/kernel-features.h
24861 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24862 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24863 version.
24864 (__ASSUME_UTIMES): Likewise.
24865 (__ASSUME_CLONE_STOPPED): Remove.
24866 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24867 architectures, not kernel version.
24868 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24869 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24870 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24871 (__ASSUME_WAITID_SYSCALL): Likewise.
24872 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24873 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24874 * README: State 2.6.16 as minimum Linux kernel version. Do not
24875 refer to older versions.
24876
03af9520
RM
248772012-08-06 Roland McGrath <roland@hack.frob.com>
24878
8e49df1d
RM
24879 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24880 Define alphasort64 as an alias.
24881 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24882 Define versionsort64 as an alias.
24883 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24884 Define scandir64 as an alias.
24885 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24886 Define scandirat64 as an alias.
24887 * dirent/alphasort64.c (alphasort64):
24888 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24889 * dirent/versionsort64.c: Likewise.
24890 * dirent/scandir64.c: Likewise.
24891 * dirent/scandirat64.c: Likewise.
24892 * sysdeps/wordsize-64/alphasort.c: File removed.
24893 * sysdeps/wordsize-64/alphasort64.c: File removed.
24894 * sysdeps/wordsize-64/scandir.c: File removed.
24895 * sysdeps/wordsize-64/scandir64.c: File removed.
24896 * sysdeps/wordsize-64/scandirat.c: File removed.
24897 * sysdeps/wordsize-64/scandirat64.c: File removed.
24898 * sysdeps/wordsize-64/versionsort.c: File removed.
24899 * sysdeps/wordsize-64/versionsort64.c: File removed.
24900 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24901 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24902 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24903 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24904 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24905 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24906 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24907 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24908
24909 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24910 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24911 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24912 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24913 [defined __arch64__ || defined __sparcv9]
24914 (__INO_T_MATCHES_INO64_T): New macro.
24915 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24916 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24917 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24918 * sysdeps/unix/sysv/linux/bits/dirent.h
24919 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24920 (_DIRENT_MATCHES_DIRENT64): New macro.
24921
03af9520
RM
24922 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24923 Define lockf64 as an alias.
24924 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24925 Define fseeko64 as an alias.
24926 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24927 Define ftello64 as an alias.
24928 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24929 Define _IO_fgetpos64 and fgetpos64 as aliases.
24930 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24931 Define _IO_fsetpos64 and fsetpos64 as aliases.
24932 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24933 Conditionalize body on this.
24934 * libio/fseeko64.c: Likewise.
24935 * libio/ftello64.c: Likewise.
24936 * libio/iofgetpos64.c: Likewise.
24937 * libio/iofsetpos64.c: Likewise.
24938 * sysdeps/wordsize-64/lockf.c: File removed.
24939 * sysdeps/wordsize-64/lockf64.c: File removed.
24940 * sysdeps/wordsize-64/fseeko.c: File removed.
24941 * sysdeps/wordsize-64/fseeko64.c: File removed.
24942 * sysdeps/wordsize-64/ftello.c: File removed.
24943 * sysdeps/wordsize-64/ftello64.c: File removed.
24944 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24945 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24946 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24947 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24948 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24949 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24950 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24951 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24952 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24953 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24954 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24955 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24956 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24957 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24958
24959 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24960 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24961 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24962 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24963 [defined __arch64__ || defined __sparcv9]
24964 (__OFF_T_MATCHES_OFF64_T): New macro.
24965 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24966 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24967 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24968 (__OFF_T_MATCHES_OFF64_T): New macro.
24969
c5757acd
L
249702012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24971
24972 * stdlib/secure-getenv.c (__secure_getenv): Replace
24973 GLIBC_2_16 with GLIBC_2_17.
24974
3a31811e
L
249752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24976
24977 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24978 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24979
faa2bccb
DM
249802012-08-03 David S. Miller <davem@davemloft.net>
24981
24982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24983
85fe1997
JM
249842012-08-03 Joseph Myers <joseph@codesourcery.com>
24985
24986 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24987 Remove.
24988 (__ASSUME_CORRECT_SI_PID): Likewise.
24989 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24990 (__ASSUME_TMPFS_NAME): Likewise.
24991 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24992 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24993 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24994 (HAVE_AUX_SECURE): Make definition unconditional.
24995 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24996 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24997
4f75b7a0
RM
249982012-08-03 Roland McGrath <roland@hack.frob.com>
24999
25000 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25001 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25002 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25003 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25004 __eloop_threshold instead of SYMLOOP_MAX.
25005
25006 * sysdeps/generic/eloop-threshold.h: New file.
25007 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25008 of MAXSYMLINKS.
25009 * elf/chroot_canon.c (chroot_canon): Likewise.
25010
7aab07e4
JM
250112012-08-03 Joseph Myers <joseph@codesourcery.com>
25012
25013 [BZ #13717]
25014 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25015 Change to 2.6.0 everywhere.
25016 * sysdeps/unix/sysv/linux/configure: Regenerated.
25017 * sysdeps/unix/sysv/linux/kernel-features.h
25018 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25019 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25020 kernel versions.
25021 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25022 (__ASSUME_FUTEX_REQUEUE): Remove.
25023 (__ASSUME_STATFS64): Define unconditionally.
25024 (__ASSUME_AT_SECURE): Likewise.
25025 (__ASSUME_CORRECT_SI_PID): Likewise.
25026 (__ASSUME_TGKILL): Define without depending on kernel version for
25027 i386.
25028 (__ASSUME_UTIMES): Likewise.
25029 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25030 kernel version.
25031 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25032 (__ASSUME_TMPFS_NAME): Likewise.
25033 * README: Update reference to Linux kernel versions.
25034
b67e9372
MP
250352012-08-02 Marek Polacek <polacek@redhat.com>
25036
1f529f7d 25037 [BZ# 14150]
b67e9372
MP
25038 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25039 libc_cv_asm_type_prefix with %.
25040 * configure: Regenerated.
d2441631
RM
25041 * include/libc-symbols.h: Remove comment about
25042 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25043 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25044 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25045 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25046 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25047 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25048 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25049 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25050 * elf/tst-unique2mod1.c: Likewise.
25051 * elf/tst-unique1mod2.c: Likewise.
25052 * elf/tst-unique1mod1.c: Likewise.
25053 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25054 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25055 Replace ASM_TYPE_DIRECTIVE with .type.
25056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25057 * sysdeps/i386/sysdep.h: Likewise.
25058 * sysdeps/x86_64/sysdep.h: Likewise.
25059 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25061 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25062 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25063 * sysdeps/powerpc/powerpc32/sysdep.h:
25064 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25065 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25066 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25067 * sysdeps/i386/fpu/e_powf.S: Likewise.
25068 * sysdeps/i386/fpu/e_expl.S: Likewise.
25069 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25070 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25071 * sysdeps/i386/fpu/e_pow.S: Likewise.
25072 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25073 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25074 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25075 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25076 * sysdeps/i386/fpu/e_log2.S: Likewise.
25077 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25078 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25079 * sysdeps/i386/fpu/e_powl.S: Likewise.
25080 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25081 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25082 * sysdeps/i386/fpu/e_logl.S: Likewise.
25083 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25084 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25085 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25086 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25087 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25088 * sysdeps/i386/fpu/e_log.S: Likewise.
25089 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25090 * sysdeps/i386/fpu/e_logf.S: Likewise.
25091 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25092 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25093 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25094 * sysdeps/i386/fpu/e_log10.S: Likewise.
25095 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25096 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25097 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25098 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25099 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25100 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25101 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25102 * sysdeps/i386/i686/strtok.S: Likewise.
25103 * sysdeps/i386/i386-mcount.S: Likewise.
25104 * sysdeps/i386/strtok.S: Likewise.
25105 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25106 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25107 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25108 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25109 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25110 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25111 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25112 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25113 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25114 * sysdeps/x86_64/_mcount.S: Likewise.
25115 * sysdeps/x86_64/strtok.S: Likewise.
25116 * sysdeps/sh/_mcount.S: Likewise.
25117
2747bf9a
RM
251182012-08-01 Roland McGrath <roland@hack.frob.com>
25119
25120 * libio/iofopen.c: Include <fcntl.h>.
25121 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25122 (_IO_fopen64, fopen64): Define as aliases.
25123 * libio/iofopen64.c: Include <fcntl.h>.
25124 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25125 Conditionalize body on this.
25126 * sysdeps/wordsize-64/iofopen.c: File removed.
25127 * sysdeps/wordsize-64/iofopen64.c: File removed.
25128
3fb791b8
MP
251292012-08-01 Marek Polacek <polacek@redhat.com>
25130
25131 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25132 Use dlfcn directly instead of a variable.
25133 (binfmt-subdir): Do not define.
25134 (dlfcn): Likewise.
25135
a9f1039f
JM
251362012-08-01 Joseph Myers <joseph@codesourcery.com>
25137
23bddc06
JM
25138 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25139 Remove all definitions.
25140 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25141 <kernel-features.h>.
25142 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25143 (miss_F_GETOWN_EX): Remove all definitions.
25144 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25145 macro definition.
25146 [!__ASSUME_FCNTL64]: Remove conditional code.
25147 [__ASSUME_FCNTL64]: Make code unconditional.
25148 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25149 <kernel-features.h>.
25150 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25151 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25152 (lockf64) [__NR_fcntl64]: Make code unconditional.
25153 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25154
a9f1039f
JM
25155 * sysdeps/unix/sysv/linux/kernel-features.h
25156 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25157 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25158 Make code unconditional.
25159 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25160 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25162 [__NR_vfork]: Make code unconditional.
25163 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25164 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25166 [__NR_vfork]: Make code unconditional.
25167 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25168 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25169
09c0ee5f
RM
251702012-08-01 Roland McGrath <roland@hack.frob.com>
25171
48aec5b9
RM
25172 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25173 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25174
cd97c966
RM
25175 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25176 Define mkstemp64 as an alias.
3f55550c
RM
25177 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25178 Define mkstemps64 as an alias.
cd97c966
RM
25179 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25180 Define mkostemp64 as an alias.
b8625cfc
RM
25181 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25182 Define mkostemps64 as an alias.
cd97c966
RM
25183 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25184 Conditionalize body on this.
25185 * misc/mkostemp64.c: Likewise.
b8625cfc 25186 * misc/mkostemps64.c: Likewise.
3f55550c 25187 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25188 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25189 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25190 * sysdeps/wordsize-64/mkostemp.c: File removed.
25191 * sysdeps/wordsize-64/mkstemp.c: File removed.
25192 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25193 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25194 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25195 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25196
09c0ee5f
RM
25197 [BZ #14138]
25198 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25199 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25200 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25201 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25202
25203 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25204 compat_symbol macros from <shlib-compat.h> rather than the underlying
25205 default_symbol_version and symbol_version macros, so that DEFAULT
25206 lines in shlib-versions are respected.
25207 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25208
7e66ee51
FW
252092012-08-01 Florian Weimer <fweimer@redhat.com>
25210
25211 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25212 Declare with warn_unused_result.
25213 (setgid, setregid, setegid, setresgid): Likewise.
25214 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25215 Likewise.
25216 * WUR-REPORT: Remove set*id functions.
25217
d2a54255
PT
252182012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25219
25220 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25221
7ecdb005
RM
252222012-07-31 Roland McGrath <roland@hack.frob.com>
25223
b4180a5e 25224 [BZ #10191]
789bd351
RM
25225 * include/sys/socket.h (__libc_accept, __libc_accept4):
25226 Add attribute_hidden.
25227 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25228
40ce302d
RM
25229 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25230 use of PTR_MANGLE.
25231 * inet/getnetgrent_r.c (setup): Likewise.
25232
7ecdb005
RM
25233 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25234
e2eabb2c
DM
252352012-07-31 David S. Miller <davem@davemloft.net>
25236
25237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25238
d0419dbf
JM
252392012-07-31 Joseph Myers <joseph@codesourcery.com>
25240
25241 [BZ #13629]
25242 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25243 value between 1.0 and 2.0 and smaller part has absolute value less
25244 than 1.0.
25245 * math/s_clog10.c (__clog10): Likewise.
25246 * math/s_clog10f.c (__clog10f): Likewise.
25247 * math/s_clog10l.c (__clog10l): Likewise.
25248 * math/s_clogf.c (__clogf): Likewise.
25249 * math/s_clogl.c (__clogl): Likewise.
25250 * math/libm-test.inc (clog_test): Add more tests.
25251 (clog10_test): Likewise.
25252 * sysdeps/i386/fpu/libm-test-ulps: Update.
25253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25254
2bc13872
FW
252552012-07-31 Florian Weimer <fweimer@redhat.com>
25256
25257 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25258 Exit with zero in case no suitable GID is found, and write a
25259 message to standard error.
25260
bea9b193
RM
252612012-07-30 Roland McGrath <roland@hack.frob.com>
25262
25263 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25264 rather than to 1.
25265 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25266 (MAXPATHLEN): Removed.
25267 (NOGROUP, NODEV): New macros.
25268 (setbit, clrbit, isset, isclr): New macros.
25269 (howmany, roundup, powerof2): New macros.
25270 (DEV_BSIZE): New macro.
25271
25272 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25273 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25274
25275 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25276 definition on [!__NO_LONG_DOUBLE_MATH].
25277
25278 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25279 PTR_MANGLE and PTR_DEMANGLE.
25280
25281 * socket/accept4.c (accept4): Rename to __libc_accept4.
25282 Define accept4 as a weak alias.
25283
25284 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25285 on [_DIRENT_HAVE_D_TYPE].
25286 * io/ftw.c (ftw_dir): Likewise.
25287
25288 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25289
25290 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25291
25292 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25293 Use the BSD numbers rather than the arbitrary ones we had.
25294 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25295 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25296 (SIGXCPU, SIGXFSZ): New macros.
25297 (_NSIG): Now 32.
25298
25299 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25300 initializer on [_LIBC_REENTRANT].
25301
25302 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25303 definitions inside [_POSIX_MAPPED_FILES].
25304
25305 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25306
25307 * dirent/opendir.c: Include <fcntl.h>.
25308
25309 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25310 (__libc_getspecific): Likewise.
25311 (__libc_key_create): Likewise.
25312
25313 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25314 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25315 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25316 (tmpfile64): Define as alias.
25317 * sysdeps/wordsize-64/tmpfile.c: File removed.
25318 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25319 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25320 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25321
25322 * stdio-common/vfscanf.c: Include <stdbool.h>.
25323 * nss/makedb.c: Likewise.
25324 * stdio-common/_i18n_number.h: Likewise.
25325 * argp/argp-help.c: Likewise.
25326 * posix/wordexp.c: Likewise.
25327 * sysdeps/posix/spawni.c: Likewise.
25328 * nss/nss_files/files-initgroups.c: Likewise.
25329 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25330 * nss/nss_files/files-initgroups.c: Likewise.
25331 * nss/nss_db/db-netgrp.c: Likewise.
25332 * nss/nss_db/db-initgroups.c: Likewise.
25333 * io/fchmodat.c: Include <sys/stat.h>.
25334
25335 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25336 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25337
25338 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25339 [HAVE_MMAP].
25340
25341 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25342 Add multiple inclusion protection.
25343
e5abc686
DM
253442012-07-27 David S. Miller <davem@davemloft.net>
25345
25346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25347
815e6fa3
GB
253482012-07-27 Gary Benson <gbenson@redhat.com>
25349
25350 [BZ #14298]
25351 * elf/rtld.c: Include <stap-probe.h>.
25352 (dl_main): Added static probes "init_start" and "init_complete".
25353 * elf/dl-load.c: Include <stap-probe.h>.
25354 (lose): Take new parameter "nsid".
25355 Added static probe "map_failed".
25356 (_dl_map_object_from_fd): Pass namespace id to lose.
25357 Added static probe "map_start".
25358 (open_verify): Pass namespace id to lose.
25359 * elf/dl-open.c: Include <stap-probe.h>.
25360 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25361 and "reloc_complete".
25362 * elf/dl-close.c: Include <stap-probe.h>.
25363 (_dl_close_worker): Added static probes "unmap_start" and
25364 "unmap_complete".
25365 * elf/rtld-debugger-interface.txt: New file documenting the above.
25366
9f98c16c
RM
253672012-07-26 Roland McGrath <roland@hack.frob.com>
25368
25369 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25370 rather than a string variable.
25371 * sunrpc/rpc_main.c (h_output): Likewise.
25372 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25373
f3c22df3
PT
253742012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25375
25376 * inet/check_native.c: New file.
25377
3129cfc6
JM
253782012-07-26 Joseph Myers <joseph@codesourcery.com>
25379
da865e95
JM
25380 [BZ #13629]
25381 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25382 if larger part has absolute value 1.0.
25383 * math/s_clog10.c (__clog10): Likewise.
25384 * math/s_clog10f.c (__clog10f): Likewise.
25385 * math/s_clog10l.c (__clog10l): Likewise.
25386 * math/s_clogf.c (__clogf): Likewise.
25387 * math/s_clogl.c (__clogl): Likewise.
25388 * math/libm-test.inc (clog_test): Add more tests.
25389 (clog10_test): Likewise.
25390 * sysdeps/i386/fpu/libm-test-ulps: Update.
25391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25392
3129cfc6
JM
25393 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25394 (pltexit): Likewise.
25395 (La_regs): Likewise.
25396 (La_retval): Likewise.
25397 (int_retval): Likewise.
25398 Update #error for removed macros to refer only to definitions in
25399 tst-audit.h.
25400 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25401 macro.
25402 (pltexit): Likewise.
25403 (La_regs): Likewise.
25404 (La_retval): Likewise.
25405 (int_retval): Likewise.
25406 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25407 macro.
25408 (pltexit): Likewise.
25409 (La_regs): Likewise.
25410 (La_retval): Likewise.
25411 (int_retval): Likewise.
25412 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25413 macro.
25414 (pltexit): Likewise.
25415 (La_regs): Likewise.
25416 (La_retval): Likewise.
25417 (int_retval): Likewise.
25418 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25419 macro.
25420 (pltexit): Likewise.
25421 (La_regs): Likewise.
25422 (La_retval): Likewise.
25423 (int_retval): Likewise.
25424 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25425 macro.
25426 (pltexit): Likewise.
25427 (La_regs): Likewise.
25428 (La_retval): Likewise.
25429 (int_retval): Likewise.
25430 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25431 macro.
25432 (pltexit): Likewise.
25433 (La_regs): Likewise.
25434 (La_retval): Likewise.
25435 (int_retval): Likewise.
25436 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25437 macro definitions in tst-audit.h.
25438 * sysdeps/i386/tst-audit.h: New file.
25439 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25440 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25441 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25442 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25443 * sysdeps/sh/tst-audit.h: Likewise.
25444 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25445 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25446 * sysdeps/x86_64/tst-audit.h: Likewise.
25447
bfc07087
AJ
254482012-07-26 Andreas Jaeger <aj@suse.de>
25449
b1b2aaf8
AJ
25450 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25451 ptrace.
25452
25453 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25454 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25455 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25456 PTRACE_O_MASK.
25457 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25458 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25459 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25460
bfc07087
AJ
25461 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25462 value.
25463
25464 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25465 _sigsys.
25466 (si_call_addr, si_syscall, si_arch): Define new macro.
25467 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25468 _sigsys.
25469 (si_call_addr, si_syscall, si_arch): Define new marcro.
25470 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25471 _sigsys.
25472 (si_call_addr, si_syscall, si_arch): Define new macro.
25473 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25474 _sigsys.
25475 (si_call_addr, si_syscall, si_arch): Define new macro.
25476
89b4b02f
JM
254772012-07-25 Joseph Myers <joseph@codesourcery.com>
25478
25479 [BZ #13717]
25480 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25481 Change to 2.4.21 where previously 2.4.1.
25482 * sysdeps/unix/sysv/linux/configure: Regenerated.
25483 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25484 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25485 Linux kernel version.
25486 (__ASSUME_STD_AUXV): Remove.
25487 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25488 kernel version.
25489 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25490 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25491 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25492 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25493 (__ASSUME_NETLINK_SUPPORT): Likewise.
25494 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25495 (__no_netlink_support): Remove conditional definition.
25496 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25497 Remove.
25498 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25499 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25500 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25501 (if_nameindex_ioctl): Remove.
25502 (if_nameindex_netlink): Do not handle __no_netlink_support.
25503 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25504 code.
25505 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25506 Remove conditional code.
25507 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25508 code.
25509 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25510 unconditional.
25511 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25512 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25513 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25514 Remove.
25515 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25516 [!__ASSUME_STD_AUXV]: Remove conditional code.
25517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25518 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25519 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25521 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25522 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25523 code.
25524 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25526 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25527 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25528 conditional code.
25529 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25531 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25532 code.
25533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25534 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25535 conditional code.
25536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25537 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25538 code unconditional.
25539 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25540 conditional code.
25541 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25542 unconditional.
25543 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25544 conditional code.
25545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25546 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25547 unconditional.
25548 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25549 conditional code.
25550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25551 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25552 code unconditional.
25553 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25554 conditional code.
25555 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25556 unconditional.
25557 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25558 conditional code.
25559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25560 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25561 code unconditional.
25562 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25563 conditional code.
25564 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25565 unconditional.
25566 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25567 conditional code.
25568
842a39cd
AS
255692012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25570
25571 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25572 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25573 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25574 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25575 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25576 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25577 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25578 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25579 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25580 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25581 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25582 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25583 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25584 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25585 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25586 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25587 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25588 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25589 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25591 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25592 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25593 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25594
84b3fd84
FW
255952012-07-25 Florian Weimer <fweimer@redhat.com>
25596
25597 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25598 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25599 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25600 Introduce __libc_secure_getenv.
0c7936d5
FW
25601 * stdlib/Versions (2.17): Add secure_getenv
25602 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25603 * stdlib/secure-getenv.c: Rename __secure_getenv to
25604 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25605 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25606 * stdlib/tst-secure-getenv.c: New.
25607 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25608 * manual/startup.texi (Environment Access): Document
25609 secure_getenv.
84b3fd84
FW
25610 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25611 __libc_secure_getenv.
25612 * inet/ruserpass.c (ruserpass): Likewise.
25613 * malloc/mtrace.c (mtrace): Likewise.
25614 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25615 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25616 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25617 * sysdeps/posix/tempname.c: Likewise. Evaluate
25618 HAVE_SECURE_GETENV.
25619 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25620 __secure_getenv to __libc_secure_getenv.
84b3fd84 25621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25623 Likewise.
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25625 Likewise.
25626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25628 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25633
56e49b71
JM
256342012-07-25 Joseph Myers <joseph@codesourcery.com>
25635
25636 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25637 (struct La_i86_retval): Likewise.
25638 (struct La_x86_64_regs): Likewise.
25639 (struct La_x86_64_retval): Likewise.
25640 (struct La_x32_regs): Likewise.
25641 (struct La_x32_retval): Likewise.
25642 (struct La_ppc32_regs): Likewise.
25643 (struct La_ppc32_retval): Likewise.
25644 (struct La_ppc64_regs): Likewise.
25645 (struct La_ppc64_retval): Likewise.
25646 (struct La_sh_regs): Likewise.
25647 (struct La_sh_retval): Likewise.
25648 (struct La_s390_32_regs): Likewise.
25649 (struct La_s390_32_retval): Likewise.
25650 (struct La_s390_64_regs): Likewise.
25651 (struct La_s390_64_retval): Likewise.
25652 (struct La_sparc32_regs): Likewise.
25653 (struct La_sparc32_retval): Likewise.
25654 (struct La_sparc64_regs): Likewise.
25655 (struct La_sparc64_retval): Likewise.
25656 (struct audit_ifaces): Remove architecture-specific pltenter and
25657 pltexit members.
25658 * sysdeps/i386/ldsodefs.h: New file.
25659 * sysdeps/powerpc/ldsodefs.h: Likewise.
25660 * sysdeps/s390/ldsodefs.h: Likewise.
25661 * sysdeps/sh/ldsodefs.h: Likewise.
25662 * sysdeps/sparc/ldsodefs.h: Likewise.
25663 * sysdeps/x86_64/ldsodefs.h: Likewise.
25664
354691b7
MP
256652012-07-25 Marek Polacek <polacek@redhat.com>
25666
25667 [BZ #6808]
25668 * math/libm-test.inc (yn_test): Add another test.
25669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25670 to ERANGE when the result is +-Inf.
25671 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25672 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25673 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25674 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25675
bf9e2071
JM
256762012-07-24 Joseph Myers <joseph@codesourcery.com>
25677
25678 * conform/data/time.h-data (NULL): Use macro-constant. Require
25679 equal to 0.
25680 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25681 clock_t.
25682 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25683
57633811
TS
256842012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25685
25686 * configure.in <sysdeps resolving>: Correct printing
25687 Implies_before.
25688 * configure: Regenerate.
25689
c23c33b0
TS
256902012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25691
25692 * math/w_ilogb.c: Include <limits.h>.
25693 * math/w_ilogbl.c: Likewise.
25694
b5982523
JM
256952012-07-20 Joseph Myers <joseph@codesourcery.com>
25696
25697 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25698 va_copy. Document allowing for unavailable va_copy only as
25699 pre-C99 compatibility.
25700 * manual/string.texi (Copying and Concatenation): Use va_copy
25701 instead of __va_copy in concat example.
25702
ac4ea442
PT
257032012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25704
25705 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25706 (__sendto): Use create_address_port. Initialize APORT and deallocate
25707 it if not null.
25708
f98eafbd
PT
25709 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25710 with O_NOLINK passed to __file_name_lookup.
25711
898c7aab
PT
25712 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25713 with O_NOLINK passed to __file_name_lookup.
25714
0ced335a
PT
25715 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25716 negative N or less than NGIDS.
25717
b3404dbd
PT
25718 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25719 type to string_t. Set ERANGE as errno and return it if NAME is not big
25720 enough. Use memcpy instead of strncpy.
25721
0f48659e
JM
257222012-07-20 Joseph Myers <joseph@codesourcery.com>
25723
25724 * elf/Makefile (check-data): Remove.
25725 (localplt.data): New vpath directive.
25726 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25727 instead of $(check-data).
25728 * scripts/data/localplt-generic.data: Move to ...
25729 * sysdeps/generic/localplt.data: ... here.
25730 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25731 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25732 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25734 ... here.
25735 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25737 ... here.
25738 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25740 ... here.
25741 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25743 ... here.
25744 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25746 ... here.
25747 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25749 ... here.
25750
d37cbdaa
AZ
257512012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25752
25753 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25754 PPC32 and PPC64 files.
25755 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25756 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25757
46f85fc2
AK
257582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25759
25760 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25761 __makecontext_ret to ...
25762 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25763 ... here and call exit if uc_link is NULL. New file.
25764 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25765 __makecontext_ret.S.
25766 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25767 __makecontext_ret to ...
25768 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25769 ... here and call exit if uc_link is NULL. New file.
25770 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25771 __makecontext_ret.S.
25772
08f43f9b
AK
257732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25774
25775 * elf/elf.h (R_390_IRELATIVE): New definition.
25776 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25777 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25778 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25779 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25780 (elf_machine_lazy_rel): Likewise.
25781 * sysdeps/s390/dl-irel.h: New file.
25782 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25783 * sysdeps/s390/s390-64/memset.S: New asm code.
25784 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25785 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25786 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25787 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25788 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25789 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25790 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25791 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25792 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25793 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25794 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25795 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25796 * sysdeps/s390/s390-32/memset.S: New asm code.
25797 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25798
3b05db33
MP
257992012-07-17 Marek Polacek <polacek@redhat.com>
25800
25801 [BZ #14349]
25802 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25803 * sysdeps/s390/s390-64/configure.in: Likewise.
25804 * sysdeps/sparc/configure.in: Likewise.
25805 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25806 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25807 * sysdeps/i386/configure.in: Likewise.
25808 * sysdeps/x86_64/configure.in: Likewise.
25809 * sysdeps/sh/configure.in: Likewise.
25810 * sysdeps/s390/s390-32/configure: Regenerated.
25811 * sysdeps/s390/s390-64/configure: Likewise.
25812 * sysdeps/x86_64/configure: Likewise.
25813 * sysdeps/sh/configure: Likewise.
25814 * sysdeps/powerpc/powerpc64/configure: Likewise.
25815 * sysdeps/powerpc/powerpc32/configure: Likewise.
25816 * sysdeps/sparc/configure: Likwise.
25817 * sysdeps/i386/configure: Likewise.
25818
a66877c6
MP
25819 * elf/dl-open.c: Comment fixes.
25820
cfc82fd8
JM
258212012-07-17 Joseph Myers <joseph@codesourcery.com>
25822
bd29910a
JM
25823 * Makefile [CXX] (check-data): Remove.
25824 [CXX] (c++-types.data): New vpath directive.
25825 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25826 vpath. Do not allow for C++ type data being missing.
25827 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25828 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25829 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25830 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25831 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25832 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25833 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25835 ... here.
25836 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25838 ... here.
25839 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25841 ... here.
25842 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25844 ... here.
25845 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25847 ... here.
25848 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25850 ... here.
25851 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25853 ... here.
25854 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25856
cfc82fd8
JM
25857 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25858 definitions to architecture-specific files.
25859 (TLS_IE): Likewise.
25860 (TLS_LD): Likewise.
25861 (TLS_GD): Likewise.
25862 * sysdeps/i386/tls-macros.h: New file.
25863 * sysdeps/powerpc/tls-macros.h: Likewise.
25864 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25865 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25866 * sysdeps/sh/tls-macros.h: Likewise.
25867 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25868 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25869 * sysdeps/x86_64/tls-macros.h: Likewise.
25870
f7db3170
TS
258712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25872
07cbfc23
TS
25873 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25874 zero value for regular exit case.
25875
f7db3170
TS
25876 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25877 (__start_context): Preserve zero value for regular exit case.
25878
dc97c227
TS
258792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25880 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25881
25882 * manual/setjmp.texi (setcontext): Clarify normal process
25883 termination when uc_link is the null pointer.
25884 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25885 exit call.
25886
d0cd7d02
AS
258872012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25888
25889 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25890 preprocessor. Test for each exception mask separately.
25891
dd318934
AJ
258922012-07-16 Andreas Jaeger <aj@suse.de>
25893
25894 * po/ru.po: Update from translation team.
25895
8048311a
JM
258962012-07-15 Joseph Myers <joseph@codesourcery.com>
25897
25898 * conform/data/string.h-data (NULL): Use macro-constant. Require
25899 equal to 0.
25900 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25901 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25902 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25903 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25904 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25905
b637d46e
AJ
259062012-07-13 Andreas Jaeger <aj@suse.de>
25907
25908 * po/fr.po: Update from translation team.
25909
541428fe
MP
259102012-07-12 Marek Polacek <polacek@redhat.com>
25911
25912 [BZ #14173]
25913 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25914 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25915 loop condition.
25916
ec332e94
JM
259172012-07-12 Joseph Myers <joseph@codesourcery.com>
25918
25919 [BZ #13717]
25920 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25921 Change to 2.4.1 where previously 2.4.0.
25922 * sysdeps/unix/sysv/linux/configure: Regenerated.
25923 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25924 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25925 version.
25926 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25927 (__ASSUME_AT_CLKTCK): Remove.
25928 (__ASSUME_AT_PAGESIZE): Likewise.
25929 (__ASSUME_AT_XID): Likewise.
25930 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25931 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25932 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25933 unconditionally.
25934 (HAVE_AUX_PAGESIZE): Likewise.
25935 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25936 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25937 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25938
7b6e99be
JB
259392012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25940
25941 [BZ #14307]
25942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25943 the temporary buffer used to invoke __gethostbyname2_r,
25944 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25945 host_data / struct gaih_addrtuple.
25946 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25947 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25948 header file nss/nsswitch.h.
25949 * nss/nsswitch.h (global scope): Add definition of implementation
25950 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25951 resolv/nss_dns/dns-host.c).
25952
608404eb
AJ
259532012-07-11 Andreas Jaeger <aj@suse.de>
25954
25955 * po/fr.po: Update from translation team.
25956
71220aca
AJ
25957 * po/sv.po: Update from translation team
25958 * po/fr.po: Another update from translation team.
25959
28cfe843
AZ
259602012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25961
25962 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25963 for subnormals or multiply small sinh result by itself.
25964 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25966
6b90f981
DM
259672012-07-11 David S. Miller <davem@davemloft.net>
25968
25969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25970
c6825772
AS
259712012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25972
25973 [BZ #14347]
25974 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25975 (INTERNAL_MARK): Shift it here.
25976
7b8e0d49
MP
259772012-07-10 Marek Polacek <polacek@redhat.com>
25978
25979 [BZ #14151]
25980 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25981 libc_cv_asm_global_directive with .globl.
25982 * configure: Regenerated.
25983 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25984 with .globl.
25985 * sysdeps/i386/configure: Regenerated.
25986 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25987 with .globl.
25988 * sysdeps/x86_64/configure: Regenerated.
25989 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25990 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25991 * elf/tst-unique2mod2.c: Likewise.
25992 * elf/tst-unique2mod1.c: Likewise.
25993 * elf/tst-unique1mod2.c: Likewise.
25994 * elf/tst-unique1mod1.c: Likewise.
25995 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25996 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25997 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25998 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25999 * sysdeps/mach/sysdep.h: Likewise.
26000 * sysdeps/i386/sysdep.h: Likewise.
26001 * sysdeps/i386/i386-mcount.S: Likewise.
26002 * sysdeps/x86_64/_mcount.S: Likewise.
26003 * sysdeps/x86_64/sysdep.h: Likewise.
26004 * sysdeps/sh/_mcount.S: Likewise.
26005 * sysdeps/sh/sysdep.h: Likewise.
26006 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26007 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26008 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26009 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26010 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26011 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26012 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26013 * locale/localeinfo.h: Likewise.
26014 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26015 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26016
6c55cda3
RM
260172012-07-09 Roland McGrath <roland@hack.frob.com>
26018
26019 [BZ #14336]
26020 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26021 system".
26022 * manual/message.texi (The Uniforum approach): Likewise.
26023 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26024 (glibc iconv Implementation): Likewise.
26025
638a572e
JM
260262012-07-09 Joseph Myers <joseph@codesourcery.com>
26027
26028 [BZ #14337]
26029 * math/s_clog.c (__clog): Avoid scaling a value down where that
26030 could result in underflow.
26031 * math/s_clog10.c (__clog10): Likewise.
26032 * math/s_clog10f.c (__clog10f): Likewise.
26033 * math/s_clog10l.c (__clog10l): Likewise.
26034 * math/s_clogf.c (__clogf): Likewise.
26035 * math/s_clogl.c (__clogl): Likewise.
26036 * math/libm-test.inc (clog_test): Add more tests.
26037 (clog10_test): Likewise.
26038 * sysdeps/i386/fpu/libm-test-ulps: Update.
26039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26040
261f4859
AS
260412012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26042
0abaf3e4
AS
26043 [BZ #14283]
26044 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26045 by 7 not 8 to examine high bit of fractional part.
26046
261f4859
AS
26047 [BZ #14042]
26048 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26049 for call to __mcount_internal.
26050 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26051 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26052 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26053
f17ac40d
JM
260542012-07-06 Joseph Myers <joseph@codesourcery.com>
26055
9ad63c23
JM
26056 [BZ #14154]
26057 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26058 approximation for values within 0x1p-13f of an odd multiple of
26059 pi/4.
26060 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26061 exception. Add more tests.
26062 * sysdeps/i386/fpu/libm-test-ulps: Update.
26063
f17ac40d
JM
26064 [BZ #6778]
26065 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26066 inputs and return -1 for them. Do not check for +Inf in case not
26067 reachable for +Inf.
26068 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26069 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26070 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26071 and return -1 for them. Do not check for +Inf in case not
26072 reachable for +Inf.
26073 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26074 define.
26075 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26076 and return -1 for them. Do not check for +Inf in case not
26077 reachable for +Inf.
26078 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26079 spurious underflow.
26080 * sysdeps/i386/fpu/libm-test-ulps: Update.
26081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26082
fb21f89b
MF
260832012-07-06 Mike Frysinger <vapier@gentoo.org>
26084
26085 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26086
cdfe2c5e
JM
260872012-07-05 Joseph Myers <joseph@codesourcery.com>
26088
26089 [BZ #14157]
26090 [BZ #14331]
26091 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26092 could result in spurious underflow. Scale down values above
26093 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26094 * math/s_csqrtf.c (__csqrtf): Likewise.
26095 * math/s_csqrtl.c (__csqrtl): Likewise.
26096 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26097 spurious underflow.
26098 * sysdeps/i386/fpu/libm-test-ulps: Update.
26099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26100
70d35b67
AS
261012012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26102
704bc459
AS
26103 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26104 xopen-msg.sed.
26105 * catgets/xopen-msg.awk: New file.
26106 * catgets/xopen-msg.sed: Removed.
26107
70d35b67
AS
26108 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26109 po2text.sed.
26110 * intl/po2test.awk: New file.
26111 * intl/po2test.sed: Removed.
26112
ca61cf32
JM
261132012-07-04 Joseph Myers <joseph@codesourcery.com>
26114
26115 [BZ #14328]
26116 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26117 or multiply small sinh result by itself.
26118 * math/s_ctanf.c (__ctanf): Likewise.
26119 * math/s_ctanh.c (__ctanh): Likewise.
26120 * math/s_ctanhf.c (__ctanhf): Likewise.
26121 * math/s_ctanhl.c (__ctanhl): Likewise.
26122 * math/s_ctanl.c (__ctanl): Likewise.
26123 * math/libm-test.inc (ctan_test_tonearest): New function.
26124 (ctan_test_towardzero): Likewise.
26125 (ctan_test_downward): Likewise.
26126 (ctan_test_upward): Likewise.
26127 (ctanh_test_tonearest): Likewise.
26128 (ctanh_test_towardzero): Likewise.
26129 (ctanh_test_downward): Likewise.
26130 (ctanh_test_upward): Likewise.
26131 (main): Call these new functions.
26132 * sysdeps/i386/fpu/libm-test-ulps: Update.
26133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26134
ca48a46a
MF
261352012-07-03 Mike Frysinger <vapier@gentoo.org>
26136
26137 * .gitignore: Delete /ports entry.
26138
9d63d37d
AJ
261392012-07-03 Andreas Jaeger <aj@suse.de>
26140
26141 * po/bg.po: Update from translation team.
26142 * po/cs.po: Likewise.
26143 * po/de.po: Likewise.
26144 * po/hr.po: Likewise.
26145 * po/nl.pl: Likewise.
26146 * po/pl.po: Likewise.
26147 * po/vi.po: Likewise.
26148
370ca3d2
JM
261492012-07-03 Joseph Myers <joseph@codesourcery.com>
26150
95f5a9a8
JM
26151 * Makeconfig [!+link] (+link-before-libc): New variable.
26152 [!+link] (+link-after-libc): Likewise.
26153 [!+link] (+link-tests): Likewise.
26154 [!+link] (+link): Define in terms of $(+link-before-libc) and
26155 $(+link-after-libc).
26156 [!+link-static] (+link-static-before-libc): New variable.
26157 [!+link-static] (+link-static-after-libc): Likewise.
26158 [!+link-static] (+link-static-tests): Likewise.
26159 [!+link-static] (+link-static): Define in terms of
26160 $(+link-static-before-libc) and $(+link-static-after-libc).
26161 [build-shared] (link-libc-before-gnulib): New variable.
26162 [build-shared] (link-libc-tests): Likewise.
26163 [build-shared] (link-libc): Define in terms of
26164 $(link-libc-before-gnulib).
26165 [!build-shared] (link-libc-tests): New variable.
26166 (link-libc-static-tests): New variable.
26167 [!gnulib] (gnulib-arch): New variable.
26168 [!gnulib] (gnulib-tests): Likewise.
26169 [!gnulib] (static-gnulib-arch): Likewise.
26170 [!gnulib] (static-gnulib-tests): Likewise.
26171 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26172 Define with "=" instead of ":=".
26173 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26174 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26175 * Rules (binaries-all-notests): New variable.
26176 (binaries-all-tests): Likewise.
26177 (binaries-static-notests): Likewise.
26178 (binaries-static-tests): Likewise.
26179 (binaries-all): Define using $(binaries-all-notests) and
26180 $(binaries-all-tests).
26181 (binaries-static): Define using $(binaries-static-notests) and
26182 $(binaries-static-tests).
26183 (binaries-shared-tests): New variable.
26184 (binaries-shared-notests): Likewise.
26185 (binaries-shared): Remove variable.
26186 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26187 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26188 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26189 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26190 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26191 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26192 * elf/Makefile (sln-modules): New variable.
26193 (extra-objs): Add $(sln-modules:=.o).
26194 (ldconfig-modules): Add static-stubs.
26195 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26196 * elf/static-stubs.c: New file.
26197
7a845b2c
JM
26198 [BZ #14283]
26199 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26200 by 7 not 8 to examine high bit of fractional part. Use volatile
26201 variables when splitting into final array of floats if
26202 __FLT_EVAL_METHOD__ != 0.
26203 * math/libm-test.inc (cos_test): Add another test.
26204 (sin_test): Likewise.
26205 * sysdeps/i386/fpu/libm-test-ulps: Update.
26206
e2283f38
JM
26207 [BZ #14273]
26208 * math/libm-test.inc (cosh_test): Add more tests.
26209
370ca3d2
JM
26210 * version.h (RELEASE): Set to "development".
26211 (VERSION): Set to "2.16.90".
26212
ee9247c3
CD
262132012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26214
26215 * NEWS: Update copyright. Remove last-updated date.
26216 Mention math library bug fixes and timezone data changes.
26217 * README: Mention GNU/Hurd, x32, and HPPA support status.
26218
4648c381
TS
262192012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26220
26221 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26222
aac78a43
AJ
262232012-06-27 Andreas Jaeger <aj@suse.de>
26224
26225 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26226
ed3dbfad
AJ
262272012-06-25 Andreas Jaeger <aj@suse.de>
26228
26229 * sysdeps/s390/fpu/libm-test-ulps: Update.
26230
4d0ee855
AS
262312012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26232 Thomas Schwinge <thomas@codesourcery.com>
26233
26234 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26235 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26237 fanotify_mark.
26238
af1bce34
TS
262392012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26240
a9fa33ba
TS
26241 * sysdeps/mach/start.c: Remove file.
26242 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26243 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26244 * sysdeps/sh/init-first.c: Likewise.
26245
58f902b8
TS
26246 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26247 registers for frame unwinding purposes, add CFI directives.
26248 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26249 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26250 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26251 Likewise.
26252
1518f58b
TS
26253 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26254 __fortify_fail returning.
26255 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26256
db9b5059
TS
26257 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26258 sysdeps/sh/____longjmp_chk.S.
26259 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26260 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26261 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26262 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26263
967705fe
TS
26264 * sysdeps/sh/abort-instr.h: New file.
26265 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26266 process in case exit returns.
26267
a9def8c4
TS
26268 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26269 initialize the GOT register before use.
26270
2a649725
TS
26271 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26272 calculation of ARGC > 4.
26273
af1bce34
TS
26274 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26275 meaningful names to some local labels.
26276
d230f50a
KK
262772012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26278 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26279
26280 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26281 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26282 (__arch_compare_and_exchange_val_16_acq): Likewise.
26283 (__arch_compare_and_exchange_val_32_acq): Likewise.
26284 (atomic_exchange_and_add): Fix gUSA sequence.
26285 (atomic_add): Likewise.
26286 (atomic_add_negative): Likewise.
26287 (atomic_add_zero): Likewise.
26288 (atomic_bit_test_set): Likewise.
26289
0479b305
AS
262902012-06-22 Andreas Schwab <schwab@redhat.com>
26291
26292 [BZ #13579]
26293 * include/link.h (struct link_map): Add l_free_initfini.
26294 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26295 l_initfini.
26296 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26297 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26298 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26299 set.
26300
0e3933b9
CD
263012012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26302
26303 * configure.in: Use AC_LANG_SOURCE.
26304 * configure: Regenerate.
26305
4248b1b1
RM
263062012-06-22 Roland McGrath <roland@hack.frob.com>
26307
26308 * configure.in (libc_cv_localstatedir): New substituted variable.
26309 * configure: Regenerated.
26310 * config.make.in (localstatedir): New variable, substituted from
26311 libc_cv_localstatedir.
26312 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26313 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26314 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26315 * sysdeps/gnu/configure: Regenerated.
26316
006dd861
JL
263172012-06-21 Jeff Law <law@redhat.com>
26318
26319 [BZ #14277]
26320 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26321 free. Simplify list management for _LIBC case.
26322
79662d42
JM
263232012-06-21 Joseph Myers <joseph@codesourcery.com>
26324
b7abb4bf
JM
26325 [BZ #14273]
26326 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26327 Clear sign bit of 64-bit integer value before comparing against
26328 overflow value.
26329
79662d42
JM
26330 * sysdeps/mach/configure: Regenerated.
26331
1f150908
L
263322012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26333
26334 [BZ #14278]
26335 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26336
28363bbf
JL
263372012-06-21 Jeff Law <law@redhat.com>
26338
26339 [BZ #13882]
26340 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26341 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26342 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26343 * elf/dl-open.c (dl_open_worker): Likewise.
26344
09615db4
CD
263452012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26346
26347 * scripts/list-sources.sh: Scan PORTS for translations.
26348 * po/libc.pot: Regenerated.
26349
2174c6dd
AJ
263502012-06-21 Andreas Jaeger <aj@suse.de>
26351
26352 [BZ #12194]
26353 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26354 warning.
26355 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26356 * bits/byteswap-16.h (__bswap_16): Likewise.
26357 * bits/byteswap.h (__bswap_constant_16): Likewise.
26358
3ee947b1
L
263592012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26360
26361 [BZ #14117]
a2f34833
L
26362 * sysdeps/i386/fpu_control.h: Removed.
26363 * sysdeps/x86_64/fpu_control.h: Moved to ...
26364 * sysdeps/x86/fpu_control.h: Here.
26365
3ee947b1
L
26366 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26367 (_FPU_SETCW): Likewise.
26368
ed1825f8
L
263692012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26370
25f1282a
L
26371 [BZ #14117]
26372 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26373 * sysdeps/x86/fpu/bits/mathinline.h: This.
26374 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26375
ed1825f8
L
26376 [BZ #14050]
26377 [BZ #14117]
26378 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26379 functions if __x86_64__ is defined.
26380
36d54b74
CLT
263812012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26382
26383 * string/endian.h: Add !__ASSEMBLER__ condition for including
26384 conversion interfaces.
26385
10285c21
JM
263862012-06-15 Joseph Myers <joseph@codesourcery.com>
26387
26388 [BZ #14241]
26389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26390 of ABS(x) in calculating zero to negative powers other than odd
26391 integers.
26392 * math/libm-test.inc (pow_test): Add more tests.
26393
06c5abbd
AJ
263942012-06-15 Andreas Jaeger <aj@suse.de>
26395
26396 * manual/contrib.texi (Contributors): Update entry of Liubov
26397 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26398 Machado Filho.
26399
a3aeac40
CH
264002012-06-15 Cyril Hrubis <metan@ucw.cz>
26401
26402 * string/string.h: Add __wur to GNU version of strerror_r.
26403
49bdf4c1
L
264042012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26405
26406 [BZ #14229]
26407 * string/Makefile (tests): Add tst-strtok_r.
26408 * string/tst-strtok_r.c: New file.
26409 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26410 RAX_LP/RDX_LP on SAVE_PTR.
26411
834f9b8d
RM
264122012-06-14 Roland McGrath <roland@hack.frob.com>
26413
26414 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26415
75fa1921
JM
264162012-06-14 Joseph Myers <joseph@codesourcery.com>
26417
26418 * libm_test.inc (csqrt_test): Allow more spurious underflow
26419 exceptions.
26420 (j0_test): Likewise.
26421 (j1_test): Likewise.
26422 (y0_test): Likewise.
26423 (y1_test): Likewise.
26424
771766df
CD
264252012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26426
26427 * po/Makefile (libc.pot): Use UTF-8 charset.
26428
ceb9e56b
PP
264292012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26430
26431 [BZ #14210]
26432 Suppress sign-conversion warning from FD_SET.
26433 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26434 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26435 not unsigned long int.
26436 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26437
ddb28975
L
264382012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26439
26440 [BZ #14050]
26441 [BZ #14117]
26442 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26443 __extern_always_inline instead of __extern_inline.
26444 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26445 (__signbit): Likewise.
26446 (__signbitl): Support C++ namespace.
26447 (lrintf): New inline function.
26448 (lrint): Likewise.
26449 (llrintf): Likewise.
26450 (llrint): Likewise.
26451 (fmaxf): Likewise.
26452 (fmax): Likewise.
26453 (fminf): Likewise.
26454 (fmin): Likewise.
26455 (rint): Likewise.
26456 (rintf): Likewise.
26457 (ceil): Likewise.
26458 (ceilf): Likewise.
26459 (floor): Likewise.
26460 (floorf): Likewise.
26461 (nearbyint): Likewise.
26462 (nearbyintf): Likewise.
26463
d7b4fb26
TS
264642012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26465
26466 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26467 non-default versions.
26468
eb55f5c2
RM
264692012-06-11 Roland McGrath <roland@hack.frob.com>
26470
26471 [BZ #14218]
26472 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26473
366af02c
TS
264742012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26475
99ff6e5c
TS
26476 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26477 (FE_UPWARD, FE_DOWNWARD): Don't define.
26478 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26479 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26480
366af02c
TS
26481 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26482 reading it.
26483 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26484 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26485
793ea851
KK
264862012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26487
26488 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26489 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26490 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26491 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26492
a728a38f
L
264932012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26494
26495 [BZ #14117]
c08010c7
L
26496 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26497 * sysdeps/i386/fpu/Implies: New file.
26498 * sysdeps/x86_64/fpu/Implies: Likewise.
26499 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26500 * sysdeps/x86/fpu/bits/fenv.h: This.
26501
a728a38f
L
26502 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26503 __SSE_MATH__.
26504
6e230d11
SP
265052012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26506
26507 [BZ #14134]
26508 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26509 character 0xffff that matches the last element of the
26510 conversion table.
26511
1b671feb
AZ
265122012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26513
26514 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26515 fmodl commit.
26516
6043738b
AZ
265172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26518
26519 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26520 values higher than 25.6283.
26521
34ae0b32
AZ
265222012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26523
26524 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26525 subnormal exponent extraction and add some __builtin_expect.
26526 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26527 Fix for subnormal mantissa calculation.
26528
1214ec8f
MF
265292012-06-04 Mike Frysinger <vapier@gentoo.org>
26530
26531 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26532 cpu2 is -1 and errno is not ENOSYS.
26533
f3d1f93c
L
265342012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26535
26536 [BZ #14117]
0e4a3cd7
L
26537 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26538 * sysdeps/x86/bits/string.h: This.
26539 * sysdeps/x86_64/bits/string.h: Removed.
26540
6704c645
L
26541 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26542 if not compiling for x86-64, but compiling for >= i486.
26543
48495318
L
26544 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26545 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26546
14adcbfc
L
26547 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26548 New macro from Linux kernel 3.4.0.
26549 (FP_XSTATE_MAGIC2): Likewise.
26550 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26551 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26552 (struct _fpx_sw_bytes): New struct.
26553 (struct _xsave_hdr): Likewise.
26554 (struct _ymmh_state): Likewise.
26555 (struct _xstate): Likewise.
26556
68e408ab
L
26557 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26558 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26559 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26560 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26561 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26562 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26563
f3d1f93c
L
26564 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26565 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26566 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26567 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26568 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26569 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26570
d9dc34cd
TMQMF
265712012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26572
26573 [BZ #13743]
26574 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26575 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26576 (sysdep_headers): Include sys/platform/ppc.h.
26577 * sysdeps/powerpc/test-gettimebase.c: Test for
26578 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26579 * manual/Makefile (appendices): Include platform.texi.
26580 * manual/contrib.texi (Contributors): Update @node pointers.
26581 * manual/maint.texi (Maintenance): Likewise.
26582 (Platform): New node.
26583 * manual/platform.texi: New file. Document the new features.
26584
4af3879c
SP
265852012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26586 Jakub Jelinek <jakub@redhat.com>
26587
26588 [BZ #14188]
26589 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26590 where __builtin_expect is unavailable.
26591
2fd6ff13
DM
265922012-06-03 David S. Miller <davem@davemloft.net>
26593
26594 * stdlib/longlong.h: Updated from GCC.
26595
173f7220
AS
265962012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26597
26598 [BZ #14042]
26599 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26600 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26601 __mcount_internal.
26602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26603 (GLIBC_2.16): Likewise.
26604
f34a1c6f
L
266052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26606
26607 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26608
88a4576f
JM
266092012-06-01 Joseph Myers <joseph@codesourcery.com>
26610
ea32bcdd
JM
26611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26612 (default-abi): New variable.
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26614 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26615 variable.
26616 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26617 Likewise.
26618 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26619 Likewise.
26620 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26621 Likewise.
26622
88a4576f
JM
26623 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26624 definition. Document in comment.
26625
402fe938
DM
266262012-06-01 David S. Miller <davem@davemloft.net>
26627
26628 * stdlib/longlong.h: Updated from GCC.
26629
3553723f
L
266302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26631
26632 [BZ #14117]
3bd872c4
L
26633 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26634 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26635 sys/debugreg.h sys/io.h here.
26636 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26637 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26638 sys/io.h.
26639 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26640 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26641 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26642 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26643 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26644 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26645
3553723f
L
26646 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26647 Define only if __x86_64__ is defined.
26648
4842e4fe
JM
266492012-06-01 Joseph Myers <joseph@codesourcery.com>
26650
c5bfe3d5
JM
26651 [BZ #14048]
26652 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26653 Use int64_t for variable i.
26654 * math/libm-test.inc (fmod_test): Add more tests.
26655
4842e4fe
JM
26656 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26657 z computation is not scheduled after fetestexcept.
26658 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26659 Use math_force_eval instead of asm to ensure calculation scheduled
26660 before exception test.
26661 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26662 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26663
efb73488
AJ
266642012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26665
26666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26667 computation is not scheduled after fetestexcept.
26668
29bcce7c
L
266692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26670
26671 [BZ #14117]
26672 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26673 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26674
73a68f94
AZ
266752012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26676
26677 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26678 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26679
67b6df78
L
266802012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26681
edf2933a 26682 [BZ #14117]
ebc64a18
L
26683 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26684 <bits/wordsize.h>.
26685 (__WCHAR_MIN): Support __WORDSIZE == 64.
26686 (__WCHAR_MAX): Likewise.
26687
edf2933a
L
26688 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26689 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26690
57c6cf40
L
26691 [BZ #14183]
26692 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26693 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26694
67b6df78 26695 [BZ #14117]
8eb6281e
L
26696 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26697 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26698
aac639f4
L
26699 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26700 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26701
67b6df78
L
26702 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26703 Defined to 1 if __x86_64__ isn't defined.
26704 (_STAT_VER_LINUX_OLD): New.
26705 (st_atime): Remove duplicate.
26706 (st_mtime): Likewise.
26707 (st_ctime): Likewise.
26708
1c2cfe81
DM
267092012-05-31 David S. Miller <davem@davemloft.net>
26710
26711 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26712 entries.
26713
5be8418c
AS
267142012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26715
e7725326
AS
26716 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26717 gen-libm-test.pl.
26718
5be8418c
AS
26719 [BZ #14132]
26720 * elf/dl-reloc.c: Include <_itoa.h>.
26721 (_dl_reloc_bad_type): Remove use of INTUSE.
26722 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26723 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26724 * stdio-common/psiginfo.c (psiginfo): Likewise.
26725 * stdio-common/psignal.c (psignal): Likewise.
26726 * string/strsignal.c (strsignal): Likewise.
26727 * include/signal.h (_sys_siglist): Declare hidden proto.
26728 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26729 INTVARDEF with libc_hidden_data_def.
26730 * stdio-common/itoa-udigits.c: Likewise.
26731 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26732 (_itoa_lower_digits_internal): Remove declaration.
26733 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26734 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26735 (_sys_sigabbrev_internal): Remove aliases.
26736 (_sys_siglist): Define hidden alias.
26737
507352f1
MT
267382012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26739
26740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26741 bits/sysctl.h.
26742
42bbb1c3
L
267432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26744
26745 [BZ #14117]
6bd784b6
L
26746 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26747 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26748
8bca20f0
L
26749 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26750 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26751 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26752 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26753 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26754 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26755
f9e890a9
L
26756 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26757 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26758 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26759
471101a1
L
26760 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26761 with __addr.
26762 (insw): Likewise.
26763 (insl): Likewise.
26764 (outsb): Likewise.
26765 (outsw): Likewise.
26766 (outsl): Likewise.
26767
6451c862
L
26768 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26769 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26770 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26771
a254b8c9
L
26772 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26773 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26774 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26775 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26776 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26777 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26778
b8dfdd92
L
26779 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26780 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26781
578cd270
L
26782 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26783 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26784
de662f5f
L
26785 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26786 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26787 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26788
25653439
L
26789 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26790 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26791 to ...
26792 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26793
6bad24a0
L
26794 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26795 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26796 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26797
42bbb1c3
L
26798 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26799 for x86-64.
26800 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26801
2d10d547
JM
268022012-05-31 Joseph Myers <joseph@codesourcery.com>
26803
26804 * math/math.h (M_El): Use two more decimal places.
26805 (M_LOG2El): Likewise.
26806 (M_LOG10El): Likewise.
26807 (M_LN2l): Likewise.
26808 (M_LN10l): Likewise.
26809 (M_PIl): Likewise.
26810 (M_PI_2l): Likewise.
26811 (M_PI_4l): Likewise.
26812 (M_1_PIl): Likewise.
26813 (M_2_PIl): Likewise.
26814 (M_2_SQRTPIl): Likewise.
26815 (M_SQRT2l): Likewise.
26816 (M_SQRT1_2l): Likewise.
26817
f230c29b
DM
268182012-05-31 David S. Miller <davem@davemloft.net>
26819
26820 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26821 values between float registers.
26822 * sysdeps/sparc/sparc64/memset.S: Likewise.
26823 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26824
fed806c3
MF
268252012-05-31 Mike Frysinger <vapier@gentoo.org>
26826
26827 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26828 -D_FORTIFY_SOURCE=1.
26829 (CPPFLAGS-tst-longjmp_chk.c): Define.
26830 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26831 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26832 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26833 CFLAGS-tst-wchar-h.c.
26834
30917259
MP
268352012-05-31 Marek Polacek <polacek@redhat.com>
26836
26837 [BZ #14132]
26838 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26839 __endmntent_internal): Remove declaration.
26840 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26841 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26842 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26843
1c58d5dc
DM
268442012-05-30 David S. Miller <davem@davemloft.net>
26845
26846 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26847 (___Q_simulate_exceptions): Use real FP ops rather than writing
26848 into the %fsr.
26849 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26850 Likewise.
26851
7dc00e0d
L
268522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26853
26854 [BZ #14117]
0bd53985
L
26855 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26856 * sysdeps/x86/bits/xtitypes.h: This.
26857
3a257e66
L
26858 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26859 * sysdeps/x86/bits/wordsize.h: This.
26860
62f62904
L
26861 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26862 * sysdeps/x86/bits/huge_vall.h: This.
26863
404fe9d9
L
26864 * sysdeps/i386/bits/select.h: Removed.
26865 * sysdeps/x86_64/bits/select.h: Renamed to ...
26866 * sysdeps/x86/bits/select.h: This.
26867
d48d0446
L
26868 * sysdeps/i386/bits/setjmp.h: Removed.
26869 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26870 * sysdeps/x86/bits/setjmp.h: This.
26871
7dc00e0d
L
26872 * sysdeps/i386/bits/mathdef.h: Removed.
26873 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26874 * sysdeps/x86/bits/mathdef.h: This.
26875
03277f8f
AS
268762012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26877
26878 [BZ #14132]
26879 * include/sys/socket.h (__connect_internal)
26880 (__libc_sa_len_internal): Remove declaration.
26881 (__connect, __libc_sa_len): Declare hidden_proto.
26882 (SA_LEN): Remove use of INTUSE.
26883 * socket/connect.c: Add libc_hidden_def.
26884 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26885 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26886 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26887 alias.
26888 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26889 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26890 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26891 of adding _internal alias.
26892
13764867
L
268932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26894
26895 [BZ #14117]
6bd97696
L
26896 * sysdeps/i386/bits/link.h: Removed.
26897 * sysdeps/i386/bits/linkmap.h: Likewise.
26898 * sysdeps/x86_64/bits/link.h: Renamed to ...
26899 * sysdeps/x86/bits/link.h: This.
26900 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26901 * sysdeps/x86/bits/linkmap.h: This.
26902
f726f0bb
L
26903 * sysdeps/i386/bits/endian.h: Removed.
26904 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26905 * sysdeps/x86/bits/endian.h: This.
26906
13764867
L
26907 * sysdeps/i386/bits/byteswap.h: Removed.
26908 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26909 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26910 * sysdeps/x86/bits/byteswap.h: This.
26911 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26912 * sysdeps/x86/bits/byteswap-16.h: This.
26913 * sysdeps/i386/Implies: Add x86.
26914 * sysdeps/x86_64/Implies: Likewise.
26915
ae251b0b
DM
269162012-05-30 David S. Miller <davem@davemloft.net>
26917
26918 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26919 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26920 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26921 (FP_TRAPPING_EXCEPTIONS): Define.
26922 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26923 (FP_TRAPPING_EXCEPTIONS): Define.
26924 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26925 subnormals only when inexact has been signalled or underflow
26926 exceptions are enabled.
26927 (_FP_PACK_CANONICAL): Likewise.
26928
d5c90867
L
269292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26930
26931 [BZ #14183]
26932 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26933 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26934
63f1549e
RH
269352012-05-30 Richard Henderson <rth@twiddle.net>
26936
8d8f2279
RH
26937 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26938 with #ifndef NOT_IN_libc.
26939
63f1549e
RH
26940 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26941 marked to avoid plt entry.
26942
0ab0291b
L
269432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26944
26945 [BZ #14112]
26946 * Makeconfig (default-abi): New macro.
26947 (abi-includes): Likewise.
26948 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26949 $(abi-$(default-abi)-lib-soname) for soname if defined.
26950 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26951 abi-variants.
26952 * Makefile (installed-stubs): Likewise.
26953 * include/stubs-biarch.h: Removed.
26954 * scripts/lib-names.awk: Only handle one library at a time.
26955 * scripts/soversions.awk: Remove WORDSIZE support.
26956 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26957 entries.
26958 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26959 Removed.
26960 (syscall-list-default-condition): Likewise.
26961 (syscall-list-default-condition): Likewise.
26962 (syscall-list-includes): Likewise.
26963 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26964 syscall-list-* with abi-*. Handle undefined abi-variants.
26965 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26966 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26967 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26968 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26969 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26970 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26971 Removed.
26972 (syscall-list-32-options): Likewise.
26973 (syscall-list-32-condition): Likewise.
26974 (syscall-list-64-options): Likewise.
26975 (syscall-list-64-condition): Likewise.
26976 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26977 macro.
26978 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26979 Renamed to ...
26980 (abi-*): This.
26981 (abi-64-ld-soname): New macro.
26982 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26983 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26984 Renamed to ...
26985 (abi-*): This.
26986 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26987 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26988
4da0431d
JM
269892012-05-30 Joseph Myers <joseph@codesourcery.com>
26990
3a85279c
JM
26991 * sysdeps/unix/sysv/linux/kernel-features.h
26992 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26993 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26994 include <kernel-features.h>.
26995 [!__NR_ftruncate64]: Remove conditional code.
26996 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26997 [__NR_ftruncate64]: Make code unconditional.
26998 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26999 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27000 include <kernel-features.h>.
27001 [!__NR_ftruncate64]: Remove conditional code.
27002 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27003 [__NR_ftruncate64]: Make code unconditional.
27004 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27006 include <kernel-features.h>.
27007 [!__NR_ftruncate64]: Remove conditional code.
27008 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27009 [__NR_ftruncate64]: Make code unconditional.
27010 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27012 include <kernel-features.h>.
27013 [!__NR_ftruncate64]: Remove conditional code.
27014 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27015 [__NR_ftruncate64]: Make code unconditional.
27016 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27017
4da0431d
JM
27018 * configure.in (libc_cv_fpie): Weaken to a compile test using
27019 LIBC_TRY_CC_OPTION.
27020 * configure: Regenerated.
27021
11ef492c
AK
270222012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27023
27024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27028 Refreshed.
27029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27035 Refreshed.
27036
d66ef399
DM
270372012-05-27 David S. Miller <davem@davemloft.net>
27038
27039 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27040 (___Q_zero): New.
27041 (__Q_simulate_exceptions): Return void. Change to simulate
27042 exceptions by writing into the %fsr.
27043 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27044 (__Qp_handle_exceptions): Likewise.
27045 (numbers): Delete.
27046 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27047 __Qp_handle_exceptions.
27048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27049 __Qp_handle_exceptions.
27050 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27051 as unused and give dummy FP_RND_NEAREST initializer.
27052 (FP_INHIBIT_RESULTS): Define.
27053 (___Q_simulate_exceptions): Update declaration.
27054 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27055 formatting.
27056 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27057 as unused and give dummy FP_RND_NEAREST initializer.
27058 (__Qp_handle_exceptions): Update declaration.
27059 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27060 formatting.
27061
04fb54b5
TS
270622012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27063
27064 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27065 the temporary FPU control word.
27066 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27067 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27068 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27069 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27070 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27071 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27072 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27073 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27074 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27075 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27076 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27077
3f99608f
KK
270782012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27079
27080 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27081 fields.
27082
65a4de4e
CLT
270832012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27084
27085 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27086 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27087 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27088 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27089 Likewise.
27090 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27091 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27092 Likewise.
27093
15749d40
UD
270942012-05-27 Ulrich Drepper <drepper@gmail.com>
27095
27096 * po/h.po: Update from translation team.
27097
25dbcb27
AS
270982012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27099
3d3f8e55
AS
27100 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27101
25dbcb27
AS
27102 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27103 handling of denormals.
27104 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27105 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27106 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27107 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27108 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27109 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27111 Likewise.
27112
7ad47a80 271132012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27114
27115 [BZ #14152]
27116 * math/libm-test.inc (fma_test): Don't always expect underflow
27117 exception.
27118
9c6ea9fa
SP
271192012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27120
27121 [BZ #12416]
27122 * elf/tst-execstack.c: Include stackinfo.h.
27123 (do_test): Adjust test case to ensure that pthread_getattr_np
27124 behaviour remains the same after marking stack executable.
27125
a8239222
JM
271262012-05-25 Joseph Myers <joseph@codesourcery.com>
27127
27128 * sysdeps/unix/sysv/linux/kernel-features.h
27129 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27130 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27131 kernel-features.h.
27132 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27133 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27134 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27135 kernel-features.h.
27136 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27137 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27138
918b5606
L
271392012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27140
27141 * configure.in: Define the default includes to being none.
27142 * configure: Regenerated.
27143
3a097cc7
RM
271442012-05-25 Roland McGrath <roland@hack.frob.com>
27145
8422c9a5
RM
27146 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27147 * sysdeps/x86_64/setjmp.S: Likewise.
27148 * sysdeps/i386/bsd-setjmp.S: Likewise.
27149 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27150 * sysdeps/i386/setjmp.S: Likewise.
27151 * sysdeps/i386/__longjmp.S: Likewise.
27152 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27153 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27154
3a097cc7
RM
27155 * include/stap-probe.h: New file.
27156 * configure.in: Handle --enable-systemtap.
27157 * configure: Regenerated.
27158 * config.h.in (USE_STAP_PROBE): New #undef.
27159 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27160 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27161 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27162
21708942
JM
271632012-05-25 Joseph Myers <joseph@codesourcery.com>
27164
27165 [BZ #13717]
27166 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27167 to 2.4.0 where earlier.
27168 * sysdeps/unix/sysv/linux/configure: Regenerated.
27169 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27170 <kernel-features.h>.
27171 [__ASSUME_32BITUIDS]: Make code unconditional.
27172 [!__ASSUME_32BITUIDS]: Remove conditional code.
27173 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27174 <kernel-features.h>.
27175 [__ASSUME_32BITUIDS]: Make code unconditional.
27176 [!__ASSUME_32BITUIDS]: Remove conditional code.
27177 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27178 [__ASSUME_32BITUIDS]: Make code unconditional.
27179 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27180 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27181 <kernel-features.h>.
27182 [__ASSUME_32BITUIDS]: Make code unconditional.
27183 [!__ASSUME_32BITUIDS]: Remove conditional code.
27184 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27185 <kernel-features.h>.
27186 [__ASSUME_32BITUIDS]: Make code unconditional.
27187 [!__ASSUME_32BITUIDS]: Remove conditional code.
27188 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27189 <kernel-features.h>.
27190 [__ASSUME_32BITUIDS]: Make code unconditional.
27191 [!__ASSUME_32BITUIDS]: Remove conditional code.
27192 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27193 <kernel-features.h>.
27194 [__ASSUME_32BITUIDS]: Make code unconditional.
27195 [!__ASSUME_32BITUIDS]: Remove conditional code.
27196 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27197 <kernel-features.h>.
27198 [__ASSUME_32BITUIDS]: Make code unconditional.
27199 [!__ASSUME_32BITUIDS]: Remove conditional code.
27200 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27201 <kernel-features.h>.
27202 [__ASSUME_32BITUIDS]: Make code unconditional.
27203 [!__ASSUME_32BITUIDS]: Remove conditional code.
27204 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27205 <kernel-features.h>.
27206 [__ASSUME_32BITUIDS]: Make code unconditional.
27207 [!__ASSUME_32BITUIDS]: Remove conditional code.
27208 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27209 <kernel-features.h>.
27210 [__ASSUME_32BITUIDS]: Make code unconditional.
27211 [!__ASSUME_32BITUIDS]: Remove conditional code.
27212 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27213 <kernel-features.h>.
27214 [__ASSUME_32BITUIDS]: Make code unconditional.
27215 [!__ASSUME_32BITUIDS]: Remove conditional code.
27216 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27217 <kernel-features.h>.
27218 [__ASSUME_32BITUIDS]: Make code unconditional.
27219 [!__ASSUME_32BITUIDS]: Remove conditional code.
27220 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27221 <kernel-features.h>.
27222 [__NR_setresgid] (__setresgid): Do not declare.
27223 [__ASSUME_32BITUIDS]: Make code unconditional.
27224 [!__ASSUME_32BITUIDS]: Remove conditional code.
27225 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27226 <kernel-features.h>.
27227 [__NR_setresuid] (__setresuid): Do not declare.
27228 [__ASSUME_32BITUIDS]: Make code unconditional.
27229 [!__ASSUME_32BITUIDS]: Remove conditional code.
27230 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27231 <kernel-features.h>.
27232 [__ASSUME_32BITUIDS]: Make code unconditional.
27233 [!__ASSUME_32BITUIDS]: Remove conditional code.
27234 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27235 <kernel-features.h>.
27236 [__ASSUME_32BITUIDS]: Make code unconditional.
27237 [!__ASSUME_32BITUIDS]: Remove conditional code.
27238 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27239 <kernel-features.h>.
27240 [__ASSUME_32BITUIDS]: Make code unconditional.
27241 [!__ASSUME_32BITUIDS]: Remove conditional code.
27242 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27243 <kernel-features.h>.
27244 [__ASSUME_32BITUIDS]: Make code unconditional.
27245 [!__ASSUME_32BITUIDS]: Remove conditional code.
27246 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27247 <kernel-features.h>.
27248 [__ASSUME_32BITUIDS]: Make code unconditional.
27249 [!__ASSUME_32BITUIDS]: Remove conditional code.
27250 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27251 <kernel-features.h>.
27252 [__ASSUME_32BITUIDS]: Make code unconditional.
27253 [!__ASSUME_32BITUIDS]: Remove conditional code.
27254 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27255 <kernel-features.h>.
27256 [__ASSUME_32BITUIDS]: Make code unconditional.
27257 [!__ASSUME_32BITUIDS]: Remove conditional code.
27258 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27259 <kernel-features.h>.
27260 [__ASSUME_32BITUIDS]: Make code unconditional.
27261 [!__ASSUME_32BITUIDS]: Remove conditional code.
27262 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27263 <kernel-features.h>.
27264 [__ASSUME_32BITUIDS]: Make code unconditional.
27265 [!__ASSUME_32BITUIDS]: Remove conditional code.
27266 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27267 <kernel-features.h>.
27268 [__ASSUME_32BITUIDS]: Make code unconditional.
27269 [!__ASSUME_32BITUIDS]: Remove conditional code.
27270 * sysdeps/unix/sysv/linux/kernel-features.h
27271 (__ASSUME_SETRESUID_SYSCALL): Remove.
27272 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27273 (__ASSUME_32BITUIDS): Likewise.
27274 (__ASSUME_LDT_WORKS): Likewise.
27275 (__ASSUME_O_DIRECTORY): Likewise.
27276 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27277 architecture but not kernel version.
27278 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27279 (__ASSUME_MMAP2_SYSCALL): Likewise.
27280 (__ASSUME_STAT64_SYSCALL): Likewise.
27281 (__ASSUME_IPC64): Likewise.
27282 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27283 <kernel-features.h>.
27284 [__ASSUME_32BITUIDS]: Make code unconditional.
27285 [!__ASSUME_32BITUIDS]: Remove conditional code.
27286 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27287 <kernel-features.h>.
27288 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27289 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27290 132096]: Remove conditional code.
27291 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27292 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
27301 <kernel-features.h>.
27302 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27303 unconditional.
27304 (__setresgid): Do not declare.
27305 [__ASSUME_32BITUIDS]: Make code unconditional.
27306 [!__ASSUME_32BITUIDS]: Remove conditional code.
27307 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27308 <kernel-features.h>.
27309 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27310 unconditional.
27311 (__setresuid): Do not declare.
27312 [__ASSUME_32BITUIDS]: Make code unconditional.
27313 [!__ASSUME_32BITUIDS]: Remove conditional code.
27314 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
27319 <kernel-features.h>.
27320 [__ASSUME_32BITUIDS]: Make code unconditional.
27321 [!__ASSUME_32BITUIDS]: Remove conditional code.
27322
a386f1cc
RH
273232012-05-25 Richard Henderson <rth@twiddle.net>
27324
27325 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27326 dl_hwcap to ifunc resolver.
27327 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27328 elf_ifunc_invoke.
27329 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27330 dl_hwcap to ifunc resolver.
27331 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27332
b6550497
JM
273332012-05-24 Joseph Myers <joseph@codesourcery.com>
27334
27335 [BZ #14153]
27336 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27337 for |x| <= 2**-26, not 2**-57.
27338 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27339 exception.
27340
b0bc23a1
JL
273412012-05-24 Jeff Law <law@redhat.com>
27342
27343 * stdio-common/Makefile (tests): Add bug25.
27344 * stdio-common/bug25.c: New test.
27345
347c92e9
L
273462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27347
27348 [BZ #13576]
27349 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27350 multiple of MALLOC_ALIGNMENT in size.
27351 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27352
6bcc8b3f
JM
273532012-05-24 Joseph Myers <joseph@codesourcery.com>
27354
27355 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27356 Require >= 256.
27357 (FILENAME_MAX): Use macro-int-constant.
27358 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27359 (_IOFBF): Use macro-int-constant.
27360 (_IOLBF): Likewise.
27361 (_IONBF): Likewise.
27362 (SEEK_CUR): Likewise.
27363 (SEEK_END): Likewise.
27364 (SEEK_SET): Likewise.
27365 (TMP_MAX): Likewise.
27366 (EOF): Use macro-int-constant. Require < 0.
27367 (NULL): Use macro-constant. Require == 0.
27368 (stdin): Require type to be FILE *.
27369 (stdout): Likewise.
27370 (stderr): Likewise.
27371 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27372 macro-int-constant.
27373 (EXIT_SUCCESS): Likewise.
27374 (NULL): Use macro-constant. Require == 0.
27375 (RAND_MAX): Use macro-int-constant.
27376 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27377 [C99-based standards] (strtof): Require function.
27378 [C99-based standards] (strtold): Likewise.
27379 [C99-based standards] (strtoll): Likewise.
27380 [C99-based standards] (strtoull): Likewise.
27381 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27382 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27383 [ISO || ISO99 || ISO11] (math.h): Likewise.
27384 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27385 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27386 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27387
d18ea0c5
AS
273882012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27389
27390 [BZ #14132]
56d25bb8
AS
27391 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27392 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27393 * intl/dgettext.c (DCGETTEXT): Likewise.
27394 * intl/gettext.c (DCGETTEXT): Likewise.
27395 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27396 * posix/regex_internal.h (gettext): Likewise.
27397 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27398 Remove declaration.
27399 * include/argz.h (__argz_count_internal)
27400 (__argz_stringify_internal): Remove declaration.
27401 (__argz_count, __argz_stringify): Declare hidden proto.
27402 * intl/dcgettext.c: Remove use of INTDEF.
27403 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27404 * string/argz-stringify.c: Likewise.
27405 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27406 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27407 Declare hidden proto.
d18ea0c5
AS
27408 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27409 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27410 Declare hidden proto.
27411 * include/stdio.h (__asprintf_internal): Don't declare.
27412 (__asprintf): Don't define as macro. Declare hidden proto.
27413 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27414 (__fsetlocking): Declare hidden proto.
27415 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27416 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27417 hidden proto.
27418 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27419 (_IO_setlinebuf): Remove use of INTUSE.
27420 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27421 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27422 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27423 Remove declaration.
27424 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27425 (_IO_do_flush): Remove use of INTUSE.
27426 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27427 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27428 (_IO_adjust_column, _IO_least_wmarker)
27429 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27430 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27431 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27432 (_IO_default_doallocate, _IO_wdefault_doallocate)
27433 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27434 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27435 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27436 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27437 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27438 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27439 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27440 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27441 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27442 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27443 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27444 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27445 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27446 proto.
27447 (_IO_flush_all_internal, _IO_adjust_column_internal)
27448 (_IO_default_uflow_internal, _IO_default_finish_internal)
27449 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27450 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27451 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27452 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27453 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27454 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27455 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27456 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27457 (_IO_file_close_internal, _IO_file_close_it_internal)
27458 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27459 (_IO_file_init_internal, _IO_file_attach_internal)
27460 (_IO_file_fopen_internal, _IO_file_read_internal)
27461 (_IO_file_sync_internal, _IO_file_seek_internal)
27462 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27463 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27464 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27465 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27466 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27467 (_IO_list_all_internal, _IO_link_in_internal)
27468 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27469 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27470 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27471 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27472 (_IO_do_write_internal, _IO_padn_internal)
27473 (_IO_getline_info_internal, _IO_getline_internal)
27474 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27475 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27476 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27477 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27478 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27479 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27480 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27481 with libc_hidden_ver, remove use of INTUSE.
27482 * libio/genops.c: Likewise.
27483 * libio/freopen.c: Likewise.
27484 * libio/freopen64.c: Likewise.
27485 * libio/iofclose.c: Likewise.
27486 * libio/iofdopen.c: Likewise.
27487 * libio/iofflush.c: Likewise.
27488 * libio/iofflush_u.c: Likewise.
27489 * libio/iofgets.c: Likewise.
27490 * libio/iofgets_u.c: Likewise.
27491 * libio/iofopen.c: Likewise.
27492 * libio/iofopncook.c: Likewise.
27493 * libio/iofread.c: Likewise.
27494 * libio/iofread_u.c: Likewise.
27495 * libio/ioftell.c: Likewise.
27496 * libio/iofwrite.c: Likewise.
27497 * libio/iogetline.c: Likewise.
27498 * libio/iogets.c: Likewise.
27499 * libio/iogetwline.c: Likewise.
27500 * libio/iopadn.c: Likewise.
27501 * libio/iopopen.c: Likewise.
27502 * libio/ioseekoff.c: Likewise.
27503 * libio/ioseekpos.c: Likewise.
27504 * libio/iosetbuffer.c: Likewise.
27505 * libio/iosetvbuf.c: Likewise.
27506 * libio/ioungetc.c: Likewise.
27507 * libio/ioungetwc.c: Likewise.
27508 * libio/iovdprintf.c: Likewise.
27509 * libio/iovsprintf.c: Likewise.
27510 * libio/iovsscanf.c: Likewise.
27511 * libio/memstream.c: Likewise.
27512 * libio/obprintf.c: Likewise.
27513 * libio/oldfileops.c: Likewise.
27514 * libio/oldiofclose.c: Likewise.
27515 * libio/oldiofdopen.c: Likewise.
27516 * libio/oldiofopen.c: Likewise.
27517 * libio/oldiopopen.c: Likewise.
27518 * libio/oldstdfiles.c: Likewise.
27519 * libio/putc.c: Likewise.
27520 * libio/setbuf.c: Likewise.
27521 * libio/setlinebuf.c: Likewise.
27522 * libio/stdfiles.c: Likewise.
27523 * libio/strops.c: Likewise.
27524 * libio/vasprintf.c: Likewise.
27525 * libio/vscanf.c: Likewise.
27526 * libio/vsnprintf.c: Likewise.
27527 * libio/vswprintf.c: Likewise.
27528 * libio/wfiledoalloc.c: Likewise.
27529 * libio/wfileops.c: Likewise.
27530 * libio/wgenops.c: Likewise.
27531 * libio/wmemstream.c: Likewise.
27532 * libio/wstrops.c: Likewise.
27533 * libio/__fpurge.c: Likewise.
27534 * libio/__fsetlocking.c: Likewise.
27535 * assert/assert.c: Likewise.
27536 * debug/fgets_chk.c: Likewise.
27537 * debug/fgets_u_chk.c: Likewise.
27538 * debug/fread_chk.c: Likewise.
27539 * debug/fread_u_chk.c: Likewise.
27540 * debug/gets_chk.c: Likewise.
27541 * debug/obprintf_chk.c: Likewise.
27542 * debug/vasprintf_chk.c: Likewise.
27543 * debug/vdprintf_chk.c: Likewise.
27544 * debug/vsnprintf_chk.c: Likewise.
27545 * debug/vsprintf_chk.c: Likewise.
27546 * malloc/mtrace.c: Likewise.
27547 * misc/error.c: Likewise.
27548 * misc/syslog.c: Likewise.
27549 * stdio-common/asprintf.c: Likewise.
27550 * stdio-common/fxprintf.c: Likewise.
27551 * stdio-common/getw.c: Likewise.
27552 * stdio-common/isoc99_fscanf.c: Likewise.
27553 * stdio-common/isoc99_scanf.c: Likewise.
27554 * stdio-common/isoc99_vfscanf.c: Likewise.
27555 * stdio-common/isoc99_vscanf.c: Likewise.
27556 * stdio-common/isoc99_vsscanf.c: Likewise.
27557 * stdio-common/printf-prs.c: Likewise.
27558 * stdio-common/printf_fp.c: Likewise.
27559 * stdio-common/printf_fphex.c: Likewise.
27560 * stdio-common/printf_size.c: Likewise.
27561 * stdio-common/putw.c: Likewise.
27562 * stdio-common/scanf.c: Likewise.
27563 * stdio-common/sprintf.c: Likewise.
27564 * stdio-common/tmpfile.c: Likewise.
27565 * stdio-common/vfprintf.c: Likewise.
27566 * stdio-common/vfscanf.c: Likewise.
27567 * stdlib/strfmon_l.c: Likewise.
27568 * sunrpc/openchild.c: Likewise.
27569 * sunrpc/xdr_stdio.c: Likewise.
27570 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27571 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27572
d6c33fda
RM
275732012-05-24 Roland McGrath <roland@hack.frob.com>
27574
c1487492
RM
27575 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27576
27577 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27578 in the third column, to generate for the shared library an IFUNC
27579 that uses _dl_vdso_vsym.
27580 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27581 * Makeconfig (object-suffixes-noshared): New variable.
27582
27583 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27584 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27585 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27586 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27587
d6c33fda
RM
27588 [BZ #14132]
27589 * include/sys/time.h (__gettimeofday): Remove macro.
27590 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27591 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27592 Remove INTDEF.
27593 (__gettimeofday): Add libc_hidden_def.
27594 (gettimeofday): Add libc_hidden_weak.
27595 * sysdeps/mach/gettimeofday.c: Likewise.
27596 * sysdeps/posix/gettimeofday.c: Likewise.
27597 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27598 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27599 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27600 (__gettimeofday_internal): Remove strong_alias.
27601 (__gettimeofday): Add libc_hidden_def.
27602 (gettimeofday): Add libc_hidden_weak.
27603 * sysdeps/unix/syscalls.list (gettimeofday):
27604 Remove __gettimeofday_internal alias.
27605
b5a2bbe6
L
276062012-05-24 Daniel Jacobowitz <drow@false.org>
27607 H.J. Lu <hongjiu.lu@intel.com>
27608
27609 [BZ #12495]
27610 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27611 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27612 (largebin_index_32_big): New.
27613 (largebin_index): Use it for 16-byte alignment.
27614 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27615 correction with front_misalign.
27616
cfba4fda
L
276172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27618
7f907421
L
27619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27621 Likewise.
27622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27623 Likewise.
27624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27625 Likewise.
27626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27627 Likewise.
27628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27629 Likewise.
27630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27631 Likewise.
27632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27633 Likewise.
27634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27635 Likewise.
27636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27637 Likewise.
27638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27639 Likewise.
27640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27641 Likewise.
27642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27643 Likewise.
27644
cfba4fda
L
27645 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27646 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27647
80bad0cc
JM
276482012-05-24 Joseph Myers <joseph@codesourcery.com>
27649
7a25eb06
JM
27650 [BZ #10846]
27651 [BZ #14036]
27652 * math/libm-test.inc (exp_test): Add test from bug 14036.
27653 (pow_test): Add test from bug 10846.
27654
795405f9
JM
27655 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27656 and other flags.
27657 (special_function): Do not include flags in test name.
27658 (parse_args): Likewise.
27659 * sysdeps/i386/fpu/libm-test-ulps: Update.
27660 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27661 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27662 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27664
80bad0cc
JM
27665 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27666 exceptions.
27667 * math/libm-test.inc ("Philosophy"): Update comment about
27668 exception testing.
27669 (UNDERFLOW_EXCEPTION): New macro.
27670 (UNDERFLOW_EXCEPTION_OK): Likewise.
27671 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27672 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27673 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27674 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27675 (INVALID_EXCEPTION_OK): Update value.
27676 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27677 (OVERFLOW_EXCEPTION_OK): Likewise.
27678 (IGNORE_ZERO_INF_SIGN): Likewise.
27679 (test_exceptions): Handle underflow exceptions.
27680 (acos_test): Update for underflow exception expectations.
27681 (cexp_test): Likewise.
27682 (clog_test): Likewise.
27683 (clog10_test): Likewise.
27684 (csqrt_test): Likewise.
27685 (ctan_test): Likewise.
27686 (ctanh_test): Likewise.
27687 (exp_test): Likewise.
27688 (exp10_test): Likewise.
27689 (exp2_test): Likewise.
27690 (expm1_test): Likewise.
27691 (fma_test): Likewise.
27692 (j0_test): Likewise.
27693 (jn_test): Likewise.
27694 (nexttoward_test): Likewise.
27695 (pow_test): Likewise.
27696 (scalbn_test): Likewise.
27697 (scalbln_test): Likewise.
27698 (tan_test): Likewise.
27699 (y1_test): Likewise.
27700 * sysdeps/i386/fpu/libm-test-ulps: Update.
27701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27702
9e0e3d0b
DM
277032012-05-23 David S. Miller <davem@davemloft.net>
27704
27705 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27706 (__libc_sigaction): Remove unused local variables.
27707
ccd0a08f
L
277082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27709
27710 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27711
62bdf9a6
PE
277122012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27713
f8591f80
PE
27714 mktime: avoid signed integer overflow
27715 * time/mktime.c (__mktime_internal): Do not mishandle the case
27716 where diff == INT_MIN.
27717
94c7d826
PE
27718 mktime: simplify computation of average
27719 * time/mktime.c (ranged_convert): Use new time_t_avg function
27720 instead of rolling our own (probably-slower) code.
27721
ce73d683
PE
27722 mktime: do not assume signed right shift propagates sign bit
27723 * time/mktime.c (isdst_differ): New static function.
27724 (__mktime_internal): No need to normalize tm_isdst now.
27725 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27726 tm_isdst values.
27727
72a22e59
PE
27728 mktime: merge another wrapv change from gnulib
27729 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27730 from some compilers.
27731
68605433
PE
27732 mktime: remove incorrect attempt at unusual arithmetics
27733 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27734 The code didn't really work on such machines anyway.
27735 (TYPE_MINIMUM): Assume two's complement.
27736 (twos_complement_arithmetic): Verify that long_int and time_t
27737 are two's complement (or unsigned, in the latter case).
27738
03cf7fe3
PE
27739 mktime: check signed shifts on long_int and time_t, too
27740 * time/mktime.c (SHR): Check that shifts work as desired
27741 on the types long_int and time_t too, as SHR is used on
27742 such types.
27743
f04dfbc2
PE
27744 mktime: do not assume 'long' is wide enough
27745 * time/mktime.c (verify): Move decl up.
27746 (long_int): New type.
27747 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27748 to remove assumption in the code that 'long' is wide enough to
27749 store year values. This assumption is not true on x32 and on
27750 some non-glibc platforms.
27751
62bdf9a6
PE
27752 mktime: merge wrapv change from gnulib
27753 * time/mktime.c (WRAPV): New macro.
27754 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27755 (guess_time_tm, __mktime_internal): Do not assume that signed
27756 integer overflow wraps around; modern compilers generate code
27757 where this assumption is no longer valid.
27758
5e292e4f
L
277592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27760
27761 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27762 Replace "jmp L(pseudo_end)" with "ret".
27763 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27764 Likewise.
27765
8caf8c87
AJ
277662012-05-23 Andreas Jaeger <aj@suse.de>
27767
27768 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27769 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27770
1a09dc56
AJ
277712012-05-23 Andreas Jaeger <aj@suse.de>
27772 Maximilian Attems <max@stro.at>
27773
27774 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27775 New macros.
27776
1c87aba0
L
277772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27778
27779 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27780 code so that pseudo_end is just ret and the stack pointer is
27781 correct also for static library in error case.
27782
40e45bd5
JM
277832012-05-23 Joseph Myers <joseph@codesourcery.com>
27784
c2670533
JM
27785 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27786 move to syscalls.list.
27787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27791
40e45bd5
JM
27792 * manual/install.texi (Running make install): Do not mention Linux
27793 kernel version for which pt_chown is not needed.
27794 (Linux): Do not mention problems with nscd with 2.0 kernels.
27795 * INSTALL: Regenerated.
27796
be08eda5
AJ
277972012-05-23 Andreas Jaeger <aj@suse.de>
27798
27799 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27800 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27801 macro.
27802 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27803 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27804 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27805 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27806 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27807 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27808 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27809 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27810 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27811 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27812 * sysdeps/unix/sysv/linux/bits/in.h
27813 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27814
a6a056bb
RM
278152012-05-22 Roland McGrath <roland@hack.frob.com>
27816
27817 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27818 (PREPARE_VERSION): Just use assert instead, it will be elided
27819 under [NDEBUG] anyway.
27820
c9009328
L
278212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27822
27823 * sysdeps/unix/sysv/linux/Makefile: Include
27824 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27825 (sysdep_routines): Remove sysctl.
c9009328
L
27826 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27827 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27828 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27829 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27830 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27831
73338355
AJ
278322012-05-22 Andreas Jaeger <aj@suse.de>
27833
27834 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27835 that pseudo_end is just ret and the stack pointer is correct also
27836 for static library in error case.
27837
d44638b0
PP
278382012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27839
27840 [BZ #14122]
27841 * nss/nsswitch.c (defconfig_entries): New variable.
27842 (__nss_database_lookup): Don't leak defconfig entries.
27843 (nss_parse_service_list): Don't leak on error paths.
27844 (free_database_entries): New function.
27845 (free_defconfig): New function.
27846 (free_mem): Move common code to free_database_entries.
27847
31a39bd8
L
278482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27849
da0331a8
L
27850 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27851 Add arch_prctl.
27852 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27853
31a39bd8
L
27854 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27855 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27857 New macro.
27858 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27859 (INTERNAL_SYSCALL_TYPES): Likewise.
27860 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27861 (LOAD_REGS_TYPES_[1-6]): Likewise.
27862 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27863 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27864
45470df3
AZ
278652012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27866
27867 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27868 copysignl for GLIBC_2_0.
27869 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27870 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27872 logbl for GLIBC_2_0.
27873 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27874 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27875
98a61bcb
L
278762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27877
a4f6e481
L
27878 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27879 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27880
f63d5db6
L
27881 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27882 Use "neg %eax".
27883
98a61bcb
L
27884 * time/mktime.c: Update copyright years.
27885
95770f14
PE
278862012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27887
6226efbd
PE
27888 mktime: merge comment-quoting-style change from gnulib
27889 * time/mktime.c: Quote 'like this' in comments.
27890 The GNU coding standards suggest that we no longer quote `like this',
27891 as "`" and "'" are typically rendered asymmetrically nowadays.
27892 The typical gnulib style is to quote 'like this' when quoting
27893 code, and "like this" when quoting English.
27894
b99e4f78
PE
27895 * time/mktime.c (compile-command): Add "-I.".
27896
643e01e6
PE
27897 mktime: merge mktime-internal.h change from gnulib
27898 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27899
2554247d
PE
27900 mktime: merge time_r change from gnulib
27901 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27902
826dd0ab
PE
27903 mktime: merge DEBUG change from gnulib
27904 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27905 case system <time.h> has a #define.
27906
bd83aabe
PE
27907 mktime: merge <sys/types.h> change from gnulib
27908 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27909 since <time.t> is now guaranteed to define time_t.
27910
95770f14
PE
27911 mktime: merge HAVE_CONFIG_H change from gnulib
27912 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27913
5e1a27a9
L
279142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27915
0e44a77e
L
27916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27917 Use "neg %eax".
27918
5e1a27a9
L
27919 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27920 __rlim_t cast.
27921 (struct rusage): Use anonymous union to pad each field to
27922 __syscall_slong_t.
27923
46259bec
DM
279242012-05-21 David S. Miller <davem@davemloft.net>
27925
27926 * Makefules (o-iterator): Remove .s cases.
27927 (compile-command.s): Delete.
27928 (COMPILE.s): Delete.
27929 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27930
59f0c22e
JM
279312012-05-21 Joseph Myers <joseph@codesourcery.com>
27932
27933 * configure.in (libc_cv_predef_stack_protector): Only consider
27934 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27935 * configure: Regenerated.
27936
20c07380
L
279372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27938
bbb3154b
L
27939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27940 New macro. Use R*LP on int and pointer.
27941 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27942 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27943 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27944 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27945
20c07380
L
27946 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27947 [__WORDSIZE_TIME64_COMPAT32] instead of
27948 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27949 (struct utmp): Likewise.
27950 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27951 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27952 Renamed to ...
27953 (__WORDSIZE_TIME64_COMPAT32): This.
27954 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27955 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27956 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27957 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27958 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27959 (__WORDSIZE_TIME64_COMPAT32): New macro.
27960
d8d1017e
AJ
279612012-05-21 Andreas Jaeger <aj@suse.de>
27962
27963 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27964 only if [SHARED]. Add prototype for __wcschr_ia32.
27965
6c7fb145
RM
279662012-05-21 Roland McGrath <roland@hack.frob.com>
27967
27968 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27969 of %rbp unmolested in the jmp_buf while mangling the low bits.
27970 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27971 unmolested high bits of %rbp while demangling the low bits.
27972 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27973
66274218
AJ
279742012-05-21 Andreas Jaeger <aj@suse.de>
27975
07c58f8f
AJ
27976 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27977 * sunrpc/svc_simple.c: Use it for registerrpc.
27978 * sunrpc/xcrypt.c: Use it for passwd2des.
27979
66274218
AJ
27980 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27981
61f65140
L
279822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27983
27984 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27985 Don't define if [__SYSCALL_WORDSIZE != 32].
27986 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27987 New macro.
27988
5fefb436
AJ
279892012-05-21 Bruno Haible <bruno@clisp.org>
27990 Andreas Jaeger <aj@suse.de>
27991
27992 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27993 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27994 inptr and inend for must_buffer_ch.
27995 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27996 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27997 * stdio-common/Makefile (tests): Remove bug15.
27998 (bug15-ENV): Remove macro.
27999 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28000 anymore.
28001
d8e272ab
AJ
280022012-05-19 Andreas Jaeger <aj@suse.de>
28003 Roland McGrath <roland@hack.frob.com>
28004
28005 * manual/contrib.texi: Completely rewritten. It contains now an
28006 alphabetical list of contributors and their contributions.
28007
4a56a162
RH
280082012-05-21 Richard Henderson <rth@twiddle.net>
28009
28010 * misc/getauxval.c (__getauxval): Use unsigned long int.
28011 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28012 (getauxval): Use unsigned long int.
28013
d024d23c
L
280142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28015
28016 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28017
cbc00a03
RM
280182012-05-21 Roland McGrath <roland@hack.frob.com>
28019
28020 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28021 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28022 __alignof__ (long double).
28023
478143fa
AZ
280242012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28025
28026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28027
c7683a6d
RH
280282012-05-20 Richard Henderson <rth@twiddle.net>
28029
28030 * misc/getauxval.c: New file.
28031 * misc/sys/auxv.h: New file.
28032 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28033 (routines): Add getauxval.
28034 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28035 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28036 * elf/dl-sysdep.c (_dl_auxv): Remove.
28037 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28038 * elf/dl-support.c (_dl_auxv): New variable.
28039 (_dl_aux_init): Initialize it.
28040 * manual/startup.texi (Auxiliary Vector): New node.
28041 * sysdeps/generic/bits/hwcap.h: New file.
28042 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28043 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28044 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28045 * sysdeps/sparc/sysdep.h: ... here. Include it.
28046 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28047 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28049 Update.
c7683a6d
RH
28050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28053 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28058
a6f1845d
AZ
280592012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28060
28061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28062
cbcbe830
DM
280632012-05-19 David S. Miller <davem@davemloft.net>
28064
28065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28066
e0b16cc2
JM
280672012-05-19 Joseph Myers <joseph@codesourcery.com>
28068
28069 [BZ #14123]
28070 * math/s_ccosh.c: Include <float.h>
28071 (__ccosh): Avoid internal overflow calculating sinh and cosh
28072 values before multiplying by sin and cos values.
28073 * math/s_ccoshf.c: Likewise.
28074 * math/s_ccoshl.c: Likewise.
28075 * math/s_csin.c: Likewise.
28076 * math/s_csinf.c: Likewise.
28077 * math/s_csinl.c: Likewise.
28078 * math/s_csinh.c: Likewise.
28079 * math/s_csinhf.c: Likewise.
28080 * math/s_csinhl.c: Likewise.
28081 * math/libm-test.inc (ccos_test): Add more tests.
28082 (ccosh_test): Likewise.
28083 (csin_test): Likewise.
28084 (csinh_test): Likewise.
28085 * sysdeps/i386/fpu/libm-test-ulps: Update.
28086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28087
6ad13e08
L
280882012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28089
f66f0ce8
L
28090 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28091 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28092
6ad13e08
L
28093 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28094
b1d072a7
JM
280952012-05-19 Joseph Myers <joseph@codesourcery.com>
28096
28097 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28098 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28099 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28100 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28101 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28102 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28103 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28104 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28105 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28106 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28107 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28108 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28109 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28110 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28111 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28112 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28113 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28114 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28115 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28116 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28117 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28118 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28119 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28120 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28121 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28122 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28123 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28124 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28125 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28126 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28127 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28128
9eae47cb
AJ
281292012-05-18 Andreas Jaeger <aj@suse.de>
28130
28131 * csu/.gitignore: Delete.
28132
bb07f69f
L
281332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28134
28135 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28136 (timex): Use __syscall_slong_t.
28137
e6bdb741
AJ
281382012-05-18 Andreas Jaeger <aj@suse.de>
28139 Carlos O'Donell <carlos_odonell@mentor.com>
28140
28141 * manual/install.texi (Configuring and compiling): Update
28142 description about files modified in the source directory.
d6c33fda 28143 * INSTALL: Regenerated.
e6bdb741 28144
1b74487e
L
281452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28146
28147 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28148 value. Use "or" to set return value to -1.
28149 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28150 negate return value.
28151
a88b64b9
TMQMF
281522012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28153
28154 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28155 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28156 failure if the compiler has Graphite support disabled.
28157 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28158 Likewise.
28159 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28160 CFLAGS-memmove.c): Likewise.
28161 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28162 Likewise.
28163
3707636e
L
281642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28165
610b8622
L
28166 * sysdeps/x86_64/x32/_itoa.h: New file.
28167
7cd195df
L
28168 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28169 getdents system call only if kernel and user dirents have the
28170 same d_ino and d_off.
28171
94b07d20
L
28172 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28173 LLONG_MAX != LONG_MAX.
28174 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28175 (_fitoa_word): Likewise.
28176
18298070
L
28177 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28178 years.
28179 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28180 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28181 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28182
553c7ea4
L
28183 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28184 include <bits/wordsize.h>. Check __x86_64__ instead of
28185 __WORDSIZE.
28186 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28187 if __x86_64__ is defined. Use anonymous union on fpstate.
28188
3707636e
L
28189 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28190 anonymous union.
28191
b53ef01a
AS
281922012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28193
37fb1dc0
AS
28194 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28195 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28196 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28197 Refer to _rtld_local_ro instead of _rtld_global_ro.
28198 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28199 Likewise.
28200 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28201 Likewise.
28202 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28203 Likewise.
28204 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28205 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28206 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28207
b53ef01a
AS
28208 * sysdeps/powerpc/powerpc32/dl-machine.c
28209 (__elf_machine_runtime_setup) [PROF]: Don't reference
28210 _dl_prof_resolve.
28211
7a185db2
AJ
282122012-05-18 Andreas Jaeger <aj@suse.de>
28213
28214 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28215 function only available for GCCs before 3.4 since GCC 3.4
28216 introduced a builtin.
28217 (lrint): Likewise.
28218 (llrintf): Likewise.
28219 (llrint): Likewise.
28220 (fmaxf): Likewise.
28221 (fmax): Likewise.
28222 (fminf): Likewise.
28223 (fmin): Likewise.
28224 (rint): Likewise.
28225 (rintf): Likewise.
28226 (nearbyint): Likewise.
28227 (nearbyintf): Likewise.
28228 (ceil): Likewise.
28229 (ceilf): Likewise.
28230 (floor): Likewise.
28231 (floorf): Likewise.
28232
3e5aef87
L
282332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28234
428bd707
L
28235 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28236 on both fields and cast pointer to __syscall_ulong_t.
28237
3e5aef87
L
28238 * bits/types.h (__fsword_t): New type.
28239 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28240 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28241 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28242 (__FSWORD_T_TYPE): Likewise.
28243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28244 (__FSWORD_T_TYPE): Likewise.
28245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28246 (__FSWORD_T_TYPE): Likewise.
28247 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28248 (__FSWORD_T_TYPE): Likewise.
28249 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28250 __SWORD_TYPE with __fsword_t.
28251 (statfs64): Likewise.
28252
1ba7c3dc
DM
282532012-05-17 David S. Miller <davem@davemloft.net>
28254
28255 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28256
59910343
AJ
282572012-05-17 Andreas Jaeger <aj@suse.de>
28258
28259 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28260 warning.
28261
2e4c1e9e
L
282622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28263
28264 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28265
de7f5ce7
AJ
282662012-05-17 Andreas Jaeger <aj@suse.de>
28267
28268 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28269 when it is used.
28270
286abc3d
CM
282712012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28272
28273 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28274
477cc68e
L
282752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28276
28277 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28278 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28279
1a0994f5
CD
282802012-05-17 Andreas Jaeger <aj@suse.de>
28281 Carlos O'Donell <carlos_odonell@mentor.com>
28282
28283 [BZ #14059]
28284 * sysdeps/x86_64/multiarch/init-arch.h
28285 (bit_YMM_Usable): Rename to...
28286 (bit_AVX_Usable): ... this.
28287 (bit_FMA4_Usable): New macro.
28288 (bit_XMM_state): New macro.
28289 (bit_YMM_state): New macro.
28290 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28291 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28292 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28293 (CPUID_OSXSAVE): New macro.
28294 (CPUID_AVX): New macro.
28295 (CPUID_FMA4): New macro.
28296 (index_YMM_Usable): Rename to...
28297 (index_AVX_Usable): ... this.
28298 (HAS_AVX): Use HAS_ARCH_FEATURE.
28299 (HAS_FMA4): Likewise.
28300 (HAS_YMM_USABLE): Remove.
28301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28302 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28303 are present.
28304 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28305 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28306 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28307 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28308 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28309
0af797de
CM
283102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28311
28312 * math/libm-test.c: Support platforms without multiple rounding modes.
28313 * math/bug-nextafter.c: Support platforms without FP exceptions.
28314 * math/bug-nexttoward.c: Likewise.
28315 * math/test-fenv.c: Likewise.
28316 * math/test-misc.c: Likewise.
28317 * stdlib/bug-getcontext.c: Likewise.
28318
e39745ff
AJ
283192012-05-17 Andreas Jaeger <aj@suse.de>
28320
28321 * manual/examples/search.c (critter_cmp): Change signature to
28322 avoid warnings.
28323 * manual/string.texi (Collation Functions): Likewise.
28324
48970aba
L
283252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28326
28327 * bits/types.h: Fold copyright years.
28328 * bits/typesizes.h: Likewise.
28329 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28330 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28331 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28332 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28333 * time/time.h: Likewise.
28334
bedee953
PP
283352012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28336
28337 [BZ #208]
28338 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28339 in instead of returning them. Return void.
28340 (__libc_mallinfo): Accumulate over all arenas.
28341 (__malloc_stats): Adjust for change in int_mallinfo interface.
28342
61653dfb
RM
283432012-05-16 Roland McGrath <roland@hack.frob.com>
28344
30b99d79
RM
28345 [BZ #10375]
28346 * configure.in (NM): Add AC_CHECK_TOOL for it.
28347 (libc_extra_cflags): New substituted variable.
28348 Check for -fstack-protector being used implicitly.
28349 * configure: Regenerated.
28350 * config.make.in (config-extra-cflags): New variable,
28351 gets @libc_extra_cflags@.
28352 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28353
61653dfb
RM
28354 [BZ #10375]
28355 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28356 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28357 * configure: Regenerated.
28358 * config.make.in (CPPUNDEFS): New substituted variable.
28359 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28360 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28361 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28362
661768bb
L
283632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28364
28365 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28366 (mq_attr): Use __syscall_slong_t.
28367
d4261567
L
283682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28369
28370 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28371 Check __x86_64__ instead of __WORDSIZE.
28372 (_STAT_VER_LINUX): Likewise.
28373 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28374 __syscall_ulong_t and __syscall_slong_t.
28375 (stat64): Likewise.
28376
cf3ff365
L
283772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28378
28379 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28380
76cf3e4d
L
283812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28382
28383 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28384
a637753a
L
283852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28386
28387 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28388 __syscall_ulong_t.
28389
d5e05119
L
28390 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28391 include <bits/wordsize.h>. Check __x86_64__ instead of
28392 __WORDSIZE.
28393 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28394 defined.
28395 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28396
f62ee380
L
28397 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28398 include <bits/wordsize.h>. Check __x86_64__ instead of
28399 __WORDSIZE.
28400 (user_regs_struct): Use "__extension__ unsigned long long"
28401 instead of "unsigned long" if __x86_64__ is defined.
28402 (user): Likewise. Pad after pointer field if __ILP32__ is
28403 defined.
28404
4e124ced
JM
284052012-05-16 Joseph Myers <joseph@codesourcery.com>
28406
6a3951a0
JM
28407 * configure.in (makeinfo): Require version 4.5 or later. Allow
28408 versions 5 to 9.
28409 * configure: Regenerated.
28410 * manual/install.texi (texinfo): Increase version requirement to
28411 4.5 or later.
28412 * INSTALL: Regenerated.
28413
4e124ced
JM
28414 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28415
953ca31a
L
284162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28417
28418 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28419
617aca05
L
28420 * sysdeps/x86_64/x32/ffs.c: New file.
28421
5762f7ae
L
28422 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28423 __syscall_ulong_t.
28424 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28425 defined. Use __syscall_ulong_t.
28426 (shminfo): Use __syscall_ulong_t.
28427 (shm_info): Likewise.
28428
a26b6856
L
28429 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28430 __syscall_ulong_t.
28431
cb2b9ef7
L
28432 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28433 <bits/wordsize.h>.
28434 (msgqnum_t): Use __syscall_ulong_t.
28435 (msglen_t): Likewise.
28436 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28437 __syscall_ulong_t.
28438
34683bb0
L
28439 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28440 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28441
84a68786
L
28442 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28443
48baa5f1
L
28444 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28445 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28446
180be88b
L
28447 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28448 __syscall_slong_t.
28449
5e90c8ad
L
28450 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28451 include <bits/wordsize.h>. Check __x86_64__ instead of
28452 __WORDSIZE.
28453
23dfb58b
L
28454 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28455 "unsigned long long int" if __x86_64__ is defined.
28456 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28457
ce5d54b0
L
28458 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28459 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28460 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28461
13dc9eac
L
28462 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28463 <stdint.h>.
28464 (GET_PC): Cast to uintptr_t first.
28465 (GET_FRAME): Likewise.
28466 (GET_STACK): Likewise.
28467
a7895d15
L
28468 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28469 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28470 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28471 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28472 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28473 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28474 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28475 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28476 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28477 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28478 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28479 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28480 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28481 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28482 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28483 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28484 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28485 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28486 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28487 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28488 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28489 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28490 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28491 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28492 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28493 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28494 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28495 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28496 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28497
656416c9
AS
284982012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28499
5bd66283
AS
28500 * Makerules (+depfiles): Also collect depfiles from .oS in
28501 $(extra-objs).
28502 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28503 .oS, $(libnldbl-routines)).
28504
656416c9
AS
28505 * Makerules (native-compile-mkdep-flags): Define.
28506 * sunrpc/Makefile (extra-objs): Add $(addprefix
28507 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28508 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28509 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28510 calling $(make-target-directory).
28511
a46f2169
L
285122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28513
28514 * bits/types.h (__snseconds_t): Removed.
28515 * time/time.h (struct timespec): Replace __snseconds_t with
28516 __syscall_slong_t.
28517 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28518 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28519 Likewise.
28520 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28521 (__SNSECONDS_T_TYPE): Likewise.
28522 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28523 (__SNSECONDS_T_TYPE): Likewise.
28524 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28525 (__SNSECONDS_T_TYPE): Likewise.
28526
6af6528b
L
285272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28528
28529 * sysdeps/mach/hurd/bits/typesizes.h
28530 (__SYSCALL_SLONG_TYPE): New macro.
28531 (__SYSCALL_ULONG_TYPE): Likewise.
28532
de986b56
L
285332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28534
28535 * bits/types.h (__syscall_slong_t): New type.
28536 (__syscall_ulong_t): Likewise.
28537
28538 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28539 (__SYSCALL_ULONG_TYPE): Likewise.
28540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28541 (__SYSCALL_SLONG_TYPE): Likewise.
28542 (__SYSCALL_ULONG_TYPE): Likewise.
28543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28544 (__SYSCALL_SLONG_TYPE): Likewise.
28545 (__SYSCALL_ULONG_TYPE): Likewise.
28546 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28547 (__SYSCALL_SLONG_TYPE): Likewise.
28548 (__SYSCALL_ULONG_TYPE): Likewise.
28549
85736dc7
L
285502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28551
28552 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28553 Add sigaltstack-offsets.sym.
28554 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28555 <sigaltstack-offsets.h>.
28556 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28557 longjmp_msg pointer.
28558 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28559 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28560 signal stack.
28561 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28562
cc03b296
JM
285632012-05-15 Joseph Myers <joseph@codesourcery.com>
28564
a9538892
JM
28565 * elf/stackguard-macros.h: Remove file.
28566 * sysdeps/generic/stackguard-macros.h: New file.
28567 * sysdeps/i386/stackguard-macros.h: Likewise.
28568 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28569 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28570 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28571 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28572 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28573 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28574 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28575 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28576 <elf/stackguard-macros.h>.
28577
cc03b296
JM
28578 [BZ #14109]
28579 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28580 __aligned__ in attribute.
28581 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28582 (gregset_t): Likewise.
28583
93171016
L
285842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28585
28586 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28587 * sysdeps/x86_64/64/Implies-after: Here. New file.
28588 * sysdeps/x86_64/x32/Implies-after: New file.
28589
d86813a0
L
285902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28591
28592 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28593 and access return value for _dl_profile_fixup. Use R10_LP to
28594 load frame size.
28595
2953ec75
L
285962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28597
28598 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28599
3b550e9e
L
286002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28601
28602 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28603 * sysdeps/x86_64/x32/sysdep.h: New file.
28604
eda41706
L
286052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28606
28607 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28608 * sysdeps/x86_64/setjmp.S: Likewise.
28609
9ea01d93
AZ
286102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28611
28612 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28613 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28614 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28615 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28616 remove unused global constant.
28617
02a91938
CM
286182012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28619
28620 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28621 include of <not-cancel.h>.
28622
6540185f
RM
286232012-05-15 Roland McGrath <roland@hack.frob.com>
28624
28625 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28626
509072a0
AJ
286272012-05-15 Jeff Law <law@redhat.com>
28628 Andreas Jaeger <aj@suse.de>
28629
28630 [BZ #13594]
28631 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28632 out from...
28633 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28634 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28635 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28636 code changing __hst_map_handle.map.
28637
ba75122d
RM
286382012-05-15 Roland McGrath <roland@hack.frob.com>
28639
28640 * configure.in (sysnames): Look for Implies-before and Implies-after
28641 files.
28642 * configure: Regenerated.
28643
890d8bd8
L
286442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28645
28646 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28647 8-byte data alignment with LP_SIZE alignment.
28648
f6ee6623
L
286492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28650
28651 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28652 into R10_LP.
28653
ea2626f6
L
286542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28655
28656 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28657
085f715e
L
286582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28659
28660 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28661 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28662 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28663 Likewise.
28664 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28665
be8498fc
L
286662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28667
28668 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28669 (stackinfo_sub_sp): Likewise.
28670
70bc83b9
L
286712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28672
28673 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28674 RAX_LP.
28675
9bc0b730
L
286762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28677
28678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28679 into R*_LP.
28680
6d2850e7
L
286812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28682
28683 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28684 sizes into R*_LP.
28685
3cb84561
L
286862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28687
28688 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28689
54e2ed81
L
286902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28691
28692 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28693 into R11_LP and load __x86_64_shared_cache_size_half into
28694 R8_LP.
28695
8a17f349
L
286962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28697
28698 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28699 R8_LP.
28700
777b1eea
AZ
287012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28702
28703 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28704 logb for POWER7.
28705 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28706 logbf for POWER7.
28707 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28708 logbl for POWER7.
28709 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28710 powerpc32/power7/fpu/s_logb.c via #include.
28711 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28712 powerpc32/power7/fpu/s_logbf.c via #include.
28713 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28714 powerpc32/power7/fpu/s_logbl.c via #include.
28715
d20d4ac2
JM
287162012-05-15 Joseph Myers <joseph@codesourcery.com>
28717
28718 * README.libm: Remove file.
28719
6cdef1ab
L
287202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28721
28722 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28723 count for x32. Use R*_LP and omit operand-size suffix.
28724
0b254d8f
L
287252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28726
28727 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28728 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28729 * sysdeps/x86_64/x32/shlib-versions: New file.
28730
ceb809dc
RM
287312012-05-14 Roland McGrath <roland@hack.frob.com>
28732
28733 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28734 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28735 Use _dl_fatal_printf instead.
28736
37f1abd4
JM
287372012-05-14 Joseph Myers <joseph@codesourcery.com>
28738
28739 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28740 set if not set by the user. Do not allow for being unset.
28741 * sysdeps/unix/sysv/linux/configure: Regenerated.
28742
11de3a33
L
287432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28744
28745 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28746 the `q' suffix from lea and replace .quad with ASM_ADDR.
28747
e02f153a
L
287482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28749
28750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28751 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28752 instead of $17.
28753 (PTR_DEMANGLE): Likewise.
28754
520ae0fd
L
287552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28756
28757 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28758 (LP_OP): Likewise.
28759 (ASM_ADDR): Likewise.
28760 (RAX_LP): Likewise.
28761 (RBP_LP): Likewise.
28762 (RBX_LP): Likewise.
28763 (RCX_LP): Likewise.
28764 (RDI_LP): Likewise.
28765 (RSI_LP): Likewise.
28766 (RSP_LP): Likewise.
28767 (R8_LP): Likewise.
28768 (R9_LP): Likewise.
28769 (R10_LP): Likewise.
28770 (R10_LP): Likewise.
28771 (R11_LP): Likewise.
28772 (R12_LP): Likewise.
28773 (R13_LP): Likewise.
28774 (R14_LP): Likewise.
28775 (R15_LP): Likewise.
28776
b985be81
L
287772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28778
28779 * sysdeps/x86_64/x32/dl-machine.h: New file.
28780
6a4888ff
AJ
287812012-05-14 Andreas Jaeger <aj@suse.de>
28782
28783 * manual/Makefile (subdir): Remove export of subdir.
28784 (all): Remove target.
28785 (.PHONY): Remove all from list.
28786 (mkinstalldirs): Remove.
28787 (.PHONY): Remove installdirs from list.
28788 ($(inst_infodir)/libc.info): Use make-target-directory.
28789 (installdirs): Remove.
28790 (subdir_%): Remove.
28791 (glibc-targets): Remove.
28792 (lib): Remove.
28793 (stubs): Remove.
28794 ($(objpfx)stubs ../po/manual.pot): Remove.
28795 ($(objpfx)stamp%): Remove.
28796 (make-target-directory): Remove.
28797 (subdir_install): Remove.
28798 (routines): Remove.
28799 (aux): Remove.
28800 (sources): Remove.
28801 (objects): Remove.
28802 (headers): Remove.
28803
28804 [BZ #13750]
28805 * manual/.gitignore: Remove, it's not needed anymore.
28806 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28807 all files in it.
28808 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28809 directory.
28810 (texis): Renamed to $(objpfx)texis.
28811 (texis-path): New, contains path to generated files.
28812 (chapters.%): Use texis-path for complete path, add extra argument
28813 libc-texinfo.sh.
28814 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28815 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28816 (summary,texi, stamp-summary): Use complete path of
28817 files. Generate files in build dir.
28818 (dir-add.texi): Build in build dir.
28819 (libm-err.texi,stamp-libm-err): Likewise.
28820 (version.texi, stamp-version): Likewise.
28821 (.%c.texi): Likewise.
28822 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28823 (mostlyclean): Remove target.
28824 (realclean): Remove target.
28825 (generated): Add new variable with contents from mostlyclean and
28826 realclean, remove entries duplicated in common-mostlyclean, add
28827 stamp-libm-err and stamp-version.
28828 (generated-dirs): Add libc directory.
28829 ($(inst_infodir)/libc.info): Install files from build dir.
28830
28831 * manual/install.texi (Configuring and compiling): Adjust since
28832 the info files are not part of the tar ball anymore.
28833
7ac77294
AJ
288342012-05-14 Andreas Jaeger <aj@suse.de>
28835
28836 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28837 variable.
28838
ffb7875d
JM
288392012-05-14 Joseph Myers <joseph@codesourcery.com>
28840
28841 [BZ #13717]
28842 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28843 to 2.2.0 where earlier.
28844 * sysdeps/unix/sysv/linux/configure: Regenerated.
28845 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28846 Remove conditional code.
28847 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28848 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28849 Remove conditional code.
28850 [!__NR_lchown]: Likewise.
28851 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28852 [__NR_lchown]: Likewise.
28853 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28854 comment referencing __ASSUME_LCHOWN_SYSCALL.
28855 * sysdeps/unix/sysv/linux/i386/sigaction.c
28856 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28857 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28858 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28859 Remove conditional code.
28860 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28861 (__protocol_available): Remove #if 0 code.
28862 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28863 conditional code.
28864 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28865 * sysdeps/unix/sysv/linux/kernel-features.h
28866 (__ASSUME_GETCWD_SYSCALL): Don't define.
28867 (__ASSUME_REALTIME_SIGNALS): Likewise.
28868 (__ASSUME_PREAD_SYSCALL): Likewise.
28869 (__ASSUME_PWRITE_SYSCALL): Likewise.
28870 (__ASSUME_POLL_SYSCALL): Likewise.
28871 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28872 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28873 non-SPARC.
28874 (__ASSUME_SIOCGIFNAME): Don't define.
28875 (__ASSUME_MSG_NOSIGNAL): Likewise.
28876 (__ASSUME_SENDFILE): Define unconditionally.
28877 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28878 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28879 conditional code.
28880 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28881 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28882 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28883 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28884 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28885 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28886 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28888 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28889 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28891 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28892 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28894 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28895 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28897 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28898 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28900 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28901 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28903 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28904 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28906 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28907 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28909 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28910 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28911 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28912 Remove conditional code.
28913 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28914 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28915 Remove conditional code.
28916 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28917 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28918 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28919 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28920 Remove conditional code.
28921 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28922 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28923 Remove conditional code.
28924 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28925 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28926 Remove conditional code.
28927 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28928 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28929 Remove conditional code.
28930 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28931 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28932 Remove conditional code.
28933 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28934 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28935 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28936 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28937 * sysdeps/unix/sysv/linux/sigaction.c
28938 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28939 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28940 * sysdeps/unix/sysv/linux/sigpending.c
28941 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28942 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28943 * sysdeps/unix/sysv/linux/sigprocmask.c
28944 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28945 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28946 * sysdeps/unix/sysv/linux/sigsuspend.c
28947 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28948 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28949 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28950 (__libc_missing_rt_sigs): Remove.
28951 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28952 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28953 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28954 Remove conditional code.
28955 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28956 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28957 return 1.
28958 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28959 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28960 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28961 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28962
1bfb7291
AJ
289632012-05-14 Andreas Jaeger <aj@suse.de>
28964
caae5a81
AJ
28965 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28966 it's not used in glibc.
28967 (__coshm1): Likewise.
28968 (__acosh1p): Likewise.
28969 (__sgn): Likewise.
28970
1bfb7291
AJ
28971 * manual/string.texi (Copying and Concatenation): Add missing
28972 variable in concat example.
28973 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28974
c044d724
L
289752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28976
144c5467 28977 [BZ #14103]
c044d724
L
28978 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28979 __builtin_clzl with __builtin_clzll.
28980
2523c62b
L
289812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28982
28983 [BZ #14104]
28984 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28985 libc_freeres_ptr.
28986
d7bb4c42
LD
289872012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28988
28989 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28990 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28991 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28992 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28993
9dc4e1fb
MF
289942012-05-14 Mike Frysinger <vapier@gentoo.org>
28995
28996 * NEWS: Update ia64 info.
28997
c7df0112
AS
289982012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28999
29000 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29001 used as bcopy.
29002
dc70356c
TS
290032012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29004
29005 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29006 * sysdeps/unix/syscalls.list (dup3): Likewise.
29007 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29008 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29009
9fb1a21f
L
290102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29011
29012 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29013 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29014
4822a2a5
L
290152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29016
29017 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29018 thread pointer.
29019 (TLS_IE): Use mov/add instead of movq/addq to load thread
29020 pointer.
29021 (TLS_GD_PREFIX): New.
29022 (TLS_GD): Use it.
29023
842b81d6
DM
290242012-05-11 David S. Miller <davem@davemloft.net>
29025
29026 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29027 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29028 (_FPU_SETCW): Likewise.
29029
1cf463cd
L
290302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29031
29032 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29033 is 32-byte aligned.
29034
60cc4a18
AS
290352012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29036
29037 [BZ #11837]
29038 * iconvdata/gb18030.c: Update tables.
29039 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29040 characters specially.
29041 (BODY for TO_LOOP): Add encoding of missing ranges.
29042
febb44a4
TS
290432012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29044
29045 [BZ #13673]
29046 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29047 * sysdeps/mach/hurd/dup3.c: Likewise.
29048 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29049 * sysdeps/powerpc/memmove.c:: Likewise.
29050
0a10fb9e
L
290512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29052
29053 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29054 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29055
df8a552f
L
290562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29057
29058 * elf/elf.h (R_X86_64_RELATIVE64): New.
29059 (R_X86_64_NUM): Updated.
29060 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29061 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29062 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29063 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29064 tst-quad1pie tst-quad2pie
29065 (modules-names): Add tst-quadmod1 tst-quadmod2.
29066 ($(objpfx)tst-quad1): New dependency.
29067 ($(objpfx)tst-quad2): Likewise.
29068 ($(objpfx)tst-quad1pie): Likewise.
29069 ($(objpfx)tst-quad2pie): Likewise.
29070 * sysdeps/x86_64/tst-quad1.c: New file.
29071 * sysdeps/x86_64/tst-quad1pie.c: New file.
29072 * sysdeps/x86_64/tst-quad2.c: Likewise.
29073 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29074 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29075 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29076 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29077 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29078
f34d6f84
ST
290792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29080
f42d41d1
ST
29081 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29082 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29083 * streams/stropts.h (t_scalar_t): Define type.
29084
3c3571fc
ST
29085 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29086 (_PATH_PRESERVE): Set to "/var/lib".
29087 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29088
61f06bd3
ST
29089 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29090 instead of int.
29091
918d4d71
ST
29092 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29093 if __dir_mkfile succeeded.
29094
f34d6f84
ST
29095 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29096 checking for _hurd_dtablesize. Unlock it right after having
29097 finished _hurd_dtable allocation.
29098
10589b4a
TS
290992012-05-10 Thomas Schwinge <thomas@schwinge.name>
29100
674cdbc7
TS
29101 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29102 * sysdeps/mach/hurd/configure: Regenerated.
29103 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29104 special-casing to...
29105 * sysdeps/gnu/configure.in: ... this new file.
29106 * sysdeps/unix/sysv/linux/configure: Regenerated.
29107 * sysdeps/gnu/configure: New generated file.
29108
8e41b99f
TS
29109 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29110 for Linux: use nsec instead of usec, as well as:
29111 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29112 members of type struct timespec.
29113 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29114 New macros.
29115 (struct stat64): Likewise.
29116 (_STATBUF_ST_NSEC): New macro.
29117 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29118
10589b4a
TS
29119 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29120 __strtoul_internal rather than strtoul.
29121
63643c85
PT
291222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29123
29124 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29125 and reject them.
29126
3faebe6a
ST
291272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29128
29129 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29130 which preserves existing values.
29131 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29132
c6474b07
PT
291332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29134
29135 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29136 TIMEOUT values. Return EINVAL for NFDS values either negative or
29137 greater than FD_SETSIZE.
29138
1043890b
ST
291392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29140
29141 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29142 allocated, call __vm_protect to finish enabling the existing space, and
29143 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29144 allocate the remainder.
29145
37ed8b9b
PT
291462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29147
29148 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29149 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29150
db653660
ST
291512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29152
37ed8b9b
PT
29153 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29154 sysdeps/mach/hurd/readlink.c.
b29d4053 29155
db653660
ST
29156 * posix/tst-sysconf.c (posix_options): Only use
29157 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29158 _POSIX_SYNCHRONIZED_IO when they are defined
29159 * sysdeps/mach/hurd/bits/posix_opt.h:
29160 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29161 (_XOPEN_REALTIME): Undefine macro.
29162 (_XOPEN_REALTIME_THREADS): Undefine macro.
29163 (_XOPEN_SHM): Undefine macro.
29164 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29165 macro to -1.
29166 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29167 macro to -1.
29168 (_POSIX_ASYNC_IO): Undefine macro.
29169 (_POSIX_PRIORITIZED_IO): Undefine macro.
29170 (_POSIX_SPIN_LOCKS): Define macro to -1.
29171
ee16e894
ST
29172 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29173 SA_NODEFER, SA_RESETHAND.
29174 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29175 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29176 F_DUPFD_CLOEXEC.
29177
6103ae3b
TS
291782012-05-10 Thomas Schwinge <thomas@schwinge.name>
29179
29180 * elf/Makefile (pldd-modules): Define unconditionally.
29181
80b4e5f3
TS
291822012-05-10 Thomas Schwinge <thomas@schwinge.name>
29183
29184 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29185
edadcbd6
ST
291862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29187
29188 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29189 Return ENOENT when name is empty.
29190 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29191
80694780
TS
291922012-05-10 Thomas Schwinge <thomas@schwinge.name>
29193
1792c087
TS
29194 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29195
80694780
TS
29196 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29197
6b645f0d
ST
291982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29199
80694780
TS
29200 Fix mlock in all cases except non-readable pages.
29201 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29202 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29203
6b645f0d
ST
29204 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29205 (__mkdir): When path is `/', just fail with EEXIST.
29206 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29207
e468f8a3
TS
292082012-05-10 Thomas Schwinge <thomas@schwinge.name>
29209
29210 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29211 <sys/uio.h> (for writev).
29212 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29213 and <sys/param.h> (for MIN).
29214
a4186cff
PT
292152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29216
29217 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29218 REQUESTED_TIME. Properly set the remaining time and return EINTR
29219 if interrupted.
29220
510bbf14
TS
292212012-05-10 Thomas Schwinge <thomas@schwinge.name>
29222
29223 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29224 Depend on against $(link-rpcuserlibs).
29225
5d5722e8
ST
292262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29227
a4186cff
PT
29228 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29229 (__libc_stack_end): Do not use attribute_relro.
29230 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29231 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29232 to libthread-provided value.
a4186cff
PT
29233 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29234 attribute_relro.
5d5722e8 29235
37233df9
TS
292362012-05-10 Thomas Schwinge <thomas@schwinge.name>
29237
be971a2b
TS
29238 [BZ #3748]
29239 * bits/libc-lock.h (__libc_once_get): New macro.
29240 * sysdeps/mach/bits/libc-lock.h: Likewise.
29241 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29242 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29243 instead of using implementation details.
29244
37233df9
TS
29245 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29246 * libio/freopen.c: Likewise.
29247 * libio/freopen64.c: Likewise.
29248 * misc/syslog.c: Likewise.
29249 * nscd/connections.c: Likewise.
29250 * nscd/netgroupcache.c: Likewise.
29251 * sysdeps/posix/getcwd.c: Likewise.
29252
38de94a5
RM
292532012-05-10 Roland McGrath <roland@hack.frob.com>
29254
29255 * math/w_ilogbf.c: Add #include <limits.h>.
29256
67530489
ST
292572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29258
a4186cff 29259 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29260 path instead of returning without unlocking.
29261
67530489
ST
29262 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29263 immediate-write ioctls.
29264 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29265
5aa3a74a
TS
292662012-05-10 Thomas Schwinge <thomas@schwinge.name>
29267
18bad2ae
TS
29268 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29269 __builtin_frame_address instead of making assumptions about the
29270 location of the return address relative to DATA. Force early load of
29271 the return address.
29272 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29273 __builtin_frame_address.
29274
5aa3a74a
TS
29275 dup3 for GNU Hurd.
29276 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29277 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29278 implement dup3 and do some further code clean-ups.
29279 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29280 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29281
ecd0de9a
ST
292822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29283
cd9fa985
ST
29284 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29285
a4186cff
PT
29286 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29287 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29288 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29289 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29290 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29291 d->port.lock.
802ca5a5 29292
a4186cff
PT
29293 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29294 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29295 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29296
bcf55240
TS
292972012-05-10 Thomas Schwinge <thomas@schwinge.name>
29298
6960eb42
TS
29299 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29300 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29301 definitions.
29302
eb43375f
TS
29303 accept4 for GNU Hurd.
29304 * include/sys/socket.h (__libc_accept4): New prototype.
29305 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29306 to implement __libc_accept4.
29307 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29308 __libc_accept4.
29309 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29310
bcf55240
TS
29311 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29312 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29313 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29314 signal-defines.sym.
29315
6178c55b
ST
293162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29317
a4186cff 29318 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29319
6f080c2f
TS
293202012-05-10 Thomas Schwinge <thomas@schwinge.name>
29321
29322 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29323 assertion on O_CLOEXEC flag.
29324 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29325 * hurd/intern-fd.c: Likewise.
29326 * hurd/port2fd.c: Likewise.
29327
bcfe3a54
ST
293282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29329
29330 [BZ #3906]
29331 * bits/in.h (IPV6_PKTINFO): Define new macro.
29332 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29333
89c9aa49
AZ
293342012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29335
29336 [BZ #13954]
29337 [BZ #13955]
29338 [BZ #13956]
29339 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29340 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29341 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29342 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29343 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29344 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29345 * math/libm-test.inc (logb_test) : Additional logb tests.
29346
021db4be
AJ
293472012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29348 Andreas Jaeger <aj@suse.de>
29349
29350 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29351 * configure: Regenerated.
29352 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29353 * config.make.in (link-obsolete-rpc): New substituted variable.
29354 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29355 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29356 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29357 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29358 so that libc.a contains the symbols.
29359 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29360 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29361 * sunrpc/auth_none.c: Likewise.
29362 * sunrpc/auth_unix.c: Likewise.
29363 * sunrpc/authdes_prot.c: Likewise.
29364 * sunrpc/authuxprot.c: Likewise.
29365 * sunrpc/clnt_gen.c: Likewise.
29366 * sunrpc/clnt_perr.c: Likewise.
29367 * sunrpc/clnt_raw.c: Likewise.
29368 * sunrpc/clnt_simp.c: Likewise.
29369 * sunrpc/clnt_tcp.c: Likewise.
29370 * sunrpc/clnt_udp.c: Likewise.
29371 * sunrpc/clnt_unix.c: Likewise.
29372 * sunrpc/des_crypt.c: Likewise.
29373 * sunrpc/des_soft.c: Likewise.
29374 * sunrpc/get_myaddr.c: Likewise.
29375 * sunrpc/key_call.c: Likewise.
29376 * sunrpc/key_prot.c: Likewise.
29377 * sunrpc/netname.c: Likewise.
29378 * sunrpc/pm_getmaps.c: Likewise.
29379 * sunrpc/pm_getport.c: Likewise.
29380 * sunrpc/pmap_clnt.c: Likewise.
29381 * sunrpc/pmap_prot.c: Likewise.
29382 * sunrpc/pmap_prot2.c: Likewise.
29383 * sunrpc/pmap_rmt.c: Likewise.
29384 * sunrpc/publickey.c: Likewise.
29385 * sunrpc/rpc_cmsg.c: Likewise.
29386 * sunrpc/rpc_common.c: Likewise.
29387 * sunrpc/rpc_dtable.c: Likewise.
29388 * sunrpc/rpc_prot.c: Likewise.
29389 * sunrpc/rpc_thread.c: Likewise.
29390 * sunrpc/rtime.c: Likewise.
29391 * sunrpc/svc.c: Likewise.
29392 * sunrpc/svc_auth.c: Likewise.
29393 * sunrpc/svc_raw.c: Likewise.
29394 * sunrpc/svc_run.c: Likewise.
29395 * sunrpc/svc_tcp.c: Likewise.
29396 * sunrpc/svc_udp.c: Likewise.
29397 * sunrpc/svc_unix.c: Likewise.
29398 * sunrpc/svcauth_des.c: Likewise.
29399 * sunrpc/xcrypt.c: Likewise.
29400 * sunrpc/xdr.c: Likewise.
29401 * sunrpc/xdr_array.c: Likewise.
29402 * sunrpc/xdr_float.c: Likewise.
29403 * sunrpc/xdr_intXX_t.c: Likewise.
29404 * sunrpc/xdr_mem.c: Likewise.
29405 * sunrpc/xdr_rec.c: Likewise.
29406 * sunrpc/xdr_ref.c: Likewise.
29407 * sunrpc/xdr_sizeof.c: Likewise.
29408 * sunrpc/xdr_stdio.c: Likewise.
29409
b5c086a2
RM
294102012-05-10 Roland McGrath <roland@hack.frob.com>
29411
29412 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29413 change. Update copyright years.
29414
6d74dd09
JM
294152012-05-10 Joseph Myers <joseph@codesourcery.com>
29416
29417 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29418
28e72501
MK
294192012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29420 Joseph Myers <joseph@codesourcery.com>
29421 Paul Pluzhnikov <ppluzhnikov@google.com>
29422
29423 [BZ #14012]
29424 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29425 requiring rpcgen.
29426 [cross-compiling] (extra-libs): Likewise.
29427 [cross-compiling] (extra-libs-others): Likewise.
29428 [cross-compiling] (librpcsvc-routines): Likewise.
29429 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29430 [cross-compiling] (omit-deps): Likewise.
29431 (sunrpc-CPPFLAGS): New variable.
29432 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29433 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29434 (cross-rpcgen-objs): New variable.
29435 (extra-objs): Append $(cross-rpcgen-objs).
29436 ($(cross-rpcgen-objs)): New rule.
29437 ($(objpfx)cross-rpcgen): Likewise.
29438 (rpcgen-cmd): Define to use $(built-program-file). Expand
29439 comment.
29440 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29441 ($(objpfx)x%.stmp): Likewise.
29442 * sunrpc/proto.h [IS_IN_build] (_): Define.
29443 [IS_IN_build] (_libc_intl_domainname): Likewise.
29444
c8c59454
L
294452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29446
29447 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29448 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29449 and R_X86_64_TPOFF64.
29450
6f27cd16
JM
294512012-05-10 Joseph Myers <joseph@codesourcery.com>
29452
29453 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29454 sysdeps/unix/sysv/syscalls.list.
29455 (stime): Likewise.
29456 (utime): Likewise.
29457 * sysdeps/unix/sysv/syscalls.list: Remove file.
29458
02467e1c
PE
294592012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29460
29461 [BZ #3440]
29462 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29463 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29464 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29465 (__LC_IDENTIFICATION): Make these macros useful in #if
29466 expressions, as required by C99.
29467
da392631
AS
294682012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29469
29470 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29471 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29472 after this.
29473
8115f29b
L
294742012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29475
29476 * stdlib/longlong.h: Updated from GCC.
29477
bdd74070
AJ
294782012-05-09 Andreas Jaeger <aj@suse.de>
29479
edfe0dbe
AJ
29480 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29481 default is first entry.
29482 (run_mode): Set type.
29483 (main): Remove informal message about syslog.
29484 (options): Fix typo.
29485
bcfe3a54
ST
29486 [BZ #14053]
29487 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29488 to asm.
bcfe3a54
ST
29489 (lrint): Likewise.
29490 (llrintf): Likewise.
29491 (llrint): Likewise.
29492 (rint): Likewise.
29493 (rintf): Likewise.
29494 (nearbyint): Likewise.
29495 (nearbyintf): Likewise.
bdd74070 29496
91d8d69e
AJ
294972012-05-09 Andreas Jaeger <aj@suse.de>
29498 Pedro Alves <palves@redhat.com>
29499
29500 * nscd/nscd.c (run_mode): Use enum.
29501 (main): Cleanup coding style issue.
29502
bb90b80b
AJ
295032012-05-09 Alexandre Oliva <aoliva@redhat.com>
29504 Andreas Jaeger <aj@suse.de>
29505
bcfe3a54
ST
29506 * nscd/nscd.c (go_background): Replaced with...
29507 (run_mode): ... this.
bb90b80b 29508 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29509 (options): Add -F --foreground.
29510 (main): Implement it.
29511 (parse_opt): Parse it.
bb90b80b 29512
1a4b75a1
AJ
295132012-05-09 Andreas Jaeger <aj@suse.de>
29514
29515 [BZ #14083]
29516 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29517 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29518 -Wconversion warning.
29519 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29520 Likewise.
29521
b1cc2472
JM
295222012-05-09 Joseph Myers <joseph@codesourcery.com>
29523
29524 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29525 == 0.
29526 (LC_ALL): Use macro-int-constant.
29527 (LC_COLLATE): Likewise.
29528 (LC_CTYPE): Likewise.
29529 (LC_MESSAGES): Likewise.
29530 (LC_MONETARY): Likewise.
29531 (LC_NUMERIC): Likewise.
29532 (LC_TIME): Likewise.
29533 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29534 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29535 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29536 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29537 Specify type.
29538 [C99-based standards] (float_t): Expect type.
29539 [C99-based standards] (double_t): Expect type.
29540 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29541 type.
29542 [C99-based standards] (HUGE_VALL): Likewise.
29543 [C99-based standards] (INFINITY): Likewise.
29544 [C99-based standards] (NAN): Likewise.
29545 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29546 [C99-based standards] (FP_NAN): Likewise.
29547 [C99-based standards] (FP_NORMAL): Likewise.
29548 [C99-based standards] (FP_SUBNORMAL): Likewise.
29549 [C99-based standards] (FP_ZERO): Likewise.
29550 [C99-based standards] (FP_FAST_FMA): Use
29551 optional-macro-int-constant. Specify type. Require == 1.
29552 [C99-based standards] (FP_FAST_FMAF): Likewise.
29553 [C99-based standards] (FP_FAST_FMAL): Likewise.
29554 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29555 [C99-based standards] (FP_ILOGBNAN): Likewise.
29556 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29557 Specify type.
29558 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29559 [C99-based standards] (math_errhandling): Specify type.
29560 [ISO99 || ISO11] (signgam): Do not allow.
29561 [non-C99-based standards] (copysignf): Do not allow.
29562 [non-C99-based standards] (exp2f): Likewise.
29563 [non-C99-based standards] (log2f): Likewise.
29564 [non-C99-based standards] (modff): Allow.
29565 [non-C99-based standards] (erff): Do not allow.
29566 [non-C99-based standards] (erfcf): Likewise.
29567 [non-C99-based standards] (gammaf): Likewise.
29568 [non-C99-based standards] (hypotf): Likewise.
29569 [non-C99-based standards] (j0f): Likewise.
29570 [non-C99-based standards] (j1f): Likewise.
29571 [non-C99-based standards] (jnf): Likewise.
29572 [non-C99-based standards] (lgammaf): Likewise.
29573 [non-C99-based standards] (tgammaf): Likewise.
29574 [non-C99-based standards] (y0f): Likewise.
29575 [non-C99-based standards] (y1f): Likewise.
29576 [non-C99-based standards] (ynf): Likewise.
29577 [non-C99-based standards] (isnanf): Likewise.
29578 [non-C99-based standards] (acoshf): Likewise.
29579 [non-C99-based standards] (asinhf): Likewise.
29580 [non-C99-based standards] (atanhf): Likewise.
29581 [non-C99-based standards] (cbrtf): Likewise.
29582 [non-C99-based standards] (expm1f): Likewise.
29583 [non-C99-based standards] (ilogbf): Likewise.
29584 [non-C99-based standards] (log1pf): Likewise.
29585 [non-C99-based standards] (logbf): Likewise.
29586 [non-C99-based standards] (nextafterf): Likewise.
29587 [non-C99-based standards] (remainderf): Likewise.
29588 [non-C99-based standards] (rintf): Likewise.
29589 [non-C99-based standards] (scalbf): Likewise.
29590 [non-C99-based standards] (copysignl): Likewise.
29591 [non-C99-based standards] (exp2l): Likewise.
29592 [non-C99-based standards] (log2l): Likewise.
29593 [non-C99-based standards] (modfl): Allow.
29594 [non-C99-based standards] (erfl): Do not allow.
29595 [non-C99-based standards] (erfcl): Likewise.
29596 [non-C99-based standards] (gammal): Likewise.
29597 [non-C99-based standards] (hypotl): Likewise.
29598 [non-C99-based standards] (j0l): Likewise.
29599 [non-C99-based standards] (j1l): Likewise.
29600 [non-C99-based standards] (jnl): Likewise.
29601 [non-C99-based standards] (lgammal): Likewise.
29602 [non-C99-based standards] (tgammal): Likewise.
29603 [non-C99-based standards] (y0l): Likewise.
29604 [non-C99-based standards] (y1l): Likewise.
29605 [non-C99-based standards] (ynl): Likewise.
29606 [non-C99-based standards] (isnanl): Likewise.
29607 [non-C99-based standards] (acoshl): Likewise.
29608 [non-C99-based standards] (asinhl): Likewise.
29609 [non-C99-based standards] (atanhl): Likewise.
29610 [non-C99-based standards] (cbrtl): Likewise.
29611 [non-C99-based standards] (expm1l): Likewise.
29612 [non-C99-based standards] (ilogbl): Likewise.
29613 [non-C99-based standards] (log1pl): Likewise.
29614 [non-C99-based standards] (logbl): Likewise.
29615 [non-C99-based standards] (nextafterl): Likewise.
29616 [non-C99-based standards] (remainderl): Likewise.
29617 [non-C99-based standards] (rintl): Likewise.
29618 [non-C99-based standards] (scalbl): Likewise.
29619 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29620 [non-C99-based standards] (FP_*): Do not allow.
29621 [C99-based standards] (FP_*): Change to
29622 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29623 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29624 allow.
29625 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29626 (SIG_ERR): Likewise.
29627 [X/Open-based standards] (SIG_HOLD): Likewise.
29628 (SIG_IGN): Likewise.
29629 (SIGABRT): Use macro-int-constant. Specify type. Require
29630 positive value.
29631 (SIGFPE): Likewise.
29632 (SIGILL): Likewise.
29633 (SIGINT): Likewise.
29634 (SIGSEGV): Likewise.
29635 (SIGTER): Likewise.
29636 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29637 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29638 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29639 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29640 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29641 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29642 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29643 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29644 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29645 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29646 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29647 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29648 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29649 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29650 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29651 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29652 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29653 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29654 [X/Open-based standards] (SIGTRAP): Likewise.
29655 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29656 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29657 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29658 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29659 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29660 allow.
29661
b9f1922d
IW
296622012-05-08 Ian Wienand <ianw@vmware.com>
29663
29664 [BZ #14080]
29665 * time/tzset.c (__tzset_parse_tz): Update default rules for
29666 daylight time changes in the Energy Policy Act of 2005.
29667
1db86e88
AJ
296682012-05-09 Andreas Jaeger <aj@suse.de>
29669
29670 [BZ #13983]
29671 * elf/ldconfig.c (parse_conf): Change string to make clear that
29672 ldconfig only issued a warning if ld.so.conf does not exist.
29673
dee4a4e3
DM
296742012-05-08 David S. Miller <davem@davemloft.net>
29675
ee0db190
DM
29676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29677 movxtod instead of popping the value on the stack.
29678
dee4a4e3
DM
29679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29680
6a43ec98
CD
296812012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29682
29683 * config.h.in: Add HAVE_ARM_PCS_VFP.
29684
05c2c961
RMG
296852012-05-08 Roland Mc Grath <roland@hack.frob.com>
29686
bcfe3a54
ST
29687 [BZ #13979]
29688 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29689 checking but the checks are disabled for any reason.
05c2c961 29690
4b30f61a
L
296912012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29692
29693 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29694 and ELF64_R_TYPE with ELFW(R_TYPE).
29695
eee2bc67
JM
296962012-05-08 Joseph Myers <joseph@codesourcery.com>
29697
7ea5391a
JM
29698 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29699 (ulimit): Likewise.
29700
eee2bc67
JM
29701 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29702 (settimeofday): Likewise.
29703
abb66a67
MF
297042012-05-08 Mike Frysinger <vapier@gentoo.org>
29705
29706 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29707 a struct th_u2 inside the union, and move tu_block/tu_code into
29708 a new th_u3 union of tu_block/tu_code inside of that. Move
29709 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29710 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29711 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29712 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29713 (th_stuff): Change to th_u1.tu_stuff.
29714 (th_data): Define.
29715 (th_msg): Change to th_u1.th_u2.tu_data.
29716
7f18b530
DM
297172012-05-07 David S. Miller <davem@davemloft.net>
29718
05760585
DM
29719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29720
7f18b530
DM
29721 [BZ #14074]
29722 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29723 (SETUP_PIC_REG): Use it.
29724 (SETUP_PIC_REG_LEAF): Use it.
29725
495fd99f
JM
297262012-05-07 Joseph Myers <joseph@codesourcery.com>
29727
29728 [BZ #13885]
29729 [BZ #13923]
29730 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29731 USE_AS_EXPM1L.
29732 (EXPL_FINITE): Likewise.
29733 (FLDLOG): Likewise.
29734 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29735 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29736 e_expl.S.
29737 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29738 USE_AS_EXPM1L.
29739 (EXPL_FINITE): Likewise.
29740 (FLDLOG): Likewise.
29741 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29742 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29743 e_expl.S.
29744 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29745 test of -max_value argument for long double.
29746 * sysdeps/i386/fpu/libm-test-ulps: Update.
29747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29748
6693d694
DM
297492012-05-06 David S. Miller <davem@davemloft.net>
29750
29751 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29752 quad soft-float symbols whose references which are compiler
29753 generated.
29754 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29755
6c23e11c
JM
297562012-05-06 Joseph Myers <joseph@codesourcery.com>
29757
d8b82cad
JM
29758 [BZ #13884]
29759 [BZ #13914]
29760 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29761 USE_AS_EXP10L.
29762 (EXPL_FINITE): Likewise.
29763 (FLDLOG): Likewise.
29764 (c0): Likewise.
29765 (c1): Likewise.
29766 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29767 Adjust comments for base varying.
29768 (__expl_finite): Change alias to EXPL_FINITE.
29769 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29770 e_expl.S.
29771 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29772 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29773 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29774 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29775 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29776 USE_AS_EXP10L.
29777 (EXPL_FINITE): Likewise.
29778 (FLDLOG): Likewise.
29779 (c0): Likewise.
29780 (c1): Likewise.
29781 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29782 Adjust comments for base varying.
29783 (__expl_finite): Change alias to EXPL_FINITE.
29784 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29785 tests for bugs.
29786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29787
6c23e11c
JM
29788 [BZ #14064]
29789 * math/libm-test.inc (check_float_internal): Correct ulp
29790 calculation for subnormal expected results.
29791
29ba805c
AJ
297922012-05-06 Andreas Jaeger <aj@suse.de>
29793
29794 * Makeconfig (+math-flags): New, set to -frounding-math.
29795 (+cflags): Add +math-flags so that all of glibc gets compiled with
29796 it.
29797
29798 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29799
7b17aeda
JM
298002012-05-05 Joseph Myers <joseph@codesourcery.com>
29801
5779f134
JM
29802 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29803 Disable one test.
29804
41498f4d
JM
29805 [BZ #13787]
29806 [BZ #13922]
29807 [BZ #14036]
29808 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29809 (__ieee754_expl): Allow for and saturate large arguments.
29810 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29811 (u_threshold): Likewise.
29812 (__exp): Call __ieee754_exp before checking for overflow and
29813 underflow.
29814 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29815 (u_threshold): Likewise.
29816 (__expf): Call __ieee754_expf before checking for overflow and
29817 underflow.
29818 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29819 (u_threshold): Likewise.
29820 (__expl): Call __ieee754_expl before checking for overflow and
29821 underflow.
29822 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29823 (__ieee754_expl): Allow for and saturate large arguments.
29824 * math/libm-test.inc (exp_test): Add another test. Do not allow
29825 missing overflow exception on overflow.
29826 (expm1_test): Do not allow missing overflow exception on overflow.
29827
6698b8bf
JM
29828 * sysdeps/i386/fpu/e_expl.c: Move to ...
29829 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29830 rather than using inline asm.
29831 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29832 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29833 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29834
7b17aeda
JM
29835 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29836 (nice): Likewise.
29837 (poll): Likewise.
29838 (signal): Likewise.
29839 (time): Likewise.
29840 (times): Likewise.
29841
f7c85819
JM
298422012-05-04 Joseph Myers <joseph@codesourcery.com>
29843
29844 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29845 sysdeps/unix/common/syscalls.list.
29846 (fchmod): Likewise.
29847 (fchown): Likewise.
29848 (ftruncate): Likewise.
29849 (getrusage): Likewise.
29850 (gettimeofday): Likewise.
29851 (setpgid): Likewise.
29852 (setregid): Likewise.
29853 (setreuid): Likewise.
29854 (sigaction): Likewise.
29855 (truncate): Likewise.
29856 (vhangup): Likewise.
29857 * sysdeps/unix/common/syscalls.list: Remove file.
29858 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29859 * sysdeps/unix/sysv/linux/Implies: Likewise.
29860
336270d0
L
298612012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29862
29863 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29865 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29866 Moved to ...
29867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29868 Here.
29869 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29870 to ...
29871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29872 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29873 to ...
29874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29875 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29876 to ...
29877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29878 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29879 to ...
29880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29881 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29882 to ...
29883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29884 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29885 to ...
29886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29887 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29888 to ...
29889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29890 Here.
29891 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29892 to ...
29893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29894 Here.
29895 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29896 to ...
29897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29898 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29899 Moved to ...
29900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29901 Here.
29902 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29903 to ...
29904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29905
d128e450
JM
299062012-05-04 Joseph Myers <joseph@codesourcery.com>
29907
fa8ee516
JM
29908 * sysdeps/unix/common/bits/dirent.h: Remove file.
29909 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29910
d128e450
JM
29911 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29912 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29913 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29914 * sysdeps/unix/bsd/isatty.c: Likewise.
29915 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29916 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29917 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29918
ff8faaf0 299192012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29920
62881be4 29921 [BZ #13563]
31dc8730
AZ
29922 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29923 long double comparison inaccuracies.
29924 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29926
6fef930c
AS
299272012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29928
29929 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29930 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29931
8f203e6c
JM
299322012-05-04 Joseph Myers <joseph@codesourcery.com>
29933
29934 [BZ #14049]
29935 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29936 nonzero digits before rounding a hex value.
29937 * stdlib/tst-strtod.c (tests): Add another test.
29938
5197d9c2
AK
299392012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29940
29941 * sysdeps/s390/fpu/libm-test-ulps: Update.
29942
f0c1dedf
AJ
299432012-05-03 Andreas Jaeger <aj@suse.de>
29944
29945 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29946 does not get optimized out.
29947 (malloc_opt_barrier): New.
29948
a65ef2ae 299492012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29950 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29951
2b942cb7 29952 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29953 intermediate file deletion.
2b942cb7 29954 (generated): Add .symlist files.
a65ef2ae 29955
54b71e02
JM
299562012-05-03 Joseph Myers <joseph@codesourcery.com>
29957
29958 [BZ #13775]
29959 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29960 Redirect under this condition.
29961 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29962 [__USE_GNU] (__dprintf_chk): Not under this condition.
29963 [__USE_GNU] (__vdprintf_chk): Likewise.
29964 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29965 under this condition.
29966 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29967 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29968 [__USE_XOPEN2K8] (vdprintf): Likewise.
29969 [__USE_GNU] (__dprintf_chk): Not under this condition.
29970 [__USE_GNU] (__vdprintf_chk): Likewise.
29971 [__USE_GNU] (dprintf): Likewise.
29972 [__USE_GNU] (vdprintf): Likewise.
29973
d3dfcc41
RM
299742012-05-03 Roland McGrath <roland@hack.frob.com>
29975
29976 * elf/Makefile (common-generated): Set this instead of generated for
29977 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29978 $(all-built-dso)-derived lists.
29979
7ac30cc5
AJ
299802012-05-03 Andreas Jaeger <aj@suse.de>
29981
0c51e550
AJ
29982 * sysdeps/i386/fpu/libm-test-ulps: Update.
29983
7ac30cc5
AJ
29984 * FAQ: Removed.
29985 * FAQ.in: Likewise.
29986 * scripts/gen-FAQ.pl: Likewise.
29987 * manual/install.texi (Installation): Point to online location of
29988 FAQ.
29989 * Makefile (files-for-dist): Remove FAQ.
29990 (FAQ): Remove.
29991
d4c2917f
AM
299922012-05-02 Allan McRae <allan@archlinux.org>
29993
29994 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29995 (LDFLAGS-reldepmod5.so): Likewise.
29996 (LDFLAGS-reldep6mod1.so): Likewise.
29997 (LDFLAGS-reldep6mod4.so): Likewise.
29998 (LDFLAGS-reldep8mod3.so): Likewise.
29999 (LDFLAGS-unload4mod1.so): Likewise.
30000 (LDFLAGS-unload4mod2.so): Likewise.
30001 (LDFLAGS-tst-initorder): Likewise.
30002 (LDFLAGS-tst-initordera2.so): Likewise.
30003 (LDFLAGS-tst-initordera3.so): Likewise.
30004 (LDFLAGS-tst-initordera4.so): Likewise.
30005 (LDFLAGS-tst-initorderb2.so): Likewise.
30006 (LDFLAGS-noload): Likewise.
30007 (LDFLAGS-next): Likewise.
30008 (LDFLAGS-order2mod1.so): Likewise.
30009 (LDFLAGS-order2mod2.so): Likewise.
30010 (LDFLAGS-tst-initorder2): Likewise.
30011 (LDFLAGS-tst-initorder2a.so): Likewise.
30012 (LDFLAGS-tst-initorder2b.so): Likewise.
30013 (LDFLAGS-tst-initorder2c.so): Likewise.
30014 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30015
d77f993f
DM
300162012-05-02 David S. Miller <davem@davemloft.net>
30017
30018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30019
171a70b4
PP
300202012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30021
30022 [BZ #14055]
30023 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30024
0be196ad
AJ
300252012-05-02 Andreas Jaeger <aj@suse.de>
30026
30027 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30028 since we manipulate rounding mode.
30029 (CPPFLAGS-test-idouble.c): Likewise.
30030 (CPPFLAGS-test-ifloat.c): Likewise.
30031 (CFLAGS-test-ldouble.c): Likewise.
30032 (CFLAGS-test-double.c): Likewise.
30033 (CFLAGS-test-float.c): Likewise.
30034 (CFLAGS-test-misc.c): Likewise.
30035 (CFLAGS-test-test-fenv.c): Likewise.
30036
4f9d04aa
AZ
300372012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30038
2b942cb7
RM
30039 [BZ #2550]
30040 [BZ #2570]
30041 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30042 comparisons to determine direction to adjust input.
4f9d04aa 30043
82a79e7d
RM
300442012-05-01 Roland McGrath <roland@hack.frob.com>
30045
f5a01ca9
RM
30046 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30047 output to the target.
30048
90fe4186
RM
30049 * scripts/localplt.awk: New file.
30050 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30051 (check-localplt-CFLAGS): Variable removed.
30052 ($(all-built-dso:=.jmprel)): New static pattern rule.
30053 (generated): Add those targets.
30054 (localplt-built-dso): New variable.
30055 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30056
30057 * elf/check-localplt.c: File removed.
30058
82397ed6
RM
30059 * scripts/check-execstack.awk: New file.
30060 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30061 (check-execstack-CFLAGS): Variable removed.
30062 ($(objpfx)check-execstack.h): Target removed.
30063 ($(objpfx)execstack-default): New target.
30064 (generated): Add that instead of check-execstack.h.
30065 ($(all-built-dso:=.phdr)): New static pattern rule.
30066 (generated): Add those targets.
30067 * elf/check-execstack.c: File removed.
30068
82a79e7d
RM
30069 * scripts/check-textrel.awk: New file.
30070 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30071 (check-textrel-CFLAGS): Variable removed.
30072 (all-built-dso): Use := to define.o
30073 ($(all-built-dso:=.dyn)): New static pattern rule.
30074 (generated): Add those targets.
30075 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30076 * config.make.in (READELF): New substituted variable.
30077 * elf/check-textrel.c: File removed.
30078
62fde54f 300792012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30080
615605c9
JM
30081 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30082 allow.
30083 * conform/data/ctype.h-data [C99-based standards] (isblank):
30084 Expect function.
30085 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30086 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30087 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30088 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30089 Specify type. Require positive value.
30090 (EILSEQ): Likewise.
30091 (ERANGE): Likewise.
30092 [ISO || POSIX] (EILSEQ): Do not expect.
30093 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30094 Specify type. Require positive value.
30095 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30096 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30097 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30098 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30099 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30100 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30101 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30102 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30103 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30104 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30105 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30106 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30107 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30108 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30109 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30110 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30111 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30112 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30113 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30114 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30115 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30116 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30117 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30118 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30119 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30120 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30121 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30122 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30123 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30124 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30125 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30126 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30127 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30128 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30129 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30130 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30131 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30132 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30133 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30134 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30135 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30136 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30137 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30138 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30139 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30140 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30141 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30142 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30143 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30144 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30145 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30146 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30147 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30148 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30149 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30150 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30151 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30152 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30153 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30154 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30155 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30156 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30157 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30158 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30159 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30160 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30161 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30162 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30163 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30164 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30165 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30166 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30167 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30168 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30169 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30170 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30171 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30172 Require >= 2.
30173 (FLT_ROUNDS): Expect as macro, not constant.
30174 (FLT_MANT_DIG): Use macro-int-constant.
30175 (DBL_MANT_DIG): Likewise.
30176 (LDBL_MANT_DIG): Likewise.
30177 (FLT_DIG): Likewise.
30178 (DBL_DIG): Likewise.
30179 (LDBL_DIG): Likewise.
30180 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30181 (DBL_MIN_EXP): Likewise.
30182 (LDBL_MIN_EXP): Likewise.
30183 (FLT_MAX_EXP): Use macro-int-constant.
30184 (DBL_MAX_EXP): Likewise.
30185 (LDBL_MAX_EXP): Likewise.
30186 (FLT_MAX_10_EXP): Likewise.
30187 (DBL_MAX_10_EXP): Likewise.
30188 (LDBL_MAX_10_EXP): Likewise.
30189 (FLT_MAX): Use macro-constant.
30190 (DBL_MAX): Likewise.
30191 (LDBL_MAX): Likewise.
30192 (FLT_EPSILON): Use macro-constant. Give upper bound.
30193 (DBL_EPSILON): Likewise.
30194 (LDBL_EPSILON): Likewise.
30195 (FLT_MIN): Likewise.
30196 (DBL_MIN): Likewise.
30197 (LDBL_MIN): Likewise.
30198 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30199 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30200 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30201 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30202 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30203 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30204 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30205 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30206 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30207 [ISO11] (FLT_TRUE_MIN): Likewise.
30208 [ISO11] (LDBL_TRUE_MIN): Likewise.
30209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30210 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30211 (SCHAR_MIN): Use macro-int-constant. Specify type.
30212 (SCHAR_MAX): Likewise.
30213 (UCHAR_MAX): Likewise.
30214 (CHAR_MIN): Likewise.
30215 (CHAR_MAX): Likewise.
30216 (MB_LEN_MAX): Use macro-int-constant.
30217 (SHRT_MIN): Use macro-int-constant. Specify type.
30218 (SHRT_MAX): Likewise.
30219 (USHRT_MAX): Likewise.
30220 (INT_MAX): Likewise.
30221 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30222 bound negative.
30223 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30224 bound with "U".
30225 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30226 bound with "L".
30227 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30228 bound negative. Suffix upper bound with "L".
30229 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30230 bound with "UL".
30231 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30232 Specify type.
30233 [C99-based standards] (LLONG_MAX): Likewise.
30234 [C99-based standards] (ULLONG_MAX): Likewise.
30235 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30236 == 0.
30237 [ISO11] (max_align_t): Require type.
30238 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30239
c9140a62
JM
30240 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30241 from $CFLAGS, without defining away __attribute__ calls.
30242 (checknamespace): Use $CFLAGS_namespace.
30243
9af0bf29
JM
30244 * conform/conformtest.pl (@keywords): Only include C99 keywords
30245 for standards based on C99 or C11.
30246
343222a2
JM
30247 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30248 Disable tests.
30249 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30250 UNIX98]: Likewise.
30251
661f8cf0
JM
30252 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30253 usability of symbols in #if.
30254
ee74b9cb
JM
30255 * conform/conformtest.pl: If macro or constant types start
30256 "promoted:", expect the symbol to be of the following type
30257 promoted by the integer promotions.
62fde54f 30258
aafc49b3
JM
30259 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30260 in one place. Also handle "macro-constant".
30261
fefdf574
JM
30262 * conform/conformtest.pl: Only accept expected macro values with
30263 "==". Parse all "macro" lines in one place.
30264 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30265
f2d922fe
JM
30266 * conform/conformtest.pl: Handle braced types on "constant" lines
30267 instead of handling "typed-constant".
30268 * conform/data/signal.h-data: Use "constant" instead of
30269 "typed-constant".
30270
d22956c9
JM
30271 * conform/conformtest.pl: Handle "optional-" at start of lines in
30272 one place rather than duplicating several cases. Handle each
30273 format of "macro" line with initial "optional-".
30274
028e2e38
JM
30275 * conform/conformtest.pl: Only accept expected constant or
30276 optional-constant values with "==". Parse all "constant" lines in
30277 one place. Parse all "optional-constant" lines in one place.
30278 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30279 * conform/data/fmtmsg.h-data: Likewise.
30280 * conform/data/netinet/in.h-data: Likewise.
30281 * conform/data/tar.h-data: Likewise.
30282 * conform/data/limits.h-data: Use "==" form on "constant" and
30283 "optional-constant" lines.
30284
1b8f2850
JM
30285 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30286 Use -std=c99 for XOPEN2K.
30287 (@knownproblems): Remove.
30288 (newtoken): Don't check %isknown.
30289
a05a144b
JM
30290 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30291 Do not expect macro.
30292 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30293 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30294 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30295 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30296 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30297 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30298 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30299 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30300 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30301 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30302 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30303 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30304 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30305 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30306 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30307 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30308 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30309 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30310 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30311 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30312 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30313 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30314 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30315 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30316 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30317 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30318 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30319 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30320 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30321 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30322 [XPG3] (acosh): Likewise.
30323 [XPG3] (asinh): Likewise.
30324 [XPG3] (atanh): Likewise.
30325 [XPG3] (cbrt): Likewise.
30326 [XPG3] (expm1): Likewise.
30327 [XPG3] (ilogb): Likewise.
30328 [XPG3] (log1p): Likewise.
30329 [XPG3] (logb): Likewise.
30330 [XPG3] (nextafter): Likewise.
30331 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30332 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30333 [XPG3] (remainder): Likewise.
30334 [XPG3] (rint): Likewise.
30335 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30336 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30337 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30338 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30339 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30340 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30341 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30342 [UNIX98 || XOPEN2K] (scalb): Expect.
30343 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30344 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30345 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30346 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30347 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30348 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30349 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30350 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30351 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30352 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30353 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30354 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30355 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30356 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30357 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30358 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30359 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30360 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30361 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30362 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30363 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30364 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30365 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30366 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30367 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30368 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30369 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30370 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30371 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30372 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30373 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30374 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30375 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30376 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30377 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30378 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30379 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30380 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30381 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30382 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30383 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30384 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30385 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30386 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30387 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30388 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30389 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30390 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30391 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30392 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30393 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30394 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30395 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30396 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30397 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30398 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30399 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30400 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30401 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30402 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30403 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30404 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30405 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30406 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30407 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30408 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30409 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30410 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30411 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30412 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30413 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30414 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30415 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30416 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30417 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30418 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30419 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30420 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30421 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30422 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30423 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30424 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30425 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30426 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30427 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30428 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30429 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30430 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30431 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30432 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30433 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30434 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30435 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30436 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30437 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30438 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30439 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30440 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30441 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30442 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30443 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30444 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30445 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30446 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30447 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30448 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30449 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30450 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30451 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30452 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30453 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30454 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30455 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30456 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30457 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30458 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30459 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30460 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30461 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30462 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30463 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30464 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30465 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30466 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30467 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30468 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30469 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30470 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30471 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30472 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30473 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30474 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30475 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30476 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30477 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30478 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30479 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30480
73c5ebe3
JM
30481 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30482 _XOPEN_SOURCE_EXTENDED for XPG4.
30483
39c33b6c
JM
30484 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30485
62fde54f
JM
30486 * Makeconfig (localtime): Remove variable.
30487 (inst_localtime-file): Likewise.
30488
0741d64c
AS
304892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30490
30491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30492 Update.
30493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30494 Update.
30495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30496 Update.
30497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30498 Update.
30499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30500 Update.
30501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30502 Update.
30503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30504 Update.
30505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30506 Update.
30507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30508 Update.
30509
7cb029ee
JM
305102012-05-01 Joseph Myers <joseph@codesourcery.com>
30511
30512 [BZ #2550]
30513 [BZ #2570]
30514 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30515 comparisons to determine direction to adjust input.
30516 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30517 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30518 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30519 Likewise.
30520 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30521 Likewise.
30522 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30523 Likewise.
30524 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30525 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30526 Likewise.
30527 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30528 Likewise.
30529 * math/libm-test.inc (nexttoward_test): Add more tests.
30530
412bd966
AS
305312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30532
30533 [BZ #14040]
30534 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30535 in version GLIBC_2.1, not GLIBC_2.0.
30536 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30537 Likewise.
30538
9568c0c2
JM
305392012-04-30 Joseph Myers <joseph@codesourcery.com>
30540
adfbc8ac
JM
30541 [BZ #13942]
30542 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30543 (1 - x) * (1 + x).
30544 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30545 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30546 * math/libm-test.inc (acos_test): Add more tests.
30547 (asin_test): Likewise.
30548 * sysdeps/i386/fpu/libm-test-ulps: Update.
30549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30550
5ba3cc69
JM
30551 [BZ #14034]
30552 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30553 of square root.
30554 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30555 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30556 * math/libm-test.inc (acos_test_tonearest): New function.
30557 (acos_test_towardzero): Likewise.
30558 (acos_test_downward): Likewise.
30559 (acos_test_upward): Likewise.
30560 (asin_test_tonearest): Likewise.
30561 (asin_test_towardzero): Likewise.
30562 (asin_test_downward): Likewise.
30563 (asin_test_upward): Likewise.
30564 (main): Call the new functions.
30565 * sysdeps/i386/fpu/libm-test-ulps: Update.
30566 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30567
9568c0c2
JM
30568 [BZ #13884]
30569 [BZ #13924]
30570 * math/e_exp10.c: Include <float.h>.
30571 (__ieee754_exp10): Handle underflow here rather than multiplying
30572 large negative argument by M_LN10.
30573 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30574 of __ieee754_expf.
30575 * math/e_exp10l.c: Include <float.h>.
30576 (__ieee754_exp10l): Handle underflow here rather than multiplying
30577 large negative argument by M_LN10l.
30578 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30579 spurious overflow exception on underflow.
30580
5ac3ea17
MP
305812012-04-29 Marek Polacek <polacek@redhat.com>
30582
30583 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30584 (__fortify_function): New macro.
30585 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30586 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30587 __extern_always_inline.
30588 * libio/bits/stdio2.h: Likewise.
30589 * libio/bits/stdio.h: Likewise.
30590 * string/string.h: Likewise.
30591 * string/bits/string3.h: Likewise.
30592 * include/stdio.h: Likewise.
30593 * stdlib/bits/stdlib.h: Likewise.
30594 * stdlib/stdlib.h: Likewise.
30595 * rt/bits/mqueue2.h: Likewise.
30596 * rt/mqueue.h: Likewise.
30597 * posix/bits/unistd.h: Likewise.
30598 * posix/unistd.h: Likewise.
30599 * io/bits/poll2.h: Likewise.
30600 * io/bits/fcntl2.h: Likewise.
30601 * io/fcntl.h: Likewise.
30602 * io/sys/poll.h: Likewise.
30603 * misc/bits/syslog.h: Likewise.
30604 * misc/bits/syslog-ldbl.h: Likewise.
30605 * misc/sys/syslog.h: Likewise.
30606 * socket/bits/socket2.h: Likewise.
30607 * socket/sys/socket.h: Likewise.
30608 * debug/tst-chk1.c: Likewise.
30609 * wcsmbs/bits/wchar2.h: Likewise.
30610 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30611 * wcsmbs/wchar.h: Likewise.
30612
ecf0ebfb
AJ
306132012-04-29 Andreas Jaeger <aj@suse.de>
30614
30615 * Makerules (tests): Remove enable-check-abi protection.
30616 (check-abi-warn): Remove.
30617 (check-abi-%): Remove check-abi-warn usage.
30618
30619 * configure.in: Remove check-abi configure option.
30620 * configure: Regenerated.
30621 * config.make.in (enable-check-abi): Remove.
30622
6d5c57fa
AS
306232012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30624
24c5d07e 30625 [BZ #14033]
ded5180a
AS
30626 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30627 double functions to double *_finite functions.
30628
7e0d315d
AS
30629 [BZ #13941]
30630 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30631 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30632 LDBL_MIN_EXP.
30633 * stdio-common/Makefile (tests): Add tst-sprintf3.
30634 * stdio-common/tst-sprintf3.c: New file.
30635
6d5c57fa
AS
30636 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30637 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30638
0749ff8b
JM
306392012-04-28 Joseph Myers <joseph@codesourcery.com>
30640
30641 * conform/conformtest.pl: Remove duplicate typed-constant
30642 handling.
30643
8dbd5d7b
DM
306442012-04-28 David S. Miller <davem@davemloft.net>
30645
30646 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30647 (check-abi-%): Remove AWK script prerequisite and explicit
30648 abilist directory.
30649 (check-abi): Rewrite to just diff the symlist with the abilist.
30650 (config-tls, config-abi-config): Delete, no longer used.
30651 (update-abi-%): Remove AWK script and explicit abilist directory.
30652 (update-abi): Rewrite to simply compare and conditionally copy the
30653 symlist and the sysdep abilist file. Remove update-abi-config
30654 checks.
30655 * abilist/ld.abilist: Remove.
30656 * abilist/libBrokenLocale.abilist: Remove.
30657 * abilist/libanl.abilist: Remove.
30658 * abilist/libcrypt.abilist: Remove.
30659 * abilist/libdl.abilist: Remove.
30660 * abilist/librt.abilist: Remove.
30661 * abilist/libthread_db.abilist: Remove.
30662 * abilist/libutil.abilist: Remove.
30663 * scripts/extract-abilist.awk: Remove.
30664 * scripts/merge-abilist.awk: Remove.
30665 * sysdeps/generic/libcidn.abilist: New file.
30666 * sysdeps/generic/libnss_compat.abilist: New file.
30667 * sysdeps/generic/libnss_db.abilist: New file.
30668 * sysdeps/generic/libnss_dns.abilist: New file.
30669 * sysdeps/generic/libnss_files.abilist: New file.
30670 * sysdeps/generic/libnss_hesiod.abilist: New file.
30671 * sysdeps/generic/libnss_nis.abilist: New file.
30672 * sysdeps/generic/libnss_nisplus.abilist: New file.
30673 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30674 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30675 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30676 file.
30677 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30678 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30679 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30680 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30681 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30682 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30683 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30684 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30685 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30686 file.
30687 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30688 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30689 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30690 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30691 file.
30692 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30693 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30694 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30695 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30696 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30697 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30698 file.
30699 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30700 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30701 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30702 file.
30703 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30705 New file.
30706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30707 New file.
30708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30709 New file.
30710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30711 New file.
30712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30713 New file.
30714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30715 New file.
30716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30717 New file.
30718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30719 New file.
30720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30721 New file.
30722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30723 New file.
30724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30725 New file.
30726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30727 New file.
30728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30729 New file.
30730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30731 file.
30732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30733 New file.
30734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30735 New file.
30736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30737 file.
30738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30739 New file.
30740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30741 New file.
30742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30743 file.
30744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30745 New file.
30746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30747 New file.
30748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30749 New file.
30750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30751 New file.
30752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30753 New file.
30754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30755 New file.
30756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30758 file.
30759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30760 New file.
30761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30762 file.
30763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30764 file.
30765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30766 file.
30767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30768 file.
30769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30770 file.
30771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30772 New file.
30773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30774 file.
30775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30776 file.
30777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30778 New file.
30779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30780 file.
30781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30783 file.
30784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30785 New file.
30786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30787 file.
30788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30789 file.
30790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30791 file.
30792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30793 file.
30794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30795 file.
30796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30797 New file.
30798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30799 file.
30800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30801 file.
30802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30803 New file.
30804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30805 file.
30806 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30807 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30808 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30809 file.
30810 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30811 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30812 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30813 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30814 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30815 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30816 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30817 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30818 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30819 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30822 file.
30823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30824 New file.
30825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30826 file.
30827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30828 file.
30829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30830 file.
30831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30832 file.
30833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30834 file.
30835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30836 New file.
30837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30838 New file.
30839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30840 file.
30841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30842 New file.
30843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30844 file.
30845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30847 file.
30848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30849 New file.
30850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30851 file.
30852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30853 file.
30854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30855 file.
30856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30857 file.
30858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30859 file.
30860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30861 New file.
30862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30863 New file.
30864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30865 file.
30866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30867 New file.
30868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30869 file.
30870
41d73a1b
JM
308712012-04-28 Joseph Myers <joseph@codesourcery.com>
30872
30873 * conform/conformtest.pl: Fix typo in handling typed-constant from
30874 allow-header.
30875
28aeeda4
JM
308762012-04-27 Joseph Myers <joseph@codesourcery.com>
30877
adae8f5e
JM
30878 * README: Cut down references to pre-2.6 Linux kernels and
30879 Linuxthreads. Update lists of configurations in libc and ports
30880 and sort alphabetically. Say "or newer" with Linux kernel version
30881 requirements.
30882
28aeeda4
JM
30883 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30884
a462cb63
RA
308852012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30886
30887 [BZ #887]
30888 * math/libm-test.inc (logb_test_downward): New test to expose
30889 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30890 rounding mode.
30891
6ad3493e
JM
308922012-04-27 Joseph Myers <joseph@codesourcery.com>
30893
30894 [BZ #14027]
30895 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30896 to be done.
30897 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30898 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30899
2ce4f015
JM
309002012-04-26 Joseph Myers <joseph@codesourcery.com>
30901
5aeb141a
JM
30902 * sysdeps/unix/i386/brk.S: Remove file.
30903 * sysdeps/unix/i386/dl-brk.S: Likewise.
30904 * sysdeps/unix/i386/pipe.S: Likewise.
30905 * sysdeps/unix/i386/sigreturn.S: Likewise.
30906 * sysdeps/unix/i386/syscall.S: Likewise.
30907 * sysdeps/unix/i386/vfork.S: Likewise.
30908 * sysdeps/unix/i386/wait.S: Likewise.
30909
7143acae
JM
30910 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30911 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30912
2ce4f015
JM
30913 * configure.in (arm*-none*): Do not allow without
30914 --enable-hacker-mode.
30915 (netbsd*): Remove case setting base_os.
30916 (386bsd*): Likewise.
30917 (freebsd*): Likewise.
30918 (bsdi*): Likewise.
30919 (osf*): Likewise.
30920 (sunos*): Likewise.
30921 (ultrix*): Likewise.
30922 (newsos*): Likewise.
30923 (dynix*): Likewise.
30924 (*bsd*): Likewise.
30925 (sysv*): Likewise.
30926 (isc*): Likewise.
30927 (esix*): Likewise.
30928 (sco*): Likewise.
30929 (minix*): Likewise.
30930 (irix4*): Likewise.
30931 (irix6*): Likewise.
30932 (solaris[2-9]*): Likewise.
30933 (none): Likewise.
30934 * configure: Regenerated.
30935
0ac229c8
AZ
309362012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30937
30938 [BZ #11521]
30939 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30940 overflow or cancellation in calculating denominator.
30941 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30942 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30943 down expression to avoid unexpected rounding in newer GCCs.
30944 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30945
33f244f4
DM
309462012-04-26 David S. Miller <davem@davemloft.net>
30947
30948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30949 long-double compat symbols.
30950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30963
cfa1f3e8
DM
309642012-04-25 David S. Miller <davem@davemloft.net>
30965
30966 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30967 HWCAP_* values only after the memory barriers have been defined.
30968 (atomic_full_barrier): Define.
30969 (atomic_read_barrier): Define.
30970 (atomic_write_barrier): Define.
30971
6e236b92
SP
309722012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30973
30974 * shlib-versions: Add libgcc_s version information.
30975 * sysdeps/generic/libgcc_s.h: Remove.
30976 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30977 libgcc_s.h.
30978 * sysdeps/gnu/unwind-resume.c: Likewise.
30979 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30980
aab39a09
DM
309812012-04-25 David S. Miller <davem@davemloft.net>
30982
30983 * sysdeps/unix/sparc/brk.S: Delete.
30984 * sysdeps/unix/sparc/dl-brk.S: Delete.
30985 * sysdeps/unix/sparc/pipe.S: Delete.
30986 * sysdeps/unix/sparc/sysdep.S: Delete.
30987 * sysdeps/unix/sparc/sysdep.h: Delete.
30988 * sysdeps/unix/sparc/vfork.S: Delete.
30989 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30990 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30991 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30992 ret_ERRVAL, r0, r1, MOVE): Define.
30993 (JUMPTARGET): Remove.
30994 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30995 sysdeps/unix/sparc/sysdep.h
30996 (ENTRY, END): Remove.
30997 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30998
a3cc4f48
JM
309992012-04-25 Joseph Myers <joseph@codesourcery.com>
31000
2ed8cda2
JM
31001 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31002 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31003 -DIS_IN_build.
31004
35d76d59
JM
31005 * timezone/README: Update upstream location and email address for
31006 tzcode and tzdata.
31007 * timezone/zdump.c: Update from tzcode 2012b.
31008 * timezone/zic.c: Likewise.
31009
a3cc4f48
JM
31010 * configure.in (libc_cv_as_needed): Remove test.
31011 * configure: Regenerated.
31012 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31013 conditional definition.
31014 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31015 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31016 * config.make.in (have-as-needed): Remove variable.
31017
ceab42c3
SP
310182012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31019 Paul Pluzhnikov <ppluzhnikov@google.com>
31020
31021 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31022 strings correctly.
31023
3ce2865f
CLT
310242012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31025
31026 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31027 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31028 * sysdeps/sh/strlen.S: Likewise.
31029
f37e0d68
JM
310302012-04-24 Joseph Myers <joseph@codesourcery.com>
31031
ae186e9a
JM
31032 * sysdeps/unix/fork.S: Remove file.
31033 * sysdeps/unix/i386/fork.S: Likewise.
31034 * sysdeps/unix/sparc/fork.S: Likewise.
31035
b96914af
JM
31036 * sysdeps/unix/system.c: Remove file.
31037 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31038
f37e0d68
JM
31039 * sysdeps/unix/getegid.S: Remove file.
31040 * sysdeps/unix/geteuid.S: Likewise.
31041
87ef29ca
RM
310422012-04-24 Roland McGrath <roland@hack.frob.com>
31043
83bcd236
RM
31044 * scripts/check-localplt.awk: New file.
31045 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31046 of diff.
31047 * scripts/data/localplt-generic.data: Add a comment.
31048
87ef29ca
RM
31049 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31050 NODE when __dir_mkfile failed.
31051 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31052 Reported by Ludovic Courtès <ludo@gnu.org>.
31053
e5a6e567
AJ
310542012-04-24 Andreas Jaeger <aj@suse.de>
31055
31056 * Makerules (common-clean): Also remove gen-as-const-headers
31057 files.
31058
c1820385
JM
310592012-04-24 Joseph Myers <joseph@codesourcery.com>
31060
31061 * Makerules (native-compile): Do not change working directory for
31062 build. Use $(OUTPUT_OPTION) in command.
31063 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31064
94e02fc4
AZ
310652012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31066
31067 [BZ #13886]
31068 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31069 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31070 * math/libm-test.inc (floor_test): Add more tests.
31071 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31072
3a533ca3
JM
310732012-04-24 Joseph Myers <joseph@codesourcery.com>
31074
940ab4b3
JM
31075 * sysdeps/unix/getdents.c: Remove file.
31076 * sysdeps/unix/sysv/getdents.c: Likewise.
31077 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31078
90e037bd
JM
31079 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31080 sysdeps/unix/mman/syscalls.list.
31081 (mmap): Likewise.
31082 (mprotect): Likewise.
31083 (msync): Likewise.
31084 (munmap): Likewise.
31085 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31086 * sysdeps/unix/mman/syscalls.list: Remove.
31087 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31088
3a533ca3
JM
31089 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31090 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31091 * configure: Regenerated.
31092 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31093 $(libgcc_s_suffix).
31094 * config.make.in (libgcc_s_suffix): Remove variable.
31095
1ad743de
JM
310962012-04-23 Joseph Myers <joseph@codesourcery.com>
31097
4ad451e2
JM
31098 * sysdeps/unix/sysv/gethostname.c: Move to ...
31099 * sysdeps/posix/gethostname.c: ... here.
31100
5e37ce39
JM
31101 * sysdeps/unix/execve.S: Remove file.
31102
1ad743de
JM
31103 * sysdeps/unix/_exit.S: Remove file.
31104
4e681b5b
AJ
311052012-04-23 Andreas Jaeger <aj@suse.de>
31106
31107 [BZ #13739]
31108 * manual/Makefile: Remove make dist support, there's no
31109 need for a stand-alone documentation tar ball.
31110 (TEXI2DVI): Define always, it's not in Makeconfig.
31111 (dist): Removed.
31112 (tar-it): Removed.
31113 (edition): Removed.
31114 (glibc-doc-$(edition).tar): Removed
31115 (%.Z): Removed.
31116 (%.gz): Removed.
31117 (%.uu): Removed.
31118 (ETAGS): Remove, it's in Makeconfig.
31119 (move-if-change): Remove, it's in Makeconfig.
31120
38686a03 311212012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31122
31123 [BZ #13970]
31124 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31125 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31126 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31127 (strtod_l, strtof_l, strtold_l): Remove __wur.
31128 It is not necessarily an error to ignore strtol's return value.
31129 One can reliably look at the stored endptr to decide whether
31130 the number had valid syntax.
31131
7c0616fa
AJ
311322012-04-21 Andreas Jaeger <aj@suse.de>
31133
803cb6b7 31134 [BZ #13739]
7c0616fa
AJ
31135 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31136
b0fe253f
JM
311372012-04-21 Joseph Myers <joseph@codesourcery.com>
31138
31139 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31140 * sysdeps/unix/sysv/Versions: Remove file.
31141
8280f22d
MT
311422012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31143
31144 [BZ #13927]
31145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31146
75ce411f 311472012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31148
31149 [BZ #7064]
31150 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31151 version from __vm86.
31152
097d59fa
JM
311532012-04-20 Joseph Myers <joseph@codesourcery.com>
31154
a90f3bcb
JM
31155 * sysdeps/unix/common/lxstat.c: Remove file.
31156 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31157
edc7ea78
JM
31158 * sysdeps/unix/sysv/Makefile: Remove file.
31159
cb78c221
JM
31160 * sysdeps/unix/sysv/direct.h: Remove file.
31161
efa6a45f
JM
31162 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31163 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31164 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31165 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31166 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31167 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31168 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31169
9c9f2d0c
JM
31170 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31171
4541c83b
JM
31172 * sysdeps/unix/xmknod.c: Remove file.
31173 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31174
f5d153a0
JM
31175 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31176
aa746595
JM
31177 * sysdeps/unix/sysv/i386/time.S: Remove file.
31178
cce5905e
JM
31179 * sysdeps/unix/fxstat.c: Remove file.
31180 * sysdeps/unix/xstat.c: Likewise.
31181 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31182
37fa3841
JM
31183 * sysdeps/unix/sysv/sigaction.c: Remove file.
31184
ff1962a3
JM
31185 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31186 (sysdep_headers): Remove variable.
31187 [termio.h not in sysdep_headers] (generated): Likewise.
31188 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31189 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31190 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31191 * sysdeps/unix/sysv/tcflow.c: Likewise.
31192 * sysdeps/unix/sysv/tcflush.c: Likewise.
31193 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31194 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31195 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31196 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31197 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31198
e7740d31
JM
31199 * sysdeps/unix/siglist.c: Remove file.
31200
ee06f18b
JM
31201 * sysdeps/unix/getppid.S: Remove file.
31202
097d59fa
JM
31203 * sysdeps/unix/mkdir.c: Remove file.
31204 * sysdeps/unix/rmdir.c: Likewise.
31205
ff3d51ec
AS
312062012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31207
31208 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31209 ERR_MAX value.
31210 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31211 errlist-compat value.
31212
50f81fd7
DM
312132012-04-18 David S. Miller <davem@davemloft.net>
31214
31215 * sysdeps/generic/memcopy.h (reg_char): Delete.
31216 * debug/strcat_chk.c: Use char, not reg_char.
31217 * debug/strcpy_chk.c: Likewise.
31218 * debug/strncat_chk.c: Likewise.
31219 * debug/strncpy_chk.c: Likewise.
31220 * string/memchr.c: Likewise.
31221 * string/memrchr.c: Likewise.
31222 * string/rawmemchr.c: Likewise.
31223 * string/strcat.c: Likewise.
31224 * string/strchr.c: Likewise.
31225 * string/strchrnul.c: Likewise.
31226 * string/strcmp.c: Likewise.
31227 * string/strcpy.c: Likewise.
31228 * string/strncat.c: Likewise.
31229 * string/strncmp.c: Likewise.
31230 * string/strncpy.c: Likewise.
31231
8ff41c46
WS
312322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31233
31234 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31235 __builtin_memcopy is called when src and dest ranges are known to not
31236 overlap.
31237
6b652f46
WS
312382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31239
31240 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31241 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31242 fwd_align_merge macro call.
31243 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31244 bwd_align_merge macro call.
31245 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31246
b282631e
WS
312472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31248
31249 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31250 bwd_align_merge macros.
31251 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31252 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31253 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31254
95aa737c
DM
312552012-04-18 David S. Miller <davem@davemloft.net>
31256
31257 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31258
7a99a614
AJ
312592012-04-18 Andreas Jaeger <aj@suse.de>
31260
31261 [BZ# 6794]
31262 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31263 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31264 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31265
31266 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31267 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31268 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31269
31270 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31271 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31272 Adjust for changed ldbl-128 files.
31273
31274 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31275 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31276 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31277
e5270c23
DM
312782012-04-17 David S. Miller <davem@davemloft.net>
31279
31280 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31281
fb5e92c9
AS
312822012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31283
31284 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31285 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31286 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31287 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31288 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31289 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31290
76da7265
AZ
312912012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31292
31293 [BZ #6794]
31294 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31295 * math/libm-test.inc: Add ilogb errno and exception tests.
31296 * math/w_ilogb.c: New file: ilogb wrapper.
31297 * math/w_ilogbf.c: New file: ilogbf wrapper.
31298 * math/w_ilogbl.c: New file: ilogbl wrapper.
31299 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31300 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31301 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31302 exception being thrown with 0.0 as argument.
31303 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31304 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31305 exception being thrown with 0.0 as argument.
31306 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31307 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31308 exception being thrown with 0.0 as argument.
31309 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31310 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31311 exception being thrown with 0.0 as argument.
31312 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31313 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31314 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31315 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31316 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31317 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31318 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31319 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31320 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31321
0396e69d
PB
313222012-04-17 Petr Baudis <pasky@ucw.cz>
31323
31324 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31325 with altivec.
31326
750b5926
MP
313272012-04-16 Marek Polacek <polacek@redhat.com>
31328
31329 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31330
751728a1
MP
313312012-04-16 Marek Polacek <polacek@redhat.com>
31332
31333 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31334 operands of fdivp instruction.
31335
34a27407
L
313362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31337
31338 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31339 * elf/tst-auditmod3b.c: Likewise.
31340 * elf/tst-auditmod4b.c: Likewise.
31341 * elf/tst-auditmod5b.c: Likewise.
31342 * elf/tst-auditmod6b.c: Likewise.
31343 * elf/tst-auditmod6c.c: Likewise.
31344 * elf/tst-auditmod7b.c: Likewise.
31345 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31346 * sysdeps/x86_64/preconfigure.in: Likewise.
31347 * sysdeps/x86_64/preconfigure: Regenerated.
31348
7e73e17d
L
313492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31350
31351 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31352 __ILP32__.
31353
c7a6ab72
AB
313542012-04-13 Antoine Balestrat <merkil33@gmail.com>
31355
31356 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31357 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31358
a9e8e0e0
CL
313592012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31360
31361 [BZ #13973]
31362 * locale/iso-639.def: Fix gl language name. Spotted by
31363 Yaron Shahrabani.
31364
ec98af7d
RM
313652012-04-12 Roland McGrath <roland@hack.frob.com>
31366
31367 [BZ #2074]
31368 * libio/libio.h (__io_write_fn): Update comment.
31369
247c3ede
PB
313702012-04-12 Petr Baudis <pasky@ucw.cz>
31371
31372 [BZ #2074]
31373 * stdio.texi (Hook Functions): The user provided writer function
31374 is not allowed to return -1.
31375
55939d6d
DM
313762012-04-11 David S. Miller <davem@davemloft.net>
31377
31378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31379
90020f5a
MF
313802012-04-11 Mike Frysinger <vapier@gentoo.org>
31381
31382 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31383 Add a leading slash to rtkaio.
31384
288f9098
JM
313852012-04-11 Jim Meyering <meyering@redhat.com>
31386
90020f5a
MF
31387 [BZ #11959]
31388 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31389 It is not necessarily an error to ignore fwrite's return
31390 value. One can reliably use ferror to test for errors after
31391 the fact.
288f9098 31392
4be2b570
L
313932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31394
31395 * bits/types.h (__snseconds_t): New type.
31396 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31397
31398 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31399 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31400 (__SNSECONDS_T_TYPE): Likewise.
31401 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31402 (__SNSECONDS_T_TYPE): Likewise.
31403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31404 (__SNSECONDS_T_TYPE): Likewise.
31405
288f9098 314062012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31407
31408 [BZ #2636]
31409 * manual/time.texi (Processor Time): Return type of times is
31410 elapsed real time since an arbitrary point in the past.
31411 (CPU Time): Move CLK_TCK from here...
31412 (Processor Time): ...to here. Correct description.
31413 * manual/conf.texi (Constants for Sysconf): Correct description of
31414 _SC_CLK_TCK.
31415
d7dd4413
DM
314162012-04-10 David S. Miller <davem@davemloft.net>
31417
31418 [BZ #13967]
31419 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31420 where the is a gap between DT_REL(A) and DT_JMPREL.
31421
b46068fc
L
314222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31423
31424 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31425 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31426 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31427
73d65cc3
SP
314282012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31429
31430 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31431 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31432 (dl_main): Handle --inhibit-cache.
31433 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31434 _dl_inhibit_cache.
31435 * elf/dl-load.c (_dl_map_object): Use it.
31436 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31437
bcc8d661
JM
314382012-04-09 Joseph Myers <joseph@codesourcery.com>
31439
8f9a2fae
JM
31440 [BZ #13872]
31441 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31442 (__ieee754_powl): Saturate large exponents rather than testing for
31443 overflow of y*log2(x).
31444 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31445 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31446 exceptions.
31447
bcc8d661
JM
31448 [BZ #11521]
31449 * math/s_ctan.c: Include <float.h>.
31450 (__ctan): Avoid internal overflow or cancellation in calculating
31451 denominator.
31452 * math/s_ctanf.c: Likewise.
31453 * math/s_ctanl.c: Likewise.
31454 * math/s_ctanh.c: Likewise.
31455 * math/s_ctanhf.c: Likewise.
31456 * math/s_ctanhl.c: Likewise.
31457 * math/libm-test.inc (ctan_test): Add more tests.
31458 (ctanh_test): Likewise.
31459 * sysdeps/i386/fpu/libm-test-ulps: Update.
31460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31461
823fbbb4
AJ
314622012-04-09 Andreas Jaeger <aj@suse.de>
31463
03879793
AJ
31464 [BZ #6894]
31465 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31466 is an optional BSD extension.
31467
823fbbb4
AJ
31468 [BZ #10254]
31469 * manual/stdio.texi (Opening Streams): Document additional fopen
31470 parameters.
31471
8de131cb
RM
314722012-04-09 Roland McGrath <roland@hack.frob.com>
31473
31474 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31475 %eax without telling the compiler.
31476
c0ed9d7d
CD
314772012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31478
31479 [BZ # 13963]
31480 * manual/install.texi: Use sourceware.org.
31481
c483f6b4
JM
314822012-04-09 Joseph Myers <joseph@codesourcery.com>
31483
d7dd9453
JM
31484 [BZ #13873]
31485 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31486 (__ieee754_pow): Generate overflow and underflow using huge*huge
31487 and tiny*tiny rather than just returning constant infinity or zero
31488 for large exponents.
31489 * math/libm-test.inc (pow_test): Require overflow exceptions for
31490 applicable cases of large exponents.
31491
c483f6b4
JM
31492 [BZ #706]
31493 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31494 (__ieee754_pow): Use iterative multiplication algorithm only for
31495 integer exponents with absolute value below 1024. Check for odd
31496 integer exponents when using algorithm for real exponents.
31497 * math/libm-test.inc (pow_test): Add more tests.
31498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31499
d2de7579
JM
315002012-04-08 Joseph Myers <joseph@codesourcery.com>
31501
31502 [BZ #13705]
31503 * math/libm-test.inc (exp_test): Do not allow overflow exception
31504 on underflow test.
31505
f77f1232
AJ
315062012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31507
31508 [BZ #13705]
31509 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31510 instead of __kernel_standard_f.
31511
3884932b
MF
315122012-04-08 Mike Frysinger <vapier@gentoo.org>
31513
31514 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31515 * sysdeps/x86_64/memset_chk.S: Likewise.
31516
54472e9c
AJ
315172012-04-08 Andreas Jaeger <aj@suse.de>
31518
6ab0fbfc
AJ
31519 [BZ #10153]
31520 * manual/startup.texi (Environment Access): Describe return value
31521 for putenv and setenv.
31522
61efba8c
AJ
31523 [BZ #6895]
31524 * manual/filesys.texi (Directory Entries): Add description for
31525 DT_LNK.
31526
95c3f29a
AJ
31527 [BZ #6890]
31528 * manual/filesys.texi (Directory Entries): Clarify that it's file
31529 system not operating system in the description of DT_UNKNOWN.
31530
54472e9c
AJ
31531 [BZ #6578]
31532 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31533
624254b1
SC
315342012-04-08 Stephen Compall <s11@member.fsf.org>
31535
31536 [BZ #6649]
31537 * manual/llio.texi (Opening and Closing Files): Add cross
31538 reference to explain mode argument.
31539
1e4920e0
MF
315402012-04-07 Mike Frysinger <vapier@gentoo.org>
31541
31542 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31543 * sysdeps/x86_64/memset_chk.S: Likewise.
31544
5ed848f3
DM
315452012-04-07 David S. Miller <davem@davemloft.net>
31546
31547 * elf/elf.h (R_SPARC_WDISP10): Define.
31548 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31549 R_SPARC_SIZE32.
31550 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31551 R_SPARC_SIZE64 and R_SPARC_H34.
31552
96154cd8
CD
315532012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31554
31555 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31556 conditions and remove no longer applicable assertion.
31557
9904dc47
L
315582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31559
31560 * bits/byteswap.h: Include <features.h>.
31561 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31562 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31563
f8887d0a
L
315642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31565
31566 * bits/byteswap.h (__bswap_16): Removed.
31567 Include <bits/byteswap-16.h> to get __bswap_16.
31568 * sysdeps/i386/bits/byteswap.h: Likewise.
31569 * sysdeps/s390/bits/byteswap.h: Likewise.
31570 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31571 * bits/byteswap-16.h: New file.
31572 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31573 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31574 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31575 * string/Makefile (headers): Add bits/byteswap-16.h.
31576
62470f60
PP
315772012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31578
31579 [BZ #13895]
31580 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31581 extra indirection.
31582 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31583 * nss/tst-nss-static.c: New.
31584
4dad7bab
RM
315852012-04-06 Robert Millan <rmh@gnu.org>
31586
31587 [BZ #6486]
31588 * manual/llio.texi (File Position Primitive): lseek
31589 refers to WHENCE when it really means OFFSET.
31590
e9142a17
AJ
315912012-04-06 Andreas Jaeger <aj@suse.de>
31592
2c040eff
AJ
31593 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31594 strncmp declarations.
31595
e9142a17
AJ
31596 * abilist/libc.abilist: Add __poll and __ppoll.
31597
ff9f1c5f
DM
315982012-04-05 David S. Miller <davem@davemloft.net>
31599
dcd2ae90
DM
31600 * scripts/check-local-headers.sh: Accept a host triplet in the
31601 path matched by the exclude regexp.
31602
993eb054
DM
31603 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31604 definition.
31605 * sysdeps/powerpc/powerpc32/dl-machine.h
31606 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31607 * sysdeps/s390/s390-32/dl-machine.h
31608 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31609 * sysdeps/sparc/sparc32/dl-machine.h
31610 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31611 * sysdeps/sparc/sparc64/dl-machine.h
31612 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31613
ff9f1c5f
DM
31614 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31615 lazy binding.
48e2e132 31616 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31617 undefined symbol errors.
31618
48e2e132 31619 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31620 DT_NEEDED entries.
31621
e80d6f94
MM
316222012-04-05 Michael Matz <matz@suse.de>
31623
31624 [BZ #13592]
31625 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31626
349fa79f
AJ
316272012-04-05 Andreas Jaeger <aj@suse.de>
31628
31629 [BZ #13908]
31630 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31631 comment.
31632
f402708f
KK
316332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31634
31635 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31636 which ROUND is no valid rounding mode.
31637
2ecccfc9
KK
316382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31639
31640 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31641 read again.
31642 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31643
8a53f50f
KK
316442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31645
31646 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31647 an exception using FPU order intentionally.
31648
316492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31650
31651 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31652 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31653 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31654 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31655
d653abb7
SJ
316562012-04-05 Simon Josefsson <simon@josefsson.org>
31657
31658 [BZ #12340]
31659 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31660 EINVAL when BUFLEN is too smal.
31661
c3b1bf7d
TS
316622012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31663
31664 [BZ #13553]
31665 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31666 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31667
b1aa60f3
AJ
316682012-04-03 Andreas Jaeger <aj@suse.de>
31669
c3b1bf7d 31670 [BZ #13938]
67f60a26
AJ
31671 * manual/setjmp.texi (System V contexts): Fix sentence.
31672
b1aa60f3
AJ
31673 [BZ #13926]
31674 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31675 New macro for this case.
31676 [!__GNUC__] (__bswap_64): New inline function for this case.
31677 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31678 * bits/byteswap.h: Likewise.
31679 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31680 ull, guard with __GLIBC_HAVE_LONG_LONG.
31681
31682 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31683 __GLIBC_HAVE_LONG_LONG.
31684
31685 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31686 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31687
39c59c35
TMQMF
316882012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31689
31690 [BZ #13691]
31691 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31692 inptr and inend, rather than using last_ch.
31693
135ffda8
DM
316942012-04-02 David S. Miller <davem@davemloft.net>
31695
31696 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31697 * stdio-common/printf-parse.h (read_int): Change return type to
31698 'int', return -1 on INT_MAX overflow.
31699 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31700 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31701 overflows INT_MAX. Check for overflow of in-format-string precision
31702 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31703 SIZE_MAX not INT_MAX for integer overflow test.
31704 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31705 skip the construct in the format string but do not record anything.
31706 * stdio-common/bug22.c: Adjust to test both width/prevision
31707 INT_MAX overflow as well as total length INT_MAX overflow. Check
31708 explicitly for proper errno values.
31709
228c019e
TS
317102012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31711
302cadd3
TS
31712 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31713 CHAR_MAX.
31714 * string/test-strcmp.c [! WIDE]: Likewise.
31715 * time/tst-mktime2.c: Likewise for INT_MAX.
31716 * string/test-string.h: #include <sys/param.h> for MIN.
31717
228c019e
TS
31718 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31719 * sysdeps/i386/init-first.c (init): Likewise.
31720 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31721 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31722 * sysdeps/sh/init-first.c (init): Likewise.
31723
cfa633f5
UD
317242012-04-01 Ulrich Drepper <drepper@gmail.com>
31725
31726 * po/ru.po: Update from translation team.
d1635ef8 31727 * po/vi.po: Likewise.
cfa633f5 31728
6cd0a5ea
SP
317292012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31730
31731 * resolv/nss_dns/dns-host.c: Merge copyright years.
31732
4b43400f
LD
317332012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31734
31735 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31736 Optimize memcpy with prefetch if
31737 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31738 src, dst pointers have unequal 16 byte alignments.
31739
48c41d04
SP
317402012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31741
31742 [BZ #13928]
31743 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31744 from a CNAME entry and return the minimum ttl for the query.
31745 (gaih_getanswer_slice): Likewise.
31746
b8dc394d
JL
317472012-03-30 Jeff Law <law@redhat.com>
31748
31749 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31750 due to long keys.
31751 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31752 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31753
2f5a5ed0
JL
31754 * resolv/nss_dns/dns-host.c: Update copyright year.
31755
1d39e359
UD
317562012-03-30 Ulrich Drepper <drepper@gmail.com>
31757
c030f70c 31758 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31759 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31760
1d39e359
UD
31761 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31762 comments for sendmmsg.
31763
317642012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31765
31766 [BZ #13691]
31767 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31768 with only 1 character between 0x0041 and 0x01b0.
31769 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31770 * wcsmbs/tst-mbsnrtowcs.c: New file.
31771
20fde227
DM
317722012-03-29 David S. Miller <davem@davemloft.net>
31773
31774 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31775 small copies by hand.
31776
984a4237
JL
317772012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31778
31779 [BZ #13761]
31780 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31781 _nss_compat_initgroups_dyn): Fall back to malloc/free
31782 for large group memberships.
31783
18c9d62b
DM
317842012-03-28 David S. Miller <davem@davemloft.net>
31785
88d85d4f
DM
31786 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31787 that branches into memcpy.
31788 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31789 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31790 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31791 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31792 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31793 bits.
31794 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31795 implementation too.
31796 * sysdeps/sparc/mempcpy.S: New file.
31797
e5aa83e1
DM
31798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31799 the IFUNC routine in the libc case.
31800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31801
88570753
DM
31802 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31803 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31804 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31805 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31806 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31807 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31808 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31809 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31810
249d7567
DM
31811 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31812 loop to 256 bytes instead of 64 bytes and fix test signedness.
31813
18c9d62b
DM
31814 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31815 * sysdeps/sparc/sparc32/Makefile: rather than here...
31816 * sysdeps/sparc/sparc64/Makefile: and here.
31817
05f3d1f6
UD
318182012-03-28 Ulrich Drepper <drepper@gmail.com>
31819
31820 * malloc/mallocbug.c: Avoid warnings about unused variables.
31821
86ae07a8
JL
318222012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31823
31824 [BZ #13760]
31825 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31826 in the right place. Discard and retry query if response is
31827 larger than input buffer size.
31828
41bf21a1
JM
318292012-03-28 Joseph Myers <joseph@codesourcery.com>
31830
d6270972
JM
31831 [BZ #369]
31832 [BZ #2678]
31833 [BZ #3866]
31834 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31835 x for large integer exponent.
31836 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31837 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31838 sign of result as needed afterwards.
31839 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31840 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31841 result for underflowing pow the same as for overflow.
31842 (__kernel_standard_l): Handle powl overflow and underflow here
31843 rather than calling __kernel_standard.
31844 * math/libm-test.inc (pow_test): Add more tests.
31845
414fca03 31846 [BZ #3868]
41bf21a1
JM
31847 [BZ #13879]
31848 [BZ #13910]
31849 [BZ #13911]
31850 [BZ #13912]
31851 [BZ #13913]
31852 [BZ #13915]
31853 [BZ #13916]
31854 [BZ #13917]
31855 [BZ #13918]
31856 [BZ #13919]
31857 [BZ #13920]
31858 [BZ #13921]
31859 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31860 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31861 (__kernel_standard_l): New function.
31862 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31863 __kernel_standard.
31864 * math/w_acosl.c (__acosl): Likewise.
31865 * math/w_asinl.c (__asinl): Likewise.
31866 * math/w_atan2l.c (__atan2l): Likewise.
31867 * math/w_atanhl.c (__atanhl): Likewise.
31868 * math/w_coshl.c (__coshl): Likewise.
31869 * math/w_exp10l.c (__exp10l): Likewise.
31870 * math/w_exp2l.c (__exp2l): Likewise.
31871 * math/w_fmodl.c (__fmodl): Likewise.
31872 * math/w_hypotl.c (__hypotl): Likewise.
31873 * math/w_j0l.c (__j0l, __y0l): Likewise.
31874 * math/w_j1l.c (__j1l, __y1l): Likewise.
31875 * math/w_jnl.c (__jnl, __ynl): Likewise.
31876 * math/w_lgammal.c (__lgammal): Likewise.
31877 * math/w_log10l.c (__log10l): Likewise.
31878 * math/w_log2l.c (__log2l): Likewise.
31879 * math/w_logl.c (__logl): Likewise.
31880 * math/w_powl.c (__powl): Likewise.
31881 * math/w_remainderl.c (__remainderl): Likewise.
31882 * math/w_scalbl.c (sysv_scalbl): Likewise.
31883 * math/w_sinhl.c (__sinhl): Likewise.
31884 * math/w_sqrtl.c (__sqrtl): Likewise.
31885 * math/w_tgammal.c (__tgammal): Likewise.
31886 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31887 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31888 * math/libm-test.inc (acos_test): Add more tests.
31889 (acosh_test): Likewise.
31890 (asin_test): Likewise.
31891 (atanh_test): Likewise.
31892 (exp_test): Likewise.
31893 (exp10_test): Likewise.
31894 (exp2_test): Likewise.
31895 (expm1_test): Likewise.
31896 (lgamma_test): Likewise.
31897 (log_test): Likewise.
31898 (log10_test): Likewise.
31899 (log1p_test): Likewise.
31900 (log2_test): Likewise.
31901 (pow_test): Do not allow some spurious overflow exceptions.
31902 (sqrt_test): Add more tests.
31903 (tgamma_test): Likewise.
31904 (y0_test): Likewise.
31905 (y1_test): Likewise.
31906 (yn_test): Likewise.
31907
dd62fda6
AB
319082012-03-27 Anton Blanchard <anton@samba.org>
31909
31910 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31911 MAP_HUGETLB.
31912 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31913 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31914 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31915
1e3cdfda
AJ
319162012-03-27 David S. Miller <davem@davemloft.net>
31917
b855ab85
DM
31918 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31919
1e3cdfda
AJ
31920 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31921 have-as-vis3 check.
31922
319232012-03-27 Andreas Jaeger <aj@suse.de>
31924
31925 * sysdeps/x86_64/elf/configure.in: Moved to ...
31926 * sysdeps/x86_64/configure.in: ... here.
31927 * sysdeps/x86_64/elf/start.S: Moved to ...
31928 * sysdeps/x86_64/start.S: ... here.
31929 * sysdeps/x86_64/elf/configure: Delete.
31930
31931 * sysdeps/x86_64/configure.in: Merge contents from
31932 sysdeps/i386/configure.in (without i686 check).
31933
31934 * sysdeps/i386/elf/Versions: Merge into ...
31935 * sysdeps/i386/Versions: ... this.
31936 * sysdeps/i386/elf/Versions: Delete file.
31937 * sysdeps/i386/elf/start.S: Moved to ...
31938 * sysdeps/i386/start.S: ...here.
31939 * sysdeps/i386/elf/configure.in: Merge into...
31940 * sysdeps/i386/configure.in: ...here.
31941 * sysdeps/i386/elf/configure.in: Delete file.
31942 * sysdeps/i386/elf/configure: Delete file.
31943
31944 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31945 * debug/backtracesyms.c: ... here.
31946 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31947 * debug/backtracesymsfd.c: ... here.
31948 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31949 * sysdeps/generic/ifunc-sel.h: ... here.
31950
31951 * sysdeps/unix/i386/start.c: Delete file.
31952 * sysdeps/unix/sparc/start.c: Delete file.
31953 * sysdeps/unix/start.c: Delete file.
31954
31955 * sysdeps/sh/elf/configure.in: Moved to ...
31956 * sysdeps/sh/configure.in: ... here.
31957 * sysdeps/sh/elf/start.S: Moved to ...
31958 * sysdeps/sh/start.S: ... here.
31959 * sysdeps/sh/elf/configure: Delete file.
31960
31961 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31962 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31963 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31964 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31965 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31966 * sysdeps/powerpc/powerpc64/start.S: here.
31967 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31968 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31969 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31970 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31971 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31972
31973 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31974 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31975 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31976 * sysdeps/powerpc/powerpc32/start.S: ... here.
31977 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31978 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31979 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31980
31981 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31982 * sysdeps/powerpc/ifunc-sel.h: ... here.
31983 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31984 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31985
31986 * sysdeps/sparc/elf/configure.in: Moved to ...
31987 * sysdeps/sparc/configure.in: ... here.
31988 * sysdeps/sparc/elf/configure: Delete file.
31989 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31990 * sysdeps/sparc/sparc32/start.S: ... here.
31991 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31992 * sysdeps/sparc/sparc64/start.S: ... here.
31993 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31994 * sysdeps/sparc/sparc32/Makefile: ... this.
31995 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31996 * sysdeps/sparc/sparc64/Makefile: ... this.
31997
31998 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31999 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32000 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32001 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32002 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32003 * sysdeps/s390/s390-32/setjmp.S: ... here.
32004 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32005 * sysdeps/s390/s390-32/configure.in: ... here.
32006 * sysdeps/s390/s390-32/elf/configure: Delete file.
32007 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32008 * sysdeps/s390/s390-32/start.S: ... here.
32009
32010 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32011 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32012 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32013 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32014 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32015 * sysdeps/s390/s390-64/setjmp.S: ... here.
32016 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32017 * sysdeps/s390/s390-64/configure.in: ... here
32018 * sysdeps/s390/s390-64/elf/configure: Delete file.
32019 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32020 * sysdeps/s390/s390-64/start.S: ... here.
32021 * sysdeps/s390/s390-64/elf/configure: Delete.
32022
32023 * configure.in: Remove support for elf directories in sysdeps.
32024
32025 * configure: Regenerated.
32026 * sysdeps/i386/configure: Regenerated.
32027 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32028 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32029 * sysdeps/s390/s390-32/configure: Regenerated.
32030 * sysdeps/s390/s390-64/configure: Regenerated.
32031 * sysdeps/sh/configure: Regenerated.
32032 * sysdeps/sparc/configure: Regenerated.
32033 * sysdeps/x86_64/configure: Regenerated.
32034
a3f61311
AS
320352012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32036
c876e002
AS
32037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32038
a3f61311
AS
32039 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32040 denormal result into account.
32041
ac4c54f0
RM
320422012-03-25 Roland McGrath <roland@hack.frob.com>
32043
32044 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32045 Reported by Allan McRae <allan@archlinux.org>.
32046
6a9b9c02
JL
320472012-03-23 Jeff Law <law@redhat.com>
32048
32049 * nss/getnssent.c (__nss_getent): Fix typo.
32050
4c42a0c1
DM
320512012-03-23 David S. Miller <davem@davemloft.net>
32052
32053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32054
1532c7ac
L
320552012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32056
32057 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32058 to pad to uint64_t for each field.
32059 (dl_tls_index): Replace unsigned long with uint64_t.
32060
3ff42526
PP
320612012-03-23 Daniel Jacobowitz <dmj@google.com>
32062 Paul Pluzhnikov <ppluzhnikov@google.com>
32063
32064 [BZ #6528]
32065 * grp/Makefile (otherlibs): Don't set it.
32066 * inet/Makefile (otherlibs): Likewise.
32067 * login/Makefile (otherlibs): Likewise.
32068 * nscd/Makefile (otherlibs): Likewise.
32069 * posix/Makefile (otherlibs): Likewise.
32070 * pwd/Makefile (otherlibs): Likewise.
32071 * rt/Makefile (otherlibs): Likewise.
32072 * sunrpc/Makefile (otherlibs): Likewise.
32073 * nss/Makefile (otherlibs): Likewise.
32074 Add libnss_files to routines and static-only-routines.
32075 ($(objpfx)getent): Remove rule.
32076 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32077 static-only-routines.
32078
7c69cd14
JM
320792012-03-22 Joseph Myers <joseph@codesourcery.com>
32080
32081 [BZ #13892]
32082 * math/s_cexp.c: Include <float.h>.
32083 (__cexp): Handle exp result overflowing not necessarily
32084 overflowing both real and imaginary parts of result.
32085 * math/s_cexpf.c: Likewise.
32086 * math/s_cexpl.c: Likewise.
32087 * math/libm-test.inc (cexp_test): Add more tests.
32088 * sysdeps/i386/fpu/libm-test-ulps: Update.
32089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32090
81b035fe
L
320912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32092
32093 * include/link.h (ELFW): New macro.
32094 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32095 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32096
1da7940c
L
320972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32098
32099 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32100 with uint64_t.
32101
b749dbb9
L
321022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32103
32104 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32105 declaration.
32106 (struct La_x32_retval): Likewise.
32107
2ff87f3f
L
321082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32109
32110 * sysdeps/x86_64/preconfigure.in: New file.
32111 * sysdeps/x86_64/preconfigure: New generated file.
32112
c0df8e69
JM
321132012-03-22 Joseph Myers <joseph@codesourcery.com>
32114
48e44791
JM
32115 [BZ #13824]
32116 * math/e_exp2l.c: Include <float.h>.
32117 (__ieee754_exp2l): Handle overflow and underflow cases
32118 separately. Only pass fractional part of argument to
32119 __ieee754_expl.
32120 * math/libm-test.inc (exp2_test): Add more tests.
32121
c0df8e69
JM
32122 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32123 negating x to take absolute value.
32124 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32125 Likewise.
32126 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32127 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32128 Likewise.
32129 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32130 computing low part if x was negated.
32131 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32132
c8e43ba7
L
321332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32134
32135 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32136 la_x32_gnu_pltexit.
32137 (pltexit): Cast int_retval to ptrdiff_t.
32138 * elf/tst-auditmod3b.c: Likewise.
32139 * elf/tst-auditmod4b.c: Likewise.
32140 * elf/tst-auditmod5b.c: Likewise.
32141 * elf/tst-auditmod6b.c: Likewise.
32142 * elf/tst-auditmod6c.c: Likewise.
32143 * elf/tst-auditmod7b.c: Likewise.
32144
32145 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32146 and x32_gnu_pltexit.
32147
32148 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32149 __ELF_NATIVE_CLASS.
32150 (La_x32_regs): New macro.
32151 (La_x32_retval): Likewise.
32152 (la_x32_gnu_pltenter): New function prototype.
32153 (la_x32_gnu_pltexit): Likewise.
32154
7998fa78
AS
321552012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32156
dcb33988
AS
32157 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32158 exponent.
32159
233fc563
AS
32160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32161
7998fa78
AS
32162 * configure.in (libc_cv_cc_nofma): Check for option to disable
32163 generation of FMA instructions.
32164 * configure: Regenerate.
32165 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32166 * sysdeps/ieee754/dbl-64/Makefile: New file.
32167 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32168 Remove brandred-fma4.
32169 (CFLAGS-brandred-fma4.c): Remove.
32170 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32171 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32172 define.
32173 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32174 define.
32175
8e95c99a
L
321762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32177
32178 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32179 LLONG_MAX != LONG_MAX.
32180 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32181 (_fitoa_word): Likewise.
32182 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32183 LLONG_MAX != LONG_MAX.
32184 * stdio-common/_itowa.h: Include <_itoa.h>.
32185 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32186 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32187 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32188 only if not defined.
32189 (_ITOA_WORD_TYPE): Likewise.
32190 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32191 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32192
6f4db457
DM
321932012-03-21 David S. Miller <davem@davemloft.net>
32194
32195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32196
7785fe5a
L
321972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32198
32199 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32200 of x86_64 when setting libc_cv_slibdir, libdir and
32201 libc_cv_localedir.
32202 * sysdeps/unix/sysv/linux/configure: Regenerated.
32203
4535cd55
JM
322042012-03-21 Joseph Myers <joseph@codesourcery.com>
32205
32206 * manual/lang.texi (Old Varargs): Remove section.
32207 (How Variadic): Update menu.
32208 (va_start): Do not mention varargs.h.
32209
17228132
TS
322102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32211 Joseph Myers <joseph@codesourcery.com>
32212
32213 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32214 link test.
32215 * configure: Regenerated.
32216
8149f976
TS
322172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32218
05f3d1f6
UD
32219 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32220 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32221 conformtest.pl
8149f976 32222
1a4ac776
JM
322232012-03-21 Joseph Myers <joseph@codesourcery.com>
32224
be22ce65
JM
32225 * NOTES: Remove.
32226 * Makefile (files-for-dist): Remove NOTES.
32227 (NOTES): Remove rule.
32228 * README: Don't refer to NOTES.
32229 * manual/creature.texi: Don't include macros.texi.
32230 * manual/intro.texi (creature.texi): Remove comment referring to
32231 NOTES.
32232
40b601fb
JM
32233 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32234 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32235 * configure: Regenerated.
32236 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32237 LIBC_TRY_CC_OPTION.
32238 (libc_cv_as_i686): Likewise.
32239 (libc_cv_cc_avx): Likewise.
32240 (libc_cv_cc_sse2avx): Likewise.
32241 (libc_cv_cc_fma4): Likewise.
32242 (libc_cv_cc_novzeroupper): Likewise.
32243 * sysdeps/i386/configure: Regenerated.
32244
1a4ac776
JM
32245 [BZ #13883]
32246 * sysdeps/i386/fpu/s_cexp.S: Remove.
32247 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32248 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32249 * math/libm-test.inc (cexp_test): Add more tests.
32250 * sysdeps/i386/fpu/libm-test-ulps: Update.
32251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32252
a458e7fe
AM
322532012-03-21 Allan McRae <allan@archlinux.org>
32254
32255 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32256
0cb7efc5
JM
322572012-03-21 Joseph Myers <joseph@codesourcery.com>
32258
32259 [BZ #13871]
32260 * math/w_exp2.c: Do not include <float.h>.
32261 (o_threshold, u_threshold): Remove.
32262 (__exp2): Calculate result before checking finiteness and calling
32263 __kernel_standard.
32264 * math/w_exp2f.c: Likewise.
32265 * math/w_exp2l.c: Likewise.
32266 * math/libm-test.inc (exp2_test): Require overflow exception for
32267 1e6 input.
2460d3aa
JM
32268
32269 [BZ #3866]
32270 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32271 range of signed 64-bit integers before using fistpll. Remove
32272 checks for whether integers fit in mantissa bits.
32273 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32274 the range of signed 32-bit integers before using fistpl. Remove
32275 checks for whether integers fit in mantissa bits.
32276 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32277 (__ieee754_powl): Test for y outside the range of signed 64-bit
32278 integers before using fistpll. Reduce 64-bit values to 63-bit
32279 ones as needed.
32280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32281 divide-by-zero is raised for zero to large negative powers.
32282 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32283 (__ieee754_powl): Test for y outside the range of signed 64-bit
32284 integers before using fistpll. Reduce 64-bit values to 63-bit
32285 ones as needed.
32286 * math/libm-test.inc (pow_test): Add more tests.
32287
eb96ffb0
L
322882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32289
32290 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32291 <stdio-common/_itoa.h>.
32292 * debug/segfault.c: Likewise.
32293 * elf/dl-cache.c: Likewise.
32294 * elf/dl-minimal.c: Likewise.
32295 * elf/dl-misc.c: Likewise.
32296 * elf/dl-sysdep.c: Likewise.
32297 * elf/dl-version.c: Likewise.
32298 * elf/rtld.c: Likewise.
32299 * hurd/hurdsock.c: Likewise.
32300 * hurd/lookup-retry.c: Likewise.
32301 * malloc/malloc.c: Likewise.
32302 * malloc/mtrace.c: Likewise.
32303 * nscd/nscd_getgr_r.c: Likewise.
32304 * nscd/nscd_getpw_r.c: Likewise.
32305 * nscd/nscd_getserv_r.c: Likewise.
32306 * posix/getopt_init.c: Likewise.
32307 * posix/wordexp.c: Likewise.
32308 * stdio-common/_itoa.c: Likewise.
32309 * stdio-common/printf_fphex.c: Likewise.
32310 * stdio-common/vfprintf.c: Likewise.
32311 * string/_strerror.c: Likewise.
32312 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32313 * sysdeps/i386/i686/hp-timing.h: Likewise.
32314 * sysdeps/mach/_strerror.c: Likewise.
32315 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32316 * sysdeps/mach/hurd/sethostid.c: Likewise.
32317 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32318 * sysdeps/mach/xpg-strerror.c: Likewise.
32319 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32320 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32321 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32322 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32323 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32324 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32325 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32326 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32327 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32328 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32329 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32330 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32331 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32332 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32333 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32334 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32335 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32336 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32337 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32338 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32339 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32340
32341 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32342
32343 * stdio-common/_itoa.h: Moved to ...
32344 * sysdeps/generic/_itoa.h: Here.
32345
32346 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32347
32348 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32349 instead of "_itoa.h" and "_itowa.h".
32350 * stdio-common/vfprintf.: Likewise.
32351
d1af992d
L
323522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32353
32354 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32355 <bits/wordsize.h>.
32356 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32357 (__signbit): Likwise.
32358 (llrintf): Likwise.
32359 (llrint): Likwise.
32360
114883e0
L
323612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32362
32363 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32364 __WORDSIZE != 64.
32365
c135cc1b
JM
323662012-03-20 Joseph Myers <joseph@codesourcery.com>
32367
32368 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32369 OVERFLOW_EXCEPTION_OK.
32370 * math/libm-test.inc ("Philosophy"): Update comment about
32371 exception testing.
32372 (OVERFLOW_EXCEPTION): Define.
32373 (OVERFLOW_EXCEPTION_OK): Likewise.
32374 (INVALID_EXCEPTION_OK): Renumber.
32375 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32376 (IGNORE_ZERO_INF_SIGN): Likewise.
32377 (test_exceptions): Handle FE_OVERFLOW.
32378 (exp10_test): Expect overflow exceptions.
32379 (exp2_test): Likewise.
32380 (expm1_test): Likewise.
32381 (nextafter_test): Likewise.
32382 (pow_test): Likewise.
32383 (scalbn_test): Likewise.
32384 (scalbln_test): Likewise.
32385
95443d88
L
323862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32387
32388 * sysdeps/x86_64/bits/atomic.h
32389 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32390 64bit integer.
32391 (atomic_exchange_acq): Likewise.
32392 (__arch_exchange_and_add_body): Likewise.
32393 (__arch_add_body): Likewise.
32394 (atomic_add_negative): Likewise.
32395 (atomic_add_zero): Likewise.
32396
490df6c4
L
323972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32398
c2722551 32399 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32400 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32401
5e52b189
L
324022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32403
32404 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32405 Check __x86_64__ instead of __WORDSIZE.
32406
a9879d4c
L
324072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32408
32409 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32410
5df98260
DM
324112012-03-19 David S. Miller <davem@davemloft.net>
32412
e1497744
DM
32413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32414
5df98260
DM
32415 * sysdeps/sparc/fpu/fenv_private.h: New file.
32416 * sysdeps/sparc/fpu/math_private.h: Use it.
32417 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32418 Remove.
32419 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32420 (libc_feholdexcept_setroundl): Remove.
32421 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32422 Remove.
32423 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32424 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32425
b4c35121
L
324262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32427
32428 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32429 int64_t instead of long int.
32430 (INSERT_WORDS64): Likwise.
32431
56965fd7
L
324322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32433
32434 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32435 _Unwind_GetCFA return to _Unwind_Ptr first.
32436
83d1aec8
JM
324372012-03-19 Joseph Myers <joseph@codesourcery.com>
32438
1897ad44
JM
32439 [BZ #13629]
32440 * math/s_clog.c: Include <float.h>.
32441 (__clog): Scale large or subnormal inputs.
32442 * math/s_clogf.c: Likewise.
32443 * math/s_clogl.c: Likewise.
32444 * math/s_clog10.c: Include <float.h>.
32445 (M_LOG10_2): Define.
32446 (__clog10): Scale large or subnormal inputs.
32447 * math/s_clog10f.c: Likewise.
32448 * math/s_clog10l.c: Likewise.
32449 * math/libm-test.inc (clog_test): Add more tests.
32450 (clog10_test): Likewise.
32451 * sysdeps/i386/fpu/libm-test-ulps: Update.
32452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32453
7726d6a9
JM
32454 [BZ #11451]
32455 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32456 x and y.
32457 * math/libm-test.inc (atan2_test): Add another test.
32458
83d1aec8
JM
32459 * Makerules (common-objdir-compile): Remove.
32460 * sysdeps/unix/Makefile (config-generated): Do not add
32461 $(unix-generated) to variable.
32462 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32463 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32464 Remove rule.
32465 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32466 Likewise.
32467 [generic bits/local_lim.h] (before-compile): Do not append to
32468 variable.
32469 [generic bits/local_lim.h] (common-generated): Likewise.
32470 [generic sys/param.h] (before-compile): Do not append to variable.
32471 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32472 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32473 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32474 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32475 include.
32476 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32477 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32478 [generic sys/param.h] ($(addprefix
32479 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32480 [generic sys/param.h] (common-generated): Do not append to
32481 variable.
32482 [generic sys/param.h] (sysdep_headers): Likewise.
32483 [generic bits/errno.h] (before-compile): Do not append to
32484 variable.
32485 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32486 rule.
32487 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32488 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32489 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32490 [generic bits/errno.h] (common-generated): Do not append to
32491 variable.
32492 [generic bits/ioctls.h] (before-compile): Do not append to
32493 variable.
32494 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32495 rule.
32496 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32497 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32498 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32499 rule.
32500 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32501 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32502 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32503 [generic bits/ioctls.h] (common-generated): Do not append to
32504 variable.
32505 [generic sys/syscall.h] (syscall.h): Remove variable.
32506 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32507 rule.
32508 [generic sys/syscall.h] (before-compile): Do not append to
32509 variable.
32510 [generic sys/syscall.h] (common-generated): Likewise.
32511 * sysdeps/unix/errnos-tmpl.c: Remove file.
32512 * sysdeps/unix/errnos.awk: Likewise.
32513 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32514 * sysdeps/unix/ioctls.awk: Likewise.
32515 * sysdeps/unix/mk-local_lim.c: Likewise.
32516 * sysdeps/unix/snarf-ioctls: Likewise.
32517
4851a949
RH
325182012-03-19 Richard Henderson <rth@twiddle.net>
32519
bd37f2ee
RH
32520 * sysdeps/i386/fpu/fenv_private.h: New file.
32521 * sysdeps/i386/fpu/math_private.h: Use it.
32522 (math_opt_barrier, math_force_eval): Remove.
32523 (libc_feholdexcept_setround_53bit): Remove.
32524 (libc_feupdateenv_53bit): Remove.
32525 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32526 (math_opt_barrier, math_force_eval): Remove.
32527 (libc_feholdexcept): Remove.
32528 (libc_feholdexcept_setround): Remove.
32529 (libc_fetestexcept, libc_fesetenv): Remove.
32530 (libc_feupdateenv_test): Remove.
32531 (libc_feupdateenv, libc_feholdsetround): Remove.
32532 (libc_feresetround): Remove.
32533
d0adc922
RH
32534 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32535 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32536
0fe0f1f8
RH
32537 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32538 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32539 (libc_feupdateenv_testl): New.
32540 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32541 (libc_feupdateenv_testf): New.
32542 (libc_feupdateenv): Use libc_feupdateenv_test.
32543 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32544 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32545
eb92c487
RH
32546 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32547 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32548 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32549 (libc_feresetround_noex): New.
32550 (libc_feresetround_noexf): New.
32551 (libc_feresetround_noexl): New.
32552 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32553 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32554 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32555 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32556 SET_RESTORE_ROUND.
32557 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32558 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32559 (__cos): Likewise.
32560 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32561 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32562 SET_RESTORE_ROUND_NOEX.
32563 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32564 SET_RESTORE_ROUND_NOEXF.
32565 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32566 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32567 (libc_feholdsetroundf): New.
32568 (libc_feresetround, libc_feresetroundf): New.
32569
7d2e8012
RH
32570 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32571 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32572 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32573
b4dabbb4
RH
32574 * sysdeps/generic/math_private.h: Include <fenv.h>.
32575 (default_libc_feholdexcept): New.
32576 (default_libc_feholdexcept_setround): New.
32577 (default_libc_fesetenv, default_libc_feupdateenv): New.
32578 (libc_feholdexcept): Only define if undefined.
32579 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32580 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32581 (libc_feholdexcept_setroundl): Likewise.
32582 (libc_feholdexcept_setround_53bit): Likewise.
32583 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32584 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32585 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32586 (libc_feupdateenv_53bit): Likewise.
32587 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32588 (libc_feholdexcept): Convert from macro to inline function.
32589 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32590 (libc_fesetenv, libc_feupdateenv): Likewise.
32591
4851a949
RH
32592 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32593 not previously defined.
32594 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32595 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32596 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32597 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32598 * sysdeps/ieee754/flt-32/math_private.h: New file.
32599 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32600 math_private.h below SET_FLOAT_WORD.
32601 (__isnan, __isinf_ns, __finite): Remove.
32602 (__isnanf, __isinf_nsf, __finitef): Remove.
32603
e79d442e
AS
326042012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32605
32606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32607
90b80344
DM
326082012-03-17 David S. Miller <davem@davemloft.net>
32609
32610 [BZ #6471]
32611 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32612 for 2.16.
32613
edc21804
DM
326142012-03-16 David S. Miller <davem@davemloft.net>
32615
77e927af
DM
32616 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32617 warnings.
32618
374976dd
DM
32619 [BZ #6471]
32620 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32621 properly.
32622 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32623 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32624 sysdep_routines when subdir is sysvipc.
32625 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32626 __getshmlba helper.
32627
edc21804
DM
32628 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32629
473c3ef3
L
326302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32631
32632 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32633 [__LP64__].
32634
eb0f39b6
L
326352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32636
32637 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32638 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32639 (__lround): Renamed to ...
32640 (__llround): This. Replace long int with long long int.
32641 Define lround functions as aliases of llround functions.
32642 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32643
6b6cd74b
L
326442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32645
32646 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32647 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32648 adresses to uintptr_t. Replace "long int" and "unsigned long
32649 int" with "greg_t" on va_arg.
32650
f1a77b01
L
326512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32652
32653 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32654 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32655
32656 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32657 Move e_machine check before EI_CLASS check. Handle x32
32658 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32659 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32660 SKIP_EM_IA_64 and include
32661 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32662
32663 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32664 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32665 (add_system_dir): New macro.
32666
32667 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32668 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32669
11b90b9f
JM
326702012-03-16 Joseph Myers <joseph@codesourcery.com>
32671
c36e1d23
JM
32672 [BZ #2551]
32673 [BZ #2552]
32674 [BZ #2553]
32675 [BZ #2554]
32676 [BZ #2562]
32677 [BZ #2563]
32678 [BZ #2565]
32679 [BZ #2566]
32680 [BZ #2576]
32681 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32682 (y0): Likewise.
32683 * math/w_j0f.c (j0f): Likewise.
32684 (y0f): Likewise.
32685 * math/w_j0l.c (__j0l): Likewise.
32686 (__y0l): Likewise.
32687 * math/w_j1.c (j1): Likewise.
32688 (y1): Likewise.
32689 * math/w_j1f.c (j1f): Likewise.
32690 (y1f): Likewise.
32691 * math/w_j1l.c (__j1l): Likewise.
32692 (__y1l): Likewise.
32693 * math/w_jn.c (jn): Likewise.
32694 (yn): Likewise.
32695 * math/w_jnf.c (jnf): Likewise.
32696 (ynf): Likewise.
32697 * math/w_jnl.c (__jnl): Likewise.
32698 (__ynl): Likewise.
32699 * math/libm-test.inc (j0_test): Add more tests.
32700 (j1_test): Likewise.
32701 (jn_test): Likewise. Add trailing semicolon to existing test.
32702 (y0_test): Likewise.
32703 (y1_test): Likewise.
32704 * sysdeps/i386/fpu/libm-test-ulps: Update.
32705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32706
11b90b9f
JM
32707 [BZ #13851]
32708 [BZ #13854]
32709 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32710 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32711 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32712 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32713 (__tanl): Set errno for infinite argument.
32714 * sysdeps/i386/fpu/mptan.c: Remove.
32715 * sysdeps/i386/fpu/s_tan.S: Likewise.
32716 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32717 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32718 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32719 * math/libm-test.inc (tan_test): Add more tests and enable more
32720 tests for double and long double.
32721 * sysdeps/i386/fpu/libm-test-ulps: Update.
32722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32723
6a1bd2a1
JK
327242012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32725
32726 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32727 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32728
10a803e0
RM
327292012-03-16 Roland McGrath <roland@hack.frob.com>
32730
32731 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32732 * configure.in: Use it for both main tree and add-ons.
32733 * configure: Regenerated.
32734
f196c7f7
L
327352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32736
32737 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32738
8848d99d
JM
327392012-03-16 Joseph Myers <joseph@codesourcery.com>
32740
96cbe7f4
JM
32741 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32742 in comment.
32743
8848d99d
JM
32744 [BZ #13851]
32745 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32746 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32747 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32748 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32749 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32750 infinite argument.
32751 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32752 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32753 != 0 for prec == 2.
32754 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32755 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32756 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32757 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32758 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32759 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32760 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32761 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32762 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32763 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32764 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32765 * math/libm-test.inc (cos_test): Add more tests and enable more
32766 tests for long double.
32767 (sin_test): Likewise.
32768 (sincos_test): Likewise.
32769 * sysdeps/i386/fpu/libm-test-ulps: Update.
32770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32771
dd7f4703
DM
327722012-03-16 David S. Miller <davem@davemloft.net>
32773
32774 * sysdeps/sparc/fpu/math_private.h: New file.
32775
006f1daa
DM
327762012-03-15 David S. Miller <davem@davemloft.net>
32777
c0c83bc8
DM
32778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32779 file.
e6a62e18 32780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32782 file.
e6a62e18
DM
32783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32788 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32789 sysdep routines.
32790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32791
88cb87d9
DM
32792 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32793 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32794
006f1daa 32795 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32797 sparc-ifunc.h
006f1daa 32798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32800 Likewise.
32801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32802 Likewise.
006f1daa
DM
32803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32807 Likewise.
006f1daa
DM
32808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32813 Likewise.
32814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32815 Likewise.
006f1daa
DM
32816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32822 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32823 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32834 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32835 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32836 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32837 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32840
11e0098e
AS
328412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32842
32843 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32844 scaling.
32845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32846
e85b09d0
AJ
328472012-03-15 Andreas Jaeger <aj@suse.de>
32848
32849 [BZ #13852]
32850 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32851 ieee754/flt-32 implementation for sin, cos and sincos.
32852 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32853 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32854 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32855 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32856 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32857 ieee754/flt-32 implementation for tan.
32858
32859 * math/libm-test.inc (cos_test): Enable some large input tests for
32860 float as well
32861 (sin_test): Likewise.
32862 (sincos_test): Likewise.
32863 (tan_test): Add tests for large input.
32864
32865 * sysdeps/i386/fpu/libm-test-ulps: Update.
32866
81c64153
AJ
328672012-03-15 Andreas Jaeger <aj@suse.de>
32868
32869 [BZ #13658]
32870 * math/libm-test.inc (cos_test): Add more test cases.
32871 (sin_test): Likewise.
32872 (sincos_test): Likewise.
32873
7bbfa5c6
AJ
328742012-03-15 Andreas Jaeger <aj@suse.de>
32875
32876 [BZ #13837]
32877 * math/libm-test.inc (cos_test): Add a test case for large input
32878 value.
32879 (sin_test): Likewise.
32880 (sincos_test): Likewise.
32881
328822012-03-15 Andreas Jaeger <aj@suse.de>,
32883 Joseph Myers <joseph@codesourcery.com>
32884
32885 [BZ #13658]
0671f479 32886 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32887 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32888 * sysdeps/i386/fpu/branred.c: Likewise.
32889 * sysdeps/i386/fpu/dosincos.c: Likewise.
32890 * sysdeps/i386/fpu/mpa.c: Likewise.
32891 * sysdeps/i386/fpu/s_cos.S: Likewise.
32892 * sysdeps/i386/fpu/s_sin.S: Likewise.
32893 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32894 * sysdeps/i386/fpu/sincos32.c: Likewise.
32895
32896 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32897 Define.
32898 (libc_feupdateenv_53bit): Define.
32899 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32900 Define.
32901 (libc_feupdateenv_53bit): Define.
32902
32903 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32904 53 bit (without extend i386 double precision).
32905
32906 * math/libm-test.inc (sincos_test): Add tests for large input.
32907 (sin): Likewise.
32908 (cos): Likewise.
32909
32910 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32911
9cad04ea
AS
329122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32913
32914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32915
f7062b9a
DM
329162012-03-15 David S. Miller <davem@davemloft.net>
32917
32918 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32919 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32920 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32921 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32934 file.
f7062b9a 32935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32937 file.
f7062b9a 32938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32940 file.
f7062b9a 32941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32943 file.
f7062b9a
DM
32944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32945 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32946 fmin/fmax sysdep routines.
32947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32948
7bd951ff
DM
329492012-03-14 David S. Miller <davem@davemloft.net>
32950
559398ab
DM
32951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32953 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32955 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32956 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32957 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32958 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32959 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32971 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32972 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32973 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32974 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32975 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32976 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32977 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32978 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32979 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32980 routines.
32981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32982 file.
559398ab 32983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32985 file.
559398ab 32986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32988 file.
559398ab 32989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32991 file.
559398ab 32992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32994 file.
559398ab 32995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32997 file.
32998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32999 file.
33000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33001 file.
33002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33003 file.
33004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33005 New file.
33006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33007 file.
33008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33009 file.
559398ab 33010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33012 file.
559398ab 33013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33015 file.
559398ab 33016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33018 file.
559398ab 33019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33021 VIS3 routines.
559398ab
DM
33022
33023 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33024 New file.
33025
5a1c1e32
DM
33026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33027
eae47a36
DM
33028 * sysdeps/sparc/configure.in: New file.
33029 * sysdeps/sparc/configure: Generate.
33030 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33031 * configure: Regenerate.
33032 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33033 * config.make.in (have-as-vis3): New.
33034 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33035 available use -Av9d instead of -Av9a.
33036 * sysdeps/sparc/sparc64/Makefile: Likewise.
33037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33039 New file.
33040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33041 file.
33042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33043 New file.
33044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33045 file.
eae47a36
DM
33046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33047 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33048 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33049 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33050 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33051
c0c83bc8
DM
33052 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33053 fzeros/fnegs to load 0x80000000 into a float register instead of
33054 using the stack.
7bd951ff
DM
33055 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33056
bd951ccb
JM
330572012-03-14 Joseph Myers <joseph@codesourcery.com>
33058
33059 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33060 bits/syscall.h.
33061 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33062 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33063 ($(inst_includedir)/bits/syscall.h): Remove rule.
33064 ($(objpfx)bits/syscall.d): Include instead of
33065 $(objpfx)syscall-list.d.
33066 (generated): Change syscall-list.h and syscall-list.d to
33067 bits/syscall.h and bits/syscall.d.
33068
bb4e6db2
RM
330692012-03-14 Roland McGrath <roland@hack.frob.com>
33070
33071 [BZ #13846]
33072 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33073
aa4a2ae1
JM
330742012-03-14 Joseph Myers <joseph@codesourcery.com>
33075
e456826d
JM
33076 [BZ #13841]
33077 * math/s_csqrt.c: Include <float.h>.
33078 (__csqrt): Scale large or subnormal inputs.
33079 * math/s_csqrtf.c: Likewise.
33080 * math/s_csqrtl.c: Likewise.
33081 * math/libm-test.inc (csqrt_test): Add more tests.
33082 * sysdeps/i386/fpu/libm-test-ulps: Update.
33083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33084
aa4a2ae1
JM
33085 [BZ #13840]
33086 * math/libm-test.inc (hypot_test): Add more tests.
33087
7c10fd35
DM
330882012-03-13 David S. Miller <davem@davemloft.net>
33089
33090 [BZ #13840]
33091 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33092 double-precision for the calculation instead of scaling.
33093
f453b98b
JM
330942012-03-13 Joseph Myers <joseph@codesourcery.com>
33095
33096 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33097 manipulate bits before adding and subtracting TWO52[sx].
33098 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33099 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33100 Likewise.
33101 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33102
09a3453f
DM
331032012-03-13 David S. Miller <davem@davemloft.net>
33104
8e59da90
DM
33105 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33106 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33107 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33108 rtld-global-offsets.h
33109 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33110
2a8ab7f2
DM
33111 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33112 large parameters.
33113
10f62770
DM
33114 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33115
5f0bdb18
DM
33116 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33117 'err' in the ifdef scope in which it is actually used.
33118
09a3453f
DM
33119 * nss/nss_db/db-init.c: Include string.h
33120
b4b2eb5e
DM
331212012-03-12 David S. Miller <davem@davemloft.net>
33122
98bb2f1c
DM
33123 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33124 masking out of the most significant byte of random value used.
33125 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33126 Fix coding style in previous change.
33127
b4b2eb5e
DM
33128 * sysdeps/unix/sysv/linux/kernel-features.h
33129 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33130 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33131 expression.
33132 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33133 later.
33134
6e226b09
DM
331352012-03-11 David S. Miller <davem@davemloft.net>
33136
a1bcbd40
DM
33137 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33138 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33139 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33140 for 'resultvar' otherwise things get truncated on 64-bit.
33141
cb9d6174
DM
33142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33143 Fix masking out of the most significant byte of random value used.
33144
6e226b09
DM
33145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33146
058c132d
AS
331472012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33148
33149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33150
2d2cd515
DM
331512012-03-09 David S. Miller <davem@davemloft.net>
33152
33153 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33154 variables with appropriate CPP guards.
33155 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33156 frame pointer, not the stack pointer. Correct layout comments. Fix test
33157 on resulting framesize and the management of the outregs buffer for pltexit.
33158 Preserve floating point return values across _dl_call_pltexit call.
33159 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33160 framesize and the management of the outregs buffer for pltexit.
33161 Preserve floating point return values across _dl_call_pltexit
33162 call.
33163 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33164 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33165 (print_exit): Fix format string for return register value.
33166
9a07f9d0
JM
331672012-03-10 Joseph Myers <joseph@codesourcery.com>
33168
33169 * sunrpc/Makefile (others): Add rpcgen.
33170 ($(objpfx)rpcgen): Remove special build rule and dependency on
33171 libc.
33172 * sunrpc/rpcgen.c: New file.
33173
547b5e30
PE
331742012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33175
c524201a
PE
33176 [BZ #13673]
33177 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33178 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33179 * sysdeps/i386/crti.S: Likewise.
33180 * sysdeps/i386/crtn.S: Likewise.
33181 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33182 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33183 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33184 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33185 * sysdeps/sh/crti.S: Likewise.
33186 * sysdeps/sh/crtn.S: Likewise.
33187 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33188
7b6235f2
PE
33189 [BZ #13673]
33190 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33191 with URL.
33192 * locale/programs/locfile-kw.gperf: Likewise.
33193 * locale/programs/charmap-kw.h: Regenerated.
33194 * locale/programs/locfile-kw.h: Likewise.
33195
547b5e30
PE
33196 [BZ #13673]
33197 * intl/plural.y: Replace FSF snail mail address with URL.
33198 * intl/plural.c: Regenerated.
33199
5f0a5dae
RH
332002012-03-09 Richard Henderson <rth@twiddle.net>
33201
33202 * include/math_private.h: Remove file.
33203 * math/math_private.h: Move file ...
33204 * sysdeps/generic/math_private.h: ... here.
33205
b8c03620
RH
33206 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33207 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33208 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33209
4e234f5d 33210 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33211 and <math_private.h>.
33212 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33213 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33214 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33215 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33216 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33217 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33218 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33220 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33221 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33223 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33224 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33225 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33226 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33227 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33228 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33229 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33230 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33231 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33233 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33234 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33236 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33237 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33238 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33239 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33241 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33242 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33243 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33244 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33245 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33246 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33247 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33248 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33249 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33250 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33251 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33252 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33253 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33254 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33255 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33256 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33257 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33258 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33259 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33260 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33261 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33262 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33263 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33264 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33265 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33266 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33267 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33268 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33269 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33270 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33271 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33272 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33273 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33274 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33275 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33276 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33277 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33278 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33279 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33280 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33281 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33282 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33283 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33284 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33285 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33286 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33289 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33291 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33292 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33293 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33294 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33295 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33296 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33297 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33299 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33300 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33301 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33302 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33303 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33304 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33305 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33306 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33307 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33308 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33309 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33310 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33311 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33312 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33313 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33314 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33315 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33316 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33317 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33318 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33319 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33320 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33321 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33322 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33323 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33324 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33325 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33326 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33327 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33328 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33329 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33330 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33331 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33332 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33333 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33334 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33335 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33336 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33337 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33338 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33339 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33340 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33341 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33342 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33343 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33344 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33345 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33346 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33347 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33348 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33349 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33350 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33351 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33352 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33353 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33354 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33355 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33356 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33357 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33358 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33359 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33360 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33361 * sysdeps/ieee754/k_standard.c: Likewise.
33362 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33363 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33364 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33365 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33366 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33367 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33368 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33369 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33370 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33371 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33372 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33373 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33374 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33375 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33376 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33377 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33378 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33379 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33380 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33381 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33382 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33383 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33384 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33385 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33386 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33387 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33388 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33389 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33390 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33391 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33392 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33393 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33394 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33395 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33396 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33397 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33398 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33399 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33400 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33401 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33402 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33403 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33404 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33405 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33406 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33407 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33408 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33409 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33410 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33411 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33412 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33413 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33414 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33415 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33416 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33417 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33418 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33419 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33420 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33421 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33422 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33423 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33424 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33425 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33426 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33427 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33428 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33429 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33430 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33431 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33432 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33433 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33434 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33435 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33436 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33437 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33438 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33439 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33440 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33441 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33442 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33443 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33444 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33445 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33446 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33447 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33448 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33449 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33450 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33451 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33452 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33453 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33454 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33455 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33456 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33457 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33458 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33459 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33460 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33461 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33462 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33463 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33464 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33465 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33466 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33467 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33468 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33469 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33470 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33471 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33472 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33473 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33474 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33475 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33476 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33477 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33478 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33479 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33480 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33481 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33482 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33483 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33484 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33485 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33486 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33487 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33488 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33489 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33490 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33491 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33492 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33493 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33494 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33495 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33496 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33497 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33498 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33499 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33500 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33501 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33502 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33503 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33504 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33505 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33506 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33507 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33508 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33509 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33510 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33511 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33512 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33513 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33514 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33515 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33516 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33517 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33518 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33519 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33520 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33521 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33522 * sysdeps/ieee754/s_lib_version.c: Likewise.
33523 * sysdeps/ieee754/s_matherr.c: Likewise.
33524 * sysdeps/ieee754/s_signgam.c: Likewise.
33525 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33526 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33527 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33528 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33529 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33530 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33531 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33532 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33533 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33534 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33535 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33536 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33537 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33538 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33539 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33540 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33541 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33542 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33543 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33544 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33545 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33546
1991fa03
JM
335472012-03-09 Joseph Myers <joseph@codesourcery.com>
33548
33549 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33550 * sunrpc/rpc_main.c: Likewise.
33551 * sunrpc/rpc_svcout.c: Likewise.
33552
60d6f5a6
DM
335532012-03-09 David S. Miller <davem@davemloft.net>
33554
33555 * include/math_private.h: New file.
33556
4962050e
JM
335572012-03-09 Joseph Myers <joseph@codesourcery.com>
33558
02a6f887
JM
33559 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33560 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33561 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33562 from <bits/socket_type.h>.
33563 (enum __socket_type): Don't define here.
33564 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33566 bits/socket_type.h.
33567
c6e013c1
JM
33568 [BZ #13566]
33569 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33570 checking __USE_GNU.
33571
4962050e
JM
33572 * Makerules ($(inst_includedir)/%.h): New rule.
33573 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33574 (install-others): Remove variable setting.
33575 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33576
38842f45
RH
335772012-03-08 Richard Henderson <rth@twiddle.net>
33578
67bb6da6
RH
33579 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33580 from macro to inline function; merge with the
33581 !__LIBC_INTERNAL_MATH_INLINES version.
33582 (__ieee754_sqrtf): Likewise.
33583
15194b4b
RH
33584 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33585 to inline function.
33586 (__rintf, __floor, __floorf): Likewise.
33587
64e21ede
RH
33588 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33589 macro to inline function.
33590 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33591
38842f45
RH
33592 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33593 not <math/math_private.h>.
33594
c64bf5fe
DM
335952012-03-08 David S. Miller <davem@davemloft.net>
33596
33597 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33598 copyright year.
33599 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33600
82d86f28
TS
336012012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33602
33603 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33604 normalization.
33605 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33606 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33607
aea5d727
UD
336082012-03-08 Ulrich Drepper <drepper@gmail.com>
33609
33610 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33611 be defined individually, they must be defined as a block. Define
33612 S for printing a string instead of hidint the different by using a
33613 macro for adding the 'l'.
33614 * stdio-common/tst-fphex-wide.c: Adjust.
33615
70bca0a3
MP
336162012-03-07 Marek Polacek <polacek@redhat.com>
33617
33618 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33619
65b81130
MP
336202012-03-08 Marek Polacek <polacek@redhat.com>
33621
33622 [BZ #13806]
33623 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33624 * stdio-common/tst-fphex.c: Define a few macros to make the
33625 test reusable. Use them.
33626 * stdio-common/tst-fphex-wide.c: New file.
33627
07037eeb
JM
336282012-03-08 Joseph Myers <joseph@codesourcery.com>
33629
a7a93d50
JM
33630 [BZ #6911]
33631 * manual/macros.texi (gnusystems): New macro.
33632 (nongnusystems): Likewise.
33633 (gnulinuxhurdsystems): Likewise.
33634 (gnuhurdsystems): Likewise..
33635 (gnulinuxsystems): Likewise.
33636 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33637 variants of the GNU system, not "GNU system".
33638 * manual/conf.texi: Likewise.
33639 * manual/errno.texi: Likewise. Update example of errno macro
33640 expansion.
33641 * manual/filesys.texi: Likewise.
33642 (getumask): Document as specific to GNU/Hurd.
33643 * manual/install.texi: Likewise. Reword some references to
33644 GNU/Linux.
33645 * manual/intro.texi: Likewise.
33646 * manual/io.texi: Likewise.
33647 (File Name Portability): Detail which constraints are inapplicable
33648 to all GNU systems and which are only inapplicable to GNU/Hurd.
33649 * manual/job.texi: Likewise.
33650 * manual/llio.texi: Likewise.
33651 (O_NOCTTY): Document as present on GNU/Linux.
33652 * manual/maint.texi: Likewise.
33653 * manual/memory.texi: Likewise.
33654 * manual/pattern.texi: Likewise.
33655 * manual/pipe.texi: Likewise.
33656 * manual/process.texi: Likewise.
33657 * manual/resource.texi: Likewise.
33658 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33659 child on GNU/Hurd.
33660 * manual/setjmp.texi: Likewise.
33661 * manual/signal.texi: Likewise.
33662 * manual/startup.texi: Likewise.
33663 * manual/stdio.texi: Likewise.
33664 * manual/terminal.texi: Likewise.
33665 (ONLCR): Document as POSIX.
33666 (OXTABS): Document availability on GNU/Linux as XTABS.
33667 (ONOEOT): Document availability separately from other bits.
33668 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33669 * manual/time.texi: Likewise.
33670 * manual/users.texi: Likewise.
33671 * INSTALL: Regenerated.
33672 * sysdeps/gnu/errlist.c: Regenerated.
33673
07037eeb
JM
33674 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33675 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33676 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33677 puts.
33678 * configure: Regenerated.
33679
d1d3431a
JM
336802012-03-07 Joseph Myers <joseph@codesourcery.com>
33681
af6a1e37
JM
33682 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33683 default includes instead of AC_HEADER_CHECK.
33684 * sysdeps/i386/configure: Regenerated.
33685
d1d3431a
JM
33686 [BZ #10716]
33687 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33688 * math/s_cacoshf.c (__cacoshf): Likewise.
33689 * math/s_cacoshl.c (__cacoshl): Likewise.
33690 * math/s_casinh.c (__casinh): Set signs of result from argument.
33691 * math/s_casinhf.c (__casinhf): Likewise.
33692 * math/s_casinhl.c (__casinhl): Likewise.
33693 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33694 (casinh_test): Add more tests.
33695 * sysdeps/i386/fpu/libm-test-ulps: Update.
33696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33697
482ff4da
UD
336982012-03-07 Ulrich Drepper <drepper@gmail.com>
33699
872fda05
UD
33700 * po/zh_TW.po: Update from translation team.
33701
a4300c7a
UD
33702 * login/Makefile (distribute): Remove variable.
33703 * catgets/Makefile: Likewise.
33704 * mach/Makefile: Likewise.
33705 * malloc/Makefile: Likewise.
33706 * misc/Makefile: Likewise.
33707 * iconv/Makefile: Likewise.
33708 * nscd/Makefile: Likewise.
33709 * hurd/Makefile: Likewise.
33710 * manual/Makefile: Likewise.
33711 * locale/Makefile: Likewise.
33712 * intl/Makefile: Likewise.
33713 * conform/Makefile: Likewise.
33714 * nss/Makefile: Likewise.
33715 * time/Makefile: Likewise.
33716 * soft-fp/Makefile: Likewise.
33717 * dirent/Makefile: Likewise.
33718 * gmon/Makefile: Likewise.
33719 * po/Makefile: Likewise.
33720 * rt/Makefile: Likewise.
33721 * socket/Makefile: Likewise.
33722 * math/Makefile: Likewise.
33723 * signal/Makefile: Likewise.
33724 * debug/Makefile: Likewise.
33725 * elf/Makefile: Likewise.
33726 * timezone/Makefile: Likewise.
33727 * stdlib/Makefile: Likewise.
33728 * iconvdata/Makefile: Likewise.
33729 * sunrpc/Makefile: Likewise.
33730 * io/Makefile: Likewise.
33731 * argp/Makefile: Likewise.
33732 * inet/Makefile: Likewise.
33733 * hesiod/Makefile: Likewise.
33734 * grp/Makefile: Likewise.
33735 * csu/Makefile: Likewise.
33736 * wctype/Makefile: Likewise.
33737 * crypt/Makefile: Likewise.
33738 * libio/Makefile: Likewise.
33739 * string/Makefile: Likewise.
33740 * nis/Makefile: Likewise.
33741 * resolv/Makefile: Likewise.
33742 * stdio-common/Makefile: Likewise.
33743 * wcsmbs/Makefile: Likewise.
33744 * dlfcn/Makefile: Likewise.
33745 * posix/Makefile: Likewise.
33746
3b7c4e74 33747 [BZ #6959]
482ff4da
UD
33748 * timezone/Makefile: Don't install timezone files, just the programs
33749 and scripts.
33750
f72ed77d
UD
337512012-03-06 Ulrich Drepper <drepper@gmail.com>
33752
a000466f
UD
33753 * nss/databases.def: Add missing gshadow entry.
33754
f72ed77d
UD
33755 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33756
a53b7a4e
MP
337572012-03-06 Marek Polacek <polacek@redhat.com>
33758
33759 [BZ #13726]
33760 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33761 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33762 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33763 * stdio-common/tst-long-dbl-fphex.c: New file.
33764
e9258400
DM
337652012-03-06 David S. Miller <davem@davemloft.net>
33766
33767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33768 (set_obp_int): New function.
33769 (get_obp_int): New function.
33770 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33771 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33772 Avoid unused variable warnings on 'val' and use builtin_expect.
33773 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33774 __builtin_expect.
e9258400
DM
33775 (INLINE_CLONE_SYSCALL): Likewise.
33776
3bd2c723
DM
337772012-03-05 David S. Miller <davem@davemloft.net>
33778
33779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33780
bbb78d03
AS
337812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33782
884c5db4
AS
33783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33784
bbb78d03
AS
33785 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33786 only for |x| >= 40.
33787 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33788
1c9f702a 337892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33790
33791 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33792 Replace gettimeofday with __vdso_gettimeofday.
33793
7be16f82
RM
33794 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33795 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33796 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33797
33798 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33799 time with __vdso_time.
33800
ed58a00f
JM
338012012-03-05 Joseph Myers <joseph@codesourcery.com>
33802
33803 * manual/lang.texi (size_t): Note types to which size_t may be
33804 equivalent with the GNU C Library, but do not describe when
33805 differences between them are significant.
33806
30ee4ced
AJ
338072012-03-05 Andreas Jaeger <aj@suse.de>
33808
33809 * sysdeps/i386/fpu/libm-test-ulps: Update.
33810
b7cd39e8
JM
338112012-03-05 Joseph Myers <joseph@codesourcery.com>
33812
33813 [BZ #3976]
33814 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33815 (__ieee754_pow): Save and restore rounding mode and use
33816 round-to-nearest for main computations.
33817 * math/libm-test.inc (pow_test_tonearest): New function.
33818 (pow_test_towardzero): Likewise.
33819 (pow_test_downward): Likewise.
33820 (pow_test_upward): Likewise.
33821 (main): Call the new functions.
33822 * sysdeps/i386/fpu/libm-test-ulps: Update.
33823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33824
33825 [BZ #3976]
33826 * math/libm-test.inc (cosh_test_tonearest): New function.
33827 (cosh_test_towardzero): Likewise.
33828 (cosh_test_downward): Likewise.
33829 (cosh_test_upward): Likewise.
33830 (sinh_test_tonearest): Likewise.
33831 (sinh_test_towardzero): Likewise.
33832 (sinh_test_downward): Likewise.
33833 (sinh_test_upward): Likewise.
33834 (main): Call the new functions.
33835 * sysdeps/i386/fpu/libm-test-ulps: Update.
33836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33837
6c6a98c9
TV
338382012-03-05 Tom de Vries <tom@codesourcery.com>
33839
33840 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33841 default stack guard is set in last bytes.
33842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33843
21bb2d2e 338442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33845
21bb2d2e 33846 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33847
21bb2d2e
AJ
33848 [BZ #13656]
33849 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33850 possibly allocate from heap instead of stack.
33851 * stdio-common/bug-vfprintf-nargs.c: New file.
33852 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33853
c6922934
AS
338542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33855
33856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33857
bc957d53
MP
338582012-03-03 Marek Polacek <polacek@redhat.com>
33859
33860 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33861 * math/math_private.h: Likewise.
33862 * stdlib/tst-strtod.c: Likewise.
33863 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33864 * sysdeps/x86_64/bits/atomic.h: Likewise.
33865
6358490d
DM
338662012-03-02 David S. Miller <davem@davemloft.net>
33867
33868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33872 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33873 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33874 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33875 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33876
01ae168d
RM
338772012-03-02 Roland McGrath <roland@hack.frob.com>
33878
d9a17c07
RM
33879 [BZ #13792]
33880 * manual/examples/README: New file, says the example source files
33881 can be used under GPL>=2.
33882 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33883 line containing just "*/".
33884 * manual/examples/add.c: Add copyright header (GPL>=2).
33885 * manual/examples/argp-ex1.c: Likewise.
33886 * manual/examples/argp-ex2.c: Likewise.
33887 * manual/examples/argp-ex3.c: Likewise.
33888 * manual/examples/argp-ex4.c: Likewise.
33889 * manual/examples/atexit.c: Likewise.
33890 * manual/examples/db.c: Likewise.
33891 * manual/examples/dir.c: Likewise.
33892 * manual/examples/dir2.c: Likewise.
33893 * manual/examples/execinfo.c: Likewise.
33894 * manual/examples/filecli.c: Likewise.
33895 * manual/examples/filesrv.c: Likewise.
33896 * manual/examples/fmtmsgexpl.c: Likewise.
33897 * manual/examples/genpass.c: Likewise.
33898 * manual/examples/inetcli.c: Likewise.
33899 * manual/examples/inetsrv.c: Likewise.
33900 * manual/examples/isockad.c: Likewise.
33901 * manual/examples/longopt.c: Likewise.
33902 * manual/examples/memopen.c: Likewise.
33903 * manual/examples/memstrm.c: Likewise.
33904 * manual/examples/mkfsock.c: Likewise.
33905 * manual/examples/mkisock.c: Likewise.
33906 * manual/examples/mygetpass.c: Likewise.
33907 * manual/examples/pipe.c: Likewise.
33908 * manual/examples/popen.c: Likewise.
33909 * manual/examples/rprintf.c: Likewise.
33910 * manual/examples/search.c: Likewise.
33911 * manual/examples/select.c: Likewise.
33912 * manual/examples/setjmp.c: Likewise.
33913 * manual/examples/sigh1.c: Likewise.
33914 * manual/examples/sigusr.c: Likewise.
33915 * manual/examples/stpcpy.c: Likewise.
33916 * manual/examples/strdupa.c: Likewise.
33917 * manual/examples/strftim.c: Likewise.
33918 * manual/examples/strncat.c: Likewise.
33919 * manual/examples/subopt.c: Likewise.
33920 * manual/examples/swapcontext.c: Likewise.
33921 * manual/examples/termios.c: Likewise.
33922 * manual/examples/testopt.c: Likewise.
33923 * manual/examples/testpass.c: Likewise.
33924 * manual/examples/timeval_subtract.c: Likewise.
33925
01ae168d
RM
33926 [BZ #13792]
33927 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33928 function to ...
33929 * manual/timeval_subtract.c.texi: ... here, new file.
33930
49efa33d
DM
339312012-03-02 David S. Miller <davem@davemloft.net>
33932
33933 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33934
28afd92d
JM
339352012-03-02 Joseph Myers <joseph@codesourcery.com>
33936
804360ed
JM
33937 [BZ #3976]
33938 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33939 (__sin): Save and restore rounding mode and use round-to-nearest
33940 for all computations.
33941 (__cos): Save and restore rounding mode and use round-to-nearest
33942 for all computations.
33943 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33944 <fenv.h>.
33945 (tan): Save and restore rounding mode and use round-to-nearest for
33946 all computations.
33947 * math/libm-test.inc (cos_test_tonearest): New function.
33948 (cos_test_towardzero): Likewise.
33949 (cos_test_downward): Likewise.
33950 (cos_test_upward): Likewise.
33951 (sin_test_tonearest): Likewise.
33952 (sin_test_towardzero): Likewise.
33953 (sin_test_downward): Likewise.
33954 (sin_test_upward): Likewise.
33955 (tan_test_tonearest): Likewise.
33956 (tan_test_towardzero): Likewise.
33957 (tan_test_downward): Likewise.
33958 (tan_test_upward): Likewise.
33959 (main): Call the new functions.
33960 * sysdeps/i386/fpu/libm-test-ulps: Update.
33961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33962
a6d06d7b
JM
33963 [BZ #10135]
33964 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33965 small n, then large n, before computing and testing k+n.
33966 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33968 Likewise.
33969 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33970 Likewise.
33971 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33972 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33973 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33974 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33975 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33976 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33977 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33978 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33979 * math/libm-test.inc (scalbn_test): Add more tests.
33980 (scalbln_test): Likewise.
33981
07e12bb3
JM
33982 * manual/filesys.texi (mode_t): Describe constraints on size and
33983 signedness, not exact equivalence to a particular type.
33984 (ino_t): Likewise.
33985 (ino64_t): Likewise.
33986 (dev_t): Likewise.
33987 (nlink_t): Likewise.
33988 (blkcnt_t): Likewise.
33989 (blkcnt64_t): Likewise.
33990 * manual/llio.texi (off_t): Likewise.
33991
28afd92d
JM
33992 [BZ #3976]
33993 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33994 (__ieee754_exp): Save and restore rounding mode and use
33995 round-to-nearest for all computations.
33996 * math/libm-test.inc (exp_test_tonearest): New function.
33997 (exp_test_towardzero): Likewise.
33998 (exp_test_downward): Likewise.
33999 (exp_test_upward): Likewise.
34000 (main): Call the new functions.
34001 * sysdeps/i386/fpu/libm-test-ulps: Update.
34002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34003
b1eeb65d
CD
340042012-03-01 Chris Demetriou <cgd@google.com>
34005
34006 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34007 have predictable order.
34008
53362a4b
DM
340092012-03-01 David S. Miller <davem@davemloft.net>
34010
3c969083
DM
34011 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34012
759707de
DM
34013 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34014 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34015 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34016 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34017
dfdb8ff2
DM
34018 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34019 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34020 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34022 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34023 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34024 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34025 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34026 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34027
ead89f96
DM
34028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34029
7f66bd07
DM
34030 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34031 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34032 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34033
53362a4b
DM
34034 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34035 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34036 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34037 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34038 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34039 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34040 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34041 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34042 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34043 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34044 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34045 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34047 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34048 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34049 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34050 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34051 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34052 * sysdeps/sparc/elf/configure: Regenerated.
34053
7b1902cb
JM
340542012-03-01 Joseph Myers <joseph@codesourcery.com>
34055
bec039bc
JM
34056 * configure.in (AS, LD): Require binutils 2.20 or later.
34057 * configure: Regenerated.
34058 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34059 as required minimum version.
34060 * INSTALL: Regenerated.
34061
7b1902cb
JM
34062 [BZ #2541]
34063 [BZ #4108]
34064 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34065 before squaring exponent.
34066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34067 bottom long double and 27 bits of top long double before squaring
34068 exponent.
34069 * math/libm-test.inc (erfc_test): Add more tests.
34070 * sysdeps/i386/fpu/libm-test-ulps: Update.
34071 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34073
f775c276
KT
340742012-03-01 Kai Tietz <ktietz@redhat.com>
34075
34076 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34077 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34078 containing bit-fields.
34079 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34080 * soft-fp/single.h (_FP_UNION_S): Likewise.
34081 * soft-fp/double.h (_FP_UNION_D): Likewise.
34082
5b8a4d4a
JM
340832012-02-29 Joseph Myers <joseph@codesourcery.com>
34084
0bab47b6
JM
34085 [BZ #13786]
34086 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34087 not include ../strcmp.S.
34088 [USE_AS_STRNCASECMP_L]: Likewise.
34089 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34090 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34091 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34092 (__strncasecmp_l_ia32): Define as alias to
34093 __strncasecmp_l_nonascii.
34094
0fcad3e2
JM
34095 [BZ #5794]
34096 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34097 * sysdeps/i386/fpu/libm-test-ulps: Update.
34098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34099
5b8a4d4a
JM
34100 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34102
8fdceb2e
JL
341032012-02-29 Jeff Law <law@redhat.com>
34104
34105 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34106 out of bounds read.
34107
1f393a11
MP
341082012-02-29 Marek Polacek <polacek@redhat.com>
34109
34110 [BZ #13706]
34111 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34112 * elf/Makefile: Add rules to run tst-unused-dep.out.
34113
8847f037
DM
341142012-02-28 David S. Miller <davem@davemloft.net>
34115
34116 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34117 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34118 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34119 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34120 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34121 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34122
169d7f11
JM
341232012-02-29 Joseph Myers <joseph@codesourcery.com>
34124
34125 * math/libm-test.inc (llround_test): Move one test from
34126 lround_test. Use TEST_f_L in moved test.
34127 (lround_test): Move misplaced test to llround_test. Add testcase
34128 from bug 2561.
34129
39adf059
UD
341302012-02-28 Ulrich Drepper <drepper@gmail.com>
34131
34132 * sysdeps/x86_64/fpu/e_expf.S: New file.
34133 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34134
71b5d1c5
SB
341352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34136
34137 [BZ #13637]
34138 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34139 of remain_len that may cause incomplete multi-byte character and
34140 false match.
34141 * posix/bug-regex33.c: New file.
34142 * posix/Makefile (tests): Add bug-regex33.
34143
1f77f049
JM
341442012-02-28 Joseph Myers <joseph@codesourcery.com>
34145
34146 * manual/macros.texi: New file.
34147 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34148 * manual/libc.texinfo: Include macros.texi.
34149 * manual/creatute.texi: Likewise.
34150 * manual/install.texi: Likewise.
34151 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34152 @glibcadj{} in references to the GNU C Library.
34153 * manual/charset.texi: Likewise.
34154 * manual/conf.texi: Likewise.
34155 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34156 when not using those macros.
34157 * manual/creature.texi: Likewise.
34158 * manual/crypt.texi: Likewise.
34159 * manual/errno.texi: Likewise.
34160 * manual/filesys.texi: Likewise.
34161 * manual/header.texi: Likewise.
34162 * manual/install.texi: Likewise.
34163 * manual/intro.texi: Likewise.
34164 * manual/io.texi: Likewise.
34165 * manual/job.texi: Likewise.
34166 * manual/lang.texi: Likewise.
34167 * manual/libc.texiinfo: Likewise.
34168 * manual/llio.texi: Likewise.
34169 * manual/locale.texi: Likewise.
34170 * manual/maint.texi: Likewise.
34171 * manual/math.texi: Likewise.
34172 * manual/memory.texi: Likewise.
34173 * manual/message.texi: Likewise.
34174 * manual/nss.texi: Likewise.
34175 * manual/pattern.texi: Likewise.
34176 * manual/process.texi: Likewise.
34177 * manual/resource.texi: Likewise.
34178 * manual/search.texi: Likewise.
34179 * manual/setjmp.texi: Likewise.
34180 * manual/signal.texi: Likewise.
34181 * manual/socket.texi: Likewise.
34182 * manual/startup.texi: Likewise.
34183 * manual/stdio.texi: Likewise.
34184 * manual/string.texi: Likewise.
34185 * manual/sysinfo.texi: Likewise.
34186 * manual/syslog.texi: Likewise.
34187 * manual/terminal.texi: Likewise.
34188 * manual/time.texi: Likewise.
34189 * manual/users.texi: Likewise.
34190 * INSTALL: Regenerated.
34191 * NOTES: Regenerated.
d40c5d54 34192 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34193
450bf206
AS
341942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34195
34196 * include/dirent.h: Include <dirstream.h> before
34197 <dirent/dirent.h>.
34198
741a235b
DM
341992012-02-28 David S. Miller <davem@davemloft.net>
34200
34201 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34202 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34203 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34204 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34205
d6b5aa58
DM
342062012-02-27 David S. Miller <davem@davemloft.net>
34207
1aff59a3
DM
34208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34210 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34211 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34212
d6b5aa58
DM
34213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34214 frame pointer instead of stack pointer relative arg slot.
34215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34216 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34217 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34218
433f48bf
CD
342192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34220
34221 [BZ #3992]
34222 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34223
d674b76d
DM
342242012-02-27 David S. Miller <davem@davemloft.net>
34225
34226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34230 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34231 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34232 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34233 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34234
0e7727f7
JM
342352012-02-27 Joseph Myers <joseph@codesourcery.com>
34236
34237 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34238 later. Allow versions 5-9.
43be4ca2 34239 * configure: Regenerated.
0e7727f7
JM
34240 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34241 required minimum version and 4.6 as recommended version. Do not
34242 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34243 * INSTALL: Regenerated.
0e7727f7 34244
a78bc654
DM
342452012-02-27 David S. Miller <davem@davemloft.net>
34246
428d5830
DM
34247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34251 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34252 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34253 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34254 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34255
a78bc654
DM
34256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34257 manipulate bits before adding and subtracting TWO112[sx].
34258 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34259
4579f81c
RM
342602012-02-27 Roland McGrath <roland@hack.frob.com>
34261
36c8acb4
RM
34262 [BZ #13775]
34263 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34264 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34265 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34266 being in POSIX, because they are in 1003.1-2008.
34267
84ad622b
RM
34268 * rt/tst-aio.c: Include <fcntl.h>.
34269 * rt/tst-aio7.c: Likewise.
34270 * rt/tst-aio64.c: Likewise.
34271
4579f81c
RM
34272 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34273
abd923db
JM
342742012-02-27 Joseph Myers <joseph@codesourcery.com>
34275
34276 * manual/install.texi (--with-headers): Describe headers as
34277 interface headers, not private headers.
34278 (Specific advice for GNU/Linux systems): Describe use of headers
34279 from "make headers_install", not private headers from older
34280 kernels.
43be4ca2 34281 * INSTALL: Regenerated.
abd923db
JM
34282 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34283 Change to 2.6.19.
34284 * sysdeps/unix/sysv/linux/configure: Regenerated.
34285
6664049b
JM
34286 * manual/llio.texi (fclean): Remove documentation.
34287
bb8b6697
JM
34288 * manual/Makefile (libc-texi-generated): New variable. Include
34289 version.texi.
34290 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34291 $(libc-texi-generated), not duplicated list of files.
34292 (version.texi, stamp-version): New rules.
34293 (realclean): Remove $(libc-texi-generated), not individual files
34294 from that list. Do not remove dir-add.texinfo.
34295 * manual/libc.texinfo: Comment out uses of edition numbers and
34296 references to printed manual. Remove last-updated dates.
34297 (EDITION): Comment out.
34298 (ISBN): Likewise.
34299 (VERSION, UPDATED): Remove.
34300 (version.texi): Include.
34301
12e5c3b9
AS
343022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34303
34304 * sysdeps/posix/spawni.c: Include <signal.h>.
34305 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34306 * sysdeps/pthread/aio_fsync.c: Likewise.
34307
4efeffc1 343082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34309
ba63ba08
UD
34310 * conform/Makefile (tests): Run only when not cross-compiling and
34311 when fast-check is not defined.
34312
d94a4670
UD
34313 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34314 * conform/data/limits.h-data: Fixes for POSIX2008.
34315 * conform/run-conformtest.sh: Run all tests.
34316 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34317 headers.
34318 * include/bits/dlfcn.h: Likewise.
34319 * include/langinfo.h: Likewise.
34320 * include/monetary.h: Likewise.
34321 * include/sys/poll.h: Likewise.
34322
34323 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34324 for __USE_GNU.
34325 * posix/spawn.h: Define __need_sigset_t.
34326 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34327 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34328 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34329 to get sigevent_t only.
34330 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34331 only for __USE_GNU.
34332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34333 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34334 process_vm_writev only for __USE_GNU.
34335 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34336
34337 * conform/Makefile: For now ignore errors from run-conformtest.
34338 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34339 POSIX to avoid namespace pollution. Don't prepend headers.
34340 * conform/data/aio.h-data: Fixes for POSIX testing.
34341 * conform/data/fcntl.h-data: Likewise.
34342 * conform/data/glob.h-data: Likewise.
34343 * conform/data/grp.h-data: Likewise.
34344 * conform/data/pthread.h-data: Likewise.
34345 * conform/data/pwd.h-data: Likewise.
34346 * conform/data/signal.h-data: Likewise.
34347 * conform/data/spawn.h-data: Likewise.
34348 * conform/data/stdio.h-data: Likewise.
34349 * conform/data/stdlib.h-data: Likewise.
34350 * conform/data/stropts.h-data: Likewise.
34351 * conform/data/sys/mman.h-data: Likewise.
34352 * conform/data/sys/stat.h-data: Likewise.
34353 * conform/data/sys/types.h-data: Likewise.
34354 * conform/data/sys/wait.h-data: Likewise.
34355 * conform/data/time.h-data: Likewise.
34356 * conform/data/unistd.h-data: Likewise.
34357 * conform/data/utime.h-data: Likewise.
34358
34359 * io/sys/stat.h: fchmod was always in POSIX.
34360 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34361 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34362 * rt/aio.h: Define __need_timespec before including <time.h>.
34363 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34364 struct. Add forward declaration of pthread_attr_t and use it in
34365 sigevent.
34366 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34367 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34368 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34369 always remove CLK_TCK definition.
34370
c20105c3
AS
343712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34372
34373 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34374
7a270350
UD
343752012-02-25 Ulrich Drepper <drepper@gmail.com>
34376
31341567
UD
34377 * conform/run-conformtest.sh: New file.
34378 * conform/Makefile: Run run-conformtest for tests.
34379 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34380 support.
34381
34382 * conform/data/uchar.h-data: New file.
34383 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34384 * conform/data/arpa/inet.h-data: Likewise.
34385 * conform/data/assert.h-data: Likewise.
34386 * conform/data/complex.h-data: Likewise.
34387 * conform/data/cpio.h-data: Likewise.
34388 * conform/data/ctype.h-data: Likewise.
34389 * conform/data/dirent.h-data: Likewise.
34390 * conform/data/dlfcn.h-data: Likewise.
34391 * conform/data/errno.h-data: Likewise.
34392 * conform/data/fcntl.h-data: Likewise.
34393 * conform/data/float.h-data: Likewise.
34394 * conform/data/fmtmsg.h-data: Likewise.
34395 * conform/data/fnmatch.h-data: Likewise.
34396 * conform/data/ftw.h-data: Likewise.
34397 * conform/data/glob.h-data: Likewise.
34398 * conform/data/grp.h-data: Likewise.
34399 * conform/data/iconv.h-data: Likewise.
34400 * conform/data/inttypes.h-data: Likewise.
34401 * conform/data/langinfo.h-data: Likewise.
34402 * conform/data/libgen.h-data: Likewise.
34403 * conform/data/limits.h-data: Likewise.
34404 * conform/data/locale.h-data: Likewise.
34405 * conform/data/math.h-data: Likewise.
34406 * conform/data/monetary.h-data: Likewise.
34407 * conform/data/mqueue.h-data: Likewise.
34408 * conform/data/ndbm.h-data: Likewise.
34409 * conform/data/net/if.h-data: Likewise.
34410 * conform/data/netdb.h-data: Likewise.
34411 * conform/data/netinet/in.h-data: Likewise.
34412 * conform/data/nl_types.h-data: Likewise.
34413 * conform/data/poll.h-data: Likewise.
34414 * conform/data/pthread.h-data: Likewise.
34415 * conform/data/pwd.h-data: Likewise.
34416 * conform/data/regex.h-data: Likewise.
34417 * conform/data/sched.h-data: Likewise.
34418 * conform/data/search.h-data: Likewise.
34419 * conform/data/semaphore.h-data: Likewise.
34420 * conform/data/setjmp.h-data: Likewise.
34421 * conform/data/signal.h-data: Likewise.
34422 * conform/data/spawn.h-data: Likewise.
34423 * conform/data/stdarg.h-data: Likewise.
34424 * conform/data/stdio.h-data: Likewise.
34425 * conform/data/stdlib.h-data: Likewise.
34426 * conform/data/string.h-data: Likewise.
34427 * conform/data/strings.h-data: Likewise.
34428 * conform/data/stropts.h-data: Likewise.
34429 * conform/data/sys/ipc.h-data: Likewise.
34430 * conform/data/sys/mman.h-data: Likewise.
34431 * conform/data/sys/msg.h-data: Likewise.
34432 * conform/data/sys/resource.h-data: Likewise.
34433 * conform/data/sys/select.h-data: Likewise.
34434 * conform/data/sys/sem.h-data: Likewise.
34435 * conform/data/sys/shm.h-data: Likewise.
34436 * conform/data/sys/socket.h-data: Likewise.
34437 * conform/data/sys/stat.h-data: Likewise.
34438 * conform/data/sys/statvfs.h-data: Likewise.
34439 * conform/data/sys/time.h-data: Likewise.
34440 * conform/data/sys/timeb.h-data: Likewise.
34441 * conform/data/sys/times.h-data: Likewise.
34442 * conform/data/sys/types.h-data: Likewise.
34443 * conform/data/sys/uio.h-data: Likewise.
34444 * conform/data/sys/un.h-data: Likewise.
34445 * conform/data/sys/utsname.h-data: Likewise.
34446 * conform/data/sys/wait.h-data: Likewise.
34447 * conform/data/syslog.h-data: Likewise.
34448 * conform/data/tar.h-data: Likewise.
34449 * conform/data/termios.h-data: Likewise.
34450 * conform/data/utime.h-data: Likewise.
34451 * conform/data/utmpx.h-data: Likewise.
34452 * conform/data/varargs.h-data: Likewise.
34453 * conform/data/wchar.h-data: Likewise.
34454 * conform/data/wctype.h-data: Likewise.
34455 * conform/data/wordexp.h-data: Likewise.
34456
34457 * include/stropts.h: New file.
34458 * include/uchar.h: New file.
34459 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34460 * include/assert.h: Likewise.
34461 * include/ctype.h: Likewise.
34462 * include/dirent.h: Likewise.
34463 * include/dlfcn.h: Likewise.
34464 * include/fcntl.h: Likewise.
34465 * include/fnmatch.h: Likewise.
34466 * include/glob.h: Likewise.
34467 * include/grp.h: Likewise.
34468 * include/libio.h: Likewise.
34469 * include/locale.h: Likewise.
34470 * include/math.h: Likewise.
34471 * include/net/if.h: Likewise.
34472 * include/netdb.h: Likewise.
34473 * include/netinet/in.h: Likewise.
34474 * include/pthread.h: Likewise.
34475 * include/pwd.h: Likewise.
34476 * include/regex.h: Likewise.
34477 * include/sched.h: Likewise.
34478 * include/search.h: Likewise.
34479 * include/setjmp.h: Likewise.
34480 * include/signal.h: Likewise.
34481 * include/stdio.h: Likewise.
34482 * include/stdlib.h: Likewise.
34483 * include/string.h: Likewise.
34484 * include/sys/cdefs.h: Likewise.
34485 * include/sys/mman.h: Likewise.
34486 * include/sys/msg.h: Likewise.
34487 * include/sys/resource.h: Likewise.
34488 * include/sys/select.h: Likewise.
34489 * include/sys/socket.h: Likewise.
34490 * include/sys/stat.h: Likewise.
34491 * include/sys/statvfs.h: Likewise.
34492 * include/sys/time.h: Likewise.
34493 * include/sys/times.h: Likewise.
34494 * include/sys/uio.h: Likewise.
34495 * include/sys/utsname.h: Likewise.
34496 * include/sys/wait.h: Likewise.
34497 * include/termios.h: Likewise.
34498 * include/time.h: Likewise.
34499 * include/ulimit.h: Likewise.
34500 * include/unistd.h: Likewise.
34501 * include/utime.h: Likewise.
34502 * include/wchar.h: Likewise.
34503 * include/wctype.h: Likewise.
34504 * include/wordexp.h: Likewise.
34505
34506 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34507
7a270350
UD
34508 * time/time.h: TIME_UTC must be a macro.
34509 Make timespec_get available for ISO C11 only as well.
34510
7724defc
UD
345112012-02-24 Ulrich Drepper <drepper@gmail.com>
34512
34513 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34514 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34515
6b1d1d46
JM
345162012-02-24 Joseph Myers <joseph@codesourcery.com>
34517
34518 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34519
0f8bbd69
JM
345202012-02-24 Joseph Myers <joseph@codesourcery.com>
34521
34522 * manual/texinfo.tex: Update to version 2012-01-19.16.
34523
66ab80bc
JM
345242012-02-24 Joseph Myers <joseph@codesourcery.com>
34525
34526 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34527
74981cc5
RM
345282012-02-24 Roland McGrath <roland@hack.frob.com>
34529
ee968201
RM
34530 [BZ #13738]
34531 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34532 * manual/fdl-1.3.texi: New file.
34533 * manual/fdl-1.1.texi: File removed.
34534
74981cc5
RM
34535 [BZ #13738]
34536 * manual/libc.texinfo (FDL_VERSION): New @set.
34537 Use it for mention of FDL in cover text.
34538 (Documentation License): Use it in @include file name.
34539
7bb764bc
JM
345402012-02-22 Joseph Myers <joseph@codesourcery.com>
34541 Roland McGrath <roland@hack.frob.com>
34542
34543 [BZ #5461]
34544 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34545 not LONG_LONG_MAX and LONG_LONG_MIN.
34546 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34547 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34548 name.
34549 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34550
6cbeae47
JM
345512012-02-22 Joseph Myers <joseph@codesourcery.com>
34552
34553 [BZ #2547]
34554 [BZ #11365]
34555 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34556 manipulate bits before adding and subtracting TWO23[sx].
34557 * math/libm-test.inc (nearbyint_test): Add more tests.
34558
fe45ce09
JM
345592012-02-22 Joseph Myers <joseph@codesourcery.com>
34560
34561 [BZ #2548]
34562 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34563 bits before adding and subtracting TWO23[sx].
34564 * math/libm-test.inc (rint_test): Add more tests.
34565 (rint_test_tonearest): Likewise.
34566 (rint_test_towardzero): Likewise.
34567 (rint_test_downward): Likewise.
34568 (rint_test_upward: Likewise.
34569
ff3b3d82
JM
345702012-02-22 Joseph Myers <joseph@codesourcery.com>
34571
34572 [BZ #10110]
34573 * include/stdc-predef.h: New file. Extracted from features.h.
34574 * include/features.h: Include stdc-predef.h.
34575 * Makefile (headers): Add stdc-predef.h.
34576 * CONFORMANCE (Compiler limitations): Update.
34577
ef0aab35
JM
345782012-02-22 Joseph Myers <joseph@codesourcery.com>
34579
34580 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34581
58639409
DM
345822012-02-21 David S. Miller <davem@davemloft.net>
34583
34584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34585 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34586
c0e70b25
DM
345872012-02-20 David S. Miller <davem@davemloft.net>
34588
34589 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34590 using a normal save/restore sequence, rather than allocating a
34591 dummy stack frame just to store a frame pointer and restore.
34592 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34593
fb06851d
JM
345942012-02-21 Joseph Myers <joseph@codesourcery.com>
34595
34596 * manual/install.texi: Fix stray word in line-wrapped comment.
34597
7a8b71c3
DM
345982012-02-20 David S. Miller <davem@davemloft.net>
34599
d510c123
DM
34600 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34601 both binutils and gcc support GOTDATA.
34602
0722d7c2
DM
34603 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34604 "rd %pc" in the PIC register setup sequences.
34605
3d2b3019
DM
34606 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34607 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34608 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34609 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34610 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34612 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34613 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34614 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34615 (SYSCALL_ERROR_HANDLER): Likewise.
34616 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34617 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34619 (SYSCALL_ERROR_HANDLER): Likewise.
34620
c80098a9
DM
34621 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34622 (HAVE_GCC_GOTDATA): New.
34623 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34624 relocation support in both binutils and gcc.
34625 * sysdeps/sparc/elf/configure: Regenerate.
34626
3a2545a0
DM
34627 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34628 * sysdeps/sparc/sparc32/elf/configure: Delete.
34629 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34630 * sysdeps/sparc/sparc64/elf/configure: Delete.
34631 * sysdeps/sparc/elf/configure.in: New file.
34632 * sysdeps/sparc/elf/configure: Generate.
34633
7a8b71c3
DM
34634 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34635 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34636 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34637 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34638 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34639
f1e86fca
JM
346402012-02-21 Joseph Myers <joseph@codesourcery.com>
34641
34642 * manual/install.texi: Do not mention specific glibc version
34643 numbers.
34644 * manual/libc.texinfo (VERSION, UPDATED): Update.
34645 (@copying): Use @copyright{} and range of years.
34646
0e7dfaef
JM
346472012-02-21 Joseph Myers <joseph@codesourcery.com>
34648
34649 [BZ #13695]
34650 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34651 [crti.S not in sysdirs] (generated): Do not append.
34652 [crti.S not in sysdirs] (omit-deps): Likewise.
34653 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34654 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34655 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34656 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34657 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34658 Likewise.
34659 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34660 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34661 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34662 * csu/defs.awk: Remove file.
34663 * sysdeps/generic/initfini.c: Likewise.
34664 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34665 variable.
34666 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34667 Likewise.
34668
599af3ca
JM
346692012-02-20 Joseph Myers <joseph@codesourcery.com>
34670
34671 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34672 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34673 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34674 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34675 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34676 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34677 <bits/epoll.h>.
34678 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34679 (__EPOLL_PACKED): Define to empty if not defined by
34680 <bits/epoll.h>.
34681 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34683 bits/epoll.h.
34684
0e499750
JM
346852012-02-20 Joseph Myers <joseph@codesourcery.com>
34686
34687 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34688 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34689 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34690 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34691 <bits/timerfd.h>.
34692 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34694 bits/timerfd.h.
34695
5ad91f6e
JM
346962012-02-20 Joseph Myers <joseph@codesourcery.com>
34697
34698 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34699 in C locale.
34700 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34701 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34702 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34704
06b99b02
AJ
347052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34706
34707 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34708 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34709
7638c0fd
AS
347102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34711
34712 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34713 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34714 defined.
34715 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34716 Likewise.
34717 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34718 entry for 2.16.
34719
92221550
AJ
347202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34721
34722 * math/w_acos.c: Use non-signaling floating-point comparisons.
34723 * math/w_acosf.c: Likewise.
34724 * math/w_acosh.c: Likewise.
34725 * math/w_acoshf.c: Likewise.
34726 * math/w_acoshl.c: Likewise.
34727 * math/w_acosl.c: Likewise.
34728 * math/w_asin.c: Likewise.
34729 * math/w_asinf.c: Likewise.
34730 * math/w_asinl.c: Likewise.
34731 * math/w_atanh.c: Likewise.
34732 * math/w_atanhf.c: Likewise.
34733 * math/w_atanhl.c: Likewise.
34734 * math/w_exp2.c: Likewise.
34735 * math/w_exp2f.c: Likewise.
34736 * math/w_exp2l.c: Likewise.
34737 * math/w_j0.c: Likewise.
34738 * math/w_j0f.c: Likewise.
34739 * math/w_j0l.c: Likewise.
34740 * math/w_j1.c: Likewise.
34741 * math/w_j1f.c: Likewise.
34742 * math/w_j1l.c: Likewise.
34743 * math/w_jn.c: Likewise.
34744 * math/w_jnf.c: Likewise.
34745 * math/w_log.c: Likewise.
34746 * math/w_log10.c: Likewise.
34747 * math/w_log10f.c: Likewise.
34748 * math/w_log10l.c: Likewise.
34749 * math/w_log2.c: Likewise.
34750 * math/w_log2f.c: Likewise.
34751 * math/w_log2l.c: Likewise.
34752 * math/w_logf.c: Likewise.
34753 * math/w_logl.c: Likewise.
34754 * math/w_sqrt.c: Likewise.
34755 * math/w_sqrtf.c: Likewise.
34756 * math/w_sqrtl.c: Likewise.
34757 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34758 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34759 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34760 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34761 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34762
ebaf36eb
JM
347632012-02-19 Joseph Myers <joseph@codesourcery.com>
34764
34765 [BZ #9739]
34766 * manual/string.texi (strnlen): Use correct parameter name in
34767 equivalent expression.
34768
71c254a6
JM
347692012-02-19 Joseph Myers <joseph@codesourcery.com>
34770
34771 [BZ #11174]
34772 * manual/users.texi (seteuid): Consistently use neweuid for
34773 argument name.
34774
16d2c631
JM
347752012-02-19 Joseph Myers <joseph@codesourcery.com>
34776
34777 [BZ #13704]
34778 * manual/nss.texi (Services in the NSS configuration): Correct
34779 list of services in example configuration file.
34780
cd837b09
NB
347812012-02-19 Nick Bowler <nbowler@draconx.ca>
34782
34783 [BZ #11322]
34784 * manual/arith.texi: Remove statements about negative zero
34785 behaving identically to zero.
34786
02c4bbad
JM
347872012-02-18 Joseph Myers <joseph@codesourcery.com>
34788
34789 [BZ #5993]
34790 * manual/install.texi: Do not document upgrading from libc5.
34791
366842e7
JM
347922012-02-18 Joseph Myers <joseph@codesourcery.com>
34793
34794 [BZ #4596]
34795 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34796
dd54084d
DM
347972012-02-18 David S. Miller <davem@davemloft.net>
34798
34799 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34800 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34801 %o7 across the call.
34802 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34803 instead.
34804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34805 SETUP_PIC_REG_LEAF.
34806 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34807 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34808 * sysdeps/sparc/crtn.S: Likewise.
34809
2bcc53a3
UD
348102012-02-17 Ulrich Drepper <drepper@gmail.com>
34811
34812 * aout/Makefile: Remove.
34813
09c093b5
RK
348142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34815
34816 [BZ #13058]
34817 * manual/examples/argp-ex1.c (main): Format definition in GNU
34818 style.
34819 * manual/examples/argp-ex2.c (main): Likewise.
34820 * manual/examples/argp-ex3.c (main): Likewise.
34821 * manual/examples/argp-ex4.c (main): Likewise.
34822 * manual/examples/longopt.c (main): Use new-style prototype
34823 definition.
34824 * manual/examples/strncat.c (main): Specify return type and use
34825 (void) for arguments.
34826 * manual/examples/subopt.c (main): Use char **argv argument.
34827
2ee633a2
JM
348282012-02-17 Joseph Myers <joseph@codesourcery.com>
34829
34830 [BZ #5077]
34831 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34832 rounding modes.
34833
0520adde
FB
348342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34835
34836 [BZ #6907]
34837 * manual/string.texi (strchr): Change when strchrnul is
34838 recommended.
34839
3f4081cd
DGM
348402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34841
34842 [BZ #174]
34843 * manual/locale.texi (setlocale): Document LOCPATH.
34844
d1b10e78
JM
348452012-02-17 Joseph Myers <joseph@codesourcery.com>
34846
34847 [BZ #10210]
34848 * manual/process.texi (execle): Move @dots{} before last argument.
34849
79c6869c
PB
348502012-02-17 Paul Bolle <pebolle@tiscali.nl>
34851
34852 [BZ #12047]
34853 * manual/charset.texi (Generic Charset Conversion): Fix typo
34854 (LC_TYPE -> LC_CTYPE).
34855
cc6e48bc
NB
348562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34857
34858 [BZ #5805]
34859 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34860 (scalbnf): Likewise.
34861 (scalbnl): Likewise.
34862 (scalbln): Likewise.
34863 (scalblnf): Likewise.
34864 (scalblnl): Likewise.
34865 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34866 (vwarnx): Likewise.
34867 (verr): Likewise.
34868 (verrx): Likewise.
34869 * manual/filesys.texi (telldir): Use braces around return type.
34870 * manual/llio.texi (mmap): Add space after comma.
34871 (mmap64): Likewise.
34872 * manual/math.texi (jn): Use @var{} on parameter names.
34873 (jnf): Likewise.
34874 (jnl): Likewise.
34875 (yn): Likewise.
34876 (ynf): Likewise.
34877 (ynl): Likewise.
34878 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34879 line.
34880 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34881 "...".
34882 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34883 (sched_get_priority_max): Likewise.
34884 * manual/signal.texi (sigvec): Add space after comma.
34885 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34886 names.
34887 (if_indextoname): Likewise.
34888 (if_freenameindex): Likewise.
34889 (sendto): Use ',' instead of '.' in prototype.
34890 * manual/startup.texi (syscall): Use @dots{} instead of literal
34891 "...".
34892 * manual/stdio.texi (__fpending): Separate initial words of
34893 paragraph from @deftypefun line.
34894 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34895 "...".
34896 (vsyslog): Use @var{} on parameter names.
34897 * manual/terminal.texi (stty): Use @var{} on parameter names.
34898 * manual/users.texi (getutmp): Use @var{} on parameter names.
34899 (getutmpx): Likewise.
34900
5b23062f
JM
349012012-02-17 Joseph Myers <joseph@codesourcery.com>
34902
34903 [BZ #6884]
34904 * manual/stdio.texi (fopen): Fix typos in description of
34905 ",ccs=STRING".
34906
8dee4833
AJ
349072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34908
34909 [BZ #4026]
34910 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34911 get clock_id definition.
34912
9078ce93
TS
349132012-02-17 Thomas Schwinge <thomas@schwinge.name>
34914
34915 [BZ #4822]
34916 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34917 (madvise): Cast every argument to void on its own.
34918
3835c55f
JM
349192012-02-17 Joseph Myers <joseph@codesourcery.com>
34920
34921 [BZ #9902]
34922 * manual/startup.texi (Exit Status): Fix typo.
34923
35c47e37
JM
349242012-02-17 Joseph Myers <joseph@codesourcery.com>
34925
34926 [BZ #10140]
34927 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34928 * manual/examples/argp-ex2.c: Likewise.
34929 * manual/examples/argp-ex3.c: Likewise.
34930
e3b69ca7
RH
349312012-02-16 Richard Henderson <rth@redhat.com>
34932
34933 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34934 * sysdeps/s390/s390-32/initfini.c: Remove.
34935 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34936 * sysdeps/s390/s390-64/initfini.c: Remove.
34937
df83af67
KK
349382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34939
34940 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34941 compiler output for sysdeps/generic/initfini.c.
34942 * sysdeps/sh/elf/initfini.c: Remove file.
34943
f63f3380
DM
349442012-02-16 David S. Miller <davem@davemloft.net>
34945
fb59b3a4
DM
34946 [BZ #11494]
34947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34948
f63f3380
DM
34949 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34950 * sysdeps/sparc/crti.S: New file.
34951 * sysdeps/sparc/crtn.S: New file.
34952 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34953 * sysdeps/sparc/sparc64/Makefile: Likewise.
34954
df6a4a4a
MF
349552012-02-15 Mike Frysinger <vapier@gentoo.org>
34956
6dd8f3dc 34957 [BZ #3335]
df6a4a4a
MF
34958 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34959
1cac7236
RM
349602012-02-15 Roland McGrath <roland@hack.frob.com>
34961
d2c736f8
RM
34962 [BZ #4822]
34963 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34964
1cac7236
RM
34965 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34966 (write, read, close): Likewise.
34967 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34968
8e475601
JM
349692012-02-15 Joseph Myers <joseph@codesourcery.com>
34970
34971 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34972 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34973 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34974 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34975 <bits/signalfd.h>.
34976 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34978 bits/signalfd.h.
34979
ed656b40
MP
349802012-02-14 Marek Polacek <polacek@redhat.com>
34981
34982 * sysdeps/x86_64/crti.S: New file.
34983 * sysdeps/x86_64/crtn.S: New file.
34984 * sysdeps/x86_64/elf/initfini.c: Remove file.
34985
2a979d3a
JM
349862012-02-13 Joseph Myers <joseph@codesourcery.com>
34987
34988 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34989 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34990 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34991 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34992 <bits/inotify.h>.
34993 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34995 bits/inotify.h.
34996
2a418ac3
JM
349972012-02-13 Joseph Myers <joseph@codesourcery.com>
34998
34999 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35000 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35001 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35002 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35003 <bits/eventfd.h>.
35004 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35006 bits/eventfd.h.
35007
fb779be7
TS
350082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35009
e19e83c5
RM
35010 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35011 __feraiseexcept instead of feraiseexcept.
7c35ffed 35012
fb779be7
TS
35013 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35014 nanosleep invocations.
35015 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35016 strings, and add error checking for a nanosleep invocations.
35017
59ba27a6
PE
350182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35019
35020 Replace FSF snail mail address with URLs, as per GNU coding standards.
35021 Most of the snail mail addresses were wrong anyway, and omitting
35022 them makes the source code easier to maintain. Almost all of the
35023 changes are to license notices and to locale LC_IDENTIFICATION
35024 addresses, except for this one:
35025 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35026 not its snail mail address.
35027
57b957eb
RH
350282012-02-09 Richard Henderson <rth@twiddle.net>
35029
af850b1c
RH
35030 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35031 of kernel-features.h.
35032
57b957eb
RH
35033 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35034
6b73181a
MP
350352012-02-08 Marek Polacek <polacek@redhat.com>
35036
35037 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35038 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35039 * sysdeps/gnu/_G_config.h: Likewise.
35040 * sysdeps/generic/_G_config.h: Likewise.
35041
26ecc33a
AS
350422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35043
6c6dbc63
AS
35044 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35045 tests.
35046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35047
e216c012
AS
35048 * sysdeps/powerpc/powerpc32/crti.S: New file.
35049 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35050 * sysdeps/powerpc/powerpc64/crti.S: New file.
35051 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35052
26ecc33a
AS
35053 * Makeconfig (have-initfini): Don't set.
35054 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35055 * configure.in (nopic_initfini): Don't substitute.
35056 * config.h.in (HAVE_INITFINI): Don't #undef.
35057 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35058 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35059
3add8e13
JM
350602012-02-08 Joseph Myers <joseph@codesourcery.com>
35061
35062 Support crti.S and crtn.S provided directly by architectures.
35063 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35064 [crti.S in sysdirs] (omit-deps): Likewise.
35065 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35066 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35067 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35068 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35069 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35070 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35071 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35072 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35073 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35074 compiler output for sysdeps/generic/initfini.c.
35075 * sysdeps/i386/elf/Makefile: Remove file.
35076 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35077
a22f12b4
MP
350782012-02-07 Marek Polacek <polacek@redhat.com>
35079
35080 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35081 * sysdeps/gnu/_G_config.h: Likewise.
35082 * sysdeps/mach/hurd/_G_config.h: Likewise.
35083
148cf100
MP
350842012-02-07 Marek Polacek <polacek@redhat.com>
35085
35086 * math/Makefile (tests): Add tst-CMPLX2.
35087 * math/tst-CMPLX2.c: New file.
35088
cfdc0dd7
AS
350892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35090
84ba42c4
AS
35091 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35092
cfdc0dd7
AS
35093 * math/libm-test.inc (jn_test): Add missing L suffix.
35094
622c86f4
MP
350952012-02-06 Marek Polacek <polacek@redhat.com>
35096
35097 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35098 * sysdeps/i386/fpu/e_powf.S: Likewise.
35099 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35100 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35101 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35102 * sysdeps/i386/fpu/e_pow.S: Likewise.
35103 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35104 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35105 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35106 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35107 * sysdeps/i386/fpu/e_log2.S: Likewise.
35108 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35109 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35110 * sysdeps/i386/fpu/e_powl.S: Likewise.
35111 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35112 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35113 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35114 * sysdeps/i386/fpu/e_logl.S: Likewise.
35115 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35116 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35117 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35118 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35119 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35120 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35121 * sysdeps/i386/fpu/e_log.S: Likewise.
35122 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35123 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35124 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35125 * sysdeps/i386/fpu/e_logf.S: Likewise.
35126 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35127 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35128 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35129 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35130 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35131 * sysdeps/i386/fpu/e_log10.S: Likewise.
35132 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35133 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35134 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35135 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35136 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35137 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35138 * sysdeps/i386/asm-syntax.h: Likewise.
35139 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35140 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35141 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35142 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35143 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35144 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35145 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35146 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35147 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35148 * sysdeps/powerpc/sysdep.h: Likewise.
35149 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35150 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35151
d4a54ac6
JM
351522012-02-06 Joseph Myers <joseph@codesourcery.com>
35153
35154 [BZ #411]
35155 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35156
314054ea
JM
351572012-02-06 Joseph Myers <joseph@codesourcery.com>
35158
35159 * sysdeps/i386/sysdep.h: Include <features.h>.
35160 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35161 version.
35162
d8e0ca50
JM
351632012-02-05 Joseph Myers <joseph@codesourcery.com>
35164
35165 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35166 Define.
35167 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35168 LOAD_PIC_REG_STR.
35169
b1da7dd9
JM
351702012-02-03 Joseph Myers <joseph@codesourcery.com>
35171
35172 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35173 (SETUP_PIC_REG): Use GET_PC_THUNK.
35174 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35175 macro.
35176
9a1d9254
JM
351772012-02-03 Joseph Myers <joseph@codesourcery.com>
35178
35179 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35180 for non-PIC compilation.
35181 (SETUP_PIC_REG): Add .p2align directive.
35182 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35183 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35184 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35185 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35186 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35187 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35188 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35189 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35190 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35191 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35192 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35193 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35194 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35195 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35196 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35197 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35198 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35199 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35200 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35201 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35202 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35203 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35204 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35205 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35206 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35207 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35208 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35209 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35210 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35211 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35212 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35213 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35214 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35215 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35216 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35217 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35218 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35219 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35220 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35221 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35222 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35223
65dc3b75
JM
352242012-02-03 Joseph Myers <joseph@codesourcery.com>
35225
35226 * math/tst-CMPLX.c: Include <stdio.h>.
35227
d55bf177
JM
352282012-01-31 Joseph Myers <joseph@codesourcery.com>
35229
35230 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35231 float.
35232 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35233 * sysdeps/sparc/bits/mathdef.h: Likewise.
35234
69db4f8f
MP
352352012-01-31 Marek Polacek <polacek@redhat.com>
35236
35237 * libio/libio.h: Don't define _PARAMS.
35238 * locale/programs/config.h: Don't define PARAMS.
35239 * stdlib/strtol_l.c: Likewise.
35240 (__strtol_l): Remove PARAMS from the prototype.
35241
41b81892
UD
352422012-01-31 Ulrich Drepper <drepper@gmail.com>
35243
3b49edc0
UD
35244 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35245 names. Just use the correct names. Remove unnecessary wrapper
35246 functions.
35247 * malloc/arena.c: Likewise.
35248 * malloc/hooks.c: Likewise.
35249
41b81892
UD
35250 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35251 ARENA_TEST says not to. Simplify test for creation of a new arena.
35252 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35253
27a25b6e
UD
352542012-01-30 Ulrich Drepper <drepper@gmail.com>
35255
35256 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35257 into tail calls.
35258 (update_get_addr): New function.
35259 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35260 GET_ADDR_MODULE parameter.
35261
c8a89e7d
JM
352622012-01-30 Joseph Myers <joseph@codesourcery.com>
35263
35264 * crypt/cert.c: Remove __STDC__ conditionals.
35265 * crypt/crypt-entry.c: Likewise.
35266 * crypt/crypt_util.c: Likewise.
35267 * libio/filedoalloc.c: Likewise.
35268 * libio/fileops.c: Likewise.
35269 * libio/genops.c: Likewise.
35270 * libio/iofclose.c: Likewise.
35271 * libio/iofdopen.c: Likewise.
35272 * libio/iofopen.c: Likewise.
35273 * libio/iofopen64.c: Likewise.
35274 * libio/iogetdelim.c: Likewise.
35275 * libio/iopopen.c: Likewise.
35276 * libio/obprintf.c: Likewise.
35277 * libio/oldfileops.c: Likewise.
35278 * libio/oldiofclose.c: Likewise.
35279 * libio/oldiofdopen.c: Likewise.
35280 * libio/oldiofopen.c: Likewise.
35281 * libio/oldiopopen.c: Likewise.
35282 * libio/wfiledoalloc.c: Likewise.
35283 * libio/wgenops.c: Likewise.
35284 * locale/programs/xmalloc.c: Likewise.
35285 * misc/syslog.c: Likewise.
35286 * stdio-common/xbug.c: Likewise.
35287 * string/memchr.c: Likewise.
35288 * string/memcmp.c: Likewise.
35289 * string/memrchr.c: Likewise.
35290 * string/rawmemchr.c: Likewise.
35291 * sysdeps/posix/getcwd.c: Likewise.
35292 * time/strftime_l.c: Likewise.
35293
3b100462
JM
352942012-01-30 Joseph Myers <joseph@codesourcery.com>
35295
35296 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35297 * config.make.in (config-cflags-sse2avx): Define.
35298 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35299 Fix typo.
35300
607998af
CM
353012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35302
35303 * scripts/config.guess: Update from upstream config git repository.
35304 * scripts/config.sub: Likewise.
35305
3601428f
CM
353062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35307
3ac8b282
CM
35308 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35309 (EM_NUM): Update.
35310 (R_TILEPRO_*, R_TILEGX_*): New macros.
35311
e034841e
CM
35312 * scripts/firstversions.awk: Fix bug in version range handling.
35313
540d7568
CM
35314 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35315
3601428f
CM
35316 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35317
463de862
CM
35318 * include/sys/epoll.h: New file.
35319 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35320 libc_hidden_def.
35321
73139a76
UD
353222012-01-28 Ulrich Drepper <drepper@gmail.com>
35323
96bc5b45
UD
35324 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35325 Avoid unnecessary __WORDSIZE == 64 test.
35326 (fmaxf): Use VEX format if possible.
35327 (fmax): Likewise.
35328 (fminf): Likewise.
35329 (fmin): Likewise.
35330
56f6f6a2
UD
35331 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35332 * math/math_private.h: Remove libc_fegetround* and
35333 libc_fesetround*.
35334 * sysdeps/i386/configure.in: Check for -msse2avx.
35335 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35336 also if SSE2AVX is defined.
35337 Remove libc_fegetround* and libc_fesetround*.
35338 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35339 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35340 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35341 of HAS_YMM_USABLE.
35342 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35343 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35344 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35345 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35346 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35347
73139a76
UD
35348 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35349
d73f93a4
AZ
353502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35351
35352 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35353 size is not set.
35354 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35355
6ee65ed6
UD
353562012-01-27 Ulrich Drepper <drepper@gmail.com>
35357
35358 [BZ #13618]
35359 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35360 relocation.
35361 * Makeconfig (libm): Define.
35362 * elf/Makefile: Add rules to build and run tst-relsort1.
35363 * elf/tst-relsort1.c: New file.
35364 * elf/tst-relsort1mod1.c: New file.
35365 * elf/tst-relsort1mod2.c: New file.
35366
8db21882
JM
353672012-01-27 Joseph Myers <joseph@codesourcery.com>
35368
35369 * math/s_ldexp.c: Remove __STDC__ conditionals.
35370 * math/s_ldexpf.c: Likewise.
35371 * math/s_ldexpl.c: Likewise.
35372 * math/s_nextafter.c: Likewise.
35373 * math/s_nexttowardf.c: Likewise.
35374 * math/s_significand.c: Likewise.
35375 * math/s_significandf.c: Likewise.
35376 * math/s_significandl.c: Likewise.
35377 * math/w_jnl.c: Likewise.
35378 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35379 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35380 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35381 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35382 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35383 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35384 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35385 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35386 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35387 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35388 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35389 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35390 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35391 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35392 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35393 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35394 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35395 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35396 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35397 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35398 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35399 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35400 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35402 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35403 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35404 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35405 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35406 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35407 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35408 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35409 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35410 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35411 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35412 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35413 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35414 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35415 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35416 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35417 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35418 * sysdeps/ieee754/k_standard.c: Likewise.
35419 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35420 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35421 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35422 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35423 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35424 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35425 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35426 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35427 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35428 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35429 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35430 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35431 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35432 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35433 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35434 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35435 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35436 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35437 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35438 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35439 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35440 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35441 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35442 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35443 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35444 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35446 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35447 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35448 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35449 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35450 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35451 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35452 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35453 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35454 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35455 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35456 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35458 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35459 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35460 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35461 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35462 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35463 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35464 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35465 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35466 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35467 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35468 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35469 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35470 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35471 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35472 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35473 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35474 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35475 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35476 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35477 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35478 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35479 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35480 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35481 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35482 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35483 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35484 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35485 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35486 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35487 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35488 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35489 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35490 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35491 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35492 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35493 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35494 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35495 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35496 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35497 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35498 * sysdeps/ieee754/s_matherr.c: Likewise.
35499 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35500 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35502 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35503
965a54a4
JM
355042012-01-26 Joseph Myers <joseph@codesourcery.com>
35505
35506 * crypt/md5.h: Remove __STDC__ conditionals.
35507 * libio/libioP.h: Likewise.
35508 * locale/programs/config.h: Likewise.
35509 * sysdeps/generic/sysdep.h: Likewise.
35510 * sysdeps/i386/asm-syntax.h: Likewise.
35511 * sysdeps/s390/asm-syntax.h: Likewise.
35512 * sysdeps/unix/sysdep.h: Likewise.
35513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35515
7071ad79
JM
355162012-01-26 Joseph Myers <joseph@codesourcery.com>
35517
35518 * libio/libio.h: Remove __STDC__ conditionals.
35519 * malloc/obstack.h: Likewise.
35520 * math/complex.h: Likewise.
35521 * math/math.h: Likewise.
35522 * sysdeps/generic/_G_config.h: Likewise.
35523 * sysdeps/gnu/_G_config.h: Likewise.
35524 * sysdeps/mach/hurd/_G_config.h: Likewise.
35525 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35526 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35527 * sysdeps/sparc/bits/mathdef.h: Likewise.
35528
afc5ed09
UD
355292012-01-26 Ulrich Drepper <drepper@gmail.com>
35530
35531 [BZ #13583]
35532 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35533 Clean up HAS_* macros.
afc5ed09 35534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35535 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35536 possible.
35537 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35538 HAS_AVX.
35539 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35540 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35541 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35542 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35543 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35544
bdb6de1d
JM
355452012-01-25 Joseph Myers <joseph@codesourcery.com>
35546
35547 * elf/tst-unique3.cc (gets): Remove declaration.
35548 * elf/tst-unique3lib.cc (gets): Likewise.
35549 * elf/tst-unique3lib2.cc (gets): Likewise.
35550 * elf/tst-unique4.cc (gets): Likewise.
35551
b15549e6
UD
355522012-01-24 Ulrich Drepper <drepper@gmail.com>
35553
35554 * include/stdio.h: Add C++ protection. Add gets declarations and
35555 definitions.
35556 * debug/tst-chk1.c: Don't declare gets here.
35557 * stdio-common/tst-gets.c: Likewise.
35558
a037381f
JM
355592012-01-24 Joseph Myers <joseph@codesourcery.com>
35560
35561 * posix/glob: Remove directory.
35562
f1d4aa75
JM
355632012-01-24 Joseph Myers <joseph@codesourcery.com>
35564
35565 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35566
81c0c964
PT
355672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35568
35569 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35570 of the non-standard EPFNOSUPPORT.
35571
0ea698ae
ST
355722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35573
35574 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35575 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35576 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35577
d220b117
UD
355782012-01-21 Ulrich Drepper <drepper@gmail.com>
35579
35580 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35581
3e1aa84e
UD
355822012-01-20 Ulrich Drepper <drepper@gmail.com>
35583
35584 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35585 transient errors.
35586 * nscd/grpcache.c (cache_addgr): Likewise.
35587 * nscd/hstcache.c (cache_addhst): Likewise.
35588 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35589 * nscd/pwdcache.c (cache_addpw): Likewise.
35590 * nscd/servicescache.c (cache_addserv): Likewise.
35591
400aa020
UD
355922012-01-16 Ulrich Drepper <drepper@gmail.com>
35593
d77e7869
UD
35594 * malloc/malloc.c: Various cleanups.
35595 * malloc/hooks.c: Likewise.
35596
400aa020
UD
35597 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35598 * stdlib/bug-fmtmsg1.c: New file.
35599
35600 * stdlib/fmtmsg.c (init): Add missing unlock.
35601 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35602
e0a309cf
MP
356032012-01-12 Marek Polacek <polacek@redhat.com>
35604
35605 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35606 and _GNU_SOURCE.
35607
929d11c7
WS
356082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35609
35610 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35611 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35612 macro to ensure uniqueness of label name.
35613 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35614 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35615
41d0e869
UD
356162012-01-11 Ulrich Drepper <drepper@gmail.com>
35617
0cc5ed3b
UD
35618 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35619
41d0e869
UD
35620 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35621 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35622 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35624
a47a831a
UD
356252012-01-10 Ulrich Drepper <drepper@gmail.com>
35626
daa891c0
UD
35627 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35628
35629 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35630 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35631 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35632
e58ef0f2
UD
35633 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35634
a47a831a 35635 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35636 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35637 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35638 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35639
35640 * math/bits/math-finite.h: Add ldexp support.
35641
a0bfc9c7
MP
356422012-01-10 Marek Polacek <polacek@redhat.com>
35643
35644 * locale/programs/localedef.h (show_archive_content): Add noreturn
35645 attribute.
35646
d6e97a1d
UD
356472012-01-09 Ulrich Drepper <drepper@gmail.com>
35648
35649 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35650
d5835c26
UD
356512012-01-08 Ulrich Drepper <drepper@gmail.com>
35652
e5f484c6
UD
35653 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35654
d5835c26
UD
35655 * io/Makefile (headers): Add bits/poll2.h.
35656
d1f741e9
WS
356572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35658
35659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35660 typo #include statement.
35661
ec09c1c4
UD
356622012-01-08 Ulrich Drepper <drepper@gmail.com>
35663
35664 * include/sys/cdefs.h: Define __attribute_alloc_size.
35665 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35666 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35667 * elf/pldd.c: Likewise.
35668 * iconv/iconv_charmap.c: Likewise.
35669 * iconv/iconvconfig.c: Likewise.
35670 * iconv/strtab.c: Likewise.
35671 * locale/programs/locale.c: Likewise.
35672 * locale/programs/localedef.h: Likewise.
35673 * locale/programs/simple-hash.c: Likewise.
35674 * nscd/nscd.h: Likewise.
35675 * nss/makedb.c: Likewise.
35676 * sysdeps/generic/ldconfig.h: Likewise.
35677 * locale/programs/localedef.c: Remove xmalloc prototype.
35678 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35679
20b38e03
PP
356802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35681
35682 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35683 appropriate.
35684
a0da5fe1
UD
356852012-01-08 Ulrich Drepper <drepper@gmail.com>
35686
1d5a644a 35687 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35688 * math/tst-CMPLX.c: New file.
1d5a644a 35689
8784a6db
UD
35690 * math/complex.h (CMPLXL): Fix typo.
35691
d9a216c0
UD
35692 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35693 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35694 GLIBC_2.16.
35695 * debug/tst-chk1.c: Add poll and ppoll tests.
35696 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35697 * include/sys/poll.h: Add hidden proto for ppoll.
35698 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35699 * sysdeps/mach/hurd/ppoll.c: Likewise.
35700 * io/ppoll.c: Likewise.
35701 * debug/poll_chk.c: New file.
35702 * debug/ppoll_chk.c: New file.
35703 * include/bits/poll2.h: New file.
35704 * io/bits/poll2.h: New file.
35705
ac097f5c
UD
35706 [BZ #1350]
35707 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35708
2119dcfa
UD
35709 * configure.in: static is always set to yes. Remove.
35710 * config.make.in: Don't set build-static.
35711 * Makeconfig: Remove use of build-static.
35712 * dlfcn/Makefile: Likewise.
35713 * elf/Makefile: Likewise.
35714 * math/Makefile: Likewise.
35715 * misc/Makefile: Likewise.
35716 * nptl/Makefile: Likewise.
35717 * sysdeps/mach/hurd/Makefile: Likewise.
35718
121766a9
UD
35719 * configure.in: PWD_P is not used anymore.
35720 * config.make.in: Remove PWD_P entry.
35721
51a1d39c 35722 * configure.in: Remove last remnants of RANLIB.
8720d066 35723 No need to check for signed size_t anymore.
215f4bdc
UD
35724 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35725 and IA-64.
3857022a 35726 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35727 * aclocal.m4: Likewise.
35728
d3ed7225
UD
35729 * wcsmbs/mbrtoc16.c: Implement using towc function.
35730 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35731 * wcsmbs/wcsmbsload.c: Likewise.
35732 * iconv/gconv_simple.c: Likewise.
35733 * iconv/gconv_int.h: Likewise.
35734 * iconv/gconv_builtin.h: Likewise.
35735 * iconv/iconv_prog.c: Remove CHAR16 handling.
35736
35737 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35738
35739 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35740
a0da5fe1
UD
35741 * configure.in: Remove --with-elf and --enable-bounded options.
35742 Dont set base_machine for ia64. More non-ELF conditions removed.
35743 Remove testing and setting of leading underscore information.
35744 * config.make.in (build-bounded): Set to no.
35745 * config.h.in: Remove NO_UNDERSCORES entry.
35746 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35747 them.
35748 * csu/start.c: Remove !NO_UNDERSCORE code.
35749 * locale/localeinfo.h: Likewise.
35750 * sysdeps/generic/machine-gmon.h: Likewise.
35751 * sysdeps/generic/sysdep.h: Likewise.
35752 * sysdeps/i386/sysdep.h: Likewise.
35753 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35754 * sysdeps/mach/sysdep.h: Likewise.
35755 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35756 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35757 * sysdeps/sh/sysdep.h: Likewise.
35758 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35759 * sysdeps/unix/i386/sysdep.S: Likewise.
35760 * sysdeps/unix/sparc/start.c: Likewise.
35761 * sysdeps/unix/sparc/sysdep.S: Likewise.
35762 * sysdeps/unix/sparc/sysdep.h: Likewise.
35763 * sysdeps/unix/start.c: Likewise.
35764 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35765 * sysdeps/x86_64/sysdep.h: Likewise.
35766
df78418a
UD
357672012-01-07 Ulrich Drepper <drepper@gmail.com>
35768
a784e502
UD
35769 [BZ #13553]
35770 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35771 for non-gcc.
35772 * argp/argp-fmtstream.h: Use const instead __const.
35773 * argp/argp.h: Likewise.
35774 * assert/assert.h: Likewise.
35775 * bits/fenv.h: Likewise.
35776 * bits/sched.h: Likewise.
35777 * bits/sigset.h: Likewise.
35778 * bits/sigthread.h: Likewise.
35779 * catgets/nl_types.h: Likewise.
35780 * conform/data/pthread.h-data: Likewise.
35781 * crypt/crypt-private.h: Likewise.
35782 * crypt/crypt.h: Likewise.
35783 * crypt/crypt_util.c: Likewise.
35784 * ctype/ctype.h: Likewise.
35785 * debug/execinfo.h: Likewise.
35786 * debug/mbsnrtowcs_chk.c: Likewise.
35787 * debug/mbsrtowcs_chk.c: Likewise.
35788 * debug/wcsnrtombs_chk.c: Likewise.
35789 * debug/wcsrtombs_chk.c: Likewise.
35790 * debug/wcstombs_chk.c: Likewise.
35791 * dirent/dirent.h: Likewise.
35792 * dlfcn/dlfcn.h: Likewise.
35793 * elf/neededtest4.c: Likewise.
35794 * grp/grp.h: Likewise.
35795 * gshadow/gshadow.h: Likewise.
35796 * iconv/gconv.h: Likewise.
35797 * iconv/gconv_int.h: Likewise.
35798 * iconv/gconv_simple.c: Likewise.
35799 * iconv/iconv.h: Likewise.
35800 * iconv/loop.c: Likewise.
35801 * iconv/skeleton.c: Likewise.
35802 * include/aio.h: Likewise.
35803 * include/aliases.h: Likewise.
35804 * include/argz.h: Likewise.
35805 * include/arpa/inet.h: Likewise.
35806 * include/assert.h: Likewise.
35807 * include/dirent.h: Likewise.
35808 * include/dlfcn.h: Likewise.
35809 * include/execinfo.h: Likewise.
35810 * include/fcntl.h: Likewise.
35811 * include/fenv.h: Likewise.
35812 * include/glob.h: Likewise.
35813 * include/grp.h: Likewise.
35814 * include/libintl.h: Likewise.
35815 * include/mntent.h: Likewise.
35816 * include/netdb.h: Likewise.
35817 * include/pwd.h: Likewise.
35818 * include/rpc/netdb.h: Likewise.
35819 * include/sched.h: Likewise.
35820 * include/search.h: Likewise.
35821 * include/shadow.h: Likewise.
35822 * include/signal.h: Likewise.
35823 * include/stdio.h: Likewise.
35824 * include/stdlib.h: Likewise.
35825 * include/string.h: Likewise.
35826 * include/sys/socket.h: Likewise.
35827 * include/sys/stat.h: Likewise.
35828 * include/sys/statfs.h: Likewise.
35829 * include/sys/statvfs.h: Likewise.
35830 * include/sys/syslog.h: Likewise.
35831 * include/sys/time.h: Likewise.
35832 * include/sys/uio.h: Likewise.
35833 * include/time.h: Likewise.
35834 * include/unistd.h: Likewise.
35835 * include/utmp.h: Likewise.
35836 * include/wchar.h: Likewise.
35837 * include/wctype.h: Likewise.
35838 * inet/aliases.h: Likewise.
35839 * inet/arpa/inet.h: Likewise.
35840 * inet/netinet/ether.h: Likewise.
35841 * inet/netinet/in.h: Likewise.
35842 * intl/libintl.h: Likewise.
35843 * io/bits/fcntl2.h: Likewise.
35844 * io/fcntl.h: Likewise.
35845 * io/ftw.h: Likewise.
35846 * io/sys/poll.h: Likewise.
35847 * io/sys/stat.h: Likewise.
35848 * io/sys/statfs.h: Likewise.
35849 * io/sys/statvfs.h: Likewise.
35850 * io/utime.h: Likewise.
35851 * libio/bits/stdio.h: Likewise.
35852 * libio/bits/stdio2.h: Likewise.
35853 * libio/libio.h: Likewise.
35854 * libio/libioP.h: Likewise.
35855 * libio/stdio.h: Likewise.
35856 * locale/lc-ctype.c: Likewise.
35857 * locale/locale.h: Likewise.
35858 * login/utmp.h: Likewise.
35859 * malloc/arena.c: Likewise.
35860 * malloc/malloc.c: Likewise.
35861 * malloc/malloc.h: Likewise.
35862 * malloc/mcheck.c: Likewise.
35863 * malloc/mtrace.c: Likewise.
35864 * math/bits/mathcalls.h: Likewise.
35865 * math/fenv.h: Likewise.
35866 * math/math_private.h: Likewise.
35867 * misc/bits/error.h: Likewise.
35868 * misc/bits/syslog.h: Likewise.
35869 * misc/err.h: Likewise.
35870 * misc/error.h: Likewise.
35871 * misc/fstab.h: Likewise.
35872 * misc/mntent.h: Likewise.
35873 * misc/regexp.h: Likewise.
35874 * misc/search.h: Likewise.
35875 * misc/sgtty.h: Likewise.
35876 * misc/sys/mman.h: Likewise.
35877 * misc/sys/syslog.h: Likewise.
35878 * misc/sys/uio.h: Likewise.
35879 * misc/sys/xattr.h: Likewise.
35880 * misc/ttyent.h: Likewise.
35881 * nis/rpcsvc/ypclnt.h: Likewise.
35882 * nss/nss.h: Likewise.
35883 * posix/bits/unistd.h: Likewise.
35884 * posix/fnmatch.h: Likewise.
35885 * posix/glob.h: Likewise.
35886 * posix/sched.h: Likewise.
35887 * posix/spawn.h: Likewise.
35888 * posix/sys/wait.h: Likewise.
35889 * posix/unistd.h: Likewise.
35890 * posix/wordexp.h: Likewise.
35891 * pwd/pwd.h: Likewise.
35892 * resolv/netdb.h: Likewise.
35893 * resource/sys/resource.h: Likewise.
35894 * rt/aio.h: Likewise.
35895 * rt/bits/mqueue2.h: Likewise.
35896 * rt/mqueue.h: Likewise.
35897 * shadow/shadow.h: Likewise.
35898 * signal/signal.h: Likewise.
35899 * socket/send.c: Likewise.
35900 * socket/sendto.c: Likewise.
35901 * socket/sys/socket.h: Likewise.
35902 * stdio-common/printf.h: Likewise.
35903 * stdlib/bits/stdlib.h: Likewise.
35904 * stdlib/fmtmsg.h: Likewise.
35905 * stdlib/monetary.h: Likewise.
35906 * stdlib/stdlib.h: Likewise.
35907 * stdlib/ucontext.h: Likewise.
35908 * streams/stropts.h: Likewise.
35909 * string/argz.h: Likewise.
35910 * string/bits/string2.h: Likewise.
35911 * string/string.h: Likewise.
35912 * string/strings.h: Likewise.
35913 * sunrpc/rpc/auth.h: Likewise.
35914 * sunrpc/rpc/auth_des.h: Likewise.
35915 * sunrpc/rpc/clnt.h: Likewise.
35916 * sunrpc/rpc/netdb.h: Likewise.
35917 * sunrpc/rpc/pmap_clnt.h: Likewise.
35918 * sunrpc/rpc/xdr.h: Likewise.
35919 * sysdeps/generic/inttypes.h: Likewise.
35920 * sysdeps/generic/net/if.h: Likewise.
35921 * sysdeps/generic/sys/swap.h: Likewise.
35922 * sysdeps/gnu/net/if.h: Likewise.
35923 * sysdeps/gnu/utmpx.h: Likewise.
35924 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35925 * sysdeps/i386/i486/bits/string.h: Likewise.
35926 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35927 * sysdeps/s390/bits/string.h: Likewise.
35928 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35929 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35930 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35931 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35932 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35933 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35934 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35935 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35936 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35937 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35938 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35939 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35940 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35941 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35942 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35943 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35944 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35946 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35947 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35948 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35949 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35950 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35951 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35952 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35953 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35954 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35955 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35956 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35957 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35958 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35959 * sysvipc/sys/ipc.h: Likewise.
35960 * sysvipc/sys/msg.h: Likewise.
35961 * sysvipc/sys/sem.h: Likewise.
35962 * sysvipc/sys/shm.h: Likewise.
35963 * termios/termios.h: Likewise.
35964 * time/sys/time.h: Likewise.
35965 * time/time.h: Likewise.
35966 * wcsmbs/bits/wchar2.h: Likewise.
35967 * wcsmbs/uchar.h: Likewise.
35968 * wcsmbs/wchar.h: Likewise.
35969 * wctype/wctype.h: Likewise.
35970
0269750c
UD
35971 [BZ #13551]
35972 * Makeconfig: Remove all but ELF support including AIX support.
35973 * Makerules: Likewise.
35974 * config.h.in: Likewise.
35975 * config.make.in: Likewise.
35976 * configure: Likewise.
35977 * configure.in: Likewise.
35978 * csu/Makefile: Likewise.
35979 * csu/version.c: Likewise.
35980 * debug/Makefile: Likewise.
35981 * dlfcn/Makefile: Likewise.
35982 * elf/Makefile: Likewise.
35983 * extra-lib.mk: Likewise.
35984 * iconv/Makefile: Likewise.
35985 * include/libc-symbols.h: Likewise.
35986 * include/shlib-compat.h: Likewise.
35987 * resolv/Makefile: Likewise.
35988 * resolv/res_libc.c: Likewise.
35989 * rt/Makefile: Likewise.
35990 * sysdeps/i386/asm-syntax.h: Likewise.
35991 * sysdeps/i386/sysdep.h: Likewise.
35992 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35993 * sysdeps/mach/sysdep.h: Likewise.
35994 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35995 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35996 * sysdeps/s390/asm-syntax.h: Likewise.
35997 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35998 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35999 * sysdeps/sh/sysdep.h: Likewise.
36000 * sysdeps/unix/sparc/sysdep.h: Likewise.
36001 * sysdeps/wordsize-32/divdi3.c: Likewise.
36002 * sysdeps/x86_64/sysdep.h: Likewise.
36003
00bbd29b
UD
36004 * argp/Versions: Remove _argp_unlock_xxx.
36005
36006 [BZ #13559]
36007 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36008 * abilist/libBrokenLocale.abilist: Likewise.
36009 * abilist/libanl.abilist: Likewise.
36010 * abilist/libc.abilist: Likewise.
36011 * abilist/libcrypt.abilist: Likewise.
36012 * abilist/libdl.abilist: Likewise.
36013 * abilist/libm.abilist: Likewise.
36014 * abilist/libnsl.abilist: Likewise.
36015 * abilist/libpthread.abilist: Likewise.
36016 * abilist/libresolv.abilist: Likewise.
36017 * abilist/librt.abilist: Likewise.
36018 * abilist/libthread_db.abilist: Likewise.
36019 * abilist/libutil.abilist: Likewise.
36020 * abilist/libnss_db.abilist: New file.
36021
36022 * scripts/abilist.awk: Add support for indirect functions.
36023
a2693a0e
UD
36024 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36025
3f05895f
UD
36026 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36027
ecb6fb48
UD
36028 * shlib-versions: Remove entries for ports architectures.
36029
664f8cb9
UD
36030 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36031 files in ports.
36032 * elf/stackguard-macros.h: Remove support for IA-64.
36033 * elf/tst-auditmod1.c: Likewise.
36034 * sysdeps/generic/ldsodefs.h: Likewise.
36035
7ae81d88
UD
36036 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36037 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36038 configure files.
36039
bdeba135
UD
36040 [BZ #13552]
36041 * configure.in: Remove --enable-omitfp support.
36042 * FAQ.in: Adjust.
36043 * config.make.in: Likewise.
36044 * Makeconfig: Likewise.
36045 * manual/install.texi: Likewise.
36046
d75a0a62
UD
36047 In case anyone cares, the IA-64 architecture could move to ports.
36048 * sysdeps/ia64/*: Removed.
36049 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36050 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36051
dcc9756b
UD
36052 [BZ #13555]
36053 * configure.in: Remove entries for unsupported architectures.
36054
d3761ebc 36055 [BZ #13533]
9954432e
UD
36056 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36057 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36058 routines.
36059 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36060 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36061 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36062 fall back to using wcrtomb.
36063 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36064 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36065 renaming.
36066 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36067 * wcsmbs/tst-c16c32-1.c: New file.
36068
36069 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36070 local variable.
36071
c3a87236
UD
36072 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36073
28926a1b
UD
36074 * elf/tst-unique3.cc: Add explicit declaration of gets.
36075 * elf/tst-unique3lib.cc: Likewise.
36076 * elf/tst-unique3lib2.cc: Likewise.
36077 * elf/tst-unique4.cc: Likewise.
36078
df78418a
UD
36079 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36080
8ecd6b2a
JM
360812012-01-06 Joseph Myers <joseph@codesourcery.com>
36082
36083 [BZ #13566]
36084 * assert/assert.h (static_assert): Don't define for C++.
36085 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36086 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36087
9f115170
UD
360882012-01-03 Ulrich Drepper <drepper@gmail.com>
36089
5e0d0300
UD
36090 * iconv/loop.c (single loop): Fix assertion in storing of
36091 remaining bytes.
36092
9f115170
UD
36093 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36094
81fb02b0
UD
360952012-01-01 Ulrich Drepper <drepper@gmail.com>
36096
36097 * posix/getconf.c: Update copyright year.
36098 * nss/getent.c: Likewise.
a316c1f6 36099 * nss/makedb.c: Likewise.
81fb02b0
UD
36100 * iconv/iconvconfig.c: Likewise.
36101 * iconv/iconv_prog.c: Likewise.
36102 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36103 * elf/pldd.c: Likewise.
36104 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36105 * catgets/gencat.c: Likewise.
36106 * csu/version.c: Likewise.
36107 * elf/ldd.bash.in: Likewise.
36108 * elf/sprof.c (print_version): Likewise.
36109 * locale/programs/locale.c: Likewise.
36110 * locale/programs/localedef.c: Likewise.
a316c1f6 36111 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36112 * nscd/nscd.c (print_version): Likewise.
36113 * debug/xtrace.sh: Likewise.
36114 * malloc/memusage.sh: Likewise.
36115 * malloc/mtrace.pl: Likewise.
36116 * debug/catchsegv.sh: Likewise.
36117
2ba92745
JJ
361182011-12-30 Jakub Jelinek <jakub@redhat.com>
36119
36120 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36121 pure attribute.
36122
dadebdae
UD
361232011-12-24 Ulrich Drepper <drepper@gmail.com>
36124
d3761ebc 36125 [BZ #13533]
db6af3eb
UD
36126 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36127 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36128 transformations.
36129 * iconv/gconv_int.h: Likewise.
36130 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36131 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36132 from libc for GLIBC_2.16.
36133 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36134 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36135 * wcsmbs/uchar.h: Really define mbstate_t.
36136 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36137 * wcsmbs/c16rtomb.c: New file.
36138 * wcsmbs/mbrtoc16.c: New file.
36139 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36140 for C/POSIX locale.
36141 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36142 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36143
dadebdae
UD
36144 * wcsmbs/wchar.h: Add missing __restrict.
36145
67371b56
UD
361462011-12-23 Ulrich Drepper <drepper@gmail.com>
36147
74033a25
UD
36148 [BZ #13532]
36149 * time/Makefile (routines): Add timespec_get.
36150 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36151 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36152 timespec for ISO C11.
36153 * time/timespec_get.c: New file.
36154 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36155 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36156
380d7e87
UD
36157 [BZ #13531]
36158 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36159 * stdlib/stdlib.h: Declare aligned_alloc.
36160 * Versions.def: Add GLIBC_2.16 for libc.
36161 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36162
4e9e7a35
UD
36163 [BZ 13527]
36164 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36165 ISO C11.
36166
380d7e87 36167 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36168 code.
36169
03a71829
UD
36170 [BZ #13528]
36171 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36172
839e283e
UD
36173 [BZ #13529]
36174 * assert/assert.h (static_assert): Define.
36175
ce5294e2 36176 * version.h: Update for 2.16 development version.
90fa7312 36177
8d44e150 36178 [BZ #13526]
d7809905
UD
36179 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36180 _ISOC11_SOURCE.
36181
c0da14cd
UD
36182 * version.h (RELEASE): Bump for 2.15 release.
36183 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36184
530a3249
MP
36185 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36186 Patch by Marek Polacek <mpolacek@redhat.com>.
36187
67371b56
UD
36188 * bits/byteswap.h: Protect long long constants with __extension__.
36189 * sysdeps/i386/bits/byteswap.h: Likewise.
36190 * sysdeps/ia64/bits/byteswap.h: Likewise.
36191 * sysdeps/s390/bits/byteswap.h: Likewise.
36192 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36193
15db4de1
LD
361942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36195
36196 [BZ #13540]
bbe315ea
LD
36197 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36198 destination buffer.
15db4de1
LD
36199 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36200
2b2596b1
MP
362012011-12-23 Marek Polacek <polacek@redhat.com>
36202
36203 * elf/dl-addr.c (determine_info): Add inline keyword.
36204 * elf/tst-auditmod4b.c (check_avx): Likewise.
36205 * elf/tst-auditmod6b.c (check_avx): Likewise.
36206 * elf/tst-auditmod6c.c (check_avx): Likewise.
36207 * elf/tst-auditmod7b.c (check_avx): Likewise.
36208
70c6c246
UD
362092011-12-23 Ulrich Drepper <drepper@gmail.com>
36210
36211 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36212 !__SSE_MATH__.
36213
c044cf14
LD
362142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36215
15db4de1 36216 [BZ #13540]
c044cf14
LD
36217 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36218 processing for last bytes.
36219
6b13d9d9
BH
362202011-08-06 Bruno Haible <bruno@clisp.org>
36221
d455f537
BH
36222 [BZ #13061]
36223 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36224 U+0385, not to U+1FEE.
36225
6b13d9d9
BH
36226 [BZ #13062]
36227 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36228 entry for U+00A5 U+0301.
36229
db910efd
UD
362302011-12-22 Ulrich Drepper <drepper@gmail.com>
36231
27deeafc
UD
36232 [BZ #13166]
36233 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36234 buffer for the output is too small.
36235
aed9d171
UD
36236 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36237 optimization.
36238
db910efd
UD
36239 [BZ #13185]
36240 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36241 SSE flags if possible.
36242
2bd779ae
LD
362432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36244
e7f9dac3 36245 [BZ #13540]
2bd779ae
LD
36246 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36247 processing for last bytes.
36248
154bfc16
JM
362492011-12-22 Joseph Myers <joseph@codesourcery.com>
36250
36251 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36252 (syscall-list-default-options, syscall-list-default-condition)
36253 (syscall-list-includes): Define.
36254 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36255 list of ABIs and options and #if conditions for each ABI. Do not
36256 handle common syscalls between ABIs specially.
36257 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36258 Remove.
36259 (syscall-list-variants, syscall-list-32bit-options)
36260 (syscall-list-32bit-condition, syscall-list-64bit-options)
36261 (syscall-list-64bit-condition): Define.
36262 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36263 (syscall-list-variants, syscall-list-32bit-options)
36264 (syscall-list-32bit-condition, syscall-list-64bit-options)
36265 (syscall-list-64bit-condition): Define.
36266 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36267 Remove.
36268 (syscall-list-variants, syscall-list-32bit-options)
36269 (syscall-list-32bit-condition, syscall-list-64bit-options)
36270 (syscall-list-64bit-condition): Define.
36271 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36272 Remove.
36273 (syscall-list-variants, syscall-list-32bit-options)
36274 (syscall-list-32bit-condition, syscall-list-64bit-options)
36275 (syscall-list-64bit-condition): Define.
36276
21eaf3a5
UD
362772011-12-22 Ulrich Drepper <drepper@gmail.com>
36278
16c6f992
UD
36279 * locale/iso-639.def: Add brx entry.
36280
41043168
UD
36281 [BZ #13328]
36282 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36283 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36284
21eaf3a5
UD
36285 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36286 __feraiseexcept_renamed.
36287
e3a851a2
UD
362882011-12-21 Ulrich Drepper <drepper@gmail.com>
36289
4920765e
UD
36290 [BZ #13538]
36291 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36292 EPOLLET with unsigned values.
36293 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36294 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36295
e3a851a2
UD
36296 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36297 to large cancellation.
36298 * math/s_cacoshf.c: Likewise.
36299 * math/s_cacoshl.c: Likewise.
36300
b27e24b8
RK
363012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36302
36303 [BZ #13305]
aebefeee 36304 [BZ #12786]
b27e24b8
RK
36305 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36306 * math/s_cacoshf.c: Likewise.
36307 * math/s_cacoshl.c: Likewise.
36308
ee190f67
UD
363092011-12-21 Ulrich Drepper <drepper@gmail.com>
36310
36311 [BZ #13439]
36312 * iconv/gconv.h: Define __GCONV_SWAP.
36313 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36314 * iconvdata/utf-16.c: Likewise.
36315 * iconvdata/utf-32.c: Likewise.
36316
707f25df
AS
363172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36318
36319 [BZ #13524]
36320 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36321 numerator after shifting it by one limb.
36322
d2daaa1e
RÁE
363232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36324
36325 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36326 under [__USE_EXTERN_INLINES].
36327
a4647e72
UD
363282011-12-17 Ulrich Drepper <drepper@gmail.com>
36329
36330 [BZ #13446]
36331 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36332
f0b264f1
AZ
363332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36334
36335 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36336 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36337 optimized code.
36338 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36339 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36340 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36341 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36342 for strncasecmp/strncasecmp_l compilation.
36343 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36344 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36345
8ef4f244
MP
363462011-12-08 Marek Polacek <mpolacek@redhat.com>
36347
36348 [BZ #13484]
36349 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36350 of __asm__.
36351
97ac2654
UD
363522011-12-17 Ulrich Drepper <drepper@gmail.com>
36353
36354 [BZ #13506]
36355 * time/tzfile.c (__tzfile_read): Check values from file header.
36356
91d2a845
WS
363572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36358
36359 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36360 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36361 * powerpc/powerpc32/dl-start.S: Likewise.
36362 * powerpc/powerpc32/elf/start.S: Likewise.
36363 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36364 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36365 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36366 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36367 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36368 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36369 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36370 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36371 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36372 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36373 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36374 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36375 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36376 * powerpc/powerpc32/memset.S: Likewise.
36377 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36378 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36379 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36380 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36381 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36382 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36383 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36384 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36385 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36386 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36387 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36388 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36389 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36390
a1267ba1
AZ
363912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36392
36393 * math/libm-test.inc: Added more nearbyint tests.
36394 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36395 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36396 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36397 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36398
ad8ac1bd
RL
363992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36400
36401 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36402 FD_CLOEXEC.
36403
1d3e4b61
UD
364042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36405
36406 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36407 Add wcscpy-ssse3 wcscpy-c.
36408 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36409 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36410 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36411 * sysdeps/x86_64/wcschr.S: New file.
36412 * sysdeps/x86_64/wcsrchr.S: New file.
36413 * string/test-strcmp.c: Remove checking of wcscmp function for
36414 wrong alignments.
36415 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36416 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36417 wcsrchr-sse2 wcsrchr-c.
36418 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36419 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36420 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36421 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36422 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36423 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36424 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36425 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36426 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36427 * wcsmbc/wcschr.c (WCSCHR): New macro.
36428
5b330a2d
UD
364292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36430
36431 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36432 * wcsmbs/test-wcsrchr.c: New file.
36433 * string/test-strrchr.c: Add wcsrchr support.
36434 (WIDE): New macro.
36435 * wcsmbs/test-wcscpy.c: New file.
36436 * string/test-strcpy.c: Add wcscpy support.
36437 (WIDE): New macro.
26428b7c 36438
f039c043
UD
364392011-12-10 Ulrich Drepper <drepper@gmail.com>
36440
36441 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36442 the inner loop.
36443
850fb039
AS
364442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36445
36446 [BZ #13472]
36447 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36448
4efbd5cb
UD
364492011-12-04 Ulrich Drepper <drepper@gmail.com>
36450
52ff5dd0 36451 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36452 Minor optimizations.
52ff5dd0 36453
4efbd5cb
UD
36454 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36455 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36456 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36457
8a426e12
UD
364582011-12-03 Ulrich Drepper <drepper@gmail.com>
36459
aff2453d
UD
36460 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36461 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36462 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36463 for gcc to avoid warnings.
36464 * inet/Makefile (tests): Add tst-checks.
36465 * inet/tst-checks.c: New file.
36466
36467 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36468 warning.
36469
36470 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36471 __wmemcmp_sse2.
36472
36473 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36474 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36475
8a426e12
UD
36476 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36477
9bea3473
UD
364782011-12-02 Ulrich Drepper <drepper@gmail.com>
36479
3a965496
UD
36480 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36481 problem.
36482
9bea3473
UD
36483 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36484
f101631b
UD
364852011-11-29 Joseph Myers <joseph@codesourcery.com>
36486
36487 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36488 conditional on GCC version.
36489 (__arch_compare_and_exchange_val_8_acq)
36490 (__arch_compare_and_exchange_val_16_acq)
36491 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36492 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36493 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36494
a98275aa
UD
364952011-12-02 Joseph Myers <joseph@codesourcery.com>
36496
36497 * sysdeps/sh/backtrace.c: New file.
36498
d4cc29a2
AS
364992011-12-02 Andreas Schwab <schwab@redhat.com>
36500
36501 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36502 parenthesis.
36503
6257af2d
AS
365042011-12-01 Andreas Schwab <schwab@redhat.com>
36505
36506 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36507 falling back to utime.
36508
b5f44c1a
AS
365092011-11-30 Andreas Schwab <schwab@redhat.com>
36510
36511 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36512 expectations for float.
36513
f3a6cc0a
AS
365142011-11-29 Andreas Schwab <schwab@redhat.com>
36515
36516 * locale/weight.h (findidx): Add parameter len.
36517 * locale/weightwc.h (findidx): Likewise.
36518 * posix/fnmatch_loop.c (FCT): Adjust caller.
36519 * posix/regcomp.c (build_equiv_class): Likewise.
36520 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36521 * posix/regexec.c (check_node_accept_bytes): Likewise.
36522 * string/strcoll_l.c (STRCOLL): Likewise.
36523 * string/strxfrm_l.c (STRXFRM): Likewise.
36524
9d65ea3a
UD
365252011-11-17 Ulrich Drepper <drepper@gmail.com>
36526
36527 * Makefile.in: Remove CVSOPT handling.
36528 * configure.in: Remove use of AC_REVISION.
36529 * iconvdata/Makefile (distribute): No need to filter out CVS.
36530 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36531 handling.
36532
5583a086
AS
365332011-11-16 Andreas Schwab <schwab@redhat.com>
36534
36535 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36536 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36537 [USE_AS_STRNCASECMP_L]: Likewise.
36538 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36539 NO_TLS_DIRECT_SEG_REFS.
36540 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36541 Fix argument offsets for non-PIC.
36542 [USE_AS_STRNCASECMP_L]: Likewise.
36543 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36544 NO_TLS_DIRECT_SEG_REFS.
36545
d62a8200
UD
365462011-11-15 Ulrich Drepper <drepper@gmail.com>
36547
9d65ea3a 36548 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36549 O_CLOEXEC.
36550 * locale/loadlocale.c (_nl_load_locale): Likewise.
36551
09f93bd3
AS
365522011-11-15 Andreas Schwab <schwab@redhat.com>
36553
446514f9
AS
36554 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36555 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36556 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36557 (SYSCALL_GETTIME): Set errno on error.
36558
09f93bd3
AS
36559 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36560 count references to noai6ai_cached.
36561
312be3f9
UD
365622011-11-15 Ulrich Drepper <drepper@gmail.com>
36563
36564 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36565
36566 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36567 FD_CLOEXEC for /proc/self/maps.
36568
36569 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36570 FD_CLOEXEC for /proc/meminfo.
36571
36572 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36573 gai.conf.
36574
36575 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36576 FD_CLOEXEC for given file.
36577
36578 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36579
36580 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36581 FD_CLOEXEC for /etc/hosts.
36582 (_gethtent): Likewise.
36583
36584 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36585
36586 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36587 cancellation and set FD_CLOEXEC for /etc/netgroup.
36588
36589 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36590 reading /etc/publickey.
36591
36592 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36593 allow cancellation when reading /etc/group.
36594
36595 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36596 cancellation.
36597 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36598
36599 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36600 when using data file.
36601
36602 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36603
36604 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36605 (write_nis_obj): Use "c" and "e" in fopen.
36606
36607 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36608
36609 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36610
36611 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36612
36613 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36614
36615 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36616 locale.alias.
36617
36618 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36619
36620 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36621
36622 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36623
36624 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36625 file parsing and set FD_CLOEXEC.
36626
82af0fa8
UD
366272011-11-14 Ulrich Drepper <drepper@gmail.com>
36628
36629 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36630
a5fb313c
AS
366312011-11-14 Andreas Schwab <schwab@redhat.com>
36632
36633 * malloc/arena.c (arena_get2): Don't call reused_arena when
36634 _int_new_arena failed.
36635
6abf3465
UD
366362011-11-14 Ulrich Drepper <drepper@gmail.com>
36637
36638 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36639 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36640 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36641 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36642 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36643 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36644 to compile strcasecmp and strncasecmp.
36645 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36646 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36647
36648 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36649
76e3966e
UD
366502011-11-13 Ulrich Drepper <drepper@gmail.com>
36651
36652 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36653 locale-defines.sym to gen-as-const-headers.
36654 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36655 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36656 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36657 to compile strcasecmp and strncasecmp.
36658 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36659 strcasecmp_l and strncasecmp_l.
36660 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36661 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36662 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36663 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36664 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36665 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36666 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36667 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36668 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36669 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36670 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36671
ab26144e
UD
366722011-11-12 Ulrich Drepper <drepper@gmail.com>
36673
7edb22ef
UD
36674 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36675 result of SYSDEP_GETTIME_CPU to retval.
36676 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36677 parameter list to macro. Remove trailing semicolon. Adjust users.
36678
9694fc44
UD
36679 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36680 variable.
36681
8ad89ef8
UD
36682 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36683 mantissa words.
36684 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36685
0c822ef9
UD
36686 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36687 from unused variable.
36688
874e0564
UD
36689 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36690 DWARF definitions.
36691 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36692 for assembling.
36693
3a2edc79
UD
36694 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36695 over namespaces.
36696
f3c2577f
UD
36697 * sunrpc/rpc_prot.c (rejected): Fix case value.
36698
294ce126
UD
36699 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36700 unsigned long long int to avoid warnings in shift.
36701
5e2b63c6
UD
36702 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36703 of use of trans.
36704 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36705 variable tmp.
36706
e7f4b08e
UD
36707 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36708 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36709 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36710
ab26144e
UD
36711 * nis/nis_table.c (nis_list): Use variable of correct type for
36712 result of __follow_path call.
36713
8a6d5255
AZ
367142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36715
36716 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36717 of math functions ceil, trunc, floor, round, and sqrt, when
36718 avaliable on the platform.
36719 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36720 name clash.
36721 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36722 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36723 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36724
aaddc98c
MP
367252011-10-30 Marek Polacek <mpolacek@redhat.com>
36726
36727 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36728 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36729
95b7042b
RM
367302011-11-11 Roland McGrath <roland@hack.frob.com>
36731
36732 * include/unistd.h: Fix __readlink return type.
36733 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36734
57769839
UD
367352011-11-11 Ulrich Drepper <drepper@gmail.com>
36736
36737 * stdlib/ucontext.h: Undo last change for makecontext.
36738
edc5984d
AS
367392011-11-11 Andreas Schwab <schwab@redhat.com>
36740
98591e58
AS
36741 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36742
edc5984d
AS
36743 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36744 * setjmp/setjmp.h: Mark functions as non-leaf.
36745 * setjmp/bits/setjmp2.h: Likewise.
36746 * stdlib/ucontext.h: Likewise.
36747
77cdc054
AS
367482011-11-10 Andreas Schwab <schwab@redhat.com>
36749
36750 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36751 (reused_arena): Don't check arena limit.
36752 (arena_get2): Atomically check arena limit.
36753
fe72eebd
UD
367542011-11-08 Ulrich Drepper <drepper@gmail.com>
36755
5f078c32
UD
36756 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36757 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36758
fe72eebd
UD
36759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36760 instructions.
36761
ae1bc2fa
AS
367622011-11-07 Andreas Schwab <schwab@redhat.com>
36763
7583a88d
AS
36764 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36765 handler when locking.
36766
ae1bc2fa
AS
36767 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36768 Fix size of allocated buffer.
36769
10fb0bfa
AS
367702011-11-04 Andreas Schwab <schwab@redhat.com>
36771
998832a4
AS
36772 [BZ #10103]
36773 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36774 declarations for long double functions.
36775 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36776
10fb0bfa
AS
36777 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36778
3d7ba52b
AS
367792011-11-03 Andreas Schwab <schwab@redhat.com>
36780
a9ae54a1
AS
36781 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36782 installed.
36783
3d7ba52b
AS
36784 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36785 is disabled.
36786
bc8db248
ST
367872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36788
36789 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36790
45b96dd6
AS
367912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36792
647776f6
AS
36793 * include/alloca.h (stackinfo_alloca_round): Define.
36794 (extend_alloca): Use it.
36795 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36796 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36797 here.
36798
d91a8b93
AS
36799 * scripts/check-local-headers.sh: Ignore libaudit.h.
36800
45b96dd6
AS
36801 * nscd/Makefile (extra-objs): Make recursively expanded.
36802
432d41ce
UD
368032011-11-01 Ulrich Drepper <drepper@gmail.com>
36804
34372fc6
UD
36805 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36806 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36807
fadb59f8
UD
36808 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36809 * posix/tst-rfc3484-2.c: Likewise.
36810 * posix/tst-rfc3484-3.c: Likewise.
36811
78239589
UD
36812 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36813 process_vm_writev.
36814 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36815 process_vm_writev.
36816 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36817 process_vm_writev from libc using GLIBC_2.15 version.
36818
432d41ce
UD
36819 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36820
02f9c6cf
PP
368212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36822
36823 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36824 stack usage.
36825
3a2c0242
UD
368262011-10-31 Ulrich Drepper <drepper@gmail.com>
36827
f4ec4833
UD
36828 [BZ #13367]
36829 * nss/getent.c (initgroups_keys): Show error message in case no group
36830 names are given.
36831
3a2c0242
UD
36832 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36833 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36834 __bump_nl_timestamp.
36835 * nscd/connections (nscd_init): When host database is served open
36836 netlink socket and request notification about configuration changes.
36837 (main_loop_poll): Track netlink file descriptor and bump timestamp
36838 in case data becomes available.
36839 (main_loop_epoll): Likewise.
36840 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36841 (database_pers_head): Add extra_data fileds.
36842 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36843 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36844 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36845 Adjust caller.
36846 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36847 in6ai data, call __free_in6ai.
36848 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36849 Add -DHAVE_NETLINK.
36850 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36851 interface information. Reuse previous data if netlink timestamp
36852 is not changed.
36853 (__bump_nl_timestamp): New function.
36854 (__free_in6ai): New function.
36855
636064eb
UD
368562011-10-30 Ulrich Drepper <drepper@gmail.com>
36857
36858 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36859 close_not_cancel_no_status here.
36860 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36861
9beb2334
UD
368622011-10-29 Ulrich Drepper <drepper@gmail.com>
36863
6ef76f3b
UD
36864 [BZ #13276]
36865 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36866 return value.
36867
0ffc4f3e 36868 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36869 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36870 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36871
cb95113e
UD
368722011-07-03 Andreas Jaeger <aj@suse.de>
36873
36874 [BZ #10709]
36875 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36876 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36877 * math/libm-test.inc (sin_test): Add test case.
36878
a1b560ff
UD
368792011-10-29 Ulrich Drepper <drepper@gmail.com>
36880
c9aaface
UD
36881 [BZ #13337]
36882 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36883 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36884
d272e7f1
UD
36885 * elf/chroot_canon.c (chroot_canon): Cleanups.
36886
1bc33071
UD
36887 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36888
1760874d
TJ
36889 [BZ #13335]
36890 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36891 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36892
51d91b18
UD
36893 * string/test-strchr.c: Make usable for strchrnul testing.
36894 * string/test-strchrnul.c: New file.
36895 * string/Makefile (strop-tests): Add strchrnul.
36896
a1b560ff 36897 * po/it.po: Update from translation team.
b611fb81 36898 * po/es.po: Likewise.
a1b560ff 36899
a5b81e1f
UD
369002011-10-28 Ulrich Drepper <drepper@gmail.com>
36901
fd52bc6d
UD
36902 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36903 the three constants needed as parameters. Drop the others.
36904 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36905 __m128i_strloadu_tolower.
52e4b9eb
UD
36906 Create and initialize variable zero and use it in all the places
36907 where _mm_setzero_si128 was used.
fd52bc6d 36908
a5b81e1f
UD
36909 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36910 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36911 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36912 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36913 anymore.
36914 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36915 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36916 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36917 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36918 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36919 __mpranred, __mptan.
36920 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36921 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36922 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36923 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36924 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36925 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36926 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36927 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36928 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36929
b4343346
AS
369302011-10-28 Andreas Schwab <schwab@redhat.com>
36931
0c92d8a8
AS
36932 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36933 redefine if SHARED.
36934 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36935
b4343346
AS
36936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36937 wide char related routines to wcsmbs subdir.
36938
3871f58f
AS
369392011-10-27 Andreas Schwab <schwab@redhat.com>
36940
36941 [BZ #13344]
36942 * misc/sys/cdefs.h (__THROWNL): Define.
36943 * posix/unistd.h: Use __THREADNL instead of __THREAD
36944 for memory synchronization functions.
36945
94d44d9f
RM
369462011-10-26 Roland McGrath <roland@hack.frob.com>
36947
21b64b15 36948 [BZ #13349]
94d44d9f
RM
36949 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36950 doesn't exist.
36951 * manual/stdio.texi (Obstack Streams): Node removed.
36952
f6ce9294
AS
369532011-10-26 Andreas Schwab <schwab@redhat.com>
36954
80479147
AS
36955 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36956 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36957 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36958
f6ce9294
AS
36959 * math/math_private.h (math_force_eval): Allow non-addressable
36960 arguments.
36961 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36962
618280a1
UD
369632011-10-25 Ulrich Drepper <drepper@gmail.com>
36964
e0016b11
UD
36965 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36966 file is not needed.
36967
36968 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36969 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36970 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36971 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36972 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36973 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36974 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36975 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36976 Add AVX variants.
36977 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36978 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36979 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36980 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36981 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36982 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36983 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36984 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36985 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36986 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36987 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36988 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36989 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36990 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36991 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36992 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36993 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36994 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36995 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36996
36997 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36998 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36999
618280a1
UD
37000 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37001 place. Use VEX encoding when compiling for AVX.
37002
37822576
AS
370032011-10-25 Andreas Schwab <schwab@redhat.com>
37004
1f1e1947
AS
37005 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37006 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37007
37822576
AS
37008 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37009
31ea014d
UD
370102011-10-25 Ulrich Drepper <drepper@gmail.com>
37011
d7826aa1 37012 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37013 useless if() expression.
d7826aa1
UD
37014 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37015 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37016 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37017 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37018 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37019 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37020 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37021 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37022 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37023 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37024 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37025 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37026 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37027 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37028 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37029 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37030 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37031 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37032 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37033
31ea014d
UD
37034 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37035
16437fec
AS
370362011-10-25 Andreas Schwab <schwab@redhat.com>
37037
37038 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37039 condition.
37040 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37041
31d3cc00
UD
370422011-10-25 Ulrich Drepper <drepper@gmail.com>
37043
37044 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37045 .text section. Avoid duplicate constants.
37046 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37048 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37052 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37053 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37054 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37055 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37056 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37057 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37058 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37059 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37060 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37061 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37062 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37063 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37064 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37066 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37068 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37069 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37070 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37071 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37072 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37073 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37074 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37075 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37076 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37077 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37078 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37079 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37080 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37081 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37082 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37083 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37084 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37085 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37086 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37087 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37088 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37089 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37090 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37091
58985aa9
UD
370922011-10-24 Ulrich Drepper <drepper@gmail.com>
37093
202c9deb
UD
37094 * sysdeps/x86_64/dla.h: Move to ...
37095 * sysdeps/x86_64/fpu/dla.h: ...here.
37096 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37097 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37098
af968f62
UD
37099 * config.make.in: Add have-mfma4 entry.
37100 * configure.in: Substitute libc_cv_cc_fma4.
37101 * math/Makefile (dbl-only-routines): Add sincostab.
37102 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37103 Use __sincostab not sincos.
37104 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37105 name is a macro.
37106 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37110 using __copysign.
37111 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37112 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37113 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37114 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37115 and __inv.
37116 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37117 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37118 __copysign.
37119 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37120 define aliases when function name is a macro.
37121 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37122 sysdeps/ieee754/dbl-64/sincos.tbl.
37123 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37124 fma4-enabled routines.
37125 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37126 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37127 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37128 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37129 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37130 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37131 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37132 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37133 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37134 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37135 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37136 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37137 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37138 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37139 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37140 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37141 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37142 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37143 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37144 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37145 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37146 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37147 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37148 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37149 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37150 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37151 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37152 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37153 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37154 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37155
58985aa9
UD
37156 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37157 rename.
37158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37164 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37166
a201fbcf
AS
371672011-10-24 Andreas Schwab <schwab@redhat.com>
37168
37169 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37170
fc2ee42a
LD
371712011-10-23 Ulrich Drepper <drepper@gmail.com>
37172
bb3129bd
UD
37173 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37174
0275fff8
UD
37175 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37176 prediction.
37177 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37178
2fa2ae85
UD
37179 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37180 Remove unused variable magic_bits.
37181 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37182
fc2ee42a
LD
37183 * string/strnlen.c: Define and use STRNLEN macro.
37184 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37185 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37186 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37187 * wcsmbs/wcslen.c: Define and use WCSLEN.
37188 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37189 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37190 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37191 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37192 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37193 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37194 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37195
ce7dd29f
LD
371962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37197
37198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37199 strnlen-sse2-no-bsf.
37200 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37201 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37202 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37203 Add strnlen support.
37204 (USE_AS_STRNLEN): New macro.
37205 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37206 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37207 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37208 * sysdeps/x86_64/wcslen.S: New file.
37209
979c70a3
MZ
372102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37211
37212 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37213 XMM-moves are used for copying on small sizes.
37214
2d09f82f
LD
372152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37216
37217 * wcsmbs/Makefile (strop-tests): Add wcschr.
37218 * wcsmbs/test-wcschr.c: New file.
37219 * string/test-strchr.c: Update.
37220 Add wcschr support.
37221 (WIDE): New macro.
37222
619fccca
LD
372232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37224
2d09f82f 37225 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37226 * wcsmbs/test-wcslen.c: New file.
37227 * string/test-strlen.c: Update.
37228 Add wcslen support.
37229 (WIDE): New macro.
37230
09f699ea
UD
372312011-10-23 Ulrich Drepper <drepper@gmail.com>
37232
37233 * po/it.po: Update from translation team.
37234
95584d3b
LD
372352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37236
37237 * sysdeps/x86_64/wcscmp.S: Update.
37238 Fix wrong comparison semantics.
37239 wcscmp shall use signed comparison not unsigned.
37240 Don't use substraction to avoid overflow bug.
37241 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37242 * wcsmbc/wcscmp.c: Likewise.
37243 * string/test-strcmp.c: Likewise.
37244 Add new tests to check cases with negative values.
37245
c8b3296b
UD
372462011-10-23 Ulrich Drepper <drepper@gmail.com>
37247
37248 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37249 * sysdeps/x86_64/dla.h: ...here. New file.
37250 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37253 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37255 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37256 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37257 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37258 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37259
246ad57a
AS
372602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37261
37262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37263 __ynl_finite aliases.
37264
a1a87169
UD
372652011-10-22 Ulrich Drepper <drepper@gmail.com>
37266
0d355eb7
UD
37267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37268
a1a87169
UD
37269 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37270 define DLA_FMA.
37271 [DLA_FMA] (EMULV): Use DLA_FMA.
37272 [DLA_FMA] (MUL12): Use EMULV.
37273 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37274 that are not needed.
37275 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37276 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37279 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37280 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37281 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37282
ee2aafe0
AS
372832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37284
37285 * math/s_nan.c: Undef __nan.
37286 * math/s_nanf.c: Undef __nanf.
37287 * math/s_nanl.c: Undef __nanl.
37288 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37289 "math_private.h".
37290
bc62c2fb
UD
372912011-10-22 Ulrich Drepper <drepper@gmail.com>
37292
77425c63
UD
37293 * math/s_catan.c: Add branch predictions.
37294 * math/s_catanf.c: Likewise.
37295 * math/s_catanh.c: Likewise.
37296 * math/s_catanhf.c: Likewise.
37297 * math/s_catanhl.c: Likewise.
37298 * math/s_catanl.c: Likewise.
37299 * math/s_cexp.c: Likewise.
37300 * math/s_cexpf.c: Likewise.
37301 * math/s_cexpl.c: Likewise.
37302 * math/s_clog.c: Likewise.
37303 * math/s_clog10.c: Likewise.
37304 * math/s_clog10f.c: Likewise.
37305 * math/s_clog10l.c: Likewise.
37306 * math/s_clogf.c: Likewise.
37307 * math/s_clogl.c: Likewise.
37308 * math/s_csqrt.c: Likewise.
37309 * math/s_csqrtf.c: Likewise.
37310 * math/s_csqrtl.c: Likewise.
37311 * math/s_ctanf.c: Likewise.
37312 * math/s_ctanh.c: Likewise.
37313 * math/s_ctanhf.c: Likewise.
37314 * math/s_ctanhl.c: Likewise.
37315 * math/s_ctanl.c: Likewise.
37316
bc62c2fb
UD
37317 * math/math_private.h: Define __nan, __nanf, __nanl.
37318 * math/s_cacosh.c: Include <math_private.h>.
37319 * math/s_cacoshl.c: Likewise.
37320 * math/s_casinh.c: Likewise.
37321 * math/s_casinhf.c: Likewise.
37322 * math/s_casinhl.c: Likewise.
37323 * math/s_ccos.c: Rely entire on ccosh.
37324 * math/s_ccosf.c: Rely entire on ccoshf.
37325 * math/s_ccosl.c: Rely entirely on ccoshl.
37326 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37327 Remove tests for FE_INVALID.
37328 * math/s_ccoshf.c: Likewise.
37329 * math/s_ccoshl.c: Likewise.
37330 * math/s_csin.c: Likewise.
37331 * math/s_csinf.c: Likewise.
37332 * math/s_csinh.c Likewise.
37333 * math/s_csinhf.c: Likewise.
37334 * math/s_csinhl.c: Likewise.
37335 * math/s_csinl.c: Likewise.
37336 * math/s_ctan.c: Likewise.
37337 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37338 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37339 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37340
8ec250a4
UD
373412011-10-21 Ulrich Drepper <drepper@gmail.com>
37342
c196fed8
UD
37343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37344 compilation problems.
37345
8ec250a4
UD
37346 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37347 __builtin_expect.
37348
8d4f46c6
UD
373492011-10-20 Ulrich Drepper <drepper@gmail.com>
37350
ed72b654
UD
37351 * sysdeps/i386/configure.in: Test for -mfma4 option.
37352 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37353 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37354 COMMON_CPUID_INDEX_80000001.
37355 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37356 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37357 use it if FMA3 is not supported.
37358 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37359
8d4f46c6
UD
37360 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37361 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37362
d45c60c2
AS
373632011-10-20 Andreas Schwab <schwab@redhat.com>
37364
37365 [BZ #12892]
37366 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37367 it would create a cycle with a link time dependency.
37368
d9a4d2ab
UD
373692011-10-19 Ulrich Drepper <drepper@gmail.com>
37370
855d1560
UD
37371 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37372 instruction.
37373 * string/Makefile (strop-tests): Add rawmemchr.
37374 * string/test-rawmemchr.c: New file.
37375
d9a4d2ab
UD
37376 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37377 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37378 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37379 when compiling str{,n}casecmp and when AVX is available. Hook up
37380 new optimized code in initializers.
37381
8f3b1ffe
AS
373822011-10-19 Andreas Schwab <schwab@redhat.com>
37383
37384 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37385 __feraiseexcept instead of feraiseexcept.
37386
d38f1dba
UD
373872011-10-18 Ulrich Drepper <drepper@gmail.com>
37388
d9a8d0ab
UD
37389 * math/math_private.h: Define defaults for libc_fetestexcept and
37390 libc_feupdateenv.
37391 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37392 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37393 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37394 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37395 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37396 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37397 libc_fetestexcept and libc_feupdateenv.
37398
4855e3dd
UD
37399 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37400 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37401 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37402 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37403 libc_feholdexcept_setround.
37404
581d30e3
UD
37405 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37406 Add s_nearbyint-c and s_nearbyintf-c.
37407 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37408 nearbyintf inlines.
37409 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37410 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37411 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37412 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37413
d38f1dba
UD
37414 * math/math_private.h: Define defaults for libc_fegetround,
37415 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37416 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37417 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37418 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37419 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37420 standard functions.
37421 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37422 Remove comments and hacks for old compiler versions.
37423 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37424 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37425 libc_feholdexceptl.
37426
caa6c9d8
AS
374272011-10-18 Andreas Schwab <schwab@redhat.com>
37428
37429 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37430 (__feraiseexcept_renamed): Add __NTH.
37431 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37432 namespace violations.
37433
97c066e6
UD
374342011-10-17 Ulrich Drepper <drepper@gmail.com>
37435
99ce7b04
UD
37436 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37437
1004d182
UD
37438 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37439
228a984d
UD
37440 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37441 recently added interfaces.
37442 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37443
c8553a6a
UD
37444 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37445 about macro parameter expansion.
37446
ed22dcf6
UD
37447 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37448 __NO_MATH_INLINES is defined. Cleanups.
37449
37450 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37451 and __floorf is target has SSE4.1.
37452 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37453 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37454 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37455 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37456
b171c137
UD
37457 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37458 name.
37459 (floorf): Likewise.
37460
97c066e6
UD
37461 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37462
629f62ef
AS
374632011-10-17 Andreas Schwab <schwab@redhat.com>
37464
49a43d80
AS
37465 * misc/sys/cdefs.h: Fix last change.
37466
629f62ef
AS
37467 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37468 database lookup.
37469
e453f6cd
UD
374702011-10-16 Ulrich Drepper <drepper@gmail.com>
37471
aa78043a
UD
37472 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37473
ad0f5cad
UD
37474 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37475 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37476 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37477 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37478 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37479 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37480 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37481 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37482 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37483 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37484 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37485 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37486 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37487 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37488 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37489 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37490 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37491 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37492 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37493 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37494 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37495 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37496
37497 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37498 ceil, ceilf, floor, floorf.
37499
37500 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37501 Perform IRELATIVE relocations last.
37502
e453f6cd
UD
37503 * elf/do-rel.h: Add another parameter nrelative, replacing the
37504 local variable with the same name. Change name of the function
37505 to end in Rel or Rela (uppercase).
37506 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37507 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37508 elf_dynamic_do_##reloc function.
37509
fd5bdc09
UD
375102011-10-15 Ulrich Drepper <drepper@gmail.com>
37511
79b195b5
UD
37512 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37513 is sufficient, at least on modern CPUs.
37514
d4a28569
UD
37515 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37516
b61099b5
UD
37517 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37518 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37519
bcf01e6d
UD
37520 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37521 __expl_finite.
37522 * math/bits/math-finite.h: Add entries for exp.
37523 * math/e_expl.c: Add __*_finite alias.
37524 * sysdeps/i386/fpu/e_exp.S: Likewise.
37525 * sysdeps/i386/fpu/e_expf.S: Likewise.
37526 * sysdeps/i386/fpu/e_expl.c: Likewise.
37527 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37528 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37529 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37530 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37532 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37533 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37534
ba1a0d59
UD
37535 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37536 is sufficient, at least on modern CPUs.
37537
fd5bdc09
UD
37538 * ctype/ctype-info.c (__ctype_init): Define.
37539 * include/ctype.h (__ctype_init): Declare.
37540 (__ctype_b_loc): The variable is always initialized.
37541 (__ctype_toupper_loc): Likewise.
37542 (__ctype_tolower_loc): Likewise.
37543 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37544 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37545
7872cfb0
AS
375462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37547
b468825a
AS
37548 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37549
7872cfb0
AS
37550 * configure.in: Also look in $cxxmachine/include for C++ system
37551 headers.
37552
be13f7bf
LD
375532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37554
37555 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37556 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37557 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37558 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37559 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37560 (USE_AS_WMEMCMP): New macro.
37561 Fixing indents.
37562 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37563 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37564 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37565 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37567 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37568 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37569 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37570 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37571 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37572 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37573 (USE_AS_WMEMCMP): New macro.
37574 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37575 * sysdeps/string/test-memcmp.c: Update.
37576 Fix simple_wmemcmp.
37577 Add new tests.
37578 * wcsmbs/wmemcmp.c: Update.
37579 (WMEMCMP): New macro.
37580 Fix overflow bug.
37581
556a2007
AJ
375822011-10-12 Andreas Jaeger <aj@suse.de>
37583
37584 [BZ #13268]
37585 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37586
538faaa7
UD
375872011-10-15 Ulrich Drepper <drepper@gmail.com>
37588
ab6737ff
UD
37589 * libio/iofwide.c (do_length): Avoid warning.
37590
538faaa7
UD
37591 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37592
396a21b1
UD
375932011-10-14 Ulrich Drepper <drepper@gmail.com>
37594
cdf2901f
UD
37595 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37596
38ad40ce
UD
37597 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37598 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37599 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37600 * sysdeps/i386/i686/fpu/e_log.S: New file.
37601 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37602 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37603
396a21b1
UD
37604 * ctype/ctype.h: Add support for inlined isXXX functions when
37605 compiling C++ code.
37606
6b1f68c9
AS
376072011-10-14 Andreas Schwab <schwab@redhat.com>
37608
349290c0
AS
37609 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37610
6b1f68c9
AS
37611 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37612
f2282d42
RM
376132011-10-13 Roland McGrath <roland@hack.frob.com>
37614
37615 [BZ #13291]
37616 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37617
5298ffa8
AS
376182011-10-13 Andreas Schwab <schwab@redhat.com>
37619
714fad23
AS
37620 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37621 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37622 feraiseexcept.
37623
81dcc7fb
AS
37624 * sysdeps/x86_64/memrchr.S: Check for zero size.
37625
5298ffa8
AS
37626 * string/stratcliff.c: Add memrchr tests.
37627
951fbcec
LD
376282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37629
37630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37631 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37632 rawmemchr-sse2 rawmemchr-sse2-bsf.
37633 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37634 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37635 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37636 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37637 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37638 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37639 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37640 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37641 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37642 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37643 * string/memrchr.c (MEMRCHR): New macro.
37644
0ac5ae23
UD
376452011-10-12 Ulrich Drepper <drepper@gmail.com>
37646
37647 Add integration with gcc's -ffinite-math-only and optimize wrapper
37648 functions in libm.
37649 * Versions.def: Define GLIBC_2.15 version for libm.
37650 * math/Makefile (headers): Add bits/math-finite.h.
37651 * math/bits/math-finite.h: New file.
37652 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37653 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37654 * math/e_acoshl.c: Add __*_finite alias.
37655 * math/e_acosl.c: Likewise.
37656 * math/e_asinl.c: Likewise.
37657 * math/e_atan2l.c: Likewise.
37658 * math/e_atanhl.c: Likewise.
37659 * math/e_coshl.c: Likewise.
37660 * math/e_exp10.c: Likewise.
37661 * math/e_exp10f.c: Likewise.
37662 * math/e_exp10l.c: Likewise.
37663 * math/e_exp2l.c: Likewise.
37664 * math/e_fmodl.c: Likewise.
37665 * math/e_gammal_r.c: Likewise.
37666 * math/e_hypotl.c: Likewise.
37667 * math/e_j0l.c: Likewise.
37668 * math/e_j1l.c: Likewise.
37669 * math/e_jnl.c: Likewise.
37670 * math/e_lgammal_r.c: Likewise.
37671 * math/e_log10l.c: Likewise.
37672 * math/e_log2l.c: Likewise.
37673 * math/e_logl.c: Likewise.
37674 * math/e_powl.c: Likewise.
37675 * math/e_sinhl.c: Likewise.
37676 * math/e_sqrtl.c: Likewise.
37677 * math/e_scalb.c: Completely rewritten and optimized.
37678 * math/e_scalbf.c: Likewise.
37679 * math/e_scalbl.c: Likewise.
37680 * math/w_acos.c: Likewise.
37681 * math/w_acosf.c: Likewise.
37682 * math/w_acosl.c: Likewise.
37683 * math/w_acosh.c: Likewise.
37684 * math/w_acoshf.c: Likewise.
37685 * math/w_acoshl.c: Likewise.
37686 * math/w_asin.c: Likewise.
37687 * math/w_asinf.c: Likewise.
37688 * math/w_asinl.c: Likewise.
37689 * math/w_atan2.c: Likewise.
37690 * math/w_atan2f.c: Likewise.
37691 * math/w_atan2l.c: Likewise.
37692 * math/w_atanh.c: Likewise.
37693 * math/w_atanhf.c: Likewise.
37694 * math/w_atanhl.c: Likewise.
37695 * math/w_exp10.c: Likewise.
37696 * math/w_exp10f.c: Likewise.
37697 * math/w_exp10l.c: Likewise.
37698 * math/w_fmod.c: Likewise.
37699 * math/w_fmodf.c: Likewise.
37700 * math/w_fmodl.c: Likewise.
37701 * math/w_j0.c: Likewise.
37702 * math/w_j0f.c: Likewise.
37703 * math/w_j0l.c: Likewise.
37704 * math/w_j1.c: Likewise.
37705 * math/w_j1f.c: Likewise.
37706 * math/w_j1l.c: Likewise.
37707 * math/w_jn.c: Likewise.
37708 * math/w_jnf.c: Likewise.
37709 * math/w_log.c: Likewise.
37710 * math/w_logf.c: Likewise.
37711 * math/w_logl.c: Likewise.
37712 * math/w_log10.c: Likewise.
37713 * math/w_log10f.c: Likewise.
37714 * math/w_log10l.c: Likewise.
37715 * math/w_log2.c: Likewise.
37716 * math/w_log2f.c: Likewise.
37717 * math/w_log2l.c: Likewise.
37718 * math/w_pow.c: Likewise.
37719 * math/w_powf.c: Likewise.
37720 * math/w_powl.c: Likewise.
37721 * math/w_remainder.c: Likewise.
37722 * math/w_remainderf.c: Likewise.
37723 * math/w_remainderl.c: Likewise.
37724 * math/w_scalb.c: Likewise.
37725 * math/w_scalbf.c: Likewise.
37726 * math/w_scalbl.c: Likewise.
37727 * math/w_sqrt.c: Likewise.
37728 * math/w_sqrtf.c: Likewise.
37729 * math/w_sqrtl.c: Likewise.
37730 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37731 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37732 used.
37733 * math/math_private.h: Declare __kernel_standard_f.
37734 * math/w_cosh.c: Remove cruft and optimize a bit.
37735 * math/w_coshf.c: Likewise.
37736 * math/w_coshl.c: Likewise.
37737 * math/w_exp2.c: Likewise.
37738 * math/w_exp2f.c: Likewise.
37739 * math/w_exp2l.c: Likewise.
37740 * math/w_hypot.c: Likewise.
37741 * math/w_hypotf.c: Likewise.
37742 * math/w_hypotl.c: Likewise.
37743 * math/w_lgamma.c: Likewise.
37744 * math/w_lgamma_r.c: Likewise.
37745 * math/w_lgammaf.c: Likewise.
37746 * math/w_lgammaf_r.c: Likewise.
37747 * math/w_lgammal.c: Likewise.
37748 * math/w_lgammal_r.c: Likewise.
37749 * math/w_sinh.c: Likewise.
37750 * math/w_sinhf.c: Likewise.
37751 * math/w_sinhl.c: Likewise.
37752 * math/w_tgamma.c: Likewise.
37753 * math/w_tgammaf.c: Likewise.
37754 * math/w_tgammal.c: Likewise.
37755 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37756 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37757 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37758 Minor optimizations. Pretty printing. Remove cruft.
37759 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37760 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37761 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37762 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37763 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37764 * sysdeps/i386/fpu/e_asin.S: Likewise.
37765 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37766 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37767 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37768 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37769 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37770 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37771 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37772 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37773 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37774 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37775 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37776 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37777 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37778 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37779 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37780 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37781 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37782 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37783 * sysdeps/i386/fpu/e_log.S: Likewise.
37784 * sysdeps/i386/fpu/e_log10.S: Likewise.
37785 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37786 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37787 * sysdeps/i386/fpu/e_log2.S: Likewise.
37788 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37789 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37790 * sysdeps/i386/fpu/e_logf.S: Likewise.
37791 * sysdeps/i386/fpu/e_logl.S: Likewise.
37792 * sysdeps/i386/fpu/e_pow.S: Likewise.
37793 * sysdeps/i386/fpu/e_powf.S: Likewise.
37794 * sysdeps/i386/fpu/e_powl.S: Likewise.
37795 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37796 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37797 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37798 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37799 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37800 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37801 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37802 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37803 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37804 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37805 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37807 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37808 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37809 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37810 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37811 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37812 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37813 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37814 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37815 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37816 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37817 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37818 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37819 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37820 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37821 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37822 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37823 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37824 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37825 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37826 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37827 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37828 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37829 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37830 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37831 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37832 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37833 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37834 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37835 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37836 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37837 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37838 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37839 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37840 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37841 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37842 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37843 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37844 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37845 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37846 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37848 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37849 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37850 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37851 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37852 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37853 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37854 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37855 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37856 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37857 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37858 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37859 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37860 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37861 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37862 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37863 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37864 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37865 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37867 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37868 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37869 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37870 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37871 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37873 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37874 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37875 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37876 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37878 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37879 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37880 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37881 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37882 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37883 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37884 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37885 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37886 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37887 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37888 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37889 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37890 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37891 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37892 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37893 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37894 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37895 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37896 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37897 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37898 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37899 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37900 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37901 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37902 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37903 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37904 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37905 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37906 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37907 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37908 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37909 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37910 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37911 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37912 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37913 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37914 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37915 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37916 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37917 (__isnanf): Likewise.
37918 (__isinf_ns): Likewise.
37919 (__isinf_nsf): Likewise.
37920 (__finite): Likewise.
37921 (__finitef): Likewise.
37922 (__ieee754_sqrt): Define as macro.
37923 (__ieee754_sqrtf): Define as macro.
37924 (__ieee754_sqrtl): Define as macro.
37925 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37926 inlined copy.
37927 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37928 __FINITE_MATH_ONLY__ consistent.
37929 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37930
12cc2fcd
AS
379312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37932
a843a204
AS
37933 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37934 of rawmemchr.
37935
12cc2fcd
AS
37936 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37937
c853acd5
UD
379382011-10-09 Ulrich Drepper <drepper@gmail.com>
37939
37940 * po/ja.po: Update from translation team.
37941
c658d255
RM
379422011-10-08 Roland McGrath <roland@hack.frob.com>
37943
110946e4
RM
37944 * locale/programs/locarchive.c (prepare_address_space): New function.
37945 (create_archive, enlarge_archive, open_archive): Use it.
37946
50604220
RM
37947 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37948 inside [SHARED], where it is used.
37949
c658d255
RM
37950 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37951
37952 * nss/getent.c (netgroup_keys): Remove unused variable.
37953 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37954
6a621eb7
UD
379552011-10-08 Ulrich Drepper <drepper@gmail.com>
37956
7edb55ce
UD
37957 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37958 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37959 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37960 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37961 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37962 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37963 * math/Makefile (libm-calls): Add s_isinf_ns.
37964 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37965 * math/multc3.c: Likewise.
37966 * math/s_casin.c: Likewise.
37967 * math/s_casinf.c: Likewise.
37968 * math/s_casinl.c: Likewise.
37969 * math/s_ccos.c: Likewise.
37970 * math/s_ccosf.c: Likewise.
37971 * math/s_ccosl.c: Likewise.
37972 * math/s_ctan.c: Likewise.
37973 * math/s_ctanf.c: Likewise.
37974 * math/s_ctanh.c: Likewise.
37975 * math/s_ctanhf.c: Likewise.
37976 * math/s_ctanhl.c: Likewise.
37977 * math/s_ctanl.c: Likewise.
37978 * math/w_fmod.c: Likewise.
37979 * math/w_fmodf.c: Likewise.
37980 * math/w_fmodl.c: Likewise.
37981 * math/w_remainder.c: Likewise.
37982 * math/w_remainderf.c: Likewise.
37983 * math/w_remainderl.c: Likewise.
37984 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37985 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37986 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37987 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37988 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37989 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37990 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37991 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37992
187da0ae
UD
37993 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37994 of the number.
37995 * stdio-common/printf_fphex.c: Likewise.
37996 * stdio-common/printf_size.c: Likewise.
37997
9277c064
UD
37998 * math/e_exp10.c: Include math_private.h using <...> not "...".
37999 * math/e_exp10f.c: Likewise.
38000 * math/e_exp10l.c: Likewise.
38001 * math/e_exp2l.c: Likewise.
38002 * math/e_j0l.c: Likewise.
38003 * math/e_j1l.c: Likewise.
38004 * math/e_jnl.c: Likewise.
38005 * math/e_lgammal_r.c: Likewise.
38006 * math/e_rem_pio2l.c: Likewise.
38007 * math/e_scalb.c: Likewise.
38008 * math/e_scalbf.c: Likewise.
38009 * math/e_scalbl.c: Likewise.
38010 * math/k_cosl.c: Likewise.
38011 * math/k_sinl.c: Likewise.
38012 * math/k_tanl.c: Likewise.
38013 * math/s_cacoshf.c: Likewise.
38014 * math/s_catan.c: Likewise.
38015 * math/s_catanf.c: Likewise.
38016 * math/s_catanh.c: Likewise.
38017 * math/s_catanhf.c: Likewise.
38018 * math/s_catanhl.c: Likewise.
38019 * math/s_catanl.c: Likewise.
38020 * math/s_ccosh.c: Likewise.
38021 * math/s_ccoshf.c: Likewise.
38022 * math/s_ccoshl.c: Likewise.
38023 * math/s_cexp.c: Likewise.
38024 * math/s_cexpf.c: Likewise.
38025 * math/s_cexpl.c: Likewise.
38026 * math/s_clog.c: Likewise.
38027 * math/s_clog10.c: Likewise.
38028 * math/s_clog10f.c: Likewise.
38029 * math/s_clog10l.c: Likewise.
38030 * math/s_clogf.c: Likewise.
38031 * math/s_clogl.c: Likewise.
38032 * math/s_csin.c: Likewise.
38033 * math/s_csinf.c: Likewise.
38034 * math/s_csinh.c: Likewise.
38035 * math/s_csinhf.c: Likewise.
38036 * math/s_csinhl.c: Likewise.
38037 * math/s_csinl.c: Likewise.
38038 * math/s_csqrt.c: Likewise.
38039 * math/s_csqrtf.c: Likewise.
38040 * math/s_csqrtl.c: Likewise.
38041 * math/s_ctan.c: Likewise.
38042 * math/s_ctanf.c: Likewise.
38043 * math/s_ctanh.c: Likewise.
38044 * math/s_ctanhf.c: Likewise.
38045 * math/s_ctanhl.c: Likewise.
38046 * math/s_ctanl.c: Likewise.
38047 * math/s_ldexp.c: Likewise.
38048 * math/s_ldexpf.c: Likewise.
38049 * math/s_ldexpl.c: Likewise.
38050 * math/s_significand.c: Likewise.
38051 * math/s_significandf.c: Likewise.
38052 * math/s_significandl.c: Likewise.
38053 * math/w_acos.c: Likewise.
38054 * math/w_acosf.c: Likewise.
38055 * math/w_acosh.c: Likewise.
38056 * math/w_acoshf.c: Likewise.
38057 * math/w_acoshl.c: Likewise.
38058 * math/w_acosl.c: Likewise.
38059 * math/w_asin.c: Likewise.
38060 * math/w_asinf.c: Likewise.
38061 * math/w_asinl.c: Likewise.
38062 * math/w_atan2.c: Likewise.
38063 * math/w_atan2f.c: Likewise.
38064 * math/w_atan2l.c: Likewise.
38065 * math/w_atanh.c: Likewise.
38066 * math/w_atanhf.c: Likewise.
38067 * math/w_atanhl.c: Likewise.
38068 * math/w_cosh.c: Likewise.
38069 * math/w_coshf.c: Likewise.
38070 * math/w_coshl.c: Likewise.
38071 * math/w_dremf.c: Likewise.
38072 * math/w_exp10.c: Likewise.
38073 * math/w_exp10f.c: Likewise.
38074 * math/w_exp10l.c: Likewise.
38075 * math/w_exp2.c: Likewise.
38076 * math/w_exp2f.c: Likewise.
38077 * math/w_fmod.c: Likewise.
38078 * math/w_fmodf.c: Likewise.
38079 * math/w_fmodl.c: Likewise.
38080 * math/w_hypot.c: Likewise.
38081 * math/w_hypotf.c: Likewise.
38082 * math/w_hypotl.c: Likewise.
38083 * math/w_j0.c: Likewise.
38084 * math/w_j0f.c: Likewise.
38085 * math/w_j0l.c: Likewise.
38086 * math/w_j1.c: Likewise.
38087 * math/w_j1f.c: Likewise.
38088 * math/w_j1l.c: Likewise.
38089 * math/w_jn.c: Likewise.
38090 * math/w_jnf.c: Likewise.
38091 * math/w_jnl.c: Likewise.
38092 * math/w_lgamma.c: Likewise.
38093 * math/w_lgamma_r.c: Likewise.
38094 * math/w_lgammaf.c: Likewise.
38095 * math/w_lgammaf_r.c: Likewise.
38096 * math/w_lgammal.c: Likewise.
38097 * math/w_lgammal_r.c: Likewise.
38098 * math/w_log.c: Likewise.
38099 * math/w_log10.c: Likewise.
38100 * math/w_log10f.c: Likewise.
38101 * math/w_log10l.c: Likewise.
38102 * math/w_log2.c: Likewise.
38103 * math/w_log2f.c: Likewise.
38104 * math/w_log2l.c: Likewise.
38105 * math/w_logf.c: Likewise.
38106 * math/w_logl.c: Likewise.
38107 * math/w_pow.c: Likewise.
38108 * math/w_powf.c: Likewise.
38109 * math/w_powl.c: Likewise.
38110 * math/w_remainder.c: Likewise.
38111 * math/w_remainderf.c: Likewise.
38112 * math/w_remainderl.c: Likewise.
38113 * math/w_scalb.c: Likewise.
38114 * math/w_scalbf.c: Likewise.
38115 * math/w_scalbl.c: Likewise.
38116 * math/w_sinh.c: Likewise.
38117 * math/w_sinhf.c: Likewise.
38118 * math/w_sinhl.c: Likewise.
38119 * math/w_sqrt.c: Likewise.
38120 * math/w_sqrtf.c: Likewise.
38121 * math/w_sqrtl.c: Likewise.
38122 * math/w_tgamma.c: Likewise.
38123 * math/w_tgammaf.c: Likewise.
38124 * math/w_tgammal.c: Likewise.
38125
6a621eb7
UD
38126 * po/ja.po: Update from translation team.
38127
bf582445
AJ
381282011-09-29 Andreas Jaeger <aj@suse.de>
38129
f9efbf3a
AJ
38130 [BZ #13179]
38131 * sunrpc/netname.c (netname2host): Fix logic.
38132
bf582445
AJ
38133 [BZ #6779]
38134 [BZ #6783]
38135 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38136 correctly.
38137 * math/w_remainder.c (__remainder): Likewise.
38138 * math/w_remainderf.c (__remainderf): Likewise.
38139 * math/libm-test.inc (remainder_test): Add test cases.
38140
48693bea
AK
381412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38142
38143 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38144 sdiv_qrnnd.
38145
42622229
LD
381462011-10-07 Ulrich Drepper <drepper@gmail.com>
38147
38148 * string/test-memcmp.c: Avoid unncessary #defines.
38149 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38150
093ecf92
LD
381512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38152
38153 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38154 Use new sse2 version for core i3 - i7 as it's faster
38155 than sse42 version.
38156 (bit_Prefer_PMINUB_for_stringop): New.
38157 * sysdeps/x86_64/rawmemchr.S: Update.
38158 Replace with faster SSE2 version.
38159 * sysdeps/x86_64/memrchr.S: New file.
38160 * sysdeps/x86_64/memchr.S: Update.
38161 Replace with faster SSE2 version.
38162
fde56e5c
MP
381632011-09-12 Marek Polacek <mpolacek@redhat.com>
38164
38165 * elf/dl-load.c (lose): Add cast to avoid warning.
38166
21fd49a9
UD
381672011-10-07 Ulrich Drepper <drepper@gmail.com>
38168
5a06e643
UD
38169 * po/ca.po: Update from translation team.
38170
684ae515
UD
38171 * inet/getnetgrent_r.c: Hook up nscd.
38172 * nscd/Makefile (routines): Add nscd_netgroup.
38173 (nscd-modules): Add netgroupcache.
38174 (CFLAGS-netgroupcache.c): Define.
38175 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38176 (cache_search): Add const to second parameter.
38177 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38178 INNETGR.
38179 (dbs): Add netgrdb entry.
38180 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38181 (verify_persistent_db): Handle netgrdb.
38182 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38183 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38184 GETFDNETGR.
38185 (netgroup_response_header): Define.
38186 (innetgroup_response_header): Define.
38187 (datahead): Add netgroup_response_header and innetgroup_response_header
38188 elements.
38189 * nscd/nscd.conf: Add entries for netgroup cache.
38190 * nscd/nscd.h (dbtype): Add netgrdb.
38191 (_PATH_NSCD_NETGROUP_DB): Define.
38192 (netgroup_iov_disabled): Declare.
38193 (xmalloc, xcalloc, xrealloc): Move declarations here.
38194 (cache_search): Adjust prototype.
38195 Add netgroup-related prototypes.
38196 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38197 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38198 (__nscd_innetgr): Declare.
38199 * nscd/selinux.c (perms): Use access_vector_t as element type and
38200 add netgroup-related initializers.
38201 * nscd/netgroupcache.c: New file.
38202 * nscd/nscd_netgroup.c: New file.
38203 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38204 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38205 For four parameters use innetgr.
38206 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38207 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38208 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38209 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38210
21fd49a9
UD
38211 * nscd/connections.c (register_traced_file): Don't register file
38212 for disabled databases.
38213
054c0457
UD
382142011-10-06 Ulrich Drepper <drepper@gmail.com>
38215
32b63198
UD
38216 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38217
054c0457
UD
38218 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38219 from tree and freeing node.
38220
64031225
JO
382212011-09-25 Jiri Olsa <jolsa@redhat.com>
38222
38223 * nss/nsswitch.c (__nss_database_lookup): Handle
38224 nss_parse_service_list out of memory case.
38225
0490345c
JO
382262011-09-15 Jiri Olsa <jolsa@redhat.com>
38227
38228 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38229 out of memory case.
38230
3a62d00d
AS
382312011-10-04 Andreas Schwab <schwab@redhat.com>
38232
38233 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38234 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38235 pass it down.
38236 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38237 elf_machine_rela, elf_machine_lazy_rel.
38238 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38239 (ELF_DYNAMIC_DO_REL): Likewise.
38240 (ELF_DYNAMIC_DO_RELA): Likewise.
38241 (ELF_DYNAMIC_RELOCATE): Likewise.
38242 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38243 to ELF_DYNAMIC_DO_REL.
38244 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38245 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38246 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38247 elf_machine_rela.
38248 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38249 skip_ifunc, don't call ifunc function if non-zero.
38250 (elf_machine_rela): Likewise.
38251 (elf_machine_lazy_rel): Likewise.
38252 (elf_machine_lazy_rela): Likewise.
38253 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38254 (elf_machine_lazy_rel): Likewise.
38255 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38256 Likewise.
38257 (elf_machine_lazy_rel): Likewise.
38258 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38259 Likewise.
38260 (elf_machine_lazy_rel): Likewise.
38261 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38262 (elf_machine_lazy_rel): Likewise.
38263 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38264 (elf_machine_lazy_rel): Likewise.
38265 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38266 (elf_machine_lazy_rel): Likewise.
38267 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38268 (elf_machine_lazy_rel): Likewise.
38269 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38270 (elf_machine_lazy_rel): Likewise.
38271 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38272 (elf_machine_lazy_rel): Likewise.
38273
68577918
UD
382742011-09-28 Ulrich Drepper <drepper@gmail.com>
38275
38276 * nss/nss_files/files-init.c (_nss_files_init): Use static
38277 initialization for all the *_traced_file variables.
38278
68822d74
AS
382792011-09-28 Andreas Schwab <schwab@redhat.com>
38280
38281 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38282
2056100b
RM
382832011-09-27 Roland McGrath <roland@hack.frob.com>
38284
38285 [BZ #13226]
38286 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38287
32c76b63
AS
382882011-09-27 Andreas Schwab <schwab@redhat.com>
38289
38290 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38291 Reread the line before reparsing it.
38292
bf972c9d
AS
382932011-09-26 Andreas Schwab <schwab@redhat.com>
38294
38295 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38296
e057a1b5
JM
382972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38298 Maxim Kuvyrkov <maxim@codesourcery.com>
38299 Joseph Myers <joseph@codesourcery.com>
38300
38301 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38302 if needed for __stack_chk_guard.
38303
bc7e1c36
RM
383042011-09-19 Roland McGrath <roland@hack.frob.com>
38305
ecb1482f
RM
38306 * sysdeps/posix/spawni.c (script_execute): Always define it.
38307 It will be optimized away if unused.
38308 (maybe_script_execute): New function.
38309 (__spawni): Call it.
38310
bc7e1c36
RM
38311 * Makerules: Don't include tls.make.
38312 (config-tls): Always set to thread.
38313 * tls.make.c: File removed.
38314
1c3b002b
MF
383152011-09-19 Mike Frysinger <vapier@gentoo.org>
38316
38317 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38318 * config.make.in (CPPFLAGS-config): New substituted variable.
38319
2840865d
UD
383202011-09-15 Ulrich Drepper <drepper@gmail.com>
38321
88738eb6
UD
38322 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38323
cbf645a6 38324 [BZ #13192]
2840865d
UD
38325 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38326 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38327
b402e91a
RM
383282011-09-15 Roland McGrath <roland@hack.frob.com>
38329
38330 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38331 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38333 (CALL_FAIL): Likewise.
38334 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38335 (CALL_FAIL): Macro removed.
38336 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38337
4c1a1f71
UD
383382011-09-15 Ulrich Drepper <drepper@gmail.com>
38339
38340 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38341 for __FINITE_MATH_ONLY__ == 1.
38342
edc121be
AS
383432011-09-15 Andreas Schwab <schwab@redhat.com>
38344
38345 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38346 __ieee754_sqrt instead of sqrt.
38347 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38348 __ieee754_sqrtf instead of sqrtf.
38349 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38350 __floorf instead of floorf.
38351 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38352 __floorf, __truncf instead of floorf, truncf.
38353
cd205654
UD
383542011-09-14 Ulrich Drepper <drepper@gmail.com>
38355
ee4d0315
UD
38356 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38357
cd205654
UD
38358 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38359 __extern_always_inline.
38360 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38361 32-bit.
38362
48b67d71
AS
383632011-09-14 Andreas Schwab <schwab@redhat.com>
38364
38365 * elf/rtld.c (dl_main): Also relocate in dependency order when
38366 doing symbol dependency testing.
38367
1ae12c75
AS
383682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38369
38370 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38371 Always define `refsym'.
38372
995a80df
AS
383732011-09-13 Andreas Schwab <schwab@redhat.com>
38374
e529793b
AS
38375 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38376 (__FD_ELT): Renamed from __FDELT.
38377 * misc/bits/select2.h (__FD_ELT): Likewise.
38378 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38379 __FD_MASK instead of __FDELT, __FDMASK.
38380 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38381 Likewise.
38382 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38383 Likewise.
38384
52d4fef8
AS
38385 * elf/Makefile (gen-ldd): Fix pattern.
38386
995a80df
AS
38387 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38388 (init_tls): Likewise.
38389
8682f8b0
UD
383902011-09-12 Ulrich Drepper <drepper@gmail.com>
38391
38392 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38393
de82006d
AS
383942011-09-12 Andreas Schwab <schwab@redhat.com>
38395
a7c8e6a1
AS
38396 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38397 `struct cmsghdr *' instead of `void *'.
38398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38399 Likewise.
38400
0f31fe77
AS
384012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38402
38403 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38404 if non-absolute.
38405 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38406 ldd_rewrite_script.
0f31fe77 38407
32b4c839
UD
384082011-09-11 Ulrich Drepper <drepper@gmail.com>
38409
83cd1420
UD
38410 * configure.in: Remove --with-tls option.
38411 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38412 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38413 out in case it is missing.
38414 * sysdeps/ia64/elf/configure.in: Likewise.
38415 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38416 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38417 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38418 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38419 * sysdeps/sh/elf/configure.in: Likewise.
38420 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38421 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38422 * sysdeps/x86_64/elf/configure.in: Likewise.
38423 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38424 * sysdeps/mach/hurd/tls.h: Likewise.
38425
633f745d
UD
38426 [BZ #13067]
38427 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38428
f318beb8
UD
38429 [BZ #13090]
38430 * configure.in: Fix use of AC_INIT.
38431
32b4c839
UD
38432 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38433
3ce1f295
UD
384342011-09-10 Ulrich Drepper <drepper@gmail.com>
38435
bb016596
UD
38436 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38437 __set_errno.
8e58439c
UD
38438 * malloc/hooks.c: Likewise.
38439
aebae053 38440 [BZ #11929]
02d46fc4
UD
38441 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38442 variables statically.
38443 (narenas): Initialize.
38444 (list_lock): Initialize.
bb016596
UD
38445 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38446 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38447 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38448 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38449 Add initializers to main_arena and mp_.
38450 (malloc_state): Remove pagesize member. Change all users to use
38451 GLRO(dl_pagesize).
38452
38453 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38454 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38455 is always initialized.
38456
22a89187
UD
38457 * malloc/malloc.c: Removed unused configurations and dead code.
38458 * malloc/arena.c: Likewise.
38459 * malloc/hooks.c: Likewise.
02d46fc4 38460 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38461
d063d164
UD
38462 * include/tls.h: Removed. USE___THREAD must always be defined.
38463 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38464 * elf/dl-libc.c: Likewise.
38465 * elf/dl-tsd.c: Likewise.
38466 * include/errno.h: Likewise.
38467 * include/netdb.h: Likewise.
38468 * include/resolv.h: Likewise.
38469 * inet/herrno-loc.c: Likewise.
38470 * inet/herrno.c: Likewise.
38471 * malloc/arena.c: Likewise.
38472 * malloc/hooks.c: Likewise.
38473 * malloc/malloc.c: Likewise.
38474 * resolv/res-state.c: Likewise.
38475 * resolv/res_libc.c: Likewise.
38476 * sysdeps/i386/dl-machine.h: Likewise.
38477 * sysdeps/ia64/dl-machine.h: Likewise.
38478 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38479 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38480 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38481 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38482 * sysdeps/sh/dl-machine.h: Likewise.
38483 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38484 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38485 * sysdeps/unix/i386/sysdep.S: Likewise.
38486 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38487 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38488 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38489 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38490 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38491 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38492 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38493 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38494 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38496 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38497 * sysdeps/x86_64/dl-machine.h: Likewise.
38498 * tls.make.c: Likewise.
38499
3ce1f295
UD
38500 * configure.in: Remove --with-__thread option. Make tests for
38501 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38502 tls_model attribute fail if no support is available. Remove
38503 USE_IN_LIBIO.
38504 * Makeconfig: Adjust for dropped configure option. All features are
38505 now mandatory.
38506 * Makerules: Likewise.
38507 * Versions.def: Likewise.
38508 * argp/argp-fmtstream.c: Likewise.
38509 * argp/argp-fmtstream.h: Likewise.
38510 * argp/argp-help.c: Likewise.
38511 * assert/assert.c: Likewise.
38512 * config.h.in: Likewise.
38513 * config.make.in: Likewise.
38514 * configure: Likewise.
38515 * configure.in: Likewise.
38516 * csu/Versions: Likewise.
38517 * csu/init.c: Likewise.
38518 * elf/tst-audit2.c: Likewise.
38519 * elf/tst-tls10.c: Likewise.
38520 * elf/tst-tls10.h: Likewise.
38521 * elf/tst-tls11.c: Likewise.
38522 * elf/tst-tls12.c: Likewise.
38523 * elf/tst-tls14.c: Likewise.
38524 * elf/tst-tlsmod11.c: Likewise.
38525 * elf/tst-tlsmod12.c: Likewise.
38526 * elf/tst-tlsmod13.c: Likewise.
38527 * elf/tst-tlsmod13a.c: Likewise.
38528 * elf/tst-tlsmod14a.c: Likewise.
38529 * elf/tst-tlsmod15b.c: Likewise.
38530 * elf/tst-tlsmod16a.c: Likewise.
38531 * elf/tst-tlsmod16b.c: Likewise.
38532 * elf/tst-tlsmod7.c: Likewise.
38533 * elf/tst-tlsmod8.c: Likewise.
38534 * elf/tst-tlsmod9.c: Likewise.
38535 * gmon/gmon.c: Likewise.
38536 * grp/fgetgrent_r.c: Likewise.
38537 * grp/putgrent.c: Likewise.
38538 * hurd/fopenport.c: Likewise.
38539 * include/libc-symbols.h: Likewise.
38540 * include/tls.h: Likewise.
38541 * intl/gettextP.h: Likewise.
38542 * intl/loadinfo.h: Likewise.
38543 * locale/global-locale.c: Likewise.
38544 * locale/localeinfo.h: Likewise.
38545 * mach/devstream.c: Likewise.
38546 * malloc/arena.c: Likewise.
38547 * malloc/set-freeres.c: Likewise.
38548 * misc/err.c: Likewise.
38549 * misc/getttyent.c: Likewise.
38550 * misc/mntent_r.c: Likewise.
38551 * posix/getopt.c: Likewise.
38552 * posix/wordexp.c: Likewise.
38553 * pwd/fgetpwent_r.c: Likewise.
38554 * resolv/Versions: Likewise.
38555 * resolv/res_hconf.c: Likewise.
38556 * shadow/fgetspent_r.c: Likewise.
38557 * shadow/putspent.c: Likewise.
38558 * stdio-common/printf_fphex.c: Likewise.
38559 * stdio-common/tmpfile.c: Likewise.
38560 * stdlib/abort.c: Likewise.
38561 * stdlib/fmtmsg.c: Likewise.
38562 * sunrpc/auth_unix.c: Likewise.
38563 * sunrpc/clnt_perr.c: Likewise.
38564 * sunrpc/clnt_tcp.c: Likewise.
38565 * sunrpc/clnt_udp.c: Likewise.
38566 * sunrpc/clnt_unix.c: Likewise.
38567 * sunrpc/openchild.c: Likewise.
38568 * sunrpc/svc_simple.c: Likewise.
38569 * sunrpc/svc_tcp.c: Likewise.
38570 * sunrpc/svc_udp.c: Likewise.
38571 * sunrpc/svc_unix.c: Likewise.
38572 * sunrpc/xdr.c: Likewise.
38573 * sunrpc/xdr_array.c: Likewise.
38574 * sunrpc/xdr_rec.c: Likewise.
38575 * sunrpc/xdr_ref.c: Likewise.
38576 * sunrpc/xdr_stdio.c: Likewise.
38577
1248c1c4
PB
385782011-09-09 Ulrich Drepper <drepper@gmail.com>
38579
38580 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38581
385822011-07-03 Andreas Jaeger <aj@suse.de>
38583
38584 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38585 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38586 regenerate with gen-libm-tests.pl.
38587
385882010-05-12 Petr Baudis <pasky@suse.cz>
38589
38590 [BZ #11589]
38591 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38592 around j0() zero points by switching to j1().
38593 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38594 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38595 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38596 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38597
f22e1074
UD
385982011-09-09 Ulrich Drepper <drepper@gmail.com>
38599
f19009c1
UD
38600 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38601 instead of 0.
38602 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38603 instead of 0.
f19009c1
UD
38604 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38605 Patch in part by Pavel Roskin <proski@gnu.org>.
38606
3f8cc204
UD
38607 [BZ #13138]
38608 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38609 realloc.
38610 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38611 Free memory block if necessary.
38612
f22e1074
UD
38613 [BZ #12847]
38614 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38615 be NULL. Don't lock in this case.
38616
0a2349f9
RM
386172011-09-09 Roland McGrath <roland@hack.frob.com>
38618
38619 * elf/elf.h (ELFOSABI_GNU): New macro.
38620 (ELFOSABI_LINUX): Define to that.
38621
f3cdd467
DZ
386222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38623
38624 * string/strncat.c (strncat): Undef the symbol in case it has been
38625 defined in bits/string.h.
38626
74718d13
UD
386272011-09-09 Ulrich Drepper <drepper@gmail.com>
38628
633e9e0f
UD
38629 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38630
0a2349f9 38631 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38632 link map.
38633
f9924780
AJ
386342011-08-17 Andreas Jaeger <aj@suse.de>
38635
38636 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38637
7f5517aa
PP
386382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38639 Ian Lance Taylor <iant@google.com>
38640
38641 * math/libm-test.inc (lround_test): New testcase.
38642 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38643
762011fe
UD
386442011-09-08 Ulrich Drepper <drepper@gmail.com>
38645
92963737
UD
38646 * Makefile: Remove support for automatic cvs check-ins.
38647 * Makerules: Likewise.
38648 * config.make.in: Likewise.
38649 * configure.in: Likewise.
38650 * intl/Makefile: Likewise.
38651 * locale/Makefile: Likewise.
38652 * po/Makefile: Likewise.
38653 * posix/Makefile: Likewise.
38654 * sysdeps/gnu/Makefile: Likewise.
38655 * sysdeps/mach/hurd/Makefile: Likewise.
38656 * sysdeps/sparc/sparc32/Makefile: Likewise.
38657
b0727fd8
JS
38658 [BZ #13118]
38659 * posix/Makefile (bug-regex32-ENV): Define.
38660 Patch by John Stanley <jpsinthemix@verizon.net>.
38661
a0f33f99
UD
38662 * misc/Makefile (headers): Add bits/select2.h.
38663 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38664 * misc/bits/select2.h: New file.
38665 * include/bits/select2.h: New file.
38666 * debug/Makefile (routines): Add fdelt_chk.
38667 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38668 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38669 FD_ISSET.
38670 * debug/fdelt_chk.c: New file.
38671
762011fe
UD
38672 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38673 * wcsmbs/test-wmemcmp.c: Likewise.
38674 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38675 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38676
386772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38678
38679 * string/Makefile (strop-tests): Add memcmp.
38680 * string/test-wmemcmp.c: New file.
38681 * string/test-memcmp.c: Add wmemcmp support.
38682
7f513ec8
RM
386832011-09-08 Roland McGrath <roland@hack.frob.com>
38684
0442afb4
RM
38685 [BZ #13153]
38686 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38687 2011-07-19 change.
38688
7f513ec8
RM
38689 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38690 garbage value in a __mach_port_mod_refs call in the cases of the
38691 task-self and thread-self ports.
38692
a12b2239
ST
386932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38694
38695 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38696
610f9ab4
AS
386972011-09-08 Andreas Schwab <schwab@redhat.com>
38698
7f513ec8 38699 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38700
48882a1a
LD
387012011-09-07 Ulrich Drepper <drepper@gmail.com>
38702
b49865be
UD
38703 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38704
fdc86bc9
UD
38705 * elf/dl-libc.c (dlerror_run): Pass back error code from
38706 dl_catch_error.
38707
c966526a
UD
38708 [BZ #13123]
38709 * elf/dl-load.c (lose): Free l_origin if it is valid.
38710
48882a1a
LD
38711 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38712 names.
38713 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38714 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38715 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38716 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38717 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38718 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38719
77a2a8b4
AZ
387202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38721
38722 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38723 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38724 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38725 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38726 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38727 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38728 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38729 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38730 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38731 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38732
24f579d8
AM
387332011-08-15 Alan Modra <amodra@gmail.com>
38734
38735 [BZ #13092]
38736 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38737 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38738 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38739 ppc_mcount to static-only-routines.
38740 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38741 __mcount_internal.
38742 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38743 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38744
3d4837df
UD
387452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38746
38747 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38748 for finite and infinity parameters.
38749
22700377
WS
387502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38751
38752 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38753 and add nop instructions for throughput optimization.
38754 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38755
5025581e
WS
387562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38757
38758 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38759 aligned copy for power7 with vector-scalar instructions.
38760 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38761
08a300c9
L
387622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38763
38764 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38765 AVX check.
38766
59178ef9
AS
387672011-09-07 Andreas Schwab <schwab@redhat.com>
38768
38769 [BZ #13144]
38770 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38771 last change.
38772
e38ba7ab
UD
387732011-09-07 Ulrich Drepper <drepper@gmail.com>
38774
38775 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38776 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38777 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38778 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38779 clock_gettime.
38780
d53a73ac
UD
387812011-09-06 Ulrich Drepper <drepper@gmail.com>
38782
fc8bffcc
UD
38783 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38784 Forgot to demangle the pointer.
38785
ceaa0c5d
UD
38786 * sysdeps/i386/sysdep.h: Define atom_text_section.
38787 * sysdeps/x86_64/sysdep.h: Likewise.
38788 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38789 section with atom_text_section.
38790 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38791 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38792 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38793 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38794 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38795
a77d3c17
UD
38796 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38797 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38798 already be defined. Change to take two parameters and don't assign
38799 result to variable. Adjust all users.
38800 Define INTERNAL_GETTIME if not already defined.
38801 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38802 call.
38803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38804 HAVE_CLOCK_GETTIME_VSYSCALL.
38805 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38806
d53a73ac
UD
38807 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38808 gettimeofday vsyscall, just use time.
38809
a8f84144
AS
388102011-09-06 Andreas Schwab <schwab@redhat.com>
38811
38812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38813 <errno.h>.
38814
ef606249
UD
388152011-09-06 Ulrich Drepper <drepper@gmail.com>
38816
38817 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38818 syscall on x86-64.
38819 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38820 syscall.
38821 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38822 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38823 syscall if possible.
38824
6585cb60
UD
388252011-09-05 Ulrich Drepper <drepper@gmail.com>
38826
38827 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38828 e_ident. Don't pass to find_mapsXX.
38829 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38830
a5f524e4
LD
388312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38832
38833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38834 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38835 * sysdeps/x86_64/multiarch/strchr.S: Update.
38836 Check bit_slow_BSF bit.
38837 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38838 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38839 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38840
554881ef
UD
388412011-09-05 Ulrich Drepper <drepper@gmail.com>
38842
d96de963
UD
38843 [BZ #13134]
38844 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38845 before glibc 2.15.
38846 (tryshell): Define.
38847 (__spawni): Change last parameter to be flag. Test
38848 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38849 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38850 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38851 * posix/spawni.c: Likewise.
38852 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38853 * posix/spawnp.c: Likewise. Change normal version to use
38854 SPAWN_XFLAGS_USE_PATH.
38855 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38856 SPAWN_XFLAGS_TRY_SHELL.
38857
d48e5868
UD
38858 [BZ #13150]
38859 * posix/glob.h: Remove gcc 1.x support.
38860
554881ef
UD
38861 [BZ #13068]
38862 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38863
693fb948
LD
388642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38865
38866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38867 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38868 strrchr-sse2-bsf
38869 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38870 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38871 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38872 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38873 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38874 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38875
1b48c537
UD
388762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38877
49d42c37
UD
38878 * sysdeps/x86_64/wcscmp.S: New file.
38879
1b48c537
UD
38880 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38881 wcscmp-c wcscmp-sse2
38882 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38883 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38884 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38885 * wcsmbs/wcscmp.c: Allow renaming.
38886
15c95c5d
DM
388872011-09-05 David S. Miller <davem@davemloft.net>
38888
38889 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38890 stack slot, rather than the struct return pointer slot.
38891 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38892 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38894 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38895
2f0ad8f3
UD
388962011-09-05 Ulrich Drepper <drepper@gmail.com>
38897
d88ae418
UD
38898 * po/ja.po: Update from translation team.
38899
2f0ad8f3
UD
38900 [BZ #13144]
38901 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38902 kernel in 64-bit binaries.
38903
5f4318d1
DM
389042011-09-01 David S. Miller <davem@davemloft.net>
38905
38906 * elf/elf.h (HWCAP_SPARC_*): Move to..
38907 * sysdeps/sparc/sysdep.h: this new file and add new values.
38908 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38909 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38910 _DL_HWCAP_COUNT to 24.
38911 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38912 entries.
38913 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38914 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38915 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38916 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38917 instead of magic constants.
38918 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38919
3ba57516
DM
389202011-08-31 David S. Miller <davem@davemloft.net>
38921
38922 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38924 Reimplement to do errno handling inline.
38925 (SYSCALL_ERROR_HANDLER): New macro.
38926 (__SYSCALL_STRING): Do not do errno handling in asm.
38927 (__CLONE_SYSCALL_STRING): Delete.
38928 (__INTERNAL_SYSCALL_STRING): Delete.
38929 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38930 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38931 (PSEUDO): Reimplement to do errno handling inline.
38932 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38933 (SYSCALL_ERROR_HANDLER): New macro.
38934 (__SYSCALL_STRING): Do not do errno handling in asm.
38935 (__CLONE_SYSCALL_STRING): Delete.
38936 (__INTERNAL_SYSCALL_STRING): Delete.
38937 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38938 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38939 i386.
38940 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38941 (inline_syscall*): Add 'err' argument.
38942 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38943 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38944 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38945 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38946
38947 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38948 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38949
2bc17433
AS
389502011-08-30 Andreas Schwab <schwab@redhat.com>
38951
38952 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38953
fbeb5f4d
JO
389542011-08-29 Jiri Olsa <jolsa@redhat.com>
38955
38956 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38957 directive.
38958
ad69cc26
DM
389592011-08-24 David S. Miller <davem@davemloft.net>
38960
38961 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38962
39dd69df
AS
389632011-08-24 Andreas Schwab <schwab@redhat.com>
38964
38965 * elf/Makefile: Add rules to build and run unload8 test.
38966 * elf/unload8.c: New file.
38967 * elf/unload8mod1.c: New file.
38968 * elf/unload8mod1x.c: New file.
38969 * elf/unload8mod2.c: New file.
38970 * elf/unload8mod3.c: New file.
38971
38972 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38973 it wasn't used.
38974
2c0b250a
DM
389752011-08-23 David S. Miller <davem@davemloft.net>
38976
38977 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38978 subtract stack bias.
38979 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38980 %sp not %fp in calculations.
38981 (_JMPBUF_UNWINDS_ADJ): Likewise.
38982
22044b48
DM
38983 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38984 (aio_suspend): Call it to force an exception region around the
38985 AIO_MISC_WAIT() invocation.
38986
2cae4995
AS
389872011-08-23 Andreas Schwab <schwab@redhat.com>
38988
38989 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38990 backslash.
38991
873a772e
AJ
389922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38993
38994 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38995 protection macro.
38996 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38997 and <dl-machine.h>.
38998 (Elf64_FuncDesc): Remove.
38999
25ad0df1
DM
390002011-08-22 David S. Miller <davem@davemloft.net>
39001
39002 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39003 sigaltstack check, add missing cfi directives.
39004 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39005 missing cfi directives, and sigaltstack handling.
39006
e888bcbe
AS
390072011-08-16 Andreas Schwab <schwab@redhat.com>
39008
39009 [BZ #11724]
39010 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39011 object is seen twice.
39012 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39013
39014 * elf/Makefile (distribute): Add tst-initorder2.c.
39015 (tests): Add tst-initorder2.
39016 (modules-names): Add tst-initorder2a tst-initorder2b
39017 tst-initorder2c tst-initorder2d. Add rules to build them.
39018 ($(objpfx)tst-initorder2.out): New rule.
39019 * elf/tst-initorder2.c: New file.
39020 * elf/tst-initorder2.exp: New file.
39021
87162f46
AS
390222011-08-22 Andreas Schwab <schwab@redhat.com>
39023
70538b7f
AS
39024 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39025
f55ffe58
AS
39026 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39027 dependencies back to end of function.
39028
87162f46
AS
39029 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39030 $(elfobjdir)/ld.so.
39031
91b392a4
UD
390322011-08-21 Ulrich Drepper <drepper@gmail.com>
39033
39034 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39035 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39036 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39037 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39038 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39039 of __vdso_gettimeofday.
39040 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39041 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39042 attribute_hidden.
39043 (_libc_vdso_platform_setup): Remove initialization of
39044 __vdso_gettimeofday and __vdso_time.
39045
5c43483f
UD
390462011-08-20 Ulrich Drepper <drepper@gmail.com>
39047
775a77e7
UD
39048 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39049 and fgetc_unlocked.
39050 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39051 getc_unlocked.
89f447ed 39052
49c74ba9
UD
39053 * elf/dl-open.c (add_to_global): Report additions to the global scope
39054 for LD_DEBUG=scopes.
39055 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39056 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39057
5c43483f
UD
39058 [BZ #13114]
39059 * stdio-common/Makefile (tests): Add bug24.
39060 * stdio-common/bug24.c: New file.
39061
a101b025
AJ
390622011-08-19 Andreas Jaeger <aj@suse.de>
39063
39064 [BZ #13114]
39065 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39066 non-existant file when using close-on-exec mode.
39067
c88f1766
UD
390682011-08-20 Ulrich Drepper <drepper@gmail.com>
39069
0276a718
UD
39070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39071 the very first instruction.
39072
c88f1766
UD
39073 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39074 the CFI state in the end.
39075 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39076 inclusion of dl-trampoline.h.
39077 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39078
51ccffa0
AS
390792011-08-19 Andreas Schwab <schwab@redhat.com>
39080
94d7165f
AS
39081 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39082 expectations for long double.
39083
51ccffa0
AS
39084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39085 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39086
fd708658 390872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39088
39089 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39090 artificual limit depends upon the system page size.
39091
44f0a71e
UD
390922011-08-17 Ulrich Drepper <drepper@gmail.com>
39093
39094 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39095 * resolv/Makefile: Define CFLAGS-libresolv.
39096
8de79a24
AS
390972011-08-17 Andreas Schwab <schwab@redhat.com>
39098
39099 * nss/makedb.c (compute_tables): Make variables used in nested
39100 function static.
39101
27724598
UD
391022011-08-17 Ulrich Drepper <drepper@gmail.com>
39103
c5305d88
UD
39104 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39105 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39106 if buffer was too small.
39107
27724598
UD
39108 * elf/pldd.c (main): Attach to all threads in the process.
39109 Rewrite /proc handling to use *at functions.
39110
076fe015
UD
391112011-08-16 Ulrich Drepper <drepper@gmail.com>
39112
174baab3
UD
39113 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39114 specifies first scope to show.
39115 (dl_open_worker): Update callers. Move printing scope of new
39116 object to before the relocation.
44f0a71e 39117 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39118 * sysdeps/generic/ldsodefs.h: Update declaration.
39119
076fe015
UD
39120 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39121 string for the scope number.
39122
a60df2c3
UD
391232011-08-14 Ulrich Drepper <drepper@gmail.com>
39124
39125 * nscd/servicescache.c (cache_addserv): Make sure written is always
39126 initialized.
39127
5e4287d1
RM
391282011-08-14 Roland McGrath <roland@hack.frob.com>
39129
85ae0589
RM
39130 * sysdeps/i386/i486/bits/atomic.h
39131 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39132 statement expression, so as to suppress "set but not used" warning.
39133 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39134
69f63097
RM
39135 * string/strncat.c (STRNCAT): Use prototype definition.
39136
675456ef
RM
39137 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39138 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39139 -Iprograms here.
39140 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39141 (localedef-modules): Add localedef.
39142 (locale-modules): Add locale.
39143
5e4287d1
RM
39144 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39145 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39146 to avoid a warning.
39147
9c96ff23
DM
391482011-08-14 David S. Miller <davem@davemloft.net>
39149
39150 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39151 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39152
f9ddf089
UD
391532011-08-13 Ulrich Drepper <drepper@gmail.com>
39154
44f0a71e 39155 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39156 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39157 * elf/rtld.c (dl_main): Set l_name of vDSO.
39158 Call _dl_show_scope when DL_DEBUG_SCOPES.
39159 (process_dl_debug): Recognize scopes flag and also set it for all.
39160 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39161 Declare _dl_show_scope.
39162
1dc27704
UD
39163 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39164 (do_dlopen): Pass caller_dlopen to dl_open.
39165 (__libc_dlopen_mode): Initialize caller_dlopen.
39166
f9ddf089
UD
39167 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39168 of libc. Make tolower call locale-independent. Optimize a bit by
39169 using isdigit instead of isalnum.
39170 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39171
9ac533d3
UD
391722011-08-12 Ulrich Drepper <drepper@gmail.com>
39173
39174 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39175 was a dependency or dynamically loaded.
39176
89edf2e9
UD
391772011-08-11 Ulrich Drepper <drepper@gmail.com>
39178
8e999d29
UD
39179 * intl/l10nflist.c: Allow architecture-specific pop function.
39180 * sysdeps/x86_64/l10nflist.c: New file.
39181
89edf2e9
UD
39182 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39183 classification.
39184
14d96785
AS
391852011-08-10 Andreas Schwab <schwab@redhat.com>
39186
39187 * include/dirent.h: Add libc_hidden_proto for scandirat and
39188 scandirat64. Don't declare __scandirat64.
39189 * dirent/scandirat.c: Add libc_hidden_def.
39190 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39191 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39192
6761ac04
DM
391932011-08-10 David S. Miller <davem@davemloft.net>
39194
39195 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39196 enum.
39197 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39198 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39199 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39200
c55fbd1e
UD
392012011-08-09 Ulrich Drepper <drepper@gmail.com>
39202
39203 * Versions.def [libc]: Add GLIBC_2.15.
39204 * dirent/Makefile (routines): Add scandirat and scandirat64.
39205 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39206 GLIBC_2.15.
39207 * dirent/dirent.h: Declare scandirat and scandirat64.
39208 * dirent/scandirat.c: New file.
39209 * dirent/scandirat64.c: New file.
39210 * sysdeps/wordsize-64/scandirat.c: New file.
39211 * sysdeps/wordsize-64/scandirat64.c: New file.
39212 * dirent/opendir.c: Define opendirat.
39213 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39214 using scandirat.
39215 * dirent/scandir64.c: Adjust for scandir.c change.
39216 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39217 __scandirat64, and __scandir_cancel_handler.
39218 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39219 additional parameter and use openat instead of open (outside of ld.so).
39220 Add new __opendir as wrapper around __opendirat.
39221 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39222 here without requiring old scandirat implementation.
39223
879165f2
UD
392242011-08-08 Ulrich Drepper <drepper@gmail.com>
39225
39226 * dirent/scandir.c (cancel_handler): Renamed to
39227 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39228 defined. Adjust users.
39229 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39230 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39231
cb7e923b
UD
392322011-08-04 Ulrich Drepper <drepper@gmail.com>
39233
16292edd
UD
39234 * string/test-string.h (IMPL): Use __STRING to expand name and then
39235 stringify it.
39236
cb7e923b
UD
39237 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39238 of cleanups.
39239
cff82933
LD
392402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39241
39242 * string/Makefile: Update.
39243 (strop-tests): Append strncat.
39244 * string/test-wcscmp.c: New file.
39245 New comprehensive test for wcscmp.
39246 * string/test-strcmp.c: Update.
39247 (WIDE): New define.
39248
9be9bfcc
AS
392492011-07-22 Andreas Schwab <schwab@redhat.com>
39250
39251 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39252 line.
39253
2e96f1c7
AS
392542011-07-26 Andreas Schwab <schwab@redhat.com>
39255
39256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39257 encoding to ACE if AI_IDN.
39258
85188888
JJ
392592011-08-01 Jakub Jelinek <jakub@redhat.com>
39260
39261 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39262 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39263
5fa16e9b
LD
392642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39265
39266 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39267 Fix overflow bug in strncat.
39268 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39269
39270 * string/test-strncat.c: Update.
39271 Add new tests for checking overflow bugs.
39272
392732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39274
39275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39276 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39277 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39278 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39279 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39280 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39281 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39282 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39283 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39284
39285 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39286 (USE_AS_STRCAT): Define.
39287 Add strcat and strncat support.
39288 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39289
8c1a459f
AS
392902011-07-25 Andreas Schwab <schwab@redhat.com>
39291
39292 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39293 __n bigger than INT_MAX+1.
39294 (__strncmp_g): Likewise.
39295
bba33c28
UD
392962011-07-23 Ulrich Drepper <drepper@gmail.com>
39297
798be72d
UD
39298 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39299 * libio/stido.h: Likewise.
39300
8accd4dc
UD
39301 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39302 (AF_NFC): Define.
39303 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39304 (AF_NFC): Define.
39305
cbff0d96
UD
39306 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39307 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39308 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39309 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39310 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39311
9191c04a
UD
39312 [BZ #13021]
39313 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39314 installed.
39315
bba33c28
UD
39316 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39317 typo.
39318 (_dl_x86_64_save_sse): Likewise.
39319
90f139dd
UD
393202011-07-22 Ulrich Drepper <drepper@gmail.com>
39321
1aae088a
UD
39322 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39323 OSXSAVE.
39324 (_dl_x86_64_save_sse): Likewise.
39325
8e2045f5
UD
39326 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39327
90f139dd
UD
39328 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39329
1d002f25
AS
393302011-07-21 Andreas Schwab <schwab@redhat.com>
39331
39332 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39333 change.
39334 (_dl_x86_64_save_sse): Use correct AVX check.
39335
21137f89
UD
393362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39337
39338 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39339 bug in strncpy/strncat.
39340 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39341
a65c0b7a
UD
393422011-07-21 Ulrich Drepper <drepper@gmail.com>
39343
39344 * string/tester.c (test_strcat): Add tests for different alignments
39345 of source and destination.
39346 (test_strncat): Likewise.
39347
6986b98a
UD
393482011-07-20 Ulrich Drepper <drepper@gmail.com>
39349
90bb2039
UD
39350 [BZ #12852]
39351 * posix/glob.c (glob): Check passed in values before using them in
39352 expressions to avoid some overflows.
39353 (glob_in_dir): Likewise.
39354
5644ef54
UD
39355 [BZ #13007]
39356 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39357 check for AVX enablement so that we don't crash with old kernels and
39358 new hardware.
39359 * elf/tst-audit4.c: Add same checks here.
39360 * elf/tst-audit6.c: Likewise.
39361
39362 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39363
bfc9dc9b
AS
393642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39365
39366 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39367
702e64bb
UD
393682011-07-20 Ulrich Drepper <drepper@gmail.com>
39369
39370 * po/cs.po: Update from translation team.
39371 * po/bg.po: Likewise.
39372
295e904f
MP
393732011-07-12 Marek Polacek <mpolacek@redhat.com>
39374
39375 * misc/sys/cdefs.h: Add support for const attribute.
39376 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39377 to gnu_dev_{major,minor,makedev} functions.
39378
3ff94596
MP
393792011-07-20 Marek Polacek <mpolacek@redhat.com>
39380
39381 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39382
28b59fca
AS
393832011-07-20 Andreas Schwab <schwab@redhat.com>
39384
39385 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39386 strlen results.
39387
19df733e
AK
393882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39389
39390 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39391 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39392 register in order to avoid conflicts with the soft frame pointer
39393 being held in r11 when necessary.
39394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39395 (INTERNAL_VSYSCALL_NCS): Likewise.
39396
c8835729
MP
393972011-07-14 Marek Polacek <mpolacek@redhat.com>
39398
39399 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39400 * elf/dl-fini.c (_dl_fini): Adjust caller.
39401 * elf/dl-close.c (_dl_close_worker): Likewise.
39402 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39403
b902330c
MP
394042011-07-15 Marek Polacek <mpolacek@redhat.com>
39405
8991e135
MP
39406 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39407 "aux_cache->nlibs < 0".
39408
b902330c
MP
39409 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39410 in the reload-count case.
39411
99710781
LD
394122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39413
39414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39415 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39416 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39417 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39418 * sysdeps/x86_64/multiarch/strcat.S: New file.
39419 * sysdeps/x86_64/multiarch/strncat.S: New file.
39420 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39421 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39422 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39423 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39424 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39425 (USE_AS_STRCAT): Define.
39426 Add strcat and strncat support.
39427 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39428 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39429 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39430 * string/strncat.c: Update.
39431 (USE_AS_STRNCAT): Define.
39432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39433 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39434 and i7.
39435 * sysdeps/x86_64/multiarch/init-arch.h
39436 (bit_Prefer_PMINUB_for_stringop): New.
39437 (index_Prefer_PMINUB_for_stringop): Likewise.
39438 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39439 bit_Prefer_PMINUB_for_stringop.
39440
7dc6bd90
UD
394412011-07-19 Ulrich Drepper <drepper@gmail.com>
39442
39443 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39444 buffer64.
39445 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39446 of casting of buffer.
39447 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39448 buffer32 and buffer64.
39449 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39450 writes instead of casting of buffer.
39451 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39452 buffer32.
39453 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39454 casting of buffer.
39455
e0e72284
AS
394562011-07-19 Andreas Schwab <schwab@redhat.com>
39457
39458 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39459
feb1eb0b
UD
394602011-07-19 Ulrich Drepper <drepper@gmail.com>
39461
39462 * nscd/nscd.c (termination_handler): Don't do anything for a database
39463 if it has not yet been initialized.
39464
298711ff
UD
394652011-07-18 Ulrich Drepper <drepper@gmail.com>
39466
39467 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39468
394692011-07-15 Marek Polacek <mpolacek@redhat.com>
39470
39471 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39472
f9d68389
UD
394732011-07-18 Ulrich Drepper <drepper@gmail.com>
39474
39475 * po/nl.po: Update from translation team.
39476 * po/sv.po: Likewise.
39477
db290cf5
RM
394782011-07-16 Roland McGrath <roland@hack.frob.com>
39479
39480 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39481 now disallowed by GCC.
5c550700 39482
fd5e21c7
RM
39483 * configure.in (use-default-link): Default to yes if a test -shared
39484 link meets our qualifications.
39485 * configure: Regenerated.
39486
5c550700
RM
39487 * config.make.in (output-format): New variable.
39488 * configure.in: Check for ld --print-output-format support.
39489 * configure: Regenerated.
39490 * Makerules ($(common-objpfx)format.lds)
39491 [$(output-format) != unknown]: Just use $(output-format),
39492 instead of the linker-script munging.
39493
9fa2c032
RM
394942011-07-14 Roland McGrath <roland@hack.frob.com>
39495
a6928d51
RM
39496 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39497 of $(common-objpfx)shlib.lds.
39498 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39499
661607b3
RM
39500 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39501 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39502
9fa2c032
RM
39503 * configure.in (-z relro check): Adjust test code to add a large
39504 writable data section after it.
39505 * configure: Regenerated.
39506
defe9061
RM
395072011-07-11 Roland McGrath <roland@hack.frob.com>
39508
39509 * configure.in (-z relro check): Fix test code to make the variable
39510 truly const.
39511 * configure: Regenerated.
39512
319b9ad4
UD
395132011-07-11 Ulrich Drepper <drepper@gmail.com>
39514
39515 * nscd/nscd.h (struct traced_file): Define.
39516 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39517 elements. Add traced_files.
39518 (inotify_fd): Declare.
39519 (register_traced_file): Declare.
39520 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39521 (inotify_fd): Export.
39522 (resolv_conf_descr): Remove.
39523 (nscd_init): Move inotify descriptor creation to main.
39524 Don't register files for notification here.
39525 (register_traced_file): New function.
39526 (invalidate_cache): Don't use reset_res to determine whether to call
39527 res_init, go through the list of registered files.
39528 (main_loop_poll): The inotify descriptors are now stored in the
39529 structures for the traced files.
39530 (main_loop_epoll): Likewise
39531 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39532 to __nss_disable_nscd.
39533 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39534 for a database anymore. Check the records for all the registered
39535 files instead.
39536 * nss/Makefile (libnss_files-routines): Add files-init.
39537 (libnss_db-routines): Add db-init.
39538 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39539 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39540 * nss/nss_db/db-init.c: New file.
39541 * nss/nss_files/files-init.c: New file.
39542 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39543 __nss_lookup_function.
39544 (__nss_lookup_function): Call nss_load_library.
39545 (nss_load_all_libraries): New function.
39546 (__nss_disable_nscd): Take parameter with callback function for files
39547 to register. Set is_nscd. Load all the DSOs for the NSS modules
39548 used for the cached services.
39549 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39550 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39551 options for features to all the files in nscd.
39552
39553 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39554
23bee3e8
RM
395552011-07-10 Roland McGrath <roland@hack.frob.com>
39556
39557 * csu/elf-init.c (__libc_csu_init): Comment typo.
39558
46a5b7f0
UD
395592011-07-09 Ulrich Drepper <drepper@gmail.com>
39560
39561 * po/pl.po: Update from translation team.
39562 * po/ja.po: Likewise.
39563 * po/ru.po: Likewise.
39564 * po/ko.po: Likewise.
39565 * po/fr.po: Likewise.
39566
d30cf5bb
RM
395672011-07-09 Roland McGrath <roland@hack.frob.com>
39568
113ddea4
RM
39569 * configure.in (.ctors/.dtors header and trailer check):
39570 Use an empirical test on a built program.
39571 * configure: Regenerated.
39572
574920b4
RM
39573 * configure.in (-z relro check): Use an empirical test on a built DSO.
39574 Detect, but do not require, on ia64.
39575 * configure: Regenerated.
39576
d30cf5bb
RM
39577 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39578 Update tests that use readelf to use $READELF instead.
39579 * configure: Regenerated.
39580
8538fdb3
UD
395812011-07-08 Ulrich Drepper <drepper@gmail.com>
39582
39583 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39584 if the result is not used.
39585
04d08991
AJ
395862011-07-05 Andreas Jaeger <aj@suse.de>
39587
39588 [BZ#9696]
39589 * stdlib/tst-strtod.c: Add testcase.
39590
de283087
AD
395912011-07-07 Ulrich Drepper <drepper@gmail.com>
39592
4e5f31c8 39593 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39594 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39595 The latter has a higher limit. Take additional parameter to pass to
39596 the new function.
39597 (__pathconf): Pass file to __statfs_link_max.
39598 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39599 __statfs_link_max.
39600 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39601 __statfs_link_max.
39602
de283087
AD
39603 [BZ #12868]
39604 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39605 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39606 Handle Lustre.
39607 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39608 (__statfs_filesize_max): Likewise.
39609 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39610
c75fa153
AJ
396112011-07-05 Andreas Jaeger <aj@suse.de>
39612
39613 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39614
1a544854
UD
396152011-07-06 Marek Polacek <mpolacek@redhat.com>
39616
39617 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39618 `status' variable.
39619 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39620 Likewise.
39621
6f0eec67
UD
396222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39623
39624 * Makefile (strop-tests): Add strncat.
39625 * string/test-strncat.c: New file.
39626
aae30307
UD
396272011-06-30 Marek Polacek <mpolacek@redhat.com>
39628
39629 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39630
c0cfb5eb
UD
396312011-06-21 Andreas Jaeger <aj@suse.de>
39632
39633 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39634 Copy rule from iconvdata/Makefile.
39635
01636b21
UD
396362011-07-06 Ulrich Drepper <drepper@gmail.com>
39637
39638 [BZ #12922]
39639 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39640 but no long options are defined, just return 'W'.
39641
9895c8bc
UD
396422011-06-22 Marek Polacek <mpolacek@redhat.com>
39643
39644 [BZ #9696]
39645 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39646
5d4cf042
UD
396472011-07-06 Ulrich Drepper <drepper@gmail.com>
39648
39649 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39650 netgroups to read.
960e5535 39651 (innetgr): Likewise.
5d4cf042 39652
751eb97e
RM
396532011-07-05 Roland McGrath <roland@hack.frob.com>
39654
39655 * config.make.in (install_root): Default to $(DESTDIR).
39656
f15f1e45
UD
396572011-07-05 Ulrich Drepper <drepper@gmail.com>
39658
39659 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39660
4e34ac6a
RM
396612011-07-02 Roland McGrath <roland@hack.frob.com>
39662
5e9b6af4
RM
39663 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39664
84f9ea0f
RM
39665 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39666 containing directory rather than embedding absolute directory names.
39667
ea5ee9f7
RM
39668 * scripts/check-local-headers.sh: Rewritten using awk.
39669 Match by word, not by line. Print error messages for matches.
39670 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39671
1b74661a
RM
39672 * Makerules [shlib-lds-flags empty]:
39673 ($(common-objpfx)libc_pic.opts): New target.
39674 ($(common-objpfx)libc_pic.os.clean): New target.
39675 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39676
39677 * config.make.in (OBJCOPY): New variable.
39678 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39679 * configure: Regenerated.
39680
f781ef40
RM
39681 * config.make.in (use-default-link): New variable.
39682 * configure.in (use_default_link): Grok --with-default-link to set it.
39683 * configure: Regenerated.
39684 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39685 (shlib-lds, shlib-lds-flags): Define to empty.
39686
2d4fa81e
RM
39687 * Makerules (shlib-lds): New variable.
39688 (shlib-lds-flags): New variable.
39689 (build-shlib, build-moduile, build-module-asneeded): Use it.
39690 ($(common-objpfx)libc.so): Use $(shlib-lds).
39691 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39692 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39693
31fffa6b
RM
39694 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39695 DT_FLAGS/DT_FLAGS_1 with zero flags.
39696
4e34ac6a
RM
39697 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39698 linker script munging.
39699
fcfc776b
UD
397002011-07-02 Ulrich Drepper <drepper@gmail.com>
39701
39702 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39703 as 128-bit value.
39704 * crypt/sha512.c (sha512_process_block): Perform total addition using
39705 128-bit if possible.
39706 (__sha512_finish_ctx): Likewise.
39707 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39708 as 64-bit value.
39709 * crypt/sha256.c (SWAP64): Define.
39710 (sha256_process_block): Perform total addition using 64-bit if
39711 possible.
39712 (__sha256_finish_ctx): Likewise.
39713
99231d9a
UD
397142011-07-01 Ulrich Drepper <drepper@gmail.com>
39715
39716 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39717 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39718 * nscd/hstcache.c (cache_addhst): Likewise.
39719 * nscd/grpcache.c (cache_addgr): Likewise.
39720 * nscd/aicache.c (addhstaiX): Likewise
39721 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39722
445b4a53
TK
397232011-07-01 Thorsten Kukuk <kukuk@suse.de>
39724
39725 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39726 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39727 * nscd/hstcache.c (cache_addhst): Likewise.
39728 * nscd/grpcache.c (cache_addgr): Likewise.
39729 * nscd/aicache.c (addhstaiX): Likewise
39730
6d4d8e8e
AS
397312011-07-01 Andreas Schwab <schwab@redhat.com>
39732
39733 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39734 domain only when needed.
39735
89f654c5
AS
397362011-06-30 Andreas Schwab <schwab@redhat.com>
39737
39738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39739 is always restored.
39740
cf3b23ff
UD
397412011-06-29 Ulrich Drepper <drepper@gmail.com>
39742
39743 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39744 are re-adding the entry.
39745 * nscd/servicescache.c (cache_addserv): Likewise.
39746
751626f9
AJ
397472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39748
39749 * sysdeps/generic/dl-irel.h: fix protection against multiple
39750 inclusions.
39751 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39752
9113ea1f
UD
397532011-06-28 Ulrich Drepper <drepper@gmail.com>
39754
5c0b8d90
UD
39755 [BZ #12935]
39756 * malloc/memusage.sh: Fix quoting in message.
39757 * debug/xtrace.sh: Likewise.
39758
9113ea1f
UD
39759 * configure.in: Remove support for --experimental-malloc option, make
39760 it the default.
39761 * config.make.in: Likewise.
39762 * malloc/Makefile: Likewise.
39763
a4172181
AS
397642011-06-27 Andreas Schwab <schwab@redhat.com>
39765
39766 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39767 two-byte characters.
39768
78a7eee7
RM
397692011-06-27 Roland McGrath <roland@hack.frob.com>
39770
62bede13
RM
39771 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39772 AC_CACHE_CHECK invocation.
39773 * configure: Regenerated.
39774
78a7eee7
RM
39775 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39776
5ce33a62
UD
397772011-06-27 Ulrich Drepper <drepper@gmail.com>
39778
034807a9
UD
39779 [BZ #12350]
39780 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39781 bit from old_res_options.
39782
4902da17
UD
39783 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39784
5ce33a62
UD
39785 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39786 value type for setfct.
39787
c2344f56
L
397882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39789
39790 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39791 __gettimeofday instead of gettimeofday.
39792
68468076
UD
397932011-06-26 Ulrich Drepper <drepper@gmail.com>
39794
39795 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39796
acb0d739
L
397972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39798
39799 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39800
39801 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39802 info.
39803
8912479f
L
398042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39805
39806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39807 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39808 strcpy-sse2-unaligned strncpy-sse2-unaligned
39809 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39810 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39811 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39812 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39813 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39814 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39815 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39816 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39817 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39818 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39819 (STRCPY): Support SSE2 and SSSE3 versions.
39820
d5495a11
UD
398212011-06-24 Ulrich Drepper <drepper@gmail.com>
39822
39823 [BZ #12874]
39824 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39825 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39826 kernels which artificially limit size of requests.
39827
0b1cbaae
L
398282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39829
39830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39831 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39832 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39833 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39834 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39835 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39836 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39837 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39838 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39839 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39840 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39841 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39842 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39843 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39844 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39846 Enable unaligned load optimization for Intel Core i3, i5 and i7
39847 processors.
39848 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39849 Define.
39850 (index_Fast_Unaligned_Load): Define.
39851 (HAS_FAST_UNALIGNED_LOAD): Define.
39852
07f494a0
MP
398532011-06-23 Marek Polacek <mpolacek@redhat.com>
39854
39855 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39856
fa3fc0fe
UD
398572011-06-22 Ulrich Drepper <drepper@gmail.com>
39858
39859 [BZ #12907]
39860 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39861 until it is clear that the information is realy needed.
39862 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39863
e12df166
AS
398642011-06-22 Andreas Schwab <schwab@redhat.com>
39865
39866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39867
852eb34d
UD
398682011-06-22 Ulrich Drepper <drepper@gmail.com>
39869
84e2a551
UD
39870 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39871 /sys/devices/system/cpu/online if it is usable.
39872
852eb34d
UD
39873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39874 reading the information from the /proc filesystem to once a second.
39875
6e502e19
UD
398762011-06-21 Andreas Jaeger <aj@suse.de>
39877
39878 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39879 NULL after inclusion of kernel headers.
39880
75d39ff2
UD
398812011-06-21 Ulrich Drepper <drepper@gmail.com>
39882
51f9aa6a
UD
39883 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39884 calls to internal_setent.
39885
c0244a9d
UD
39886 [BZ #12885]
39887 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39888 addresses using gethostbyname4_r ignore IPv4 addresses.
39889
c5e3c2ae
UD
39890 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39891 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39892
75d39ff2
UD
39893 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39894
42675c6f
DM
398952011-06-20 David S. Miller <davem@davemloft.net>
39896
39897 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39898 inclusions.
39899 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39900
39901 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39902 (elf_irel): Use it.
39903 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39904 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39905 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39906 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39907 * sysdeps/x86_64/dl-irel.h: Likewise.
39908
39909 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39910 * elf/dl-sym.c: Likewise.
39911
57912a71
UD
399122011-06-15 Ulrich Drepper <drepper@gmail.com>
39913
39914 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39915 need to dereference resplen2.
39916
ee22793d
AS
399172011-06-14 Andreas Schwab <schwab@redhat.com>
39918
39919 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39920
a9e836b0
UD
399212011-06-15 Ulrich Drepper <drepper@gmail.com>
39922
77fb9117
UD
39923 * Makeconfig: Define vardbdir and inst_vardbdir.
39924 * nss/Makefile: Add rules to install db-Makefile.
39925
40c1b22c
UD
39926 * nss/nss_db/db-XXX.c: Cleanup.
39927
9f2da732
UD
39928 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39929 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39930 GLIBC_PRIVATE.
39931 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39932 * nss/makedb.c: Implement -g option to specify that value strings
39933 are generated and should not be added to table iterated over for
39934 get*ent calls.
39935 * nss/nss_db/db-initgroups.c: New file.
39936
82e9a1f7
UD
39937 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39938 interface.
39939
c41af17e
UD
39940 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39941 (internal_getgrouplist): Adjust to name change.
39942 Update use_initgroups_entry if this is not the first call.
39943 * nss/databases.def: Add initgroups entry.
39944
a9e836b0
UD
39945 * nss/makedb.c (compute_tables): Check result of multiple hash table
39946 sizes to minimize maximum chain length.
39947
2666d441
UD
399482011-06-14 Ulrich Drepper <drepper@gmail.com>
39949
39950 * Versions.def: Add entry for libnss_db.
39951 * shlib-versions: Likewise.
39952 * nss/Makefile: Add rules to build libnss_db.
39953 * nss/Versions: Add libnss_db information. Organize libnss_files
39954 entries better.
39955 * nss/db-Makefile: Add gshadow support. Change rules for the new
39956 makedb progra. Some minor improvements to generate smaller files.
39957 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39958 here from...
39959 * nss/makedb.c: ...here.
39960 Improve database format to be smaller and require less memory at
39961 runtime.
39962 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39963 db anymore.
39964 * nss/nss_db/db-netgrp.c: Likewise.
39965 * nss/nss_db/db-open.c: Likewise.
39966 * nss/nss_files/flies-XXX.x: Adjust comments.
39967 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39968 * nss/nss_files/files-grp.c: Likewise.
39969 * nss/nss_files/files-hosts.c: Likewise.
39970 * nss/nss_files/files-network.c: Likewise.
39971 * nss/nss_files/files-proto.c: Likewise.
39972 * nss/nss_files/files-pwd.c: Likewise.
39973 * nss/nss_files/files-rpc.c: Likewise.
39974 * nss/nss_files/files-service.c: Likewise.
39975 * nss/nss_files/files-sgrp.c: Likewise.
39976 * nss/nss_files/files-spwd.c: Likewise.
39977 * nss/nss_db/db-alias.c: Removed.
39978 * nss/nss_db/dummy-db.h: Removed.
39979
9ee76b5a
UD
399802011-06-02 Ulrich Drepper <drepper@gmail.com>
39981
39982 * nss/makedb.c: Rewritten to not use database library.
39983 * nss/Makefile: Update to build new makedb program.
39984
c71ca1f8
AJ
399852011-06-14 Andreas Jaeger <aj@suse.de>
39986
39987 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39988 memset declaration.
39989
3154bfb8
UD
399902011-06-10 Andreas Schwab <schwab@redhat.com>
39991
39992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39993 tmpbuf.
39994
b350afab
RM
399952011-06-10 Roland McGrath <roland@hack.frob.com>
39996
decd4e50
RM
39997 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39998 * elf/Makefile ($(objpfx)ld.so): Likewise.
39999
5615eaf2
RM
40000 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40001 Don't list ld.so twice in dependencies.
40002
40003 * posix/bug-regex31.c: Include <stdlib.h>.
40004
40005 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40006
40007 * nis/nss_compat/compat-spwd.c
40008 (getspent_next_nss_netgr): Remove unused variable.
40009 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40010
40011 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40012 nonmembers" output to use the right array.
40013
40014 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40015
40016 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40017
40018 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40019 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40020 * catgets/gencat.c (read_input_file): Likewise.
40021 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40022
40023 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40024 variable definition inside #if's controlling its use.
40025
40026 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40027
40028 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40029
40030 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40031
40032 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40033 unreachable code.
40034
40035 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40036
b68e08db
RM
40037 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40038 * configure: Regenerated.
40039
b350afab
RM
40040 * Makerules: Revert last change.
40041 * elf/Makefile: Likewise.
40042
28368601
RM
400432011-06-09 Roland McGrath <roland@hack.frob.com>
40044
40045 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40046 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40047 (reloc-link): Likewise.
40048
11988f8f
UD
400492011-06-09 Ulrich Drepper <drepper@gmail.com>
40050
40051 * elf/Makefile: Add rules to build pldd.
40052 * elf/pldd.c: New file.
40053 * elf/pldd-xx.c: New file.
40054
e80fab37
UD
400552011-06-07 Ulrich Drepper <drepper@gmail.com>
40056
40057 * version.h: Update for 2.15 development version.
40058
9b849836
DM
400592011-06-07 David S. Miller <davem@davemloft.net>
40060
40061 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40062 ifuncs.
40063 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40064 elf_machine_lazy_rel): Likewise.
40065 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40066 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40067 elf_machine_lazy_rel): Likewise.
40068 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40069 dl_hwcap via passed in argument.
40070 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40071 Likewise.
40072
5a31b283
AK
400732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40074
40075 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40076
069e52f8
RM
400772011-06-06 Roland McGrath <roland@hack.frob.com>
40078
40079 [BZ #12849]
40080 * manual/fdl-1.1.texi: New file, verbatim from:
40081 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40082 * manual/lgpl-2.1.texi: New file, verbatim from:
40083 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40084 * manual/Makefile (licenses): New variable, list those new file names.
40085 (texis): Use it.
40086 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40087
40088 * manual/fdl.texi: File removed.
40089 * manual/lesser.texi: File removed.
40090 * manual/libc.texinfo (Copying, Documentation License):
40091 Use new @include file names, put @appendix directive before @include.
40092
f16846a5
JJ
400932011-06-04 Jakub Jelinek <jakub@redhat.com>
40094
40095 [BZ #12841]
40096 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40097 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40098 (mq_open): Add __NTH.
40099
3d29045b
L
401002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40101
40102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40103 Assume Intel Core i3/i5/i7 processor if AVX is available.
40104
8c297311
UD
401052011-05-31 Ulrich Drepper <drepper@gmail.com>
40106
40107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40108 typo.
40109
c8fc0c91
UD
401102011-05-31 Andreas Schwab <schwab@redhat.com>
40111
40112 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40113 memory. Use alloca_account. Fix memory leak when retrying.
40114
5b27a807
UD
401152011-05-31 Ulrich Drepper <drepper@gmail.com>
40116
356f8bc6
UD
40117 * version.h (RELEASE): Bump for 2.14 release.
40118 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40119
5b27a807
UD
40120 * config.make.in (RANLIB): Remove entry.
40121
01f16ab0
UD
401222011-05-30 Ulrich Drepper <drepper@gmail.com>
40123
41fce8bd
UD
40124 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40125 (libc.pot): Work around missing support for .ksh extension in xgettext.
40126
4769ae77
UD
40127 [BZ #12684]
40128 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40129 if both request failed.
40130 (send_dg): In case of server errors clear resplen or *resplen2.
40131
6b1e7d19
UD
40132 [BZ #12454]
40133 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40134 when there are multiple maps.
40135 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40136 (_dl_fini): Remove test here.
40137
01f16ab0
UD
40138 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40139
b1ebd700
UD
401402011-05-29 Ulrich Drepper <drepper@gmail.com>
40141
7ae22829
UD
40142 [BZ #12350]
40143 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40144 bit from old_res_options.
40145 (gaih_inet): Likewise.
40146
553149f6 40147 [BZ #11099]
18a84741 40148 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40149 as signed.
40150
652ffab1
UD
40151 * resolv/res_init.c (res_setoptions): Make the code more compact.
40152
16985fd0
UD
40153 [BZ #11558]
40154 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40155 set RES_USEVC.
40156
0464f746
UD
40157 [BZ #11634]
40158 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40159
7d17596c
UD
40160 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40161
cf6bbbd7
UD
40162 [BZ #11781]
40163 * malloc/malloc.h: Declare malloc hook variables as volatile.
40164
13f1ab36
UD
40165 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40166 in last patch.
40167
b1ebd700
UD
40168 [BZ #11799]
40169 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40170 raise in the comment.
80e2212d
UD
40171 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40172 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40173 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40174
ce67228d
UD
401752011-05-28 Ulrich Drepper <drepper@gmail.com>
40176
8887a920
UD
40177 [BZ #12811]
40178 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40179 grow the buffers more if it already has to be sufficient.
40180 (build_wcs_upper_buffer): Likewise.
40181 * posix/regexec.c (check_matching): Likewise.
40182 (clean_state_log_if_needed): Likewise.
40183 (extend_buffers): Don't enlarge buffers beyond size of the input
40184 buffer.
40185 Patches mostly by Emil Wojak <emil@wojak.eu>.
40186 * posix/bug-regex32.c: New file.
40187 * posix/Makefile (tests): Add bug-regex32.
40188
4f031072
UD
40189 * locale/findlocale.c (_nl_find_locale): Return right away if
40190 _nl_explode_name failed.
40191 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40192
d0478f0c
UD
40193 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40194
de81b246
UD
40195 * debug/xtrace.sh: Unify messages.
40196 * malloc/memusage.sh: Likewise.
40197
c738465a
UD
40198 [BZ #12813]
40199 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40200 time symbol from vDSO. Substitute with vsyscall if not available.
40201 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40202 __vdso_time.
40203
f1f929d7
UD
40204 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40205 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40206 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40207 Add sendmmsg and internal_sendmmsg.
40208 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40209 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40210 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40211
ce67228d
UD
40212 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40213 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40214 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40215
e57420c6
UD
402162011-05-27 Ulrich Drepper <drepper@gmail.com>
40217
a8509ca5
UD
40218 [BZ #12813]
40219 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40220 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40221 available.
40222 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40223 __vdso_getcpu.
40224
e57420c6
UD
40225 [BZ #12814]
40226 * iconvdata/Makefile (tests): Add bug-iconv9.
40227 * iconvdata/bug-iconv9.c: New file.
40228
4d07db15
AS
402292011-05-27 Andreas Schwab <schwab@redhat.com>
40230
40231 [BZ #12814]
40232 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40233
ea486f69
JJ
402342011-05-25 Jakub Jelinek <jakub@redhat.com>
40235
40236 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40237 (struct user_regs_struct): Change intcs field back to cs.
40238
6f038433
UD
402392011-05-25 Ulrich Drepper <drepper@gmail.com>
40240
40241 * po/ja.po: Update from translation team.
40242
67f86a25
UD
402432011-05-23 Ulrich Drepper <drepper@gmail.com>
40244
40245 [BZ #12795]
40246 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40247 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40248
def7fbd6
AS
402492011-05-20 Andreas Schwab <schwab@redhat.com>
40250
40251 * stdlib/longlong.h: Update from GCC.
40252
f50ef8f1
AS
402532011-05-23 Andreas Schwab <schwab@redhat.com>
40254
40255 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40256 parameter name.
40257 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40258 Add parameter name.
40259 (__sysconf): Pass it down.
40260
de7ce8f1
UD
402612011-05-22 Ulrich Drepper <drepper@gmail.com>
40262
f2962a71
UD
40263 [BZ #12671]
40264 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40265 some situations.
40266 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40267 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40268 add in in __libc_use_alloca calls. Adjust callers.
40269 (glob): Use malloc in some situations.
40270
de7ce8f1
UD
40271 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40272 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40273 pltexit.
40274
aec84f53
UD
402752011-05-21 Ulrich Drepper <drepper@gmail.com>
40276
05bb4a68
UD
40277 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40278 and CLOCK_BOOTTIME_ALARM.
40279
7ea72f99
UD
40280 [BZ #12782]
40281 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40282 is returned.
40283
7e4afad5
UD
40284 * string/_strerror.c (__strerror_r): Print negative errors as signed
40285 numbers.
40286
8e211fec
UD
40287 [BZ #12777]
40288 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40289 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40290 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40291
f7d82dc9
UD
40292 * configure.in: Fix typo in redirection and correct removal of test
40293 files in two cases.
40294
cc9e536d
UD
40295 [BZ #12788]
40296 * locale/setlocale.c (new_composite_name): Fix test to check for
40297 identical name of all categories.
40298
aec84f53
UD
40299 [BZ #12792]
40300 * libio/filedoalloc.c (local_isatty): New function.
40301 (_IO_file_doallocate): Use local_isatty.
40302 * stdio-common/perror.c (perror): In case a new stream is used
40303 forward the stream error.
40304 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40305 error flag.
40306
78e64fdc
RT
403072011-05-20 Ulrich Drepper <drepper@gmail.com>
40308
34a9094f
UD
40309 [BZ #11869]
40310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40311 alloca.
40312 * include/alloca.h (extend_alloca_account): Define.
40313
78e64fdc
RT
40314 [BZ #11857]
40315 * posix/regex.h: Fix comments with documentation of user-accessible
40316 fields after compilation and describe correct free'ing of pattern
40317 after re_compile_pattern.
40318 Patch by Reuben Thomas <rrt@sc3d.org>.
40319
457bddfc
RA
403202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40321
40322 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40323 and -mno-altivec to prevent the compiler from using Altivec and/or
40324 VSX instructions when the corresponding registers are not available.
40325
a4527b51
AS
403262011-05-19 Andreas Schwab <schwab@redhat.com>
40327
40328 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40329
ed690b2f
UD
403302011-05-19 Ulrich Drepper <drepper@gmail.com>
40331
40332 * libio/freopen.c (freopen): Use __dup2, not dup2.
40333 * libio/freopen64.c (freopen64): Likewise.
40334
8db73634
L
403352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40336
40337 [BZ #12775]
40338 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40339 * math/Makefile (tests): Add test-powl.
40340 (CFLAGS-test-powl.c): Define.
40341 * math/test-powl.c: New file.
40342
0a197a9d
L
403432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40344
40345 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40346
ee30c380
UD
403472011-05-17 Ulrich Drepper <drepper@gmail.com>
40348
40349 [BZ #11837]
40350 * iconvdata/gb18030.c: Update to GB18020-2005.
40351
6ce75379
UD
403522011-05-16 Ulrich Drepper <drepper@gmail.com>
40353
a4b89fd8
AR
40354 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40355 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40356 Patch by Aharon Robbins <arnold@skeeve.com>.
40357
ea389b12
UD
40358 [BZ #11892]
40359 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40360 on the stack.
40361
68a3f91f
UD
40362 [BZ #11895]
40363 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40364 through underflows.
40365
15cc7dd1
UD
40366 [BZ #12766]
40367 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40368 point to strings before performing equality test for error_one_per_line
40369 mode.
40370
f3799213
UD
40371 [BZ #11697]
40372 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40373
d79a9c94
UD
40374 [BZ #11820]
40375 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40376 (struct user_fpregs_struct): Avoid __uint*_t types.
40377
56e5eb46
UD
40378 [BZ #6420]
40379 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40380 symbol info. Use it instead of calling _dl_addr locally.
40381 (lock_and_info): New function.
40382 (tr_freehook): Call lock_and_info and pass symbol info as additional
40383 parameter to tr_where.
40384 (tr_mallochook): Likewise.
40385 (tr_reallochook): Likewise.
40386 (tr_memalignhook): Likewise.
40387
6ce75379
UD
40388 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40389 used and couldn't be at all thread-safe.
40390
f8a3b5bf
UD
403912011-05-15 Ulrich Drepper <drepper@gmail.com>
40392
94b7cc37
UD
40393 * libio/freopen.c (freopen): Don't close old file descriptor
40394 before the new one is opened. Instead dup the new file descriptor
40395 to the old one after the new stream is created.
40396 * libio/freopen64.c (freopen64): Likewise.
40397 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40398 * libio/fileops.c (_IO_new_file_close_it): Handle new
40399 _IO_FLAGS2_NOCLOSE flag.
40400 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40401 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40402 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40403 _IO_FLAGS2_NOCLOSE flag.
40404 * include/unistd.h: Add hidden_proto for dup3.
40405 Define __have_dup3.
40406 * io/dup3.c: Define hidden symbol.
40407 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40408
bd25564e
UD
40409 [BZ #7101]
40410 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40411 when an incomplete long option is used.
40412 * posix/tst-getopt_long1.c: New file.
40413 * posix/Makefile (tests): Add tst-getopt_long1.
40414
c84cfef4
UD
40415 [BZ #10138]
40416 * scripts/config.guess: Update from autoconf-2.68.
40417 * scripts/config.sub: Likewise.
40418
3b85df27
UD
40419 [BZ #10157]
40420 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40421 tests into ...
40422 (has_cpuclock): ...this. New function.
40423 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40424 macro here based on has_cpuclock code.
40425
15a856b1
UD
40426 [BZ #10149]
40427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40428 First byte (not low byte) is now always NUL.
40429 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40430
05f399e6
UD
40431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40432 Use non-cancelable interfaces.
40433
10a52685 40434 [BZ #9809]
94ecc67d
UD
40435 * locale/iso-639.def: Add entry for Sorani.
40436
f8a3b5bf
UD
40437 [BZ #11901]
40438 * include/stdlib.h: Move include protection to the right place.
40439 Define abort_msg_s. Declare __abort_msg with it.
40440 * stdlib/abort.c (__abort_msg): Adjust type.
40441 * assert/assert.c (__assert_fail_base): New function. Majority
40442 of code from __assert_fail. Allocate memory for __abort_msg with
40443 mmap.
40444 (__assert_fail): Now call __assert_fail_base.
40445 * assert/assert-perr.c: Remove bulk of implementation. Use
40446 __assert_fail_base.
40447 * include/assert.hL Declare __assert_fail_base.
40448 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40449 mmap.
40450 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40451
1af4e298
UD
404522011-05-14 Ulrich Drepper <drepper@gmail.com>
40453
f8a3b5bf 40454 [BZ #11952]
d26dfc60
MG
40455 [BZ #12453]
40456 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40457 until all modules are registered in the DTV.
40458 * elf/Makefile: Add rules to build and run tst-tls19.
40459 * elf/tst-tls19.c: New file.
40460 * elf/tst-tls19mod1.c: New file.
40461 * elf/tst-tls19mod2.c: New file.
40462 * elf/tst-tls19mod3.c: New file.
40463 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40464
2fc54d6f
UD
40465 [BZ #12083]
40466 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40467 correctly.
40468
98d76b46
UD
40469 [BZ #12601]
40470 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40471 two-byte sequence errors.
40472 * iconvdata/Makefile (tests): Add bug-iconv8.
40473 * iconvdata/bug-iconv8.c: New file.
40474
da3c19ef
UD
40475 [BZ #12626]
40476 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40477 buf2 definition.
40478
ca408c15
UD
40479 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40480
d6f67f7d
UD
40481 [BZ #12432]
40482 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40483 (dummy_getcfa): New function.
40484 (init): Get _Unwind_GetCFA address, use dummy if not found.
40485 (backtrace_helper): In recursion check, also check whether CFA changes.
40486 (__backtrace): Completely initialize arg.
40487
1af4e298 40488 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40489 storing incomplete byte sequence in state object. Avoid testing for
40490 guaranteed too small input if we know there is enough data available.
1af4e298 40491
da62f81b
AS
404922011-05-11 Andreas Schwab <schwab@redhat.com>
40493
40494 * Makeconfig (+link-pie): Indent.
40495 * Rules (binaries-pie): Define if $(have-fpie) and
40496 $(build-shared).
40497 (binaries-shared): Also filter out $(binaries-pie).
40498 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40499 * nscd/Makefile (others-pie): Add nscd.
40500 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40501 ($(objpfx)nscd): Remove command override.
40502 * login/Makefile (others-pie): Add pt_chown.
40503 ($(objpfx)pt_chown): Remove command override.
40504 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40505 remove command overrides.
40506
fcabc0f8
UD
405072011-05-13 Ulrich Drepper <drepper@gmail.com>
40508
20030ae6
UD
40509 * libio/tst_putwc.c: Fix error messages.
40510
fcabc0f8
UD
40511 [BZ #12724]
40512 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40513 currently writing and seek to current position when not.
40514 * libio/Makefile (tests): Add bug-fclose1.
40515 * libio/bug-fclose1.c: New file.
40516
320a5dc0
PB
405172011-05-12 Ulrich Drepper <drepper@gmail.com>
40518
40519 [BZ #12511]
40520 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40521 don't set DF_1_NODELETE here.
40522 (do_lookup_x): When entering new entry test for copy relocation
40523 and if necessary set DF_1_NODELETE flag.
40524 * elf/tst-unique4.cc: New file.
40525 * elf/tst-unique4.h: New file.
40526 * elf/tst-unique4lib.cc: New file.
40527 * elf/Makefile: Add rules to build and run tst-unique4.
40528 Patch by Piotr Bury <pbury@goahead.com>.
40529
22836f52
UD
405302011-05-11 Ulrich Drepper <drepper@gmail.com>
40531
f574184a
UD
40532 [BZ #12052]
40533 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40534
e1fb097f
UD
40535 [BZ #12625]
40536 * misc/mntent_r.c (addmntent): Flush the stream after the output
40537
22836f52
UD
40538 [BZ #12393]
40539 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40540 (is_trusted_path_normalize): Skip initial colon. Append slash
40541 to empty buffer. Duplicate is_trusted_path code but allow
40542 constructed patch to be prefix.
40543 (is_dst): Allow $ORIGIN followed by /.
40544 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40545 Correct testing of result of is_trusted_path_normalize
40546 (decompose_rpath): Fix warning.
40547
7b3b0b2a
UD
405482011-05-10 Ulrich Drepper <drepper@gmail.com>
40549
40550 [BZ #11257]
40551 * grp/initgroups.c (internal_getgrouplist): When we found the service
40552 list through the initgroups entry in nsswitch.conf do not always
40553 continue on a successful lookup. Don't always use the
eac80ce2 40554 __nss_group_database value if it is set.
7b3b0b2a
UD
40555 * nss/nsswitch.conf (initgroups): Change action for successful db
40556 lookup to continue for compatibility.
40557
2a81eaa5
UD
405582011-05-09 Ulrich Drepper <drepper@gmail.com>
40559
be97a69e
UD
40560 [BZ #11532]
40561 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40562 and CP774 modules.
40563 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40564 and CP774 modules.
40565 * iconvdata/tst-tables.sh: Likewise.
40566 * iconvdata/cp770.c: New file.
40567 * iconvdata/cp771.c: New file.
40568 * iconvdata/cp772.c: New file.
40569 * iconvdata/cp773.c: New file.
40570 * iconvdata/cp774.c: New file.
40571 * iconvdata/testdata/CP770: New file.
40572 * iconvdata/testdata/CP770..UTF8: New file.
40573 * iconvdata/testdata/CP771: New file.
40574 * iconvdata/testdata/CP771..UTF8: New file.
40575 * iconvdata/testdata/CP772: New file.
40576 * iconvdata/testdata/CP772..UTF8: New file.
40577 * iconvdata/testdata/CP773: New file.
40578 * iconvdata/testdata/CP773..UTF8: New file.
40579 * iconvdata/testdata/CP774: New file.
40580 * iconvdata/testdata/CP774..UTF8: New file.
40581
40582 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40583 END CHARMAP line.
40584 * iconvdata/gen-8bit-gap.sh: Likewise.
40585 * iconvdata/gen-8bit.sh: Likewise.
40586
c1e9e399
UD
40587 * locale/iso-639.def: Add ary entry.
40588
24c55fb3 40589 [BZ #11258]
96b4b1b0
UD
40590 * locale/C-translit.h.in: Add U20A1 transliteration.
40591
bdc2f971
KB
40592 [BZ #12178]
40593 * locale/iso-639.def: Add wae entry.
40594 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40595
2952b117
UD
40596 [BZ #12545]
40597 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40598 for n.
40599
2a81eaa5
UD
40600 [BZ #12711]
40601 * locale/C-translit.h.in: Add entry for U20B9.
40602 Patch by pravin.d.s@gmail.com.
40603
28377d1b
UD
406042011-05-08 Ulrich Drepper <drepper@gmail.com>
40605
7fb90fb8
UD
40606 [BZ #12713]
40607 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40608 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40609 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40610 in rtld. Use *stat64.
7fb90fb8 40611 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40612 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40613 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40614 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40615 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40616 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40617 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40618 __fstatat64 macros.
7fb90fb8
UD
40619 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40620 * dirent/rewinddir.c: Add libc_hidden_def.
40621 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40622 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40623
28377d1b
UD
40624 * include/dirent.h (__alloc_dir): Add flags parameter.
40625 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40626 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40627 __alloc_dir.
40628 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40629 from fdopendir if O_CLOEXEC is already set.
40630
66bdbaa4
AM
406312011-03-15 Alan Modra <amodra@gmail.com>
40632
40633 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40634 l_tls_firstbyte_offset non-zero. Save padding offset in
40635 l_tls_firstbyte_offset for later use.
40636 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40637 freeing static tls block.
40638
95721191
JN
406392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40640
40641 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40642 where #ifdef was intended. The intent is to prevent ARG_MAX from
40643 being defined by the kernel headers.
40644
f87dfb1f
UD
406452011-05-07 Ulrich Drepper <drepper@gmail.com>
40646
40647 [BZ #12734]
40648 * resolv/resolv.h: Define RES_NOTLDQUERY.
40649 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40650 no-tld-query and set RES_NOTLDQUERY.
40651 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40652 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40653 modern BIND to search name as TLD unless forbidden.
40654
47c3cd7a
UD
406552011-05-07 Petr Baudis <pasky@suse.cz>
40656 Ulrich Drepper <drepper@gmail.com>
40657
40658 [BZ #12393]
40659 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40660 (is_trusted_path): ...to here.
c1e9ea35 40661 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40662 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40663 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40664
8a35c912
PP
406652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40666
40667 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40668 __BEGIN/__END_DECLS.
40669
acd41f47
UD
406702011-05-06 Ulrich Drepper <drepper@gmail.com>
40671
40672 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40673 NSS_STATUS_NOTFOUND if no record was found.
40674
597df647
AS
406752011-05-05 Andreas Schwab <schwab@redhat.com>
40676
40677 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40678 (headers-not-in-tirpc): Remove rpc/netdb.h
40679 * resolv/netdb.h: Revert last change.
40680
b9af1301
PP
406812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40682
40683 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40684 circular dependency between libgcc.a and libc.a.
40685
4e34d5f5
AS
406862011-05-05 Andreas Schwab <schwab@redhat.com>
40687
40688 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40689 * nis/Makefile: Don't install rpcsvc/*.
40690 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40691 instead of <rpc/types.h>.
40692 (MAXHOSTNAMELEN): Define.
40693
00ee369c
AS
406942011-05-03 Andreas Schwab <schwab@redhat.com>
40695
40696 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40697
0b592a30
MB
406982011-04-28 Maciej Babinski <mbabinski@google.com>
40699
40700 [BZ #12714]
40701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40702 gethostbyname4_r when IPv6 results are possible.
40703
6e04cbbe
UD
407042011-05-02 Ulrich Drepper <drepper@gmail.com>
40705
40706 [BZ #12723]
40707 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40708 _PC_PIPE_BUF handling.
40709
e4ecafe0
BH
407102011-04-30 Bruno Haible <bruno@clisp.org>
40711
40712 [BZ #12717]
40713 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40714 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40715 to 'int'.
40716 * inet/getnameinfo.c (getnameinfo): Likewise.
40717
125ee683
UD
407182011-04-29 Ulrich Drepper <drepper@gmail.com>
40719
40720 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40721 to groups setting in database lookup.
40722 * nss/nsswitch.conf: Add initgroups entry.
40723
b722481a
EB
407242011-04-22 Ulrich Drepper <drepper@gmail.com>
40725
40726 [BZ #12685]
40727 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40728 mode string.
40729 Patch by Eric Blake <eblake@redhat.com>.
40730
4df46dbd
L
407312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40732
40733 * sunrpc/Makefile (need-export-routines): Add svc_run.
40734 (routines): Remove svc_run.
40735 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40736 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40737 * sunrpc/svc_run.c (svc_run): Likewise.
40738 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40739
e84142d2
UD
407402011-04-21 Ulrich Drepper <drepper@gmail.com>
40741
40742 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40743 problem in reallocation in last patch.
40744
877175d8
UD
407452011-04-20 Ulrich Drepper <drepper@gmail.com>
40746
40747 * sunrpc/Makefile: Move inclusion of Rules.
40748
ab8eed78
UD
407492011-04-19 Ulrich Drepper <drepper@gmail.com>
40750
40751 * nss/nss_files/files-initgroups.c: New file.
40752 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40753 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40754 _nss_files_initgroups_dyn.
40755
e3d8f584
RS
407562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40757
40758 * elf/elf.h (R_ARM_IRELATIVE): Define.
40759
af190f45
UD
407602011-04-19 Ulrich Drepper <drepper@gmail.com>
40761
40762 * po/ru.po: Update from translation team.
40763
53cf59ef
UD
407642011-04-17 Ulrich Drepper <drepper@gmail.com>
40765
40766 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40767 dependencies.
40768
4c559bcd
MF
407692011-02-06 Mike Frysinger <vapier@gentoo.org>
40770
40771 [BZ #12653]
40772 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40773 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40774 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40775 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40776 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40777
4420675c
AS
407782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40779
40780 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40781 differing bytes.
40782 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40783 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40785
75ea32ab
UD
407862011-04-17 Ulrich Drepper <drepper@gmail.com>
40787
40788 [BZ #12420]
40789 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40790 storing it.
40791 * stdlib/bug-getcontext.c: New file.
40792 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40793
27390476
AK
407942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40795
40796 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40797 instructions into .machine "z9-109".
40798 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40799 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40800
10442705
AK
408012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40802
40803 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40804 between environment variables and auxiliary vector.
40805
7b57bfe5
UD
408062011-04-16 Ulrich Drepper <drepper@gmail.com>
40807
40808 * Makefile: Add rules to build linkobj/libc.so.
40809 * include/libc-symbols.h: Define libc_hidden_nolink.
40810 * include/rpc/auth.h: Mark functions which are to be hidden.
40811 * include/rpc/auth_des.h: Likewise.
40812 * include/rpc/auth_unix.h: Likewise.
40813 * include/rpc/clnt.h: Likewise.
40814 * include/rpc/des_crypt.h: Likewise.
40815 * include/rpc/key_prot.h: Likewise.
40816 * include/rpc/pmap_clnt.h: Likewise.
40817 * include/rpc/pmap_prot.h: Likewise.
40818 * include/rpc/pmap_rmt.h: Likewise.
40819 * include/rpc/rpc_msg.h: Likewise.
40820 * include/rpc/svc.h: Likewise.
40821 * include/rpc/svc_auth.h: Likewise.
40822 * include/rpc/xdr.h: Likewise.
40823 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40824 * nss/Makefile: Likewise.
40825 * sunrpc/Makefile: Don't install headers. Build library with normal
40826 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40827 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40828 for the compat linking library. Remove use of INTDEF/INTUSE.
40829 * sunrpc/auth_none.c: Likewise.
40830 * sunrpc/auth_unix.c: Likewise.
40831 * sunrpc/authdes_prot.c: Likewise.
40832 * sunrpc/authuxprot.c: Likewise.
40833 * sunrpc/clnt_gen.c: Likewise.
40834 * sunrpc/clnt_perr.c: Likewise.
40835 * sunrpc/clnt_raw.c: Likewise.
40836 * sunrpc/clnt_simp.c: Likewise.
40837 * sunrpc/clnt_tcp.c: Likewise.
40838 * sunrpc/clnt_udp.c: Likewise.
40839 * sunrpc/clnt_unix.c: Likewise.
40840 * sunrpc/des_crypt.c: Likewise.
40841 * sunrpc/des_soft.c: Likewise.
40842 * sunrpc/get_myaddr.c: Likewise.
40843 * sunrpc/key_call.c: Likewise.
40844 * sunrpc/key_prot.c: Likewise.
40845 * sunrpc/netname.c: Likewise.
40846 * sunrpc/pm_getmaps.c: Likewise.
40847 * sunrpc/pm_getport.c: Likewise.
40848 * sunrpc/pmap_clnt.c: Likewise.
40849 * sunrpc/pmap_prot.c: Likewise.
40850 * sunrpc/pmap_prot2.c: Likewise.
40851 * sunrpc/pmap_rmt.c: Likewise.
40852 * sunrpc/publickey.c: Likewise.
40853 * sunrpc/rpc_cmsg.c: Likewise.
40854 * sunrpc/rpc_common.c: Likewise.
40855 * sunrpc/rpc_dtable.c: Likewise.
40856 * sunrpc/rpc_prot.c: Likewise.
40857 * sunrpc/rpc_thread.c: Likewise.
40858 * sunrpc/rtime.c: Likewise.
40859 * sunrpc/svc.c: Likewise.
40860 * sunrpc/svc_auth.c: Likewise.
40861 * sunrpc/svc_authux.c: Likewise.
40862 * sunrpc/svc_raw.c: Likewise.
40863 * sunrpc/svc_run.c: Likewise.
40864 * sunrpc/svc_simple.c: Likewise.
40865 * sunrpc/svc_tcp.c: Likewise.
40866 * sunrpc/svc_udp.c: Likewise.
40867 * sunrpc/svc_unix.c: Likewise.
40868 * sunrpc/svcauth_des.c: Likewise.
40869 * sunrpc/xcrypt.c: Likewise.
40870 * sunrpc/xdr.c: Likewise.
40871 * sunrpc/xdr_array.c: Likewise.
40872 * sunrpc/xdr_float.c: Likewise.
40873 * sunrpc/xdr_intXX_t.c: Likewise.
40874 * sunrpc/xdr_mem.c: Likewise.
40875 * sunrpc/xdr_rec.c: Likewise.
40876 * sunrpc/xdr_ref.c: Likewise.
40877 * sunrpc/xdr_sizeof.c: Likewise.
40878 * sunrpc/xdr_stdio.c: Likewise.
40879
e6c61494
UD
408802011-04-10 Ulrich Drepper <drepper@gmail.com>
40881
40882 [BZ #12650]
40883 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40884 * sysdeps/ia64/dl-tls.h: Likewise.
40885 * sysdeps/powerpc/dl-tls.h: Likewise.
40886 * sysdeps/s390/dl-tls.h: Likewise.
40887 * sysdeps/sh/dl-tls.h: Likewise.
40888 * sysdeps/sparc/dl-tls.h: Likewise.
40889 * sysdeps/x86_64/dl-tls.h: Likewise.
40890 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40891
34fe483e
AS
408922011-03-14 Andreas Schwab <schwab@redhat.com>
40893
40894 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40895 rpath element also skip the following colon.
40896 (expand_dynamic_string_token): Add is_path parameter and pass
40897 down to DL_DST_REQUIRED and _dl_dst_substitute.
40898 (decompose_rpath): Call expand_dynamic_string_token with
40899 non-zero is_path. Ignore empty rpaths.
40900 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40901 with zero is_path.
40902
f12a32e6
AS
409032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40904
40905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40906 Make cancelable.
40907
38a7d692
UD
409082011-04-09 Ulrich Drepper <drepper@gmail.com>
40909
40910 [BZ #12655]
40911 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40912 Patch by Filipe David Manana <fdmanana@apache.org>.
40913
e451d22b
AS
409142011-04-07 Andreas Schwab <schwab@redhat.com>
40915
40916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40917 Maintain aligned stack.
40918 (CHECK_RSP): Remove unused macro.
40919
dedc7c7b
UD
409202011-04-03 Ulrich Drepper <drepper@gmail.com>
40921
40922 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40923 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40924
94521213
UD
409252011-04-02 Ulrich Drepper <drepper@gmail.com>
40926
40927 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40928
8cb700c0 40929 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40930
0354e355
L
409312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40932
40933 [BZ #12518]
40934 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40935 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40936 * sysdeps/x86_64/memmove.c: New file.
40937 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40938 (memcpy): Renamed to ...
40939 (__new_memcpy): This.
40940 (memcpy): Provide GLIBC_2_14 memcpy.
40941 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40942 (memcpy): Provide GLIBC_2_2_5 memcpy.
40943
8593482f
UD
409442011-04-01 Ulrich Drepper <drepper@gmail.com>
40945
40946 [BZ #12631]
40947 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40948
81a5726b
AS
409492011-03-30 Andreas Schwab <schwab@redhat.com>
40950
40951 * misc/syncfs.c: New file.
40952 * misc/Makefile (routines): Add syncfs.
40953 * posix/unistd.h: Declare syncfs.
40954 * sysdeps/unix/syscalls.list: Add syncfs.
40955
00e5419f
AS
409562011-04-01 Andreas Schwab <schwab@redhat.com>
40957
40958 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40959 open_by_handle_at.
40960 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40961 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40965 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40966 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40967
748876bf
UD
409682011-04-01 Ulrich Drepper <drepper@gmail.com>
40969
658e451d
UD
40970 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40971 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40972 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40974 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40975 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40976 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40977
748876bf
UD
40978 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40979 sync_file_range.c with -fexceptions.
40980 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40981 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40982 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40983 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40984 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40985 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40986 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40987 sync_file_range as cancellation point
40988 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40989 now a wrapper around __call_sync_file_range with cancellation handling.
40990 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40991 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40992 function name to __call_sync_file_range.
40993 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40994 Add call_sync_file_range.
748876bf 40995
6e63d5e1
AS
409962011-04-01 Andreas Schwab <schwab@redhat.com>
40997
40998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40999 bits/timex.h.
6e63d5e1 41000
46998f74
UD
410012011-04-01 Ulrich Drepper <drepper@gmail.com>
41002
4c1423ed
UD
41003 * iconv/iconv.h: Fix typo in comment.
41004 * io/fcntl.h: Likewise.
41005 * libio/stdio.h: Likewise.
41006 * posix/spawn.h: Likewise.
41007 * posix/unistd.h: Likewise.
41008 * stdlib/stdlib.h: Likewise.
41009 * time/time.h: Likewise.
41010 * wcsmbs/wchar.h: Likewise.
41011
158648c0
UD
41012 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41013 open_by_handle): Add.
41014 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41015 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41016 Augment a few comments.
41017 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41019 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41020 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41021 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41022 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41023 open_by_handle.
41024
46998f74
UD
41025 * io/fcntl.h (AT_EMPTY_PATH): Define.
41026
83fe108b
UD
410272011-03-30 Ulrich Drepper <drepper@gmail.com>
41028
41029 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41030 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41031 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41032 to...
41033 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41034 * Versions.def: Add GLIBC_2.14.
41035 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41036 Export.
83fe108b 41037
bb242059
UD
410382011-03-22 Ulrich Drepper <drepper@gmail.com>
41039
41040 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41041 round counter.
41042 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41043
c97a1282
L
410442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41045
41046 [BZ #12597]
41047 * string/test-strncmp.c (do_page_test): New function.
41048 (check2): Likewise.
41049 (test_main): Call check2.
41050 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41051
2a115601
UD
410522011-03-20 Ulrich Drepper <drepper@gmail.com>
41053
41054 [BZ #12587]
41055 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41056 Handle cache information in CPU leaf 4.
41057 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41058
8126d904
UD
410592011-03-18 Ulrich Drepper <drepper@gmail.com>
41060
042c49c6 41061 [BZ #12583]
8126d904
UD
41062 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41063 character representation.
41064 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41065
ccfe366e
RA
410662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41067
41068 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41069 END(__isnan) to END(__isnanf) to match function entry point/label
41070 EALIGN(__isnanf,...).
41071
c6e13027
JJ
410722011-03-10 Jakub Jelinek <jakub@redhat.com>
41073
41074 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41075
33f85a3f
UD
410762011-03-10 Ulrich Drepper <drepper@gmail.com>
41077
028478fa
UD
41078 [BZ #12510]
41079 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41080 copy from the symbol referenced in the relocation to initialize the
41081 used variable.
41082 Patch by Piotr Bury <pbury@goahead.com>.
41083 * elf/Makefile: Add rules to build and tst-unique3.
41084 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41085 * elf/tst-unique3.cc: New file.
41086 * elf/tst-unique3.h: New file.
41087 * elf/tst-unique3lib.cc: New file.
41088 * elf/tst-unique3lib2.cc: New file.
41089
33f85a3f
UD
41090 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41091
03592fc7
MF
410922011-03-10 Mike Frysinger <vapier@gentoo.org>
41093
41094 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41095 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41096 to _start.
03592fc7 41097
6a5ee102
UD
410982011-03-06 Ulrich Drepper <drepper@gmail.com>
41099
41100 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41101 to-be-loaded object along a path to loader is ld.so.
41102
7e4ba49c
HJ
411032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41104 Ulrich Drepper <drepper@gmail.com>
41105
41106 * sysdeps/x86_64/memset.S: After aligning destination, code
41107 branches to different locations depending on the value of
41108 misalignment, when multiarch is enabled. Fix this.
41109
411102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41111
41112 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41113 Set _x86_64_preferred_memory_instruction for AMD processsors.
41114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41115 Set bit_Prefer_SSE_for_memop for AMD processors.
41116
13a804de
UD
411172011-03-04 Ulrich Drepper <drepper@gmail.com>
41118
41119 * libio/fmemopen.c (fmemopen): Optimize a bit.
41120
9d25c392
AS
411212011-03-03 Andreas Schwab <schwab@redhat.com>
41122
41123 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41124
a5543c6a
RM
411252011-03-03 Roland McGrath <roland@redhat.com>
41126
41127 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41128
012d35f7
DM
411292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41130
7e4ba49c 41131 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41132 __bzero_ultra1 instead of __memset_ultra1.
41133
4bff6e01
AS
411342011-02-23 Andreas Schwab <schwab@redhat.com>
41135 Ulrich Drepper <drepper@gmail.com>
41136
41137 [BZ #12509]
41138 * include/link.h (struct link_map): Add l_orig_initfini.
41139 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41140 returning unsuccessfully.
41141 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41142 close of a file loaded at startup, restore the original l_initfini
41143 list.
41144 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41145 list, store the pointer.
41146 * elf/Makefile ($(objpfx)noload-mem): New rule.
41147 (noload-ENV): Define.
41148 (tests): Add $(objpfx)noload-mem.
41149 * elf/noload.c: Include <memcheck.h>.
41150 (main): Call mtrace. Close all opened handles.
41151
f2092faf
AS
411522011-02-17 Andreas Schwab <schwab@redhat.com>
41153
41154 [BZ #12454]
41155 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41156 dependencies are missing.
41157
6c8a2e88
ST
411582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41159
f2092faf 41160 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41161 Hurd needs munmap.
41162 * sysdeps/mach/hurd/ifreq.h: New file.
41163
84a42118
PB
411642011-01-27 Petr Baudis <pasky@suse.cz>
41165 Ulrich Drepper <drepper@gmail.com>
41166
071f805e 41167 [BZ 12445]#
84a42118
PB
41168 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41169 to extend_alloca().
41170 * stdio-common/bug23.c: New file.
41171 * stdio-common/Makefile (tests): Add bug23.
41172
e23fe25b
AS
411732010-09-28 Andreas Schwab <schwab@redhat.com>
41174 Ulrich Drepper <drepper@gmail.com>
41175
41176 [BZ #12489]
41177 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41178 before performing relro protection. At old place add assertion
41179 to make sure nothing changed.
41180
d3f02e10
NS
411812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41182 Glauber de Oliveira Costa <glommer@gmail.com>
41183
41184 * elf/elf.h: Add new ARM TLS relocs.
41185
d55fd7a5
RA
411862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41187
41188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41189 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41190 cast from r3.
41191 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41192 'tests' variable.
41193 * sysdeps/wordsize-64/tst-writev.c: New file.
41194
2206397e
RA
411952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41196
41197 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41198 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41199 insns in _dl_start to prevent a TOC reference before relocs are
41200 resolved.
41201
e9433893
UD
412022011-02-15 Ulrich Drepper <drepper@gmail.com>
41203
41204 [BZ #12469]
41205 * Makeconfig: Remove RANLIB definition.
41206 * Makerules: Don't use RANLIB.
41207 * aclocal.m4: Remove ranlib test.
41208 * configure.in: No need to check for ranlib.
41209 * elf/rtld-Rules: Don't use RANLIB.
41210
f75286c6
ST
412112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41212
8e31c82d
ST
41213 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41214 protection macro.
41215 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41216 inclusion protection macro.
41217
f75286c6
ST
41218 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41219 SIGRTMIN and SIGRTMAX and print information in that case only when
41220 SIGRTMIN is defined.
41221
c1d0e639
JJ
412222011-02-11 Jakub Jelinek <jakub@redhat.com>
41223
41224 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41225 arginfo fn returning -1.
41226
41227 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41228 and thousands string is zero terminated.
41229
edf9294e
AS
412302011-02-03 Andreas Schwab <schwab@redhat.com>
41231
41232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41233 sysdeps/unix/sysv/linux/bits/socket.h.
41234
2b7e92df
ST
412352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41236
edf9294e
AS
41237 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41238 (__CPU_COUNT): Remove old macros.
41239 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41240 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41241 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41242 (__sched_cpualloc, __sched_cpufree): Add declarations.
41243
a4c7ea7b
UD
412442011-02-05 Ulrich Drepper <drepper@gmail.com>
41245
41246 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41247 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41248 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41249 (readdhstai): Return value of addhstaiX call.
41250 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41251 (addgrbyX): Return value returned by cache_addgr.
41252 (readdgrbyname): Return value returned by addgrbyX.
41253 (readdgrbygid): Likewise.
41254 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41255 (addpwbyX): Return value returned by cache_addpw.
41256 (readdpwbyname): Return value returned by addhstbyX.
41257 (readdpwbyuid): Likewise.
41258 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41259 (addservbyX): Return value returned by cache_addserv.
41260 (readdservbyname): Return value returned by addservbyX:
41261 (readdservbyport): Likewise.
41262 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41263 (addhstbyX): Return value returned by cache_addhst.
41264 (readdhstbyname): Return value returned by addhstbyX.
41265 (readdhstbyaddr): Likewise.
41266 (readdhstbynamev6): Likewise.
41267 (readdhstbyaddrv6): Likewise.
41268 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41269 (readdinitgroups): Return value returned by addinitgroupsX.
41270 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41271 (prune_cache): Keep track of timeout value of re-added entries.
41272 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41273 * nscd/nscd.h: Adjust prototypes of readd* functions.
41274
a0bf67cc
RM
412752011-02-04 Roland McGrath <roland@redhat.com>
41276
41277 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41278 (nis_stats): Likewise.
41279 * nis/nis_modify.c (nis_modify): Likewise.
41280 * nis/nis_remove.c (nis_remove): Likewise.
41281 * nis/nis_add.c (nis_add): Likewise.
41282
41283 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41284
41285 * posix/fnmatch_loop.c: Add some consts.
41286
41287 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41288
435b95eb
L
412892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41290
41291 [BZ #12460]
41292 * config.make.in (config-cflags-novzeroupper): Define.
41293 * configure.in: Substitute libc_cv_cc_novzeroupper.
41294 * elf/Makefile (AVX-CFLAGS): Define.
41295 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41296 (CFLAGS-tst-auditmod4a.c): Likewise.
41297 (CFLAGS-tst-auditmod4b.c): Likewise.
41298 (CFLAGS-tst-auditmod6b.c): Likewise.
41299 (CFLAGS-tst-auditmod6c.c): Likewise.
41300 (CFLAGS-tst-auditmod7b.c): Likewise.
41301 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41302
8517b15e
UD
413032011-02-02 Ulrich Drepper <drepper@gmail.com>
41304
41305 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41306 function to the callback.
41307 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41308
10a656fe
AS
413092011-02-02 Andreas Schwab <schwab@redhat.com>
41310
41311 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41312 of errno.
41313
968dad0a
UD
413142011-01-19 Ulrich Drepper <drepper@gmail.com>
41315
9f94d2ea 41316 [BZ #11724]
968dad0a
UD
41317 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41318 of constructors.
41319 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41320 of destructors.
41321 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41322
41323 [BZ #11724]
41324 * elf/Makefile: Add rules to build and run new test.
41325 * elf/tst-initorder.c: New file.
41326 * elf/tst-initorder.exp: New file.
41327 * elf/tst-initordera1.c: New file.
41328 * elf/tst-initordera2.c: New file.
41329 * elf/tst-initordera3.c: New file.
41330 * elf/tst-initordera4.c: New file.
41331 * elf/tst-initorderb1.c: New file.
41332 * elf/tst-initorderb2.c: New file.
41333 * elf/tst-order-a1.c: New file.
41334 * elf/tst-order-a2.c: New file.
41335 * elf/tst-order-a3.c: New file.
41336 * elf/tst-order-a4.c: New file.
41337 * elf/tst-order-b1.c: New file.
41338 * elf/tst-order-b2.c: New file.
41339 * elf/tst-order-main.c: New file.
41340 New test case by George Gensure <werkt0@gmail.com>.
41341
86e92359
UD
413422010-10-01 Andreas Schwab <schwab@redhat.com>
41343
41344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41345 decoding ACE if AI_CANONIDN.
41346
5d5732b0
UD
413472011-01-18 Ulrich Drepper <drepper@gmail.com>
41348
41349 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41350
a77e8cbc
UD
413512011-01-17 Ulrich Drepper <drepper@gmail.com>
41352
6392473f
UD
41353 * version.h (RELEASE): Bump for 2.13 release.
41354 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41355
620a0529
UD
41356 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41357
18ba70a5
UD
41358 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41359 MADV_NOHUGEPAGE.
32465c3e
UD
41360 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41361 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41362 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41363 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41364 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41365 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41366
c0dafcf1
UD
41367 * posix/getconf.c: Update copyright year.
41368 * catgets/gencat.c: Likewise.
41369 * csu/version.c: Likewise.
41370 * debug/catchsegv.sh: Likewise.
41371 * debug/xtrace.sh: Likewise.
41372 * elf/ldconfig.c: Likewise.
41373 * elf/ldd.bash.in: Likewise.
41374 * elf/sprof.c (print_version): Likewise.
41375 * iconv/iconv_prog.c: Likewise.
41376 * iconv/iconvconfig.c: Likewise.
41377 * locale/programs/locale.c: Likewise.
41378 * locale/programs/localedef.c: Likewise.
41379 * malloc/memusage.sh: Likewise.
41380 * malloc/mtrace.pl: Likewise.
41381 * nscd/nscd.c (print_version): Likewise.
41382 * nss/getent.c: Likewise.
41383
a77e8cbc
UD
41384 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41385 PF_CAIF, and PF_ALG.
41386 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41387
77e8bddf
AS
413882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41389
1f20b93a
AS
41390 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41391 (modules-names): Use them.
41392 (ifunc-test-modules, ifunc-pie-tests): Define.
41393 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41394 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41395 (test-extras): Likewise.
41396 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41397 $(compile-command.c).
41398 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41399 (all-built-dso): Define.
41400 (check-textrel.out, check-execstack.out): Depend on it.
41401
77e8bddf
AS
41402 * configure.in: Don't override --enable-multi-arch.
41403
bc425b33
UD
414042011-01-15 Ulrich Drepper <drepper@gmail.com>
41405
41406 [BZ #6812]
41407 * nscd/hstcache.c (tryagain): Define.
41408 (cache_addhst): Return tryagain not notfound for temporary errors.
41409 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41410 failed.
41411
794c3ad3
UD
414122011-01-14 Ulrich Drepper <drepper@gmail.com>
41413
70181fdd
UD
41414 [BZ #10563]
41415 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41416 to make the syscall.
41417 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41418
794c3ad3
UD
41419 [BZ #12378]
41420 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41421 and fall back to matching as normal character if the string ends before
41422 the matching ']' is found. This is what POSIX requires.
41423 * posix/testfnm.c: Adjust test result.
41424 * posix/globtest.sh: Adjust test result. Add new test.
41425 * posix/tst-fnmatch.input: Likewise.
41426 * posix/tst-fnmatch2.c: Add new test.
41427
68dc9497
AS
414282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41429
41430 * elf/Makefile (check-execstack): Revert last change. Depend on
41431 check-execstack.h.
41432 (check-execstack.h): New target.
41433 (generated): Add check-execstack.h.
41434 * elf/check-execstack.c: Include "check-execstack.h".
41435 (main): Revert last change.
41436 (handle_file): Return zero if GNU_STACK is absent and
41437 DEFAULT_STACK_PERMS doesn't include PF_X.
41438
451f001b
UD
414392011-01-13 Ulrich Drepper <drepper@gmail.com>
41440
cfa28e56
UD
41441 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41442 in child fails because the descriptor is already closed.
8cf8ce17
UD
41443 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41444 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41445 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41446
1086d70d
UD
41447 [BZ #12397]
41448 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41449 syscall.
41450
451f001b
UD
41451 [BZ #10484]
41452 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41453 temporary buffer used to handle multi lookups locally.
a85b5cb4 41454 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41455
08769175
UD
414562011-01-12 Ulrich Drepper <drepper@gmail.com>
41457
41458 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41459 loader is ld.so.
41460
5e49c52e
UD
414612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41462
41463 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41464 alignment for SSE2.
41465
60522a5f
UD
414662011-01-12 Ulrich Drepper <drepper@gmail.com>
41467
41468 [BZ #12394]
41469 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41470 characters. When rounding increased number of integer digits recompute
41471 number of groups.
41472 * stdio-common/tst-grouping.c: New file.
41473 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41474
f257bbd7
UD
414752011-01-09 Ulrich Drepper <drepper@gmail.com>
41476
41477 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41478 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41479
41480 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41481 void.
41482 * bits/select.h: Likewise.
41483
fa9c15cb
UD
414842011-01-08 Ulrich Drepper <drepper@gmail.com>
41485
41486 * po/ja.po: Update from translation team.
41487
16c2895f
DM
414882011-01-04 David S. Miller <davem@sunset.davemloft.net>
41489
41490 [BZ #11155]
41491 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41492 implementation just like for lxstat, fxstatat, et al.
41493
2543fef2
JM
414942010-12-27 Jim Meyering <meyering@redhat.com>
41495
41496 [BZ #12348]
41497 * posix/regexec.c (build_trtable): Return failure indication upon
41498 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41499
98727dbe
UD
415002010-12-25 Ulrich Drepper <drepper@gmail.com>
41501
5bd6dc5c
UD
41502 [BZ #12201]
41503 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41504 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41505 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41506 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41507
97983464
UD
41508 [BZ #12207]
41509 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41510
98727dbe
UD
41511 [BZ #12204]
41512 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41513 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41514
4a531bb0
L
415152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41516
41517 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41518 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41519 script has SORT_BY_INIT_PRIORITY.
41520 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41521 NO_CTORS_DTORS_SECTIONS is defined.
41522 * elf/soinit.c: Likewise.
41523 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41524 NO_CTORS_DTORS_SECTIONS is defined.
41525 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41526 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41527 * sysdeps/sh/init-first.c: Likewise.
41528 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41529
07eb4b71
UD
415302010-12-24 Ulrich Drepper <drepper@gmail.com>
41531
41532 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41533 always use the slow path.
41534
30950a5f
RA
415352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41536
41537 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41538 similar rule which adds the sysdep directories to the header search in
41539 order to pick up the correct platform stackinfo.h.
41540 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41541 perform test if it is, otherwise return successfully without testing.
41542 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41543 DEFAULT_STACK_PERMS define in stackinfo.h.
41544 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41545 defined in stackinfo.h.
41546 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41547 DEFAULT_STACK_PERMS defined in stackinfo.h.
41548 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41549 * sysdeps/ia64/stackinfo.h: Likewise.
41550 * sysdeps/s390/stackinfo.h: Likewise.
41551 * sysdeps/sh/stackinfo.h: Likewise.
41552 * sysdeps/sparc/stackinfo.h: Likewise.
41553 * sysdeps/x86_64/stackinfo.h: Likewise.
41554 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41555 PF_X for powerpc64. Retain PF_X for powerpc32.
41556
db753e2c
UD
415572010-12-19 Ulrich Drepper <drepper@gmail.com>
41558
14b697f7
UD
41559 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41560 accurately.
db753e2c
UD
41561 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41562 GETDENTS_64BIT_ALIGNED.
41563
28300719
UD
415642010-12-14 Ulrich Drepper <dreper@gmail.com>
41565
14b697f7 41566 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41567
4f197237
AS
415682010-12-10 Andreas Schwab <schwab@redhat.com>
41569
dbb0472f
AS
41570 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41571 _GNU_SOURCE.
41572
4f197237
AS
41573 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41574 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41575 Remove __restrict.
41576 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41577 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41578
fb88ac72
UD
415792010-12-09 Ulrich Drepper <drepper@gmail.com>
41580
41581 [BZ #11655]
41582 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41583 are initialized.
41584
42acbb92
JJ
415852010-12-09 Jakub Jelinek <jakub@redhat.com>
41586
41587 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41588
c038d98d
UD
415892010-12-03 Ulrich Drepper <drepper@gmail.com>
41590
41591 * po/it.po: Update from translation team.
41592
3a4a2499
L
415932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41594
41595 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41596 unused codes.
41597
1e24cf6e
UD
415982010-11-30 Ulrich Drepper <drepper@gmail.com>
41599
41600 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41601
a7690819
AS
416022010-11-24 Andreas Schwab <schwab@redhat.com>
41603
41604 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41605 specially.
41606 (gaih_getanswer_slice): Likewise.
41607
3bf8d1b1
JJ
416082010-10-20 Jakub Jelinek <jakub@redhat.com>
41609
41610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41611
6db52fbb
PB
416122010-05-31 Petr Baudis <pasky@suse.cz>
41613
41614 [BZ #11149]
41615 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41616 silently even in the chroot mode.
41617
eaca7569
UD
416182010-11-22 Ulrich Drepper <drepper@gmail.com>
41619
41620 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41621 last patch a bit. Pretty printing
41622
3056dcdb
UD
416232010-05-31 Petr Baudis <pasky@suse.cz>
41624
41625 [BZ #10085]
41626 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41627 initialization of skip_initgroups_dyn.
41628
cf7c9078
UD
416292010-11-19 Ulrich Drepper <drepper@gmail.com>
41630
41631 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41632 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41633
a1fb5e3e
UD
416342010-11-16 Ulrich Drepper <drepper@gmail.com>
41635
41636 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41637
3540d66b
AS
416382010-11-11 Andreas Schwab <schwab@redhat.com>
41639
41640 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41641 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41642 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41643 ($(objpfx)tst-fnmatch-mem): New rule.
41644 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41645 * posix/tst-fnmatch.c (main): Call mtrace.
41646
13b69574
L
416472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41648
41649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41650 Support Intel processor model 6 and model 0x2c.
41651
da93d214
LM
416522010-11-10 Luis Machado <luisgpm@br.ibm.com>
41653
41654 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41655 signed comparison.
41656
8ca52c6e
L
416572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41658
41659 [BZ #12205]
41660 * string/test-strncasecmp.c (check_result): New function.
41661 (do_one_test): Use it.
41662 (check1): New function.
41663 (test_main): Use it.
41664 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41665 Support strcasecmp and strncasecmp.
41666
69da074d
UD
416672010-11-08 Ulrich Drepper <drepper@gmail.com>
41668
41669 [BZ #12194]
41670 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41671 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41672
ff02d528
L
416732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41674
41675 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41676 IFUNC support.
41677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41678 memset-x86-64.
41679 * sysdeps/x86_64/multiarch/bzero.S: New file.
41680 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41681 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41682 * sysdeps/x86_64/multiarch/memset.S: New file.
41683 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41685 Set bit_Prefer_SSE_for_memop for Intel processors.
41686 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41687 Define.
41688 (index_Prefer_SSE_for_memop): Define.
41689 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41690
344d0b54
LM
416912010-11-04 Luis Machado <luisgpm@br.ibm.com>
41692
41693 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41694 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41695
c0dde15b
UD
416962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41697
41698 [BZ #12191]
41699 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41700 (__x86_64_raw_data_cache_size_half): Likewise.
41701 (__x86_64_raw_shared_cache_size): Likewise.
41702 (__x86_64_raw_shared_cache_size_half): Likewise.
41703
41704 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41705 (__x86_64_raw_data_cache_size_half): Likewise.
41706 (__x86_64_raw_shared_cache_size): Likewise.
41707 (__x86_64_raw_shared_cache_size_half): Likewise.
41708 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41709 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41710 and __x86_64_raw_shared_cache_size_half. Round
41711 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41712 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41713 to multiple of 256 bytes.
41714
0e516e0e
MS
417152010-11-03 Ulrich Drepper <drepper@gmail.com>
41716
41717 [BZ #12167]
41718 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41719 of inacessible symlinks. Verify result of symlink before returning it.
41720 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41721 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41722
0e012e87
ER
417232010-10-28 Erich Ritz <erichritz@gmail.com>
41724
41725 * math/math.h (isinf): Fix typo in comment.
41726
de0ff7bc
UD
417272010-11-01 Ulrich Drepper <drepper@gmail.com>
41728
41729 * po/da.po: Update from translation team.
41730
fa41c84d
UD
417312010-10-26 Ulrich Drepper <drepper@gmail.com>
41732
41733 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41734 is added to the list.
41735
f0967738
AK
417362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41737 Ulrich Drepper <drepper@gmail.com>
41738
41739 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41740 the global list here. Move code to...
41741 (_dl_add_to_namespace_list): ...here. New function.
41742 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41743 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41744 * elf/dl-load.c (lose): Don't remove the element from the list.
41745 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41746 (_dl_map_object): Likewise.
41747
417482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41749
41750 [BZ #12159]
41751 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41752 into all bytes of SSE register.
41753 Patch by Richard Li <richardpku@gmail.com>.
41754
f0967738 417552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41756
41757 [BZ #12140]
41758 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41759 perturbing.
41760
d0b9e94f
MB
417612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41762
41763 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41764 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41765 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41766 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41768 submachine.
41769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41770
8e9f92e9
AS
417712010-10-22 Andreas Schwab <schwab@redhat.com>
41772
41773 * include/dlfcn.h (__RTLD_SECURE): Define.
41774 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41775 mode & __RTLD_SECURE instead.
41776 (open_path): Rename preloaded parameter to secure.
41777 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41778 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41779 * elf/dl-deps.c (openaux): Likewise.
41780 * elf/rtld.c (struct map_args): Remove is_preloaded.
41781 (map_doit): Don't use it.
41782 (dl_main): Likewise.
41783 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41784 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41785
bc96fbda
AS
417862010-09-09 Andreas Schwab <schwab@redhat.com>
41787
41788 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41789 (sysd-rules-targets): Remove duplicates.
41790 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41791 rtld-%.$o dependency.
41792
22cd1c9b
AS
417932010-10-18 Andreas Schwab <schwab@redhat.com>
41794
41795 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41796 _dl_map_object do it.
41797
18edac48
UD
417982010-10-19 Ulrich Drepper <drepper@gmail.com>
41799
41800 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41801 fast fma builtins, define the macros in the C99 standard.
41802 (FP_FAST_FMAF): Likewise.
41803 (FP_FAST_FMAL): Likewise.
41804 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41805
41806 * bits/mathdef.h: Update copyright year.
41807 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41808
d2050124
MM
418092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41810
41811 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41812 builtins, define the macros in the C99 standard.
41813 (FP_FAST_FMAF): Likewise.
41814 (FP_FAST_FMAL): Likewise.
41815 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41816 multiply/add.
41817 (FP_FAST_FMAF): Likewise.
41818
475facd1
JJ
418192010-10-15 Jakub Jelinek <jakub@redhat.com>
41820
41821 [BZ #3268]
41822 * math/libm-test.inc (fma_test): Some new testcases.
41823 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41824 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41825 y and infinite z. Do multiplication by C already in long double.
41826 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41828 y and infinite z. Do bitwise or of inexact bit into u.d.
41829 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41830 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41831 * sysdeps/i386/fpu/s_fma.S: Removed.
41832 * sysdeps/i386/fpu/s_fmal.S: Removed.
41833
7c08a05c
JJ
418342010-10-16 Jakub Jelinek <jakub@redhat.com>
41835
41836 [BZ #3268]
41837 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41839 computation is not scheduled after fetestexcept. Fix value
41840 of minimum denormal long double.
41841
f3f7372d
JJ
418422010-10-14 Jakub Jelinek <jakub@redhat.com>
41843
41844 [BZ #3268]
41845 * math/libm-test.inc (fma_test): Add some more tests.
41846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41847 correctly.
41848
14d43591
AS
418492010-10-15 Andreas Schwab <schwab@redhat.com>
41850
41851 * scripts/data/localplt-s390-linux-gnu.data: New file.
41852 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41853
5e908464
JJ
418542010-10-13 Jakub Jelinek <jakub@redhat.com>
41855
41856 [BZ #3268]
41857 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41858 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41859 instead of dbl-64.
41860 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41861 inlines.
41862 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41864 if one of x and y is very large and the other is subnormal.
41865 * sysdeps/s390/fpu/s_fmaf.c: New file.
41866 * sysdeps/s390/fpu/s_fma.c: New file.
41867 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41868 * sysdeps/powerpc/fpu/s_fma.S: New file.
41869 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41870 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41871 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41872
418732010-10-12 Jakub Jelinek <jakub@redhat.com>
41874
41875 [BZ #3268]
41876 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41877 fma tests.
41878 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41879 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41880 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41881 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41882 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41883 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41884 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41885
b833d51f
UD
418862010-10-12 Ulrich Drepper <drepper@redhat.com>
41887
41888 [BZ #12078]
41889 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41890 * posix/bug-regex31.input: Add test case.
41891
1751705d
UD
418922010-10-11 Ulrich Drepper <drepper@gmail.com>
41893
e9b9cbf5
UD
41894 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41895 * posix/bug-regex31.input: New file.
41896
41897 [BZ #12078]
41898 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41899 (parse_sub_exp): Fix last change, use postorder.
41900
ef06edbe
UD
41901 * posix/bug-regex31.c: New file.
41902 * posix/Makefile: Add rules to build and run bug-regex31.
41903
a129c80d
UD
41904 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41905
41906 [BZ #12078]
41907 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41908
b76b818e
UD
41909 [BZ #12108]
41910 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41911 to have entries in sys_siglist.
41912
1751705d
UD
41913 [BZ #12093]
41914 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41915 be NULL.
41916
9ff8d36f
JJ
419172010-10-07 Jakub Jelinek <jakub@redhat.com>
41918
41919 [BZ #3268]
41920 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41921 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41922 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41923 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41924 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41925 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41926 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41927 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41928 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41929 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41930 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41931 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41932 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41933 * math/ftestexcept.c (fetestexcept): Likewise.
41934 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41935 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41936 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41937 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41938 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41939 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41940 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41941
af325969
UD
419422010-10-11 Ulrich Drepper <drepper@gmail.com>
41943
c579b202 41944 [BZ #12107]
af325969
UD
41945 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41946 newline.
41947
67a67b95
UD
419482010-10-06 Ulrich Drepper <drepper@gmail.com>
41949
41950 * string/bug-strstr1.c: New file.
41951 * string/Makefile: Add rules to build and run bug-strstr1.
41952
5fb308bc
EB
419532010-10-05 Eric Blake <eblake@redhat.com>
41954
41955 [BZ #12092]
41956 * string/str-two-way.h (two_way_long_needle): Always clear memory
41957 when skipping input due to the shift table.
41958
45db99c7
UD
419592010-10-03 Ulrich Drepper <drepper@gmail.com>
41960
3b111893
UD
41961 [BZ #12005]
41962 * malloc/mcheck.c: Handle large requests.
41963
45db99c7
UD
41964 [BZ #12077]
41965 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41966 for strncmp and strncasecmp.
41967 * string/stratcliff.c: Add tests for strcmp and strncmp.
41968 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41969
cf7a1eb8
NI
419702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41971
41972 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41973 __set_fpscr.
41974
6484ba5e
AJ
419752010-09-30 Andreas Jaeger <aj@suse.de>
41976
41977 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41978 (CGROUP_SUPER_MAGIC): Define.
41979 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41980 Handle btrfs and cgroup file systems.
41981 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41982 Likewise.
41983
91c42559
LM
419842010-09-27 Luis Machado <luisgpm@br.ibm.com>
41985
41986 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41987 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41988
87a97932
AK
419892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41990
41991 [BZ #12067]
41992 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41993 trying to locate the ELF header.
41994
c21cc9bc
AS
419952010-09-27 Andreas Schwab <schwab@redhat.com>
41996
41997 [BZ #11611]
41998 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41999 Mask out sign-bit copies when constructing f_fsid.
42000
315970f6
PB
420012010-09-24 Petr Baudis <pasky@suse.cz>
42002
42003 * debug/stack_chk_fail_local.c: Add missing licence exception.
42004 * debug/warning-nop.c: Likewise.
42005
1ac7a2c7
JM
420062010-09-15 Joseph Myers <joseph@codesourcery.com>
42007
42008 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42009 implementing getdents64 using getdents syscall, set d_type if
42010 __ASSUME_GETDENTS32_D_TYPE.
42011
56801c50
AS
420122010-09-16 Andreas Schwab <schwab@redhat.com>
42013
42014 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42015 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42016
dda51327
UD
420172010-09-21 Ulrich Drepper <drepper@redhat.com>
42018
42019 [BZ #12037]
42020 * posix/unistd.h: Undo change of feature selection for ftruncate from
42021 2010-01-11.
42022
8ffcee4a
UD
420232010-09-20 Ulrich Drepper <drepper@redhat.com>
42024
a545ecd9 42025 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42026 detection.
42027
e24f0a8b
AS
420282010-09-20 Andreas Schwab <schwab@redhat.com>
42029
42030 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42031 fanotify_mark.
42032 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42033
7291c56f
AS
420342010-09-14 Andreas Schwab <schwab@redhat.com>
42035
42036 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42037 variables after CHECK_SP call.
42038 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42039
bc5fb037
AS
420402010-09-13 Andreas Schwab <schwab@redhat.com>
42041 Ulrich Drepper <drepper@redhat.com>
42042
42043 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42044 re-relocationg ld.so.
42045 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42046 _dl_init_paths call.
42047 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42048 here anymore.
42049
e66e7419
UD
420502010-09-14 Ulrich Drepper <drepper@redhat.com>
42051
42052 * resolv/res_init.c (__res_vinit): Count the default server we added.
42053
c044aa75
CLT
420542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42055 Ulrich Drepper <drepper@redhat.com>
42056
42057 [BZ #11968]
42058 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42059 (____longjmp_chk): Use %ebx for saving value across system call.
42060 Add unwind info.
42061
32cf4069
AS
420622010-09-06 Andreas Schwab <schwab@redhat.com>
42063
42064 * manual/Makefile: Don't mix pattern rules with normal rules.
42065
817328ee
AS
420662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42067
42068 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42069 operation.
42070 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42071 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42072 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42073 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42074 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42075 Likewise.
42076
29fddf61
UD
420772010-09-04 Ulrich Drepper <drepper@redhat.com>
42078
42079 [BZ #11979]
42080 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42081 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42082
0959ffc9
UD
420832010-09-02 Ulrich Drepper <drepper@redhat.com>
42084
42085 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42086 * sysdeps/x86_64/addmul_1.S: Likewise.
42087 * sysdeps/x86_64/lshift.S: Likewise.
42088 * sysdeps/x86_64/mul_1.S: Likewise.
42089 * sysdeps/x86_64/rshift.S: Likewise.
42090 * sysdeps/x86_64/sub_n.S: Likewise.
42091 * sysdeps/x86_64/submul_1.S: Likewise.
42092
ece29840
ST
420932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42094
0959ffc9
UD
42095 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42096 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42097 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42098 * bits/sched.h [__need_schedparam]
ece29840 42099 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42100 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42101 (__defined_schedparam): Define to 1.
ece29840
ST
42102 (__sched_param): New structure, identical to sched_param.
42103 (__need_schedparam): Undefine.
42104
e53a31fe
MF
421052010-08-31 Mike Frysinger <vapier@gentoo.org>
42106
fdc0c10d
MF
42107 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42108 (epoll_create1): Declare.
42109
e53a31fe
MF
42110 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42111
a726d796
AS
421122010-08-31 Andreas Schwab <schwab@redhat.com>
42113
42114 [BZ #7066]
42115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42116 shifting retval into place.
42117
2f3e3dc7
UD
421182010-09-01 Ulrich Drepper <drepper@redhat.com>
42119
f2933da9
UD
42120 * nis/rpcsvc/nis.h: Update copyright notice.
42121 * nis/rpcsvc/nis.x: Likewise.
42122 * nis/rpcsvc/nis_callback.h: Likewise.
42123 * nis/rpcsvc/nis_callback.x: Likewise.
42124 * nis/rpcsvc/nis_object.x: Likewise.
42125 * nis/rpcsvc/nis_tags.h: Likewise.
42126 * nis/rpcsvc/yp.h: Likewise.
42127 * nis/rpcsvc/yp.x: Likewise.
42128 * nis/rpcsvc/ypupd.h: Likewise.
42129 * nis/yp_xdr.c: Likewise.
42130 * nis/ypupdate_xdr.c: Likewise.
42131
2f3e3dc7
UD
42132 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42133 mainly the body of pmap_getport. Add parameters to specify timeouts.
42134 (pmap_getport): Use __libc_rpc_getport.
42135 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42136 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42137 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42138
f3dcc2f9
AS
421392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42140
42141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42142 fanotify_mark.
42143
6d34eb5b
RM
421442010-08-27 Roland McGrath <roland@redhat.com>
42145
42146 * sysdeps/i386/i686/multiarch/Makefile
42147 (CFLAGS-varshift.c): New variable.
42148
9ea3de11
UD
421492010-08-27 Ulrich Drepper <drepper@redhat.com>
42150
c96d23fc
UD
42151 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42152 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42153
9ea3de11
UD
42154 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42155
42156 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42157
623aac7f
L
421582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42159
42160 * sysdeps/x86_64/strlen.S: Unroll the loop.
42161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42162 strlen-sse2 strlen-sse2-bsf.
42163 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42164 __strlen_no_bsf if bit_Slow_BSF is set.
42165 (__strlen_sse42): Removed.
42166 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42167 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42168
8b2b7715
RM
421692010-08-25 Roland McGrath <roland@redhat.com>
42170
42171 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42172 * sysdeps/x86_64/multiarch/varshift.c: New file.
42173 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42174 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42175 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42176 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42177
e73015f2
L
421782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42179
42180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42181 strlen-sse2 strlen-sse2-bsf.
42182 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42183 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42184 (__strlen_sse2): Removed.
42185 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42186 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42188 bit_Slow_BSF for Atom.
42189 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42190 (index_Slow_BSF): Define.
42191 (HAS_SLOW_BSF): Define.
42192
df24a73e
UD
421932010-08-25 Ulrich Drepper <drepper@redhat.com>
42194
42195 [BZ #10851]
42196 * resolv/res_init.c (__res_vinit): When no server address at all
42197 is given default to loopback.
42198
f2ac4868
RM
421992010-08-24 Roland McGrath <roland@redhat.com>
42200
09055553
RM
42201 * configure.in: Remove config-name.h generation.
42202 * configure: Regenerated.
42203 * config-name.in: File removed.
42204 * scripts/config-uname.sh: New file.
42205 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42206 ($(objdir)config-name.h): New target.
42207
f2ac4868
RM
42208 * sunrpc/rpc_parse.h: Avoid nested comment.
42209
73f27d5e
RH
422102010-08-24 Richard Henderson <rth@redhat.com>
42211 Ulrich Drepper <drepper@redhat.com>
42212 H.J. Lu <hongjiu.lu@intel.com>
42213
42214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42216 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42217 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42218 _mm_alignr_epi8 with _mm_loadu_si128.
42219 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42220 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42221 (__m128i_shift_right): Removed.
42222 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42223 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42224 * sysdeps/x86_64/multiarch/varshift.h: New file.
42225 * sysdeps/x86_64/multiarch/varshift.S: New file.
42226
84b9230c
MF
422272010-08-21 Mike Frysinger <vapier@gentoo.org>
42228
42229 * configure.in: Move assembler checks to before sysdep dir checking.
42230
9bbd0ddc
PB
422312010-08-20 Petr Baudis <pasky@suse.cz>
42232
42233 * LICENSES: Sync the sunrpc license.
42234
9da4bb31
UD
422352010-08-19 Ulrich Drepper <drepper@redhat.com>
42236
a7ab6ec8
UD
42237 * sunrpc/auth_des.c: Update copyright notice once again.
42238 * sunrpc/auth_none.c: Likewise.
42239 * sunrpc/auth_unix.c: Likewise.
42240 * sunrpc/authdes_prot.c: Likewise.
42241 * sunrpc/authuxprot.c: Likewise.
42242 * sunrpc/bindrsvprt.c: Likewise.
42243 * sunrpc/clnt_gen.c: Likewise.
42244 * sunrpc/clnt_perr.c: Likewise.
42245 * sunrpc/clnt_raw.c: Likewise.
42246 * sunrpc/clnt_simp.c: Likewise.
42247 * sunrpc/clnt_tcp.c: Likewise.
42248 * sunrpc/clnt_udp.c: Likewise.
42249 * sunrpc/clnt_unix.c: Likewise.
42250 * sunrpc/des_crypt.c: Likewise.
42251 * sunrpc/des_soft.c: Likewise.
42252 * sunrpc/get_myaddr.c: Likewise.
42253 * sunrpc/getrpcport.c: Likewise.
42254 * sunrpc/key_call.c: Likewise.
42255 * sunrpc/key_prot.c: Likewise.
42256 * sunrpc/openchild.c: Likewise.
42257 * sunrpc/pm_getmaps.c: Likewise.
42258 * sunrpc/pm_getport.c: Likewise.
42259 * sunrpc/pmap_clnt.c: Likewise.
42260 * sunrpc/pmap_prot.c: Likewise.
42261 * sunrpc/pmap_prot2.c: Likewise.
42262 * sunrpc/pmap_rmt.c: Likewise.
42263 * sunrpc/rpc/auth.h: Likewise.
42264 * sunrpc/rpc/auth_unix.h: Likewise.
42265 * sunrpc/rpc/clnt.h: Likewise.
42266 * sunrpc/rpc/des_crypt.h: Likewise.
42267 * sunrpc/rpc/key_prot.h: Likewise.
42268 * sunrpc/rpc/netdb.h: Likewise.
42269 * sunrpc/rpc/pmap_clnt.h: Likewise.
42270 * sunrpc/rpc/pmap_prot.h: Likewise.
42271 * sunrpc/rpc/pmap_rmt.h: Likewise.
42272 * sunrpc/rpc/rpc.h: Likewise.
42273 * sunrpc/rpc/rpc_des.h: Likewise.
42274 * sunrpc/rpc/rpc_msg.h: Likewise.
42275 * sunrpc/rpc/svc.h: Likewise.
42276 * sunrpc/rpc/svc_auth.h: Likewise.
42277 * sunrpc/rpc/types.h: Likewise.
42278 * sunrpc/rpc/xdr.h: Likewise.
42279 * sunrpc/rpc_clntout.c: Likewise.
42280 * sunrpc/rpc_cmsg.c: Likewise.
42281 * sunrpc/rpc_common.c: Likewise.
42282 * sunrpc/rpc_cout.c: Likewise.
42283 * sunrpc/rpc_dtable.c: Likewise.
42284 * sunrpc/rpc_hout.c: Likewise.
42285 * sunrpc/rpc_main.c: Likewise.
42286 * sunrpc/rpc_parse.c: Likewise.
42287 * sunrpc/rpc_parse.h: Likewise.
42288 * sunrpc/rpc_prot.c: Likewise.
42289 * sunrpc/rpc_sample.c: Likewise.
42290 * sunrpc/rpc_scan.c: Likewise.
42291 * sunrpc/rpc_scan.h: Likewise.
42292 * sunrpc/rpc_svcout.c: Likewise.
42293 * sunrpc/rpc_tblout.c: Likewise.
42294 * sunrpc/rpc_util.c: Likewise.
42295 * sunrpc/rpc_util.h: Likewise.
42296 * sunrpc/rpcinfo.c: Likewise.
42297 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42298 * sunrpc/rpcsvc/key_prot.x: Likewise.
42299 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42300 * sunrpc/rpcsvc/mount.x: Likewise.
42301 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42302 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42303 * sunrpc/rpcsvc/rex.x: Likewise.
42304 * sunrpc/rpcsvc/rstat.x: Likewise.
42305 * sunrpc/rpcsvc/rusers.x: Likewise.
42306 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42307 * sunrpc/rpcsvc/spray.x: Likewise.
42308 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42309 * sunrpc/rtime.c: Likewise.
42310 * sunrpc/svc.c: Likewise.
42311 * sunrpc/svc_auth.c: Likewise.
42312 * sunrpc/svc_authux.c: Likewise.
42313 * sunrpc/svc_raw.c: Likewise.
42314 * sunrpc/svc_run.c: Likewise.
42315 * sunrpc/svc_simple.c: Likewise.
42316 * sunrpc/svc_tcp.c: Likewise.
42317 * sunrpc/svc_udp.c: Likewise.
42318 * sunrpc/svc_unix.c: Likewise.
42319 * sunrpc/svcauth_des.c: Likewise.
42320 * sunrpc/xcrypt.c: Likewise.
42321 * sunrpc/xdr.c: Likewise.
42322 * sunrpc/xdr_array.c: Likewise.
42323 * sunrpc/xdr_float.c: Likewise.
42324 * sunrpc/xdr_mem.c: Likewise.
42325 * sunrpc/xdr_rec.c: Likewise.
42326 * sunrpc/xdr_ref.c: Likewise.
42327 * sunrpc/xdr_sizeof.c: Likewise.
42328 * sunrpc/xdr_stdio.c: Likewise.
42329
9da4bb31
UD
42330 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42331 handling.
42332
bdaa77bc
AS
423332010-08-19 Andreas Schwab <schwab@redhat.com>
42334
42335 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42336
fe2f79db
LM
423372010-08-19 Luis Machado <luisgpm@br.ibm.com>
42338
42339 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42340 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42341 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42342 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42343 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42344 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42345 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42346 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42347 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42348 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42349 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42350 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42351 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42352 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42353
b9b42ee0
AB
423542010-07-26 Anton Blanchard <anton@samba.org>
42355
42356 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42357 * malloc/arena.c (heap_trim): Likewise.
42358
1c06ba31
UD
423592010-08-16 Ulrich Drepper <drepper@redhat.com>
42360
42361 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42362 here. Not...
42363 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42364 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42365
f8392f40
L
423662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42367
42368 * sysdeps/i386/elf/Makefile: New file.
42369
3162f12e
AS
423702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42371
42372 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42373 from fanotify_init.
42374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42375 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42376
28c90b2c
UD
423772010-08-15 Ulrich Drepper <drepper@redhat.com>
42378
42379 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42380 of strncasecmp_l.
1feccb6c 42381 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42382
ca6bb004
UD
423832010-08-14 Ulrich Drepper <drepper@redhat.com>
42384
e9f82e0d
UD
42385 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42386 strncase_l-nonascii.
42387 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42388 Add strncase_l-ssse3.
42389 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42390 * sysdeps/x86_64/strcmp.S: Likewise.
42391 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42392 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42393 * sysdeps/x86_64/strncase.S: New file.
42394 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42395 * sysdeps/x86_64/strncase_l.S: New file.
42396 * string/Makefile (strop-tests): Add strncasecmp.
42397 * string/test-strncasecmp.c: New file.
42398
42399 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42400 warning.
42401
ca6bb004
UD
42402 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42403 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42404
052fa7b3
AS
424052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42406
42407 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42408
962dba78
UD
424092010-08-12 Ulrich Drepper <drepper@redhat.com>
42410
42411 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42412 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42413 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42414
bebff237
AM
424152010-05-01 Alan Modra <amodra@gmail.com>
42416
42417 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42418 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42419 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42420 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42421 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42422 tidying. Don't tail-call __sigjmp_save for static lib.
42423 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42424 save location.
42425 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42426 (CALL_MCOUNT): Add eh info, and nop after bl.
42427 (TAIL_CALL_SYSCALL_ERROR): New macro.
42428 (PSEUDO_RET): Use it.
42429 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42430 Correct save location of integer regs and cr.
42431 (_dl_profile_resolve): Correct cr save location. Delete nops
42432 after bl when SHARED. Reduce cfi size a little by better
42433 placement of cfi directives.
42434 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42435 make a stack frame. Instead use parm save area as a temp.
42436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42437 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42439 Don't make a stack frame for parent, use parm save area.
42440 Increase child stack frame to 112 bytes. Don't save unused reg,
42441 and adjust reg usage. Set up cfi on error recovery and
42442 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42444 (__makecontext): Add dummy nop after jump to exit.
42445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42446 Use correct parm save area and cr save, reduce stack frame.
42447 Correct cfi for possible PSEUDO_RET frame setup.
42448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42449 Branch to local label emitted by PSEUDO_RET rather than
42450 __syscall_error.
42451
02637374
AS
424522010-08-12 Andreas Schwab <schwab@redhat.com>
42453
42454 [BZ #11904]
42455 * locale/programs/locale.c (print_assignment): New function.
42456 (show_locale_vars): Use it.
42457
c3e2f19b
UD
424582010-08-11 Ulrich Drepper <drepper@redhat.com>
42459
3cdaa6ad
UD
42460 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42461 field.
42462 (struct statfs64): Likewise.
42463 (_STATFS_F_FLAGS): Define.
42464 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42465 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42466 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42467 (ST_VALID): Define locally.
42468 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42469 __statvfs_getflags, use the provided value.
42470 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42471 __ASSUME_STATFS_F_FLAGS.
42472
754f7da3
UD
42473 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42474
10b3bedc
UD
42475 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42476 Add sys/fanotify.h.
42477 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42478 fanotify_mask for GLIBC_2.13.
42479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42480 fanotify_init and fanotify_mark.
42481 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42482 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42483
c08fb0d7
UD
42484 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42485 Add prlimit.
42486 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42487 prlimit64 for GLIBC_2.13.
42488 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42489 prlimit64.
42490 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42491 syscall.
42492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42493 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42494 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42495 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42496 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42497 add prlimit alias.
42498 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42499
15bac72b
UD
42500 [BZ #11903]
42501 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42502 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42503
c3e2f19b
UD
42504 * nss/Makefile: Add rules to build and run tst-nss-test1.
42505 * shlib-versions: Add entry for libnss_test1.
42506 * nss/nss_test1.c: New file.
42507 * nss/tst-nss-test1.c: New file.
42508
42509 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42510 (__nss_configure_lookup): Set appropriate entry in
42511 __nss_configure_lookup to true.
42512 * nss/nsswitch.h: Define enum with indeces of databases in
42513 databases and __nss_database_custom arrays. Declare
42514 __nss_database_custom.
42515 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42516 to avoid using nscd when custom rules are installed.
42517 * nss/getXXbyYY_r.c: Likewise.
42518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42519
42520 * nss/nss_files/files-parse.c: Whitespace fixes.
42521
f15ce4d8
UD
425222010-08-09 Ulrich Drepper <drepper@redhat.com>
42523
42524 [BZ #11883]
42525 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42526 * posix/fnmatch_loop.c: Likewise.
42527
d22e4cc9
AK
425282010-07-17 Andi Kleen <ak@linux.intel.com>
42529
42530 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42531 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42532 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42533 * Versions.def [GLIBC_2.13]: Add.
42534
805bc17d
UD
425352010-08-06 Ulrich Drepper <drepper@redhat.com>
42536
42537 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42538 Also fail if tpwd after pwuid call is NULL.
42539
5a42321d
ST
425402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42541
42542 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42543 when converting to ms.
42544
fd3ebeda
ST
425452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42546
42547 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42548 EOPNOTSUPP errors with ENOTTY.
42549 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42550 EOPNOTSUPP errors with ENOTTY.
42551
73507d3a
UD
425522010-07-31 Ulrich Drepper <drepper@redhat.com>
42553
42554 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42555 Add strcasecmp_l-ssse3.
42556 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42557 strcasecmp.
42558 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42559 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42560 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42561
fe36dd02
UD
425622010-07-30 Ulrich Drepper <drepper@redhat.com>
42563
66f6765a
UD
42564 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42565
42e08a54
UD
42566 * string/Makefile (strop-tests): Add strcasecmp.
42567 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42568 strcasecmp_l-nonascii.
42569 (gen-as-const-headers): Add locale-defines.sym.
42570 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42571 * sysdeps/x86_64/strcasecmp.S: New file.
42572 * sysdeps/x86_64/strcasecmp_l.S: New file.
42573 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42574 * sysdeps/x86_64/locale-defines.sym: New file.
42575 * string/test-strcasecmp.c: New file.
42576
fe36dd02
UD
42577 * string/test-strcasestr.c: Test both ends of the range of characters.
42578 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42579
48cbc0d6
RM
425802010-07-29 Roland McGrath <roland@redhat.com>
42581
76e6d6bc 42582 [BZ #11856]
48cbc0d6
RM
42583 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42584
880113d9
UD
425852010-07-27 Ulrich Drepper <drepper@redhat.com>
42586
42587 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42588 for ld.so.
42589
deb9cabb
AS
425902010-07-27 Andreas Schwab <schwab@redhat.com>
42591
42592 * manual/memory.texi (Malloc Tunable Parameters): Document
42593 M_PERTURB.
42594
1c7570ff
RM
425952010-07-26 Roland McGrath <roland@redhat.com>
42596
42597 [BZ #11840]
42598 * configure.in (-fgnu89-inline check): Set and substitute
42599 gnu89_inline, not libc_cv_gnu89_inline.
42600 * configure: Regenerated.
42601 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42602
24fb0f88
UD
426032010-07-26 Ulrich Drepper <drepper@redhat.com>
42604
42605 * string/test-strnlen.c: New file.
42606 * string/Makefile (strop-tests): Add strnlen.
42607 * string/tester.c (test_strnlen): Add a few more test cases.
42608 * string/tst-strlen.c: Better error reporting.
42609
42610 * sysdeps/x86_64/strnlen.S: New file.
42611
8e96b93a
UD
426122010-07-24 Ulrich Drepper <drepper@redhat.com>
42613
42614 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42615 lower-latency instructions.
42616
dbc676d4
UD
426172010-07-23 Ulrich Drepper <drepper@redhat.com>
42618
42619 * string/test-strcasestr.c: New file.
42620 * string/test-strstr.c: New file.
42621 * string/Makefile (strop-tests): Add strstr and strcasestr.
42622 * string/str-two-way.h: Don't undefine MAX.
42623 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42624
f6a31e0e
AS
426252010-07-21 Andreas Schwab <schwab@redhat.com>
42626
42627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42628 strcasestr-nonascii.
42629 (CFLAGS-strcasestr-nonascii.c): Define.
42630 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42631 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42632 Remove unused attribute.
42633
5dbc3b6c
RM
426342010-07-20 Roland McGrath <roland@redhat.com>
42635
42636 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42637 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42638 ld.so.cache was broken. With it, there is no way to disable dsocaps
42639 like LD_HWCAP_MASK can disable hwcaps.
42640
23d101d8
EPM
426412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42642
42643 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42644
cc9f2e47
UD
426452010-07-16 Ulrich Drepper <drepper@redhat.com>
42646
42647 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42648 call in strcasestr.
42649 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42650 __strcasestr_sse42_nonascii.
42651 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42652 strcasestr-nonascii.c.
42653 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42654
77c1b069
LM
426552010-06-15 Luis Machado <luisgpm@br.ibm.com>
42656
42657 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42658 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42659 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42660 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42661
440566c3
UD
426622010-07-09 Ulrich Drepper <drepper@redhat.com>
42663
42664 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42665 fcntl.
42666
5be9d05d
AS
426672010-07-06 Andreas Schwab <schwab@redhat.com>
42668
c30b7ee2 42669 [BZ #11577]
5be9d05d
AS
42670 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42671 dl_signal_cerror.
42672
8a492a67
UD
426732010-07-06 Ulrich Drepper <drepper@redhat.com>
42674
42675 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42676 _PC_PIPE_BUF using F_GETPIPE_SZ.
42677
713df3d5
RM
426782010-07-05 Roland McGrath <roland@redhat.com>
42679
42680 * manual/arith.texi (Rounding Functions): Fix rint description
42681 implicit in round description.
42682
702e8f14
UD
426832010-07-02 Ulrich Drepper <drepper@redhat.com>
42684
42685 * elf/Makefile: Fix linking for a few tests to make recent linker
42686 happy.
42687
52ed8be9
AS
426882010-06-30 Andreas Schwab <schwab@redhat.com>
42689
42690 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42691 $(common-objpfx)libc_nonshared.a.
42692
f47c9a11
LM
426932010-06-21 Luis Machado <luisgpm@br.ibm.com>
42694
42695 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42696 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42697 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42698 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42699 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42700 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42701 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42702 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42717 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42718 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42719 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42720 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42721 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42722 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42723 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42724 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42725 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42726 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42727 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42728 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42743
6fb8cbcb
L
427442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42745
42746 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42747 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42748 * string/memmove.c (memmove): Renamed to ...
42749 (MEMMOVE): ...this. Default to memmove.
42750 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42751 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42752 (END_CHK): Define.
42753 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42754 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42755 mempcpy-ssse3-back memmove-ssse3-back.
42756 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42757 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42758 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42759 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42760 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42761 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42762 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42763 * sysdeps/x86_64/multiarch/memmove.c: New file.
42764 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42765 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42766 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42767 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42768 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42769 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42770 Define.
42771 (index_Fast_Copy_Backward): Define.
42772 (HAS_ARCH_FEATURE): Define.
42773 (HAS_FAST_REP_STRING): Define.
42774 (HAS_FAST_COPY_BACKWARD): Define.
42775
4e733bac 427762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42777
42778 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42779 Restore proper fallback handling.
42780
63c4ed22
UD
427812010-06-19 Ulrich Drepper <drepper@redhat.com>
42782
ac2b484c
UD
42783 [BZ #11701]
42784 * posix/group_member.c (__group_member): Correct checking loop.
42785
63c4ed22
UD
42786 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42787 OOM in getpwuid_r correctly. Return error number when the caller
42788 should return, otherwise -1.
42789 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42790 call returning > 0 value.
42791 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42792
765ade4b
AS
427932010-06-07 Andreas Schwab <schwab@redhat.com>
42794
42795 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42796 libc_nonshared.a from targets in modules-names.
42797
80da2e09
KS
427982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42799
42800 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42801 requires it.
42802
158db122
LM
428032010-06-10 Luis Machado <luisgpm@br.ibm.com>
42804
42805 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42806 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42807 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42808 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42809
caa78cf8
AS
428102010-06-02 Andreas Schwab <schwab@redhat.com>
42811
42812 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42813
b2ef2c01
UD
428142010-06-14 Ulrich Drepper <drepper@redhat.com>
42815
42816 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42817 and F_GETPIPE_SZ.
42818 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42819 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42820 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42821 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42822 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42823 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42824
fbd643b6
RM
428252010-06-14 Roland McGrath <roland@redhat.com>
42826
42827 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42828
f32f2869
JJ
428292010-06-07 Jakub Jelinek <jakub@redhat.com>
42830
42831 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42832 __REDIRECT followed by __THROW.
42833 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42834 * posix/getopt.h (getopt): Likewise.
42835
2a50c078
EPM
428362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42837
42838 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42839 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42840 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42841 in AT_FLAGS.
42842 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42843 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42844
eb5ad2eb
LM
428452010-05-28 Luis Machado <luisgpm@br.ibm.com>
42846
42847 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42848
3c88fe1e
L
428492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42850
42851 [BZ #11640]
42852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42853 Properly check family and model.
42854
d2f73151
TY
428552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42856
42857 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42858
ebd2e13d
LM
428592010-05-24 Luis Machado <luisgpm@br.ibm.com>
42860
42861 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42862
b32b8b45
UD
428632010-05-21 Ulrich Drepper <drepper@redhat.com>
42864
42865 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42866 symbol reference.
42867
9acbe24d
AS
428682010-05-19 Andreas Schwab <schwab@redhat.com>
42869
42870 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42871 symbol reference.
42872
f0ccf6ea
AS
428732010-05-21 Andreas Schwab <schwab@redhat.com>
42874
3d04ff3a
AS
42875 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42876 and internal_recvmmsg.
42877 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42878 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42879 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42880 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42881
f0ccf6ea
AS
42882 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42883 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42884 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42885
5b08ac57
AS
428862010-05-20 Andreas Schwab <schwab@redhat.com>
42887
42888 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42889
4828935d
LM
428902010-05-17 Luis Machado <luisgpm@br.ibm.com>
42891
42892 POWER7 optimizations.
42893 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42894 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42895
373d545e
UD
428962010-05-19 Ulrich Drepper <drepper@redhat.com>
42897
42898 * version.h: Update for 2.13 development version.
42899
21a2b1ae
AS
429002010-05-12 Andrew Stubbs <ams@codesourcery.com>
42901
42902 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42903 exceptions. Return 0.
42904
3f7dcb2b
RM
429052010-05-07 Roland McGrath <roland@redhat.com>
42906
42907 * elf/ldconfig.c (main): Add a const.
42908
5f24d53a 429092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42910
a160f8d8
UD
42911 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42912 (args_options): Add no-idn option.
42913 (ahosts_keys_int): Add idn_flags to ai_flags.
42914 (parse_option): Handle 'i' option to clear idn_flags.
42915
5f24d53a
UD
42916 * malloc/malloc.c (_int_free): Possible race in the most recently
42917 added check. Only act on the data if no current modification
42918 happened.
265bb1ce
UD
42919
42920See ChangeLog.17 for earlier changes.