]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
elf/dl-lookup.c: Remove obsolete comment about nested function
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f6488e2b
WN
12014-04-03 Will Newton <will.newton@linaro.org>
2
3 * elf/dl-lookup.c (do_lookup_x): Remove comment
4 referring to nested function and move variable
5 declarations down to before first use.
6
6f05bafe
JM
72014-04-02 Joseph Myers <joseph@codesourcery.com>
8
a84e78c8
JM
9 [BZ #16799]
10 [BZ #16800]
11 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12 with 0 numerator.
13 * math/s_catanf.c (__catanf): Likewise.
14 * math/s_catanh.c (__catanh): Likewise.
15 * math/s_catanhf.c (__catanhf): Likewise.
16 * math/s_catanhl.c (__catanhl): Likewise.
17 * math/s_catanl.c (__catanl): Likewise.
18 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19 by positive zero when computing -Inf result.
20 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21 (catanh_test): Likewise.
22 * sysdeps/i386/fpu/libm-test-ulps: Update.
23 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24
6f05bafe
JM
25 [BZ #16789]
26 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27 instead of using underflowing value in computing result.
28 * math/s_clog10.c (__clog10): Likewise.
29 * math/s_clog10f.c (__clog10f): Likewise.
30 * math/s_clog10l.c (__clog10l): Likewise.
31 * math/s_clogf.c (__clogf): Likewise.
32 * math/s_clogl.c (__clogl): Likewise.
33 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34 (clog10_test): Likewise.
35 * sysdeps/i386/fpu/libm-test-ulps: Update.
36 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37
b0abbc21
AM
382014-04-02 Alan Modra <amodra@gmail.com>
39
40 [BZ #16739]
41 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42 output when value is near a power of two. Use int64_t for lx and
43 remove casts. Use decimal rather than hex exponent constants.
44 Don't use long double multiplication when double will suffice.
45 * math/libm-test.inc (nextafter_test_data): Add tests.
46 * NEWS: Add 16739 and 16786 to bug list.
47
af6b1797
AM
482014-04-02 Alan Modra <amodra@gmail.com>
49
50 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
51
483818d7
AM
522014-04-02 Alan Modra <amodra@gmail.com>
53
54 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
55
f6c55796
WN
562014-04-01 Will Newton <will.newton@linaro.org>
57
58 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
59 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
60
13f7fe35
FW
612014-04-01 Florian Weimer <fweimer@redhat.com>
62
63 [BZ #13347]
64 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
65 * nptl/tst-setuid2.c: New file.
66 * nptl/Makefile (xtests): Add tst-setuid2.
67
c859b32e
AM
682014-04-01 Alan Modra <amodra@gmail.com>
69
70 [BZ #16786]
71 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
72
54fa2475
JM
732014-03-31 Joseph Myers <joseph@codesourcery.com>
74
8795b4a4
JM
75 [BZ #6803]
76 [BZ #6804]
77 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
78 set errno as appropriate.
79 * math/w_scalbf.c (__scalbf): Likewise.
80 * math/w_scalbl.c (__scalbl): Likewise.
81 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
82 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
83 * math/libm-test.inc (scalb_test_data): Add errno expectations.
84 Add more NaN tests.
85
54fa2475
JM
86 [BZ #16349]
87 * math/w_atan2.c: Include <errno.h>.
88 (__atan2): Set errno for result underflowing to zero.
89 * math/w_atan2f.c: Include <errno.h>.
90 (__atan2f): Set errno for result underflowing to zero.
91 * math/w_atan2l.c: Include <errno.h>.
92 (__atan2l): Set errno for result underflowing to zero.
93 * math/auto-libm-test-in: Don't allow missing errno for some atan2
94 tests.
95 * math/auto-libm-test-out: Regenerated.
96
757d9dd5
AZ
972014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
98
99 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
100 Encode instruction correctly in little endian.
101 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
102 Likewise.
103 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
104 Likewise.
105 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
106 Likewise.
107 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
108 Likewise.
109
d7a68734
JM
1102014-03-31 Joseph Myers <joseph@codesourcery.com>
111
47c5adeb
JM
112 [BZ #9894]
113 * sysdeps/unix/sysv/linux/kernel-features.h
114 [__sparc__ && !__arch64__ && !__sparc_v9__]
115 (__ASSUME_SET_ROBUST_LIST): Do not define.
116 [__sparc__ && !__arch64__ && !__sparc_v9__]
117 (__ASSUME_FUTEX_LOCK_PI): Likewise.
118 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
119 Likewise.
120 * sysdeps/unix/sysv/linux/arm/kernel-features.h
121 (__ASSUME_FUTEX_LOCK_PI): Undefine.
122 (__ASSUME_REQUEUE_PI): Likewise.
123 (__ASSUME_SET_ROBUST_LIST): Likewise.
124 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
125 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
126 Undefine.
127 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
128 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
129 Likewise.
130 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
131 Likewise.
132 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
133 Likewise.
134 * sysdeps/unix/sysv/linux/mips/kernel-features.h
135 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
136 Undefine.
137 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
138 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
139 Likewise.
140
d7a68734
JM
141 [BZ #16648]
142 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
143 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
144 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
145
c760f5c2
WN
1462014-03-31 Will Newton <will.newton@linaro.org>
147
148 * benchtests/Makefile (bench): Add ffs and ffsll to list
149 of tests.
150 * benchtests/ffs-inputs: New file.
151 * benchtests/ffsll-inputs: Likewise.
152
ea6029b1
JM
1532014-03-29 Joseph Myers <joseph@codesourcery.com>
154
155 [BZ #16770]
156 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
157 too large before casting to int.
158 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
159 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
160 * math/libm-test.inc (scalb_test_data): Add more tests.
161
cf806aff
SP
1622014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
163
56737508
SP
164 * benchtests/Makefile (DETAILED_OPT): New make option.
165 (bench-func): Run benchmark program with -d if DETAILED_OPT is
166 set.
167 * benchtests/bench-skeleton.c: Include stdbool.h.
168 (main): Store and print timings per input.
169 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
170 member to each argument value.
171 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
172 (_print_arg_data): Initialize per-input timing to 0.
173
cb5e4aad
SP
174 * benchtests/Makefile (timing-type): New binary.
175 (bench-clean): Also remove bench-timing-type.
176 (bench): New target for timing-type.
177 (bench-func): Print output in JSON format.
178 * benchtests/bench-skeleton.c (main): Print output in JSON
179 format.
180 * benchtests/bench-timing-type.c: New file.
181 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
182 (TIMING_PRINT_STATS): Remove.
183 * benchtests/scripts/bench.py (_print_arg_data): Store variant
184 name separately.
185
cf806aff
SP
186 * benchtests/bench-modf.c: Remove.
187 * benchtests/modf-inputs: New inputs file.
188
289e0779
JM
1892014-03-28 Joseph Myers <joseph@codesourcery.com>
190
191 [BZ #16362]
192 * math/s_clog10.c (M_PI_LOG10E): New macro.
193 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
194 imaginary parts are 0.
195 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
196 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
197 imaginary parts are 0.
198 * math/s_clog10l.c (M_PI_LOG10El): New macro.
199 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
200 imaginary parts are 0.
201 * math/libm-test.inc (clog10_test_data): Update expected results
202 for when real and imaginary parts are 0.
203
277ae3f1
PP
2042014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
205
206 * elf/dl-load.c: Finish conversion of __builtin_expect into
207 __glibc_{un}likely.
208
03a7091f
JM
2092014-03-27 Joseph Myers <joseph@codesourcery.com>
210
211 [BZ #16348]
212 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
213 1+x for argument with exponent below -67.
214 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
215 Likewise.
216 * math/auto-libm-test-in: Add more tests of exp.
217 * math/auto-libm-test-out: Regenerated.
218
ea7d8b95
SP
2192014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
220
dd3022d7
SP
221 [BZ #16759]
222 * inet/getnetgrent_r.c (get_nonempty_val): New function.
223 (nscd_getnetgrent): Use it.
224
ea7d8b95
SP
225 [BZ #16760]
226 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
227 of stpcpy.
228
df5b85da
AK
2292014-03-27 Andi Kleen <ak@linux.intel.com>
230
231 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
232 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
233 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
234 Remove out of line section. Use cfi intrinsics.
235 (LLL_STUB_UNWIND_INFO*): Remove.
236 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
237 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
238 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
239 Remove out of line section. Use cfi intrinsics.
240 (LLL_STUB_UNWIND_INFO*): Remove.
241
fbd6b5a4
SP
2422014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
243
244 [BZ #16758]
245 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
246 blank values.
247
1b26b855
PP
2482014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
249
250 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
251
9be36fb8
JM
2522014-03-26 Joseph Myers <joseph@codesourcery.com>
253
254 [BZ #16198]
255 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
256 fnstenv.
257 * math/test-fenv-preserve.c: New file.
258 * math/Makefile (tests): Add test-fenv-preserve.
259
60a2f3c1
WN
2602014-03-26 Will Newton <will.newton@linaro.org>
261
262 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
263
a5e5f1e2
RM
2642014-03-25 Roland McGrath <roland@hack.frob.com>
265
266 * scripts/versionlist.awk: Partition the version sets and emit all
267 GLIBC_* (sorted) before all others (sorted).
268
00f4012a
JM
2692014-03-25 Joseph Myers <joseph@codesourcery.com>
270
271 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
272 GLIBC_2.2.5 version.
273
7bc5a741
AZ
2742014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
275
276 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
277 calls.
278
7578473b
AZ
2792014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
280
281 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
282 previous change.
283
f3f1dab3
AZ
2842014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
285
286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
287
6da36183
AS
2882014-03-25 Andreas Schwab <schwab@suse.de>
289
290 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
291 label to be used after in6ailist is initialized.
292
f3f1dab3 2932014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 294
7578473b 295 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
296 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
297
046651c1
JM
2982014-03-25 Joseph Myers <joseph@codesourcery.com>
299
300 [BZ #16357]
301 [BZ #16599]
302 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
303 min_plus_half.
304 (fp_formats): Update initializers.
305 (init_fp_formats): Initialize new field.
306 (output_for_one_input_case): Allow underflow for results up to
307 min_plus_half.
308 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
309 * math/auto-libm-test-in: Don't mark some underflows from asin and
310 atanh as spurious.
311 * math/auto-libm-test-out: Regenerated.
312 * sysdeps/i386/fpu/libm-test-ulps: Update.
313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
314
003e49ed
AS
3152014-03-25 Andreas Schwab <schwab@suse.de>
316
317 * libio/Makefile (tst-ftell-partial-wide-ENV)
318 (tst-ftell-active-handler-ENV): Define.
319
de031874
SL
3202014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
321
322 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
323
55a81e3b
PP
3242014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
325
326 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
327
f3426898
JM
3282014-03-24 Joseph Myers <joseph@codesourcery.com>
329
330 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
331 * sysdeps/x86_64/fpu/multiarch/e_exp.c
332 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
333
a42faf59
PP
3342014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
335
336 [BZ #16634]
a42faf59 337 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
338 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
339 (open_path): Change from boolean 'secure' to complete flag 'mode'
340 (_dl_map_object): Adjust.
a42faf59
PP
341 * elf/Makefile (tests): Add tst-dlopen-aout.
342 * elf/tst-dlopen-aout.c: New test.
343
50936127
SL
3442014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
345
346 [BZ #16714]
347 * sysdeps/unix/sysv/linux/s390/bits/stat.h
348 (struct stat): Rename member pad0 to __glibc_reserved0.
349
26011b5c
SL
3502014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
351
352 [BZ #16712]
353 * sysdeps/s390/s390-32/bits/wordsize.h
354 (__WORDSIZE32_SIZE_ULONG): New define.
355 * sysdeps/s390/s390-64/bits/wordsize.h
356 (__WORDSIZE32_SIZE_ULONG): Likewise.
357 * sysdeps/generic/stdint.h (SIZE_MAX):
358 Define as UL if __WORDSIZE32_SIZE_ULONG.
359
a2d86bf1
SL
3602014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
361
362 [BZ #16713]
363 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
364 (__glibc_reserved0): New variable.
365 (sa_flags): Change type to int.
366
78b6eebc
SL
3672014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
368
369 * posix/Makefile (before-compile): Use += before-compile instead
370 of a :=.
371
f1399b5a
SL
3722014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
373
374 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
375 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
376
a071766e
AS
3772014-03-20 Andreas Schwab <schwab@suse.de>
378
379 [BZ #16743]
380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
381 non-matching result from nscd.
382
27c673b8
SP
3832014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
384
385 * scripts/bench.py: Moved to ...
386 * benchtests/scripts/bench.py: ... here.
387 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
388
44152e4b
AS
3892014-03-24 Andreas Schwab <schwab@suse.de>
390
391 [BZ #16002]
392 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
393 alloca_account and account alloca use for struct in6ailist.
394
b376a11a
JM
3952014-03-24 Joseph Myers <joseph@codesourcery.com>
396
397 [BZ #16284]
398 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
399 rounding mode to recompute results that overflow to infinity or
400 underflow to zero.
401 * math/auto-libm-test-in: Don't mark tests as expected to fail for
402 bug 16284.
403 * math/auto-libm-test-out: Regenerated.
404 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
405 (ccosh_test): Likewise.
406 (csin_test_data): Use plus_oflow.
407 (csin_test): Use ALL_RM_TEST.
408 (csinh_test_data): Use plus_oflow.
409 (csinh_test): Use ALL_RM_TEST.
410 * sysdeps/i386/fpu/libm-test-ulps: Update.
411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
412
f7be7376
JM
4132014-03-21 Joseph Myers <joseph@codesourcery.com>
414
1ca2d03e
JM
415 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
416 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
417 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
418
f7be7376
JM
419 [BZ #16731]
420 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
421 when x - 1 is zero.
422 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
423 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
424 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
425 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
426 argument is 1.
427 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
428 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
429 zero.
430 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
431 * sysdeps/i386/fpu/libm-test-ulps: Update.
432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
433
fdf4534d
SP
4342014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
435
df26ea53
SP
436 * scripts/bench.pl: Remove file.
437 * scripts/bench.py: New benchmark script.
438 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
439 * benchtests/README: Mention python dependency.
440 * scripts/pylintrc: New file.
441 * scripts/pylint: New file.
442
fdf4534d
SP
443 * bits/mathdef.h: Use #ifdef instead of #if.
444 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
445 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
446 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
447 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
448 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
449 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
450
6f23d093
AZ
4512014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
452 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
453
454 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
456 and strpbrk-ppc64 objects.
457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
458 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
459 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
460 multiarch strpbrk for POWER7.
461 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
462 multiarch strpbrk for PPC64.
463 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
464 ifunc selector.
465 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
466 strpbrk for POWER7.
467
8c92dfff
JM
4682014-03-20 Joseph Myers <joseph@codesourcery.com>
469
470 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
471 (atan_test): Likewise.
472 (atanh_test_data): Use NO_TEST_INLINE for two tests.
473 (atanh_test): Use ALL_RM_TEST.
474 (atan2_test_data): Likewise.
475 (cabs_test): Likewise.
476 (cacosh_test): Likewise.
477 (carg_test): Likewise.
478 (casin_test): Likewise.
479 (casinh_test): Likewise.
480 (cbrt_test): Likewise.
481 (csqrt_test): Likewise.
482 (erf_test): Likewise.
483 (erfc_test): Likewise.
484 (pow10_test): Likewise.
485 (exp2_test): Likewise.
486 (hypot_test): Likewise.
487 (j0_test): Likewise.
488 (j1_test): Likewise.
489 (lgamma_test): Likewise.
490 (gamma_test): Likewise.
491 (sincos_test): Likewise.
492 (tanh_test): Likewise.
493 (y0_test): Likewise.
494 (y1_test): Likewise.
495 * sysdeps/i386/fpu/libm-test-ulps: Update.
496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
497
6eaf95cb
AZ
4982014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
499
a387428c
SP
500 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
502 and strcspn-ppc64 objects.
503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
504 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
505 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
506 multiarch strcspn for POWER7.
507 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
508 multiarch strcspn for PPC64.
509 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
510 ifunc selector.
511 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
512 strcspn for POWER7.
513
ae3a5dff
JM
5142014-03-20 Joseph Myers <joseph@codesourcery.com>
515
516 * math/gen-libm-test.pl (generate_testfile): Expect only function
517 name as argument to AUTO_TESTS_* and pass results for all rounding
518 modes to parse_args.
519 (parse_auto_input): Separate inputs of automatic tests from
520 outputs before storing in %auto_tests.
521 * math/libm-test.inc (acos_test_data): Update call to
522 AUTO_TESTS_f_f.
523 (acos_test): Use ALL_RM_TEST.
524 (acos_tonearest_test_data): Remove.
525 (acos_test_tonearest): Likewise.
526 (acos_towardzero_test_data): Likewise.
527 (acos_test_towardzero): Likewise.
528 (acos_downward_test_data): Likewise.
529 (acos_test_downward): Likewise.
530 (acos_upward_test_data): Likewise.
531 (acos_test_upward): Likewise.
532 (acosh_test_data): Update call to AUTO_TESTS_f_f.
533 (asin_test_data): Likewise.
534 (asin_test): Use ALL_RM_TEST.
535 (asin_tonearest_test_data): Remove.
536 (asin_test_tonearest): Likewise.
537 (asin_towardzero_test_data): Likewise.
538 (asin_test_towardzero): Likewise.
539 (asin_downward_test_data): Likewise.
540 (asin_test_downward): Likewise.
541 (asin_upward_test_data): Likewise.
542 (asin_test_upward): Likewise.
543 (asinh_test_data): Update call to AUTO_TESTS_f_f.
544 (atan_test_data): Likewise.
545 (atanh_test_data): Likewise.
546 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
547 (cabs_test_data): Update call to AUTO_TESTS_c_f.
548 (carg_test_data): Likewise.
549 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
550 (ccos_test_data): Update call to AUTO_TESTS_c_c.
551 (ccosh_test_data): Likewise.
552 (cexp_test_data): Likewise.
553 (clog_test_data): Likewise.
554 (clog10_test_data): Likewise.
555 (cos_test_data): Update call to AUTO_TESTS_f_f.
556 (cos_test): Use ALL_RM_TEST.
557 (cos_tonearest_test_data): Remove.
558 (cos_test_tonearest): Likewise.
559 (cos_towardzero_test_data): Likewise.
560 (cos_test_towardzero): Likewise.
561 (cos_downward_test_data): Likewise.
562 (cos_test_downward): Likewise.
563 (cos_upward_test_data): Likewise.
564 (cos_test_upward): Likewise.
565 (cosh_test_data): Update call to AUTO_TESTS_f_f.
566 (cosh_test): Use ALL_RM_TEST.
567 (cosh_tonearest_test_data): Remove.
568 (cosh_test_tonearest): Likewise.
569 (cosh_towardzero_test_data): Likewise.
570 (cosh_test_towardzero): Likewise.
571 (cosh_downward_test_data): Likewise.
572 (cosh_test_downward): Likewise.
573 (cosh_upward_test_data): Likewise.
574 (cosh_test_upward): Likewise.
575 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
576 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
577 (ctan_test_data): Likewise.
578 (ctan_test): Use ALL_RM_TEST.
579 (ctan_tonearest_test_data): Remove.
580 (ctan_test_tonearest): Likewise.
581 (ctan_towardzero_test_data): Likewise.
582 (ctan_test_towardzero): Likewise.
583 (ctan_downward_test_data): Likewise.
584 (ctan_test_downward): Likewise.
585 (ctan_upward_test_data): Likewise.
586 (ctan_test_upward): Likewise.
587 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
588 (ctanh_test): Use ALL_RM_TEST.
589 (ctanh_tonearest_test_data): Remove.
590 (ctanh_test_tonearest): Likewise.
591 (ctanh_towardzero_test_data): Likewise.
592 (ctanh_test_towardzero): Likewise.
593 (ctanh_downward_test_data): Likewise.
594 (ctanh_test_downward): Likewise.
595 (ctanh_upward_test_data): Likewise.
596 (ctanh_test_upward): Likewise.
597 (erf_test_data): Update call to AUTO_TESTS_f_f.
598 (erfc_test_data): Likewise.
599 (exp_test_data): Likewise.
600 (exp_test): Use ALL_RM_TEST.
601 (exp_tonearest_test_data): Remove.
602 (exp_test_tonearest): Likewise.
603 (exp_towardzero_test_data): Likewise.
604 (exp_test_towardzero): Likewise.
605 (exp_downward_test_data): Likewise.
606 (exp_test_downward): Likewise.
607 (exp_upward_test_data): Likewise.
608 (exp_test_upward): Likewise.
609 (exp10_test_data): Update call to AUTO_TESTS_f_f.
610 (exp10_test): Use ALL_RM_TEST.
611 (exp10_tonearest_test_data): Remove.
612 (exp10_test_tonearest): Likewise.
613 (exp10_towardzero_test_data): Likewise.
614 (exp10_test_towardzero): Likewise.
615 (exp10_downward_test_data): Likewise.
616 (exp10_test_downward): Likewise.
617 (exp10_upward_test_data): Likewise.
618 (exp10_test_upward): Likewise.
619 (exp2_test_data): Update call to AUTO_TESTS_f_f.
620 (expm1_test_data): Likewise.
621 (expm1_test): Use ALL_RM_TEST.
622 (expm1_tonearest_test_data): Remove.
623 (expm1_test_tonearest): Likewise.
624 (expm1_towardzero_test_data): Likewise.
625 (expm1_test_towardzero): Likewise.
626 (expm1_downward_test_data): Likewise.
627 (expm1_test_downward): Likewise.
628 (expm1_upward_test_data): Likewise.
629 (expm1_test_upward): Likewise.
630 (fma_test_data): Update call to AUTO_TESTS_fff_f.
631 (fma_test): Use ALL_RM_TEST.
632 (fma_towardzero_test_data): Remove.
633 (fma_test_towardzero): Likewise.
634 (fma_downward_test_data): Likewise.
635 (fma_test_downward): Likewise.
636 (fma_upward_test_data): Likewise.
637 (fma_test_upward): Likewise.
638 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
639 (j0_test_data): Update call to AUTO_TESTS_f_f.
640 (j1_test_data): Likewise.
641 (jn_test_data): Update call to AUTO_TESTS_if_f.
642 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
643 (log_test_data): Update call to AUTO_TESTS_f_f.
644 (log10_test_data): Likewise.
645 (log1p_test_data): Likewise.
646 (log2_test_data): Likewise.
647 (pow_test_data): Update call to AUTO_TESTS_ff_f.
648 (pow_tonearest_test_data): Likewise.
649 (sin_test_data): Update call to AUTO_TESTS_f_f.
650 (sin_test): Use ALL_RM_TEST.
651 (sin_tonearest_test_data): Remove.
652 (sin_test_tonearest): Likewise.
653 (sin_towardzero_test_data): Likewise.
654 (sin_test_towardzero): Likewise.
655 (sin_downward_test_data): Likewise.
656 (sin_test_downward): Likewise.
657 (sin_upward_test_data): Likewise.
658 (sin_test_upward): Likewise.
659 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
660 (sinh_test_data): Update call to AUTO_TESTS_f_f.
661 (sinh_test): Use ALL_RM_TEST.
662 (sinh_tonearest_test_data): Remove.
663 (sinh_test_tonearest): Likewise.
664 (sinh_towardzero_test_data): Likewise.
665 (sinh_test_towardzero): Likewise.
666 (sinh_downward_test_data): Likewise.
667 (sinh_test_downward): Likewise.
668 (sinh_upward_test_data): Likewise.
669 (sinh_test_upward): Likewise.
670 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
671 (sqrt_test): Use ALL_RM_TEST.
672 (sqrt_tonearest_test_data): Remove.
673 (sqrt_test_tonearest): Likewise.
674 (sqrt_towardzero_test_data): Likewise.
675 (sqrt_test_towardzero): Likewise.
676 (sqrt_downward_test_data): Likewise.
677 (sqrt_test_downward): Likewise.
678 (sqrt_upward_test_data): Likewise.
679 (sqrt_test_upward): Likewise.
680 (tan_test_data): Update call to AUTO_TESTS_f_f.
681 (tan_test): Use ALL_RM_TEST.
682 (tan_tonearest_test_data): Remove.
683 (tan_test_tonearest): Likewise.
684 (tan_towardzero_test_data): Likewise.
685 (tan_test_towardzero): Likewise.
686 (tan_downward_test_data): Likewise.
687 (tan_test_downward): Likewise.
688 (tan_upward_test_data): Likewise.
689 (tan_test_upward): Likewise.
690 (tanh_test_data): Update call to AUTO_TESTS_f_f.
691 (tgamma_test_data): Likewise.
692 (y0_test_data): Likewise.
693 (y1_test_data): Likewise.
694 (yn_test_data): Update call to AUTO_TESTS_if_f.
695 (main): Do not call removed functions.
696
d71aeee8
JM
6972014-03-19 Joseph Myers <joseph@codesourcery.com>
698
699 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
700 (ldexp_test_data): Remove.
701 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
702 scalbn_test_data.
703 (scalb_test): Use ALL_RM_TEST.
704
baaf1ded
AS
7052014-03-19 Andreas Schwab <schwab@suse.de>
706
707 * nscd/nscd.service: Also invalidate netgroup cache on reload.
708
b1115e91
JM
7092014-03-19 Joseph Myers <joseph@codesourcery.com>
710
711 [BZ #16649]
712 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
713 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
714 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
715 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
716 (__ASSUME_PREADV): Undefine.
717 (__ASSUME_PWRITEV): Likewise.
718
0283ecca
RM
7192014-03-18 Roland McGrath <roland@hack.frob.com>
720
7d375303
RM
721 * bits/mman-linux.h: Add comment about non-Linux use.
722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
723 bits/mman-linux.h resting place.
724
0283ecca
RM
725 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
726 * bits/mman-linux.h: ... here.
727
aebe1003
AZ
7282014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
729
730 * conform/conformtest.pl: Add standard definition when calling C
731 preprocessor on data files.
732 (checknamespace): Remove unused variable.
733
b29b6bb8
JM
7342014-03-18 Joseph Myers <joseph@codesourcery.com>
735
736 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
737 minus_oflow, plus_uflow and minus_uflow in expected results.
738 * math/libm-test.inc (scalbn_test_data): Add more tests of
739 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
740 minus_uflow.
741 (scalbn_test): Use ALL_RM_TEST.
742 (scalbln_test_data): Add more tests of negative arguments. Use
743 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
744 (scalbln_test): Use ALL_RM_TEST.
745
c8f8fa15
RM
7462014-03-18 Roland McGrath <roland@hack.frob.com>
747
748 * scripts/abilist.awk: Ignore symbols marked with .hidden.
749
fede7a5f
WN
7502014-03-18 Will Newton <will.newton@linaro.org>
751
752 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
753 inaccurate comment.
754
80cf0a58
JM
7552014-03-18 Joseph Myers <joseph@codesourcery.com>
756
757 * Makerules [!subdir] (check-abi): Exit with error status if a
758 test failed.
759
b3620862
JM
7602014-03-17 Joseph Myers <joseph@codesourcery.com>
761
762 * math/libm-test.inc (nearbyint_test_data): Include all tests used
763 for rint. Include results for all rounding modes.
764 (nearbyint_test): Use ALL_RM_TEST.
765 (rint_test_data): Include all tests used for nearbyint.
766
788bba36
WN
7672014-03-17 Will Newton <will.newton@linaro.org>
768
04ec140a
WN
769 * nptl/sysdeps/pthread/pthread.h: Revert previous
770 change.
771
7579d8d5
WN
772 * sysdeps/generic/ldsodefs.h: Revert previous
773 change.
774
c15cf13a
WN
775 * libio/genops.c: Revert previous change.
776 * libio/libioP.h: Likewise.
777 * stdio-common/vfprintf.c: Likewise.
778
d0ac1324
WN
779 * sysdeps/generic/math_private.h: Revert previous
780 change.
781
9290130a
WN
782 * sysdeps/generic/math_private.h: Check whether
783 HAVE_RM_CTX is defined with #ifdef rather
784 than #if.
785
afb466fc
WN
786 * argp/argp-fmtstream.h: Check whether
787 __STRICT_ANSI__ is defined with #ifdef rather
788 than #if.
789 * argp/argp.h: Likewise.
790
f7efd7c3
WN
791 * libio/genops.c: Check whether
792 _IO_JUMPS_OFFSET is defined with #ifdef rather
793 than #if.
794 * libio/libioP.h: Likewise.
795 * stdio-common/vfprintf.c: Likewise.
796
53f1bed3
WN
797 * sysdeps/generic/ldsodefs.h: Check whether
798 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
799 than #if.
800
788bba36
WN
801 * nptl/sysdeps/pthread/pthread.h: Check
802 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
803 its value.
804
fcd89ebe
SP
8052014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
806
ae42bbc5
SP
807 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
808 setting O_APPEND.
809 * libio/tst-ftell-active-handler.c (do_append_test): Add a
810 test case.
811
ea33158c
SP
812 [BZ #16680]
813 * libio/fileops.c (_IO_file_open): Seek to end of file but
814 don't cache the offset.
815 (get_file_offset): Remove function.
816 (do_ftell): Use cached offset when available.
817 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
818 don't cache the offset.
819 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
820 case.
821 (do_one_test): Call it.
822 (do_ftell_test): Fix up expected old offset for a+ mode.
823 * libio/wfileops.c (do_ftell_wide): Used cached offset when
824 available.
825
b1dbb426
SP
826 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
827 up test status with function return status.
828 (do_write_test): Likewise.
829 (do_append_test): Likewise.
830
fcd89ebe
SP
831 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
832 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
833 Remove.
834
9962a2d3
JM
8352014-03-17 Joseph Myers <joseph@codesourcery.com>
836
837 * math/gen-libm-test.pl (parse_args): Handle results specified for
838 each rounding mode separately.
839 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
840 tests and results from lrint_tonearest_test_data,
841 lrint_towardzero_test_data, lrint_downward_test_data and
842 lrint_upward_test_data.
843 (lrint_test): Use ALL_RM_TEST.
844 (lrint_tonearest_test_data): Remove.
845 (lrint_test_tonearest): Likewise.
846 (lrint_towardzero_test_data): Likewise.
847 (lrint_test_towardzero): Likewise.
848 (lrint_downward_test_data): Likewise.
849 (lrint_test_downward): Likewise.
850 (lrint_upward_test_data): Likewise.
851 (lrint_test_upward): Likewise.
852 (llrint_test_data): Merge in per-rounding-mode tests and results
853 from llrint_tonearest_test_data, llrint_towardzero_test_data,
854 llrint_downward_test_data and llrint_upward_test_data.
855 (llrint_test): Use ALL_RM_TEST.
856 (llrint_tonearest_test_data): Remove.
857 (llrint_test_tonearest): Likewise.
858 (llrint_towardzero_test_data): Likewise.
859 (llrint_test_towardzero): Likewise.
860 (llrint_downward_test_data): Likewise.
861 (llrint_test_downward): Likewise.
862 (llrint_upward_test_data): Likewise.
863 (llrint_test_upward): Likewise.
864 (rint_test_data): Merge in per-rounding-mode tests and results
865 from rint_tonearest_test_data, rint_towardzero_test_data,
866 rint_downward_test_data and rint_upward_test_data. Add
867 per-rounding-mode results for tests not in those arrays.
868 (rint_test): Use ALL_RM_TEST.
869 (rint_tonearest_test_data): Remove.
870 (rint_test_tonearest): Likewise.
871 (rint_towardzero_test_data): Likewise.
872 (rint_test_towardzero): Likewise.
873 (rint_downward_test_data): Likewise.
874 (rint_test_downward): Likewise.
875 (rint_upward_test_data): Likewise.
876 (rint_test_upward): Likewise.
877 (main): Don't call removed functions.
878
5006148e
RM
8792014-03-14 Roland McGrath <roland@hack.frob.com>
880
881 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
882 "Compiled on ..." crapola. It is anti-useful.
883
d6fe5e58
JM
8842014-03-14 Joseph Myers <joseph@codesourcery.com>
885
886 * scripts/evaluate-test.sh: Handle fourth argument to determine
887 whether test run should stop on failure.
888 * Makeconfig (stop-on-test-failure): New variable.
889 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
890 $(stop-on-test-failure).
891 * Makefile (tests): Give a summary of results from testing and
892 exit with failure status if they include an ERROR or FAIL.
893 (xtests): Likewise.
894 * manual/install.texi (Configuring and compiling): Mention
895 stop-on-test-failure=y.
896 * INSTALL: Regenerated.
897
498a2233
RM
8982014-03-14 Roland McGrath <roland@hack.frob.com>
899
22dbc19d
RM
900 * scripts/versionlist.awk: New file.
901 * Makerules [$(build-shared) = yes]
902 (postclean-generated): Add Versions.def, not Versions.def.v and
903 Versions.def.v.i.
904 ($(common-objpfx)Versions.def.v.i): Target removed.
905 ($(common-objpfx)Versions.def): New target.
906 ($(common-objpfx)Versions.all): Depend on that rather that
907 $(common-objpfx)Versions.def.v.
908 * Versions.def: File removed.
909
498a2233
RM
910 * Makeconfig (+gccwarn): Add -Wundef.
911 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
912 a dl-sysdep.h breaking its contract.
913 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
914 * include/stackinfo.h: New file.
915 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
916 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
917 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
918 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
919 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
920 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
921 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
922 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
923 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
924 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
925 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
926 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
927 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
928 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
929 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
930
c7de5025
AZ
9312014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
932
933 [BZ #16707]
934 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
935 implementation.
936 * math/libm-test.inc (round_test_data): Add more tests.
937
98fb27a3
AZ
9382014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
939
940 [BZ #16706]
941 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
942 implementation.
943 * math/libm-test.inc (nearbyint_test_data): Add more tests.
944
374f7f61
AZ
9452014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
946
947 [BZ #16701]
948 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
949 implementation.
950 * math/libm-test.inc (ceil_test_data): Add more tests.
951
4655c291
AZ
9522014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
953
954 * math/libm-test.inc (trunc_test_data): Add more tests related to
955 BZ#16414.
956
d7329d4b
RM
9572014-03-14 Roland McGrath <roland@hack.frob.com>
958
959 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
960 with #if rather than #ifdef.
961 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
962
aa4de9ce
L
9632014-03-14 H.J. Lu <hongjiu.lu@intel.com>
964
965 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
966 first. Disable AVX-512 GCC support if assembler doesn't support
967 it.
968 * sysdeps/x86_64/configure: Regenerated.
969
2e03fae7
CD
9702014-03-13 Carlos O'Donell <carlos@redhat.com>
971
972 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
973 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
974 (__old_pthread_attr_setstack): Likewise.
975 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
976 [!_STACK_GROWS_DOWN]: Likewise.
977
43ca83ec
MF
9782014-03-13 Mike Frysinger <vapier@gentoo.org>
979
980 * config.make.in (have-bash2): Delete.
981 * configure.ac (libc_cv_have_bash2): Delete.
982 * configure: Regenerate.
983 * elf/Makefile (common-ldd-rewrite): Rename to ...
984 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
985 (sh-ldd-rewrite): Delete.
986 (bash-ldd-rewrite): Delete.
987 (have-bash2): Delete checks.
988 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
989
c66e48b4
MF
9902014-03-13 Mike Frysinger <vapier@gentoo.org>
991
992 * config.make.in (have-ksh): Delete.
993 (KSH): Delete.
994 * configure.ac (libc_cv_have_ksh): Delete.
995 * configure: Regenerate.
996
b93834ef
MF
9972014-03-13 Mike Frysinger <vapier@gentoo.org>
998
999 * elf/Makefile: Delete $(have-ksh) check.
1000 ($(objpfx)sotruss): Change KSH to BASH.
1001 * elf/sotruss.ksh: Rename to ...
1002 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1003 function style to match POSIX. Drop ksh vim mode setting.
1004
f3a4632a
MF
10052014-03-13 Mike Frysinger <vapier@gentoo.org>
1006
1007 * manual/time.texi (Specifying the Time Zone with TZ): Change
1008 Tuesday to Thursday.
1009
5896c8bd
MF
10102014-03-13 Mike Frysinger <vapier@gentoo.org>
1011
1012 * debug/tst-longjmp_chk2.c: Update header comment.
1013 (stackoverflow_handler): Add comment. Call assert on pass value.
1014
2d63a517
IZ
10152014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1016
1017 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1018 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1019 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1020 (La_x86_64_vector): Add zmm.
1021 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1022 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1023 ($(objpfx)tst-audit10): New target.
1024 ($(objpfx)tst-audit10.out): Likewise.
1025 (tst-audit10-ENV): New.
1026 (AVX512-CFLAGS): Likewise.
1027 (CFLAGS-tst-audit10.c): Likewise.
1028 (CFLAGS-tst-auditmod10a.c): Likewise.
1029 (CFLAGS-tst-auditmod10b.c): Likewise.
1030 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1031 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1032 * sysdeps/x86_64/configure: Regenerated.
1033 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1034 AVX-512 zmm register support.
1035 (_dl_x86_64_save_sse): Likewise.
1036 (_dl_x86_64_restore_sse): Likewise.
1037 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1038 size vector registers.
1039 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1040 (ZMM_SIZE): Likewise.
1041 * sysdeps/x86_64/tst-audit10.c: New file.
1042 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1043 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1044
44c4e5d5
RM
10452014-03-13 Roland McGrath <roland@hack.frob.com>
1046
1047 * configure.ac (HAVE_EHDR_START): New check.
1048 * configure: Regenerated.
1049 * config.h.in (HAVE_EHDR_START): New #undef.
1050 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1051 assuming the lowest-addressed segment maps the start of the file.
1052
acd6e389
JM
10532014-03-13 Joseph Myers <joseph@codesourcery.com>
1054
1055 * INSTALL: Regenerated.
1056
6f918f36
WN
10572014-03-13 Will Newton <will.newton@linaro.org>
1058
1059 * manual/setjmp.texi (System V contexts): Improve
1060 clarity and grammar of documentation.
1061
798212a0
PP
10622014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1063
1064 [BZ #16381]
798212a0 1065 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1066 (tests-pie): Add tst-pie2.
798212a0
PP
1067 * elf/tst-pie2.c: New file.
1068 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1069 for ET_EXEC.
1070 * elf/rtld.c (map_doit): Load executable as lt_executable.
1071 (dl_main): Likewise.
1072
abe6d90c
JM
10732014-03-12 Joseph Myers <joseph@codesourcery.com>
1074
1075 [BZ #16642]
1076 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1077 (__ASSUME_PSELECT): Undefine.
1078
dd3946c6
AZ
10792014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1080
1081 [BZ #16689]
1082 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1083 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1084 static build.
1085 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1086 selector for static builds.
1087
c44496df
SP
10882014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1089
1090 [BZ #16695]
1091 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1092 key in the buffer.
1093
27c7220a
AZ
10942014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1095
1096 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1097 selector for static builds.
1098
600fa361
JM
10992014-03-11 Joseph Myers <joseph@codesourcery.com>
1100
76c96cf7
JM
1101 * sysdeps/mips/math_private.h [__mips_hard_float]
1102 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1103 libc_feresetround_mips_ctx.
1104 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1105 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1106 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1107
600fa361
JM
1108 [BZ #16677]
1109 * math/s_nextafter.c (__nextafter): Do not return value from
1110 overflowing computation.
1111 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1112 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1113 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1114 Likewise.
1115 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1116 Likewise.
1117 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1118 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1119
d7706c32
RM
11202014-03-11 Roland McGrath <roland@hack.frob.com>
1121
1122 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1123 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1124 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1125 the new mov targetting sp.
1126
4facea47
AZ
11272014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1128
1129 [BZ #16683]
1130 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1131 Define it for static builds as well.
1132 (NO_BZERO_IMPL): Likewise.
1133
e65caf1f
VR
11342014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1135
1136 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1137 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1138 multiarch strspn for PPC64.
1139 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1140 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1142 (__libc_ifunc_impl_list): Likewise.
1143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1144 multiarch optimizations
1145 * string/strspn.c (strspn): Using macro to redefine symbol name.
1146
ba9cc071
AZ
11472014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1148 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1149
1150 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1151 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1152 multiarch strncat for PPC64.
1153 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1154 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1156 (__libc_ifunc_impl_list): Likewise.
1157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1158 multiarch optimizations
1159
8b4ff974
SP
11602014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1161
1162 [BZ #16639]
1163 * nscd/nscd.service: Make service type forking.
1164
54b46a4b
AZ
11652014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1166
1167 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1168 sign in non default rounding modes.
1169 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1170
e9996ef7
JM
11712014-03-08 Joseph Myers <joseph@codesourcery.com>
1172
1173 * math/libm-test.inc (ALL_RM_TEST): New macro.
1174 (ceil_test): Use ALL_RM_TEST.
1175 (cimag_test): Likewise.
1176 (conj_test): Likewise.
1177 (copysign_test): Likewise.
1178 (cproj_test): Likewise.
1179 (creal_test): Likewise.
1180 (fabs_test): Likewise.
1181 (floor_test): Likewise.
1182 (fmax_test): Likewise.
1183 (fmin_test): Likewise.
1184 (fmod_test): Likewise.
1185 (fpclassify_test): Likewise.
1186 (frexp_test): Likewise.
1187 (ilogb_test): Likewise.
1188 (isfinite_test): Likewise.
1189 (finite_test): Likewise.
1190 (isgreater_test): Likewise.
1191 (isgreaterequal_test): Likewise.
1192 (isinf_test): Likewise.
1193 (isless_test): Likewise.
1194 (islessequal_test): Likewise.
1195 (islessgreater_test): Likewise.
1196 (isnan_test): Likewise.
1197 (isnormal_test): Likewise.
1198 (issignaling_test): Likewise.
1199 (isunordered_test): Likewise.
1200 (logb_test): Likewise.
1201 (logb_downward_test_data): Remove.
1202 (logb_test_downward): Likewise.
1203 (lround_test): Use ALL_RM_TEST.
1204 (llround_test): Likewise.
1205 (modf_test): Likewise.
1206 (nexttoward_test): Likewise.
1207 (remainder_test): Likewise.
1208 (drem_test): Likewise.
1209 (remainder_tonearest_test_data): Likewise.
1210 (remainder_test_tonearest): Likewise.
1211 (drem_test_tonearest): Likewise.
1212 (remainder_towardzero_test_data): Likewise.
1213 (remainder_test_towardzero): Likewise.
1214 (drem_test_towardzero): Likewise.
1215 (remainder_downward_test_data): Likewise.
1216 (remainder_test_downward): Likewise.
1217 (drem_test_downward): Likewise.
1218 (remainder_upward_test_data): Likewise.
1219 (remainder_test_upward): Likewise.
1220 (drem_test_upward): Likewise.
1221 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1222 (round_test): Use ALL_RM_TEST.
1223 (signbit_test): Likewise.
1224 (trunc_test): Likewise.
1225 (significand_test): Likewise.
1226 (main): Don't call removed functions.
1227
bc61d27c
JM
12282014-03-07 Joseph Myers <joseph@codesourcery.com>
1229
5c780849
JM
1230 [BZ #16674]
1231 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1232 || __USE_XOPEN2K8].
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 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1254 (TRAP_TRACE): Likewise.
1255 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1256 __USE_XOPEN2K8].
1257 (CLD_KILLED): Likewise.
1258 (CLD_DUMPED): Likewise.
1259 (CLD_TRAPPED): Likewise.
1260 (CLD_STOPPED): Likewise.
1261 (CLD_CONTINUED): Likewise.
1262 (POLL_IN): Likewise.
1263 (POLL_OUT): Likewise.
1264 (POLL_MSG): Likewise.
1265 (POLL_ERR): Likewise.
1266 (POLL_PRI): Likewise.
1267 (POLL_HUP): Likewise.
1268 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1269 Likewise.
1270 (ILL_ILLOPN): Likewise.
1271 (ILL_ILLADR): Likewise.
1272 (ILL_ILLTRP): Likewise.
1273 (ILL_PRVOPC): Likewise.
1274 (ILL_PRVREG): Likewise.
1275 (ILL_COPROC): Likewise.
1276 (ILL_BADSTK): Likewise.
1277 (FPE_INTDIV): Likewise.
1278 (FPE_INTOVF): Likewise.
1279 (FPE_FLTDIV): Likewise.
1280 (FPE_FLTOVF): Likewise.
1281 (FPE_FLTUND): Likewise.
1282 (FPE_FLTRES): Likewise.
1283 (FPE_FLTINV): Likewise.
1284 (FPE_FLTSUB): Likewise.
1285 (SEGV_MAPERR): Likewise.
1286 (SEGV_ACCERR): Likewise.
1287 (BUS_ADRALN): Likewise.
1288 (BUS_ADRERR): Likewise.
1289 (BUS_OBJERR): Likewise.
1290 (BUS_MCEERR_AR): Likewise.
1291 (BUS_MCEERR_AO): Likewise.
1292 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1293 (TRAP_TRACE): Likewise.
1294 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1295 __USE_XOPEN2K8].
1296 (CLD_KILLED): Likewise.
1297 (CLD_DUMPED): Likewise.
1298 (CLD_TRAPPED): Likewise.
1299 (CLD_STOPPED): Likewise.
1300 (CLD_CONTINUED): Likewise.
1301 (POLL_IN): Likewise.
1302 (POLL_OUT): Likewise.
1303 (POLL_MSG): Likewise.
1304 (POLL_ERR): Likewise.
1305 (POLL_PRI): Likewise.
1306 (POLL_HUP): Likewise.
1307 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1308 (ILL_ILLOPN): Likewise.
1309 (ILL_ILLADR): Likewise.
1310 (ILL_ILLTRP): Likewise.
1311 (ILL_PRVOPC): Likewise.
1312 (ILL_PRVREG): Likewise.
1313 (ILL_COPROC): Likewise.
1314 (ILL_BADSTK): Likewise.
1315 (FPE_INTDIV): Likewise.
1316 (FPE_INTOVF): Likewise.
1317 (FPE_FLTDIV): Likewise.
1318 (FPE_FLTOVF): Likewise.
1319 (FPE_FLTUND): Likewise.
1320 (FPE_FLTRES): Likewise.
1321 (FPE_FLTINV): Likewise.
1322 (FPE_FLTSUB): Likewise.
1323 (SEGV_MAPERR): Likewise.
1324 (SEGV_ACCERR): Likewise.
1325 (BUS_ADRALN): Likewise.
1326 (BUS_ADRERR): Likewise.
1327 (BUS_OBJERR): Likewise.
1328 (BUS_MCEERR_AR): Likewise.
1329 (BUS_MCEERR_AO): Likewise.
1330 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1331 (TRAP_TRACE): Likewise.
1332 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1333 __USE_XOPEN2K8].
1334 (CLD_KILLED): Likewise.
1335 (CLD_DUMPED): Likewise.
1336 (CLD_TRAPPED): Likewise.
1337 (CLD_STOPPED): Likewise.
1338 (CLD_CONTINUED): Likewise.
1339 (POLL_IN): Likewise.
1340 (POLL_OUT): Likewise.
1341 (POLL_MSG): Likewise.
1342 (POLL_ERR): Likewise.
1343 (POLL_PRI): Likewise.
1344 (POLL_HUP): Likewise.
1345 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1346 Likewise.
1347 (ILL_ILLOPN): Likewise.
1348 (ILL_ILLADR): Likewise.
1349 (ILL_ILLTRP): Likewise.
1350 (ILL_PRVOPC): Likewise.
1351 (ILL_PRVREG): Likewise.
1352 (ILL_COPROC): Likewise.
1353 (ILL_BADSTK): Likewise.
1354 (ILL_BADIADDR): Likewise.
1355 (ILL_BREAK): Likewise.
1356 (FPE_INTDIV): Likewise.
1357 (FPE_INTOVF): Likewise.
1358 (FPE_FLTDIV): Likewise.
1359 (FPE_FLTOVF): Likewise.
1360 (FPE_FLTUND): Likewise.
1361 (FPE_FLTRES): Likewise.
1362 (FPE_FLTINV): Likewise.
1363 (FPE_FLTSUB): Likewise.
1364 (FPE_DECOVF): Likewise.
1365 (FPE_DECDIV): Likewise.
1366 (FPE_DECERR): Likewise.
1367 (FPE_INVASC): Likewise.
1368 (FPE_INVDEC): Likewise.
1369 (SEGV_MAPERR): Likewise.
1370 (SEGV_ACCERR): Likewise.
1371 (SEGV_PSTKOVF): Likewise.
1372 (BUS_ADRALN): Likewise.
1373 (BUS_ADRERR): Likewise.
1374 (BUS_OBJERR): Likewise.
1375 (BUS_MCEERR_AR): Likewise.
1376 (BUS_MCEERR_AO): Likewise.
1377 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1378 (TRAP_TRACE): Likewise.
1379 (TRAP_BRANCH): Likewise.
1380 (TRAP_HWBKPT): Likewise.
1381 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1382 __USE_XOPEN2K8].
1383 (CLD_KILLED): Likewise.
1384 (CLD_DUMPED): Likewise.
1385 (CLD_TRAPPED): Likewise.
1386 (CLD_STOPPED): Likewise.
1387 (CLD_CONTINUED): Likewise.
1388 (POLL_IN): Likewise.
1389 (POLL_OUT): Likewise.
1390 (POLL_MSG): Likewise.
1391 (POLL_ERR): Likewise.
1392 (POLL_PRI): Likewise.
1393 (POLL_HUP): Likewise.
1394 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1395 (ILL_ILLOPN): Likewise.
1396 (ILL_ILLADR): Likewise.
1397 (ILL_ILLTRP): Likewise.
1398 (ILL_PRVOPC): Likewise.
1399 (ILL_PRVREG): Likewise.
1400 (ILL_COPROC): Likewise.
1401 (ILL_BADSTK): Likewise.
1402 (FPE_INTDIV): Likewise.
1403 (FPE_INTOVF): Likewise.
1404 (FPE_FLTDIV): Likewise.
1405 (FPE_FLTOVF): Likewise.
1406 (FPE_FLTUND): Likewise.
1407 (FPE_FLTRES): Likewise.
1408 (FPE_FLTINV): Likewise.
1409 (FPE_FLTSUB): Likewise.
1410 (SEGV_MAPERR): Likewise.
1411 (SEGV_ACCERR): Likewise.
1412 (BUS_ADRALN): Likewise.
1413 (BUS_ADRERR): Likewise.
1414 (BUS_OBJERR): Likewise.
1415 (BUS_MCEERR_AR): Likewise.
1416 (BUS_MCEERR_AO): Likewise.
1417 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1418 (TRAP_TRACE): Likewise.
1419 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1420 __USE_XOPEN2K8].
1421 (CLD_KILLED): Likewise.
1422 (CLD_DUMPED): Likewise.
1423 (CLD_TRAPPED): Likewise.
1424 (CLD_STOPPED): Likewise.
1425 (CLD_CONTINUED): Likewise.
1426 (POLL_IN): Likewise.
1427 (POLL_OUT): Likewise.
1428 (POLL_MSG): Likewise.
1429 (POLL_ERR): Likewise.
1430 (POLL_PRI): Likewise.
1431 (POLL_HUP): Likewise.
1432 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1433 (ILL_ILLOPN): Likewise.
1434 (ILL_ILLADR): Likewise.
1435 (ILL_ILLTRP): Likewise.
1436 (ILL_PRVOPC): Likewise.
1437 (ILL_PRVREG): Likewise.
1438 (ILL_COPROC): Likewise.
1439 (ILL_BADSTK): Likewise.
1440 (FPE_INTDIV): Likewise.
1441 (FPE_INTOVF): Likewise.
1442 (FPE_FLTDIV): Likewise.
1443 (FPE_FLTOVF): Likewise.
1444 (FPE_FLTUND): Likewise.
1445 (FPE_FLTRES): Likewise.
1446 (FPE_FLTINV): Likewise.
1447 (FPE_FLTSUB): Likewise.
1448 (SEGV_MAPERR): Likewise.
1449 (SEGV_ACCERR): Likewise.
1450 (BUS_ADRALN): Likewise.
1451 (BUS_ADRERR): Likewise.
1452 (BUS_OBJERR): Likewise.
1453 (BUS_MCEERR_AR): Likewise.
1454 (BUS_MCEERR_AO): Likewise.
1455 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1456 (TRAP_TRACE): Likewise.
1457 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1458 __USE_XOPEN2K8].
1459 (CLD_KILLED): Likewise.
1460 (CLD_DUMPED): Likewise.
1461 (CLD_TRAPPED): Likewise.
1462 (CLD_STOPPED): Likewise.
1463 (CLD_CONTINUED): Likewise.
1464 (POLL_IN): Likewise.
1465 (POLL_OUT): Likewise.
1466 (POLL_MSG): Likewise.
1467 (POLL_ERR): Likewise.
1468 (POLL_PRI): Likewise.
1469 (POLL_HUP): Likewise.
1470 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1471 (ILL_ILLOPN): Likewise.
1472 (ILL_ILLADR): Likewise.
1473 (ILL_ILLTRP): Likewise.
1474 (ILL_PRVOPC): Likewise.
1475 (ILL_PRVREG): Likewise.
1476 (ILL_COPROC): Likewise.
1477 (ILL_BADSTK): Likewise.
1478 (FPE_INTDIV): Likewise.
1479 (FPE_INTOVF): Likewise.
1480 (FPE_FLTDIV): Likewise.
1481 (FPE_FLTOVF): Likewise.
1482 (FPE_FLTUND): Likewise.
1483 (FPE_FLTRES): Likewise.
1484 (FPE_FLTINV): Likewise.
1485 (FPE_FLTSUB): Likewise.
1486 (SEGV_MAPERR): Likewise.
1487 (SEGV_ACCERR): Likewise.
1488 (BUS_ADRALN): Likewise.
1489 (BUS_ADRERR): Likewise.
1490 (BUS_OBJERR): Likewise.
1491 (BUS_MCEERR_AR): Likewise.
1492 (BUS_MCEERR_AO): Likewise.
1493 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1494 (TRAP_TRACE): Likewise.
1495 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1496 __USE_XOPEN2K8].
1497 (CLD_KILLED): Likewise.
1498 (CLD_DUMPED): Likewise.
1499 (CLD_TRAPPED): Likewise.
1500 (CLD_STOPPED): Likewise.
1501 (CLD_CONTINUED): Likewise.
1502 (POLL_IN): Likewise.
1503 (POLL_OUT): Likewise.
1504 (POLL_MSG): Likewise.
1505 (POLL_ERR): Likewise.
1506 (POLL_PRI): Likewise.
1507 (POLL_HUP): Likewise.
1508 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1509 (ILL_ILLOPN): Likewise.
1510 (ILL_ILLADR): Likewise.
1511 (ILL_ILLTRP): Likewise.
1512 (ILL_PRVOPC): Likewise.
1513 (ILL_PRVREG): Likewise.
1514 (ILL_COPROC): Likewise.
1515 (ILL_BADSTK): Likewise.
1516 (ILL_DBLFLT): Likewise.
1517 (ILL_HARDWALL): Likewise.
1518 (FPE_INTDIV): Likewise.
1519 (FPE_INTOVF): Likewise.
1520 (FPE_FLTDIV): Likewise.
1521 (FPE_FLTOVF): Likewise.
1522 (FPE_FLTUND): Likewise.
1523 (FPE_FLTRES): Likewise.
1524 (FPE_FLTINV): Likewise.
1525 (FPE_FLTSUB): Likewise.
1526 (SEGV_MAPERR): Likewise.
1527 (SEGV_ACCERR): Likewise.
1528 (BUS_ADRALN): Likewise.
1529 (BUS_ADRERR): Likewise.
1530 (BUS_OBJERR): Likewise.
1531 (BUS_MCEERR_AR): Likewise.
1532 (BUS_MCEERR_AO): Likewise.
1533 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1534 (TRAP_TRACE): Likewise.
1535 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1536 __USE_XOPEN2K8].
1537 (CLD_KILLED): Likewise.
1538 (CLD_DUMPED): Likewise.
1539 (CLD_TRAPPED): Likewise.
1540 (CLD_STOPPED): Likewise.
1541 (CLD_CONTINUED): Likewise.
1542 (POLL_IN): Likewise.
1543 (POLL_OUT): Likewise.
1544 (POLL_MSG): Likewise.
1545 (POLL_ERR): Likewise.
1546 (POLL_PRI): Likewise.
1547 (POLL_HUP): Likewise.
1548 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1549 (ILL_ILLOPN): Likewise.
1550 (ILL_ILLADR): Likewise.
1551 (ILL_ILLTRP): Likewise.
1552 (ILL_PRVOPC): Likewise.
1553 (ILL_PRVREG): Likewise.
1554 (ILL_COPROC): Likewise.
1555 (ILL_BADSTK): Likewise.
1556 (FPE_INTDIV): Likewise.
1557 (FPE_INTOVF): Likewise.
1558 (FPE_FLTDIV): Likewise.
1559 (FPE_FLTOVF): Likewise.
1560 (FPE_FLTUND): Likewise.
1561 (FPE_FLTRES): Likewise.
1562 (FPE_FLTINV): Likewise.
1563 (FPE_FLTSUB): Likewise.
1564 (SEGV_MAPERR): Likewise.
1565 (SEGV_ACCERR): Likewise.
1566 (BUS_ADRALN): Likewise.
1567 (BUS_ADRERR): Likewise.
1568 (BUS_OBJERR): Likewise.
1569 (BUS_MCEERR_AR): Likewise.
1570 (BUS_MCEERR_AO): Likewise.
1571 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1572 (TRAP_TRACE): Likewise.
1573 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1574 __USE_XOPEN2K8].
1575 (CLD_KILLED): Likewise.
1576 (CLD_DUMPED): Likewise.
1577 (CLD_TRAPPED): Likewise.
1578 (CLD_STOPPED): Likewise.
1579 (CLD_CONTINUED): Likewise.
1580 (POLL_IN): Likewise.
1581 (POLL_OUT): Likewise.
1582 (POLL_MSG): Likewise.
1583 (POLL_ERR): Likewise.
1584 (POLL_PRI): Likewise.
1585 (POLL_HUP): Likewise.
1586 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1587 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1588
bc61d27c
JM
1589 [BZ #16670]
1590 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1591 before #include of <time.h>.
1592 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1593 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1594 (test-xfail-UNIX98/sched.h/conform): Likewise.
1595
302949e2
MS
15962014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1597
1598 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1599 error absence of trapping exception support.
1600 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1601
a00f522a
JM
16022014-03-07 Joseph Myers <joseph@codesourcery.com>
1603
6f99f280
JM
1604 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1605 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1606 * timezone/Makefile (testdata): Move definition above include of
1607 Rules.
1608 (test-zones): New variable.
1609 (tests-special): Add zone files.
1610 (build-testdata): Use $(evaluate-test).
1611
0b20a9e8
JM
1612 * elf/Makefile (tests-special): Rename tests to end with .out.
1613 ($(objpfx)noload-mem): Likewise.
1614 ($(objpfx)tst-leaks1-mem): Likewise.
1615 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1616 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1617 $(objpfx)test-iconvconfig.out.
1618 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1619 set -e inside subshell and redirect output to file.
1620 * iconvdata/Makefile (generated): Rename tests to end with .out.
1621 Correct type.
1622 (tests-special): Rename tests to end with .out.
1623 ($(objpfx)mtrace-tst-loading): Likewise.
1624 * intl/Makefile (generated): Likewise.
1625 (tests-special): Likewise.
1626 ($(objpfx)mtrace-tst-gettext): Likewise.
1627 * misc/Makefile (generated): Likewise.
1628 (tests-special): Likewise.
1629 ($(objpfx)tst-error1-mem): Likewise.
1630 * nptl/Makefile (tests-special): Likewise.
1631 ($(objpfx)tst-stack3-mem): Likewise.
1632 (generated): Likewise.
1633 * posix/Makefile (generated): Likewise.
1634 (tests-special): Likewise.
1635 (xtests-special): Likewise.
1636 ($(objpfx)tst-fnmatch-mem): Likewise.
1637 ($(objpfx)bug-regex2-mem): Likewise.
1638 ($(objpfx)bug-regex14-mem): Likewise.
1639 ($(objpfx)bug-regex21-mem): Likewise.
1640 ($(objpfx)bug-regex31-mem): Likewise.
1641 ($(objpfx)tst-vfork3-mem): Likewise.
1642 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1643 ($(objpfx)tst-pcre-mem): Likewise.
1644 ($(objpfx)tst-boost-mem): Likewise.
1645 ($(objpfx)bug-ga2-mem): Likewise.
1646 ($(objpfx)bug-glob2-mem): Likewise.
1647 * resolv/Makefile (generate): Likewise.
1648 (tests-special): Likewise.
1649 (xtests-special): Likewise.
1650 (generated): Likewise.
1651 ($(objpfx)mtrace-tst-leaks): Likewise.
1652 ($(objpfx)mtrace-tst-leaks2): Likewise.
1653
265d52ab
JM
1654 * scripts/merge-test-results.sh: New file.
1655 * Makefile (tests-special-notdir): New variable.
1656 (tests): Run merge-test-results.sh.
1657 (xtests): Likewise.
1658 * Rules (tests-special-notdir): New variable.
1659 (xtests-special-notdir): Likewise.
1660 (tests): Run merge-test-results.sh
1661 (xtests): Likewise.
1662
54ee292d
JM
1663 * Makeconfig (test-xfail-name): New variable.
1664 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1665 compute variable name for expected failures.
1666 * conform/Makefile (conformtest-headers-data): New variable.
1667 (conformtest-standards): Likewise.
1668 (conformtest-headers-ISO): Likewise.
1669 (conformtest-headers-ISO99): Likewise.
1670 (conformtest-headers-ISO11): Likewise.
1671 (conformtest-headers-POSIX): Likewise.
1672 (conformtest-headers-XPG3): Likewise.
1673 (conformtest-headers-XPG4): Likewise.
1674 (conformtest-headers-UNIX98): Likewise.
1675 (conformtest-headers-XOPEN2K): Likewise.
1676 (conformtest-headers-POSIX2008): Likewise.
1677 (conformtest-headers-XOPEN2K8): Likewise.
1678 (conformtest-header-list-base): Likewise.
1679 (conformtest-header-list-tests): Likewise.
1680 (conformtest-header-base): Likewise.
1681 (conformtest-header-tests): Likewise.
1682 (tests-special): Add $(conformtest-header-list-tests). If
1683 [$(fast-check) && !$(cross-compiling)], add
1684 $(conformtest-header-tests) instead of
1685 $(objpfx)run-conformtest.out.
1686 (generated): Add $(conformtest-header-list-base). If
1687 [$(fast-check) && !$(cross-compiling)], add
1688 $(conformtest-header-base). Remove previous setting.
1689 ($(conformtest-header-list-tests)): New target.
1690 (test-xfail-run-conformtest): Remove variable.
1691 ($(objpfx)run-conformtest.out): Remove target.
1692 (test-xfail-ISO11/complex.h/conform): New variable.
1693 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1694 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1695 (test-xfail-XPG3/varargs.h/conform): Likewise.
1696 (test-xfail-XPG4/varargs.h/conform): Likewise.
1697 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1698 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1699 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1700 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1701 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1702 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1703 (test-xfail-XPG3/ftw.h/conform): Likewise.
1704 (test-xfail-XPG3/grp.h/conform): Likewise.
1705 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1706 (test-xfail-XPG3/limits.h/conform): Likewise.
1707 (test-xfail-XPG3/pwd.h/conform): Likewise.
1708 (test-xfail-XPG3/search.h/conform): Likewise.
1709 (test-xfail-XPG3/signal.h/conform): Likewise.
1710 (test-xfail-XPG3/stdio.h/conform): Likewise.
1711 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1712 (test-xfail-XPG3/string.h/conform): Likewise.
1713 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1714 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1715 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1716 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1717 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1718 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1719 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1720 (test-xfail-XPG3/termios.h/conform): Likewise.
1721 (test-xfail-XPG3/time.h/conform): Likewise.
1722 (test-xfail-XPG3/unistd.h/conform): Likewise.
1723 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1724 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1725 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1726 (test-xfail-XPG4/netdb.h/conform): Likewise.
1727 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1728 (test-xfail-XPG4/signal.h/conform): Likewise.
1729 (test-xfail-XPG4/stdio.h/conform): Likewise.
1730 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1731 (test-xfail-XPG4/stropts.h/conform): Likewise.
1732 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1733 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1734 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1735 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1736 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1737 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1738 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1739 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1740 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1741 (test-xfail-XPG4/termios.h/conform): Likewise.
1742 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1743 (test-xfail-XPG4/unistd.h/conform): Likewise.
1744 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1745 (test-xfail-POSIX/sched.h/conform): Likewise.
1746 (test-xfail-POSIX/signal.h/conform): Likewise.
1747 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1748 (test-xfail-POSIX/tar.h/conform): Likewise.
1749 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1750 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1751 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1752 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1753 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1754 (test-xfail-UNIX98/sched.h/conform): Likewise.
1755 (test-xfail-UNIX98/signal.h/conform): Likewise.
1756 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1757 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1758 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1759 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1760 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1761 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1762 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1763 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1764 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1765 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1766 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1767 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1768 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1769 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1770 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1771 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1772 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1773 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1774 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1775 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1776 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1777 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1778 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1779 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1780 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1781 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1782 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1783 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1784 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1785 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1786 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1787 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1788 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1789 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1790 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1791 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1792 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1793 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1794 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1795 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1796 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1797 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1798 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1799 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1800 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1801 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1802 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1803 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1804 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1805 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1806 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1807 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1808 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1809 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1810 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1811 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1812 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1813 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1814 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1815 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1816 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1817 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1818 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1819 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1820 (conformtest-cc-flags): Likewise.
1821 ($(conformtest-header-tests): New target.
1822 * conform/check-header-lists.sh: New file.
1823 * conform/run-conformtest.sh: Remove.
1824
a00f522a
JM
1825 * conform/conformtest.pl: Allow ' and \ in values given for
1826 constants.
1827 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1828 inclusion.
1829 [POSIX] (sys/types.h): Likewise.
1830 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1831 inclusion.
1832 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1833 inclusion.
1834 * conform/data/signal.h-data (SIGIO): Remove expectation.
1835 [XPG3] (SIGBUS): Do not expect.
1836 [POSIX || XPG3] (SIGPOLL): Likewise.
1837 [POSIX || XPG3] (SIGPROF): Likewise.
1838 [POSIX || XPG3] (SIGSYS): Likewise.
1839 [XPG3] (SIGTRAP): Likewise.
1840 [POSIX || XPG3] (SIGURG): Likewise.
1841 [POSIX || XPG3] (SIGVTALRM): Likewise.
1842 [POSIX || XPG3] (SIGXCPU): Likewise.
1843 [POSIX || XPG3] (SIGXFSZ): Likewise.
1844 [POSIX] (SA_SIGINFO): Expect.
1845 [XPG3] (siginfo_t): Do not expect type or contents.
1846 [POSIX] (si_pid): Do not expect element.
1847 [POSIX] (si_uid): Likewise.
1848 [POSIX] (si_addr): Likewise.
1849 [POSIX] (si_status): Likewise.
1850 [POSIX] (si_band): Likewise.
1851 [XPG4] (si_value): Likewise.
1852 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1853 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1854 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1855 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1856 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1857 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1858 [POSIX || XPG3] (ILL_COPROC): Likewise.
1859 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1860 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1861 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1862 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1863 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1864 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1865 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1866 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1867 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1868 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1869 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1870 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1871 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1872 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1873 [POSIX || XPG3] (CLD_EXITED): Likewise.
1874 [POSIX || XPG3] (CLD_KILLED): Likewise.
1875 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1876 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1877 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1878 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1879 [POSIX || XPG3] (POLL_IN): Likewise.
1880 [POSIX || XPG3] (POLL_OUT): Likewise.
1881 [POSIX || XPG3] (POLL_MSG): Likewise.
1882 [POSIX || XPG3] (POLL_ERR): Likewise.
1883 [POSIX || XPG3] (POLL_PRI): Likewise.
1884 [POSIX || XPG3] (POLL_HUP): Likewise.
1885 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1886 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1887 (SIG*): Do not allow.
1888 [XPG3] (si_*): Likewise.
1889 [XPG3] (SI_*): Likewise.
1890 [XPG3 || XPG4] (sigev_*): Likewise.
1891 [XPG3 || XPG4] (SIGEV_*): Likewise.
1892 [XPG3 || XPG4] (sival_*): Likewise.
1893 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1894 [POSIX || XPG3] (BUS_*): Likewise.
1895 [POSIX || XPG3] (CLD_*): Likewise.
1896 [POSIX || XPG3] (FPE_*): Likewise.
1897 [POSIX || XPG3] (ILL_*): Likewise.
1898 [POSIX || XPG3] (POLL_*): Likewise.
1899 [POSIX || XPG3] (SEGV_*): Likewise.
1900 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1901 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1902 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1903 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1904 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1905 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1906 Specify type and value.
1907 (TVERSLEN): Likewise.
1908 (REGTYPE): Likewise.
1909 (AREGTYPE): Likewise.
1910 (LNKTYPE): Likewise.
1911 (SYMTYPE): Likewise.
1912 (CHRTYPE): Likewise.
1913 (BLKTYPE): Likewise.
1914 (DIRTYPE): Likewise.
1915 (FIFOTYPE): Likewise.
1916 (CONTTYPE): Likewise.
1917 (TSUID): Likewise.
1918 (TSGID): Likewise.
1919 (TSVTX): Likewise.
1920 (TUREAD): Likewise.
1921 (TUWRITE): Likewise.
1922 (TUEXEC): Likewise.
1923 (TGREAD): Likewise.
1924 (TGWRITE): Likewise.
1925 (TGEXEC): Likewise.
1926 (TOREAD): Likewise.
1927 (TOWRITE): Likewise.
1928 (TOEXEC): Likewise.
1929 [POSIX] (TSVTX): Expect constant.
1930
aa97dee1
JM
19312014-03-06 Joseph Myers <joseph@codesourcery.com>
1932
f214606a
JM
1933 * Makefile (tests): Change dependencies to ....
1934 (tests-special): ... additions to this variable.
1935 (tests): Depend on $(tests-special).
1936 * Makerules (check-abi-list): New variable.
1937 (check-abi): Depend on $(check-abi-list).
1938 [$(subdir) = elf] (tests-special): Add
1939 $(objpfx)check-abi-libc.out.
1940 [$(build-shared) = yes && subdir] (tests-special): Add
1941 $(check-abi-list).
1942 [$(build-shared) = yes && subdir] (tests): Do not depend on
1943 check-abi.
1944 * Rules (tests): Depend on $(tests-special).
1945 (xtests): Depend on $(xtests-special).
1946 * catgets/Makefile (tests): Change dependencies to ....
1947 (tests-special): ... additions to this variable.
1948 * conform/Makefile (tests): Change dependencies to ....
1949 (tests-special): ... additions to this variable.
1950 * elf/Makefile (tests): Change dependencies to ....
1951 (tests-special): ... additions to this variable.
1952 * grp/Makefile (tests): Change dependencies to ....
1953 (tests-special): ... additions to this variable.
1954 * iconv/Makefile (xtests): Change dependencies to ....
1955 (xtests-special): ... additions to this variable.
1956 * iconvdata/Makefile (tests): Change dependencies to ....
1957 (tests-special): ... additions to this variable.
1958 * intl/Makefile (tests): Change dependencies to ....
1959 (tests-special): ... additions to this variable. Also add
1960 $(objpfx)tst-gettext.out.
1961 * io/Makefile (tests): Change dependencies to ....
1962 (tests-special): ... additions to this variable.
1963 * libio/Makefile (tests): Change dependencies to ....
1964 (tests-special): ... additions to this variable.
1965 * malloc/Makefile (tests): Change dependencies to ....
1966 (tests-special): ... additions to this variable.
1967 * misc/Makefile (tests): Change dependencies to ....
1968 (tests-special): ... additions to this variable.
1969 * nptl/Makefile (tests): Change dependencies to ....
1970 (tests-special): ... additions to this variable.
1971 * nptl_db/Makefile (tests): Change dependencies to ....
1972 (tests-special): ... additions to this variable.
1973 * posix/Makefile (tests): Change dependencies to ....
1974 (tests-special): ... additions to this variable.
1975 (xtests): Change dependencies to ....
1976 (xtests-special): ... additions to this variable.
1977 * resolv/Makefile (tests): Change dependencies to ....
1978 (tests-special): ... additions to this variable.
1979 (xtests): Change dependencies to ....
1980 (xtests-special): ... additions to this variable.
1981 * stdio-common/Makefile (tests): Change dependencies to ....
1982 (tests-special): ... additions to this variable.
1983 (do-tst-unbputc): Remove target.
1984 (do-tst-printf): Likewise.
1985 * stdlib/Makefile (tests): Change dependencies to ....
1986 (tests-special): ... additions to this variable.
1987 * string/Makefile (tests): Change dependencies to ....
1988 (tests-special): ... additions to this variable.
1989 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1990 (tests-special): ... additions to this variable.
1991
81700b53
JM
1992 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1993 whole file.
1994 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1995 whole file.
1996 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1997 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1998
2ea18461
JM
1999 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2000 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2001 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2002 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2003 * conform/data/libgen.h-data [XPG3]: Likewise.
2004 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2005 * conform/data/ndbm.h-data [XPG3]: Likewise.
2006 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2007 * conform/data/netdb.h-data [XPG3]: Likewise.
2008 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2009 * conform/data/poll.h-data [XPG3]: Likewise.
2010 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2011 * conform/data/strings.h-data [XPG3]: Likewise.
2012 * conform/data/stropts.h-data [XPG3]: Likewise.
2013 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2014 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2015 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2016 Likewise.
2017 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2018 * conform/data/sys/time.h-data [XPG3]: Likewise.
2019 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2020 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2021 * conform/data/sys/un.h-data [XPG3]: Likewise.
2022 * conform/data/syslog.h-data [XPG3]: Likewise.
2023 * conform/data/ucontext.h-data [XPG3]: Likewise.
2024 * conform/data/utmpx.h-data [XPG3]: Likewise.
2025 * conform/data/varargs.h-data [UNIX98]: Enable file.
2026
355bc986
JM
2027 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2028
215db402
JM
2029 * math/libm-test.inc (struct test_f_f_data): Move expected results
2030 into structure for each rounding mode.
2031 (struct test_ff_f_data): Likewise.
2032 (struct test_ff_f_data_nexttoward): Likewise.
2033 (struct test_fi_f_data): Likewise.
2034 (struct test_fl_f_data): Likewise.
2035 (struct test_if_f_data): Likewise.
2036 (struct test_fff_f_data): Likewise.
2037 (struct test_c_f_data): Likewise.
2038 (struct test_f_f1_data): Likewise.
2039 (struct test_fF_f1_data): Likewise.
2040 (struct test_ffI_f1_data): Likewise.
2041 (struct test_c_c_data): Likewise.
2042 (struct test_cc_c_data): Likewise.
2043 (struct test_f_i_data): Likewise.
2044 (struct test_ff_i_data): Likewise.
2045 (struct test_f_l_data): Likewise.
2046 (struct test_f_L_data): Likewise.
2047 (struct test_fFF_11_data): Likewise.
2048 (RM_): New macro.
2049 (RM_FE_DOWNWARD): Likewise.
2050 (RM_FE_TONEAREST): Likewise.
2051 (RM_FE_TOWARDZERO): Likewise.
2052 (RM_FE_UPWARD): Likewise.
2053 (RUN_TEST_LOOP_f_f): Update references to expected results.
2054 (RUN_TEST_LOOP_2_f): Likewise.
2055 (RUN_TEST_LOOP_fff_f): Likewise.
2056 (RUN_TEST_LOOP_c_f): Likewise.
2057 (RUN_TEST_LOOP_f_f1): Likewise.
2058 (RUN_TEST_LOOP_fF_f1): Likewise.
2059 (RUN_TEST_LOOP_fI_f1): Likewise.
2060 (RUN_TEST_LOOP_ffI_f1): Likewise.
2061 (RUN_TEST_LOOP_c_c): Likewise.
2062 (RUN_TEST_LOOP_cc_c): Likewise.
2063 (RUN_TEST_LOOP_f_i): Likewise.
2064 (RUN_TEST_LOOP_f_i_tg): Likewise.
2065 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2066 (RUN_TEST_LOOP_f_b): Likewise.
2067 (RUN_TEST_LOOP_f_b_tg): Likewise.
2068 (RUN_TEST_LOOP_f_l): Likewise.
2069 (RUN_TEST_LOOP_f_L): Likewise.
2070 (RUN_TEST_LOOP_fFF_11): Likewise.
2071 * math/gen-libm-test.pl (parse_args): Output four copies of
2072 expected results for each test.
2073
67737b8f
JM
2074 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2075 (__ASSUME_UTIMES): Remove.
2076 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2077 (__ASSUME_UTIMES): Likewise.
2078
aa97dee1
JM
2079 * math/gen-auto-libm-tests.c: Update comment on output format.
2080 (output_for_one_input_case): Generate before-rounding and
2081 after-rounding information as conditions on output flags not
2082 floating-point format.
2083 * math/auto-libm-test-out: Regenerated.
2084 * math/gen-libm-test.pl (cond_value): New function.
2085 (or_cond_value): Use cond_value.
2086 (generate_testfile): Handle conditional exceptions.
2087
e6b6a857
JM
20882014-03-05 Joseph Myers <joseph@codesourcery.com>
2089
2f0a0f44
JM
2090 * math/libm-test.inc (max_valid_error): New variable.
2091 (init_max_error): Take new argument specifying whether function
2092 results are exactly determined. Set max_valid_error and bound
2093 other variables for errors based on this argument.
2094 (set_max_error): Do not record results above max_valid_error.
2095 (check_float_internal): Only accept errors of up to 0.5ulps if
2096 also at most max_valid_error.
2097 (START): Take new argument EXACT and pass it to init_max_error.
2098 (acos_test): Update call to START.
2099 (acos_test_tonearest): Likewise.
2100 (acos_test_towardzero): Likewise.
2101 (acos_test_downward): Likewise.
2102 (acos_test_upward): Likewise.
2103 (acosh_test): Likewise.
2104 (asin_test): Likewise.
2105 (asin_test_tonearest): Likewise.
2106 (asin_test_towardzero): Likewise.
2107 (asin_test_downward): Likewise.
2108 (asin_test_upward): Likewise.
2109 (asinh_test): Likewise.
2110 (atan_test): Likewise.
2111 (atanh_test): Likewise.
2112 (atan2_test): Likewise.
2113 (cabs_test): Likewise.
2114 (cacos_test): Likewise.
2115 (cacosh_test): Likewise.
2116 (carg_test): Likewise.
2117 (casin_test): Likewise.
2118 (casinh_test): Likewise.
2119 (catan_test): Likewise.
2120 (catanh_test): Likewise.
2121 (cbrt_test): Likewise.
2122 (ccos_test): Likewise.
2123 (ccosh_test): Likewise.
2124 (ceil_test): Likewise.
2125 (cexp_test): Likewise.
2126 (cimag_test): Likewise.
2127 (clog_test): Likewise.
2128 (clog10_test): Likewise.
2129 (conj_test): Likewise.
2130 (copysign_test): Likewise.
2131 (cos_test): Likewise.
2132 (cos_test_tonearest): Likewise.
2133 (cos_test_towardzero): Likewise.
2134 (cos_test_downward): Likewise.
2135 (cos_test_upward): Likewise.
2136 (cosh_test): Likewise.
2137 (cosh_test_tonearest): Likewise.
2138 (cosh_test_towardzero): Likewise.
2139 (cosh_test_downward): Likewise.
2140 (cosh_test_upward): Likewise.
2141 (cpow_test): Likewise.
2142 (cproj_test): Likewise.
2143 (creal_test): Likewise.
2144 (csin_test): Likewise.
2145 (csinh_test): Likewise.
2146 (csqrt_test): Likewise.
2147 (ctan_test): Likewise.
2148 (ctan_test_tonearest): Likewise.
2149 (ctan_test_towardzero): Likewise.
2150 (ctan_test_downward): Likewise.
2151 (ctan_test_upward): Likewise.
2152 (ctanh_test): Likewise.
2153 (ctanh_test_tonearest): Likewise.
2154 (ctanh_test_towardzero): Likewise.
2155 (ctanh_test_downward): Likewise.
2156 (ctanh_test_upward): Likewise.
2157 (erf_test): Likewise.
2158 (erfc_test): Likewise.
2159 (exp_test): Likewise.
2160 (exp_test_tonearest): Likewise.
2161 (exp_test_towardzero): Likewise.
2162 (exp_test_downward): Likewise.
2163 (exp_test_upward): Likewise.
2164 (exp10_test): Likewise.
2165 (exp10_test_tonearest): Likewise.
2166 (exp10_test_towardzero): Likewise.
2167 (exp10_test_downward): Likewise.
2168 (exp10_test_upward): Likewise.
2169 (pow10_test): Likewise.
2170 (exp2_test): Likewise.
2171 (expm1_test): Likewise.
2172 (expm1_test_tonearest): Likewise.
2173 (expm1_test_towardzero): Likewise.
2174 (expm1_test_downward): Likewise.
2175 (expm1_test_upward): Likewise.
2176 (fabs_test): Likewise.
2177 (fdim_test): Likewise.
2178 (floor_test): Likewise.
2179 (fma_test): Likewise.
2180 (fma_test_towardzero): Likewise.
2181 (fma_test_downward): Likewise.
2182 (fma_test_upward): Likewise.
2183 (fmax_test): Likewise.
2184 (fmin_test): Likewise.
2185 (fmod_test): Likewise.
2186 (fpclassify_test): Likewise.
2187 (frexp_test): Likewise.
2188 (hypot_test): Likewise.
2189 (ilogb_test): Likewise.
2190 (isfinite_test): Likewise.
2191 (finite_test): Likewise.
2192 (isgreater_test): Likewise.
2193 (isgreaterequal_test): Likewise.
2194 (isinf_test): Likewise.
2195 (isless_test): Likewise.
2196 (islessequal_test): Likewise.
2197 (islessgreater_test): Likewise.
2198 (isnan_test): Likewise.
2199 (isnormal_test): Likewise.
2200 (issignaling_test): Likewise.
2201 (isunordered_test): Likewise.
2202 (j0_test): Likewise.
2203 (j1_test): Likewise.
2204 (jn_test): Likewise.
2205 (ldexp_test): Likewise.
2206 (lgamma_test): Likewise.
2207 (gamma_test): Likewise.
2208 (lrint_test): Likewise.
2209 (lrint_test_tonearest): Likewise.
2210 (lrint_test_towardzero): Likewise.
2211 (lrint_test_downward): Likewise.
2212 (lrint_test_upward): Likewise.
2213 (llrint_test): Likewise.
2214 (llrint_test_tonearest): Likewise.
2215 (llrint_test_towardzero): Likewise.
2216 (llrint_test_downward): Likewise.
2217 (llrint_test_upward): Likewise.
2218 (log_test): Likewise.
2219 (log10_test): Likewise.
2220 (log1p_test): Likewise.
2221 (log2_test): Likewise.
2222 (logb_test): Likewise.
2223 (logb_test_downward): Likewise.
2224 (lround_test): Likewise.
2225 (llround_test): Likewise.
2226 (modf_test): Likewise.
2227 (nearbyint_test): Likewise.
2228 (nextafter_test): Likewise.
2229 (nexttoward_test): Likewise.
2230 (pow_test): Likewise.
2231 (pow_test_tonearest): Likewise.
2232 (pow_test_towardzero): Likewise.
2233 (pow_test_downward): Likewise.
2234 (pow_test_upward): Likewise.
2235 (remainder_test): Likewise.
2236 (drem_test): Likewise.
2237 (remainder_test_tonearest): Likewise.
2238 (drem_test_tonearest): Likewise.
2239 (remainder_test_towardzero): Likewise.
2240 (drem_test_towardzero): Likewise.
2241 (remainder_test_downward): Likewise.
2242 (drem_test_downward): Likewise.
2243 (remainder_test_upward): Likewise.
2244 (drem_test_upward): Likewise.
2245 (remquo_test): Likewise.
2246 (rint_test): Likewise.
2247 (rint_test_tonearest): Likewise.
2248 (rint_test_towardzero): Likewise.
2249 (rint_test_downward): Likewise.
2250 (rint_test_upward): Likewise.
2251 (round_test): Likewise.
2252 (scalb_test): Likewise.
2253 (scalbn_test): Likewise.
2254 (scalbln_test): Likewise.
2255 (signbit_test): Likewise.
2256 (sin_test): Likewise.
2257 (sin_test_tonearest): Likewise.
2258 (sin_test_towardzero): Likewise.
2259 (sin_test_downward): Likewise.
2260 (sin_test_upward): Likewise.
2261 (sincos_test): Likewise.
2262 (sinh_test): Likewise.
2263 (sinh_test_tonearest): Likewise.
2264 (sinh_test_towardzero): Likewise.
2265 (sinh_test_downward): Likewise.
2266 (sinh_test_upward): Likewise.
2267 (sqrt_test): Likewise.
2268 (sqrt_test_tonearest): Likewise.
2269 (sqrt_test_towardzero): Likewise.
2270 (sqrt_test_downward): Likewise.
2271 (sqrt_test_upward): Likewise.
2272 (tan_test): Likewise.
2273 (tan_test_tonearest): Likewise.
2274 (tan_test_towardzero): Likewise.
2275 (tan_test_downward): Likewise.
2276 (tan_test_upward): Likewise.
2277 (tanh_test): Likewise.
2278 (tgamma_test): Likewise.
2279 (trunc_test): Likewise.
2280 (y0_test): Likewise.
2281 (y1_test): Likewise.
2282 (yn_test): Likewise.
2283 (significand_test): Likewise.
2284
e6b6a857
JM
2285 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2286 individual tests in comment.
2287 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2288 (prev_max_error): New variable.
2289 (prev_real_max_error): Likewise.
2290 (prev_imag_max_error): Likewise.
2291 (compare_ulp_data): Don't refer to test names in comment.
2292 (find_test_ulps): Remove function.
2293 (find_function_ulps): Likewise.
2294 (find_complex_function_ulps): Likewise.
2295 (init_max_error): Take function name as argument. Look up ulps
2296 for that function.
2297 (print_ulps): Remove function.
2298 (print_max_error): Use prev_max_error instead of calling
2299 find_function_ulps.
2300 (print_complex_max_error): Use prev_real_max_error and
2301 prev_imag_max_error instead of calling find_complex_function_ulps.
2302 (check_float_internal): Take max_ulp parameter instead of calling
2303 find_test_ulps. Don't call print_ulps.
2304 (check_float): Update call to check_float_internal.
2305 (check_complex): Update calls to check_float_internal.
2306 (START): Pass argument to init_max_error.
2307 * math/gen-libm-test.pl (%results): Don't include "kind"
2308 information.
2309 (parse_ulps): Don't handle ulps of individual tests.
2310 (print_ulps_file): Likewise.
2311 (output_ulps): Likewise.
2312 * math/README.libm-test: Update.
2313 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2314 individual tests.
2315 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2316 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2317 * sysdeps/arm/libm-test-ulps: Likewise.
2318 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2319 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2320 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2321 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2322 * sysdeps/microblaze/libm-test-ulps: Likewise.
2323 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2324 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2325 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2326 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2327 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2328 * sysdeps/sh/libm-test-ulps: Likewise.
2329 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2330 * sysdeps/tile/libm-test-ulps: Likewise.
2331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2332
45adef3c
JM
23332014-03-04 Joseph Myers <joseph@codesourcery.com>
2334
2335 * math/libm-test.inc (print_complex_max_error): Check separately
2336 whether real and imaginary errors are within allowed range and
2337 pass 0 to print_complex_function_ulps instead of value within
2338 allowed range.
2339
000232b9
SP
23402014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2341
d4b17258
SP
2342 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2343 formatting.
2344 (get_handles_fopen): Likewise.
2345 (do_write_test): Likewise.
2346
091eff71
SP
2347 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2348
fa3cd248
SP
2349 * libio/fileops.c (do_ftell): Use cached offset when
2350 available.
2351 * libio/iofwide.c (do_ftell_wide): Likewise.
2352 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2353 _IO_file_attach.
2354 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2355
000232b9
SP
2356 [BZ #16532]
2357 * libio/libioP.h (get_file_offset): New function.
2358 * libio/fileops.c (get_file_offset): Likewise.
2359 (do_ftell): Likewise.
2360 (_IO_new_file_seekoff): Split out ftell logic.
2361 * libio/wfileops.c (do_ftell_wide): Likewise.
2362 (_IO_wfile_seekoff): Split out ftell logic.
2363 * libio/tst-ftell-active-handler.c: New test case.
2364 * libio/Makefile (tests): Add it.
2365
116f4d1a
RM
23662014-03-03 Roland McGrath <roland@hack.frob.com>
2367
2368 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2369 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2370
532a6035
SP
23712014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2372
2373 [BZ #16639]
2374 * nscd/connections.c (nscd_init): Call do_exit.
2375 (start_threads): Call do_exit and notify_parent.
2376 (begin_drop_privileges): Call do_exit.
2377 (finish_drop_privileges): Likewise.
2378 * nscd/selinux.c (preserve_capabilities): Likewise.
2379 (install_real_capabilities): Likewise.
2380 (nscd_selinux_enabled): Likewise.
2381 (avc_create_thread): Likewise.
2382 (avc_alloc_lock): Likewise.
2383 (nscd_avc_init): Likewise.
2384 * nscd/nscd.c (parent_fd): New static variable.
2385 (main): Create a pipe between parent and child processes.
2386 Skip closing parent_fd.
2387 (monitor_child): New function.
2388 (do_exit): Likewise.
2389 (notify_parent): Likewise.
2390 * nscd/nscd.h (notify_parent): Likewise.
2391 (do_exit): Likewise.
2392
d6285c9f
CD
23932014-03-03 Carlos O'Donell <carlos@redhat.com>
2394
2395 * malloc/malloc.c (__libc_calloc): Revert last change.
2396
2b85d2a0
AZ
23972014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2398
2399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2400
c7debbdf
RS
24012014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2402
2403 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2405 implementation.
2406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2407 (__libc_ifunc_impl_list): Likewise.
2408 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2409 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2410 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2411 * string/strrchr.c: Define STRRCHR.
2412
235eed86
OB
24132014-02-28 Ondřej Bílka <neleai@seznam.cz>
2414
2415 * benchtest/bench-strtok.c (simple_strtok): Delete.
2416 (strtok_string): Use as benchmark.
2417 * string/strtok (STRTOK): New macro.
2418
8e25d1e7
CD
24192014-02-28 Carlos O'Donell <carlos@redhat.com>
2420
ef563f92
CD
2421 * manual/threads.texi: Add header and standard comments to all
2422 functions.
2423
8e25d1e7
CD
2424 * elf/dl-lookup.c (check_match): New function.
2425 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2426 (do_lookup_x): Remove nested function check_match. Use non-nested
2427 function check_match.
2428
ff71cc37
RM
24292014-02-28 Roland McGrath <roland@hack.frob.com>
2430
f08e9a26
RM
2431 * csu/Makefile (generated, before-compile): Use += rather than =.
2432 * catgets/Makefile (generated, generated-dirs): Likewise.
2433 * debug/Makefile (generated): Likewise.
2434 * dlfcn/Makefile (generated): Likewise.
2435 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2436 * iconvdata/Makefile (before-compile, generated): Likewise.
2437 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2438 * libio/Makefile (generated): Likewise.
2439 * malloc/Makefile (generated): Likewise.
2440 * manual/Makefile (generated, generated-dirs): Likewise.
2441 * misc/Makefile (generated): Likewise.
2442 * posix/Makefile (generated): Likewise.
2443 * resolv/Makefile (generated): Likewise.
2444 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2445 * timezone/Makefile (generated, generated-dirs): Likewise.
2446
ff71cc37
RM
2447 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2448
fe13a20c
AZ
24492014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2450
2451 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2452 implementation.
2453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2454 POWER8 llround ifunc implementation.
2455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2456 POWER8 implementation.
2457 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2458 POWER8 llround implementation.
2459
1ad8950a
AZ
24602014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2461
2462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2463 implementation.
2464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2465 POWER8 llrint ifunc implementation.
2466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2467 POWER8 implementation.
2468 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2469 POWER8 llrint implementation.
2470
cac626d6
AZ
24712014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2472
2473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2474 implementation.
2475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2476 POWER8 finite ifunc implementation.
2477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2478 POWER8 implementation.
2479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2480 Likewise.
2481 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2482 POWER8 finite implementation.
2483 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2484
4393fc11
AZ
24852014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2486
2487 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2488 implementation.
2489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2490 POWER8 isinf ifunc implementation.
2491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2492 POWER8 implementation.
2493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2494 Likewise.
2495 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2496 POWER8 isinf implementation.
2497 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2498
487972ae
AZ
24992014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2500
2501 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2502 Add hwcap2 initialization.
2503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2504 implementation.
2505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2506 POWER8 isnan ifunc implementation.
2507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2508 POWER8 implementation.
2509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2510 Likewise.
2511 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2512 POWER8 isnan implementation.
2513 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2514
7d92b787
JY
25152014-02-27 Joey Ye <joey.ye@arm.com>
2516
2517 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2518 (_FP_NANFRAC_Q): Set to zero.
2519
1cadc858
SP
25202014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2521
2522 [BZ #16623]
2523 * math/auto-libm-test-in: New test inputs.
2524 * math/auto-libm-test-out: Regenerate.
2525 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2526 and DA.
2527 (__cos): Likewise.
2528 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2529
f8c17e79
JM
25302014-02-27 Joseph Myers <joseph@codesourcery.com>
2531
2532 * scripts/evaluate-test.sh: Take new argument indicating whether
2533 failure is expected.
2534 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2535 indicating whether failure is expected.
2536 * conform/Makefile (test-xfail-run-conformtest): New variable.
2537 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2538 level.
2539 * posix/Makefile (test-xfail-annexc): New variable.
2540 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2541
a5f891ac
JM
25422014-02-26 Joseph Myers <joseph@codesourcery.com>
2543
2544 * argp/Makefile: Include Makeconfig immediately after defining
2545 subdir.
2546 * assert/Makefile: Likewise.
2547 * benchtests/Makefile: Likewise.
2548 * catgets/Makefile: Likewise.
2549 * conform/Makefile: Likewise.
2550 * crypt/Makefile: Likewise.
2551 * csu/Makefile: Likewise.
2552 (all): Remove target.
2553 * ctype/Makefile: Include Makeconfig immediately after defining
2554 subdir.
2555 * debug/Makefile: Likewise.
2556 * dirent/Makefile: Likewise.
2557 * dlfcn/Makefile: Likewise.
2558 * gmon/Makefile: Likewise.
2559 * gnulib/Makefile: Likewise.
2560 * grp/Makefile: Likewise.
2561 * gshadow/Makefile: Likewise.
2562 * hesiod/Makefile: Likewise.
2563 * hurd/Makefile: Likewise.
2564 (all): Remove target.
2565 * iconvdata/Makefile: Include Makeconfig immediately after
2566 defining subdir.
2567 * inet/Makefile: Likewise.
2568 * intl/Makefile: Likewise.
2569 * io/Makefile: Likewise.
2570 * libio/Makefile: Likewise.
2571 (all): Remove target.
2572 * locale/Makefile: Include Makeconfig immediately after defining
2573 subdir.
2574 * login/Makefile: Likewise.
2575 * mach/Makefile: Likewise.
2576 (all): Remove target.
2577 * malloc/Makefile: Include Makeconfig immediately after defining
2578 subdir.
2579 (all): Remove target.
2580 * manual/Makefile: Include Makeconfig immediately after defining
2581 subdir.
2582 * math/Makefile: Likewise.
2583 * misc/Makefile: Likewise.
2584 * nis/Makefile: Likewise.
2585 * nss/Makefile: Likewise.
2586 * po/Makefile: Likewise.
2587 (all): Remove target.
2588 * posix/Makefile: Include Makeconfig immediately after defining
2589 subdir.
2590 * pwd/Makefile: Likewise.
2591 * resolv/Makefile: Likewise.
2592 * resource/Makefile: Likewise.
2593 * rt/Makefile: Likewise.
2594 * setjmp/Makefile: Likewise.
2595 * shadow/Makefile: Likewise.
2596 * signal/Makefile: Likewise.
2597 * socket/Makefile: Likewise.
2598 * soft-fp/Makefile: Likewise.
2599 * stdio-common/Makefile: Likewise.
2600 * stdlib/Makefile: Likewise.
2601 * streams/Makefile: Likewise.
2602 * string/Makefile: Likewise.
2603 * sunrpc/Makefile: Likewise.
2604 (all): Remove target.
2605 * sysvipc/Makefile: Include Makeconfig immediately after defining
2606 subdir.
2607 * termios/Makefile: Likewise.
2608 * time/Makefile: Likewise.
2609 * timezone/Makefile: Likewise.
2610 (all): Remove target.
2611 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2612 subdir.
2613 * wctype/Makefile: Likewise.
2614
5b456e9d
SE
26152014-02-26 Steve Ellcey <sellcey@mips.com>
2616
2617 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2618 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2619 (libc_feholdexcept_setround_mips): Ditto.
2620 (libc_feholdsetround): New.
2621 (libc_feholdsetroundf): New.
2622 (libc_feholdsetroundl): New.
2623 (libc_feupdateenv_test_mips): New.
2624 (libc_feupdateenv_test): New.
2625 (libc_feupdateenv_testf): New.
2626 (libc_feupdateenv_testl): New.
2627 (libc_feresetround): New.
2628 (libc_feresetroundf): New.
2629 (libc_feresetroundl): New.
2630 (libc_fetestexcept_mips): New.
2631 (libc_fetestexcept): New.
2632 (libc_fetestexceptf): New.
2633 (libc_fetestexceptl): New.
2634 (HAVE_RM_CTX): New.
2635 (libc_feholdexcept_setround_mips_ctx): New.
2636 (libc_feholdexcept_setround_ctx): New.
2637 (libc_feholdexcept_setroundf_ctx): New.
2638 (libc_feholdexcept_setroundl_ctx): New.
2639 (libc_fesetenv_mips_ctx): New.
2640 (libc_fesetenv_ctx): New.
2641 (libc_fesetenv_ctxf): New.
2642 (libc_fesetenv_ctxl): New.
2643 (libc_feupdateenv_mips_ctx): New.
2644 (libc_feupdateenv_ctx): New.
2645 (libc_feupdateenvf_ctx): New.
2646 (libc_feupdateenvl_ctx): New.
2647 (libc_feholdsetround_mips_ctx): New.
2648 (libc_feholdsetround_ctx): New.
2649 (libc_feholdsetroundf_ctx): New.
2650 (libc_feholdsetroundl_ctx): New.
2651 (libc_feresetround_mips_ctx): New.
2652 (libc_feresetround_ctx): New.
2653 (libc_feresetroundf_ctx): New.
2654 (libc_feresetroundl_ctx): New.
2655
085d0e35
CD
26562014-02-26 Carlos O'Donell <carlos@redhat.com>
2657
f067bf1f
CD
2658 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2659
085d0e35
CD
2660 * manual/ipc.texi: New file.
2661 * manual/Makefile (chapters): Add ipc.
2662 * manual/job.texi: Add "Inter-Process Communication" to next.
2663 * manual/process.texi: Add "Inter-Process Communication" to prev.
2664
86e58c08
AZ
26652014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2666
2667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2668
4248f0da
OB
26692014-02-26 Ondřej Bílka <neleai@seznam.cz>
2670
2671 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2672
cf822e3c
OB
2673 * manual/arith.texi: Fix spaces after sentences.
2674 * manual/charset.texi: Likewise.
2675 * manual/errno.texi: Likewise.
2676 * manual/install.texi: Likewise.
2677 * manual/llio.texi: Likewise.
2678 * manual/locale.texi: Likewise.
2679 * manual/maint.texi: Likewise.
2680 * manual/math.texi: Likewise.
2681 * manual/memory.texi: Likewise.
2682 * manual/message.texi: Likewise.
2683 * manual/probes.texi: Likewise.
2684 * manual/resource.texi: Likewise.
2685 * manual/signal.texi: Likewise.
2686 * manual/socket.texi: Likewise.
2687 * manual/stdio.texi: Likewise.
2688 * manual/string.texi: Likewise.
2689 * manual/time.texi: Likewise.
2690 * manual/users.texi: Likewise.
2691
ade40b10
CD
26922014-02-25 Carlos O'Donell <carlos@redhat.com>
2693
2694 [BZ #16632]
2695 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2696 _DEFAULT_SOURCE is defined.
2697
d0503676
CD
26982014-02-25 Ulrich Drepper <drepper@gmail.com>
2699 Carlos O'Donell <carlos@redhat.com>
2700
2701 [BZ #16613]
2702 * elf/dl-tls.c (_dl_count_modids): New function.
2703 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2704 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2705 audit library and increment generation counter.
2706 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2707 * elf/tst-audit9.c: New file.
2708 * elf/tst-auditmod9a.c: New file.
2709 * elf/tst-auditmod9b.c: New file.
2710 * elf/Makefile: Add rules to build and run tst-audit9.
2711
4cbf380c
FW
27122014-02-25 Florian Weimer <fweimer@redhat.com>
2713
2714 [BZ #15347]
2715 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2716
80a56cc3
WN
27172014-02-25 Will Newton <will.newton@linaro.org>
2718
2719 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2720 (__longjmp): Restore sp and lr before restoring callee
2721 saved registers. Add longjmp and longjmp_target
2722 SystemTap probe point.
2723 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2724 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2725 Define to zero to match jmpbuf layout.
2726 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2727 (__sigsetjmp): Save sp and lr before saving callee
2728 saved registers. Add setjmp SystemTap probe point.
2729
3ea0f74e
SL
27302014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2731
2732 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2733
b04acb26
AS
27342014-02-24 Andreas Schwab <schwab@suse.de>
2735
2736 [BZ #15804]
2737 * elf/pldd.c (wait_for_ptrace_stop): New function.
2738 (main): Call it after attaching.
2739
098ad55c
RM
27402014-02-22 Roland McGrath <roland@hack.frob.com>
2741
d4ec6ae1
RM
2742 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2743 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2744 Versions files is now verboten.
2745 * hurd/Versions (libc: GLIBC_2.0):
2746 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2747 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2748 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2749 * mach/Versions: Likewise.
2750
098ad55c
RM
2751 * csu/Versions: Remove unused %include.
2752 * resolv/Versions: Likewise.
2753
acd7f096
JM
27542014-02-21 Joseph Myers <joseph@codesourcery.com>
2755
f0881698
JM
2756 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2757 ($(objpfx)check-local-headers.out): Likewise.
2758 ($(objpfx)begin-end-check.out): Likewise.
2759 * Makerules (check-abi-%.out): Likewise.
2760 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2761 ($(objpfx)test2.cat): Likewise.
2762 ($(objpfx)de/libc.cat): Likewise.
2763 ($(objpfx)test-gencat.out): Likewise.
2764 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2765 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2766 ($(objpfx)noload-mem): Likewise.
2767 ($(objpfx)tst-pathopt.out): Likewise.
2768 ($(objpfx)tst-rtld-load-self.out): Likewise.
2769 ($(objpfx)tst-array1-cmp.out): Likewise.
2770 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2771 ($(objpfx)tst-array2-cmp.out): Likewise.
2772 ($(objpfx)tst-array3-cmp.out): Likewise.
2773 ($(objpfx)tst-array4-cmp.out): Likewise.
2774 ($(objpfx)tst-array5-cmp.out): Likewise.
2775 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2776 ($(objpfx)check-textrel.out): Likewise.
2777 ($(objpfx)check-execstack.out): Likewise.
2778 ($(objpfx)check-localplt.out): Likewise.
2779 ($(objpfx)order2-cmp.out): Likewise.
2780 ($(objpfx)tst-leaks1-mem): Likewise.
2781 ($(objpfx)tst-leaks1-static-mem): Likewise.
2782 ($(objpfx)tst-initorder-cmp.out): Likewise.
2783 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2784 ($(objpfx)tst-unused-dep.out): Likewise.
2785 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2786 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2787 * iconv/Makefile (test-iconvconfig): Likewise.
2788 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2789 ($(objpfx)iconv-test.out): Likewise.
2790 ($(objpfx)tst-tables.out): Likewise.
2791 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2792 ($(objpfx)tst-gettext.out): Likewise.
2793 ($(objpfx)tst-translit.out): Likewise.
2794 ($(objpfx)tst-gettext2.out): Likewise.
2795 ($(objpfx)tst-gettext4.out): Likewise.
2796 ($(objpfx)tst-gettext6.out): Likewise.
2797 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2798 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2799 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2800 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2801 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2802 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2803 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2804 ($(objpfx)wordexp-tst.out): Likewise.
2805 ($(objpfx)annexc.out): Likewise.
2806 ($(objpfx)tst-fnmatch-mem): Likewise.
2807 ($(objpfx)bug-regex2-mem): Likewise.
2808 ($(objpfx)bug-regex14-mem): Likewise.
2809 ($(objpfx)bug-regex21-mem): Likewise.
2810 ($(objpfx)bug-regex31-mem): Likewise.
2811 ($(objpfx)tst-vfork3-mem): Likewise.
2812 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2813 ($(objpfx)tst-pcre-mem): Likewise.
2814 ($(objpfx)tst-boost-mem): Likewise.
2815 ($(objpfx)tst-getconf.out): Likewise.
2816 ($(objpfx)bug-ga2-mem): Likewise.
2817 ($(objpfx)bug-glob2-mem): Likewise.
2818 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2819 ($(objpfx)mtrace-tst-leaks2): Likewise.
2820 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2821 ($(objpfx)tst-printf.out): Likewise.
2822 ($(objpfx)tst-setvbuf1.out): Likewise.
2823 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2824 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2825 ($(objpfx)tst-fmtmsg.out): Likewise.
2826 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2827 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2828
acd7f096
JM
2829 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2830 * bits/sigaction.h [__USE_MISC]: Likewise.
2831 * bits/waitstatus.h: Update #endif comments.
2832 * ctype/ctype.h: Likewise.
2833 * dirent/dirent.h: Likewise.
2834 [__USE_MISC]: Remove redundant conditionals.
2835 * grp/grp.h: Update #endif comments.
2836 [__USE_GNU]: Remove redundant conditionals.
2837 [__USE_MISC]: Likewise.
2838 * inet/netinet/in.h [__USE_GNU]: Likewise.
2839 * io/sys/stat.h [__USE_MISC]: Likewise.
2840 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2841 * libio/bits/stdio.h: Update #endif comments.
2842 [__USE_MISC]: Remove redundant conditionals.
2843 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2844 * libio/stdio.h: Update #endif comments.
2845 [__USE_MISC]: Remove redundant conditionals.
2846 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2847 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2848 * math/math.h: Update #else and #endif comments.
2849 [__USE_MISC]: Remove redundant conditionals.
2850 * misc/sys/uio.h: Update #endif comments.
2851 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2852 * posix/glob.h [__USE_MISC]: Likewise.
2853 * posix/sys/types.h: Update #endif comments.
2854 [__USE_MISC]: Remove redundant conditionals.
2855 * posix/sys/wait.h: Update #endif comments.
2856 [__USE_MISC]: Remove redundant conditionals.
2857 * posix/unistd.h: Update #endif comments.
2858 [__USE_MISC]: Remove redundant conditionals.
2859 * pwd/pwd.h [__USE_GNU]: Likewise.
2860 [__USE_MISC]: Likewise.
2861 * resolv/netdb.h [__USE_GNU]: Likewise.
2862 * signal/signal.h: Update #endif comments.
2863 [__USE_MISC]: Remove redundant conditionals.
2864 * stdlib/stdlib.h: Update #else and #endif comments.
2865 [__USE_MISC]: Remove redundant conditionals.
2866 [__USE_GNU]: Likewise.
2867 * string/bits/string2.h [__USE_MISC]: Likewise.
2868 * string/string.h: Update #endif comments.
2869 [__USE_MISC]: Remove redundant conditionals.
2870 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2871 Likewise.
2872 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2873 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2874 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2875 Likewise.
2876 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2877 Likewise.
2878 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2879 comments.
2880 [__USE_MISC]: Remove redundant conditionals.
2881 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2882 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2883 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2884 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2885 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2886 Likewise.
2887 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2888 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2889 Likewise.
2890 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2891 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2892 Likewise.
2893 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2894 Likewise.
2895 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2896 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2897 Likewise.
2898 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2899 Likewise.
2900 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2901 * sysdeps/x86/bits/string.h: Update #endif comments.
2902 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2903 conditionals.
2904 * time/sys/time.h: Update #endif comments.
2905 * time/time.h: Likewise.
2906 [__USE_MISC]: Remove redundant conditionals.
2907
a5d82e4e
YG
29082014-02-21 Yury Gribov <y.gribov@samsung.com>
2909
2910 [BZ #16600]
2911 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2912
9a80491d
AS
29132014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2914
2915 * Versions.def (librt): Add GLIBC_2.17.
2916
105fa381
AC
29172014-02-21 Adam Conrad <adconrad@0c3.net>
2918
2919 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2920 synonym for _SYS_AUXV_H to allow direct inclusion.
2921 * sysdeps/sparc/bits/hwcap.h: Likewise.
2922 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2923 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2924 * sysdeps/sparc/sysdep.h: Likewise.
2925
b8cd1c4e
SP
29262014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2927
2928 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2929
bd939d23
RS
29302014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2931
2932 * benchtests/bench-strrchr.c: Print length instead of position.
2933
5d7b57ca
JM
29342014-02-20 Joseph Myers <joseph@codesourcery.com>
2935
bc688c10
JM
2936 [BZ #16611]
2937 * sysdeps/unix/sysv/linux/kernel-features.h
2938 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2939 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2940 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2941 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2942 Likewise.
2943 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2944 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2945 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2946 (__ASSUME_SENDMMSG): Define instead of using previous
2947 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2948 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2949 (__ASSUME_SENDMMSG_SYSCALL): Define.
2950 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2951 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2952 Likewise.
2953 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2954 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2955 Likewise.
2956 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2957 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2958 Likewise.
2959 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2960 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2961 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2962 [__ASSUME_SENDMMSG]: Change conditionals to
2963 [__ASSUME_SENDMMSG_SOCKETCALL].
2964 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2965 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2966 Define.
2967 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2968 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2969 Likewise.
2970 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2971 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2972 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2973 [!__ASSUME_SENDMMSG]: Change conditional to
2974 [!__ASSUME_SENDMMSG_SOCKETCALL].
2975 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2976 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2977 Define.
2978
0e31b18c
JM
2979 [BZ #16610]
2980 * sysdeps/unix/sysv/linux/kernel-features.h
2981 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2982 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2983 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2984 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2985 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2986 [__i386__ || __sparc__]
2987 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2988 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2989 (__ASSUME_RECVMMSG): Define instead of using previous
2990 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2991 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2992 (__ASSUME_RECVMMSG_SYSCALL): Define.
2993 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2994 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2995 Likewise.
2996 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2997 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2998 Likewise.
2999 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3000 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3001 Likewise.
3002 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3003 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3004 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3005 [__ASSUME_RECVMMSG]: Change condition to
3006 [__ASSUME_RECVMMSG_SOCKETCALL].
3007 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3008 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3009 Define.
3010 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3011 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3012 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3013 Likewise.
3014 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3015 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3016 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3017 [!__ASSUME_RECVMMSG]: Change condition to
3018 [!__ASSUME_RECVMMSG_SOCKETCALL].
3019 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3020 (__ASSUME_RECVMMSG_SYSCALL): Define.
3021
dd481ccf
JM
3022 [BZ #16609]
3023 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3024 __powerpc__ || __s390__ || __sh__ || __sparc__]
3025 (__ASSUME_SOCKETCALL): Define.
3026 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3027 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3028 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3029 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3030 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3031 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3032 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3033 (__ASSUME_ACCEPT4): Define instead of using previous
3034 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3035 __powerpc__ || __sparc__ || __s390__)] condition.
3036 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3037 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3038 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3039 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3040 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3041 [!__ASSUME_ACCEPT4]: Change condition to
3042 [!__ASSUME_ACCEPT4_SOCKETCALL].
3043 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3044 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3045 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3046 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3047 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3048 __ASSUME_ACCEPT4_SYSCALL.
3049 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3050 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3051 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3052 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3053 __ASSUME_ACCEPT4_SYSCALL.
3054 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3055 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3056 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3057 [__ASSUME_ACCEPT4]: Change condition to
3058 [__ASSUME_ACCEPT4_SOCKETCALL].
3059 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3060 (__ASSUME_SOCKETCALL): Define.
3061 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3062 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3063 (__ASSUME_SOCKETCALL): Define.
3064 (__ASSUME_ACCEPT4): Remove.
3065 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3066 Define.
3067 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3068 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3069 Likewise.
3070 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3071 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3072
5d7b57ca
JM
3073 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3074 macro.
3075 (HWCAP_ARM_LPAE): Likewise.
3076 (HWCAP_ARM_EVTSTRM): Likewise.
3077 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3078 Add vpfd32, lpae and evtstrm.
3079 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3080 Increase to 22.
3081
63689d61
JM
30822014-02-19 Joseph Myers <joseph@codesourcery.com>
3083
3084 * math/auto-libm-test-in: Add tests of clog10.
3085 * math/auto-libm-test-out: Regenerated.
3086 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3087 * sysdeps/i386/fpu/libm-test-ulps: Update.
3088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3089
ab09bf61
AS
30902014-02-18 Andreas Schwab <schwab@suse.de>
3091
3092 [BZ #16574]
3093 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3094 Store non-zero if the second buffer was newly allocated.
3095 (send_dg): Likewise.
3096 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3097 to send_vc and send_dg.
3098 (res_nsend): Pass NULL for ansp2_malloced.
3099 * resolv/res_query.c (__libc_res_nquery): Add parameter
3100 answerp2_malloced and pass it down to __libc_res_nsend.
3101 (res_nquery): Pass additional NULL to __libc_res_nquery.
3102 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3103 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3104 second answer buffer if answerp2_malloced was set.
3105 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3106 (__libc_res_nquerydomain): Add parameter
3107 answerp2_malloced and pass it down to __libc_res_nquery.
3108 (res_nquerydomain): Pass additional NULL to
3109 __libc_res_nquerydomain.
3110 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3111 additional NULL to __libc_res_nsend and __libc_res_nquery.
3112 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3113 additional NULL to __libc_res_nsearch.
3114 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3115 parameter of __libc_res_nsearch to check for separately allocated
3116 second buffer.
3117 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3118 __libc_res_nquery.
3119 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3120 additional NULL to __libc_res_nquery.
3121 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3122 __libc_res_nsearch.
3123 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3124 * include/resolv.h: Update prototypes of __libc_res_nquery,
3125 __libc_res_nsearch, __libc_res_nsend.
3126
a4fb7861
JM
31272014-02-18 Joseph Myers <joseph@codesourcery.com>
3128
c6af2d89
JM
3129 * math/auto-libm-test-in: Add tests of fma.
3130 * math/auto-libm-test-out: Regenerated.
3131 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3132 (fma_towardzero_test_data): Likewise.
3133 (fma_downward_test_data): Likewise.
3134 (fma_upward_test_data): Likewise.
3135 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3136 mpc_mode.
3137 (rounding_modes): Add values for new field.
3138 (func_calc_method): Add value mpfr_fff_f.
3139 (func_calc_desc): Add mpfr_fff_f union field.
3140 (test_function): Add field exact_args.
3141 (FUNC): Add macro argument EXACT_ARGS.
3142 (FUNC_mpfr_f_f): Update call to FUNC.
3143 (FUNC_mpfr_f_f): Likewise.
3144 (FUNC_mpfr_ff_f): Likewise.
3145 (FUNC_mpfr_if_f): Likewise.
3146 (FUNC_mpc_c_f): Likewise.
3147 (FUNC_mpc_c_c): Likewise.
3148 (test_functions): Add fma. Update calls to FUNC.
3149 (handle_input_arg): Add argument exact_args.
3150 (add_test): Update call to handle_input_arg.
3151 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3152 (output_for_one_input_case): Update call to calc_generic_results.
3153 Recalculate exact zero results in each rounding mode.
3154
a4fb7861
JM
3155 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3156 non-negative before setting low bit.
3157 * math/auto-libm-test-in: Mark one asin test possibly having
3158 spurious underflow.
3159 * math/auto-libm-test-out: Regenerated.
3160 * sysdeps/i386/fpu/libm-test-ulps: Update.
3161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3162
ef114eaf
DH
31632014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3164
2b7f4f2c
SP
3165 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3166 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3167 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3168 * README: Add missing listing for microblaze*-*-linux-gnu.
3169
c70a4b1d
MF
31702014-02-16 Mike Frysinger <vapier@gentoo.org>
3171
3172 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3173 * sysdeps/unix/sysv/linux/ia64: Move directory from
3174 ports/sysdeps/unix/sysv/linux/ia64.
3175 * README: Update listing for ia64-*-linux-gnu.
3176
591aeaf7
TD
31772014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3178 Joseph Myers <joseph@codesourcery.com>
3179
3180 * Makeconfig (test-name): New variable.
3181 (evaluate-test): Likewise.
3182 * Makerules (do-test-clean): Remove .test-result files.
3183 (common-mostlyclean): Likewise.
3184 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3185 * scripts/evaluate-test.sh: New file.
3186
6e89caf1
JM
31872014-02-14 Joseph Myers <joseph@codesourcery.com>
3188
7f98f180
JM
3189 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3190 separate $(objpfx)tst-fopenloc-cmp.out and
3191 $(objpfx)tst-fopenloc-mem.out targets.
3192 (tests): Update dependencies.
3193 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3194 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3195 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3196 (tst-rxspencer-no-utf8-ARGS): New variable.
3197 (tst-rxspencer-no-utf8-ENV): Likewise.
3198 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3199 instead of $(objpfx)tst-rxspencer-mem.
3200 ($(objpfx)tst-rxspencer-mem): Change target to
3201 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3202 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3203 * posix/tst-rxspencer-no-utf8.c: New file.
3204
6e89caf1
JM
3205 * elf/Makefile ($(objpfx)order.out): Remove rule.
3206 [$(run-built-tests) = yes] (tests): Depend on
3207 $(objpfx)order-cmp.out.
3208 ($(objpfx)order-cmp.out): New rule.
3209 [$(run-built-tests) = yes] (tests): Depend on
3210 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3211 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3212 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3213 $(objpfx)tst-array5-static-cmp.out.
3214 ($(objpfx)tst-array1.out): Remove rule.
3215 ($(objpfx)tst-array1-cmp.out): New rule.
3216 ($(objpfx)tst-array1-static.out): Remove rule.
3217 ($(objpfx)tst-array1-static-cmp.out): New rule.
3218 ($(objpfx)tst-array2.out): Remove rule.
3219 ($(objpfx)tst-array2-cmp.out): New rule.
3220 ($(objpfx)tst-array3.out): Remove rule.
3221 ($(objpfx)tst-array3-cmp.out): New rule.
3222 ($(objpfx)tst-array4.out): Remove rule.
3223 ($(objpfx)tst-array4-cmp.out): New rule.
3224 ($(objpfx)tst-array5.out): Remove rule.
3225 ($(objpfx)tst-array5-cmp.out): New rule.
3226 ($(objpfx)tst-array5-static.out): Remove rule.
3227 ($(objpfx)tst-array5-static-cmp.out): New rule.
3228 [$(run-built-tests) = yes] (tests): Depend on
3229 $(objpfx)order2-cmp.out.
3230 ($(objpfx)order2.out): Remove rule.
3231 ($(objpfx)order2-cmp.out): New rule.
3232 ($(objpfx)tst-initorder.out): Remove rule.
3233 [$(run-built-tests) = yes] (tests): Depend on
3234 $(objpfx)tst-initorder-cmp.out.
3235 ($(objpfx)tst-initorder-cmp.out): New rule.
3236 ($(objpfx)tst-initorder2.out): Remove rule.
3237 [$(run-built-tests) = yes] (tests): Depend on
3238 $(objpfx)tst-initorder2-cmp.out.
3239 ($(objpfx)tst-initorder2-cmp.out): New rule.
3240 [$(run-built-tests) = yes] (tests): Depend on
3241 $(objpfx)tst-unused-dep-cmp.out.
3242 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3243 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3244 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3245 on $(objpfx)tst-setvbuf1-cmp.out.
3246 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3247 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3248 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3249 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3250 ($(objpfx)tst-svc.out): Remove rule.
3251 ($(objpfx)tst-svc-cmp.out): New rule.
3252
ed9a38e2
JM
32532014-02-13 Joseph Myers <joseph@codesourcery.com>
3254
3255 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3256 * ctype/ctype.h [__USE_MISC]: Likewise.
3257 * dirent/dirent.h [__USE_MISC]: Likewise.
3258 * grp/grp.h [__USE_MISC]: Likewise.
3259 * io/fcntl.h [__USE_MISC]: Likewise.
3260 * io/sys/stat.h [__USE_MISC]: Likewise.
3261 * libio/stdio.h [__USE_MISC]: Likewise.
3262 * posix/unistd.h [__USE_MISC]: Likewise.
3263 * pwd/pwd.h [__USE_MISC]: Likewise.
3264 * stdlib.h [__USE_MISC]: Likewise.
3265 * string/bits/string2.h [__USE_MISC]: Likewise.
3266 * string/string.h [__USE_MISC]: Likewise.
3267 * time/time.h [__USE_MISC]: Likewise.
3268
d6680619
AS
32692014-02-13 Andreas Schwab <schwab@suse.de>
3270
3271 [BZ #16574]
3272 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3273 second answer buffer if it was separately allocated.
3274
ace614b8
JM
32752014-02-12 Joseph Myers <joseph@codesourcery.com>
3276
743151ae
JM
3277 * sysdeps/mips/math-tests.h: Include <features.h>.
3278 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3279 (ROUNDING_TESTS_long_double): Do not define.
3280 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3281 (EXCEPTION_TESTS_long_double): Likewise.
3282 * sysdeps/mips/mips64/libm-test-ulps: Update.
3283
498afc54
JM
3284 * include/features.h (__USE_BSD): Remove macro definitions.
3285 (__USE_SVID): Likewise.
3286 (_BSD_SOURCE): Likewise.
3287 (_SVID_SOURCE): Likewise.
3288 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3289 from definition of _DEFAULT_SOURCE.
3290 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3291 [_DEFAULT_SOURCE].
3292 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3293 * bits/mman.h [__USE_BSD]: Likewise.
3294 * bits/termios.h [__USE_BSD]: Likewise.
3295 * bits/waitstatus.h [__USE_BSD]: Likewise.
3296 * ctype/ctype.h [__USE_SVID]: Likewise.
3297 * dirent/dirent.h [__USE_BSD]: Likewise.
3298 * grp/grp.h [__USE_SVID]: Likewise.
3299 [__USE_BSD]: Likewise.
3300 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3301 * io/fcntl.h [__USE_BSD]: Likewise.
3302 * io/ftw.h [__USE_BSD]: Likewise.
3303 * io/sys/stat.h [__USE_BSD]: Likewise.
3304 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3305 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3306 * libio/stdio.h [__USE_SVID]: Likewise.
3307 [__USE_BSD]: Likewise.
3308 * math/math.h [__USE_SVID]: Likewise.
3309 [__USE_BSD]: Likewise.
3310 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3311 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3312 * misc/search.h [__USE_SVID]: Likewise.
3313 * misc/sys/mman.h [__USE_BSD]: Likewise.
3314 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3315 * misc/sys/uio.h [__USE_BSD]: Likewise.
3316 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3317 * posix/glob.h [__USE_BSD]: Likewise.
3318 * posix/regex.h [__USE_BSD]: Likewise.
3319 * posix/sys/types.h [__USE_BSD]: Likewise.
3320 [__USE_SVID]: Likewise.
3321 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3322 * posix/sys/wait.h [__USE_BSD]: Likewise.
3323 [__USE_SVID]: Likewise.
3324 * posix/unistd.h [__USE_BSD]: Likewise.
3325 [__USE_SVID]: Likewise.
3326 * pwd/pwd.h [__USE_SVID]: Likewise.
3327 * resolv/netdb.h [__USE_BSD]: Likewise.
3328 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3329 * signal/signal.h [__USE_BSD]: Likewise.
3330 [__USE_SVID]: Likewise.
3331 * socket/sys/socket.h [__USE_BSD]: Likewise.
3332 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3333 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3334 [__USE_SVID]: Likewise.
3335 * string/bits/string2.h [__USE_BSD]: Likewise.
3336 [__USE_SVID]: Likewise.
3337 * string/bits/string3.h [__USE_BSD]: Likewise.
3338 * string/endian.h [__USE_BSD]: Likewise.
3339 * string/string.h [__USE_SVID]: Likewise.
3340 [__USE_BSD]: Likewise.
3341 * string/strings.h [__USE_BSD]: Likewise.
3342 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3343 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3344 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3345 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3346 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3347 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3348 Likewise.
3349 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3350 Likewise.
3351 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3352 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3353 Likewise.
3354 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3355 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3356 Likewise.
3357 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3358 Likewise.
3359 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3360 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3361 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3362 Likewise.
3363 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3364 Likewise.
3365 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3366 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3367 * termios/termios.h [__USE_BSD]: Likewise.
3368 * time/sys/time.h [__USE_BSD]: Likewise.
3369 * time/time.h [__USE_BSD]: Likewise.
3370 [__USE_SVID]: Likewise.
3371
dd7b064c
JM
3372 * Makefile (subdir_targets): Remove subdir_lint.out.
3373
a2c4c199
JM
3374 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3375 (do-tst-printf): Likewise.
3376 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3377 $(objpfx)tst-printf.out.
3378
8756f740
JM
3379 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3380
1b6dd3f1
JM
3381 * Makerules (check-abi-%): Change target to
3382 $(objpfx)check-abi-%.out.
3383 (check-abi target): Update dependencies.
3384 (check-abi-pattern variable): Redirect output of diff to $@.
3385 (check-abi variable): Likewise.
3386 * elf/Makefile (check-abi): Update dependencies.
3387
ace614b8
JM
3388 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3389 unused.
3390 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3391 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3392 subnormal range.
3393 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3394 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3395 value has largest subnormal exponent.
3396 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3397 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3398 * sysdeps/aarch64/soft-fp/sfp-machine.h
3399 (_FP_TININESS_AFTER_ROUNDING): New macro.
3400 * sysdeps/alpha/soft-fp/sfp-machine.h
3401 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3402 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3403 Likewise.
3404 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3405 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3406 * sysdeps/mips/soft-fp/sfp-machine.h
3407 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3408 * sysdeps/powerpc/soft-fp/sfp-machine.h
3409 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3410 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3411 Likewise.
3412 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3413 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3414 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3415 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3416 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3417 Likewise.
3418
fbfdf9cb
DAS
34192014-02-12 Dylan Alex Simon <dylan@dylex.net>
3420
3421 [BZ #16545]
3422 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3423 model 1.
3424
68b7efaa
RH
34252014-02-12 Richard Henderson <rth@redhat.com>
3426
c70a4b1d 3427 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3428 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3429 * sysdeps/unix/sysv/linux/alpha: Move directory from
3430 ports/sysdeps/unix/sysv/linux/alpha.
3431 * README: Update listing for alpha-*-linux-gnu.
3432
cb4a2928
JM
34332014-02-11 Joseph Myers <joseph@codesourcery.com>
3434
c941736c
JM
3435 * include/features.h: Update comment documenting feature test
3436 macros.
3437 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3438 _DEFAULT_SOURCE.
3439 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3440 (_SVID_SOURCE): Likewise.
3441 (_DEFAULT_SOURCE): Update description of default features.
3442 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3443 with _GNU_SOURCE.
3444 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3445 (S_ISVTX): Likewise.
3446 * manual/math.texi (Mathematical Constants): Likewise.
3447 * manual/signal.texi (Interrupted Primitives): Likewise.
3448 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3449 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3450 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3451 Don't refer to _SVID_SOURCE in warning text.
3452
e8d8d7ec
JM
3453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3454
cb4a2928
JM
3455 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3456 already defined.
3457 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3458 * sysdeps/mips/dl-lookup.c: Remove.
3459 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3460
7e6424e3
AK
34612014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3462
3463 [BZ #16447]
3464 * math/auto-libm-test-in: Add testcase for expl.
3465 * math/auto-libm-test-out: Regenerate.
3466 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3467 calculation of unsafe.
3468 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3469
75eff3fe
MS
34702014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3471
3472 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3473 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3474 ports/sysdeps/unix/sysv/linux/aarch64.
3475 * README: Update listing for aarch64*-*-linux-gnu.
3476
d35f1e80
WN
34772014-02-11 Will Newton <will.newton@linaro.org>
3478
3479 * manual/probes.texi (Mathematical Function Probes): Use
3480 "triggered" instead of "hit".
3481
7b3436d4
WN
34822014-02-11 Will Newton <will.newton@linaro.org>
3483
3484 * manual/probes.texi (Internal Probes): Add documentation
3485 of setjmp, longjmp and longjmp_target probes.
3486
b4f12ca3
WN
34872014-02-11 Will Newton <will.newton@linaro.org>
3488
3489 * include/stap-probe.h: Add comment about probe argument
3490 format.
3491
c13a72b7
WN
34922014-02-11 Will Newton <will.newton@linaro.org>
3493
3494 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3495 definition. (tr_where, tr_freehook, tr_mallochook,
3496 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3497
195b8165
DM
34982014-02-11 David S. Miller <davem@davemloft.net>
3499
3500 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3501 processing int_tests.
3502
2ad7600b
JM
35032014-02-10 Joseph Myers <joseph@codesourcery.com>
3504
3505 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3506 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3507 * sysdeps/unix/sysv/linux/mips: Move directory from
3508 ports/sysdeps/unix/sysv/linux/mips.
3509 * README: Update listing for mips-*-linux-gnu and
3510 mips64-*-linux-gnu.
3511
73588a72
AS
35122014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3513
3514 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3515 * sysdeps/unix/sysv/linux/m68k: Move directory from
3516 ports/sysdeps/unix/sysv/linux/m68k.
3517 * README: Update listing for m68k-*-linux-gnu.
3518
4372980f
CM
35192014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3520
3521 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3522 * sysdeps/unix/sysv/linux/generic: Move directory from
3523 ports/sysdeps/unix/sysv/linux/generic.
3524 * sysdeps/unix/sysv/linux/tile: Move directory from
3525 ports/sysdeps/unix/sysv/linux/tile.
3526 * README: Update listing for tile*-*-linux-gnu.
3527
a1ffb40e
OB
35282014-02-10 Ondřej Bílka <neleai@seznam.cz>
3529
3530 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3531 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3532 * catgets/open_catalog.c (__open_catalog): Likewise.
3533 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3534 * debug/confstr_chk.c: Likewise.
3535 * debug/fread_chk.c (__fread_chk): Likewise.
3536 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3537 * debug/getgroups_chk.c: Likewise.
3538 * debug/mbsnrtowcs_chk.c: Likewise.
3539 * debug/mbsrtowcs_chk.c: Likewise.
3540 * debug/mbstowcs_chk.c: Likewise.
3541 * debug/memcpy_chk.c: Likewise.
3542 * debug/memmove_chk.c: Likewise.
3543 * debug/mempcpy_chk.c: Likewise.
3544 * debug/memset_chk.c: Likewise.
3545 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3546 * debug/strcat_chk.c (__strcat_chk): Likewise.
3547 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3548 * debug/strncat_chk.c (__strncat_chk): Likewise.
3549 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3550 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3551 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3552 * debug/wcpncpy_chk.c: Likewise.
3553 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3554 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3555 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3556 * debug/wcsncpy_chk.c: Likewise.
3557 * debug/wcsnrtombs_chk.c: Likewise.
3558 * debug/wcsrtombs_chk.c: Likewise.
3559 * debug/wcstombs_chk.c: Likewise.
3560 * debug/wmemcpy_chk.c: Likewise.
3561 * debug/wmemmove_chk.c: Likewise.
3562 * debug/wmempcpy_chk.c: Likewise.
3563 * debug/wmemset_chk.c: Likewise.
3564 * dirent/scandirat.c (SCANDIRAT): Likewise.
3565 * dlfcn/dladdr1.c (dladdr1): Likewise.
3566 * dlfcn/dladdr.c (dladdr): Likewise.
3567 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3568 * dlfcn/dlerror.c (__dlerror): Likewise.
3569 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3570 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3571 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3572 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3573 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3574 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3575 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3576 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3577 Likewise.
3578 * elf/dl-conflict.c: Likewise.
3579 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3580 * elf/dl-dst.h: Likewise.
3581 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3582 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3583 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3584 * elf/dl-init.c (call_init, _dl_init): Likewise.
3585 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3586 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3587 _dl_map_object_from_fd, open_verify, open_path,
3588 _dl_map_object): Likewise.
3589 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3590 Likewise.
3591 * elf/dl-minimal.c (__libc_memalign): Likewise.
3592 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3593 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3594 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3595 * elf/dl-sym.c (do_sym): Likewise.
3596 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3597 _dl_tls_get_addr_soft): Likewise.
3598 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3599 * elf/dl-writev.h (_dl_writev): Likewise.
3600 * elf/ldconfig.c (search_dir): Likewise.
3601 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3602 dl_main): Likewise.
3603 * elf/setup-vdso.h (setup_vdso): Likewise.
3604 * grp/compat-initgroups.c (compat_call): Likewise.
3605 * grp/fgetgrent.c (fgetgrent): Likewise.
3606 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3607 * grp/putgrent.c (putgrent): Likewise.
3608 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3609 Likewise.
3610 * hurd/hurdinit.c: Likewise.
3611 * iconvdata/8bit-gap.c (struct): Likewise.
3612 * iconvdata/ansi_x3.110.c : Likewise.
3613 * iconvdata/big5.c : Likewise.
3614 * iconvdata/big5hkscs.c : Likewise.
3615 * iconvdata/cp1255.c: Likewise.
3616 * iconvdata/cp1258.c : Likewise.
3617 * iconvdata/cp932.c : Likewise.
3618 * iconvdata/euc-cn.c: Likewise.
3619 * iconvdata/euc-jisx0213.c : Likewise.
3620 * iconvdata/euc-jp.c: Likewise.
3621 * iconvdata/euc-jp-ms.c : Likewise.
3622 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3623 * iconvdata/gb18030.c : Likewise.
3624 * iconvdata/gbbig5.c (const): Likewise.
3625 * iconvdata/gbgbk.c: Likewise.
3626 * iconvdata/gbk.c : Likewise.
3627 * iconvdata/ibm1364.c : Likewise.
3628 * iconvdata/ibm930.c : Likewise.
3629 * iconvdata/ibm932.c: Likewise.
3630 * iconvdata/ibm933.c : Likewise.
3631 * iconvdata/ibm935.c : Likewise.
3632 * iconvdata/ibm937.c : Likewise.
3633 * iconvdata/ibm939.c : Likewise.
3634 * iconvdata/ibm943.c: Likewise.
3635 * iconvdata/iso_11548-1.c: Likewise.
3636 * iconvdata/iso-2022-cn.c : Likewise.
3637 * iconvdata/iso-2022-cn-ext.c : Likewise.
3638 * iconvdata/iso-2022-jp-3.c: Likewise.
3639 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3640 * iconvdata/iso-2022-kr.c : Likewise.
3641 * iconvdata/iso646.c (gconv_end): Likewise.
3642 * iconvdata/iso_6937-2.c : Likewise.
3643 * iconvdata/iso_6937.c : Likewise.
3644 * iconvdata/iso8859-1.c: Likewise.
3645 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3646 * iconvdata/shift_jisx0213.c : Likewise.
3647 * iconvdata/sjis.c : Likewise.
3648 * iconvdata/t.61.c : Likewise.
3649 * iconvdata/tcvn5712-1.c : Likewise.
3650 * iconvdata/tscii.c: Likewise.
3651 * iconvdata/uhc.c : Likewise.
3652 * iconvdata/unicode.c (gconv_end): Likewise.
3653 * iconvdata/utf-16.c (gconv_end): Likewise.
3654 * iconvdata/utf-32.c (gconv_end): Likewise.
3655 * iconvdata/utf-7.c (base64): Likewise.
3656 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3657 * iconv/gconv_close.c (__gconv_close): Likewise.
3658 * iconv/gconv_open.c (__gconv_open): Likewise.
3659 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3660 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3661 internal_ucs4le_loop_single, ucs4le_internal_loop,
3662 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3663 * iconv/iconv.c (iconv): Likewise.
3664 * iconv/iconv_close.c: Likewise.
3665 * iconv/loop.c (SINGLE): Likewise.
3666 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3667 * include/atomic.h: Likewise.
3668 * inet/inet6_option.c (option_alloc): Likewise.
3669 * intl/bindtextdom.c (set_binding_values): Likewise.
3670 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3671 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3672 * intl/localealias.c (read_alias_file): Likewise.
3673 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3674 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3675 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3676 * libio/fmemopen.c (fmemopen): Likewise.
3677 * libio/iofgets.c (_IO_fgets): Likewise.
3678 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3679 * libio/iofgetws.c (fgetws): Likewise.
3680 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3681 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3682 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3683 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3684 * locale/findlocale.c (_nl_find_locale): Likewise.
3685 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3686 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3687 Likewise.
3688 * locale/setlocale.c (setlocale): Likewise.
3689 * login/programs/pt_chown.c (main): Likewise.
3690 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3691 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3692 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3693 mmap, mmap64, mremap, munmap): Likewise.
3694 * math/e_exp2l.c: Likewise.
3695 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3696 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3697 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3698 * math/s_catan.c (__catan): Likewise.
3699 * math/s_catanf.c (__catanf): Likewise.
3700 * math/s_catanh.c (__catanh): Likewise.
3701 * math/s_catanhf.c (__catanhf): Likewise.
3702 * math/s_catanhl.c (__catanhl): Likewise.
3703 * math/s_catanl.c (__catanl): Likewise.
3704 * math/s_ccosh.c (__ccosh): Likewise.
3705 * math/s_ccoshf.c (__ccoshf): Likewise.
3706 * math/s_ccoshl.c (__ccoshl): Likewise.
3707 * math/s_cexp.c (__cexp): Likewise.
3708 * math/s_cexpf.c (__cexpf): Likewise.
3709 * math/s_cexpl.c (__cexpl): Likewise.
3710 * math/s_clog10.c (__clog10): Likewise.
3711 * math/s_clog10f.c (__clog10f): Likewise.
3712 * math/s_clog10l.c (__clog10l): Likewise.
3713 * math/s_clog.c (__clog): Likewise.
3714 * math/s_clogf.c (__clogf): Likewise.
3715 * math/s_clogl.c (__clogl): Likewise.
3716 * math/s_csin.c (__csin): Likewise.
3717 * math/s_csinf.c (__csinf): Likewise.
3718 * math/s_csinh.c (__csinh): Likewise.
3719 * math/s_csinhf.c (__csinhf): Likewise.
3720 * math/s_csinhl.c (__csinhl): Likewise.
3721 * math/s_csinl.c (__csinl): Likewise.
3722 * math/s_csqrt.c (__csqrt): Likewise.
3723 * math/s_csqrtf.c (__csqrtf): Likewise.
3724 * math/s_csqrtl.c (__csqrtl): Likewise.
3725 * math/s_ctan.c (__ctan): Likewise.
3726 * math/s_ctanf.c (__ctanf): Likewise.
3727 * math/s_ctanh.c (__ctanh): Likewise.
3728 * math/s_ctanhf.c (__ctanhf): Likewise.
3729 * math/s_ctanhl.c (__ctanhl): Likewise.
3730 * math/s_ctanl.c (__ctanl): Likewise.
3731 * math/w_pow.c: Likewise.
3732 * math/w_powf.c: Likewise.
3733 * math/w_powl.c: Likewise.
3734 * math/w_scalb.c (sysv_scalb): Likewise.
3735 * math/w_scalbf.c (sysv_scalbf): Likewise.
3736 * math/w_scalbl.c (sysv_scalbl): Likewise.
3737 * misc/error.c (error_tail): Likewise.
3738 * misc/pselect.c (__pselect): Likewise.
3739 * nis/nis_callback.c (__nis_create_callback): Likewise.
3740 * nis/nis_call.c (__nisfind_server): Likewise.
3741 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3742 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3743 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3744 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3745 * nis/nis_lookup.c (nis_lookup): Likewise.
3746 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3747 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3748 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3749 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3750 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3751 internal_getgrgid_r): Likewise.
3752 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3753 Likewise.
3754 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3755 internal_getpwuid_r): Likewise.
3756 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3757 internal_getspnam_r): Likewise.
3758 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3759 _nss_nis_getaliasbyname_r): Likewise.
3760 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3761 _nss_nis_getntohost_r): Likewise.
3762 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3763 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3764 Likewise.
3765 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3766 internal_nis_gethostent_r, internal_gethostbyname2_r,
3767 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3768 _nss_nis_gethostbyname4_r): Likewise.
3769 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3770 initgroups_netid): Likewise.
3771 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3772 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3773 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3774 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3775 _nss_nis_getprotobynumber_r): Likewise.
3776 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3777 _nss_nis_getsecretkey): Likewise.
3778 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3779 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3780 Likewise.
3781 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3782 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3783 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3784 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3785 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3786 _nss_nis_getspnam_r): Likewise.
3787 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3788 Likewise.
3789 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3790 _nss_nisplus_getntohost_r): Likewise.
3791 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3792 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3793 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3794 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3795 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3796 Likewise.
3797 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3798 _nss_nisplus_getnetbyaddr_r): Likewise.
3799 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3800 _nss_nisplus_getprotobynumber_r): Likewise.
3801 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3802 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3803 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3804 Likewise.
3805 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3806 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3807 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3808 _nss_nisplus_getspnam_r): Likewise.
3809 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3810 * nscd/aicache.c (addhstaiX): Likewise.
3811 * nscd/cache.c (cache_search, prune_cache): Likewise.
3812 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3813 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3814 * nscd/grpcache.c (addgrbyX): Likewise.
3815 * nscd/hstcache.c (addhstbyX): Likewise.
3816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3817 * nscd/mem.c (gc, mempool_alloc): Likewise.
3818 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3819 Likewise.
3820 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3821 Likewise.
3822 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3823 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3824 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3825 Likewise.
3826 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3827 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3828 * nscd/nscd_helper.c (__readvall, open_socket,
3829 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3830 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3831 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3832 * nscd/pwdcache.c (addpwbyX): Likewise.
3833 * nscd/selinux.c (preserve_capabilities): Likewise.
3834 * nscd/servicescache.c (addservbyX): Likewise.
3835 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3836 * posix/fnmatch.c (fnmatch): Likewise.
3837 * posix/getopt.c (_getopt_internal_r): Likewise.
3838 * posix/glob.c (glob, glob_in_dir): Likewise.
3839 * posix/wordexp.c (exec_comm_child): Likewise.
3840 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3841 gaih_getanswer_slice): Likewise.
3842 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3843 * resolv/res_init.c: Likewise.
3844 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3845 * resolv/res_query.c (__libc_res_nquery): Likewise.
3846 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3847 Likewise.
3848 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3849 * stdio-common/perror.c (perror): Likewise.
3850 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3851 * stdio-common/tmpnam.c (tmpnam): Likewise.
3852 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3853 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3854 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3855 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3856 * stdlib/putenv.c (putenv): Likewise.
3857 * stdlib/setenv.c (__add_to_environ): Likewise.
3858 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3859 * stdlib/strtol_l.c (INTERNAL): Likewise.
3860 * string/memmem.c (memmem): Likewise.
3861 * string/strerror.c (strerror): Likewise.
3862 * string/strnlen.c (__strnlen): Likewise.
3863 * string/test-memmem.c (simple_memmem): Likewise.
3864 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3865 * sunrpc/pm_getport.c (__get_socket): Likewise.
3866 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3867 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3868 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3869 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3870 Likewise.
3871 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3872 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3873 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3874 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3875 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3876 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3877 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3878 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3879 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3880 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3881 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3882 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3884 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3885 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3886 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3887 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3888 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3889 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3890 Likewise.
3891 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3892 Likewise.
3893 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3894 Likewise.
3895 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3896 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3897 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3898 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3899 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3900 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3901 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3902 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3903 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3904 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3905 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3906 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3907 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3908 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3909 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3910 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3911 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3912 Likewise.
3913 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3914 Likewise.
3915 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3916 Likewise.
3917 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3919 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3920 Likewise.
3921 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3922 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3923 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3924 * sysdeps/posix/sleep.c: Likewise.
3925 * sysdeps/posix/tempname.c: Likewise.
3926 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3927 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3928 Likewise.
3929 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3930 elf_machine_rela): Likewise.
3931 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3932 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3933 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3934 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3935 Likewise.
3936 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3937 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3938 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3939 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3940 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3941 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3942 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3943 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3944 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3945 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3946 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3947 elf_machine_lazy_rel): Likewise.
3948 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3949 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3950 elf_machine_lazy_rel): Likewise.
3951 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3952 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3953 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3954 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3955 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3956 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3957 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3958 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3959 Likewise.
3960 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3961 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3962 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3963 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3964 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3965 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3966 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3967 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3968 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3969 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3970 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3971 Likewise.
3972 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3973 (__posix_fallocate64_l64): Likewise.
3974 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3975 (posix_fallocate): Likewise.
3976 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3978 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3979 getifaddrs_internal): Likewise.
3980 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3981 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3982 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3983 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3984 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3985 (__posix_fallocate64_l64): Likewise.
3986 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3987 Likewise.
3988 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3989 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3990 Likewise.
3991 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3992 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3993 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3994 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3995 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3996 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3997 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3998 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3999 Likewise.
4000 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4001 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4002 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4003 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4004 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4005 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4006 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4007 Likewise.
4008 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4009 (posix_fallocate): Likewise.
4010 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4011 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4012 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4013 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4014 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4015 Likewise.
4016 * time/asctime.c (asctime_internal): Likewise.
4017 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4018 * time/tzset.c (__tzset_parse_tz): Likewise.
4019 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4020 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4021 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4022 * wcsmbs/wcsmbsload.h: Likewise.
4023
f3d338c9
OB
40242014-02-10 Ondřej Bílka <neleai@seznam.cz>
4025
4026 [BZ #15894]
4027 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4028
bdfe308a
OB
40292014-02-10 Ondřej Bílka <neleai@seznam.cz>
4030
4031 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4032 arena_get2): Remove THREAD_STATS conditionals.
4033 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4034 __malloc_stats, int): Likewise.
4035
d674667c
MF
40362014-02-08 Mike Frysinger <vapier@gentoo.org>
4037
4038 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4039 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4040
6349768c
MF
40412014-02-08 Mike Frysinger <vapier@gentoo.org>
4042
4043 * manual/setjmp.texi: Fix typos/grammar errors.
4044
0b7c7473
MF
40452014-02-08 Mike Frysinger <vapier@gentoo.org>
4046
4047 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4048 Only return early when n is <= 0. Delete unused return statement.
4049
ac8cc9e3
MF
40502014-02-08 Mike Frysinger <vapier@gentoo.org>
4051
4052 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4053 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4054 * debug/tst-longjmp_chk3.c: New file.
4055
c5bb8e23
MF
40562014-02-08 Mike Frysinger <vapier@gentoo.org>
4057
4058 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4059 (test_main): Replace code with set_fortify_handler call.
4060 * debug/test-strcpy_chk.c: Likewise.
4061 * debug/tst-chk1.c: Likewise.
4062 * debug/tst-longjmp_chk.c: Likewise.
4063 * test-skeleton.c: Include fcntl.h & paths.h
4064 (set_fortify_handler): Define.
4065
10444e42
MF
40662014-02-08 Mike Frysinger <vapier@gentoo.org>
4067
4068 * debug/tst-longjmp_chk.c: Add header comment and include
4069 ../test-skeleton.c.
4070 (do_test): Mark static.
4071 (TEST_FUNCTION): Define.
4072
1e805e8d
MF
40732014-02-08 Mike Frysinger <vapier@gentoo.org>
4074
4075 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4076 (IP_PMTUDISC_INTERFACE): Likewise.
4077 (IP_MULTICAST_IF): Likewise.
4078 (IP_MULTICAST_TTL): Likewise.
4079 (IP_MULTICAST_LOOP): Likewise.
4080 (IP_ADD_MEMBERSHIP): Likewise.
4081 (IP_DROP_MEMBERSHIP): Likewise.
4082 (IP_UNBLOCK_SOURCE): Likewise.
4083 (IP_BLOCK_SOURCE): Likewise.
4084 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4085 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4086 (IP_MSFILTER): Likewise.
4087 (MCAST_JOIN_GROUP): Likewise.
4088 (MCAST_BLOCK_SOURCE): Likewise.
4089 (MCAST_UNBLOCK_SOURCE): Likewise.
4090 (MCAST_LEAVE_GROUP): Likewise.
4091 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4092 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4093 (MCAST_MSFILTER): Likewise.
4094 (IP_MULTICAST_ALL): Likewise.
4095 (IP_UNICAST_IF): Likewise.
4096
73f79bb7
MF
40972014-02-08 Mike Frysinger <vapier@gentoo.org>
4098
4099 * timezone/Makefile: Delete $(have-ksh) check.
4100 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4101 * timezone/tzselect.ksh: Add +x mode bits.
4102
8da79b60
MF
41032014-02-08 Mike Frysinger <vapier@gentoo.org>
4104
4105 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4106 (ANON_INODE_FS_MAGIC): Likewise.
4107 (BDEVFS_MAGIC): Likewise.
4108 (BINFMTFS_MAGIC): Likewise.
4109 (BTRFS_TEST_MAGIC): Likewise.
4110 (CRAMFS_MAGIC_WEND): Likewise.
4111 (DEBUGFS_MAGIC): Likewise.
4112 (ECRYPTFS_SUPER_MAGIC): Likewise.
4113 (EXT3_SUPER_MAGIC): Likewise.
4114 (EXT4_SUPER_MAGIC): Likewise.
4115 (FUTEXFS_SUPER_MAGIC): Likewise.
4116 (HOSTFS_SUPER_MAGIC): Likewise.
4117 (HUGETLBFS_MAGIC): Likewise.
4118 (MINIX3_SUPER_MAGIC): Likewise.
4119 (MTD_INODE_FS_MAGIC): Likewise.
4120 (NILFS_SUPER_MAGIC): Likewise.
4121 (OPENPROM_SUPER_MAGIC): Likewise.
4122 (PIPEFS_MAGIC): Likewise.
4123 (PSTOREFS_MAGIC): Likewise.
4124 (QNX6_SUPER_MAGIC): Likewise.
4125 (RAMFS_MAGIC): Likewise.
4126 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4127 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4128 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4129 (SECURITYFS_MAGIC): Likewise.
4130 (SELINUX_MAGIC): Likewise.
4131 (SMACK_MAGIC): Likewise.
4132 (SOCKFS_MAGIC): Likewise.
4133 (SQUASHFS_MAGIC): Likewise.
4134 (STACK_END_MAGIC): Likewise.
4135 (TMPFS_MAGIC): Likewise.
4136 (USBDEVICE_SUPER_MAGIC): Likewise.
4137 (V9FS_MAGIC): Likewise.
4138 (XENFS_SUPER_MAGIC): Likewise.
4139 (CRAMFS_MAGIC): Fix typo in comment.
4140 (EXT2_SUPER_MAGIC): Update comment.
4141 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4142
464263cc
JM
41432014-02-08 Joseph Myers <joseph@codesourcery.com>
4144
c6bfe5c4
JM
4145 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4146 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4147 * sysdeps/unix/sysv/linux/arm: Move directory from
4148 ports/sysdeps/unix/sysv/linux/arm.
4149 * README: Update listing for arm-*-linux-gnueabi.
4150
464263cc
JM
4151 * README: Remove mention of am33.
4152
32749f6c
RM
41532014-02-07 Roland McGrath <roland@hack.frob.com>
4154
4155 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4156 than the comma operator, to avoid "rhs of comma has no effect"
4157 compiler warnings.
4158 (__sigfillset, __sigandset, __sigorset): Likewise.
4159 * include/signal.h (__sigemptyset): Likewise.
4160 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4161
d5b396c1
AM
41622014-02-07 Allan McRae <allan@archlinux.org>
4163
4164 * version.h (RELEASE): Set to "development".
4165 (VERSION): Set to "2.19.90"
4166 * NEWS: Add 2.20 section.
4167
3bfff2ed
CD
41682014-02-06 Carlos O'Donell <carlos@redhat.com>
4169
4170 [BZ #16529]
4171 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4172
ee7cc385
SP
41732014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4174
4175 * manual/contrib.texi: Update entry for Carlos O'Donell,
4176 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4177
f877c4f2
CD
41782014-02-05 Carlos O'Donell <carlos@rehdat.com>
4179
27e839f6
CD
4180 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4181
f877c4f2
CD
4182 * sysdeps/unix/sysv/linux/kernel-features.h
4183 [__LINUX_KERNEL_VERSION >= 0x020621]
4184 (__ASSUME_PROC_PID_TASK_COMM): Define.
4185
68159946
SP
41862014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4187
ba17cdbd
SP
4188 [BZ #16398]
4189 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4190 conversion when destination buffer does not have enough space.
4191 * libio/tst-ftell-partial-wide.c: New test case.
4192 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4193
68159946
SP
4194 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4195 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4196 Leonard and Allan McRae.
4197
2b528732
DM
41982014-02-04 David S. Miller <davem@davemloft.net>
4199
4200 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4201 32-bit.
4202
0ff82463
AZ
42032014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4204
c01603f7
AZ
4205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4206 file
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4208 New file
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4210 file.
4211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4212 file.
4213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4214 New file.
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4216 file.
4217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4218 file.
4219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4220 New file.
4221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4222 New file.
4223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4224 New file.
4225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4226 New file.
4227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4228 New file.
4229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4230 New file.
4231
42322014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4233
0ff82463
AZ
4234 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4235 * shlib-versions: Likewise.
4236
1695c773
AZ
42372014-02-04 Roland McGrath <roland@hack.frob.com>
4238 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4239
4240 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4241 (abilist-pattern): New variable, set to %-le.abilist.
4242
4243 * Makerules (abilist-pattern): New variable.
4244 (vpath): Use $(abilist-pattern) in place of %.abilist.
4245 (check-abi-% pattern rule): Likewise.
4246 (check-abi, update-abi): Likewise.
4247
6c0ce4b4
EW
42482014-02-04 Eric Wong <normalperson@yhbt.net>
4249
4250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4251
dc98b8f5
EW
42522014-02-04 Eric Wong <normalperson@yhbt.net>
4253
4254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4255
481e3524
CD
42562014-02-03 Carlos O'Donell <carlos@redhat.com>
4257
4258 * manual/startup.texi: Add next, previous, and top entries for
4259 the `Program Arguments' and `Environment Variables' nodes.
4260
375592d3
AO
42612014-02-03 Alexandre Oliva <aoliva@redhat.com>
4262
4263 * manual/macros.texi: Add comments before MTASC-safety macros.
4264
f54838ba
AO
4265 * manual/users.texi: Document MTASC-safety properties.
4266
909e12ad
AO
4267 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4268 pthread_getspecific, pthread_setspecific): Format with
4269 @deftypefun, and add @safety note.
4270 * manual/signal.texi: Move comments that analyze the above
4271 functions to their home place.
4272
fd3daba4
AM
42732014-02-03 Allan McRae <allan@archlinux.org>
4274
4275 * po/sl.po: Update Slovenian translation from translation project.
4276
597636d7
AO
42772014-02-02 Alexandre Oliva <aoliva@redhat.com>
4278
4279 * manual/time.texi (timegm): Add missing blank after @c.
4280 Reported by Joseph Myers <joseph@codesourcery.com>.
4281
ee196e3c
AO
42822014-02-01 Alexandre Oliva <aoliva@redhat.com>
4283
4284 * manual/check-safety.sh: New.
4285 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4286
f8d529d5
AO
4287 * manual/terminal.texi: Document MTASC-safety properties.
4288
de55fdf4
AO
4289 * manual/filesys.texi: Document MTASC-safety properties.
4290
c3299c08
AO
4291 * manual/errno.texi: Document MTASC-safety properties.
4292
06e90b14
AO
4293 * manual/intro.texi: Document safety identifiers and
4294 conditionals.
4295
1acd4371
AO
4296 * manual/string.texi (wcstok): Fix prototype.
4297 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4298
23e5b8cb
AO
4299 * manual/time.texi: Document MTASC-safety properties.
4300
11087373
AO
4301 * manual/string.texi: Document MTASC-safety properties.
4302
5da2c93d
AO
4303 * manual/threads.texi: Document MTASC-safety properties.
4304
171e9210
AO
4305 * manual/stdio.texi: Document MTASC-safety properties.
4306
d9e02532
AO
4307 * manual/syslog.texi: Document MTASC-safety properties.
4308
6af8bab7
AO
4309 * manual/sysinfo.texi: Document MTASC-safety properties.
4310
663b02d7
AO
4311 * manual/startup.texi: Document MTASC-safety properties.
4312
973f180b
AO
4313 * manual/socket.texi: Document MTASC-safety properties.
4314
8f3c25c8
AO
4315 * manual/signal.texi: Document MTASC-safety properties.
4316
542210fb
AO
43172014-01-31 Alexandre Oliva <aoliva@redhat.com>
4318
4319 * manual/setjmp.texi: Document MTASC-safety properties.
4320
433c45a2
AO
4321 * manual/search.texi: Document MTASC-safety properties.
4322
c8ce789c
AO
4323 * manual/resource.texi: Document MTASC-safety properties.
4324
19f5d29c
AO
4325 * manual/process.texi: Document MTASC-safety properties.
4326
e2dfb7f4
AO
4327 * manual/platform.texi: Document MTASC-safety properties.
4328
8c1413f5
AO
4329 * manual/pipe.texi: Document MTASC-safety properties.
4330
03483ada
AO
4331 * manual/pattern.texi: Document MTASC-safety properties.
4332
29e7e2df
AO
4333 * manual/message.texi: Document MTASC-safety properties.
4334
9f529d7c
AO
4335 [BZ #12751]
4336 * manual/memory.texi: Document MTASC-safety properties.
4337
27aaa791
AO
4338 * manual/math.texi: Document MTASC-safety properties.
4339
f2d58726
AO
4340 * manual/locale.texi: Document MTASC-safety properties.
4341
2cc3615c
AO
4342 * manual/llio.texi: Document MTASC-safety properties.
4343
d9f0ec97
AO
4344 * manual/libdl.texi: New.
4345
e7c4409a
AO
4346 * manual/lang.texi: Document MTASC-safety properties.
4347
27bdc63c
AO
4348 * manual/job.texi: Document MTASC-safety properties.
4349
a7b90ea9
AO
4350 * manual/getopt.texi: Document MTASC-safety properties.
4351
c49130e3
AO
4352 * manual/ctype.texi: Document MTASC-safety properties.
4353
0d23a5c1
MR
43542014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4355
4356 [BZ #16046]
4357 * csu/libc-tls.c (static_map): Remove variable.
4358 (__libc_setup_tls): Use main executable's link map for TLS data.
4359 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4360 casing for LM_ID_BASE and GL(dl_nns).
4361 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4362 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4363 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4364 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4365 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4366 member.
4367 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4368 l_phnum members.
4369
0037bb60
AO
43702014-01-30 Alexandre Oliva <aoliva@redhat.com>
4371
4372 * manual/debug.texi: Document MTASC-safety properties.
4373
409e00bd
L
43742014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4375
4376 [BZ #16510]
4377 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4378 of __x86_64__ when disabling x87 inline functions.
4379
86e60666
AO
43802014-01-29 Alexandre Oliva <aoliva@redhat.com>
4381
4382 * manual/charset.texi: Document MTASC-safety properties.
4383
76167637
AO
4384 * manual/crypt.texi: Document MTASC-safety properties.
4385
e567f2a0
AO
4386 * manual/conf.texi: Document MTASC-safety properties.
4387
b719dafd
AO
4388 * manual/arith.texi: Document MTASC-safety properties.
4389
4a16c662
AO
4390 * manual/argp.texi: Document MTASC-safety properties.
4391
0a57b83e
AO
4392 * manual/macros.texi: Introduce macros to document multi
4393 thread, asynchronous signal and asynchronous cancellation
4394 safety properties.
4395 * manual/intro.texi: Introduce the properties themselves.
4396
feab2397
KK
43972014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4398
4399 * sysdeps/sh/sh4/Makefile: New file.
4400
1c0d11bc
AS
44012014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4402
4403 * math/gen-libm-test.pl ($srcdir): New variable.
4404 ($auto_input): Use it.
4405
af37a8a3
SP
44062014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4407
d7b00f98
SP
4408 [BZ #16506]
4409 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4410 access beyond array bounds when parsing netgroups file.
4411
af37a8a3
SP
4412 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4413 the old buffer before realloc.
4414
0c00f062
AM
44152014-01-27 Allan McRae <allan@archlinux.org>
4416
4417 * po/fr.po: Update French translation from translation project.
4418
7d69a1b0
KK
44192014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4420
4421 * sysdeps/sh/libm-test-ulps: Regenerate.
4422
6e697ff7
DM
44232014-01-24 David S. Miller <davem@davemloft.net>
4424
4425 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4426
9cadb35c
KK
44272014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4428
4429 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4430 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4431
5d41dadf
SP
44322013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4433
4434 [BZ #16474]
4435 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4436 string pointers after reallocation.
4437
0bad441c
KK
44382014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4439
4440 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4441 __SH4A__ instead of __SH_FPU_ANY__.
4442
7007c661
KK
44432014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4444
4445 * sysdeps/sh/fpu_control.h: New file.
4446 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4447 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4448 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4449 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4450 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4451 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4452 * sysdeps/sh/sys/ucontext.h: Remove.
4453 * sysdeps/sh/sys: Remove directory.
4454
0f0c35e4
AK
44552014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4456
4457 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4458 s390/sys/ucontext.h.
4459 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4460 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4461
4959e284
L
44622014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4463
4464 [BZ #15605]
4465 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4466
d98720e0
AZ
44672014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4468
4469 [BZ#16431]
4470 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4471 Adjust the vDSO correctly for internal calls.
4472 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4473
91cbd0bc
AM
44742014-01-20 Allan McRae <allan@archlinux.org>
4475
4476 * po/ca.po: Update Catalan translation from translation project.
4477
7a02cfad
MF
44782014-01-16 Mike Frysinger <vapier@gentoo.org>
4479
4480 * sysdeps/s390/sotruss-lib.c: New file.
4481
736c304a
AZ
44822014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4483
4484 [BZ#16430]
6e077ee5 4485 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4486 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4487 local calls issues by not having a PLT stub required for IFUNC calls.
4488 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4489
94d0cea0
JM
44902014-01-16 Joseph Myers <joseph@codesourcery.com>
4491
4492 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4493 * math/test-fpucw-static.c: Likewise.
4494
980cb518
SP
44952013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4496
4497 [BZ #16453]
4498 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4499
2393fc01
AZ
45002014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4501
4502 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4503 implementation for powerpc.
4504
d359bcc2
OB
45052014-01-15 Ondřej Bílka <neleai@seznam.cz>
4506
4507 [BZ #14782]
4508 * sysdeps/posix/system.c (__libc_system): Do not enable
4509 asynchronous cancellation.
4510
7beb48cb
AK
45112014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4512
4513 [BZ #16427]
4514 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4515 handling only for numbers special also in the IEEE case.
4516
c20d5bf5
AK
45172014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4518
4519 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4520
e83bd4ee
AM
45212014-01-11 Allan McRae <allan@archlinux.org>
4522
76d0ea69
AM
4523 * po/bg.po: Update Bulgarian translation from translation project.
4524
e83bd4ee
AM
4525 * po/de.po: Update German translation from translation project.
4526
bc2ba20a
RM
45272014-01-10 Roland McGrath <roland@hack.frob.com>
4528
4529 * sysdeps/generic/gcc-compat.h: New file.
4530
649ecea2
SP
45312014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4532
4533 * benchtests/asin-inputs: Correct slow inputs.
4534 * benchtests/acos-inputs: Likewise.
4535
1b19c006
AM
45362014-01-10 Allan McRae <allan@archlinux.org>
4537
a46dab08
AM
4538 * po:sv.po: Update Swedish translation from translation project.
4539
421df74a
AM
4540 * po/vi.po: Update Vietnamese translation from translation project.
4541
d61c51a7
AM
4542 * po/eo.po: Update Esperanto translation from translation project.
4543
0339a319
AM
4544 * po/cs.po: Update Czech translation from translation project.
4545
94ad3e99
AM
4546 * po/nl.po: Update Dutch translation from translation project.
4547
e349ca71
AM
4548 * po/pl.po: Update Polish translation from translation project.
4549
ddf930c1
AM
4550 * po/ru.po: Update Russian translation from translation project.
4551
1b19c006
AM
4552 * po/uk.po: Update Ukrainian translation from translation project.
4553
9f236c49
BM
45542014-01-08 Brooks Moses <bmoses@google.com>
4555
4556 * elf/dl-load.c: Fix comment typo.
4557
cd6701cf
CD
45582014-01-08 Carlos O'Donell <carlos@redhat.com>
4559
4560 * po/header.pot: Rename to...
4561 * po/pot.header: ... this.
4562 * po/Makefile: Use pot.header.
4563
66671c84
YK
45642014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4565 Maxim Kuvyrkov <maxim@kugelworks.com>
4566
4567 [BZ #16394]
cd6701cf
CD
4568 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4569 SRC and DEST against LEN.
66671c84 4570
38f34581
AZ
45712014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4572
4573 [BZ #16414]
4574 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4575 implementation.
4576 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4577
45782014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4579
4580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4581
4c327f2a
JM
45822014-01-08 Joseph Myers <joseph@codesourcery.com>
4583
4584 [BZ #16408]
4585 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4586 for large positive arguments.
4587
b821f414
JM
45882014-01-07 Joseph Myers <joseph@codesourcery.com>
4589
1f0f2067
JM
4590 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4591
a5a326f6
JM
4592 * math/auto-libm-test-in: Mark various tests with
4593 xfail-rounding:ldbl-128ibm.
4594 * math/auto-libm-test-out: Regenerated.
4595
b821f414
JM
4596 [BZ #16407]
4597 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4598 Increase overflow threshold.
4599
94c8a4bc
OB
46002014-01-07 Ondřej Bílka <neleai@seznam.cz>
4601
4602 [BZ #14286]
4603 * stdio-common/vfprintf.c: Check for integer overflow.
4604
87ded0c3
AK
46052014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4606
4607 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4608 the first argument and return value of __tls_get_addr_internal.
4609
c5eebdd0
AK
46102014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4611
4612 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4613 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4614
05d138ef
AK
46152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4616
4617 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4618 * sysdeps/s390/rtld-global-offsets.sym: New file.
4619 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4620 GLIBC_2.19 symbol.
4621 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4622 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4623 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4624 ... this.
4625 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4626 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4627 ... this.
4628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4629 Regenerate.
4630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4631 Regenerate.
4632 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4633 halfs of GPRs for high_gprs contexts.
4634 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4635 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4636 field.
4637 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4638 uc_flags field.
4639 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4640 64 bit versions:
4641 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4642 for high GPRs (uc_high_gprs) and for future extensions
4643 (__reserved).
4644 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4645 for future extensions (__reserved).
4646 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4647 64 bit versions:
4648 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4649 SC_HIGHGPRS offset definition.
4650 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4651 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4652
93a45ff1
AK
46532014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4654
4655 * Versions.def: Add GLIBC_2.19 for libpthread.
4656 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4657 siglongjmp for libpthread with GLIBC_2.19 symver.
4658 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4659 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4660 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4661 * sysdeps/s390/__longjmp.c: New file.
4662 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4663 * sysdeps/s390/longjmp.c: New file.
4664 * sysdeps/s390/setjmp.S: New file.
4665 * sysdeps/s390/sigjmp.S: New file.
4666 * sysdeps/s390/v1-longjmp.c: New file.
4667 * sysdeps/s390/v1-setjmp.h: New file.
4668 * sysdeps/s390/v1-sigjmp.c: New file.
4669 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4670 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4671 GLIBC_2.19 version.
4672 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4673 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4674 versioned symbols for ____longjmp_chk.
4675 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4676 Likewise.
4677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4678 Regenerate.
4679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4680 Regenerate.
4681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4682 Regenerate.
4683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4684 Regenerate.
4685 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4686 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4687 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4688 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4689 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4690 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4691 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4692 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4693 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4694 * sysdeps/s390/rtld-__longjmp.c: New file.
4695 * sysdeps/s390/rtld-setjmp.S: New file.
4696
eb3fc44b
JM
46972014-01-06 Joseph Myers <joseph@codesourcery.com>
4698
4699 [BZ #16400]
4700 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4701 Return -__logl (x) for small positive arguments without evaluating
4702 a polynomial.
4703
9341dde4
MF
47042014-01-06 Mike Frysinger <vapier@gentoo.org>
4705
4706 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4707 Rename to ...
4708 (__ptrace_peeksiginfo_args): ... this.
4709 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4710 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4711 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4712
4cff0293
AM
47132014-01-06 Allan McRae <allan@archlinux.org>
4714
4715 * inet/netinet/in.h: Fix typo in comment.
4716
75595dcf
AJ
47172014-01-05 Andreas Jaeger <aj@suse.de>
4718
4719 * sysdeps/i386/fpu/libm-test-ulps: Update.
4720
79c1e109
AM
47212014-01-05 Allan McRae <allan@archlinux.org>
4722
dd804818
AM
4723 * po/libc.pot: Regenerated.
4724
79c1e109
AM
4725 * malloc/memusagestat.c: Fix gettext call formatting.
4726
0c813d1f
SK
47272014-01-04 Sami Kerola <kerolasa@iki.fi>
4728
4729 * nscd/nscd.c: Improve usage() output.
4730
20f4a8d9
MF
47312014-01-04 Mike Frysinger <vapier@gentoo.org>
4732
4733 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4734 * sysdeps/unix/sysv/linux/configure: Regenerated.
4735 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4736 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4737
22562bb2
JM
47382014-01-03 Joseph Myers <joseph@codesourcery.com>
4739
4740 [BZ #16390]
4741 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4742 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4743
d7ad2d9b
AZ
47442014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4745
4746 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4747 extra tokens at end of #undef directive.
4748 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4749 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4750 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4751
7dd009d8
JM
47522014-01-03 Joseph Myers <joseph@codesourcery.com>
4753
24db925a
JM
4754 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4755
7dd009d8
JM
4756 * math/auto-libm-test-in: Mark various tests with
4757 xfail-rounding:ldbl-128ibm.
4758 * math/auto-libm-test-out: Regenerated.
4759
396e3ecf
JM
47602014-01-02 Joseph Myers <joseph@codesourcery.com>
4761
819e5d50
JM
4762 [BZ #16386]
4763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4764 numbers with subnormal high part when calculating exponent.
4765
90b6a1e5
JM
4766 [BZ #16385]
4767 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4768 fabs.
4769
396e3ecf
JM
4770 [BZ #16384]
4771 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4772 M_LN2l.
4773 (__ieee754_acoshl): Use __log1pl not __log1p.
4774
6c8dbf00
OB
47752013-01-02 Ondřej Bílka <neleai@seznam.cz>
4776
4777 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4778 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4779 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4780 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4781 Convert to GNU style.
4782 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4783 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4784 memalign_check, __malloc_set_state): Likewise.
4785 * malloc/mallocbug.c (main): Likewise.
4786 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4787 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4788 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4789 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4790 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4791 * malloc/malloc.h: Likewise.
4792 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4793 memalignhook, reallochook, mabort): Likewise.
4794 * malloc/mcheck.h: Likewise.
4795 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4796 mmap64, mremap, munmap, dest): Likewise.
4797 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4798 * malloc/morecore.c (__default_morecore): Likewise.
4799 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4800 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4801 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4802 print_and_abort): Likewise.
4803 * malloc/obstack.h: Likewise.
4804 * malloc/set-freeres.c (__libc_freeres): Likewise.
4805 * malloc/tst-mallocstate.c (main): Likewise.
4806 * malloc/tst-mtrace.c (main): Likewise.
4807 * malloc/tst-realloc.c (do_test): Likewise.
4808
d4124212
SP
48092013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4810
9a3c6a6f
SP
4811 [BZ #16366]
4812 * nscd/netgroupcache.c (do_notfound): New function.
4813 (addgetnetgrentX): Use it.
4814
d4124212
SP
4815 [BZ # 16365]
4816 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4817 NSS_STATUS_NOTFOUND.
4818
97b9a009
JM
48192014-01-01 Joseph Myers <joseph@codesourcery.com>
4820
4821 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4823
d4697bc9
AM
48242014-01-01 Allan McRae <allan@archlinux.org>
4825
ddb3687f
AM
4826 * scripts/update-copyrights: Update configure input file suffix.
4827
88726d48
AM
4828 * NEWS: Update copyright year.
4829 * catgets/gencat.c: Likewise.
4830 * csu/version.c: Likewise.
4831 * debug/catchsegv.sh: Likewise.
4832 * debug/pcprofiledump.c: Likewise.
4833 * debug/xtrace.sh: Likewise.
4834 * elf/ldconfig.c: Likewise.
4835 * elf/ldd.bash.in: Likewise.
4836 * elf/pldd.c: Likewise.
4837 * elf/sotruss.ksh: Likewise.
4838 * elf/sprof.c: Likewise.
4839 * iconv/iconv_prog.c: Likewise.
4840 * iconv/iconvconfig.c: Likewise.
4841 * locale/programs/locale.c: Likewise.
4842 * locale/programs/localedef.c: Likewise.
4843 * login/programs/pt_chown.c: Likewise.
4844 * malloc/memusage.sh: Likewise.
4845 * malloc/memusagestat.c: Likewise.
4846 * malloc/mtrace.pl: Likewise.
4847 * manual/libc.texinfo: Likewise.
4848 * nscd/nscd.c: Likewise.
4849 * nss/getent.c: Likewise.
4850 * nss/makedb.c: Likewise.
4851 * posix/getconf.c: Likewise.
4852 * scripts/test-installation.pl: Likewise.
4853
d4697bc9
AM
4854 * All files with FSF copyright notices: Update copyright dates
4855 using scripts/update-copyrights.
4856 * intl/plural.c: Regenerated.
4857 * locale/programs/charmap-kw.h: Likewise.
4858 * locale/programs/locfile-kw.h: Likewise.
4859
c8590f9d
MF
48602013-12-31 Mike Frysinger <vapier@gentoo.org>
4861
4862 * sysdeps/unix/sysv/linux/configure: Regenerated.
4863 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4864 the linux/fanotify.h header.
4865 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4866 HAVE_LINUX_FANOTIFY_H is defined.
4867
b19221b9
SP
48682013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4869
dd1d85e5
SP
4870 * benchtests/cos-inputs: New inputs.
4871 * benchtests/sin-inputs: Likewise.
4872
1acbb90f
SP
4873 * benchtests/atan-inputs: New inputs. Fix name of multiple
4874 precision fallback inputs.
4875
4c012ed3
SP
4876 * benchtests/atanh-inputs: New inputs.
4877 * benchtests/tanh-inputs: Likewise.
4878
eff98324
SP
4879 * benchtests/acosh-inputs: New inputs.
4880 * benchtests/asinh-inputs: Likewise.
4881
ce641152
SP
4882 * benchtests/cosh-inputs: New inputs.
4883 * benchtests/sinh-inputs: Likewise.
4884
b19221b9
SP
4885 * benchtests/acos-inputs: Add more inputs.
4886 * benchtests/asin-inputs: Likewise.
4887
030a4976 48882013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4889
030a4976 4890 [BZ #16375]
9dcc8f11
VS
4891 * manual/arith.texi: Fix spelling.
4892 * manual/charset.texi: Likewise.
4893 * manual/errno.texi: Likewise.
4894 * manual/filesys.texi: Likewise.
4895 * manual/lang.texi: Likewise.
4896 * manual/llio.texi: Likewise.
4897 * manual/locale.texi: Likewise.
4898 * manual/message.texi: Likewise.
4899 * manual/resource.texi: Likewise.
4900 * manual/search.texi: Likewise.
4901 * manual/setjmp.texi: Likewise.
4902 * manual/stdio.texi: Likewise.
4903 * manual/string.texi: Likewise.
4904 * manual/sysinfo.texi: Likewise.
4905 * manual/time.texi: Likewise.
4906
11520a57
CD
49072013-12-27 Carlos O'Donell <carlos@redhat.com>
4908
4909 * po/sl.po: New file.
4910
471103ae
MF
49112013-12-27 Mike Frysinger <vapier@gentoo.org>
4912
4913 * .gitignore: Add core/.gdbinit/.gdb_history.
4914
6c9642ed
AM
49152013-12-27 Allan McRae <allan@archlinux.org>
4916
4917 [BZ #16369]
4918 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4919 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4920
3f637079
BM
49212013-12-24 Brooks Moses <bmoses@google.com>
4922
4923 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4924 all compilers that claim C++98 compliance, not just GCC.
4925 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4926 Likewise.
4927
abc26e99
MK
49282013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4929
4930 * NEWS: Restore accidentally deleted bug-fix entries.
4931
362b47fe
MK
49322013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4933 Ondřej Bílka <neleai@seznam.cz>
4934
4935 [BZ #15073]
4936 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4937 have_lock.
362b47fe 4938
b9bcbbcb
OB
49392013-12-23 Ondřej Bílka <neleai@seznam.cz>
4940
4941 [BZ #12986]
4942 * manual/stdio.texi (String Input Conversions): Clarify that character
4943 classes are not supported.
4944
fb55fcd2
AZ
49452013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4946
4947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4948
ef7344f0
JM
49492013-12-22 Joseph Myers <joseph@codesourcery.com>
4950
4f40e4b3
JM
4951 [BZ #16337]
4952 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4953 Calculate results for small negative arguments directly rather
4954 than using reflection formula with special underflow handling.
4955
ef7344f0
JM
4956 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4957 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4958 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4959 (fchflags): Likewise.
4960 (revoke): Likewise.
4961 (setlogin): Likewise.
4962 (sigaltstack): Likewise.
4963 (wait4): Likewise.
4964 (sigblock): Remove.
4965 (sigsetmask): Likewise.
4966 (wait3): Likewise.
4967 (waitpid): Likewise.
4968 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4969 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4970 file.
4971 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4972 * sysdeps/unix/bsd/Makefile: ... here.
4973 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4974 * sysdeps/unix/bsd/Versions: ... here.
4975 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4976 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4977 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4978 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4979 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4980 * sysdeps/unix/bsd/sigblock.c: ... here.
4981 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4982 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4983 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4984 * sysdeps/unix/bsd/sigvec.c: ... here.
4985 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4986 * sysdeps/unix/bsd/tcdrain.c: ... here.
4987 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4988 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4989 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4990 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4991 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4992 * sysdeps/unix/bsd/wait.c: ... here.
4993 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4994 * sysdeps/unix/bsd/wait3.c: ... here.
4995 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4996 * sysdeps/unix/bsd/waitpid.c: ... here.
4997
5b0626b9
JM
49982013-12-21 Joseph Myers <joseph@codesourcery.com>
4999
5000 [BZ #16356]
5001 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5002 round-to-nearest for [!USE_AS_EXPM1L].
5003 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5004 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5005 more tests of exp and exp10. Expect some exp10 tests to miss
5006 exceptions or fail in directed rounding modes.
5007 * math/auto-libm-test-out: Regenerated.
5008 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5009 (exp10_test_tonearest): New function.
5010 (exp10_towardzero_test_data): New array.
5011 (exp10_test_towardzero): New function.
5012 (exp10_downward_test_data): New array.
5013 (exp10_test_downward): New function.
5014 (exp10_upward_test_data): New array.
5015 (exp10_test_upward): New function.
5016 (main): Call the new functions.
5017 * sysdeps/i386/fpu/libm-test-ulps: Update.
5018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5019
7fda5682
JM
50202013-12-20 Joseph Myers <joseph@codesourcery.com>
5021
31e3a405
JM
5022 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5023 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5024 * math/auto-libm-test-out: Regenerated.
5025 * math/libm-test.inc (acosh_test_data): Add more tests.
5026 (atanh_test_data): Likewise.
5027 (ceil_test_data): Likewise.
5028 (copysign_test_data): Likewise.
5029 * sysdeps/i386/fpu/libm-test-ulps: Update.
5030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5031
85bff96a
JM
5032 * timezone/checktab.awk: Update from tzcode 2013i.
5033 * timezone/private.h: Likewise.
5034 * timezone/scheck.c: Likewise.
5035 * timezone/tzfile.h: Likewise.
5036 * timezone/tzselect.ksh: Likewise.
5037 * timezone/zdump.c: Likewise.
5038 * timezone/zic.c: Likewise.
5039
b7867a3b
JM
5040 * math/auto-libm-test-in: Add tests of cpow.
5041 * math/auto-libm-test-out: Regenerated.
5042 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5043 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5044 mpc_cc_c.
5045 (func_calc_desc): Add mpc_cc_c union field.
5046 (test_functions): Add cpow.
5047 (special_fill_2pi): New function.
5048 (special_real_inputs): Add 2pi.
5049 (calc_generic_results): Handle mpc_cc_c.
5050 * sysdeps/i386/fpu/libm-test-ulps: Update.
5051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5052
7fda5682
JM
5053 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5054 csqrt, ctan and ctanh.
5055 * math/auto-libm-test-out: Regenerated.
5056 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5057 (TEST_COND_x86): Likewise.
5058 (ccos_test_data): Use AUTO_TESTS_c_c.
5059 (ccosh_test_data): Likewise.
5060 (cexp_test_data): Likewise.
5061 (clog_test_data): Likewise.
5062 (csqrt_test_data): Likewise.
5063 (ctan_test_data): Likewise.
5064 (ctan_tonearest_test_data): Likewise.
5065 (ctan_towardzero_test_data): Likewise.
5066 (ctan_downward_test_data): Likewise.
5067 (ctan_upward_test_data): Likewise.
5068 (ctanh_test_data): Likewise.
5069 (ctanh_tonearest_test_data): Likewise.
5070 (ctanh_towardzero_test_data): Likewise.
5071 (ctanh_downward_test_data): Likewise.
5072 (ctanh_upward_test_data): Likewise.
5073 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5074 mpc_c_c.
5075 (func_calc_desc): Add mpc_c_c union field.
5076 (FUNC_mpc_c_c): New macro.
5077 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5078 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5079 ctanh.
5080 (special_fill_min_subnorm_p120): New function.
5081 (special_real_inputs): Add min_subnorm_p120.
5082 (calc_generic_results): Handle mpc_c_c.
5083 * sysdeps/i386/fpu/libm-test-ulps: Update.
5084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5085
5ff8d60e
SP
50862013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5087
392dd2de
SP
5088 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5089 do_sin_slow): New functions.
5090 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5091 cslow2, csloww1, csloww2): Use the new functions.
5092
84ba214c
SP
5093 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5094 Use M to change sign of result instead of X. Assume X is
5095 positive.
5096 (csloww1): Likewise.
5097 (__sin): Adjust.
5098 (__cos): Adjust.
5099
975195e4
SP
5100 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5101 arguments A and DA.
5102 (__sin): Adjust.
5103 (__cos): Likewise.
5104
5ff8d60e
SP
5105 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5106 (__cos): Likewise.
5107 (sloww1): Don't adjust sign of DX.
5108 (csloww1): Likewise.
5109 (sloww2): Use X directly and don't adjust sign of DX.
5110 (csloww2): Likewise.
5111
eb983568
JM
51122013-12-19 Joseph Myers <joseph@codesourcery.com>
5113
64a17f1a
JM
5114 * math/auto-libm-test-in: Add tests of cabs and carg.
5115 * math/auto-libm-test-out: Regenerated.
5116 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5117 (carg_test_data): Likewise.
5118 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5119 mpc_c_f.
5120 (func_calc_desc): Add mpc_c_f union field.
5121 (test_functions): Add cabs and carg.
5122 (calc_generic_results): Handle mpc_c_f.
5123
eb983568
JM
5124 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5125 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5126 as a macro and a compat symbol.
5127 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5128 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5129 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5130 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5131 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5132 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5133 not use .hidden.
5134 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5135 Likewise.
5136 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5137 Likewise.
5138 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5139 Likewise.
5140 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5141 Likewise.
5142 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5143 Likewise.
5144 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5145 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5146 from GLIBC_2.3.2.
5147
6eeb678a
AZ
51482013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5149
5150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5151
6f6fc482
JM
51522013-12-19 Joseph Myers <joseph@codesourcery.com>
5153
21fea2e2
JM
5154 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5155 trailing whitespace removed.
5156 * scripts/config.guess: Update to version 2013-11-29.
5157 * scripts/config.sub: Update to version 2013-10-01.
5158
6f6fc482
JM
5159 * math/auto-libm-test-in: Add tests of sincos.
5160 * math/auto-libm-test-out: Regenerated.
5161 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5162 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5163 mpfr_f_11.
5164 (func_calc_desc): Add mpfr_f_11 union field.
5165 (test_functions): Add sincos.
5166 (calc_generic_results): Handle mpfr_f_11.
5167 * sysdeps/i386/fpu/libm-test-ulps: Update.
5168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5169
83f5c32d
AS
51702013-12-19 Andreas Schwab <schwab@suse.de>
5171
5172 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5173 CALL_MCOUNT.
5174 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5175 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5176 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5177
c688b419
JM
51782013-12-19 Joseph Myers <joseph@codesourcery.com>
5179
335ee092
JM
5180 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5181 * sysdeps/i386/fpu/libm-test-ulps: Update.
5182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5183
f88acd39
JM
5184 [BZ #16293]
5185 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5186 round-to-nearest mode when using frndint.
5187 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5188 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5189 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5190 Likewise.
5191 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5192 sinh test to fail.
5193 * math/auto-libm-test-out: Regenerated.
5194 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5195 (TEST_COND_x86): Likewise.
5196 (expm1_tonearest_test_data): New array.
5197 (expm1_test_tonearest): New function.
5198 (expm1_towardzero_test_data): New array.
5199 (expm1_test_towardzero): New function.
5200 (expm1_downward_test_data): New array.
5201 (expm1_test_downward): New function.
5202 (expm1_upward_test_data): New array.
5203 (expm1_test_upward): New function.
5204 (main): Run the new test functions.
5205 * sysdeps/i386/fpu/libm-test-ulps: Update.
5206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5207
c688b419
JM
5208 * include/features.h: Update comment documenting feature test
5209 macros. Mention _DEFAULT_SOURCE in comment.
5210 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5211 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5212 _BSD_SOURCE and _SVID_SOURCE.
5213 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5214 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5215 !_SVID_SOURCE]: Likewise.
5216 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5217 (__USE_POSIX_IMPLICITLY): Define.
5218 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5219 (_POSIX_SOURCE): Undefine and redefine.
5220 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5221 (_POSIX_C_SOURCE): Likewise.
5222 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5223 (Feature Test Macros): Update documentation of default features.
5224
9f6e964c
RS
52252013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5226
5227 * benchtests/Makefile: Add bench-strtok.
5228 * benchtests/bench-strtok.c: New file: strtok benchtest.
5229
ee0a148a
AM
52302013-12-19 Allan McRae <allan@archlinux.org>
5231
5232 * manual/install.texi: Suppress menu for plain text output.
5233 * INSTALL: Regenerated.
5234
b9ab448f
BM
52352013-12-18 Brooks Moses <bmoses@google.com>
5236
5237 [BZ #15846]
5238 * misc/getauxval.c: Include errno.h.
5239 (__getauxval): Set errno to ENOENT if the requested type is not
5240 found.
5241 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5242 don't declare with __attribute_const__.
5243 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5244 * manual/startup.texi: Document that getauxval sets errno.
5245
23776487
JM
52462013-12-18 Joseph Myers <joseph@codesourcery.com>
5247
f889953b
JM
5248 * math/auto-libm-test-in: Add tests of jn and yn.
5249 * math/auto-libm-test-out: Regenerated.
5250 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5251 (yn_test_data): Likewise.
5252 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5253 mpfr_if_f.
5254 (func_calc_desc): Add mpfr_if_f union field.
5255 (FUNC_mpfr_if_f): New macro.
5256 (test_functions): Add jn and yn.
5257 (calc_generic_results): Assert type of second input for
5258 mpfr_ff_f. Handle mpfr_if_f.
5259 (output_for_one_input_case): Disable all checking for arguments
5260 fitting floating-point types in case of an integer argument.
5261 * sysdeps/i386/fpu/libm-test-ulps: Update.
5262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5263
23776487
JM
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5265 Don't expect fegetround reference in libm.so.
5266
cb756c6d
MS
52672013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5268
5269 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5270 $(config-cflags-nofma).
5271
2dec468f
JM
52722013-12-18 Joseph Myers <joseph@codesourcery.com>
5273
5953eb3a
JM
5274 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5275 * math/auto-libm-test-out: Regenerated.
5276
2dec468f
JM
5277 [BZ #16338]
5278 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5279 to determine exponent and adjust argument to have exponent of -1.
5280 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5281 log2.
5282 * math/auto-libm-test-out: Regenerated.
5283 * sysdeps/i386/fpu/libm-test-ulps: Update.
5284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5285
4d84e6ad
OB
52862013-12-18 Ondřej Bílka <neleai@seznam.cz>
5287
5288 * manual/probes.texi: Remove cases when per-thread arenas are
5289 disabled.
5290
1818483b
AS
52912013-12-18 Andreas Schwab <schwab@suse.de>
5292
5293 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5294 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5295 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5296 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5297 * sysdeps/i386/i686/multiarch/Makefile: Update.
5298 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5299
25de95bf
JM
53002013-12-17 Joseph Myers <joseph@codesourcery.com>
5301
5302 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5303 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5304
674762d9
PE
53052013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5306
ed27ed83 5307 [BZ #15968]
0748546f
PE
5308 Support TZ transition times < 00:00:00.
5309 This is needed for version-3 tz-format files; it supports time
5310 stamps past 2037 for America/Godthab (the only entry in the tz
5311 database for which this change is relevant).
5312 * manual/time.texi (TZ Variable): Document transition times
5313 from -167:59:59 through -00:00:01.
5314 * time/tzset.c (tz_rule): Time of day is now signed.
5315 (__tzset_parse_tz): Parse negative time of day.
5316
4480e934
PE
5317 Document TZ transition times >= 25:00:00.
5318 * manual/time.texi (TZ Variable): Document transition times from
5319 25:00:00 through 167:59:59. These are already supported, and this
5320 support will help with version-3 tz-format files.
5321
69947401
PE
5322 * manual/time.texi (TZ Variable): Modernize North America example
5323 to reflect current (i.e., 2007-and-later) daylight saving rules.
5324
674762d9
PE
5325 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5326
7011c262
JM
53272013-12-17 Joseph Myers <joseph@codesourcery.com>
5328
2fc6557e
JM
5329 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5330 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5333 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5334 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5335 * sysdeps/unix/bsd/clock.c: Likewise.
5336 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5337 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5338 * sysdeps/unix/bsd/init-posix.c: Likewise.
5339 * sysdeps/unix/bsd/poll.c: Likewise.
5340 * sysdeps/unix/bsd/ptsname.c: Likewise.
5341 * sysdeps/unix/bsd/seekdir.c: Likewise.
5342 * sysdeps/unix/bsd/setegid.c: Likewise.
5343 * sysdeps/unix/bsd/seteuid.c: Likewise.
5344 * sysdeps/unix/bsd/setgid.c: Likewise.
5345 * sysdeps/unix/bsd/setrgid.c: Likewise.
5346 * sysdeps/unix/bsd/setruid.c: Likewise.
5347 * sysdeps/unix/bsd/setsid.c: Likewise.
5348 * sysdeps/unix/bsd/setuid.c: Likewise.
5349 * sysdeps/unix/bsd/sigaction.c: Likewise.
5350 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5351 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5352 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5353 * sysdeps/unix/bsd/telldir.c: Likewise.
5354 * sysdeps/unix/bsd/times.c: Likewise.
5355 * sysdeps/unix/bsd/usleep.c: Likewise.
5356
029c7b25
JM
5357 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5358 ($(objpfx)libbsd-compat.a): Remove rule.
5359
7011c262
JM
5360 * include/features.h (__FAVOR_BSD): Do not define.
5361 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5362 features conflicting with POSIX.
5363 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5364 (_BSD_SOURCE): Remove description of not being a subset of other
5365 feature test macros.
5366 * manual/job.texi (getpgrp): Do not document BSD version.
5367 (getpgid): Do not document by reference to BSD getpgrp.
5368 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5369 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5370 * signal/signal.h [__FAVOR_BSD]: Likewise.
5371 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5372 instead of making contents conditional on [__FAVOR_BSD].
5373 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5374
affb6f78
AZ
53752013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5376
5377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5378
c88769dd
JM
53792013-12-17 Joseph Myers <joseph@codesourcery.com>
5380
6432a540
JM
5381 [BZ #16314]
5382 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5383 values below 2**-450, not 2**-500.
5384 * math/auto-libm-test-in: Don't allow spurious underflow from
5385 hypot.
5386 * math/auto-libm-test-out: Regenerated.
5387
c88769dd
JM
5388 [BZ #16316]
5389 [BZ #16330]
5390 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5391 values of ha and hb and sort them after adjusting subnormal
5392 arguments.
5393 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5394 Likewise.
5395 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5396 values of ea and eb and sort them after adjusting subnormal
5397 arguments.
5398 * math/auto-libm-test-in: Do not expect some hypot tests of
5399 subnormals to fail. Add more hypot tests.
5400 * math/auto-libm-test-out: Regenerated.
5401
29618f6b
KK
54022013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5403
5404 [BZ #13304]
5405 * sysdeps/sh/s_fma.c: New file.
5406 * sysdeps/sh/s_fmaf.c: New file.
5407 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5408 version.
5409 * sysdeps/sh/Implies: Add sh/soft-fp.
5410
eacfdfbf
RM
54112013-12-16 Roland McGrath <roland@hack.frob.com>
5412
5413 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5414 level of indirection to members `objname', `errstring', `malloced'.
5415 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5416 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5417 it as the __longjmp argument (just pass 1 instead).
5418 (_dl_catch_error): Initialize C with argument pointers and address of
5419 volatile local ERRCODE rather than copying values out of C at return.
5420
ff362e5b
JM
54212013-12-16 Joseph Myers <joseph@codesourcery.com>
5422
5423 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5424 * math/auto-libm-test-out: Regenerated.
5425 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5426 (hypot_test_data): Likewise.
5427 (pow_test_data): Likewise.
5428 (pow_tonearest_test_data): Likewise.
5429 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5430 mpfr_ff_f.
5431 (func_calc_desc): Add mpfr_ff_f union field.
5432 (FUNC_mpfr_ff_f): New macro.
5433 (test_functions): Add atan2, hypot and pow.
5434 (special_fill_min): New function.
5435 (special_fill_minus_min): Likewise.
5436 (special_fill_min_subnorm): Likewise.
5437 (special_fill_minus_min_subnorm): Likewise.
5438 (special_real_inputs): Add min, -min, min_subnorm and
5439 -min_subnorm.
5440 (calc_generic_results): Handle mpfr_ff_f.
5441 * sysdeps/i386/fpu/libm-test-ulps: Update.
5442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5443
5764c27f
WN
54442013-12-16 Will Newton <will.newton@linaro.org>
5445
5446 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5447 (Aligned Memory Blocks): Add documentation for aligned_alloc
5448 and suggest it as an alternative to posix_memalign.
5449 (Hooks for Malloc): Document __memalign_hook is also called
5450 for aligned_alloc. (Summary of Malloc): Add summary for
5451 aligned alloc. Document __memalign_hook is also called
5452 for aligned_alloc.
5453
0a096e44
WN
54542013-12-16 Will Newton <will.newton@linaro.org>
5455
5456 * manual/memory.texi (Malloc Examples): Clarify default
5457 alignment documentation. Suggest posix_memalign rather
5458 than memalign or valloc.
5459 (Aligned Memory Blocks): Remove suggestion to use memalign
5460 or valloc. Remove obsolete comment about BSD.
5461 Document memalign errno values and mark the function obsolete.
5462 Document posix_memalign returned error codes. Mark valloc
5463 as obsolete. (Hooks for Malloc): __memalign_hook is also
5464 called for posix_memalign and valloc.
5465 (Summary of Malloc): Add posix_memalign to function summary.
5466 __memalign_hook is also called for posix_memalign and valloc.
5467
8d561986
SP
54682013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5469
5470 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5471 TAYLOR_SIN.
5472 (__sin): Adjust.
5473 (__cos): Likewise.
5474 (sloww): Use mynumber union. Expand ternary operator into
5475 if-else statements.
5476 (cslow): use mynumber union.
5477
73616a74
AM
54782013-12-16 Allan McRae <allan@archlinux.org>
5479
9e8ac24b
AM
5480 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5481 * configure: Regenerated.
5482
6f8e37eb
AM
5483 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5484
8894bad3
AM
5485 [BZ #14120]
5486 * configure.ac: Added --enable-maintainer-mode. Check for
5487 autoconf when enabled.
5488 * configure: Regenerated.
5489
73616a74
AM
5490 * nscd/nscd.service: New file.
5491 * nscd/nscd.tmpfiles: New file.
5492
584b18eb
OB
54932013-12-14 Ondřej Bílka <neleai@seznam.cz>
5494
5495 [BZ #12100]
5496 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5497 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5498 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5499 (strstr): Add __strstr_sse2_unaligned ifunc.
5500 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5501 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5502 (strcasestr): Remove __strcasestr_sse42 ifunc.
5503 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5504 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5506
8a5c7897
KK
55072013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5508
5509 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5510 * sysdeps/sh/bits/fenv.h: ... here.
5511 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5512
fd712ef3
AZ
55132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5514
5515 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5516
42fcb46c
AZ
55172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5518
5519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5520 hypotf multiarch implementations.
5521 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5522 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5523 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5524 multiarch hypot for PPC64.
5525 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5526 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5527 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5528 multiarch hypotf for PPC64.
5529
83efded4
AZ
55302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5531
5532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5533 modff multiarch implementations.
5534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5537 multiarch modf for PPC64.
5538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5541 multiarch modff for PPC64.
5542
43e246d2
AZ
55432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5544
5545 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5546 and logl multiarch implementations.
5547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5550 multiarch logb for PPC64.
5551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5554 multiarch logb for PPC64.
5555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5558 multiarch logb for PPC64.
5559
8fdad123
AZ
55602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5561
5562 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5563 isinff multiarch implementation.
5564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5565 file.
5566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5568 multiarch isinf for PPC64.
5569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5570 file.
5571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5572 multiarch isinff for PPC64.
5573
1481d706
AZ
55742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5575
5576 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5577 finitef multiarch implementation.
5578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5579 file.
5580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5582 multiarch finite for PPC64.
5583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5584 file.
5585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5586 multiarch finitef for PPC64.
5587
5ccd5fc8
AZ
55882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5589
5590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5591 lrint multiarch implementation.
5592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5593 file.
5594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5596 multiarch llrint for PPC64.
5597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5598 multiarch lrint for PPC64.
5599
2568f3fa
AZ
56002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5601
5602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5603 copysignf multiarch implementation.
5604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5605 file.
5606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5607 file.
5608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5609 multiarch copysign for PPC64.
5610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5611 multiarch copysignf for PPC64.
5612
1cb341fd
AZ
56132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5614
5615 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5616 multiarch implementation.
5617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5618 file.
5619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5620 file.
5621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5622 file.
5623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5624 file.
5625 multiarch llround for PPC64.
5626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5627 multiarch trunc for PPC64.
5628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5629 multiarch truncf for PPC64.
5630
59a3e194
AZ
56312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5632
5633 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5634 multiarch implementation.
5635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5636 file.
5637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5638 file.
5639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5640 file.
5641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5642 file.
5643 multiarch llround for PPC64.
5644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5645 multiarch round for PPC64.
5646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5647 multiarch roundf for PPC64.
5648
357fd3b4
AZ
56492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5650
5651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5652 multiarch implementation.
5653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5654 file.
5655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5656 file.
5657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5658 file.
5659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5660 file.
5661 multiarch llround for PPC64.
5662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5663 multiarch floor for PPC64.
5664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5665 multiarch floorf for PPC64.
5666
96770f12
AZ
56672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5668
5669 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5670 multiarch implementation.
5671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5672 file.
5673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5674 file.
5675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5676 file.
5677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5678 file.
5679 multiarch llround for PPC64.
5680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5681 multiarch ceil for PPC64.
5682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5683 multiarch ceilf for PPC64.
5684
c3627f6e
AZ
56852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5686
5687 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5688 multiarch implementation.
5689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5690 file.
5691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5692 file.
5693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5694 file.
5695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5696 multiarch llround for PPC64.
5697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5698 multiarch lround for PPC64.
5699
b2284ad7
AZ
57002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5701
5702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5703 multiarch implementation.
5704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5707 file.
5708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5711 multiarch isnan for PPC64.
5712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5713 multiarch isnanf for PPC64.
5714
69bbc63d
AZ
57152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5716
5717 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5718 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5719 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5720 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5721 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5723
c24517c9
AZ
57242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5725
5726 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5727 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5729 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5730
a52374e8
AZ
57312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5732
5733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5734 multiarch implementations.
5735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5736 (__libc_ifunc_impl_list): Likewise.
5737 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5738 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5739 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5740 multiarch stpcpy for PPC64.
5741
7f5ec113
AZ
57422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5743
5744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5745 multiarch implementations.
5746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5747 (__libc_ifunc_impl_list): Likewise.
5748 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5749 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5750 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5751 multiarch strcpy for PPC64.
5752
e28bcd42
AZ
57532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5754
5755 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5756 redefine function name.
5757 (_wordcopy_fwd_dest_aligned): Likewise.
5758 (_wordcopy_bwd_aligned): Likewise.
5759 (_wordcopy_bwd_dest_aligned): Likewise.
5760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5761 multiarch implementations.
5762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5763 (__libc_ifunc_impl_list): Likewise.
5764 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5765 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5766 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5767 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5768 multiarch wcscpy for PPC64.
5769
92cacfce
AZ
57702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5771
5772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5773 multiarch implementations.
5774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5775 (__libc_ifunc_impl_list): Likewise.
5776 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5777 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5778 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5779 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5780 multiarch wcscpy for PPC64.
5781
7b714620
AZ
57822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5783
5784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5785 multiarch implementations.
5786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5787 (__libc_ifunc_impl_list): Likewise.
5788 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5789 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5790 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5791 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5792 multiarch wcsrchr for PPC64.
5793
16fd2ae3
AZ
57942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5795
5796 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5797 multiarch implementations.
5798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5799 (__libc_ifunc_impl_list): Likewise.
5800 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5801 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5802 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5803 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5804 multiarch wcschr for PPC64.
5805
9ee2969b
AZ
58062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5807
5808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5809 multiarch implementations.
5810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5811 (__libc_ifunc_impl_list): Likewise.
5812 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5813 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5814 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5815 multiarch strchrnul for PPC64.
5816
372dc060
AZ
58172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5818
5819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5820 implementations.
5821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5822 (__libc_ifunc_impl_list): Likewise.
5823 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5824 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5825 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5826 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5827 strchr for PPC64.
5828
24c2c3b9
AZ
58292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5830
5831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5832 implementations.
5833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5834 (__libc_ifunc_impl_list): Likewise.
5835 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5836 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5837 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5838 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5839 strncmp for PPC64.
5840
1c92d9a0
AZ
58412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5842
5843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5844 multiarch implementations.
5845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5846 (__libc_ifunc_impl_list): Likewise.
5847 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5848 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5849 strncasecmp for PPC64.
5850 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5851 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5852 multiarch strncasecmp_l for PPC64.
5853
17de3ee3
AZ
58542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5855
5856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5857 multiarch implementations.
5858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5859 (__libc_ifunc_impl_list): Likewise.
5860 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5861 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5862 multiarch strcasecmp for PPC64.
5863 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5864 file.
5865 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5866 multiarch strcasecmp_l for PPC64.
5867
62982bf9
AZ
58682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5869
5870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5871 implementations.
5872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5873 (__libc_ifunc_impl_list): Likewise.
5874 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5875 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5876 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5877 strnlen for PPC64.
5878
a65f4904
AZ
58792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5880
5881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5882 implementations.
5883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5884 (__libc_ifunc_impl_list): Likewise.
5885 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5886 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5887 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5888 strlen for PPC64.
5889
1fd005ad
AZ
58902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5891
5892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5893 implementations.
5894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5895 (__libc_ifunc_impl_list): Likewise.
5896 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5897 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5898 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5899 rawmemrchr for PPC64.
5900
cd05ba91
AZ
59012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5902
5903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5904 implementation.
5905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5906 (__libc_ifunc_impl_list): Likewise.
5907 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5908 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5909 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5910 memrchr for PPC64.
5911
870f8676
AZ
59122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5913
5914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5915 implementation.
5916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5917 (__libc_ifunc_impl_list): Likewise.
5918 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5919 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5920 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5921 memchr for PPC64.
5922
f00be62b
AZ
59232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924
5925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5926 implementation.
5927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5928 (__libc_ifunc_impl_list): Likewise.
5929 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5930 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5931 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5932 mempcpy for PPC64.
5933
8a29a3d0
AZ
59342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935
5936 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5937 avoid cretion of __bzero symbol.
5938 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5939 Likewise.
5940 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5941 Likewise.
5942 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5943 Likewise.
5944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5945 multiarch implementations.
5946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5947 (__libc_ifunc_impl_list): Likewise.
5948 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5949 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5950 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5951 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5952 bzero for PPC32.
5953 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5954 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5955 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5956 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5957 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5958 memset for PPC64.
5959 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5960
07253fcf
AZ
59612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5962
5963 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5965 implementations.
5966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5967 (__libc_ifunc_impl_list): Likewise.
5968 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5969 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5970 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5971 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5972 memcmp for PPC64.
5973
b5beafbc
AZ
59742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5975
5976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5977 multiarch for POWER/PPC64.
5978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5979 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5980 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5981 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5982 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5983 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5984 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5985 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5986 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5987 memcpy for PPC64.
5988
5e6a4d4b
AZ
59892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5990
5991 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5992 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5993 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5994 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5995 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5996 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5997 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5998 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5999 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6000 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6001 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6002 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6003 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6004 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6005 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6013
ddfab6dc
KK
60142013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6015
6016 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6017
19b5525e
SP
60182013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6019
6020 * benchtests/Makefile (bench): Add exp2 and log2.
6021 (LDLIBS-bench-exp2): Add -lm.
6022 (LDLIBS-bench-log2): Likewise.
6023 * benchtests/exp2-inputs: New inputs file.
6024 * benchtests/log2-inputs: New inputs file.
6025 * benchtests/log-inputs: Add new inputs.
6026 * benchtests/tan-inputs: Likewise.
6027
196f7f5d
SP
60282013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6029
7a74607f
SP
6030 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6031 definition...
6032 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6033 csloww1, csloww2): ... from here.
6034
196f7f5d
SP
6035 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6036 instead of structures.
6037 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6038 (POLYNOMIAL): Likewise.
6039 (TAYLOR_SLOW): Likewise.
6040 (__sin): Likewise.
6041 (__cos): Likewise.
6042 (slow1): Likewise.
6043 (slow2): Likewise.
6044 (sloww): Likewise.
6045 (sloww1); Likewise.
6046 (sloww2): Likewise.
6047 (bsloww1): Likewise.
6048 (bsloww2): Likewise.
6049 (cslow2): Likewise.
6050 (csloww): Likewise.
6051 (csloww1): Likewise.
6052 (csloww2): Likewise.
6053
0dfa665c
OB
60542013-12-10 Ondřej Bílka <neleai@seznam.cz>
6055
6056 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6057 (__malloc_assert, __libc_realloc, __libc_calloc,
6058 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6059 memcpy and memset.
6060 * malloc/hooks.c (realloc_check): Likewise.
6061
5782a80f
OB
60622013-12-10 Ondřej Bílka <neleai@seznam.cz>
6063
6064 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6065 * malloc/arena.c: Remove PER_THREAD conditional.
6066 [!PER_THREAD]: Remove code.
6067 (ptmalloc_unlock_all2): Likewise.
6068 (ptmalloc_init): Likewise.
6069 (_int_new_arena): Likewise.
6070 (arena_get2): Likewise.
6071 * malloc/hooks.c (__malloc_get_state): Likewise.
6072 (__malloc_set_state): Likewise.
6073 * malloc/malloc.c: Likewise.
6074 (struct malloc_state): Likewise.
6075 (struct malloc_par): Likewise.
6076 (__libc_realloc): Likewise.
6077 (__libc_mallopt): Likewise.
6078
aeb95445
AZ
60792013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6080
6081 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6082
e8349efd
OB
60832013-12-09 Ondřej Bílka <neleai@seznam.cz>
6084
6085 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6086 macro to a function. Check for zero perturb_byte.
6087 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6088
f3eeb3fc
OB
60892013-12-09 Ondřej Bílka <neleai@seznam.cz>
6090
6091 * malloc/malloc.c: (force_reg): Remove.
6092 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6093 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6094 force_reg by atomic_forced_read.
6095 * malloc/arena.c (ptmalloc_init): Likewise.
6096 * malloc/hooks.c (top_check): Likewise.
6097
be2f9009
AZ
60982013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6099
6100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6101
e7b914bd
MT
61022013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6103
6104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6105
9f0be4f8
JM
61062013-12-08 Joseph Myers <joseph@codesourcery.com>
6107
6108 * math/auto-libm-test-in: Add tests of lgamma.
6109 * math/auto-libm-test-out: Regenerated.
6110 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6111 (M_LOG_2_SQRT_PIl): Likewise.
6112 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6113 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6114 mpfr_f_f1.
6115 (func_calc_desc): Add mpfr_f_f1 union field.
6116 (ARGS1): New macro.
6117 (ARGS2): Likewise.
6118 (ARGS3): Likewise.
6119 (ARGS4): Likewise.
6120 (RET1): Likewise.
6121 (RET2): Likewise.
6122 (CALC): Likewise.
6123 (FUNC): Likewise.
6124 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6125 (test_functions): Add lgamma.
6126 (calc_generic_results): Handle mpfr_f_f1.
6127 * sysdeps/i386/fpu/libm-test-ulps: Update.
6128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6129
24eeafdb
AZ
61302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6131
6132 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6133 __mpn_add_n for PowerPC64/POWER7.
6134 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6135 __mpn_sub_n for PowerPC64/POWER7.
6136
4a2c0fd4
AZ
61372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6138
6139 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6140 __mpn_addmul_1 for PowerPC64.
6141 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6142 __mpn_submul_1 for PowerPC64.
6143 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6144 for PowerPC64.
6145 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6146 for PowerPC64.
6147
4b5b548c
FS
61482013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6149
6150 [BZ #15089]
6151 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6152
0a3ac0aa
AZ
61532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6154
6155 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6156
ccdc8438
AZ
61572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6158
6159 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6160 add multiarch folders.
6161 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6162 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6163 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6164 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6165 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6166 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6167 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6168 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6169 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6170 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6171 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6178
2e973d99
AZ
61792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6180
6181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6182 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6184 New file.
6185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6186 New file.
6187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6188 multiarch __ieee754_hypot for PowerPC32.
6189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6190 New file.
6191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6192 New file.
6193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6194 multiarch __ieee754_hypotf for PowerPC32.
6195
2d9470b2
AZ
61962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6197
6198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6199 long_double_symbol only if __logbl is defined.
6200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6201 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6202 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6203 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6204 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6205 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6206 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6207 path for implementation.
6208 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6209 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6211 logb, and logbl multiarch implementations for PowerPC32.
6212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6213 file.
6214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6215 file.
6216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6217 multiarch logb for PowerPC32.
6218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6219 file.
6220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6221 file.
6222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6223 multiarch logbf for PowerPC32.
6224 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6226 file.
6227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6228 multiarch logbl implementation for PowerPC32.
6229
5212ffce
AZ
62302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6231
6232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6233 and modff multiarch implementations.
6234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6235 New file.
6236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6237 New file.
6238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6239 multiarch modf for PowerPC32.
6240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6241 New file.
6242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6243 New file.
6244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6245 multiarch modff for PowerPC32.
6246
79dccf31
AZ
62472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6248
6249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6250 and lrintf multiarch implementations.
6251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6252 New file.
6253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6254 New file.
6255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6256 multiarch lrint for PowerPC32.
6257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6258 file: multiarch lrintf for PowerPC32.
6259
deb66480
AZ
62602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6261
6262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6263 and lroundf multiarch implementations.
6264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6265 New file.
6266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6267 New file.
6268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6269 New file.
6270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6271 multiarch lround for PowerPC32.
6272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6273 file: multiarch lroundf for PowerPC32.
6274
264b036b
AZ
62752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6276
6277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6278 copysign and copysignf multiarch implementations.
6279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6280 New file.
6281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6282 New file.
6283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6284 file: multiarch copysign for PowerPC32.
6285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6286 file: multiarch copysignf for PowerPC32.
6287
d47db6c9
AZ
62882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6289
6290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6291 and truncf multiarch implementations.
6292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6293 New file.
6294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6295 file.
6296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6297 multiarch trunc for PowerPC32.
6298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6299 New file.
6300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6301 New file.
6302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6303 multiarch truncf for PowerPC32.
6304
ddb60b5a
AZ
63052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6306
6307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6308 and roundf multiarch implementations.
6309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6310 New file.
6311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6312 file.
6313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6314 multiarch round for PowerPC32.
6315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6316 New file.
6317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6318 New file.
6319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6320 multiarch roundf for PowerPC32.
6321
bedcf49b
AZ
63222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6323
6324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6325 and floorf multiarch implementations.
6326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6327 New file.
6328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6329 file.
6330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6331 multiarch floor for PowerPC32.
6332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6333 New file.
6334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6335 New file.
6336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6337 multiarch floorf for PowerPC32.
6338
35ae5b40
AZ
63392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6340
6341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6342 and ceilf multiarch implementations.
6343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6344 New file.
6345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6346 file.
6347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6348 multiarch ceil for PowerPC32.
6349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6350 New file.
6351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6352 file.
6353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6354 multiarch ceilf for PowerPC32.
6355
ae1a4cd9
AZ
63562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357
6358 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6359 is defined.
6360 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6361 FINITEF is defined.
6362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6363 and finitef multiarch implementations.
6364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6365 New file.
6366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6367 file.
6368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6369 multiarch finite for PowerPC32.
6370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6371 New file.
6372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6373 file: multiarch finitef for PowerPC32.
6374
64fffd65
AZ
63752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6376
6377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6378 and isinff multiarch implementations.
6379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6380 file.
6381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6382 file.
6383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6384 multiarch isinf for PowerPC32.
6385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6386 New file.
6387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6388 multiarch isinff for PowerPC32.
6389
8e4e7ba2
AZ
63902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6391
6392 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6393 alias when __isnan is defined.
6394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6395 and isnanf multiarch implementations.
6396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6397 file.
6398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6399 file.
6400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6401 file.
6402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6403 file.
6404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6405 multiarch isnan for PowerPC32.
6406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6407 New file.
6408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6409 New file.
6410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6411 multiarch isnanf for PowerPC32.
6412
ddba588e
AZ
64132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6414
6415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6416 and sqrtf multiarch implementations.
6417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6418 file.
6419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6420 file.
6421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6422 multiarch sqrt for PowerPC32.
6423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6424 file.
6425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6426 file.
6427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6428 multiarch sqrtf for PowerPC32.
6429
0f96a2f0
AZ
64302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6431
6432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6433 and llroundf multiarch implementations.
6434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6435 New file.
6436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6437 New file.
6438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6439 New file.
6440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6441 file: multiarch llround for PowerPC32.
6442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6443 file: multiarch llroundf for PowerPC32.
6444
c9b5d79e
AZ
64452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6446
6447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6448 multiarch PowerPC32 fpu implementations.
6449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6450 New file.
6451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6452 New file.
6453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6454 multiarch llrint for PowerPC32.
6455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6456 New file.
6457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6458 New file.
6459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6460 file.
6461
9cbb3aab
AZ
64622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6463
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6465
ea5a72f8
AZ
64662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6467
6468 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6469 file.
6470 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6471 file.
6472 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6473 file.
6474 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6475 multiarch wordcopy for PPC32.
6476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6477 wordcopy objects.
6478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6479 (__libc_ifunc_impl_list): Likewise.
6480 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6481 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6482 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6483 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6484 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6485 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6486
93be09e7
AZ
64872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6488
6489 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6490 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6491 file.
6492 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6493 file.
6494 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6495 file.
6496 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6497 multiarch wcscpy for PPC32.
6498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6499 multiarch objects.
6500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6501 (__libc_ifunc_impl_list): Likewise.
6502 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6503 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6504 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6505 sysdeps/powerpc/power6/wcscpy.c.
6506
bb04e529
AZ
65072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6508
6509 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6510 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6511 file.
6512 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6513 file.
6514 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6515 file.
6516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6517 multiarch wcsrchr for PPC32.
6518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6519 multiarch objects.
6520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6521 (__libc_ifunc_impl_list): Likewise.
6522 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6523 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6524 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6525 sysdeps/powerpc/power6/wcsrchr.c.
6526
05b5cd1c
AZ
65272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6528
6529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6530 file.
6531 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6532 file.
6533 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6534 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6535 multiarch wcschr for PPc32.
6536 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6537 multiarch objects.
6538 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6539 (__libc_ifunc_impl_list): Likewise.
6540 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6541 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6542 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6543 sysdeps/powerpc/power6/wcschr.c.
6544
ba964147
AZ
65452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6546
6547 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6548 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6549 file.
6550 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6551 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6552 file: multiarch strchr for PPC32.
6553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6554 multiarch objects.
6555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6556 (__libc_ifunc_impl_list): Likewise.
6557
31c81aaa
AZ
65582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6559
6560 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6561 name.
6562 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6563 file.
6564 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6565 file.
6566 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6567 multiarch strchrnul for PPC32.
6568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6569 multiarch objects.
6570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6571 (__libc_ifunc_impl_list): Likewise.
6572
0d0607d9
AZ
65732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6574
6575 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6576 file.
6577 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6578 multiarch strncasecmp for PPC32.
6579 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6580 file.
6581 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6582 multiarch strncasecmp_l for PPC32.
6583 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6584 strncasecmp multiarch objects.
6585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6586 (__libc_ifunc_impl_list): Likewise.
6587
4dfd5c86
AZ
65882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6589
6590 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6591 file.
6592 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6593 multiarch strncasecmp for PPC32.
6594 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6595 New file.
6596 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6597 multiarch strcasecmp_l for PPC32.
6598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6599 multiarch objects.
6600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6601 (__libc_ifunc_impl_list): Likewise.
6602
a19e01a3
AZ
66032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6604
6605 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6606 file.
6607 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6608 file.
6609 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6610 multiarch strncmp for PPC32.
6611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6612 multiarch objects.
6613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6614 (__libc_ifunc_impl_list): Likewise.
6615
ae9cf7a2
AZ
66162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617
6618 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6619 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6620 file.
6621 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6622 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6623 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6624 multiarch objects.
6625 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6626 (__libc_ifunc_impl_list): Likewise.
6627
3148bb7d
AZ
66282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6629
6630 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6631 file.
6632 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6633 file.
6634 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6635 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6636 multiarch objects.
6637 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6638 (__libc_ifunc_impl_list): Likewise.
6639
7af8b946
AZ
66402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6641
6642 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6643 file.
6644 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6645 file.
6646 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6647 multiarch rawmemchr for PPC32.
6648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6649 multiarch objects.
6650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6651 (__libc_ifunc_impl_list): Likewise.
6652
03a6aa6a
AZ
66532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6654
6655 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6656 file.
6657 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6658 file.
6659 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6660 file: memrchr multiarch for PPC32.
6661 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6662 multiarch objects.
6663 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6664 (__libc_ifunc_impl_list): Likewise.
6665
1c62e6d9
AZ
66662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6667
6668 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6669 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6670 file.
6671 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6672 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6673 multiarch memchr for PPC32.
6674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6675 multiarch objects.
6676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6677 (__libc_ifunc_impl_list): Likewise.
6678
87da8bdb
AZ
66792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6680
6681 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6682 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6683 file.
6684 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6685 file.
6686 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6687 file: multiarch mempcpy for PPC32.
6688 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6689 multiarch objects.
6690 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6691 (__libc_ifunc_impl_list): Likewise.
6692
20ed4714
AZ
66932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6694
6695 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6696 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6697 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6698 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6699 multiarch bzero for PPC32.
6700 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6701 file.
6702 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6703 file.
6704 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6705 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6706 file: multiarch memset for PPC32.
6707 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6709 memset multiarch objects.
6710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6711 (__libc_ifunc_impl_list): Likewise.
6712
ab3e3a46
AZ
67132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6714
6715 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6716 file.
6717 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6718 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6719 memcmp for PPC32.
6720 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6722 multiarch objects.
6723 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6724 (__libc_ifunc_impl_list): Likewise.
6725
930de6f0
AZ
67262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6727
6728 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6729 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6730 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6731 file.
6732 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6733 file.
6734 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6735 file.
6736 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6737 multiarch memcpy for PPC32.
6738 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6739 multiarch objects.
6740 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6741 (__libc_ifunc_impl_list): Likewise.
6742
4c628e00
AZ
67432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6744
6745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6746 support multiarch for POWER/PPC32.
6747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6748 Likewise.
6749 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6751 Implies file to make multiarch folder appers before the fpu and
6752 default folder for power4 configuration.
6753
f4479220
SP
67542013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6755
6756 * scripts/bench.pl: Append volatile keyword to type.
6757
8517800f
KK
67582013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6759
6760 * sysdeps/sh/sotruss-lib.c: New file.
6761 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6762
180138f1
AZ
67632013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6764
6765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6766
bbf37bdc
JM
67672013-12-05 Joseph Myers <joseph@codesourcery.com>
6768
e47cc4e0
JM
6769 [BZ #6810]
6770 * math/w_tgamma.c: Include <errno.h>.
6771 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6772 * math/w_tgammaf.c: Include <errno.h>.
6773 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6774 * math/w_tgammal.c: Include <errno.h>.
6775 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6776 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6777 underflow. Add more tgamma tests.
6778 * math/auto-libm-test-out: Regenerated.
6779 * sysdeps/i386/fpu/libm-test-ulps: Update.
6780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6781
bbf37bdc
JM
6782 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6783 sin, sinh, tan, tanh, tgamma, y0 and y1.
6784 * math/auto-libm-test-out: Regenerated.
6785 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6786 (TEST_COND_x86): Likewise.
6787 (M_E2l): Remove macro.
6788 (M_E3l): Likewise.
6789 (M_2_SQRT_PIl): Likewise.
6790 (M_SQRT_PIl): Likewise.
6791 (M_1_DIV_El): Likewise.
6792 (log_test_data): Use AUTO_TESTS_f_f.
6793 (log10_test_data): Likewise.
6794 (log1p_test_data): Likewise.
6795 (log2_test_data): Likewise.
6796 (sin_test_data): Likewise.
6797 (sin_tonearest_test_data): Likewise.
6798 (sin_towardzero_test_data): Likewise.
6799 (sin_downward_test_data): Likewise.
6800 (sin_upward_test_data): Likewise.
6801 (sinh_test_data): Likewise.
6802 (sinh_tonearest_test_data): Likewise.
6803 (sinh_towardzero_test_data): Likewise.
6804 (sinh_downward_test_data): Likewise.
6805 (sinh_upward_test_data): Likewise.
6806 (tan_test_data): Likewise.
6807 (tan_tonearest_test_data): Likewise.
6808 (tan_towardzero_test_data): Likewise.
6809 (tan_downward_test_data): Likewise.
6810 (tan_upward_test_data): Likewise.
6811 (tanh_test_data): Likewise.
6812 (tgamma_test_data): Likewise.
6813 (y0_test_data): Likewise.
6814 (y1_test_data): Likewise.
6815 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6816 (special_real_inputs): Add pi/4.
6817 * sysdeps/i386/fpu/libm-test-ulps: Update.
6818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6819
eb5ad6b9
AZ
68202013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6821
6822 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6823 "longjmp_target" static probes.
6824 (__longjmp): Rename to __longjmp_symbol.
6825 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6826 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6827 on which longjmp to generate.
6828 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6829 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6830 probe.
6831 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6832 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6833 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6834 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6835 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6836 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6838 __longjmp_symbol based on which __longjmp to generate.
6839 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6840 probe.
6841 (setjmp): Rename to setjmp_symbol.
6842 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6843 (_setjmp): Rename to _setjmp_symbol.
6844 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6845 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6846 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6847 which setjmp to generate.
6848 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6849 "longjmp_target" static probes.
6850
d136c6dc
SP
68512013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6852
9298ecba
SP
6853 * benchtests/README: Add note about output arguments.
6854 * benchtests/bench-sincos.c: Remove file.
6855 * benchtests/sincos-inputs: New file.
6856 * scripts/bench.pl: Identify output arguments and define
6857 static variables for them.
6858
232983e9
SP
6859 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6860
d136c6dc
SP
6861 [BZ #15941]
6862 * Makefile (INSTALL): Add install-plain.texi as the primary
6863 dependency.
6864 * manual/install-plain.texi: New file.
6865 * manual/install.texi: Include node directive only for
6866 non-plaintext output.
6867
699ff837
JM
68682013-12-04 Joseph Myers <joseph@codesourcery.com>
6869
ab07cea8
JM
6870 * stdlib/longlong.h: Update from GCC.
6871
699ff837
JM
6872 [BZ #6807]
6873 [BZ #15901]
6874 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6875 * math/w_j0f.c (y0f): Likewise.
6876 * math/w_j0l.c (__y0l): Likewise.
6877 * math/w_j1.c (y1): Likewise.
6878 * math/w_j1f.c (y1f): Likewise.
6879 * math/w_j1l.c (__y1l): Likewise
6880 * math/w_jn.c (yn): Likewise.
6881 * math/w_jnf.c (ynf): Likewise.
6882 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6883 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6884 value for Bessel function domain errors outside _SVID_ mode.
6885 Adjust sign of return value for yn (negative integer, 0).
6886 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6887 by zero in return for negative x and set sign appropriately for
6888 negative n.
6889 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6890 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6891 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6892 expectations in error cases.
6893 (y1_test_data): Likewise.
6894 (yn_test_data): Likewise.
6895 * sysdeps/i386/fpu/libm-test-ulps: Update.
6896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6897
5b118558
UW
68982013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6899
6900 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6901 "64" to "64-v1". Add "64-v2".
6902 (abi-64-options): Rename to ...
6903 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6904 (abi-64-condition): Rename to ...
6905 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6906 (abi-64-ld-soname): Rename to ...
6907 (abi-64-v1-ld-soname): ... this.
6908 (abi-64-v2-options): Define.
6909 (abi-64-v2-condition): Likewise.
6910 (abi-64-v2-ld-soname): Likewise.
6911 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6912 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6916
61cd8fe4
UW
69172013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6918 Alan Modra <amodra@gmail.com>
6919
6920 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6921 New versions for use with the ELFv2 ABI.
6922 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6923 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6924 declaration.
6925 (struct La_ppc64v2_retval): Likewise.
6926 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6927 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6928 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6929 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6930 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6931 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6932 Do not save or restore CR.
6933 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6934 (_dl_profile_resolve): Do no save or restore CR. Support extended
6935 return values for ELFv2 ABI. Fix location of FPR return registers.
6936 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6937 updated values for _CALL_ELF == 2.
6938 (La_regs, La_retval, int_retval): Likewise.
6939
8b8a692c
UW
69402013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6941
6942 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6943 (FRAME_MIN_SIZE_PARM): Likewise.
6944 (FRAME_BACKCHAIN): Likewise.
6945 (FRAME_CR_SAVE): Likewise.
6946 (FRAME_LR_SAVE): Likewise.
6947 (FRAME_TOC_SAVE): Likewise.
6948 (FRAME_PARM_SAVE): Likewise.
6949 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6950 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6951 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6952 (call_mcount_parm_offset): New macro.
6953 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6954 (PROF): Use symbolic stack frame offsets.
6955 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6956 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6957 Redefine in terms of FRAME_MIN_SIZE.
6958 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6959 (_dl_profile_resolve): Likewise. Update comment.
6960 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6961 symbols stack frame offsets.
6962 (__sigsetjmp): Likewise.
6963 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6964 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6965 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6966 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6967
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6969 (FRAME_BACKCHAIN): Remove.
6970 (FRAME_CR_SAVE): Likewise.
6971 (FRAME_LR_SAVE): Likewise.
6972 (FRAME_COMPILER_DW): Likewise.
6973 (FRAME_LINKER_DW): Likewise.
6974 (FRAME_TOC_SAVE): Likewise.
6975 (FRAME_PARM_SAVE): Likewise.
6976 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6977 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6978 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6980 (CHECK_SP): Use symbolic stack frame offsets.
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6982 zone" instead of caller's parameter save area for temp storage.
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6984 Likewise. Also, use symbolic stack frame offsets.
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6986 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6987 our own stack frame instead of the caller's.
6988 (__socket): Use symbolic stack frame offsets.
6989
122b66de
UW
69902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6991 Alan Modra <amodra@gmail.com>
6992
6993 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6994 Define.
6995 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6996 PPC64_LOCAL_ENTRY_OFFSET): Define.
6997 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6998 New function.
6999 (elf_machine_fixup_plt): Call it.
7000 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7001 reloc arguments.
7002 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7003 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7004 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7005 r2 before calling target.
7006
696caf1d
UW
70072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7008 Alan Modra <amodra@gmail.com>
7009
7010 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7011 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7012 versions of macros to support ELFv2 ABI.
7013 (LOCALENTRY): New macro.
7014 (ENTRY, EALIGN): Use it.
7015 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7016 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7017 fall through into ENTRY entry point.
7018 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7019 Only define if _CALL_ELF != 2.
7020
7021 (elf_machine_matches_host): Verify ABI version matches.
7022 (RTLD_START): Use LOCALENTRY.
7023 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7024 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7025 (PLT_ENTRY_WORDS): New macro.
7026 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7027 (elf_machine_runtime_setup): Support ELFv2 ABI.
7028 (elf_machine_fixup_plt): Likewise.
7029 (elf_machine_plt_conflict): Likewise.
7030 (resolve_ifunc): Likewise.
7031 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7032 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7033 Likewise.
7034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7035 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7037 (makecontext): Support ELFv2 ABI.
7038 * elf/elf.h (EF_PPC64_ABI): Define.
7039
d31beafa
UW
70402013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7041
7042 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7043 New assembler macro.
7044 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7045 [ASSEMBLER] (ENTRY): ... but instead here ...
7046 [ASSEMBLER] (EALIGN): ... and here.
7047 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7048 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7049 [!ASSEMBLER] (ENTRY_2): Use it.
7050 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7051 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7052 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7053 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7054 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7056 Use PPC64_LOAD_FUNCPTR.
7057
b525166b
UW
70582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7059
7060 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7061
7ec07d9a
AM
70622013-12-04 Alan Modra <amodra@gmail.com>
7063
7064 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7065 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7066 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7067 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7068
7069 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7070 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7071 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7072 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7073 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7074 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7075
5162e7dd
UW
70762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7077
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7079 (__makecontext): Fix incorrect CFI when backtracing out of
7080 context created via makecontext.
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7082 (__setcontext): Fix incorrect CFI during switch to new context.
7083 (__novec_setcontext): Likewise.
7084
19e3372b
OB
70852013-12-04 Ondřej Bílka <neleai@seznam.cz>
7086
7087 [BZ #4772]
7088 * time/strptime_l.c (__strptime_internal): Allow modifiers
7089 in strptime.
7090 * time/tst-strptime.c (day_tests): Add testcase.
7091
7092
ecaf142d
SP
70932013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7094
7095 * scripts/bench.pl: Skip over blank lines.
7096
fbf964ae
PE
70972013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7098
7099 [BZ #926]
7100 * manual/time.texi (Calendar Time): Clarify what timezone functions
7101 use.
7102
fa60a674
AZ
71032013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7104
7105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7106
d674f0ef
OB
71072013-12-04 Ondřej Bílka <neleai@seznam.cz>
7108
7109 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7110 implementation.
7111 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7112 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7113 * debug/memset_chk.c (__memset_chk): Likewise.
7114 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7115 * debug/strncpy_chk.c: Likewise.
7116
17dea188
JM
71172013-12-03 Joseph Myers <joseph@codesourcery.com>
7118
749008ff
JM
7119 [BZ #15268]
7120 [BZ #15425]
7121 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7122 (__ieee754_exp): For possibly underflowing results, check size of
7123 result and force underflow exception if required.
7124 * math/auto-libm-test-in: Add more tests of exp.
7125 * math/auto-libm-test-out: Regenerated.
7126 * sysdeps/i386/fpu/libm-test-ulps: Update.
7127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7128
17dea188
JM
7129 [BZ #16283]
7130 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7131 * math/w_exp2f.c (__exp2f): Likewise.
7132 * math/w_exp2l.c (__exp2l): Likewise.
7133 * math/auto-libm-test-in: Do not allow missing errno on exp2
7134 underflow.
7135 * math/auto-libm-test-out: Regenerated.
7136
b20de2c3
OB
71372013-12-03 Ondřej Bílka <neleai@seznam.cz>
7138
7139 [BZ #16274]
7140 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7141 handle filename validation.
7142 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7143 (do_open): Delete.
7144
d8e2dbe3
JM
71452013-12-03 Joseph Myers <joseph@codesourcery.com>
7146
34e16df5
JM
7147 [BZ #6786]
7148 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7149 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7150 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7151 <float.h>.
7152 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7153 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7154 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7155 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7156 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7157 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7158 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7159 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7160 Add more erfc tests.
7161 * math/auto-libm-test-out: Regenerated.
7162 * sysdeps/i386/fpu/libm-test-ulps: Update.
7163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7164
d8e2dbe3
JM
7165 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7166 exp2, expm1, j0 and j1.
7167 * math/auto-libm-test-out: Regenerated.
7168 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7169 (erfc_test_data): Likewise.
7170 (exp_test_data): Likewise.
7171 (exp_tonearest_test_data): Likewise.
7172 (exp_towardzero_test_data): Likewise.
7173 (exp_downward_test_data): Likewise.
7174 (exp_upward_test_data): Likewise.
7175 (exp10_test_data): Likewise.
7176 (exp2_test_data): Likewise.
7177 (expm1_test_data): Likewise.
7178 (j0_test_data): Likewise.
7179 (j1_test_data): Likewise.
7180 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7181 (input_flag_type): Add flag_xfail_rounding.
7182 (input_flags): Add xfail-rounding.
7183 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7184 (output_for_one_input_case): Handle flag_xfail_rounding.
7185 * sysdeps/i386/fpu/libm-test-ulps: Update.
7186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7187
18d14251
AJ
71882013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7189
3d2e6075 7190 [BZ #16289]
18d14251
AJ
7191 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7192 division by 0.
7193
520d437b
SP
71942013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7195
7196 [BZ #16195]
7197 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7198 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7199 (STAP_PROBE0): New macro.
7200 (STAP_PROBE1): Likewise.
7201 (STAP_PROBE2): Likewise.
7202 (STAP_PROBE3): Likewise.
7203 (STAP_PROBE4): Likewise.
7204
416e0145
OB
72052013-12-02 Ondřej Bílka <neleai@seznam.cz>
7206
7207 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7208
9d17796a
SE
72092013-12-02 Steve Ellcey <sellcey@mips.com>
7210
7211 * benchtests/Makefile (bench): Add sqrt.
7212 (LDLIBS-bench-sqrt): New.
7213 * benchtests/sqrt-input: New.
7214
f524d6a8
PS
72152013-12-02 Pavel Simerda <psimerda@redhat.com>
7216
639a0ef8
PS
7217 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7218 (GAIH_EAI): Likewise.
7219 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7220 (gaih_inet): Likewise.
7221 (getaddrinfo): Don't use GAIH_EAI.
7222
f524d6a8
PS
7223 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7224 (struct gaih): Remove definition.
7225
df3aedaf
SP
72262013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7227
7228 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7229 Use HERRNOP directly.
7230
1ab19dec
AZ
72312013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7232
b42ad38d 7233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7234
176b0c79
JM
72352013-11-30 Joseph Myers <joseph@codesourcery.com>
7236
7237 * math/gen-auto-libm-tests.c (test_functions): Add more
7238 single-argument functions.
7239 (special_fill_pi_2): New function.
7240 (special_fill_minus_pi_2): Likewise.
7241 (special_fill_pi_6): Likewise.
7242 (special_fill_minus_pi_6): Likewise.
7243 (special_fill_pi_3): Likewise.
7244 (special_fill_2pi_3): Likewise.
7245 (special_fill_e): Likewise.
7246 (special_fill_1_e): Likewise.
7247 (special_fill_e_minus_1): Likewise.
7248 (special_real_inputs): Add more special inputs.
7249 (output_for_one_input_case): Do not require ERANGE on underflow to
7250 zero if round-to-nearest result does not underflow to zero, unless
7251 exact results required.
7252 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7253 atan, atanh, cbrt, cos and cosh.
7254 * math/auto-libm-test-out: Regenerated.
7255 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7256 (acos_tonearest_test_data): Likewise.
7257 (acos_towardzero_test_data): Likewise.
7258 (acos_downward_test_data): Likewise.
7259 (acos_upward_test_data): Likewise.
7260 (acosh_test_data): Likewise.
7261 (asin_test_data): Likewise.
7262 (asin_tonearest_test_data): Likewise.
7263 (asin_towardzero_test_data): Likewise.
7264 (asin_upward_test_data): Likewise.
7265 (asinh_test_data): Likewise.
7266 (atan_test_data): Likewise.
7267 (atanh_test_data): Likewise.
7268 (cbrt_test_data): Likewise.
7269 (cos_test_data): Likewise.
7270 (cos_tonearest_test_data): Likewise.
7271 (cos_towardzero_test_data): Likewise.
7272 (cos_downward_test_data): Likewise.
7273 (cos_upward_test_data): Likewise.
7274 (cosh_test_data): Likewise.
7275 (cosh_tonearest_test_data): Likewise.
7276 (cosh_towardzero_test_data): Likewise.
7277 (cosh_downward_test_data): Likewise.
7278 (cosh_upward_test_data): Likewise.
7279 * sysdeps/i386/fpu/libm-test-ulps: Update.
7280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7281
ffb536d0
JM
72822013-11-29 Joseph Myers <joseph@codesourcery.com>
7283
2a77a467
JM
7284 [BZ #6787]
7285 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7286 * math/w_exp10f.c (__exp10f): Likewise.
7287 * math/w_exp10l.c (__exp10l): Likewise.
7288 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7289 errno settings in existing tests.
7290
ea3bc4e8
JM
7291 [BZ #14032]
7292 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7293 precision control set to double precision.
7294 * sysdeps/i386/fpu/w_sqrt.c: New file.
7295 * math/auto-libm-test-in: Add more tests.
7296 * math/auto-libm-test-out: Update.
7297
0712c9d8
JM
7298 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7299 (sqrt_test_tonearest): New function.
7300 (sqrt_towardzero_test_data): New variable.
7301 (sqrt_test_towardzero): New function.
7302 (sqrt_downward_test_data): New variable.
7303 (sqrt_test_downward): New function.
7304 (sqrt_upward_test_data): New variable.
7305 (sqrt_test_upward): New function.
7306 (main): Call the new functions.
7307
ffb536d0
JM
7308 * math/gen-auto-libm-tests.c: New file.
7309 * math/auto-libm-test-in: Likewise.
7310 * math/auto-libm-test-out: New generated file.
7311 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7312 variables.
7313 (%beautify): Add generated representations of zero.
7314 (top level): Set $auto_input and call parse_auto_input.
7315 (beautify): Remove trailing "f" from hex float constants.
7316 (parse_args): Handle XFAIL_TEST.
7317 (convert_condition): New function.
7318 (or_value): Likewise.
7319 (or_cond_value): Likewise.
7320 (generate_testfile): Handle AUTO_TESTS_* lines.
7321 (parse_auto_input): New function.
7322 * math/libm-test.inc (XFAIL_TEST): New macro.
7323 (ERRNO_UNCHANGED): Update value.
7324 (ERRNO_EDOM): Likewise.
7325 (ERRNO_ERANGE): Likewise.
7326 (IGNORE_RESULT): Likewise.
7327 (TEST_COND_flt_32): New macro.
7328 (TEST_COND_dbl_64): Likewise.
7329 (TEST_COND_ldbl_96_intel): Likewise.
7330 (TEST_COND_ldbl_96_m68k): Likewise.
7331 (TEST_COND_ldbl_128): Likewise.
7332 (TEST_COND_ldbl_128ibm): Likewise.
7333 (TEST_COND_long32): Likewise.
7334 (TEST_COND_long64): Likewise.
7335 (TEST_COND_before_rounding): Likewise.
7336 (TEST_COND_after_rounding): Likewise.
7337 (enable_test): Handle XFAIL_TEST flag.
7338 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7339 with finite results.
7340 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7341 auto-libm-test-out.
7342
acd98a8e
AK
73432013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7344 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7345
7346 [BZ #16214]
7347 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7348 __tls_get_addr_internal instead of __tls_get_offset in order to
7349 avoid GOT pointer dependency. Make rtld export
7350 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7351 __tls_get_addr since we are a __tls_get_offset platform.
7352 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7353 GOT pointer being set up before.
7354 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7355
3c1c46a6
JM
73562013-11-28 Joseph Myers <joseph@codesourcery.com>
7357
7475aef5
JM
7358 * manual/math.texi (Errors in Math Functions): Document accuracy
7359 goals.
7360
8bca7cd8
JM
7361 [BZ #15004]
7362 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7363 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7366 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7368 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7377 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7378
91a1f3fe
JM
7379 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7380 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7381 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7382 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7383 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7384 Likewise.
7385 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7386 Likewise.
7387 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7388 Likewise.
7389 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7390 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7391 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7392 atomic-feupdateenv and flt-rounds.
7393 * sysdeps/powerpc/nofpu/Versions (libc): Add
7394 __atomic_feholdexcept, __atomic_feclearexcept,
7395 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7396 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7397 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7398 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7399 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7400 here.
7401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7402 Update.
7403
c5df7609
JM
7404 * manual/arith.texi (FP Exceptions): Document that exceptions may
7405 not be raised when matherr is used.
7406 (Math Error Reporting): Document overflow in directed rounding
7407 modes. Document that errno may not be set when finite values are
7408 returned on overflow. Document intent to set errno on underflow
7409 only for underflow to zero.
7410
3c1c46a6
JM
7411 [BZ #16271]
7412 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7413 round-to-nearest then adjust result for other rounding modes.
7414 * include/fenv.h (fegetround): Use libm_hidden_proto.
7415 * math/fegetround.c (fegetround): Use libm_hidden_def.
7416 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7417 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7418 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7419 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7420 Likewise.
7421 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7422 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7423 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7424 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7425
5a4c6d53
SP
74262013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7427
7428 [BZ #16077]
7429 * nss/Versions (libnss_files): Add
7430 _nss_files_gethostbyname3_r.
7431 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7432 New function.
7433 (HOST_DB_LOOKUP): Remove macro.
7434 (_nss_files_gethostbyname_r): Implement function without the
7435 HOST_DB_LOOKUP macro.
7436 (_nss_files_gethostbyname2_r): Likewise.
7437
897b98ba
OB
74382013-11-28 Ondřej Bílka <neleai@seznam.cz>
7439
7440 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7441
6f476861
UB
74422013-11-26 Uros Bizjak <ubizjak@gmail.com>
7443
7444 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7445 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7446 warning.
7447
bd12ab55
AZ
74482013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7449
7450 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7451 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7452 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7453 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7454 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7455 __fe_nomask_env_priv and attribute_hidden.
7456 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7457 (libc_feupdateenv_test_ppc): Likewise.
7458 (libc_feresetround_ppc): Likewise.
7459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7460 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7461 compat_symbol macro.
7462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7463 (__fe_nomask_env): Likewise.
7464 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7465
52bb6543
OB
74662013-11-26 Ondřej Bílka <neleai@seznam.cz>
7467
7468 * string/Makefile: Remove ifunc tests.
7469 * string/test-string.h: Define TEST_IFUNC.
7470 * string/test-bcopy-ifunc.c: Remove.
7471 * string/test-bzero-ifunc.c: Likewise.
7472 * string/test-memccpy-ifunc.c: Likewise.
7473 * string/test-memchr-ifunc.c: Likewise.
7474 * string/test-memcmp-ifunc.c: Likewise.
7475 * string/test-memcpy-ifunc.c: Likewise.
7476 * string/test-memmem-ifunc.c: Likewise.
7477 * string/test-memmove-ifunc.c: Likewise.
7478 * string/test-mempcpy-ifunc.c: Likewise.
7479 * string/test-memrchr-ifunc.c: Likewise.
7480 * string/test-memset-ifunc.c: Likewise.
7481 * string/test-rawmemchr-ifunc.c: Likewise.
7482 * string/test-stpcpy-ifunc.c: Likewise.
7483 * string/test-stpncpy-ifunc.c: Likewise.
7484 * string/test-strcasecmp-ifunc.c: Likewise.
7485 * string/test-strcasestr-ifunc.c: Likewise.
7486 * string/test-strcat-ifunc.c: Likewise.
7487 * string/test-strchr-ifunc.c: Likewise.
7488 * string/test-strchrnul-ifunc.c: Likewise.
7489 * string/test-strcmp-ifunc.c: Likewise.
7490 * string/test-strcpy-ifunc.c: Likewise.
7491 * string/test-strcspn-ifunc.c: Likewise.
7492 * string/test-strlen-ifunc.c: Likewise.
7493 * string/test-strncasecmp-ifunc.c: Likewise.
7494 * string/test-strncat-ifunc.c: Likewise.
7495 * string/test-strncmp-ifunc.c: Likewise.
7496 * string/test-strncpy-ifunc.c: Likewise.
7497 * string/test-strnlen-ifunc.c: Likewise.
7498 * string/test-strpbrk-ifunc.c: Likewise.
7499 * string/test-strrchr-ifunc.c: Likewise.
7500 * string/test-strspn-ifunc.c: Likewise.
7501 * string/test-strstr-ifunc.c: Likewise.
7502
ab260039 75032013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7504
7505 * benchtests/Makefile: Remove ifunc tests.
7506 * benchtests/bench-string.h: Define TEST_IFUNC.
7507 * benchtests/bench-bcopy-ifunc.c: Remove.
7508 * benchtests/bench-bzero-ifunc.c: Likewise.
7509 * benchtests/bench-memccpy-ifunc.c: Likewise.
7510 * benchtests/bench-memchr-ifunc.c: Likewise.
7511 * benchtests/bench-memcmp-ifunc.c: Likewise.
7512 * benchtests/bench-memcpy-ifunc.c: Likewise.
7513 * benchtests/bench-memmem-ifunc.c: Likewise.
7514 * benchtests/bench-memmove-ifunc.c: Likewise.
7515 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7516 * benchtests/bench-memrchr-ifunc.c: Likewise.
7517 * benchtests/bench-memset-ifunc.c: Likewise.
7518 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7519 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7520 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7521 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7522 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7523 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7524 * benchtests/bench-strcat-ifunc.c: Likewise.
7525 * benchtests/bench-strchr-ifunc.c: Likewise.
7526 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7527 * benchtests/bench-strcmp-ifunc.c: Likewise.
7528 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7529 * benchtests/bench-strcpy-ifunc.c: Likewise.
7530 * benchtests/bench-strcspn-ifunc.c: Likewise.
7531 * benchtests/bench-strlen-ifunc.c: Likewise.
7532 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7533 * benchtests/bench-strncat-ifunc.c: Likewise.
7534 * benchtests/bench-strncmp-ifunc.c: Likewise.
7535 * benchtests/bench-strncpy-ifunc.c: Likewise.
7536 * benchtests/bench-strnlen-ifunc.c: Likewise.
7537 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7538 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7539 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7540 * benchtests/bench-strspn-ifunc.c: Likewise.
7541 * benchtests/bench-strstr-ifunc.c: Likewise.
7542
75432013-11-26 Ondřej Bílka <neleai@seznam.cz>
7544
ab260039
OB
7545 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7546
d1d9eaf4 75472013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7548
d1d9eaf4
OB
7549 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7550 * rt/aio.h: Likewise.
7551 * sysdeps/gnu/bits/utmp.h: Likewise.
7552 * sysdeps/gnu/bits/utmpx.h: Likewise.
7553 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7554 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7555 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7556 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7557 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7558 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7559 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7560 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7561 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7562 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7563 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7564 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7565 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7567 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7568 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7569 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7570 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7571 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7572 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7573 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7574 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7575 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7576 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7577 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7579 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7580 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7581 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7582 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7583 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7584 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7585 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7586 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7587 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7588 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7589 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7590 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7591 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7592 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7593 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7594 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7595
a7624ed9
CD
75962013-11-25 Carlos O'Donell <carlos@redhat.com>
7597
7598 [BZ #16245]
7599 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7600 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7601
63cfe52b
JM
76022013-11-25 Joseph Myers <joseph@codesourcery.com>
7603
7604 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7605 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7606 Likewise.
7607
41e8926a
AZ
76082013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7609
7610 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7611 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7612 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7613 (__fesetround): Remove define.
7614 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7615 rounding and exceptions handling.
7616 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7617 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7618 (__fe_nomask_env): Likewise.
7619 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7620 __fegetround instead of fegetround.
7621 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7622 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7623
6851bd4d
RM
76242013-11-21 Roland McGrath <roland@hack.frob.com>
7625
070906ff
RM
7626 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7627 it's there.
7628
6851bd4d
RM
7629 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7630
84ae135d
MI
76312013-11-21 Meador Inge <meadori@codesourcery.com>
7632
7633 [BZ #11157]
7634 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7635 (encrypt_r): Likewise.
7636 * malloc/obstack.h (obstack_free): Likewise.
7637 * posix/unistd.h (encrypt): Likewise.
7638
daf75146
GM
76392013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7640
7641 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7642 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7643 DL_CALL_DT_FINI() that call the functions directly.
7644 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7645 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7646 * elf/dl-fini.c: Likewise.
7647
10ad46bc
OB
76482013-11-20 Ondřej Bílka <neleai@seznam.cz>
7649
7650 * malloc/hooks.c (memalign_check): Add alignment rounding.
7651 * malloc/malloc.c (_mid_memalign): New function.
7652 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7653 Implement by calling _mid_memalign.
7654 * manual/probes.texi (Memory Allocation Probes): Remove
7655 memory_valloc_retry and memory_pvalloc_retry.
7656
f3fd2628
SP
76572013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7658
4712799f
SP
7659 * locale/programs/locarchive.c (open_archive): Add const
7660 qualifier to ARCHIVEFNAME and copy default fname to
7661 DEFAULT_FNAME.
7662
0417b20f
SP
7663 [BZ #15601]
7664 * libio/tst-widetext.input: Rename Oriya to Odia.
7665 * locale/iso-639.def: Likewise.
7666
f3fd2628
SP
7667 * manual/probes.texi (Mathematical Function Probes): Add
7668 documentation for sin, cos, asin and acos probes.
7669 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7670 (__sin32): Add slowasin probe.
7671 (__cos32): Add slowacos probe.
7672 (__mpsin): Add slowsin probe.
7673 (__mpcos): Add slowcos probe.
7674
73c1ce4f
JM
76752013-11-19 Joseph Myers <joseph@codesourcery.com>
7676
7677 [BZ #15483]
7678 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7679 thread-local __sim_exceptions_thread and global
7680 __sim_exceptions_global.
7681 (__sim_disabled_exceptions): Change to thread-local
7682 __sim_disabled_exceptions_thread and global
7683 __sim_disabled_exceptions_global.
7684 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7685 and global __sim_round_mode_global.
7686 (__simulate_exceptions): Use thread-local floating-point state and
7687 set global state from it as needed.
7688 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7689 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7690 __sim_round_mode_thread.
7691 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7692 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7693 and global __sim_exceptions_global.
7694 (__sim_disabled_exceptions): Change to thread-local
7695 __sim_disabled_exceptions_thread and global
7696 __sim_disabled_exceptions_global.
7697 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7698 and global __sim_round_mode_global.
7699 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7700 (SIM_SET_GLOBAL): Likewise.
7701 * sysdeps/powerpc/soft-fp/sfp-machine.h
7702 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7703 __sim_round_mode_thread.
7704 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7705 __sim_disabled_exceptions_thread.
7706 (__sim_exceptions): Change to __sim_exceptions_thread.
7707 (__sim_disabled_exceptions): Change to
7708 __sim_disabled_exceptions_thread.
7709 (__sim_round_mode): Change to __sim_round_mode_thread.
7710 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7711 thread-local floating-point state and set global state from it as
7712 needed.
7713 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7714 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7715 (__sim_disabled_exceptions): Remove extern declaration.
7716 (feenableexcept): Use thread-local floating-point state and set
7717 global state from it as needed.
7718 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7719 extern declaration.
7720 (__sim_disabled_exceptions): Likewise.
7721 (__sim_round_mode): Likewise.
7722 (__fegetenv): Use thread-local floating-point state.
7723 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7724 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7725 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7726 floating-point state and set global state from it as needed.
7727 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7728 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7729 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7730 Likewise.
7731 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7732 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7733 Likewise.
7734 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7735 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7736 Use __sim_round_mode_thread.
7737 * math/test-fenv-tls.c: New file.
7738 * math/Makefile (tests): Add test-fenv-tls.
7739 ($(objpfx)test-fenv-tls): Depend on
7740 $(common-objpfx)nptl/libpthread.so.
7741
b5449b12
AS
77422013-11-19 Andreas Schwab <schwab@suse.de>
7743
7744 * locale/programs/locale.c (show_info): Decode wordarray elements.
7745 * locale/categories.def (LC_MONETARY): Add element for
7746 _NL_MONETARY_CRNCYSTR.
7747 * locale/C-monetary.c (conversion_rate): New variable.
7748 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7749 element.
7750
e186536b
CM
77512013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7752
7753 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7754 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7755
5c349950
PP
77562013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7757
7758 * elf/Makefile (tst-auxv): New test.
7759 * elf/tst-auxv.c: New
7760 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7761
699df45b
JM
77622013-11-18 Joseph Myers <joseph@codesourcery.com>
7763
7764 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7765 (hidden_proto): Caller changed.
7766 (hidden_tls_proto): New macro.
7767 (libc_hidden_tls_proto): Likewise.
7768 (rtld_hidden_tls_proto): Likewise.
7769 (libm_hidden_tls_proto): Likewise.
7770 (libresolv_hidden_tls_proto): Likewise.
7771 (librt_hidden_tls_proto): Likewise.
7772 (libdl_hidden_tls_proto): Likewise.
7773 (libnss_files_hidden_tls_proto): Likewise.
7774 (libnsl_hidden_tls_proto): Likewise.
7775 (libnss_nisplus_hidden_tls_proto): Likewise.
7776 (libutil_hidden_tls_proto): Likewise.
7777
b7589107
OB
77782013-11-18 Ondřej Bílka <neleai@seznam.cz>
7779
7780 [BZ #10253]
7781 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7782 (decompose_rpath): Defer expansion to fillin_rpath.
7783 (_dl_init_paths): Pass linkmap to fillin_rpath.
7784
250c23bd
RS
77852013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7786
7787 * benchtests/Makefile: Add strsep.
7788 * benchtests/bench-strsep.c: New file: strsep benchtest.
7789 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7790
a7931fcf
AS
77912013-11-18 Andreas Schwab <schwab@suse.de>
7792
7793 * locale/programs/locale.c (show_info) [case byte]: Check for
7794 '\377' instead of '\177'.
7795 * locale/C-monetary.c (not_available): Always use "\377".
7796 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7797 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7798 detect unavailable sign_posn locale elements.
7799 * locale/localeconv.c (__localeconv): For grouping and
7800 mon_grouping handle "\177" and "\377" like no grouping.
7801 (INT_ELEM): New macro. Use it to set all numeric members.
7802 * locale/programs/ld-monetary.c (monetary_read)
7803 <tok_mon_grouping>: Normalize single -1 to the empty string.
7804 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7805 Likewise.
7806
728dab0e
OB
78072013-11-07 Ondřej Bílka <neleai@seznam.cz>
7808
7809 [BZ #16055]
7810 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7811 when we match (nil).
7812 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7813
66294491
JM
78142013-11-16 Joseph Myers <joseph@codesourcery.com>
7815
ce665817
JM
7816 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7817 (NO_TEST_INLINE): Update value.
7818 (ERRNO_UNCHANGED): Likewise.
7819 (ERRNO_EDOM): Likewise.
7820 (ERRNO_ERANGE): Likewise.
7821 (IGNORE_RESULT): Likewise.
7822 (check_float_internal): Check signs of NaN results if
7823 TEST_NAN_SIGN used.
7824 (check_complex): Pass TEST_NAN_SIGN flag through to second
7825 check_float_internal call.
7826 (copysign_test_data): Add tests with quiet NaNs as second
7827 argument. Use TEST_NAN_SIGN.
7828 (fabs_test_data): Add test of negative quiet NaN argument. Use
7829 TEST_NAN_SIGN.
7830 (signbit_test_data): Add tests of quiet NaN argument.
7831 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7832
ee1466a9
JM
7833 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7834 $ignore_result.
7835 (parse_args): Handle function results specified as IGNORE.
7836 * math/libm-test.inc (IGNORE_RESULT): New macro.
7837 (check_float_internal): Do not check numerical result if flag
7838 IGNORE_RESULT set.
7839 (check_complex): Pass through IGNORE_RESULT to second
7840 check_float_internal call.
7841 (check_int): Do not check numerical result if flag IGNORE_RESULT
7842 set.
7843 (check_long): Likewise.
7844 (check_bool): Likewise.
7845 (check_longlong): Likewise.
7846 (lrint_test_data): Add tests of infinite and NaN arguments.
7847 (lrint_tonearest_test_data): Likewise.
7848 (lrint_towardzero_test_data): Likewise.
7849 (lrint_downward_test_data): Likewise.
7850 (lrint_upward_test_data): Likewise.
7851 (llrint_test_data): Likewise.
7852 (llrint_tonearest_test_data): Likewise.
7853 (llrint_towardzero_test_data): Likewise.
7854 (llrint_downward_test_data): Likewise.
7855 (llrint_upward_test_data): Likewise.
7856 (lround_test_data): Likewise.
7857 (llround_test_data): Likewise.
7858
14407b7e
JM
7859 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7860 (ERRNO_UNCHANGED): Update value.
7861 (ERRNO_EDOM): Likewise.
7862 (ERRNO_ERANGE): Likewise.
7863 (NO_TEST_INLINE_FLOAT): New macro.
7864 (NO_TEST_INLINE_DOUBLE): Likewise.
7865 (enable_test): New function.
7866 (RUN_TEST_f_f): Check enable_test before running test.
7867 (RUN_TEST_2_f): Likewise.
7868 (RUN_TEST_fff_f): Likewise.
7869 (RUN_TEST_c_f): Likewise.
7870 (RUN_TEST_f_f1): Likewise.
7871 (RUN_TEST_fF_f1): Likewise.
7872 (RUN_TEST_fI_f1): Likewise.
7873 (RUN_TEST_ffI_f1): Likewise.
7874 (RUN_TEST_c_c): Likewise.
7875 (RUN_TEST_cc_c): Likewise.
7876 (RUN_TEST_f_i): Likewise.
7877 (RUN_TEST_f_i_tg): Likewise.
7878 (RUN_TEST_ff_i_tg): Likewise.
7879 (RUN_TEST_f_b): Likewise.
7880 (RUN_TEST_f_b_tg): Likewise.
7881 (RUN_TEST_f_l): Likewise.
7882 (RUN_TEST_f_L): Likewise.
7883 (RUN_TEST_fFF_11): Likewise.
7884 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7885 conditionals.
7886 (cosh_test_data): Likewise.
7887 (exp_test_data): Likewise.
7888 (expm1_test_data): Likewise.
7889 (hypot_test_data): Likewise.
7890 (pow_test_data): Likewise.
7891 (sinh_test_data): Likewise.
7892 (tanh_test_data): Likewise.
7893 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7894 flags argument.
7895
ca07f197
JM
7896 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7897 tests with quiet NaN input and output.
7898 (acosh_test_data): Likewise.
7899 (asin_test_data): Likewise.
7900 (asinh_test_data): Likewise.
7901 (atan_test_data): Likewise.
7902 (atanh_test_data): Likewise.
7903 (atan2_test_data): Likewise.
7904 (cbrt_test_data): Likewise.
7905 (cos_test_data): Likewise.
7906 (cosh_test_data): Likewise.
7907 (erf_test_data): Likewise.
7908 (erfc_test_data): Likewise.
7909 (exp_test_data): Likewise.
7910 (exp10_test_data): Likewise.
7911 (exp2_test_data): Likewise.
7912 (expm1_test_data): Likewise.
7913 (hypot_test_data): Likewise.
7914 (j0_test_data): Likewise.
7915 (j1_test_data): Likewise.
7916 (jn_test_data): Likewise.
7917 (lgamma_test_data): Likewise.
7918 (log_test_data): Likewise.
7919 (log10_test_data): Likewise.
7920 (log1p_test_data): Likewise.
7921 (log2_test_data): Likewise.
7922 (pow_test_data): Likewise.
7923 (scalb_test_data): Likewise.
7924 (sin_test_data): Likewise.
7925 (sincos_test_data): Likewise.
7926 (sinh_test_data): Likewise.
7927 (tan_test_data): Likewise.
7928 (tanh_test_data): Likewise.
7929 (tgamma_test_data): Likewise.
7930 (y0_test_data): Likewise.
7931 (y1_test_data): Likewise.
7932 (yn_test_data): Likewise.
7933
66294491
JM
7934 [BZ #16167]
7935 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7936 argument being NaN and avoid computations with second argument in
7937 that case.
7938 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7939 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7940 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7941
1820b143
CL
79422013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7943
7944 * locale/iso-639.def: Add Chitwani Tharu (the).
7945
714bd261
AS
79462013-11-14 Andreas Schwab <schwab@suse.de>
7947
7948 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7949 word instead of empty string.
7950
7ab44563
AZ
79512013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7952
7953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7954 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7956 (__fe_nomask_env): Likewise.
7957
e8470ea2
SE
79582013-11-13 Steve Ellcey <sellcey@mips.com>
7959
7960 * benchtests/bench-timing.h: Include time.h.
7961
17c1d9f0
L
79622013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7963
7964 [BZ #15997]
7965 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7966 to 3.4.0 for x32.
7967 * sysdeps/unix/sysv/linux/configure: Regenerated.
7968
9310c284
JM
79692013-11-13 Joseph Myers <joseph@codesourcery.com>
7970
7971 [BZ #16151]
7972 * stdlib/strtod_l.c (round_and_return): Do not consider
7973 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7974 exponent one less than half the least subnormal exponent.
7975 * stdlib/test-strtod-round-data: Add more tests.
7976 * stdlib/tst-strtod-round.c (tests): Regenerated.
7977
7a2ad8cf
AZ
79782013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7979
7980 [BZ #14143]
7981 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7982 (__fe_mask_env): Likewise.
7983 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7984 libm_hidden_proto and add function prototype.
7985 (__fe_mask_env): Add function prototype.
7986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7987 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7989 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7991 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7992
50727aa7
MS
79932013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7994
b2f386c1 7995 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7996 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7997
a615be46
MS
79982013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7999
8000 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8001 of htab_find_slot().
8002
7ddace62
DM
80032013-11-11 David S. Miller <davem@davemloft.net>
8004
8005 [BZ #16150]
8006 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8007 symbol in the non-vis3 case in static builds.
8008 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8009 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8010 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8011 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8012
9182aa67
JK
80132013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8014
8015 [BZ #387]
8016 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8017 it is empty.
8018
450a2e2d
AZ
80192013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8020
b2f386c1
SP
8021 * benchtests/Makefile: Add bench-strtod.
8022 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8023
8ec3f656
AS
80242013-11-11 Andreas Schwab <schwab@suse.de>
8025
8026 [BZ #16153]
8027 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8028 terminating NUL in key length.
8029
76a9b998
AZ
80302013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8031
8032 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8033 Add artificial ODP entry for vDSO symbol for PPC64.
8034 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8035 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8036
e4368156
OB
80372013-11-07 Ondřej Bílka <neleai@seznam.cz>
8038
8039 [BZ #15374]
8040 * nss/getent.c (services_keys): Recognize services starting with digit.
8041
8d6bb57c
DM
80422013-11-06 David S. Miller <davem@davemloft.net>
8043
8044 [BZ #15985]
8045 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8046 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8047
e256c421
WN
80482013-11-06 Will Newton <will.newton@linaro.org>
8049
8050 * manual/memory.texi (Malloc Examples): Remove register
8051 keyword from examples.
8052
f6e12daa 80532013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8054
f6e12daa 8055 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8056
9d880655
AS
80572013-11-04 Joseph Myers <joseph@codesourcery.com>
8058
fd2f9486 8059 [BZ #6981]
9d880655
AS
8060 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8061 depending on [__GCC_IEC_559 > 0].
8062 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8063 depending on [__GCC_IEC_559_COMPLEX > 0].
8064
ae129d3c
CL
80652013-11-03 Chris Leonard <cjl@sugarlabs.org>
8066
8067 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8068 to iso-639.def.
8069
4a15c2a4 80702013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8071
8072 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8073
8b35e35d
OB
80742013-11-01 Ondřej Bílka <neleai@seznam.cz>
8075
8076 [BZ #16112]
8077 * malloc/malloc (malloc_info): Do not handle first bin as
8078 special case.
8079
1d70fd6c
CL
80802013-11-01 Chris Leonard <cjl@sugarlabs.org>
8081
8082 * locale/iso-639.def: Add Central Nahuatl (nhn).
8083
8c5c2600
BH
80842013-11-01 Bruno Haible <bruno@clisp.org>
8085
8086 [BZ #7003]
8087 * manual/math.texi (BSD Random): Specify range upper bound as
8088 in POSIX.
8089
da5579c2
CL
80902013-10-31 Chris Leonard <cjl@sugarlabs.org>
8091
8092 * locale/iso-639.def: Add Meadow Mari (mhr).
8093
5d30d853
OB
80942013-10-31 Ondřej Bílka <neleai@seznam.cz>
8095
8096 [BZ #14752], [BZ #15763]
8097 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8098 Validate name.
8099 * rt/tst_shm.c: Add test for escaping directory.
8100
a4966c61
AS
81012013-10-31 Andreas Schwab <schwab@suse.de>
8102
8a43e768 8103 [BZ #15917]
a4966c61
AS
8104 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8105 followed by 'x' as part of digit sequence.
8106 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8107
28d708c4
MAP
81082013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8109
8110 [BZ #16037]
8111 * configure.ac: allow GNU Make 4.0 and greater.
8112 * configure: Regenerated.
8113
a56ee40b
WN
81142013-10-30 Will Newton <will.newton@linaro.org>
8115
8116 [BZ #16038]
8117 * malloc/hooks.c (memalign_check): Limit alignment to the
8118 maximum representable power of two.
8119 * malloc/malloc.c (__libc_memalign): Likewise.
8120 * malloc/tst-memalign.c (do_test): Add test for very
8121 large alignment values.
8122 * malloc/tst-posix_memalign.c (do_test): Likewise.
8123
c6e4925d
OB
81242013-10-30 Ondřej Bílka <neleai@seznam.cz>
8125
8126 [BZ #11087]
8127 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8128 (munmap_chunk): Likewise.
8129 (mremap_chunk): Likewise.
8130
81312013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8132
8a43e768 8133 [BZ #15799]
bbea82f7
OB
8134 * stdlib/div.c (div): Remove obsolete code.
8135 * stdlib/ldiv.c (ldiv): Likewise.
8136 * stdlib/lldiv.c (lldiv): Likewise.
8137
977f4b31
SP
81382013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8139
8140 [BZ #16071]
8141 * nss/nss_files/files-XXX.c (get_contents_ret): New
8142 enumerator.
8143 (get_contents): New function.
8144 (internal_getent): Use it. Expand size of LINEBUFLEN.
8145
cb8a6dbd
MF
81462013-10-30 Mike Frysinger <vapier@gentoo.org>
8147
8148 * configure.in: Moved to ...
8149 * configure.ac: ... here. Change reference to configure.in
8150 to configure.ac.
8151 * sysdeps/arm/preconfigure.ac: ... here.
8152 configure.in to configure.ac.
8153 * sysdeps/gnu/configure.in: Moved to ...
8154 * sysdeps/gnu/configure.ac: ... here.
8155 * sysdeps/i386/configure.in: Moved to ...
8156 * sysdeps/i386/configure.ac: ... here.
8157 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8158 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8159 * sysdeps/mach/configure.in: Moved to ...
8160 * sysdeps/mach/configure.ac: ... here.
8161 * sysdeps/mach/hurd/configure.in: Moved to ...
8162 * sysdeps/mach/hurd/configure.ac: ... here.
8163 * sysdeps/powerpc/configure.in: Moved to ...
8164 * sysdeps/powerpc/configure.ac: ... here.
8165 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8166 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8167 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8168 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8169 * sysdeps/s390/s390-32/configure.in: Moved to ...
8170 * sysdeps/s390/s390-32/configure.ac: ... here.
8171 * sysdeps/s390/s390-64/configure.in: Moved to ...
8172 * sysdeps/s390/s390-64/configure.ac: ... here.
8173 * sysdeps/sh/configure.in: Moved to ...
8174 * sysdeps/sh/configure.ac: ... here.
8175 * sysdeps/sparc/configure.in: Moved to ...
8176 * sysdeps/sparc/configure.ac: ... here.
8177 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8178 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8179 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8180 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8181 * sysdeps/x86_64/configure.in: Moved to ...
8182 * sysdeps/x86_64/configure.ac: ... here.
8183 * sysdeps/x86_64/preconfigure.in: Moved to ...
8184 * sysdeps/x86_64/preconfigure.ac: ... here.
8185 * aclocal.m4: Change reference to configure.in to configure.ac.
8186 * config.h.in: Likewise.
8187 * manual/install.texi: Likewise.
8188 * manual/maint.texi: Likewise.
8189 * Makefile: Likewise.
8190 * malloc/Makefile: Likewise.
8191 * nscd/Makefile: Likewise.
8192 * Makeconfig: Change reference to configure.in and
8193 preconfigure.in to configure.ac and preconfigure.ac
8194 respectively.
8195 * INSTALL: Regenerated.
8196 * configure: Likewise.
8197 * sysdeps/gnu/configure: Likewise.
8198 * sysdeps/i386/configure: Likewise.
8199 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8200 * sysdeps/mach/configure: Likewise.
8201 * sysdeps/mach/hurd/configure: Likewise.
8202 * sysdeps/powerpc/configure: Likewise.
8203 * sysdeps/powerpc/powerpc32/configure: Likewise.
8204 * sysdeps/powerpc/powerpc64/configure: Likewise.
8205 * sysdeps/s390/s390-32/configure: Likewise.
8206 * sysdeps/s390/s390-64/configure: Likewise.
8207 * sysdeps/sh/configure: Likewise.
8208 * sysdeps/sparc/configure: Likewise.
8209 * sysdeps/unix/sysv/linux/configure: Likewise.
8210 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8211 * sysdeps/x86_64/configure: Likewise.
8212 * sysdeps/x86_64/preconfigure: Likewise.
8213
36a4953a
AS
82142013-10-29 Andreas Schwab <schwab@suse.de>
8215
8216 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8217
c79a1204
SP
82182013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8219
dfa1b402
SP
8220 * benchtests/pow-inputs: Add new inputs.
8221
54f73d9c
SP
8222 * benchtests/exp-inputs: Add new inputs.
8223
c79a1204
SP
8224 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8225 conditional check for return value.
8226 (__cos32): Likewise.
8227
67beb545 82282013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8229
8230 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8231 to provide a boost for large inputs with word alignment.
8232 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8233 implementation based on optimized PPC64 strcpy.
8234 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8235 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8236 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8237 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8238
151659f6
OB
82392013-10-25 Ondřej Bílka <neleai@seznam.cz>
8240
482a077e 8241 [BZ #2801]
151659f6
OB
8242 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8243
10b0f26b
OB
82442013-10-25 Ondřej Bílka <neleai@seznam.cz>
8245
8246 [BZ #14876]
8247 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8248 * time/tst-strptime.c (day_tests): Add testcase.
8249
ca42d35e
OB
82502013-10-25 Ondřej Bílka <neleai@seznam.cz>
8251
482a077e 8252 [BZ #14029]
ca42d35e
OB
8253 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8254
52e6d801
FB
82552013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8256
8257 [BZ #16074]
8258 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8259 MAP_FAILED on error.
8260
7cbcdb36
SP
82612013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8262
8263 [BZ #16072]
8264 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8265 heap for large requests.
8266
894f3f10
AM
82672013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8268
8269 [BZ #9954]
8270 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8271 result if the result has no associated interface.
8272 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8273 interface for all 127.X.Y.Z addresses.
8274
b85545a6
CL
82752013-10-24 Chris Leonard <cjl@sugarlabs.org>
8276
8277 * locale/iso-639.def: Add Ligurian (lij)
8278
d1f23d46
OB
82792013-10-21 Ondřej Bílka <neleai@seznam.cz>
8280
8281 [BZ #15825]
8282 * sunrpc/rpc_main.c: Document rpcgen -5.
8283
4db5b08f
MS
82842013-10-19 Michael Stahl <mstahl@redhat.com>
8285
8286 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8287
a471e96a
OB
82882013-10-19 Ondřej Bílka <neleai@seznam.cz>
8289
d1f23d46 8290 [BZ #10278]
a471e96a
OB
8291 * posix/glob.c: Match only directories when trailing slash is present.
8292 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8293 (main): Add testcase.
8294
45c30c61
OB
82952013-10-19 Ondřej Bílka <neleai@seznam.cz>
8296
8297 [BZ #15670]
8298 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8299
484c12fb
CD
83002013-10-18 Carlos O'Donell <carlos@redhat.com>
8301
3d7dc513
CD
8302 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8303 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8304 AUTH_DES and cindex for FIPS 140-2.
8305 (DES Encryption): Add cindex FIPS 46-3.
8306
484c12fb
CD
8307 * locale/locarchive.h (struct locarhandle): Add fname.
8308 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8309 if an optional argument was specified to --list-archive,
8310 otherwise NULL.
8311 * locale/programs/locarchive.c (show_archive_content): Take new
8312 argument fname and pass it via ah.fname to open_archive.
8313 * locale/programs/localedef.h: Update decl.
8314 (open_archive): If AH->fname is non-null, open that file
8315 rather than the default file name, and don't ignore ENOENT.
8316 (create_archive): Set AH.fname to NULL.
8317 (delete_locales_from_archive): Likewise.
8318 (add_locales_to_archive): Likewise.
8319 * locale/programs/locfile.c (write_all_categories): Likewise.
8320
3c8325fb
JM
83212013-10-18 Joseph Myers <joseph@codesourcery.com>
8322 Aldy Hernandez <aldyh@redhat.com>
8323
8324 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8325 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8326 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8327 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8328 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8329 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8330 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8331 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8332 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8333 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8334 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8335 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8336 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8337 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8338 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8339 Likewise.
8340 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8341 Likewise.
8342 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8343 Likewise.
8344 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8345 Likewise.
8346 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8347 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8348 Likewise.
8349 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8350 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8351 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8352 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8353 Likewise.
8354 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8355 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8356 * sysdeps/powerpc/preconfigure: Likewise.
8357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8358 Likewise.
8359 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8360 Replace contents of file by #include of <fenv_libc.h>.
8361 * sysdeps/powerpc/soft-fp/sfp-machine.h
8362 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8363 and <sys/prctl.h>.
8364 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8365 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8366 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8367 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8368 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8369 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8371 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8372 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8373 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8374 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8375 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8377 Allow copysignl PLT reference to be missing.
8378
5abe0682
RS
83792013-10-18 Richard Sandiford <richard@codesourcery.com>
8380 Joseph Myers <joseph@codesourcery.com
8381
8382 [BZ #15948]
8383 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8384 single character.
8385 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8386
c7738d08
SP
83872013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8388
8389 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8390 * elf/tst-tls1.c: Likewise.
8391 * elf/tst-tls10.h: Likewise.
8392 * elf/tst-tls14.c: Likewise.
8393 * elf/tst-tls2.c: Likewise.
8394 * elf/tst-tls3.c: Likewise.
8395 * elf/tst-tls4.c: Likewise.
8396 * elf/tst-tls5.c: Likewise.
8397 * elf/tst-tls6.c: Likewise.
8398 * elf/tst-tls7.c: Likewise.
8399 * elf/tst-tls8.c: Likewise.
8400 * elf/tst-tls9.c: Likewise.
8401 * elf/tst-tlsmod1.c: Likewise.
8402 * elf/tst-tlsmod13.c: Likewise.
8403 * elf/tst-tlsmod13a.c: Likewise.
8404 * elf/tst-tlsmod14a.c: Likewise.
8405 * elf/tst-tlsmod16a.c: Likewise.
8406 * elf/tst-tlsmod16b.c: Likewise.
8407 * elf/tst-tlsmod2.c: Likewise.
8408 * elf/tst-tlsmod3.c: Likewise.
8409 * elf/tst-tlsmod4.c: Likewise.
8410 * elf/tst-tlsmod5.c: Likewise.
8411 * elf/tst-tlsmod6.c: Likewise.
8412
0bfcf2c7
OB
84132013-10-18 Ondřej Bílka <neleai@seznam.cz>
8414
8415 [BZ #12486]
8416 * malloc/malloc.c: remove checks for statistics.
8417
264aad1e
OB
84182013-10-17 Ondřej Bílka <neleai@seznam.cz>
8419
8420 [BZ #15277]
8421 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8422 * inet/tst-network.c: Add testcase.
8423
b957ced8
AS
84242013-10-17 Andreas Schwab <schwab@suse.de>
8425
8426 [BZ #15218]
8427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8428 to determine canonical name.
8429
c5d5d574
OB
84302013-10-17 Ondřej Bílka <neleai@seznam.cz>
8431
8432 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8433 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8435 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8437 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8438 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8439 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8440 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8441 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8442 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8443 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8444 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8445 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8446 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8447 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8449 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8450 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8451 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8452 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8453 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8454 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8455 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8456 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8457 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8458 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8459 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8460 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8461 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8462 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8463 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8464 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8465 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8466 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8467 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8468 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8469 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8470 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8473 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8474 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8475 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8478 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8479 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8480 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8488 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8490
e5c2c2d0
JM
84912013-10-17 Joseph Myers <joseph@codesourcery.com>
8492
8493 [BZ #16041]
8494 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8495 make result into a quiet NaN.
8496
51ca9e29
JM
84972013-10-16 Joseph Myers <joseph@codesourcery.com>
8498
8499 * soft-fp/adddf3.c: Fix horizontal whitespace.
8500 * soft-fp/addsf3.c: Likewise.
8501 * soft-fp/addtf3.c: Likewise.
8502 * soft-fp/divdf3.c: Likewise.
8503 * soft-fp/divsf3.c: Likewise.
8504 * soft-fp/divtf3.c: Likewise.
8505 * soft-fp/double.h: Likewise.
8506 * soft-fp/eqdf2.c: Likewise.
8507 * soft-fp/eqsf2.c: Likewise.
8508 * soft-fp/eqtf2.c: Likewise.
8509 * soft-fp/extenddftf2.c: Likewise.
8510 * soft-fp/extended.h: Likewise.
8511 * soft-fp/extendsfdf2.c: Likewise.
8512 * soft-fp/extendsftf2.c: Likewise.
8513 * soft-fp/extendxftf2.c: Likewise.
8514 * soft-fp/fixdfdi.c: Likewise.
8515 * soft-fp/fixdfsi.c: Likewise.
8516 * soft-fp/fixdfti.c: Likewise.
8517 * soft-fp/fixsfdi.c: Likewise.
8518 * soft-fp/fixsfsi.c: Likewise.
8519 * soft-fp/fixsfti.c: Likewise.
8520 * soft-fp/fixtfdi.c: Likewise.
8521 * soft-fp/fixtfsi.c: Likewise.
8522 * soft-fp/fixtfti.c: Likewise.
8523 * soft-fp/fixunsdfdi.c: Likewise.
8524 * soft-fp/fixunsdfsi.c: Likewise.
8525 * soft-fp/fixunsdfti.c: Likewise.
8526 * soft-fp/fixunssfdi.c: Likewise.
8527 * soft-fp/fixunssfsi.c: Likewise.
8528 * soft-fp/fixunssfti.c: Likewise.
8529 * soft-fp/fixunstfdi.c: Likewise.
8530 * soft-fp/fixunstfsi.c: Likewise.
8531 * soft-fp/fixunstfti.c: Likewise.
8532 * soft-fp/floatdidf.c: Likewise.
8533 * soft-fp/floatdisf.c: Likewise.
8534 * soft-fp/floatditf.c: Likewise.
8535 * soft-fp/floatsidf.c: Likewise.
8536 * soft-fp/floatsisf.c: Likewise.
8537 * soft-fp/floatsitf.c: Likewise.
8538 * soft-fp/floattidf.c: Likewise.
8539 * soft-fp/floattisf.c: Likewise.
8540 * soft-fp/floattitf.c: Likewise.
8541 * soft-fp/floatundidf.c: Likewise.
8542 * soft-fp/floatundisf.c: Likewise.
8543 * soft-fp/floatunditf.c: Likewise.
8544 * soft-fp/floatunsidf.c: Likewise.
8545 * soft-fp/floatunsisf.c: Likewise.
8546 * soft-fp/floatunsitf.c: Likewise.
8547 * soft-fp/floatuntidf.c: Likewise.
8548 * soft-fp/floatuntisf.c: Likewise.
8549 * soft-fp/floatuntitf.c: Likewise.
8550 * soft-fp/fmadf4.c: Likewise.
8551 * soft-fp/fmasf4.c: Likewise.
8552 * soft-fp/fmatf4.c: Likewise.
8553 * soft-fp/gedf2.c: Likewise.
8554 * soft-fp/gesf2.c: Likewise.
8555 * soft-fp/getf2.c: Likewise.
8556 * soft-fp/ledf2.c: Likewise.
8557 * soft-fp/lesf2.c: Likewise.
8558 * soft-fp/letf2.c: Likewise.
8559 * soft-fp/muldf3.c: Likewise.
8560 * soft-fp/mulsf3.c: Likewise.
8561 * soft-fp/multf3.c: Likewise.
8562 * soft-fp/negdf2.c: Likewise.
8563 * soft-fp/negsf2.c: Likewise.
8564 * soft-fp/negtf2.c: Likewise.
8565 * soft-fp/op-1.h: Likewise.
8566 * soft-fp/op-2.h: Likewise.
8567 * soft-fp/op-4.h: Likewise.
8568 * soft-fp/op-8.h: Likewise.
8569 * soft-fp/op-common.h: Likewise.
8570 * soft-fp/quad.h: Likewise.
8571 * soft-fp/single.h: Likewise.
8572 * soft-fp/soft-fp.h: Likewise.
8573 * soft-fp/sqrtdf2.c: Likewise.
8574 * soft-fp/sqrtsf2.c: Likewise.
8575 * soft-fp/sqrttf2.c: Likewise.
8576 * soft-fp/subdf3.c: Likewise.
8577 * soft-fp/subsf3.c: Likewise.
8578 * soft-fp/subtf3.c: Likewise.
8579 * soft-fp/truncdfsf2.c: Likewise.
8580 * soft-fp/trunctfdf2.c: Likewise.
8581 * soft-fp/trunctfsf2.c: Likewise.
8582 * soft-fp/trunctfxf2.c: Likewise.
8583 * soft-fp/unorddf2.c: Likewise.
8584 * soft-fp/unordsf2.c: Likewise.
8585 * soft-fp/unordtf2.c: Likewise.
8586
9ebb0332
JM
85872013-10-15 Joseph Myers <joseph@codesourcery.com>
8588
8589 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8590 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8591
4b1a6d8b
OB
85922013-10-15 Ondřej Bílka <neleai@seznam.cz>
8593
8594 * elf/dl-libc.c: Clear initfini list after freeing.
8595
1e145589
JM
85962013-10-14 Joseph Myers <joseph@codesourcery.com>
8597
8598 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8599 * soft-fp/addsf3.c: Likewise.
8600 * soft-fp/addtf3.c: Likewise.
8601 * soft-fp/divdf3.c: Likewise.
8602 * soft-fp/divsf3.c: Likewise.
8603 * soft-fp/divtf3.c: Likewise.
8604 * soft-fp/double.h: Likewise.
8605 * soft-fp/eqdf2.c: Likewise.
8606 * soft-fp/eqsf2.c: Likewise.
8607 * soft-fp/eqtf2.c: Likewise.
8608 * soft-fp/extenddftf2.c: Likewise.
8609 * soft-fp/extended.h: Likewise.
8610 * soft-fp/extendsfdf2.c: Likewise.
8611 * soft-fp/extendsftf2.c: Likewise.
8612 * soft-fp/extendxftf2.c: Likewise.
8613 * soft-fp/fixdfdi.c: Likewise.
8614 * soft-fp/fixdfsi.c: Likewise.
8615 * soft-fp/fixdfti.c: Likewise.
8616 * soft-fp/fixsfdi.c: Likewise.
8617 * soft-fp/fixsfsi.c: Likewise.
8618 * soft-fp/fixsfti.c: Likewise.
8619 * soft-fp/fixtfdi.c: Likewise.
8620 * soft-fp/fixtfsi.c: Likewise.
8621 * soft-fp/fixtfti.c: Likewise.
8622 * soft-fp/fixunsdfdi.c: Likewise.
8623 * soft-fp/fixunsdfsi.c: Likewise.
8624 * soft-fp/fixunsdfti.c: Likewise.
8625 * soft-fp/fixunssfdi.c: Likewise.
8626 * soft-fp/fixunssfsi.c: Likewise.
8627 * soft-fp/fixunssfti.c: Likewise.
8628 * soft-fp/fixunstfdi.c: Likewise.
8629 * soft-fp/fixunstfsi.c: Likewise.
8630 * soft-fp/fixunstfti.c: Likewise.
8631 * soft-fp/floatdidf.c: Likewise.
8632 * soft-fp/floatdisf.c: Likewise.
8633 * soft-fp/floatditf.c: Likewise.
8634 * soft-fp/floatsidf.c: Likewise.
8635 * soft-fp/floatsisf.c: Likewise.
8636 * soft-fp/floatsitf.c: Likewise.
8637 * soft-fp/floattidf.c: Likewise.
8638 * soft-fp/floattisf.c: Likewise.
8639 * soft-fp/floattitf.c: Likewise.
8640 * soft-fp/floatundidf.c: Likewise.
8641 * soft-fp/floatundisf.c: Likewise.
8642 * soft-fp/floatunsidf.c: Likewise.
8643 * soft-fp/floatunsisf.c: Likewise.
8644 * soft-fp/floatuntidf.c: Likewise.
8645 * soft-fp/floatuntisf.c: Likewise.
8646 * soft-fp/floatuntitf.c: Likewise.
8647 * soft-fp/fmadf4.c: Likewise.
8648 * soft-fp/fmasf4.c: Likewise.
8649 * soft-fp/fmatf4.c: Likewise.
8650 * soft-fp/gedf2.c: Likewise.
8651 * soft-fp/gesf2.c: Likewise.
8652 * soft-fp/getf2.c: Likewise.
8653 * soft-fp/ledf2.c: Likewise.
8654 * soft-fp/lesf2.c: Likewise.
8655 * soft-fp/letf2.c: Likewise.
8656 * soft-fp/muldf3.c: Likewise.
8657 * soft-fp/mulsf3.c: Likewise.
8658 * soft-fp/multf3.c: Likewise.
8659 * soft-fp/negdf2.c: Likewise.
8660 * soft-fp/negsf2.c: Likewise.
8661 * soft-fp/negtf2.c: Likewise.
8662 * soft-fp/op-1.h: Likewise.
8663 * soft-fp/op-2.h: Likewise.
8664 * soft-fp/op-4.h: Likewise.
8665 * soft-fp/op-8.h: Likewise.
8666 * soft-fp/op-common.h: Likewise.
8667 * soft-fp/quad.h: Likewise.
8668 * soft-fp/single.h: Likewise.
8669 * soft-fp/soft-fp.h: Likewise.
8670 * soft-fp/sqrtdf2.c: Likewise.
8671 * soft-fp/sqrtsf2.c: Likewise.
8672 * soft-fp/sqrttf2.c: Likewise.
8673 * soft-fp/subdf3.c: Likewise.
8674 * soft-fp/subsf3.c: Likewise.
8675 * soft-fp/subtf3.c: Likewise.
8676 * soft-fp/truncdfsf2.c: Likewise.
8677 * soft-fp/trunctfdf2.c: Likewise.
8678 * soft-fp/trunctfsf2.c: Likewise.
8679 * soft-fp/trunctfxf2.c: Likewise.
8680 * soft-fp/unorddf2.c: Likewise.
8681 * soft-fp/unordsf2.c: Likewise.
8682 * soft-fp/unordtf2.c: Likewise.
8683
17c48a60
OB
86842013-10-14 Ondřej Bílka <neleai@seznam.cz>
8685
8686 [BZ #15672]
8687 * misc/error.c (error_tail): Fix possible buffer overflow.
8688
cabba934
OB
86892013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8690
8691 [BZ #13028]
8692 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8693 address.
8694
94bf958a
PM
86952013-10-14 P. J. McDermott <pj@pehjota.net>
8696
8697 [BZ #832]
8698 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8699 testing pipefail option.
8700
71b4dea7
JM
87012013-10-12 Joseph Myers <joseph@codesourcery.com>
8702
8703 * soft-fp/double.h: Indent preprocessor directives inside #if.
8704 * soft-fp/extended.h: Likewise.
8705 * soft-fp/op-2.h: Likewise.
8706 * soft-fp/op-4.h: Likewise.
8707 * soft-fp/op-common.h: Likewise.
8708 * soft-fp/quad.h: Likewise.
8709 * soft-fp/single.h: Likewise.
8710 * soft-fp/soft-fp.h: Likewise.
8711
55602758
YC
87122013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8713
8714 * iconv/iconv_prog.c: Fix typos.
8715 * stdio-common/psiginfo-data.h: Likewise.
8716
9cd83302
RT
87172013-10-12 Reuben Thomas <rrt@sc3d.org>
8718
8719 [BZ #15764]
8720 * locale/setlocale.c: Fix typo.
8721
99fd9f47
JM
87222013-10-12 Joseph Myers <joseph@codesourcery.com>
8723
b7ea74f0
JM
8724 [BZ #16036]
8725 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8726 signaling NaN arguments.
8727 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8728 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8729
8a509447
JM
8730 [BZ #14910]
8731 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8732 unordered operands.
8733 * soft-fp/gesf2.c (__gesf2): Likewise.
8734 * soft-fp/getf2.c (__getf2): Likewise.
8735 * soft-fp/ledf2.c (__ledf2): Likewise.
8736 * soft-fp/lesf2.c (__lesf2): Likewise.
8737 * soft-fp/letf2.c (__letf2): Likewise.
8738
98998e9f
JM
8739 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8740 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8741 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8742 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8743 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8744 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8745 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8746 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8747 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8748 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8749 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8750 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8751 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8752 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8753 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8754 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8755 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8756 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8757 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8758 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8759 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8760 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8761 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8762 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8763 * soft-fp/floattidf.c (__floattidf): Likewise.
8764 * soft-fp/floattisf.c (__floattisf): Likewise.
8765 * soft-fp/floattitf.c (__floattitf): Likewise.
8766 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8767 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8768 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8769 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8770 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8771 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8772 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8773 * soft-fp/gesf2.c (__gesf2): Likewise.
8774 * soft-fp/getf2.c (__getf2): Likewise.
8775 * soft-fp/ledf2.c (__ledf2): Likewise.
8776 * soft-fp/lesf2.c (__lesf2): Likewise.
8777 * soft-fp/letf2.c (__letf2): Likewise.
8778
8edc4a11
JM
8779 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8780 Undefine and redefine.
8781 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8782 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8783 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8784 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8785 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8786 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8787 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8788 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8789 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8790 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8791 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8792 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8793 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8794 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8795 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8796
8399acaf
JM
8797 [BZ #16032]
8798 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8799 without decrementing exponent if mantissa >= that for the
8800 denominator, not >.
8801 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8802 denominator, not >. Decrement exponent in < case instead of
8803 incrementing in >= case.
8804 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8805 without decrementing exponent if mantissa >= that for the
8806 denominator, not >.
8807
99fd9f47
JM
8808 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8809 computing saturated result for unsigned overflow.
8810
10e1cf6b
SP
88112013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8812 Jeff Law <law@redhat.com>
8813
8814 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8815 (atan2Mp): Add systemtap probe marker.
8816 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8817 (__ieee754_log): Add systemtap probe marker.
8818 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8819 (atanMp): Add systemtap probe marker.
8820 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8821 (tanMp): Add systemtap probe marker.
8822 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8823 (__slowexp): Add systemtap probe marker.
8824 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8825 (__slowpow): Add systemtap probe marker.
8826 * manual/probes.texi: Document probes.
8827
3d110c7c
EB
88282013-10-11 Eric Biggers <ebiggers3@gmail.com>
8829
8830 [BZ #15362]
8831 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8832 written.
8833 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8834 written.
8835 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8836 written to buffer but not flushed.
8837 * libio/iofwrite_u.c: Likewise.
8838 * libio/iopadn.c: Return bytes returned even if EOF was
8839 encountered.
8840 * libio/iowpadn.c: Likewise.
8841 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8842 if _IO_padn does not write the whole buffer.
8843 [!COMPILE_WPRINTF] (PAD): Likewise.
8844
75b4202a
DM
88452013-10-10 David S. Miller <davem@davemloft.net>
8846
8847 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8848 directory block.
8849
6c6352e6
JM
88502013-10-10 Joseph Myers <joseph@codesourcery.com>
8851
33b853c3
JM
8852 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8853 instead of FSF address.
8854 * soft-fp/fixdfti.c: Likewise.
8855 * soft-fp/fixsfti.c: Likewise.
8856 * soft-fp/fixtfti.c: Likewise.
8857 * soft-fp/fixunsdfti.c: Likewise.
8858 * soft-fp/fixunssfti.c: Likewise.
8859 * soft-fp/fixunstfti.c: Likewise.
8860 * soft-fp/floattidf.c: Likewise.
8861 * soft-fp/floattisf.c: Likewise.
8862 * soft-fp/floattitf.c: Likewise.
8863 * soft-fp/floatuntidf.c: Likewise.
8864 * soft-fp/floatuntisf.c: Likewise.
8865 * soft-fp/floatuntitf.c: Likewise.
8866 * soft-fp/trunctfxf2.c: Likewise.
8867
6c6352e6
JM
8868 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8869 * soft-fp/fixdfti.c: Likewise.
8870 * soft-fp/fixsfti.c: Likewise.
8871 * soft-fp/fixtfti.c: Likewise.
8872 * soft-fp/fixunsdfti.c: Likewise.
8873 * soft-fp/fixunssfti.c: Likewise.
8874 * soft-fp/fixunstfti.c: Likewise.
8875 * soft-fp/floattidf.c: Likewise.
8876 * soft-fp/floattisf.c: Likewise.
8877 * soft-fp/floattitf.c: Likewise.
8878 * soft-fp/floatuntidf.c: Likewise.
8879 * soft-fp/floatuntisf.c: Likewise.
8880 * soft-fp/floatuntitf.c: Likewise.
8881 * soft-fp/trunctfxf2.c: Likewise.
8882
3bf78b71
DM
88832013-10-10 David S. Miller <davem@davemloft.net>
8884
8885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8886
6f10289e
JM
88872013-10-10 Joseph Myers <joseph@codsourcery.com>
8888
bd878fc0
JM
8889 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8890 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8891 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8892 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8893 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8894 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8895 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8896
6f10289e
JM
8897 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8898 for NaNs before doing comparisons on argument.
8899 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8900 Likewise.
8901
321e2684
WN
89022013-10-10 Will Newton <will.newton@linaro.org>
8903
8904 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8905 passed to _int_memalign does not overflow.
8906
40fefba1
TR
89072013-10-10 Torvald Riegel <triegel@redhat.com>
8908
8909 * scripts/bench.pl: Add include-sources directive.
8910 * benchtests/README: Update documentation.
8911
2ae21ed2
JM
89122013-10-10 Joseph Myers <joseph@codesourcery.com>
8913
dcc2dd3f
JM
8914 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8915 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8916 instead of FP_INIT_ROUNDMODE.
8917 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8918 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8919
2ae21ed2
JM
8920 [BZ #16034]
8921 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8922 copy class of input value.
8923 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8924 not handle exceptions.
8925 * soft-fp/negsf2.c (__negsf2): Likewise.
8926 * soft-fp/negtf2.c (__negtf2): Likewise.
8927 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8928
cb8f9562
JM
89292013-10-09 Joseph Myers <joseph@codesourcery.com>
8930
8931 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8932 semicolon. From Linux kernel.
8933
5b60c59d
AB
89342013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8935
8936 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8937
b86835ca
YC
89382013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8939
8940 [BZ #156]
8941 * manual/socket.texi: Added statement about buffer
8942 for gethostbyname2_r.
8943
e7044ea7
OB
89442013-10-08 Ondřej Bílka <neleai@seznam.cz>
8945
8946 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8947 Use .p2align directive instead, throughout.
8948 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8949 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8950 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8951 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8952 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8953 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8954 * sysdeps/x86_64/strchr.S: Likewise.
8955 * sysdeps/x86_64/strrchr.S: Likewise.
8956
09544cbc
SP
89572013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8958
88576635
SP
8959 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8960
e7b2d1dd
SP
8961 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8962
09544cbc
SP
8963 * sysdeps/generic/math_private.h (__mpsin1): Remove
8964 declaration.
8965 (__mpcos1): Likewise.
8966 (__mpsin): New argument __range_reduce.
8967 (__mpcos): Likewise.
8968 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8969 (slow): Use __mpsin and __mpcos.
8970 (slow1): Likewise.
8971 (slow2): Likewise.
8972 (sloww): Likewise.
8973 (sloww1): Likewise.
8974 (sloww2): Likewise.
8975 (bsloww): Likewise.
8976 (bsloww1): Likewise.
8977 (bsloww2): Likewise.
8978 (cslow2): Likewise.
8979 (csloww): Likewise.
8980 (csloww1): Likewise.
8981 (csloww2): Likewise.
8982 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8983 range_reduce. Merge in __mpsin1.
8984 (__mpcos): Likewise.
8985 (__mpsin1): Remove.
8986 (__mpcos1): Likewise.
8987
7602d070
JM
89882013-10-07 Joseph Myers <joseph@codesourcery.com>
8989
8990 * locale/loadlocale.c (_nl_intern_locale_data): Use
8991 LOCFILE_ALIGNED_P.
8992 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8993 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8994 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8995 obstack data is appropriately aligned.
8996 (obstack_int32_grow_fast): Likewise.
8997 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8998 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8999 (add_locale_uint32_array): Likewise.
9000
a357259b
SP
90012013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9002
9003 * benchtests/Makefile: Remove ARGLIST and RET variables.
9004 ($(objpfx)bench-%.c): Pass only function name to the script.
9005 * benchtests/README: Update documentation.
9006 * benchtests/acos-inputs: Add new directives.
9007 * benchtests/acosh-inputs: Likewise.
9008 * benchtests/asin-inputs: Likewise.
9009 * benchtests/asinh-inputs: Likewise.
9010 * benchtests/atan-inputs: Likewise.
9011 * benchtests/atanh-inputs: Likewise.
9012 * benchtests/cos-inputs: Likewise.
9013 * benchtests/cosh-inputs: Likewise.
9014 * benchtests/exp-inputs: Likewise.
9015 * benchtests/log-inputs: Likewise.
9016 * benchtests/pow-inputs: Likewise.
9017 * benchtests/rint-inputs: Likewise.
9018 * benchtests/sin-inputs: Likewise.
9019 * benchtests/sinh-inputs: Likewise.
9020 * benchtests/tan-inputs: Likewise.
9021 * benchtests/tanh-inputs: Likewise.
9022 * scripts/bench.pl: Add support for new directives.
9023
9ec1b13d
AM
90242013-10-07 Alan Modra <amodra@gmail.com>
9025
9026 * README: Fix careless merge.
9027
8b7d57cd
AM
90282013-10-05 Alan Modra <amodra@gmail.com>
9029
9030 * NEWS: Mention powerpc64le support and bugs fixed.
9031 * README: Both big-endian and little-endian powerpc64 supported.
9032
7b7bab13
ST
90332013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9034
9035 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9036 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9037 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9038 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9039
d39baad1
RA
90402013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9041
9042 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9043 match prototype.
9044
cd78f7e7
JM
90452013-10-04 Joseph Myers <joseph@codesourcery.com>
9046
29d73d86
JM
9047 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9048 Move -mhard-float appending from
9049 ports/sysdeps/powerpc/powerpc32/Makefile.
9050 [$(with-fp) = yes] (ASFLAGS): Likewise.
9051 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9052 * sysdeps/powerpc/nofpu: Move directory from
9053 ports/sysdeps/powerpc/nofpu.
9054 * sysdeps/powerpc/soft-fp: Move directory from
9055 ports/sysdeps/powerpc/soft-fp.
9056 * sysdeps/powerpc/powerpc32/405: Move directory from
9057 ports/sysdeps/powerpc/powerpc32/405.
9058 * sysdeps/powerpc/powerpc32/440: Move directory from
9059 ports/sysdeps/powerpc/powerpc32/440.
9060 * sysdeps/powerpc/powerpc32/464: Move directory from
9061 ports/sysdeps/powerpc/powerpc32/464.
9062 * sysdeps/powerpc/powerpc32/476: Move directory from
9063 ports/sysdeps/powerpc/powerpc32/476.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9065 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9067 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9069 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9071 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9073 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9074 * README: Update for powerpc-*-linux-gnu software floating point
9075 support in libc.
9076
e246b347
JM
9077 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9078 case to powerpc/powerpc32*.
9079 * sysdeps/unix/sysv/linux/configure: Regenerated.
9080
89c2003e
JM
9081 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9082 (_FPU_MASK_OM): Define as 0x04.
9083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9085 0x00c10080.
9086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9087 0x0000003c.
9088 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9089
cd78f7e7
JM
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9091 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9092 getcontext_e500.
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9094 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9095 setcontext_e500.
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9097 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9098 and setcontext_e500.
9099
c755294d
CL
91002013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9101
9102 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9103
e16d221c
SP
91042013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9105
9106 * manual/threads.texi (Default Thread Attributes): Fix typo.
9107
215c7d43
WN
91082013-10-04 Will Newton <will.newton@linaro.org>
9109
9110 * malloc/Makefile: Add tst-memalign.
9111 * malloc/tst-memalign.c: New file.
9112
27d0461b
WN
9113 * malloc/tst-posix_memalign.c: Add comments.
9114 (do_test): Add comments and call free on all potentially
9115 allocated pointers. Add space after cast.
9116
1bc92709
WN
9117 * malloc/tst-pvalloc.c: Add comments.
9118 (do_test): Add comments and call free on all potentially
9119 allocated pointers. Remove duplicate check for NULL pointer.
9120 Add space after cast.
9121
66a9be9d
WN
9122 * malloc/tst-valloc.c: Add comments.
9123 (do_test): Add comments and call free on all potentially
9124 allocated pointers. Remove duplicate check for NULL pointer.
9125 Add space after cast.
9126
4cb81307
AM
91272013-10-04 Alan Modra <amodra@gmail.com>
9128
9129 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9130 Use stdint types in rather than __attribute__((mode())).
9131 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9132
f8e3e9f3
AM
91332013-10-04 Alan Modra <amodra@gmail.com>
9134
9135 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9136 Correct handling of unaligned relocs for little-endian.
9137 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9138
8f9ebb08
AM
91392013-10-04 Alan Modra <amodra@gmail.com>
9140
9141 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9142 * configure: Regenerate.
9143 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9144 * shlib-versions: Likewise.
9145
0edf96c2
AM
91462013-10-04 Alan Modra <amodra@gmail.com>
9147
9148 * string/tester.c (test_memrchr): Increment reported test cycle.
9149
e0f7a380
AM
91502013-10-04 Alan Modra <amodra@gmail.com>
9151
9152 * string/test-memcpy.c (do_one_test): When reporting errors, print
9153 string address and don't overrun end of string.
9154
466b0393
AM
91552013-10-04 Alan Modra <amodra@gmail.com>
9156
9157 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9158 insrdi. Make better use of reg selection to speed exit slightly.
9159 Schedule entry path a little better. Remove useless "are we done"
9160 checks on entry to main loop. Handle wrapping around zero address.
9161 Correct main loop count. Handle single left-over word from main
9162 loop inline rather than by using loop_small. Remove extra word
9163 case in loop_small caused by wrong loop count. Add little-endian
9164 support.
9165 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9166 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9167 cache hint.
9168 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9169 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9170 support. Avoid rlwimi.
9171 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9172
3be87c77
AM
91732013-10-04 Alan Modra <amodra@gmail.com>
9174
9175 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9176 insrdi. Formatting.
3be87c77
AM
9177 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9178 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9179 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9180 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9181 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9182 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9183
759cfef3
AM
91842013-10-04 Alan Modra <amodra@gmail.com>
9185
9186 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9187 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9188 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9189 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9190 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9191 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9192 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9193 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9194 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9195 use of regs. Use power7 mtocrf. Tidy function tails.
9196
fe6e95d7
AM
91972013-10-04 Alan Modra <amodra@gmail.com>
9198
9199 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9200 Formatting. Consistently use rXXX register defines or rN defines.
9201 Use early exit labels that avoid restoring unused non-volatile regs.
9202 Make cr field use more consistent with rWORDn compares. Rename
9203 regs used as shift registers for unaligned loop, using rN defines
9204 for short lifetime/multiple use regs.
9205 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9206 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9207 addi 1,1,64 to pop stack frame. Simplify return value code.
9208 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9209
664318c3
AM
92102013-10-04 Alan Modra <amodra@gmail.com>
9211
9212 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9213 support. Correct typos, formatting. Optimize tail. Use insrdi
9214 rather than rlwimi.
9215 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9216 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9217 little-endian support. Correct typos.
9218 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9219 rather than rlwimi.
9220 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9221 in loop and entry code to keep "and." results.
9222 (strchr): Add little-endian support. Comment. Move cntlzd
9223 earlier in tail.
9224 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9225
43b84013
AM
92262013-10-04 Alan Modra <amodra@gmail.com>
9227
9228 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9229 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9230 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9231 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9232
8a7413f9
AM
92332013-10-04 Alan Modra <amodra@gmail.com>
9234
9235 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9236 (rTMP): Define as r11.
9237 (strcmp): Add little-endian support. Optimise tail.
9238 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9239 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9240 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9241 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9242 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9243 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9244 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9245
33ee81de
AM
92462013-10-04 Alan Modra <amodra@gmail.com>
9247
9248 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9249 little-endian support. Remove unnecessary "are we done" tests.
9250 Handle "s" wrapping around zero and extremely large "size".
9251 Correct main loop count. Handle single left-over word from main
9252 loop inline rather than by using small_loop. Correct comments.
9253 Delete "zero" tail, use "end_max" instead.
9254 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9255
db9b4570
AM
92562013-10-04 Alan Modra <amodra@gmail.com>
9257
9258 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9259 support. Don't branch over align.
9260 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9261 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9262 support. Rearrange tmp reg use to suit. Comment.
9263 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9264
f7c399cf
AM
92652013-10-04 Alan Modra <amodra@gmail.com>
9266
9267 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9268
0b2c2ace
AM
92692013-10-04 Alan Modra <amodra@gmail.com>
9270
9271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9272 conditional form of branch and link when obtaining pc.
9273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9274
02f04a6c
AM
92752013-10-04 Alan Modra <amodra@gmail.com>
9276
9277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9278 HIWORD/LOWORD.
9279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9281
9b874b2f
AM
92822013-10-04 Alan Modra <amodra@gmail.com>
9283
9284 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9285 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9286 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9287 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9288 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9289 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9290 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9291 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9292 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9293 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9294
be1e5d31
AB
92952013-10-04 Anton Blanchard <anton@au1.ibm.com>
9296 Alistair Popple <alistair@ozlabs.au.ibm.com>
9297 Alan Modra <amodra@gmail.com>
9298
9299 [BZ #15723]
9300 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9301 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9302 _dl_hwcap access for little-endian.
9303 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9304 destroy vmx regs when saving unaligned.
9305 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9306 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9307 destroy vmx regs when saving unaligned.
9308
fef13a78
AM
93092013-10-04 Alan Modra <amodra@gmail.com>
9310
9311 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9312 Don't use a union to pack hi/low value.
9313
76a66d51
AB
93142013-10-04 Anton Blanchard <anton@au1.ibm.com>
9315
9316 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9317 for little-endian.
9318 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9319 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9320 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9321 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9322 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9323
6a31fe7f
AM
93242013-10-04 Alan Modra <amodra@gmail.com>
9325
9326 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9327 constants to usual value for .cst8 section, and remove redundant
9328 high address load.
9329 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9330 constant for 0x1p52. Load little-endian words of double from
9331 correct stack offsets.
9332
7b88401f
AM
93332013-10-04 Alan Modra <amodra@gmail.com>
9334
9335 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9336 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9337 words of double from correct stack offsets.
9338 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9339 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9340 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9341 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9342 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9343 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9344 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9345 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9346 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9347 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9348 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9349 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9350 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9351 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9352 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9353 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9354 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9355
9c008155
AM
93562013-10-04 Alan Modra <amodra@gmail.com>
9357
9358 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9359 64-bit int/double union.
9360 (_FPU_SETCW): Likewise.
9361 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9362 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9363
da13146d
AM
93642013-10-04 Alan Modra <amodra@gmail.com>
9365
9366 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9367 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9368
603e8410
AM
93692013-10-04 Alan Modra <amodra@gmail.com>
9370
9371 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9372 use vector int constants.
9373 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9374
4a28b3ca
AB
93752013-10-04 Anton Blanchard <anton@au1.ibm.com>
9376
9377 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9378 array with long long.
9379 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9380 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9381 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9382 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9383 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9384 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9385 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9386 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9387 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9388 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9389 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9390 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9391 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9392
2ca85d2b
AB
93932013-10-04 Anton Blanchard <anton@au1.ibm.com>
9394
9395 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9396 (__signbit): Likewise. Correct for little-endian.
9397 (__signbitl): Call __signbit.
9398 (lrint): Correct for little-endian.
9399 (lrintf): Call lrint.
9400
62a728ae
AM
94012013-10-04 Alan Modra <amodra@gmail.com>
9402
9403 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9404 union 32-bit int array member with 64-bit int array.
9405 (t515, tm256): Double rather than long double.
9406 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9407
32c301df
AM
94082013-10-04 Alan Modra <amodra@gmail.com>
9409
9410 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9411 Delete.
9412 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9413 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9414 version of math_ldbl.h.
9415
650ef4bd
AM
94162013-10-04 Alan Modra <amodra@gmail.com>
9417
9418 [BZ #15734], [BZ #15735]
9419 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9420 all uses of ieee875 long double macros and unions. Simplify test
9421 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9422 ldbl_extract_mantissa value for ix,iy exponents. Properly
9423 normalize after ldbl_extract_mantissa, and don't add hidden bit
9424 already handled. Don't treat low word of ieee854 mantissa like
9425 low word of IBM long double and mask off bit when testing for
9426 zero.
9427 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9428 all uses of ieee875 long double macros and unions. Simplify tests
9429 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9430 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9431 two1022, instead use their values. Recognise that tests for large
9432 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9433 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9434 Rewrite all uses of ieee875 long double macros and unions. Simplify
9435 test for 0.0L and nan. Correct negation.
9436 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9437 ieee875 long double macros and unions. Correct output for large
9438 magnitude x. Correct absolute value calculation.
9439 (__erfcl): Likewise.
9440 * math/libm-test.inc: Add tests for errors discovered in IBM long
9441 double versions of fmodl, remainderl, erfl and erfcl.
9442
765714ca
AM
94432013-10-04 Alan Modra <amodra@gmail.com>
9444
9445 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9446 all uses of ieee854 long double macros and unions. Simplify tests
9447 for long doubles that are fully specified by the high double.
9448 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9449 Likewise.
9450 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9451 Remove dead code too.
9452 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9453 (__ieee754_ynl): Likewise.
9454 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9455 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9456 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9457 Remove dead code too.
9458 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9459 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9461 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9462 Simplify.
9463 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9464 Simplify.
9465 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9466 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9467 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9468 Comment on variable precision.
9469 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9470 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9471 Likewise.
9472 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9473 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9474 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9475 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9476 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9477
4ebd120c
AM
94782013-10-04 Alan Modra <amodra@gmail.com>
9479
9480 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9481 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9482 all uses of ieee854 long double macros and unions.
9483 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9484 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9485 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9486 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9487 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9488 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9489 Likewise.
9490 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9491 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9492 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9493 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9494 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9495 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9496 Simplify sign and nan test too.
9497 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9498 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9499 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9500 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9501 Likewise.
9502 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9503 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9504 Likewise.
9505 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9506 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9507 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9508 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9509 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9511
1b6adf88
AM
95122013-10-04 Alan Modra <amodra@gmail.com>
9513
9514 * stdio-common/printf_size.c (__printf_size): Don't use
9515 union ieee854_long_double in fpnum union.
9516 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9517 signbit macro to retrieve sign from long double.
9518 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9519 retrieve sign from long double.
9520 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9521 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9522 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9523 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9524 * math/test-misc.c (main): Don't use union ieee854_long_double.
9525
4cf69995
AM
95262013-10-04 Alan Modra <amodra@gmail.com>
9527
9528 [BZ #15680]
9529 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9530 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9531 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9532 calculation. Remove unnecessary test for denormal exponent.
9533 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9534 Correct handling of denormals. Avoid undefined shift behaviour.
9535 Correct normalisation of low mantissa when low double is denormal.
9536 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9537 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9538 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9539 Correct normalisation of low mantissa. Test for overflow of high
9540 mantissa and normalise.
9541 (ldbl_nearbyint): Use more readable constant for two52.
9542 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9543 (__mpn_construct_long_double): Fix test for overflow of high
9544 mantissa and correct normalisation. Avoid undefined shift.
9545
9605ca6c
AM
95462013-10-04 Alan Modra <amodra@gmail.com>
9547
9548 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9549 (union ibm_extended_long_double): Define as an array of ieee754_double.
9550 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9551 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9552 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9553 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9554 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9556 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9557 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9560 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9561
975569d0
JM
95622013-10-03 Joseph Myers <joseph@codesourcery.com>
9563
d3d23756
JM
9564 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9565 page size instead of calling getpagesize.
9566
975569d0
JM
9567 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9568 (LOCFILE_ALIGN_MASK): Likewise.
9569 (LOCFILE_ALIGN_UP): Likewise.
9570 (LOCFILE_ALIGNED_P): Likewise.
9571 * locale/programs/ld-collate.c (collate_output): Use the new
9572 macros instead of __alignof__ (int32_t).
9573 * locale/weight.h (findidx): Likewise.
9574
b1fe1f2b
OB
95752013-10-03 Ondřej Bílka <neleai@seznam.cz>
9576
9577 [BZ #431]
9578 * manual/string.texi: Fix strncat and wcsncat.
9579
5f855e35
BM
95802013-10-03 Brooks Moses <bmoses@google.com>
9581
9582 [BZ #15915]
9583 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9584 * Makerules: ...here, and adjust associated comments.
9585
3cef6009
WN
95862013-10-02 Will Newton <will.newton@linaro.org>
9587
9588 * malloc/Makefile: Add tst-pvalloc.
9589 * malloc/tst-pvalloc.c: New file.
9590
7815420b
WN
95912013-10-02 Will Newton <will.newton@linaro.org>
9592
9593 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9594 improve test coverage.
9595
4868b204
WN
95962013-10-02 Will Newton <will.newton@linaro.org>
9597
9598 * malloc/Makefile: Add tst-posix_memalign.
9599 * malloc/tst-posix_memalign.c: New file.
9600
29c793b3
EB
96012013-10-01 Eric Blake <eblake@redhat.com>
9602
9603 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9604 Use __THROWNL rather than __THROW on static functions.
9605
fd967522
PM
96062013-09-30 Petr Machata <pmachata@redhat.com>
9607
9608 * elf/elf.h (R_AARCH64_ABS16): New macro.
9609 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9610 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9611 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9612 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9613 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9614 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9615 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9616 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9617 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9618 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9619 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9620 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9621 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9622 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9623 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9624 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9625 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9626 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9627 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9628 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9629 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9630 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9631 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9632 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9633 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9634 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9635 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9636 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9637 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9638 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9639 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9640 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9641 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9642 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9643 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9644 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9645 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9646 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9647 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9648 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9649 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9650 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9651 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9652 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9653 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9654 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9655 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9656 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9657 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9658 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9659 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9660 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9661 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9662 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9663 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9664 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9665 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9666 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9667 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9668 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9669 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9670 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9671 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9672 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9673 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9674 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9675 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9676 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9677 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9678 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9679 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9680 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9681 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9682 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9683 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9684 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9685 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9686 (R_AARCH64_TLSDESC_LDR): Likewise.
9687 (R_AARCH64_TLSDESC_ADD): Likewise.
9688 (R_AARCH64_TLSDESC_CALL): Likewise.
9689
b2179107
AS
96902013-09-30 Andreas Schwab <schwab@suse.de>
9691
9692 [BZ #15048]
9693 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9694 the nss database lookup.
9695 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9697
47f28d0a
MF
96982013-09-28 Mike Frysinger <vapier@gentoo.org>
9699
9700 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9701
97022013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9703
9704 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9705 ${Bash-specific parameter/pattern/string} parameter expansion.
9706 * sysdeps/unix/make-syscalls.sh: Likewise.
9707
f4518a17
KK
97082013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9709
9710 * sysdeps/sh/stackguard-macros.h: New file.
9711
dc1a95c7
OB
97122013-09-26 Ondřej Bílka <neleai@seznam.cz>
9713
9714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9715 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9716 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9717 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9718 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9719 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9720
5ebbff8f
AZ
97212013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9722
9723 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9724 Fix thread ID register.
9725
4fd2cf9f
JM
97262013-09-25 Joseph Myers <joseph@codesourcery.com>
9727
9728 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9729 [POSIX || UNIX98]: Require rather than permitting all symbols from
9730 <time.h>.
9731 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9732 element of struct sched_param.
9733 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9734 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9735 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9736 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9737 constant.
9738
12c22bc4
OL
97392013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9740
9741 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9742 argument calculation.
9743
a03d8ea7
JM
97442013-09-24 Joseph Myers <joseph@codesourcery.com>
9745
9746 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9747 Expect macro.
9748 [POSIX] (pthread_attr_t): Do not require type.
9749 [POSIX] (pthread_cond_t): Likewise.
9750 [POSIX] (pthread_condattr_t): Likewise.
9751 [POSIX] (pthread_key_t): Likewise.
9752 [POSIX] (pthread_mutex_t): Likewise.
9753 [POSIX] (pthread_mutexattr_t): Likewise.
9754 [POSIX] (pthread_once_t): Likewise.
9755 [POSIX] (pthread_t): Likewise.
9756 [POSIX-based standards] (pthread_atfork): Expect function.
9757
6055173a
JM
97582013-09-24 Joseph Myers <joseph@codesourcery.com>
9759 Richard Sandiford <richard@codesourcery.com>
9760
9761 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9762 (swap_endianness_p): New extern variable.
9763 (set_big_endian): New inline function.
9764 (maybe_swap_uint32): Likewise.
9765 (maybe_swap_uint32_array): Likewise.
9766 (maybe_swap_uint32_obstack): Likewise.
9767 * locale/programs/locfile.c: Include <stdbool.h>.
9768 (swap_endianness_p): New variable.
9769 (add_locale_uint32): Call maybe_swap_uint32.
9770 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9771 (write_locale_data): Call maybe_swap_uint32_array.
9772 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9773 maybe_swap_uint32.
9774 (obstack_int32_grow_fast): Likewise.
9775 (output_weightwc): Call maybe_swap_uint32_obstack.
9776 (collate_output): Likewise.
9777 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9778 (OPT_LITTLE_ENDIAN): Likewise.
9779 (options): Add --little-endian and --big-endian options.
9780 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9781 * locale/programs/locarchive.c: Include "locfile.h".
9782 (GET): New macro.
9783 (SET): Likewise.
9784 (INC): Likewise.
9785 (create_archive): Use the new macros to access fields of
9786 structures directly mapped from or written to locale archives.
9787 (oldlocrecentcmp): Likewise.
9788 (enlarge_archive): Likewise.
9789 (insert_name): Likewise.
9790 (add_alias): Likewise.
9791 (add_locale): Likewise.
9792 (delete_locales_from_archive): Likewise.
9793 (show_archive_content): Likewise.
9794 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9795 locale data.
9796
39bf0bb4
RM
97972013-09-24 Roland McGrath <roland@hack.frob.com>
9798
9799 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9800 http://www.gnu.org/doc/freemanuals.texi.
9801 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9802
f02eed10
WN
98032013-09-24 Will Newton <will.newton@linaro.org>
9804
9805 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9806 macro.
9807
a3a6c312
JM
98082013-09-23 Joseph Myers <joseph@codesourcery.com>
9809
9810 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9811 unsigned char.
9812
107375ac
MR
98132013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9814
9815 * manual/threads.texi (POSIX Threads): Fix a typo.
9816
141f3a77
SP
98172013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9818
303e567a
SP
9819 [BZ #14547]
9820 * string/tst-strcoll-overflow.c: New test case.
9821 * string/Makefile (xtests): Add tst-strcoll-overflow.
9822 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9823 cache if string sizes may cause integer overflow.
9824
141f3a77
SP
9825 [BZ #14547]
9826 * string/strcoll_l.c (coll_seq): New members rule, idx,
9827 save_idx and back_us.
9828 (get_next_seq_nocache): New function.
9829 (do_compare_nocache): New function.
9830 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9831 when malloc fails.
9832
c61b4d41
CD
98332013-09-23 Carlos O'Donell <carlos@redhat.com>
9834
0b1f8e35
CD
9835 [BZ #15754]
9836 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9837 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9838 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9839
c61b4d41
CD
9840 [BZ #15754]
9841 * elf/Makefile (tests): Add tst-ptrguard1.
9842 (tests-static): Add tst-ptrguard1-static.
9843 (tst-ptrguard1-ARGS): Define.
9844 (tst-ptrguard1-static-ARGS): Define.
9845 * elf/tst-ptrguard1.c: New file.
9846 * elf/tst-ptrguard1-static.c: New file.
9847 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9848 * sysdeps/i386/stackguard-macros.h: Likewise.
9849 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9850 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9851 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9852 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9853 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9854 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9855
98562013-09-23 Hector Marco <hecmargi@upv.es>
9857 Ismael Ripoll <iripoll@disca.upv.es>
9858 Carlos O'Donell <carlos@redhat.com>
9859
9860 [BZ #15754]
9861 * sysdeps/generic/stackguard-macros.h: Define
9862 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9863 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9864 Define __pointer_chk_guard_local.
9865 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9866 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9867
f5f4e7b4
VV
98682013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9869
9870 [BZ #15859]
9871 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9872
5bb43a43
AS
98732013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9874
9875 * include/string.h (__ffs): Declare as hidden.
9876 * string/ffs.c (__ffs): Define as hidden.
9877 * sysdeps/i386/ffs.c (__ffs): Likewise.
9878 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9879 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9880 * sysdeps/s390/ffs.c (__ffs): Likewise.
9881 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9882
3ea5be54
AO
98832013-09-20 Alexandre Oliva <aoliva@redhat.com>
9884
ffb89e53
AO
9885 * NEWS: Mention malloc probes.
9886
322dea08
AO
9887 * malloc/arena.c (new_heap): New memory_heap_new probe.
9888 (grow_heap): New memory_heap_more probe.
9889 (shrink_heap): New memory_heap_less probe.
9890 (heap_trim): New memory_heap_free probe.
9891 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9892 (systrim): New memory_sbrk_less probe.
9893 * manual/probes.texi: Document them.
9894
655673f3
AO
9895 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9896 * manual/probes.texi: Document it.
9897
35fed6f1
AO
9898 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9899 (__libc_realloc): Add memory_realloc_retry probe.
9900 (__libc_memalign): Add memory_memalign_retry probe.
9901 (__libc_valloc): Add memory_valloc_retry probe.
9902 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9903 (__libc_calloc): Add memory_calloc_retry probe.
9904 * manual/probes.texi: Document them.
9905
6999d38c
AO
9906 * malloc/arena.c (get_free_list): Add probe
9907 memory_arena_reuse_free_list.
9908 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9909 and memory_arena_reuse.
9910 (arena_get2) [!PER_THREAD]: Likewise.
9911 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9912 memory_arena_reuse_realloc.
9913 * manual/probes.texi: Document them.
9914
0653427f
AO
9915 * malloc/malloc.c (__libc_free): Add
9916 memory_mallopt_free_dyn_thresholds probe.
9917 (__libc_mallopt): Add multiple memory_mallopt probes.
9918 * manual/probes.texi: Document them.
9919
3ea5be54
AO
9920 * malloc/malloc.c: Include stap-probe.h.
9921 (__libc_mallopt): Add memory_mallopt probe.
9922 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9923 * manual/probes.texi: New.
9924 * manual/Makefile (chapters): Add probes.
9925 * manual/threads.texi: Set next node.
9926
e35696c3 99272013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9928
e35696c3
CL
9929 [BZ #15963, #13985]
9930 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9931 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9932 Add `Chinese' to `nan' entry name.
9933
4aafb73c
SP
99342013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9935
9936 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9937 (POLYNOMIAL): Likewise.
9938 (TAYLOR_SINCOS): Likewise.
9939 (TAYLOR_SLOW): Likewise.
9940 (__sin): Use TAYLOR_SINCOS.
9941 (__cos): Likewise.
9942 (slow): Use TAYLOR_SLOW.
9943 (sloww): Likewise.
9944 (bsloww): Likewise.
9945 (csloww): Likewise.
9946
d84f25c7
LD
99472013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9948
9949 * stdlib/strtod_l.c: Fix buffer overrun.
9950
5eea0404
SP
99512013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9952
7849ff93
SP
9953 * benchtests/Makefile (bench): Add sincos.
9954 * benchtests/bench-sincos.c: New file.
9955
cfa3c886
SP
9956 * math/libm-test.inc (cos_test_data): New test inputs.
9957 (sin_test_data): Likewise.
9958
b348e1e3
SP
9959 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9960 macro.
9961 (__sin): Use it.
9962 (__cos): Likewise.
9963 (slow1): Likewise.
9964 (slow2): Likewise.
9965 (sloww1): Likewise.
9966 (sloww2): Likewise.
9967 (bsloww1): Likewise.
9968 (bsloww2): Likewise.
9969 (cslow2): Likewise.
9970 (csloww1): Likewise.
9971 (csloww2): Likewise.
9972
6cce25f8
SP
9973 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9974 function.
9975 (__sin): Use it.
9976 (__cos): Likewise.
9977
5eea0404
SP
9978 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9979 gotos.
9980 (__cos): Likewise.
9981
9c21573c
MR
99822013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9983
9984 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9985 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9986 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9987 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9988 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9989 * elf/cache.c (print_entry): Handle the new cache flags.
9990
24d22e65
JM
99912013-09-18 Joseph Myers <joseph@codesourcery.com>
9992 Aldy Hernandez <aldyh@redhat.com>
9993
9994 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9995 Change condition to [_SOFT_FLOAT].
9996 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9998 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9999 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10000 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10001 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10002 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10003 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10004 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10005 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10006 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10008 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10009 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10010 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10011 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10012 declaration.
10013
d13ef066
JM
100142013-09-18 Joseph Myers <joseph@codesourcery.com>
10015
2e071de0
JM
10016 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10017 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10018 (__longjmp): Use LOAD_GP to load saved GPRs.
10019 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10020 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10021 (__sigsetjmp): Use SAVE_GP to save GPRs.
10022
d13ef066
JM
10023 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10024 Do not append -msoft-float.
10025 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10026
97a0650b
SP
100272013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10028
10029 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10030
11ca09e9
JM
100312013-09-17 Joseph Myers <joseph@codesourcery.com>
10032
10033 [BZ #15966]
10034 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10035 (_FPU_GETCW): Use initial "__" on variable and field names but not
10036 on macro parameter name.
10037 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10038 parentheses around reference to macro parameter.
10039
08ffcf34
RS
100402013-09-13 Richard Sandiford <richard@codesourcery.com>
10041
10042 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10043 prototype.
10044 (ctype_startup): Use uint32_t in cast and sizeof for
10045 ctype->charnames.
10046
ae7080d3
JL
100472013-09-11 Jia Liu <proljc@gmail.com>
10048
10049 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10050 __daddr_t_defined.
10051 [__FreeBSD__]: Likewise.
10052
5905e7b3
OB
100532013-09-11 Ondřej Bílka <neleai@seznam.cz>
10054
10055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10056 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10057 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10058 (strchr): Remove __strchr_sse42 ifunc selection.
10059 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10060 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10061
b987c776
WN
100622013-09-11 Will Newton <will.newton@linaro.org>
10063
10064 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10065 parameter to RES. Remove hardcoded 1000 value.
10066 * benchtests/bench-skeleton.c (main): Pass RES parameter
10067 to TIMING_INIT and multiply result by 1000.
10068
ddf985af
AZ
100692013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10070
10071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10072
ffdd3181
AS
100732013-09-11 Andreas Schwab <schwab@suse.de>
10074
10075 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10076 if not defined.
10077 (O_TMPFILE) [__USE_GNU]: Define.
10078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10079 Define.
10080
b73ed247
WN
100812013-09-11 Will Newton <will.newton@linaro.org>
10082
10083 [BZ #15857]
10084 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10085 does not overflow.
10086
55e17aad
WN
100872013-09-11 Will Newton <will.newton@linaro.org>
10088
10089 [BZ #15856]
10090 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10091 does not overflow.
10092
1159a193
WN
100932013-09-11 Will Newton <will.newton@linaro.org>
10094
10095 [BZ #15855]
10096 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10097 does not overflow.
10098
5905e7b3 100992013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10100
10101 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10102 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10106
cdfc721b
AM
101072013-09-10 Allan McRae <allan@archlinux.org>
10108
aa04af00
AM
10109 [BZ #15748]
10110 * manual/arith.texi (Parsing of Floats): Clarify
10111 cross-reference.
10112
cdfc721b
AM
10113 [BZ #15849]
10114 * manual/install.texi (Running make install): Mention
10115 --enable-pt-chown.
10116 * INSTALL: Regenerated.
10117
95e7cf29
MR
101182013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10119
10120 * csu/init-first.c (_init): Remove the !SHARED condition around
10121 FPU control word initialization.
10122 * elf/dl-support.c (_dl_fpu_control): New variable.
10123 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10124 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10125 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10126 * math/test-fpucw-static.c: New file.
10127 * math/test-fpucw-ieee.c: New file.
10128 * math/test-fpucw-ieee-static.c: New file.
10129 * math/Makefile (tests): Add `test-fpucw-ieee' and
10130 `$(tests-static)'.
10131 (tests-static): New variable.
10132 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10133 dependency to...
10134 [($(build-shared),yes)]
10135 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10136 ... this.
10137 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10138 New dependency.
10139
83e43bf0
AM
101402013-09-09 Allan McRae <allan@archlinux.org>
10141
a9f5ce09
AM
10142 [BZ #15939]
10143 * manual/string.texi (Collation Functions): Fix typo in
10144 strcoll example.
10145 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10146
34829bc2
AM
10147 [BZ #15893]
10148 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10149
3932737d
AM
10150 [BZ #15892]
10151 * libio/memstream.c (open_memstream): Fix memory leak.
10152 * libio/wmemstream.c (open_wmemstream): Likewise.
10153
83e43bf0
AM
10154 [BZ #15895]
10155 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10156
0c66b8e9
WN
101572013-09-09 Will Newton <will.newton@linaro.org>
10158
10159 * malloc/Makefile: Add tst-realloc to tests.
10160 * malloc/tst-realloc.c: New file.
10161
f6b00fd1
AM
101622013-09-09 Allan McRae <allan@archlinux.org>
10163
10164 [BZ #15844]
10165 * COPYING: Update from GNU website to fix FSF address.
10166 * COPYING.LIB: Likewise.
10167
eec55e16
DM
101682013-09-06 David S. Miller <davem@davemloft.net>
10169
10170 * po/zh_TW.po: Update Chinese (traditional) translation from
10171 translation project.
10172
1ecbb381
RS
101732013-09-06 Richard Sandiford <richard@codesourcery.com>
10174 Joseph Myers <joseph@codesourcery.com>
10175
10176 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10177 "localeinfo.h".
10178 (obstack_chunk_alloc): New macro.
10179 (obstack_chunk_free): Likewise.
10180 (record_offset): New function.
10181 (init_locale_data): Likewise.
10182 (align_locale_data): Likewise.
10183 (add_locale_empty): Likewise.
10184 (add_locale_raw_data): Likewise.
10185 (add_locale_raw_obstack): Likewise.
10186 (add_locale_string): Likewise.
10187 (add_locale_wstring): Likewise.
10188 (add_locale_uint32): Likewise.
10189 (add_locale_uint32_array): Likewise.
10190 (add_locale_char): Likewise.
10191 (start_locale_structure): Likewise.
10192 (end_locale_structure): Likewise.
10193 (start_locale_prelude): Likewise.
10194 (end_locale_prelude): Likewise.
10195 (write_locale_data): Take locale_file structure rather than an
10196 iovec.
10197 * locale/programs/locfile.h: Include "obstack.h".
10198 (struct locale_file): Change to store locale file contents instead
10199 of header.
10200 (init_locale_data): New prototype.
10201 (align_locale_data): Likewise.
10202 (add_locale_empty): Likewise.
10203 (add_locale_raw_data): Likewise.
10204 (add_locale_raw_obstack): Likewise.
10205 (add_locale_string): Likewise.
10206 (add_locale_wstring): Likewise.
10207 (add_locale_uint32): Likewise.
10208 (add_locale_uint32_array): Likewise.
10209 (add_locale_char): Likewise.
10210 (start_locale_structure): Likewise.
10211 (end_locale_structure): Likewise.
10212 (start_locale_prelude): Likewise.
10213 (end_locale_prelude): Likewise.
10214 (write_locale_data): Update prototype.
10215 * locale/programs/3level.h (struct TABLE): Remove result field.
10216 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10217 Use new locale_file interface.
10218 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10219 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10220 * locale/programs/ld-address.c (address_output): Use new
10221 locale_file interface.
10222 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10223 NO_ADD_LOCALE.
10224 (collate_finish): Don't call collseq_table_finalize.
10225 (collate_output): Use new locale_file interface.
10226 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10227 in file.
10228 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10229 (TABLE): Move defines earlier in file.
10230 (ELEMENT): Likewise.
10231 (DEFAULT): Likewise.
10232 (wctrans_table_add): Move macro and inline function earlier in
10233 file.
10234 (struct wctype_table): Move type earlier in file.
10235 (add_locale_wctype_table): New static prototype.
10236 (struct locale_ctype_t): Use logical types instead of struct iovec
10237 pointers for members.
10238 (ctype_output): Use new locale_file interface.
10239 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10240 new locale_file interface.
10241 (allocate_arrays): Update for use of new locale_file interface.
10242 * locale/programs/ld-identification.c (identification_output): Use
10243 new locale_file interface.
10244 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10245 * locale/programs/ld-messages.c (messages_output): Likewise.
10246 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10247 * locale/programs/ld-name.c (name_output): Likewise.
10248 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10249 * locale/programs/ld-paper.c (paper_output): Likewise.
10250 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10251 * locale/programs/ld-time.c (time_output): Likewise.
10252
e029e2e5
AZ
102532013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10254
10255 * benchtests/Makefile: Add memrchr benchmark.
10256 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10257 benchmark as memrchr.
10258 * benchtests/bench-memrchr-ifunc.c: New file.
10259 * benchtests/bench-memrchr.c: New file.
10260
bbf6e8e4
WN
102612013-09-06 Will Newton <will.newton@linaro.org>
10262
10263 * benchtests/Makefile (string-bench): Add memcpy.
10264
6c82a2f8
CD
102652013-09-05 Carlos O'Donell <carlos@redhat.com>
10266 Cong Wang <amwang@redhat.com>
10267
e732c5f0 10268 [BZ #15850]
6c82a2f8
CD
10269 * sysdeps/unix/sysv/linux/bits/in.h
10270 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10271 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10272 before __USE_KERNEL_IPV6_DEFS uses.
10273 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10274 IPPROTO_BEETPH.
10275 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10276 sockaddr_in6, or ipv6_mreq.
10277
5430fc65
AZ
102782013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10279
10280 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10281 memory access for final bytes in some large inputs.
10282 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10283
4660856c
AZ
102842013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10285
10286 * string/test-memrchr.c: New file.
10287 * string/test-memrchr-ifunc.c: New file.
10288 * string/Makefile: Add new memrchr testcase.
10289
bb8ea713
MF
102902013-09-05 Mike Frysinger <vapier@gentoo.org>
10291
10292 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10293 fanotify_init returns EPERM.
10294
b92a20b5
JM
102952013-09-04 Joseph Myers <joseph@codesourcery.com>
10296
10297 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10298 errors.
10299 (top level): Treat second token from macro or constant entries for
10300 allowed headers as allowed.
10301 * include/complex.h: Condition internal declarations on
10302 [!_ISOMAC].
10303 * include/fenv.h: Condition include of <stdbool.h> and internal
10304 declarations on [!_ISOMAC].
7447ccd9
CL
10305
103062013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10307
3e181dda 10308 [BZ #15923]
7447ccd9
CL
10309 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10310
3f2e46a4
JM
103112013-09-04 Joseph Myers <joseph@codesourcery.com>
10312
10313 * configure.in (--enable-versioning): Remove configure option.
10314 (libc_cv_asm_symver_directive): Remove configure test.
10315 (libc_cv_ld_version_script_option): Likewise.
10316 (VERSIONING): Remove variable and AC_SUBST.
10317 (DO_VERSIONING): Remove AC_DEFINE.
10318 * configure: Regenerated.
10319 * config.h.in (DO_VERSIONING): Remove macro.
10320 * Makerules [$(versioning) = yes]: Change conditionals to
10321 [$(build-shared) = yes].
10322 * config.make.in (versioning): Remove variable.
10323 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10324 [$(build-shared) = yes].
10325 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10326 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10327 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10328 [$(build-shared) = yes].
10329 * extra-lib.mk [$(versioning) = yes]: Likewise.
10330 * hurd/Makefile [$(versioning) = yes]: Likewise.
10331 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10332 [SHARED].
10333 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10334 [SHARED].
10335 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10336 [SHARED && !NO_HIDDEN].
10337 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10338 [SHARED].
10339 [SHARED && DO_VERSIONING]: Likewise..
10340 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10341 [$(build-shared) = yes].
10342 * manual/install.texi (--disable-versioning): Remove
10343 documentation.
10344 * INSTALL: Regenerated.
10345 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10346 to [SHARED].
10347 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10348 [$(build-shared) = yes].
10349 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10350 * sysdeps/i386/i686/multiarch/strstr-c.c
10351 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10352 [SHARED && !NO_HIDDEN].
10353 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10354 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10355 * sysdeps/powerpc/powerpc32/dl-machine.c
10356 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10357 * sysdeps/powerpc/powerpc32/sysdep.h
10358 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10359 to [SHARED && PIC && !NO_HIDDEN].
10360 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10361 conditional to [SHARED].
10362
44558701
WN
103632013-09-04 Will Newton <will.newton@linaro.org>
10364
10365 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10366 * benchtests/bench-string.h: Include bench-timing.h instead
10367 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10368 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10369 call to HP_TIMING_DIFF_INIT.
10370 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10371 instead of hp-timing.h macros.
10372 * benchtests/bench-memchr.c: Likewise.
10373 * benchtests/bench-memcmp.c: Likewise.
10374 * benchtests/bench-memcpy.c: Likewise.
10375 * benchtests/bench-memmem.c: Likewise.
10376 * benchtests/bench-memmove.c: Likewise.
10377 * benchtests/bench-memset.c: Likewise.
10378 * benchtests/bench-rawmemchr.c: Likewise.
10379 * benchtests/bench-strcasecmp.c: Likewise.
10380 * benchtests/bench-strcasestr.c: Likewise.
10381 * benchtests/bench-strcat.c: Likewise.
10382 * benchtests/bench-strchr.c: Likewise.
10383 * benchtests/bench-strcmp.c: Likewise.
10384 * benchtests/bench-strcpy.c: Likewise.
10385 * benchtests/bench-strcpy_chk.c: Likewise.
10386 * benchtests/bench-strlen.c: Likewise.
10387 * benchtests/bench-strncasecmp.c: Likewise.
10388 * benchtests/bench-strncat.c: Likewise.
10389 * benchtests/bench-strncmp.c: Likewise.
10390 * benchtests/bench-strncpy.c: Likewise.
10391 * benchtests/bench-strnlen.c: Likewise.
10392 * benchtests/bench-strpbrk.c: Likewise.
10393 * benchtests/bench-strrchr.c: Likewise.
10394 * benchtests/bench-strspn.c: Likewise.
10395 * benchtests/bench-strstr.c: Likewise.
10396
cae16d66
WN
103972013-09-04 Will Newton <will.newton@linaro.org>
10398
10399 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10400
ffa3cd7f
JM
104012013-09-03 Joseph Myers <joseph@codesourcery.com>
10402
10403 [BZ #15427]
10404 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10405 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10406 * math/libm-test.inc (lgamma_test_data): Add more tests.
10407 * sysdeps/i386/fpu/libm-test-ulps: Update.
10408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10409
8f02859f
OB
104102013-09-03 Ondřej Bílka <neleai@seznam.cz>
10411
10412 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10413 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10414 Add ifunc.
10415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10416 Add strcmp-sse2-unaligned
10417 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10418
18d43716
MF
104192013-09-02 Mike Frysinger <vapier@gentoo.org>
10420
10421 * Versions.def (libc): Add GLIBC_2.19.
10422
ac444012
MF
104232013-09-02 Mike Frysinger <vapier@gentoo.org>
10424
10425 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10426 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10427
b7835e32
JM
104282013-09-02 Joseph Myers <joseph@codesourcery.com>
10429
10430 [BZ #14155]
10431 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10432 intermediate calculations in recurrence.
10433 (__ieee754_ynf): Likewise.
10434 * math/libm-test.inc (jn_test_data): Do not allow spurious
10435 underflow exception. Add more tests.
10436 (yn_test_data): Add more tests.
10437 * sysdeps/i386/fpu/libm-test-ulps: Update.
10438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10439
8220f4f0
OB
104402013-09-02 Ondřej Bílka <neleai@seznam.cz>
10441
10442 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10443
f24a6d08
OB
104442013-08-30 Ondřej Bílka <neleai@seznam.cz>
10445
10446 * csu/init-first.c: Fix then/than typos.
10447 * locale/programs/ld-collate.c: Likewise.
10448 * locale/programs/linereader.h: Likewise.
10449 * manual/charset.texi: Likewise.
10450 * manual/filesys.texi: Likewise.
10451 * manual/stdio.texi: Likewise.
10452 * manual/string.texi: Likewise.
10453 * stdlib/fmtmsg.c: Likewise.
10454 * sysdeps/i386/stpncpy.S: Likewise.
10455 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10456 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10457 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10458 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10459
382466e0
OB
104602013-08-30 Ondřej Bílka <neleai@seznam.cz>
10461
10462 * elf/dl-open.c: Fix typos.
10463 * iconvdata/gbbig5.c: Likewise.
10464 * iconvdata/iso-2022-jp.c: Likewise.
10465 * iconv/gconv_int.h: Likewise.
10466 * iconv/loop.c: Likewise.
10467 * nis/rpcsvc/nis.h: Likewise.
10468 * resolv/ns_name.c: Likewise.
10469 * stdio-common/vfscanf.c: Likewise.
10470 * streams/stropts.h: Likewise.
10471 * sunrpc/rpc_thread.c: Likewise.
10472 * sysdeps/i386/strpbrk.S: Likewise.
10473 * sysdeps/ieee754/k_standard.c: Likewise.
10474 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10476 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10477 * sysdeps/mach/hurd/profil.c: Likewise.
10478 * sysdeps/s390/dl-procinfo.h: Likewise.
10479 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10480 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10481 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10482 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10483 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10484
0186c6e9
OB
104852013-08-30 Ondřej Bílka <neleai@seznam.cz>
10486
10487 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10488 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10489
d4e16af1
OB
104902013-08-29 Ondřej Bílka <neleai@seznam.cz>
10491
10492 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10493 aix specific files.
10494 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10495 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10496 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10497 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10498 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10499 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10500 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10501 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10502
88335980
TS
105032013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10504 Roland McGrath <roland@hack.frob.com>
10505
10506 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10507 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10508
ed479b02
ST
105092013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10510
10511 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10512 __executable_start symbol instead of _start.
10513
f1cc4c86
TS
105142013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10515
d821f07c
TS
10516 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10517 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10518 Move macros to...
10519 * sysdeps/gnu/ldsodefs.h: ... this new file.
10520
c54290cf
TS
10521 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10522 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10523 instead of ELFOSABI_LINUX.
10524
0007fc9b 10525 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10526 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10527 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10528 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10529 Likewise.
10530 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10531 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10532 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10533 Likewise.
10534 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10535 (ibm_extended_long_double): Add ieee_nan member.
10536 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10537 (do_test): New function.
10538
f1cc4c86
TS
10539 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10540 TEST_TRUNC.
10541 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10542 functions, renamed from truncdfsf_test, trunctfsf_test,
10543 trunctfdf_test.
10544 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10545 functions.
10546 (do_test): Run all these.
10547
6f65e668
OB
105482013-08-29 Ondřej Bílka <neleai@seznam.cz>
10549
10550 * argp/argp-help.c: Fix typos.
10551 * argp/argp-parse.c: Likewise.
10552 * debug/backtracesyms.c: Likewise.
10553 * elf/elf.h: Likewise.
10554 * malloc/malloc.c: Likewise.
10555 * nis/nis_print.c: Likewise.
10556 * resolv/res_comp.c: Likewise.
10557 * stdlib/stdlib.h: Likewise.
10558 * sunrpc/clnt_tcp.c: Likewise.
10559 * sunrpc/clnt_udp.c: Likewise.
10560 * sunrpc/clnt_unix.c: Likewise.
10561 * sysdeps/unix/bsd/ptsname.c: Likewise.
10562 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10563 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10565 Likewise.
10566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10567 Likewise.
10568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10569 Likewise.
6f65e668
OB
10570 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10571
3a309239
SP
105722013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10573
10574 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10576
3b813b29
MF
105772013-08-27 Mike Frysinger <vapier@gentoo.org>
10578
10579 [BZ #15897]
10580 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10581 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10582 ($(objpfx)bug-dl-leaf): New rule.
10583 ($(objpfx)bug-dl-leaf.so): Likewise.
10584 ($(objpfx)bug-dl-leaf.out): Likewise.
10585 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10586 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10587 * dlfcn/bug-dl-leaf.c: New test.
10588 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10589 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10590 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10591 (dlclose): Likewise.
10592 (dlmopen): Likewise.
10593
8cc3269f
RM
105942013-08-27 Roland McGrath <roland@hack.frob.com>
10595
7f9d0034
RM
10596 * include/netdb.h [!_ISOMAC]:
10597 Don't include <tls.h>.
10598 (h_errno, __libc_h_errno): Move declaration and macros out of
10599 [_LIBC_REENTRANT].
10600
fb431262
RM
10601 * include/resolv.h [_RESOLV_H_]:
10602 Don't include <tls.h>.
10603 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10604 * resolv/res_libc.c: Don't include <tls.h>.
10605 (_res): Use __attribute__ ((nocommon)) in place of
10606 __attribute__ ((section (".bss"))).
10607
bd81123a
RM
10608 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10609 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10610
c4e42566
RM
10611 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10612
f890a59b
RM
10613 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10614 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10615
10616 * resolv/res_mkquery.c: Include <sys/time.h>.
10617
5d1f0a09
RM
10618 * inet/ifreq.c: Moved to ...
10619 * sysdeps/unix/ifreq.c: ... here.
10620 * inet/ifreq.c: New file, true stub version.
10621
6fcf28b3
RM
10622 * socket/sa_len.c: New file.
10623 * socket/Makefile (aux): Add it.
10624 * sysdeps/unix/sysv/linux/Makefile
10625 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10626 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10627 and #include <socket/sa_len.c>.
10628 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10629 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10630
e041fb8b
RM
10631 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10632 * bits/socket.h: ... here.
10633
8cc3269f
RM
10634 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10635 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10636 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10637
5d228a43
AS
106382013-08-27 Andreas Schwab <schwab@suse.de>
10639
45b8accc
AS
10640 [BZ #15736]
10641 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10642 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10643 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10644 * string/test-strcasecmp.c (test_main): Run tests in several
10645 locales.
10646 * string/test-strncasecmp.c (test_main): Likewise.
10647
5d228a43
AS
10648 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10649 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10650 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10651 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10652 (__strncasecmp_ssse3) [PIC]: Likewise.
10653
59d112a4
RM
106542013-08-26 Roland McGrath <roland@hack.frob.com>
10655
53234cc3
RM
10656 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10657
59d112a4
RM
10658 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10659 instead of explicitly declaring xdecrypt.
10660 * nis/nss_nis/nis-publickey.c: Likewise.
10661
595aba70
SP
106622013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10663
10664 [BZ #15890]
10665 * nscd/aicache.c: Include res_hconf.h.
10666 (addhstaiX): Initialize res_hconf.
10667
ffabd393
AS
106682013-08-26 Andreas Schwab <schwab@suse.de>
10669
10670 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10671 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10672
e0a69f5c
SP
106732013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10674
10675 * nscd/aicache.c (addhstaiX): Fix indentation.
10676
8c12f01d
MF
106772013-08-25 Mike Frysinger <vapier@gentoo.org>
10678
10679 * configure.ac: Quote $build_pt_chown test.
10680 * configure: Regenerated.
10681
8fe89494
JM
106822013-08-23 Joseph Myers <joseph@codesourcery.com>
10683
10684 [BZ #15532]
10685 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10686 * math/s_cexpf.c (__cexpf): Likewise.
10687 * math/s_cexpl.c (__cexpl): Likewise.
10688 * math/libm-test.inc (cexp_test_data): Correct expected return
10689 value for NaN + i0. Add another test.
10690
75b181d6
DM
106912013-08-22 David S. Miller <davem@davemloft.net>
10692
10693 * po/ca.po: Update Catalan translation from translation project.
936241e4 10694 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10695
acd06bb1
JM
106962013-08-21 Joseph Myers <joseph@codesourcery.com>
10697
10698 [BZ #15797]
10699 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10700 is infinite, not alongside NaN test.
10701 * math/s_fdimf.c (__fdimf): Likewise.
10702 * math/s_fdiml.c (__fdiml): Likewise.
10703 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10704 errno is unchanged.
10705
c0c3f78a
OB
107062013-08-21 Ondřej Bílka <neleai@seznam.cz>
10707
10708 * argp/argp-help.c: Fix typos.
10709 * crypt/speeds.c: Likewise.
10710 * csu/check_fds.c: Likewise.
10711 * elf/dl-load.c: Likewise.
10712 * elf/dl-open.c: Likewise.
10713 * elf/reldep3.c: Likewise.
10714 * elf/reldep.c: Likewise.
10715 * elf/sprof.c: Likewise.
10716 * iconv/iconv_charmap.c: Likewise.
10717 * iconv/skeleton.c: Likewise.
10718 * iconv/strtab.c: Likewise.
10719 * io/lockf64.c: Likewise.
10720 * libio/libioP.h: Likewise.
10721 * resolv/gai_notify.c: Likewise.
10722 * resolv/ns_name.c: Likewise.
10723 * resolv/ns_samedomain.c: Likewise.
10724 * resolv/res_send.c: Likewise.
10725 * stdlib/random.c: Likewise.
10726 * sunrpc/rpc/xdr.h: Likewise.
10727 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10728 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10729 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10730 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10731 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10732 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10733 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10734 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10735 * sysdeps/mach/hurd/check_fds.c: Likewise.
10736 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10737 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10738 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10739 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10740 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10741 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10742 * sysdeps/pthread/aio_notify.c: Likewise.
10743 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10744 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10745 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10746 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10747 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10748
46ed1038
LD
107492013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10750
10751 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10752 version if bit_Slow_SSE4_2 is set.
10753 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10754 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10755
d400dcac
AZ
107562013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10757
10758 [BZ #15867]
10759 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10760 trampoline stack frame information.
10761 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10762 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10763 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10764 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10765 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10766 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10767 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10768 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10769 sa_flags value.
10770 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10771 interrupting a syscall and set with option SA_SIGINFO.
10772
42c8fdd8
JM
107732013-08-20 Joseph Myers <joseph@codesourcery.com>
10774
c980f2f4
JM
10775 [BZ #15531]
10776 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10777 argument is infinite.
10778 * math/s_cprojf.c (__cprojf): Likewise.
10779 * math/s_cprojl.c (__cprojl): Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10781 * math/libm-test.inc (cproj_test_data): Add more tests.
10782
0716c4fc
JM
10783 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10784
42c8fdd8
JM
10785 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10786 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10787 size. Use __ffs to determine corresponding shift.
10788
b31469d0
JM
107892013-08-20 Joseph Myers <joseph@codesourcery.com>
10790 Roland McGrath <roland@hack.frob.com>
10791
10792 * Makefile (INSTALL): Remove trailing blank lines from output of
10793 makeinfo.
10794
4e39af6e
AK
107952013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10796
10797 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10798 Align 32 bit compat elf_greg to 8 bytes.
10799
f315524e
AA
108002013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10801
10802 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10803
1326ba1a
SP
108042013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10805
10806 * string/strcoll_l.c (coll_seq): New structure.
10807 (get_next_seq_cached): New function.
10808 (get_next_seq): New function.
10809 (do_compare): New function.
10810 (STRCOLL): Use GNU style definition. Simplify implementation
10811 by using get_next_seq, get_next_seq_cached and do_compare.
10812
91ce4085
FW
108132013-08-16 Florian Weimer <fweimer@redhat.com>
10814
10815 [BZ #14699]
10816 CVE-2013-4237
10817 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10818 member.
10819 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10820 member.
10821 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10822 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10823 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10824 conditional.
10825 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10826 GETDENTS_64BIT_ALIGNED.
10827 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10828 * manual/filesys.texi (Reading/Closing Directory): Document
10829 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10830 strongly.
10831 * manual/conf.texi (Limits for Files): Add portability note to
10832 NAME_MAX, PATH_MAX.
10833 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10834
ca0a6bc4
AS
108352013-08-13 Andreas Schwab <schwab@suse.de>
10836
10837 [BZ #15749]
10838 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10839 of fabs.
10840 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10841 LDBL_MAX_EXP >= 16384]: Add tests for it.
10842
6c1fd795
DM
108432013-08-12 David S. Miller <davem@davemloft.net>
10844
10845 * version.h (RELEASE): Set to "development".
10846 (VERSION): Set to "2.18.90".
10847 * NEWS: Add 2.19 section.
10848
31ad488d
DM
108492013-08-03 David S. Miller <davem@davemloft.net>
10850
10851 * po/ko.po: Update Korean translation from translation project.
10852
db24e684
DM
108532013-08-01 David S. Miller <davem@davemloft.net>
10854
10855 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10856 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10857 Bilka.
10858
f723285b
DM
108592013-07-30 David S. Miller <davem@davemloft.net>
10860
10861 * po/fr.po: Update French translation from translation project.
10862
3cbc52db
DM
108632013-07-28 David S. Miller <davem@davemloft.net>
10864
30bbc0cc
DM
10865 * po/cs.po: Update Czech translation from translation project.
10866
3cbc52db
DM
10867 * po/sv.po: Update Swedish translation from translation project.
10868
d492e6d0
DM
108692013-07-27 David S. Miller <davem@davemloft.net>
10870
f1a7f492
DM
10871 * po/eo.po: Update Esperanto translation from translation project.
10872
90e62a4a
DM
10873 * po/vi.po: Update Vietnamese translation from translation project.
10874
d492e6d0
DM
10875 * po/de.po: Update German translation from translation project.
10876
d4baa62d
DM
108772013-07-26 David S. Miller <davem@davemloft.net>
10878
641aa7b4
DM
10879 * po/bg.po: Update Bulgarian translation from translation project.
10880
d4baa62d
DM
10881 * po/nl.po: Update Dutch translation from translation project.
10882 * po/pl.po: Update Polish translation from translation project.
10883 * po/ru.po: Update Russian translation from translation project.
10884
61a9dcb9
DM
108852013-07-24 David S. Miller <davem@davemloft.net>
10886
10887 * po/libc.pot: Update.
10888
7b1f8b58
AZ
108892013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10890
10891 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10892 variable page size.
10893 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10894 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10895 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10896
a8fc7a03
AK
108972013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10898
10899 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10900
e4608715
CD
109012013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10902 Andreas Schwab <schwab@suse.de>
10903 Roland McGrath <roland@hack.frob.com>
10904 Joseph Myers <joseph@codesourcery.com>
10905 Carlos O'Donell <carlos@redhat.com>
10906
10907 [BZ #15755]
10908 * config.h.in: Define HAVE_PT_CHOWN.
10909 * config.make.in (build-pt-chown): New variable.
10910 * configure.in (--enable-pt_chown): New configure option.
10911 * configure: Regenerate.
10912 * login/Makefile: Include Makeconfig. Build pt_chown only if
10913 build-pt-chown is enabled.
10914 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10915 pt_chown to fix pty ownership.
10916 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10917 CLOSE_ALL_FDS.
10918 * manual/install.texi (Configuring and compiling): Mention
10919 --enable-pt_chown. Add @findex for grantpt.
10920 * INSTALL: Regenerate.
10921
da2d62df
DM
109222013-07-20 David S. Miller <davem@davemloft.net>
10923
10924 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10925 difference between 32-bit and 64-bit.
10926
d7e06450
CD
109272013-07-15 Carlos O'Donell <carlos@redhat.com>
10928
10929 [BZ #15711]
10930 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10931 Avoid system header dependency with -ffreestanding.
10932 ($(objpfx)bits/syscall%d): Likewise.
10933
f959cfd7
DM
109342013-07-13 David S. Miller <davem@davemloft.net>
10935
10936 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10937 underflows from atanl/atan2l due to bug 15319.
10938 (casinh_test_data): Likewise.
10939
c61f8513
DM
109402013-07-07 David S. Miller <davem@davemloft.net>
10941
10942 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10943
72c90ed0
JA
109442013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10945
10946 * sysdeps/i386/fpu/libm-test-ulps: Update.
10947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10948
52dfbe13
SP
109492013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10950
10951 * configure.in (--enable-lock-elision): Fix message text.
10952 * INSTALL: Regenerate.
10953 * configure: Regenerate.
10954
3f169543
AZ
109552013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10956
10957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10958
521c6785
AJ
109592013-07-03 Andreas Jaeger <aj@suse.de>
10960
10961 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10962 define.
10963 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10964 (ptrace_peeksiginfo_args): Add.
10965 (__ptrace_peeksiginfo_flags): Add.
10966 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10967 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10968 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10969
d2cc15cb
AM
109702013-07-03 Allan McRae <allan@archlinux.org>
10971
10972 * sysdeps/i386/fpu/libm-test-ulps: Update.
10973
3aaeeca7
DM
109742013-07-02 David S. Miller <davem@davemloft.net>
10975
10976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10977
5314ed1a
MT
109782013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10979
10980 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10981
67338156
JM
109822013-07-02 Joseph Myers <joseph@codesourcery.com>
10983
10984 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10986
1717da59
AK
109872013-07-02 Andi Kleen <ak@linux.intel.com>
10988
10989 * config.h.in (ENABLE_LOCK_ELISION): Add.
10990 * configure.in (--enable-lock-elision): Add option.
10991 * manual/install.texi: Document --enable lock elision.
10992 * configure: Regenerate
10993 * INSTALL: Regenerate.
10994
1c81621c
L
109952013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10996
10997 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10998 SSE4.2 strcasecmp for libc.a.
10999 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11000
77f01ab5
JM
110012013-07-02 Joseph Myers <joseph@codesourcery.com>
11002
11003 [BZ #13304]
11004 * soft-fp/op-common.h (_FP_FMA): New macro.
11005 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11006 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11007 (_FP_MUL_MEAT_1_imm): ... here.
11008 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11009 (_FP_MUL_MEAT_1_wide): ... here.
11010 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11011 (_FP_MUL_MEAT_1_hard): ... here.
11012 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11013 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11014 (_FP_MUL_MEAT_2_wide): ... here.
11015 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11016 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11017 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11018 (_FP_MUL_MEAT_2_gmp): ... here.
11019 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11020 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11021 (_FP_MUL_MEAT_4_wide): ... here.
11022 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11023 (_FP_MUL_MEAT_4_gmp): ... here.
11024 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11025 (_FP_WFRACBITS_DW_S): Likewise.
11026 (_FP_WFRACXBITS_DW_S): Likewise.
11027 (_FP_HIGHBIT_DW_S): Likewise.
11028 (FP_FMA_S): Likewise.
11029 (_FP_FRAC_HIGH_DW_S): Likewise.
11030 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11031 (_FP_WFRACBITS_DW_D): Likewise.
11032 (_FP_WFRACXBITS_DW_D): Likewise.
11033 (_FP_HIGHBIT_DW_D): Likewise.
11034 (FP_FMA_D): Likewise.
11035 (_FP_FRAC_HIGH_DW_D): Likewise.
11036 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11037 (_FP_WFRACBITS_DW_E): Likewise.
11038 (_FP_WFRACXBITS_DW_E): Likewise.
11039 (_FP_HIGHBIT_DW_E): Likewise.
11040 (FP_FMA_E): Likewise.
11041 (_FP_FRAC_HIGH_DW_E): Likewise.
11042 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11043 (_FP_WFRACBITS_DW_Q): Likewise.
11044 (_FP_WFRACXBITS_DW_Q): Likewise.
11045 (_FP_HIGHBIT_DW_Q): Likewise.
11046 (FP_FMA_Q): Likewise.
11047 (_FP_FRAC_HIGH_DW_Q): Likewise.
11048 * soft-fp/fmasf4.c: New file.
11049 * soft-fp/fmadf4.c: Likewise.
11050 * soft-fp/fmatf4.c: Likewise.
11051
6308fd9a
LD
110522013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11053
11054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11055 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11056 Silvermont.
11057 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11058 macro.
11059 (index_Slow_SSE4_2): Likewise.
11060 (index_Prefer_PMINUB_for_stringop): Likewise.
11061 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11062 bit_Slow_SSE4_2 is set.
11063 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11064 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11065
89cd9569
RA
110662013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11067
11068 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11069 rtld_global._dl_hwcap2.
11070 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11071 POWER8.
11072 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11073 POWER8 feature descriptions defined in _dl_hwcap2.
11074 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11075 string handling for POWER8 feature bits.
11076 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11077 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11078 _dl_powerpc_cap_flags.
11079 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11080 * sysdeps/powerpc/rtld-global-offsets.sym
11081 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11082 _dl_hwcap2 in the rtld_global_ro structure.
11083
1ae8bfe0
RA
110842013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11085
11086 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11087 hardware capabilities in support of AT_HWCAP2.
11088 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11089 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11090 GLRO(dl_hwcap2).
11091 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11092 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11093 explicitly the unknown a_type display mechanism is used.
11094 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11095 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11096 struct member.
11097 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11098 to macro prototype for AT_HWCAP2 support.
11099 * sysdeps/i386/dl-procinfo.h: Likewise.
11100 * sysdeps/s390/dl-procinfo.h: Likewise.
11101 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11102 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11103 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11104 return -1 for unknown a_type display fallback.
11105 * sysdeps/sparc/dl-procinfo.h: Likewise.
11106 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11107 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11108
8fbec010
JM
111092013-06-28 Joseph Myers <joseph@codesourcery.com>
11110
11111 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11112 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11113
0432680e
PY
111142013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11115
11116 [BZ #12492]
11117 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11118 mprotect making __stack_prot writable.
11119
ce61a2ad
NF
111202013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11121 Joseph Myers <joseph@codesourcery.com>
11122
11123 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11124 as being properly aligned.
11125
f91f1c0f
MR
111262013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11127
3d0f5d0c
MR
11128 * dlfcn/modstatic5.c: New file.
11129 * dlfcn/tststatic5.c: New file.
11130 * dlfcn/Makefile (tests): Add tststatic5.
11131 (tests-static): Likewise.
11132 (modules-names): Add modstatic5.
11133 (tststatic5-ENV): New variable.
11134 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11135
f91f1c0f
MR
11136 [BZ #15022]
11137 * elf/dl-support.c (_dl_main_map): New variable.
11138 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11139 (_dl_nns, _dl_load_adds): Set to 1.
11140 (_dl_initial_searchlist): Refer to _dl_main_map.
11141 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11142 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11143 call to _dl_get_origin.
11144 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11145 around call_map.
11146 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11147 * dlfcn/modstatic3.c: New file.
11148 * dlfcn/tststatic3.c: New file.
11149 * dlfcn/tststatic4.c: New file.
11150 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11151 (tests-static): Likewise.
11152 (modules-names): Add modstatic3.
11153 (tststatic3-ENV, tststatic4-ENV): New variables.
11154 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11155 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11156
cbe7d24b
JM
111572013-06-26 Joseph Myers <joseph@codesourcery.com>
11158
11159 * configure.in (CC): Require GCC version 4.4 or later.
11160 * configure: Regenerated.
11161 * manual/install.texi (Tools for Compilation): Update GCC version
11162 requirement.
11163 * INSTALL: Regenerated.
11164
11b8a0e1
LD
111652013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11166
11167 [BZ #15674]
bb5bb87c
L
11168 * string/test-memcmp.c (check2): New.
11169 (main): Call check2.
11170
11b8a0e1
LD
11171 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11172
b0037103
MR
111732013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11174
11175 [BZ #15022]
11176 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11177 over to...
11178 (dl_open_worker) [!SHARED]: ... here.
11179
c18c701d
RA
111802013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11181
11182 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11183
1d17fa5f
RH
111842013-06-25 Richard Henderson <rth@redhat.com>
11185
11186 * locale/programs/locarchive.c: Include <libc-internal.h>
11187
8fcb833a
JM
111882013-06-25 Joseph Myers <joseph@codesourcery.com>
11189
11190 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11191 trailing whitespace removed.
11192
17db6e8d
MF
111932013-06-24 Mike Frysinger <vapier@gentoo.org>
11194
11195 [BZ #10283]
17db6e8d
MF
11196 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11197 * locale/programs/locarchive.c: Include libc-mmap.h.
11198 (prepare_address_space): Take two new outputs (the mmap base and len).
11199 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11200 values.
11201 (create_archive): Declare new mmap base and len values for
11202 prepare_address_space, and store the result in ah.
11203 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11204 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11205 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11206 Declare new mmap base and len values for
11207 prepare_address_space, and store the result in new_ah.
11208 (open_archive): Declare new mmap base and len values for
11209 prepare_address_space, and store the result in ah.
11210 (close_archive): If ah->mmap_base is not NULL, use that and
11211 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11212 * sysdeps/generic/libc-mmap.h: New file.
11213
d605071e
MF
112142013-06-24 Mike Frysinger <vapier@gentoo.org>
11215
11216 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11217 (ALIGN_UP): Likewise.
11218 (PTR_ALIGN_DOWN): Likewise.
11219 (PTR_ALIGN_UP): Likewise.
11220
2f063a6e
RA
112212013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11222
11223 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11224 entry mapped to PPC_PLATFORM_POWER8.
11225 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11226 POWER8.
11227 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11228 (_dl_string_platform): Add case for exporting platform position for
11229 POWER8.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11231 search path to sysdeps/powerpc/powerpc32/power8 directory.
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11233 search path to sysdeps/powerpc/powerpc64/power8 directory.
11234 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11235 power7 directories.
11236 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11237 power7 directories.
11238
a31ee4b3
SP
112392013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11240
a74ca98f
SP
11241 * INSTALL: Regenerate.
11242
a31ee4b3
SP
11243 * nscd/connections.c (nscd_init): Fix comment.
11244
695c378f
JM
112452013-06-22 Joseph Myers <joseph@codesourcery.com>
11246
d8412221
JM
11247 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11248
695c378f
JM
11249 [BZ #15667]
11250 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11251 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11252
d1d54715
MR
112532013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11254
11255 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11256 DL_DST_REQ_STATIC.
11257 (DL_DST_REQ_STATIC): Remove macro.
11258
8fdda7af
JM
112592013-06-21 Joseph Myers <joseph@codesourcery.com>
11260
11261 [BZ #7006]
11262 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11263 with a shift of 0 bits.
11264
f3bc5e5a
MR
112652013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11266
11267 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11268 $(tststatic-ENV).
11269
be09e8c9
KK
112702013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11271
11272 [BZ #15655]
11273 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11274
85c2e611
AZ
112752013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11276
11277 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11278 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11279 accepts -fno-tree-loop-distribute-patterns.
11280 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11281 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11282 recursive call.
11283 * string/memset.c (memset): Likewise.
11284 * string/test-memmove.c (simple_memmove): Disable loop transformation
11285 to library calls.
11286 * string/test-memset.c (simple_memset): Likewise.
11287 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11288 * benchtests/bench-memset.c (simple_memset): Likewise.
11289 * configure: Regenerated.
11290
c91e0825
JM
112912013-06-20 Joseph Myers <joseph@codesourcery.com>
11292
b8c792af
JM
11293 * math/test-misc.c (main): Ignore fesetround failure when failures
11294 of subsequent rounding tests would be ignored.
11295
c91e0825
JM
11296 [BZ #15654]
11297 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11298 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11299 * math/fegetenv.c (__fegetenv): Return 0.
11300 * math/fegetexcept.c (fegetexcept): Return 0.
11301 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11302 FE_TONEAREST.
11303 * math/feholdexcpt.c (feholdexcept): Return 0.
11304 * math/fesetenv.c (__fesetenv): Return 0.
11305 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11306 argument FE_TONEAREST.
11307 * math/feupdateenv.c (__feupdateenv): Return 0.
11308 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11309
bfcacbde
RM
113102013-06-18 Roland McGrath <roland@hack.frob.com>
11311
11312 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11313 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11314 ($(objpfx)rtld-%.os rules): Use them.
11315
e55a9b25
AZ
113162013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11317
11318 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11319 fields.
11320
346d65b3
RM
113212013-06-17 Roland McGrath <roland@hack.frob.com>
11322
12086fb4
RM
11323 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11324 length of target pattern, then descending length of dependency pattern.
11325 * configure.in (AWK): Require gawk 3.1.2 or newer.
11326 * manual/install.texi (Tools for Compilation): Say that we do.
11327 * configure: Regenerated.
11328
346d65b3
RM
11329 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11330 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11331 * scripts/sysd-rules.awk: ... this new script.
11332 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11333 than a glob-style pattern.
11334
1a846317
JM
113352013-06-17 Joseph Myers <joseph@codesourcery.com>
11336
11337 * math/test-misc.c (main): Do not treat incorrectly rounded
11338 conversions as failure unless ROUNDING_TESTS passes.
11339
8fc75e6f
JM
113402013-06-15 Joseph Myers <joseph@codesourcery.com>
11341
3711a167
JM
11342 [BZ #15631]
11343 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11344 restore exception state around main square root computation, then
11345 check for inexactness explicitly.
11346
8fc75e6f
JM
11347 * math/libm-test.inc (fma_test_data): Add another test.
11348
61dd6208
SP
113492013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11350
adf23d2c
SP
11351 * manual/threads.texi (Non-POSIX Extensions): New document
11352 node. Document pthread_getattr_default_np and
11353 pthread_setattr_default_np.
11354
61dd6208
SP
11355 * Versions.def (libpthread): Add GLIBC_2.18.
11356 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11358 Likewise.
11359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11360 Likewise.
11361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11362 Likewise.
11363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11364 Likewise.
11365 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11366 Likewise.
11367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11368 Likewise.
11369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11370 Likewise.
11371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11372 Likewise.
11373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11374 Likewise.
11375
d086fc7b
LD
113762013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11377
11378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11379 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11380
747ef469
SP
113812013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11382 H.J. Lu <hjl.tools@gmail.com>
11383
11384 [BZ #15627]
11385 * sysdeps/x86_64/rtld-memset.c: Remove file.
11386 * sysdeps/x86_64/rtld-memset.S: New file.
11387
1b2feed2
JM
113882013-06-14 Joseph Myers <joseph@codesourcery.com>
11389
11390 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11391 (test_in_one_mode): Take arguments for whether the rounding mode
11392 is supported for each floating-point type.
11393 (do_test): Pass new arguments to test_in_one_mode using
11394 ROUNDING_TESTS.
11395
a58ad3f8
RM
113962013-06-13 Roland McGrath <roland@hack.frob.com>
11397
11398 * posix/tst-waitid.c (do_test): Distinguish different instances of
11399 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11400 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11401 before entering the kernel for waitpid.
11402
c204ab28
SP
114032013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11404
11405 * NEWS: Fix note on clock function precision. Text by Roland
11406 McGrath.
11407
f4a29fba
RM
114082013-06-13 Roland McGrath <roland@hack.frob.com>
11409
11410 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11411 it into place only when and if the sanity check passes.
11412
1f24b9ad
JM
114132013-06-13 Joseph Myers <joseph@codesourcery.com>
11414
11415 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11416 output for whether conversion result is exact. Take argument
11417 indicating whether type is IBM long double.
11418 (round_for_all): Change need_exact field to ibm_ld.
11419 * stdlib/tst-strtod-round.c (struct exactness): New type.
11420 (struct test): Change bool ld_ok field to struct exactness exact.
11421 (TEST): Update all definitions for change to field.
11422 (tests): Regenerate array contents.
11423 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11424 field value. Check for IBM long double here.
11425 (do_test): Update calls to test_in_one_mode.
11426
58206c68
SP
114272013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11428
11429 [BZ #12515]
11430 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11431 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11432
2d6f4c5b 114332013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11434
11435 [BZ #15605]
11436 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11437 generated by the compiler on loop optimizations.
11438 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11439 general definitions.
11440
94f2c076
JM
114412013-06-12 Joseph Myers <joseph@codesourcery.com>
11442
11443 * math/bug-nextafter.c: Include <math-tests.h>.
11444 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11445 the relevant type.
11446 * math/bug-nexttoward.c: Include <math-tests.h>.
11447 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11448 the relevant type.
11449 * math/test-misc.c: Include <math-tests.h>.
11450 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11451 the relevant type.
11452
e0e50a0a
AJ
114532013-06-12 Andreas Jaeger <aj@suse.de>
11454
11455 * po/ia.po: Update Interlingua translation from translation
11456 project.
11457
25061094
SP
114582013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11459
11460 * include/fenv.h: Include stdbool.h.
11461 (struct rm_ctx): New structure.
11462 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11463 Define macro.
11464 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11465 (SET_RESTORE_ROUNDF): Likewise.
11466 (SET_RESTORE_ROUNDL): Likewise.
11467 (SET_RESTORE_ROUND_NOEX): Likewise.
11468 (SET_RESTORE_ROUND_NOEXF): Likewise.
11469 (SET_RESTORE_ROUND_NOEXL): Likewise.
11470 (SET_RESTORE_ROUND_53BIT): Likewise.
11471 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11472 (libc_feresetround_noexf_ctx): Likewise.
11473 (libc_feresetround_noexl_ctx): Likewise.
11474 (libc_feholdsetround_53bit_ctx): Likewise.
11475 (libc_feresetround_53bit_ctx): Likewise.
11476 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11477 (libc_feholdexcept_setround_sse_ctx): New function.
11478 (libc_fesetenv_sse_ctx): Likewise.
11479 (libc_feupdateenv_sse_ctx): Likewise.
11480 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11481 (libc_feholdexcept_setround_387_ctx): Likewise.
11482 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11483 (libc_feholdsetround_387_prec_ctx): Likewise.
11484 (libc_feholdsetround_387_ctx): Likewise.
11485 (libc_feholdsetround_387_53bit_ctx): Likewise.
11486 (libc_feholdsetround_sse_ctx): Likewise.
11487 (libc_feresetround_sse_ctx): Likewise.
11488 (libc_feresetround_387_ctx): Likewise.
11489 (libc_feupdateenv_387_ctx): Likewise.
11490 (libc_feholdexcept_setroundf_ctx): Define macro.
11491 (libc_fesetenvf_ctx): Likewise.
11492 (libc_feupdateenvf_ctx): Likewise.
11493 (libc_feholdsetroundf_ctx): Likewise.
11494 (libc_feresetroundf_ctx): Likewise.
11495 (libc_feholdexcept_setround_ctx): Likewise.
11496 (libc_fesetenv_ctx): Likewise.
11497 (libc_feupdateenv_ctx): Likewise.
11498 (libc_feholdsetround_ctx): Likewise.
11499 (libc_feresetround_ctx): Likewise.
11500 (libc_feholdexcept_setroundl_ctx): Likewise.
11501 (libc_feupdateenvl_ctx): Likewise.
11502 (libc_feholdsetroundl_ctx): Likewise.
11503 (libc_feresetroundl_ctx): Likewise.
11504 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11505 (libc_feresetround_53bit_ctx): Likewise.
11506
59b30555
SP
115072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11508
11509 * locale/iso-639.def: Convert to UTF-8.
11510
f1d73d30
JM
115112013-06-11 Joseph Myers <joseph@codesourcery.com>
11512
11513 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11514 (EXCEPTION_TESTS_double): Likewise.
11515 (EXCEPTION_TESTS_long_double): Likewise.
11516 (EXCEPTION_TESTS): Likewise.
11517 * math/libm-test.inc (test_exceptions): Only test exceptions if
11518 EXCEPTION_TESTS (FLOAT).
11519
94aca5e7
SP
115202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11521
11522 * benchtests/Makefile (string-bench): Add strcpy_chk and
11523 stpcpy_chk.
11524 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11525 * benchtests/bench-stpcpy_chk.c: New file.
11526 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11527 * benchtests/bench-strcpy_chk.c: New file.
11528 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11529 code.
11530 (do_test): Likewise.
11531
fac0c5f2
RA
115322013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11533
11534 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11535 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11536 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11537 with tabs where appropriate.
11538 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11539 dl-procinfo.h.
11540 [PPC_PLATFORM_PPC440]: Likewise.
11541 [PPC_PLATFORM_PPC464]: Likewise.
11542 [PPC_PLATFORM_PPC476]: Likewise.
11543 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11544 ppc464, and ppc476 platform strings merging from ports/
11545 dl-procinfo.h.
11546
f22bc486
AS
115472013-06-11 Andreas Schwab <schwab@suse.de>
11548
11549 [BZ #14991]
11550 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11551 (from_ucs4_idx): Regenerate.
11552 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11553 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11554 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11555 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11556 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11557 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11558 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11559 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11560 from FROM_LOOP and TO_LOOP specific macros.
11561 (BODY): Handle combining characters.
11562 * iconvdata/BIG5HKSCS.irreversible: Update.
11563 * iconvdata/BIG5HKSCS.precomposed: New file.
11564 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11565 characters.
11566 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11567
c1f75dc3
SP
115682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11569
4eacded2
SP
11570 * include/sys/time.h: Fix indentation and add copyright header.
11571
fec799f8
SP
11572 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11573 (do_test): Likewise.
11574 * string/test-memchr.c (do_one_test): Likewise.
11575 (do_test): Likewise.
11576 * string/test-memcmp.c (do_one_test): Likewise.
11577 (do_test): Likewise.
11578 * string/test-memcpy.c (do_one_test): Likewise.
11579 (do_test): Likewise.
11580 * string/test-memmem.c (do_one_test): Likewise.
11581 (do_test): Likewise.
11582 (do_random_tests): Likewise.
11583 * string/test-memmove.c (do_one_test): Likewise.
11584 (do_test): Likewise.
11585 * string/test-memset.c (do_one_test): Likewise.
11586 (do_test): Likewise.
11587 * string/test-rawmemchr.c (do_one_test): Likewise.
11588 (do_test): Likewise.
11589 * string/test-strcasecmp.c (do_one_test): Likewise.
11590 (do_test): Likewise.
11591 * string/test-strcasestr.c (do_one_test): Likewise.
11592 (do_test): Likewise.
11593 * string/test-strcat.c (do_one_test): Likewise.
11594 (do_test): Likewise.
11595 * string/test-strchr.c (do_one_test): Likewise.
11596 (do_test): Likewise.
11597 * string/test-strcmp.c (do_one_test): Likewise.
11598 (do_test): Likewise.
11599 * string/test-strcpy.c (do_one_test): Likewise.
11600 (do_test): Likewise.
11601 * string/test-string.h: Likewise.
11602 (test_init): Likewise.
11603 * string/test-strlen.c (do_one_test): Likewise.
11604 (do_test): Likewise.
11605 * string/test-strncasecmp.c (do_one_test): Likewise.
11606 (do_test): Likewise.
11607 * string/test-strncat.c (do_one_test): Likewise.
11608 (do_test): Likewise.
11609 * string/test-strncmp.c (do_one_test): Likewise.
11610 (do_test_limit): Likewise.
11611 (do_test): Likewise.
11612 * string/test-strncpy.c (do_one_test): Likewise.
11613 (do_test): Likewise.
11614 * string/test-strnlen.c (do_one_test): Likewise.
11615 (do_test): Likewise.
11616 * string/test-strpbrk.c (do_one_test): Likewise.
11617 (do_test): Likewise.
11618 * string/test-strrchr.c (do_one_test): Likewise.
11619 (do_test): Likewise.
11620 * string/test-strspn.c (do_one_test): Likewise.
11621 (do_test): Likewise.
11622 * string/test-strstr.c (do_one_test): Likewise.
11623 (do_test): Likewise.
11624
97020474
SP
11625 * benchtests/Makefile (string-bench): Add string benchmarks.
11626 * benchtests/bench-bcopy-ifunc.c: New file.
11627 * benchtests/bench-bcopy.c: New file.
11628 * benchtests/bench-bzero-ifunc.c: New file.
11629 * benchtests/bench-bzero.c: New file.
11630 * benchtests/bench-memccpy-ifunc.c: New file.
11631 * benchtests/bench-memccpy.c: New file.
11632 * benchtests/bench-memchr-ifunc.c: New file.
11633 * benchtests/bench-memchr.c: New file.
11634 * benchtests/bench-memcmp-ifunc.c: New file.
11635 * benchtests/bench-memcmp.c: New file.
11636 * benchtests/bench-memmem-ifunc.c: New file.
11637 * benchtests/bench-memmem.c: New file.
11638 * benchtests/bench-memmove-ifunc.c: New file.
11639 * benchtests/bench-memmove.c: New file.
11640 * benchtests/bench-mempcpy-ifunc.c: New file.
11641 * benchtests/bench-mempcpy.c: New file.
11642 * benchtests/bench-memset-ifunc.c: New file.
11643 * benchtests/bench-memset.c: New file.
11644 * benchtests/bench-rawmemchr-ifunc.c: New file.
11645 * benchtests/bench-rawmemchr.c: New file.
11646 * benchtests/bench-stpcpy-ifunc.c: New file.
11647 * benchtests/bench-stpcpy.c: New file.
11648 * benchtests/bench-stpncpy-ifunc.c: New file.
11649 * benchtests/bench-stpncpy.c: New file.
11650 * benchtests/bench-strcasecmp-ifunc.c: New file.
11651 * benchtests/bench-strcasecmp.c: New file.
11652 * benchtests/bench-strcasestr-ifunc.c: New file.
11653 * benchtests/bench-strcasestr.c: New file.
11654 * benchtests/bench-strcat-ifunc.c: New file.
11655 * benchtests/bench-strcat.c: New file.
11656 * benchtests/bench-strchr-ifunc.c: New file.
11657 * benchtests/bench-strchr.c: New file.
11658 * benchtests/bench-strchrnul-ifunc.c: New file.
11659 * benchtests/bench-strchrnul.c: New file.
11660 * benchtests/bench-strcmp-ifunc.c: New file.
11661 * benchtests/bench-strcmp.c: New file.
11662 * benchtests/bench-strcpy-ifunc.c: New file.
11663 * benchtests/bench-strcpy.c: New file.
11664 * benchtests/bench-strcspn-ifunc.c: New file.
11665 * benchtests/bench-strcspn.c: New file.
11666 * benchtests/bench-strlen-ifunc.c: New file.
11667 * benchtests/bench-strlen.c: New file.
11668 * benchtests/bench-strncasecmp-ifunc.c: New file.
11669 * benchtests/bench-strncasecmp.c: New file.
11670 * benchtests/bench-strncat-ifunc.c: New file.
11671 * benchtests/bench-strncat.c: New file.
11672 * benchtests/bench-strncmp-ifunc.c: New file.
11673 * benchtests/bench-strncmp.c: New file.
11674 * benchtests/bench-strncpy-ifunc.c: New file.
11675 * benchtests/bench-strncpy.c: New file.
11676 * benchtests/bench-strnlen-ifunc.c: New file.
11677 * benchtests/bench-strnlen.c: New file.
11678 * benchtests/bench-strpbrk-ifunc.c: New file.
11679 * benchtests/bench-strpbrk.c: New file.
11680 * benchtests/bench-strrchr-ifunc.c: New file.
11681 * benchtests/bench-strrchr.c: New file.
11682 * benchtests/bench-strspn-ifunc.c: New file.
11683 * benchtests/bench-strspn.c: New file.
11684 * benchtests/bench-strstr-ifunc.c: New file.
11685 * benchtests/bench-strstr.c: New file.
11686
c1f75dc3
SP
11687 * benchtests/Makefile: Disable parallel execution of targets.
11688 (string-bench): Add memcpy.
11689 (benchset): New variable to store a list of benchmark sets.
11690 (bench-func): Renamed from bench.
11691 (bench-set): New target.
11692 (bench): Depend on bench-func and bench-set.
11693 * benchtests/README: Add section on benchmark sets.
11694 * benchtests/bench-memcpy-ifunc.c: New file.
11695 * benchtests/bench-memcpy.c: New file.
11696 * benchtests/bench-string.h: New file.
11697
50fd745b
AS
116982013-06-11 Andreas Schwab <schwab@suse.de>
11699
11700 [BZ #15577]
11701 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11702 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11703 values in the triple.
11704 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11705 terminator in the group key.
11706
3ee7e9fe
AJ
117072013-06-11 Andreas Jaeger <aj@suse.de>
11708
11709 * po/zh_TW.po: Update Chinese (traditional) translation from
11710 translation project.
11711
89fb6835
SP
117122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11713
11714 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11715 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11716 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11717 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11718 (clock_getcpuclockid): Likewise.
11719 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11720 Add weak_alias and libc_hidden_def.
11721 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11722 * rt/clock_gettime.c (clock_gettime): Rename to
11723 __clock_gettime. Add weak_alias and libc_hidden_def.
11724 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11725 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11726 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11727 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11728 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11729 Likewise.
11730 * rt/clock_settime.c (clock_settime): Rename to
11731 __clock_settime. Add weak_alias and libc_hidden_def.
11732 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11733
0efa6f8b
JM
117342013-06-10 Joseph Myers <joseph@codesourcery.com>
11735
b8c61b4b
JM
11736 * mach/err_boot.sub: Remove trailing whitespace.
11737 * mach/err_ipc.sub: Likewise.
11738 * mach/err_mach.sub: Likewise.
11739
0efa6f8b
JM
11740 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11741 (ROUNDING_TESTS_double): Likewise.
11742 (ROUNDING_TESTS_long_double): Likewise.
11743 (ROUNDING_TESTS): Likewise.
11744 * math/libm-test.inc: Include <math-tests.h>.
11745 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11746 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11747 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11748 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11749
50b818bf
SP
117502013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11751
11752 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11753 of assigning.
11754
60d2f8f3
JM
117552013-06-08 Joseph Myers <joseph@codesourcery.com>
11756
4902d2c3
JM
11757 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11758 otherwise empty TRANS lines.
11759 * sysdeps/gnu/errlist.c: Regenerated.
11760
60d2f8f3
JM
11761 * catgets/gencat.c (error_print): Use (void) in function
11762 definition.
11763 * crypt/crypt_util.c (__init_des): Likewise.
11764 * crypt/speeds.c (Stop): Likewise.
11765 (main): Likewise.
11766 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11767 * inet/ruserpass.c (token): Likewise.
11768 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11769 * intl/localealias.c (extend_alias_table): Likewise.
11770 * intl/plural-exp.c (init_germanic_plural): Likewise.
11771 * libio/fcloseall.c (__fcloseall): Likewise.
11772 * libio/genops.c (_IO_flush_all): Likewise.
11773 (_IO_flush_all_linebuffered): Likewise.
11774 (_IO_cleanup): Likewise.
11775 (_IO_iter_begin): Likewise.
11776 (_IO_iter_end): Likewise.
11777 (_IO_list_lock): Likewise.
11778 (_IO_list_unlock): Likewise.
11779 (_IO_list_resetlock): Likewise.
11780 * libio/getchar.c (getchar): Likewise.
11781 * libio/getchar_u.c (getchar_unlocked): Likewise.
11782 * libio/getwchar.c (getwchar): Likewise.
11783 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11784 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11785 * login/getpt.c (__getpt): Likewise.
11786 * login/tst-utmp.c (main): Likewise.
11787 * malloc/hooks.c (__malloc_check_init): Likewise.
11788 * malloc/malloc.c (__malloc_stats): Likewise.
11789 * malloc/mtrace.c (tr_break): Likewise.
11790 (mtrace): Likewise.
11791 (muntrace): Likewise.
11792 * misc/fstab.c (endfsent): Likewise.
11793 * misc/getclktck.c (__getclktck): Likewise.
11794 * misc/getdtsz.c (__getdtablesize): Likewise.
11795 * misc/gethostid.c (gethostid): Likewise.
11796 * misc/getpagesize.c (__getpagesize): Likewise.
11797 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11798 (__get_nprocs): Likewise.
11799 (__get_phys_pages): Likewise.
11800 (__get_avphys_pages): Likewise.
11801 * misc/getttyent.c (getttyent): Likewise.
11802 (setttyent): Likewise.
11803 (endttyent): Likewise.
11804 * misc/getusershell.c (getusershell): Likewise.
11805 (endusershell): Likewise.
11806 (setusershell): Likewise.
11807 (initshells): Likewise.
11808 * misc/hsearch.c (__hdestroy): Likewise.
11809 * misc/sync.c (sync): Likewise.
11810 * misc/syslog.c (closelog_internal): Likewise.
11811 (closelog): Likewise.
11812 * misc/ttyslot.c (ttyslot): Likewise.
11813 * misc/vhangup.c (vhangup): Likewise.
11814 * posix/fork.c (__fork): Likewise.
11815 * posix/getegid.c (__getegid): Likewise.
11816 * posix/geteuid.c (__geteuid): Likewise.
11817 * posix/getgid.c (__getgid): Likewise.
11818 * posix/getpid.c (__getpid): Likewise.
11819 * posix/getppid.c (__getppid): Likewise.
11820 * posix/getuid.c (__getuid): Likewise.
11821 * posix/pause.c (pause): Likewise.
11822 * posix/setpgrp.c (setpgrp): Likewise.
11823 * posix/setsid.c (__setsid): Likewise.
11824 * posix/test-vfork.c (noop): Likewise.
11825 * resolv/gethnamaddr.c (_endhtent): Likewise.
11826 (_gethtent): Likewise.
11827 (ht_endhostent): Likewise.
11828 (gethostent): Likewise.
11829 (dns_service): Likewise.
11830 * stdlib/drand48.c (drand48): Likewise.
11831 * stdlib/lrand48.c (lrand48): Likewise.
11832 * stdlib/mrand48.c (mrand48): Likewise.
11833 * stdlib/rand.c (rand): Likewise.
11834 * stdlib/random.c (__random): Likewise.
11835 * stdlib/setenv.c (clearenv): Likewise.
11836 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11837 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11838 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11839 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11840 (__get_nprocs): Likewise.
11841 (__get_phys_pages): Likewise.
11842 (__get_avphys_pages): Likewise.
11843 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11844 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11845 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11846 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11847 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11848 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11849 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11850 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11851 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11852 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11853 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11854 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11855 * sysdeps/posix/clock.c (clock): Likewise.
11856 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11857 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11858 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11859 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11860 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11861 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11862 (__get_nprocs_conf): Likewise.
11863 (__get_phys_pages): Likewise.
11864 (__get_avphys_pages): Likewise.
11865 * time/clock.c (clock): Likewise.
11866 * time/tzset.c (__tzname_max): Likewise.
11867
2e09a79a
JM
118682013-06-07 Joseph Myers <joseph@codesourcery.com>
11869
11870 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11871 (__bswap_32): Do not use "register".
11872 * crypt/crypt.c (_ufc_doit_r): Likewise.
11873 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11874 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11875 * gmon/gmon.c (__monstartup): Likewise.
11876 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11877 * hurd/hurdmalloc.c (more_memory): Likewise.
11878 (malloc): Likewise.
11879 (free): Likewise.
11880 (realloc): Likewise.
11881 (malloc_fork_prepare): Likewise.
11882 (malloc_fork_parent): Likewise.
11883 (malloc_fork_child): Likewise.
11884 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11885 (_svcauth_des): Likewise.
11886 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11887 * inet/inet_net.c (inet_network): Likewise.
11888 * inet/inet_netof.c (inet_netof): Likewise.
11889 * inet/rcmd.c (__validuser2_sa): Likewise.
11890 * io/fts.c (fts_open): Likewise.
11891 (fts_load): Likewise.
11892 (fts_close): Likewise.
11893 (fts_read): Likewise.
11894 (fts_children): Likewise.
11895 (fts_build): Likewise.
11896 (fts_stat): Likewise.
11897 (fts_sort): Likewise.
11898 (fts_alloc): Likewise.
11899 (fts_lfree): Likewise.
11900 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11901 (_IO_file_xsgetn): Likewise.
11902 (_IO_file_xsgetn_mmap): Likewise.
11903 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11904 (_IO_cookie_write): Likewise.
11905 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11906 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11907 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11908 * malloc/obstack.c (_obstack_begin): Likewise.
11909 (_obstack_begin_1): Likewise.
11910 (_obstack_newchunk): Likewise.
11911 (_obstack_allocated_p): Likewise.
11912 (obstack_free): Likewise.
11913 (_obstack_memory_used): Likewise.
11914 * misc/getttyent.c (getttynam): Likewise.
11915 (getttyent): Likewise.
11916 (skip): Likewise.
11917 (value): Likewise.
11918 * misc/getusershell.c (initshells): Likewise.
11919 * misc/syslog.c (__vsyslog_chk): Likewise.
11920 * misc/ttyslot.c (ttyslot): Likewise.
11921 * nis/nis_hash.c (__nis_hash): Likewise.
11922 * posix/fnmatch_loop.c (FCT): Likewise.
11923 * posix/getconf.c (print_all): Likewise.
11924 (main): Likewise.
11925 * posix/getopt.c (exchange): Likewise.
11926 * posix/glob.c (globfree): Likewise.
11927 (prefix_array): Likewise.
11928 (__glob_pattern_type): Likewise.
11929 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11930 (NS_GET32): Likewise.
11931 (NS_PUT16): Likewise.
11932 (NS_PUT32): Likewise.
11933 * resolv/gethnamaddr.c (getanswer): Likewise.
11934 (gethostbyname2): Likewise.
11935 (gethostbyaddr): Likewise.
11936 (_gethtent): Likewise.
11937 (_gethtbyname2): Likewise.
11938 (_gethtbyaddr): Likewise.
11939 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11940 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11941 * resolv/res_init.c (__res_vinit): Likewise.
11942 (net_mask): Likewise.
11943 * resolv/res_mkquery.c (outchar): Likewise.
11944 (PRINT): Likewise.
11945 * stdio-common/printf_fp.c (outchar): Likewise.
11946 (PRINT): Likewise.
11947 * stdio-common/printf_fphex.c (outchar): Likewise.
11948 (PRINT): Likewise.
11949 * stdio-common/printf_size.c (outchar): Likewise.
11950 (PRINT): Likewise.
11951 * stdio-common/test_rdwr.c (main): Likewise.
11952 * stdio-common/tfformat.c (matches): Likewise.
11953 * stdio-common/vfprintf.c (outchar): Likewise.
11954 (printf_unknown): Likewise.
11955 (buffered_vfprintf): Likewise.
11956 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11957 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11958 (ReadFile): Likewise.
11959 * stdlib/qsort.c (SWAP): Likewise.
11960 (_quicksort): Likewise.
11961 * stdlib/setenv.c (__add_to_environ): Likewise.
11962 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11963 * stdlib/strtol_l.c (__strtol_l): Likewise.
11964 * stdlib/tst-strtod.c (main): Likewise.
11965 * stdlib/tst-strtol.c (main): Likewise.
11966 * stdlib/tst-strtoll.c (main): Likewise.
11967 * string/bits/string2.h (__strcmp_cc): Likewise.
11968 (__strcmp_cg): Likewise.
11969 (__strcspn_c1): Likewise.
11970 (__strcspn_c2): Likewise.
11971 (__strcspn_c3): Likewise.
11972 (__strspn_c1): Likewise.
11973 (__strspn_c2): Likewise.
11974 (__strspn_c3): Likewise.
11975 (__strsep_1c): Likewise.
11976 (__strsep_2c): Likewise.
11977 (__strsep_3c): Likewise.
11978 * string/memccpy.c (__memccpy): Likewise.
11979 * string/stpcpy.c (__stpcpy): Likewise.
11980 * string/strcmp.c (strcmp): Likewise.
11981 * string/strrchr.c (strrchr): Likewise.
11982 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11983 Likewise.
11984 * sysdeps/mach/hurd/getcwd.c
11985 (_hurd_canonicalize_directory_name_internal): Likewise.
11986 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11987 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11988 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11989 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11990 Likewise, in both definitions.
11991 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11992 definitions.
11993 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11994 64] (__bswap_64): Likewise.
11995 * time/test_time.c (main): Likewise.
11996 * time/tzfile.c (__tzfile_read): Likewise.
11997 (__tzfile_compute): Likewise.
11998 * time/tzset.c (__tzset_parse_tz): Likewise.
11999 (tzset_internal): Likewise.
12000 (compute_change): Likewise.
12001 * wcsmbs/wcscat.c (__wcscat): Likewise.
12002 * wcsmbs/wcschr.c (wcschr): Likewise.
12003 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12004 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12005 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12006 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12007 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12008 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12009 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12010 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12011 * wcsmbs/wmemset.c (wmemset): Likewise.
12012
9e54314b
JM
120132013-06-06 Joseph Myers <joseph@codesourcery.com>
12014
12015 * scripts/config.guess: Update to version 2013-05-16.
12016 * scripts/config.sub: Update to version 2013-04-24.
12017 * scripts/install-sh: Update to version 2011-11-20.07.
12018 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12019 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12020
350635a5
OB
120212013-06-06 Ondřej Bílka <neleai@seznam.cz>
12022
12023 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12024 * elf/sln.c: Likewise.
12025 * hurd/hurd/ioctl.h: Likewise.
12026 * hurd/hurdmalloc.c: Likewise.
12027 * hurd/xattr.c: Likewise.
12028 * include/shlib-compat.h: Likewise.
12029 * inet/ruserpass.c: Likewise.
12030 * libio/iofgets_u.c: Likewise.
12031 * libio/iofgetws_u.c: Likewise.
12032 * locale/programs/ld-identification.c: Likewise.
12033 * locale/programs/ld-time.c: Likewise.
12034 * mach/msg-destroy.c: Likewise.
12035 * nss/nss_files/files-netgrp.c: Likewise.
12036 * resolv/res_data.c: Likewise.
12037 * soft-fp/op-1.h: Likewise.
12038 * soft-fp/op-2.h: Likewise.
12039 * soft-fp/op-4.h: Likewise.
12040 * soft-fp/op-common.h: Likewise.
12041 * stdio-common/printf_fphex.c: Likewise.
12042 * stdlib/strtod_l.c: Likewise.
12043 * sunrpc/rpc/clnt.h: Likewise.
12044 * sysdeps/generic/framestate.c: Likewise.
12045 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12046 * sysdeps/i386/bsd-setjmp.S: Likewise.
12047 * sysdeps/i386/__longjmp.S: Likewise.
12048 * sysdeps/i386/setjmp.S: Likewise.
12049 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12050 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12051 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12052 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12053 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12054 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12055 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12056 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12057 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12058 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12059 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12060 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12061 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12062 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12063 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12064 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12065 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12066 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12067 * sysdeps/ieee754/support.c: Likewise.
12068 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12069 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12070 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12071 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12072 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12073 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12074 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12075 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12076 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12077 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12078 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12079 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12080 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12081 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12082 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12083 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12084 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12086
44a988af
OB
120872013-06-05 Ondřej Bílka <neleai@seznam.cz>
12088
25506f09 12089 * posix/transbug.c: Remove executable mode.
44a988af 12090
9c84384c
JM
120912013-06-05 Joseph Myers <joseph@codesourcery.com>
12092
12093 * crypt/speeds.c: Remove trailing whitespace.
12094 * dlfcn/default.c: Likewise.
12095 * elf/ifuncdep2.c: Likewise.
12096 * elf/ifuncmain1.c: Likewise.
12097 * elf/ifuncmain1vis.c: Likewise.
12098 * elf/testobj.h: Likewise.
12099 * elf/tst-stackguard1.c: Likewise.
12100 * gmon/sys/gmon.h: Likewise.
12101 * hurd/hurdmsg.c: Likewise.
12102 * hurd/new-fd.c: Likewise.
12103 * hurd/ports-get.c: Likewise.
12104 * iconvdata/ibm1008_420.c: Likewise.
12105 * inet/tst-getni1.c: Likewise.
12106 * inet/tst-getni2.c: Likewise.
12107 * libio/ioungetc.c: Likewise.
12108 * libio/wfiledoalloc.c: Likewise.
12109 * manual/libm-err-tab.pl: Likewise.
12110 * math/w_dremf.c: Likewise.
12111 * misc/ftruncate.c: Likewise.
12112 * posix/bug-glob2.c: Likewise.
12113 * posix/tst-pcre.c: Likewise.
12114 * posix/wait4.c: Likewise.
12115 * resolv/README: Likewise.
12116 * resolv/res_debug.h: Likewise.
12117 * resolv/tst-inet_ntop.c: Likewise.
12118 * setjmp/bug269-setjmp.c: Likewise.
12119 * soft-fp/extended.h: Likewise.
12120 * soft-fp/op-1.h: Likewise.
12121 * soft-fp/op-2.h: Likewise.
12122 * soft-fp/op-4.h: Likewise.
12123 * soft-fp/op-8.h: Likewise.
12124 * soft-fp/testit.c: Likewise.
12125 * stdio-common/bug16.c: Likewise.
12126 * stdlib/random.c: Likewise.
12127 * sunrpc/rpcsvc/rquota.x: Likewise.
12128 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12129 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12130 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12131 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12132 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12133 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12134 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12135 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12136 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12137 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12138 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12139 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12140 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12141 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12142 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12143 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12144 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12145 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12146 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12147 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12148 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12149 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12150 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12151 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12153 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12154 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12155 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12156 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12157 * sysdeps/ieee754/s_lib_version.c: Likewise.
12158 * sysdeps/mach/hurd/check_fds.c: Likewise.
12159 * sysdeps/mach/hurd/getsockname.c: Likewise.
12160 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12161 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12162 * sysdeps/powerpc/bits/link.h: Likewise.
12163 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12164 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12165 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12166 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12167 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12168 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12169 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12170 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12171 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12172 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12173 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12174 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12175 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12176 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12177 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12178 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12179 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12180 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12181 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12182 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12183 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12184 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12185 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12186 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12187 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12188 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12189 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12190 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12191 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12192 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12193 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12194 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12195 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12196 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12197 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12198 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12199 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12200 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12201 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12202 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12203 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12204 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12205 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12206 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12207 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12208 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12209 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12210 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12211 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12212 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12213 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12214 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12215 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12216 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12217 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12218 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12219 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12220 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12221 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12222 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12223 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12224 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12225 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12226 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12227 * sysdeps/powerpc/sysdep.h: Likewise.
12228 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12229 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12230 * sysdeps/sh/dl-trampoline.S: Likewise.
12231 * sysdeps/sh/memset.S: Likewise.
12232 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12233 * sysdeps/sh/strlen.S: Likewise.
12234 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12235 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12236 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12237 * sysdeps/sparc/sparc32/rem.S: Likewise.
12238 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12239 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12240 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12241 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12242 * sysdeps/sparc/sparc32/urem.S: Likewise.
12243 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12244 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12245 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12246 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12247 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12248 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12249 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12250 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12251 * sysdeps/unix/bsd/times.c: Likewise.
12252 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12253 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12257 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12258 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12259 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12260 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12261 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12262 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12263 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12264 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12265 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12266 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12267 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12268 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12269 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12270 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12271 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12272 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12273 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12274 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12275 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12276 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12277 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12278 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12279 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12280 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12281 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12282 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12283 * sysdeps/x86_64/strcspn.S: Likewise.
12284
869378a5
RA
122852013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12286
12287 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12288 generated file. Regenerate properly from gen-translit.pl.
12289 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12290 locale/C-translit.h.
12291
840e2943
AS
122922013-06-05 Andreas Schwab <schwab@suse.de>
12293
12294 [BZ #15100]
12295 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12296 week as 6 instead of -1.
12297 * time/tst-strptime.c (day_tests): Add test case.
12298
4c60cb0c
SP
122992013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12300
12301 * sysdeps/generic/math_private.h
12302 (libc_feholdexcept_setround_53bit): Replace with
12303 libc_feholdsetround_53bit.
12304 (libc_feupdateenv_53bit): Replace with
12305 libc_feresetround_53bit.
12306 (SET_RESTORE_ROUND_53BIT): Adjust.
12307
d180203e
SP
123082013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12309
96df079a
SP
12310 * string/test-strchrnul.c: Add copyright header.
12311
d180203e
SP
12312 * posix/tst-getaddrinfo4.c: Increase test timeout.
12313
8b0ccb2d
CD
123142013-06-03 Carlos O'Donell <carlos@redhat.com>
12315
12316 [BZ #15536]
12317 * math/libm-test.inc (MAX_EXP): Remove
12318 (MIN_EXP): Define.
12319 (ulp): Use MIN_EXP - MANT_DIG.
12320 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12321
3b3c4d40
CD
123222013-05-31 Carlos O'Donell <carlos@redhat.com>
12323
12324 * po/be.po: Revert last change.
12325 * po/zh_CN.po: Likewise.
12326 * po/header.pot: Likewise.
12327
fab7ce3f
JM
123282013-05-31 Joseph Myers <joseph@codesourcery.com>
12329
12330 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12331 link-libc-deps to empty as target-specific variable.
12332 * Makerules (link-libc-args): New variable.
12333 (libc-for-link): Likewise.
12334 (link-libc-deps): Likewise.
12335 (lib%.so): Depend on $(link-libc-deps). Link with
12336 $(link-libc-args).
12337 (build-module): Link with $(link-libc-args).
12338 (build-module-asneeded): Likewise.
12339 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12340 list of objects.
12341 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12342 target-specific variable.
12343 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12344 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12345 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12346 libc.
12347 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12348 libc and ld.so.
12349 ($(objpfx)libpcprofile.so): Likewise.
12350 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12351 libc_nonshared.a.
12352 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12353 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12354 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12355 $(link-libc-deps).
12356 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12357 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12358 * login/Makefile ($(objpfx)libutil.so): Likewise.
12359 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12360 * math/Makefile ($(objpfx)libm.so): Likewise.
12361 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12362 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12363 variable instead of depending directly on libc.
12364 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12365 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12366 $(link-libc-deps).
12367 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12368 libc.
12369 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12370 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12371 ($(objpfx)libanl.so): Likewise.
12372 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12373 ld.so.
12374 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12375 $(link-libc-deps).
12376 * sysdeps/i386/fpu/Makefile: Remove file.
12377 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12378 ($(objpfx)libm.so): Remove dependency on ld.so.
12379
eca5920c
PF
123802013-05-30 Patsy Franklin <pfrankli@redhat.com>
12381
12382 [BZ # 15553]
12383 * nis/yp_xdr.c (XDRMAXNAME): Define.
12384 (XDRMAXRECORD): Define.
12385 (xdr_domainname): Use XDRMAXNAME.
12386 (xdr_mapname): Likewise.
12387 (xdr_peername): Likewise.
12388 (xdr_keydat): Use XDRMAXRECORD.
12389 (xdr_valdat): Likewise.
12390
123912013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12392
12393 [BZ #14256]
12394 * manual/errno.texi (ESTALE): Update to account for more than
12395 just NFS file systems.
12396 * sysdeps/gnu/errlist.c: Regenerated.
12397
b9375348
SP
123982013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12399
12400 [BZ #15465]
12401 * elf/Makefile (tests): Add tst-null-argv.
12402 (modules-names): Add tst-null-argv-lib.
12403 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12404 (tst-null-argv-ENV): Set environment for tst-null-argv.
12405 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12406 (RTLD_PROGNAME): New macro.
12407 * elf/tst-null-argv.c: New test case.
12408 * elf/tst-null-argv-lib.c: Library for test case.
12409 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12410 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12411 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12412 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12413 * elf/dl-init.c (call_init): Likewise.
12414 (_dl_init): Likewise.
12415 * elf/dl-load.c (print_search_path): Likewise.
12416 (_dl_map_object): Likewise.
12417 * elf/dl-lookup.c (do_lookup_x): Likewise.
12418 (add_dependency): Likewise.
12419 (_dl_lookup_symbol_x): Likewise.
12420 (_dl_debug_bindings): Likewise.
12421 * elf/dl-open.c (_dl_show_scope): Likewise.
12422 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12423 * elf/dl-version.c (match_symbol): Likewise.
12424 (_dl_check_map_versions): Likewise.
12425 * elf/rtld.c (dl_main): Likewise.
12426 (print_unresolved): Use RTLD_PROGNAME.
12427 (print_missing_version): Likewise.
12428 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12429 (elf_machine_rela): Likewise.
12430 * sysdeps/powerpc/powerpc32/dl-machine.c
12431 (__process_machine_rela): Likewise.
12432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12433 Likewise.
12434 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12435 Likewise.
12436 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12437 Likewise.
12438 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12440 Likewise.
12441 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12442 Likewise.
12443 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12444
8a9f20c8
CD
124452013-05-28 Carlos O'Donell <carlos@redhat.com>
12446
12447 * po/be.po: Add descriptive title.
12448 * po/zh_CN.po: Likewise.
12449 * po/header.pot: Likewise.
12450
0e60d68e
MF
124512013-05-28 Mike Frysinger <vapier@gentoo.org>
12452
12453 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12454 error message.
12455 (enlarge_archive): Likewise.
12456
56b672e9
BN
124572013-05-28 Ben North <ben@redfrontdoor.org>
12458
12459 * manual/arith.texi (frexp): It is the magnitude of the return
12460 value which lies in [0.5, 1), not the return value itself.
12461
5e056687
AZ
124622013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12463
12464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12465
2b66ef5d
TS
124662013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12467
528c2405
TS
12468 * stdio-common/bug26.c (main): Correct fscanf template.
12469
07b4c13d
TS
12470 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12471 declare _dl_skip_args.
12472
ec9dd97c
TS
12473 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12474 Don't declare.
12475
2b66ef5d
TS
12476 * manual/platform.texi: Add missing @end deftypefun.
12477
4f8dfe27
JM
124782013-05-24 Joseph Myers <joseph@codesourcery.com>
12479
0323d086
JM
12480 [BZ #15529]
12481 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12482 bit of mantissa of 2^16382.
12483 * math/libm-test.inc (hypot_test_data): Add more tests.
12484
dd4259b9
JM
12485 * math/libm-test.inc: Add drem and pow10 to list of tested
12486 functions.
12487 (pow10_test): New function.
12488 (drem_test): Likewise.
12489 (drem_test_tonearest): Likewise.
12490 (drem_test_towardzero): Likewise.
12491 (drem_test_downward): Likewise.
12492 (drem_test_upward): Likewise.
12493 (main): Call the new functions.
12494
4f8dfe27
JM
12495 * math/libm-test.inc (finite_test_data): Remove.
12496 (finite_test): Run tests from isfinite_test_data.
12497 (gamma_test_data): Remove.
12498 (gamma_test): Run tests from lgamma_test_data.
12499 * sysdeps/i386/fpu/libm-test-ulps: Update.
12500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12501
d116b7c4
AZ
125022013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12503
12504 * manual/platform.texi: Add PowerPC PPR function set documentation.
12505 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12506 implementation.
12507
e96e3767
CD
125082013-05-24 Carlos O'Donell <carlos@redhat.com>
12509
12510 * math/libm-test.inc (MAX_EXP): Define.
12511 (ULPDIFF): Define.
12512 (ulp): New function.
12513 (check_float_internal): Use ULPDIFF.
12514 (cpow_test): Disable failing test.
12515 (check_ulp): Test ulp() implemetnation.
12516 (main): Call check_ulp before starting tests.
12517
b679a606
JM
125182013-05-24 Joseph Myers <joseph@codesourcery.com>
12519
e8bdba36
JM
12520 * math/gen-libm-test.pl (generate_testfile): Do not handle
12521 START_DATA and END_DATA.
12522 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12523 END_DATA.
12524 (acos_tonearest_test_data): Likewise.
12525 (acos_towardzero_test_data): Likewise.
12526 (acos_downward_test_data): Likewise.
12527 (acos_upward_test_data): Likewise.
12528 (acosh_test_data): Likewise.
12529 (asin_test_data): Likewise.
12530 (asin_tonearest_test_data): Likewise.
12531 (asin_towardzero_test_data): Likewise.
12532 (asin_downward_test_data): Likewise.
12533 (asin_upward_test_data): Likewise.
12534 (asinh_test_data): Likewise.
12535 (atan_test_data): Likewise.
12536 (atanh_test_data): Likewise.
12537 (atan2_test_data): Likewise.
12538 (cabs_test_data): Likewise.
12539 (cacos_test_data): Likewise.
12540 (cacosh_test_data): Likewise.
12541 (carg_test_data): Likewise.
12542 (casin_test_data): Likewise.
12543 (casinh_test_data): Likewise.
12544 (catan_test_data): Likewise.
12545 (catanh_test_data): Likewise.
12546 (cbrt_test_data): Likewise.
12547 (ccos_test_data): Likewise.
12548 (ccosh_test_data): Likewise.
12549 (ceil_test_data): Likewise.
12550 (cexp_test_data): Likewise.
12551 (cimag_test_data): Likewise.
12552 (clog_test_data): Likewise.
12553 (clog10_test_data): Likewise.
12554 (conj_test_data): Likewise.
12555 (copysign_test_data): Likewise.
12556 (cos_test_data): Likewise.
12557 (cos_tonearest_test_data): Likewise.
12558 (cos_towardzero_test_data): Likewise.
12559 (cos_downward_test_data): Likewise.
12560 (cos_upward_test_data): Likewise.
12561 (cosh_test_data): Likewise.
12562 (cosh_tonearest_test_data): Likewise.
12563 (cosh_towardzero_test_data): Likewise.
12564 (cosh_downward_test_data): Likewise.
12565 (cosh_upward_test_data): Likewise.
12566 (cpow_test_data): Likewise.
12567 (cproj_test_data): Likewise.
12568 (creal_test_data): Likewise.
12569 (csin_test_data): Likewise.
12570 (csinh_test_data): Likewise.
12571 (csqrt_test_data): Likewise.
12572 (ctan_test_data): Likewise.
12573 (ctan_tonearest_test_data): Likewise.
12574 (ctan_towardzero_test_data): Likewise.
12575 (ctan_downward_test_data): Likewise.
12576 (ctan_upward_test_data): Likewise.
12577 (ctanh_test_data): Likewise.
12578 (ctanh_tonearest_test_data): Likewise.
12579 (ctanh_towardzero_test_data): Likewise.
12580 (ctanh_downward_test_data): Likewise.
12581 (ctanh_upward_test_data): Likewise.
12582 (erf_test_data): Likewise.
12583 (erfc_test_data): Likewise.
12584 (exp_test_data): Likewise.
12585 (exp_tonearest_test_data): Likewise.
12586 (exp_towardzero_test_data): Likewise.
12587 (exp_downward_test_data): Likewise.
12588 (exp_upward_test_data): Likewise.
12589 (exp10_test_data): Likewise.
12590 (exp2_test_data): Likewise.
12591 (expm1_test_data): Likewise.
12592 (fabs_test_data): Likewise.
12593 (fdim_test_data): Likewise.
12594 (finite_test_data): Likewise.
12595 (floor_test_data): Likewise.
12596 (fma_test_data): Likewise.
12597 (fma_towardzero_test_data): Likewise.
12598 (fma_downward_test_data): Likewise.
12599 (fma_upward_test_data): Likewise.
12600 (fmax_test_data): Likewise.
12601 (fmin_test_data): Likewise.
12602 (fmod_test_data): Likewise.
12603 (fpclassify_test_data): Likewise.
12604 (frexp_test_data): Likewise.
12605 (gamma_test_data): Likewise.
12606 (hypot_test_data): Likewise.
12607 (ilogb_test_data): Likewise.
12608 (isfinite_test_data): Likewise.
12609 (isgreater_test_data): Likewise.
12610 (isgreaterequal_test_data): Likewise.
12611 (isinf_test_data): Likewise.
12612 (isless_test_data): Likewise.
12613 (islessequal_test_data): Likewise.
12614 (islessgreater_test_data): Likewise.
12615 (isnan_test_data): Likewise.
12616 (isnormal_test_data): Likewise.
12617 (issignaling_test_data): Likewise.
12618 (isunordered_test_data): Likewise.
12619 (j0_test_data): Likewise.
12620 (j1_test_data): Likewise.
12621 (jn_test_data): Likewise.
12622 (ldexp_test_data): Likewise.
12623 (lgamma_test_data): Likewise.
12624 (lrint_test_data): Likewise.
12625 (lrint_tonearest_test_data): Likewise.
12626 (lrint_towardzero_test_data): Likewise.
12627 (lrint_downward_test_data): Likewise.
12628 (lrint_upward_test_data): Likewise.
12629 (llrint_test_data): Likewise.
12630 (llrint_tonearest_test_data): Likewise.
12631 (llrint_towardzero_test_data): Likewise.
12632 (llrint_downward_test_data): Likewise.
12633 (llrint_upward_test_data): Likewise.
12634 (log_test_data): Likewise.
12635 (log10_test_data): Likewise.
12636 (log1p_test_data): Likewise.
12637 (log2_test_data): Likewise.
12638 (logb_test_data): Likewise.
12639 (logb_downward_test_data): Likewise.
12640 (lround_test_data): Likewise.
12641 (llround_test_data): Likewise.
12642 (modf_test_data): Likewise.
12643 (nearbyint_test_data): Likewise.
12644 (nextafter_test_data): Likewise.
12645 (nexttoward_test_data): Likewise.
12646 (pow_test_data): Likewise.
12647 (pow_tonearest_test_data): Likewise.
12648 (pow_towardzero_test_data): Likewise.
12649 (pow_downward_test_data): Likewise.
12650 (pow_upward_test_data): Likewise.
12651 (remainder_test_data): Likewise.
12652 (remainder_tonearest_test_data): Likewise.
12653 (remainder_towardzero_test_data): Likewise.
12654 (remainder_downward_test_data): Likewise.
12655 (remainder_upward_test_data): Likewise.
12656 (remquo_test_data): Likewise.
12657 (rint_test_data): Likewise.
12658 (rint_tonearest_test_data): Likewise.
12659 (rint_towardzero_test_data): Likewise.
12660 (rint_downward_test_data): Likewise.
12661 (rint_upward_test_data): Likewise.
12662 (round_test_data): Likewise.
12663 (scalb_test_data): Likewise.
12664 (scalbn_test_data): Likewise.
12665 (scalbln_test_data): Likewise.
12666 (signbit_test_data): Likewise.
12667 (sin_test_data): Likewise.
12668 (sin_tonearest_test_data): Likewise.
12669 (sin_towardzero_test_data): Likewise.
12670 (sin_downward_test_data): Likewise.
12671 (sin_upward_test_data): Likewise.
12672 (sincos_test_data): Likewise.
12673 (sinh_test_data): Likewise.
12674 (sinh_tonearest_test_data): Likewise.
12675 (sinh_towardzero_test_data): Likewise.
12676 (sinh_downward_test_data): Likewise.
12677 (sinh_upward_test_data): Likewise.
12678 (sqrt_test_data): Likewise.
12679 (tan_test_data): Likewise.
12680 (tan_tonearest_test_data): Likewise.
12681 (tan_towardzero_test_data): Likewise.
12682 (tan_downward_test_data): Likewise.
12683 (tan_upward_test_data): Likewise.
12684 (tanh_test_data): Likewise.
12685 (tgamma_test_data): Likewise.
12686 (trunc_test_data): Likewise.
12687 (y0_test_data): Likewise.
12688 (y1_test_data): Likewise.
12689 (yn_test_data): Likewise.
12690 (significand_test_data): Likewise.
12691
b679a606
JM
12692 * math/gen-libm-test.pl (@functions): Remove variable.
12693 (generate_testfile): Don't handle START and END lines.
12694 * math/libm-test.inc (START): New macro.
12695 (END): Likewise.
12696 (END_COMPLEX): Likewise.
12697 (acos_test): Use END macro without arguments.
12698 (acos_test_tonearest): Likewise.
12699 (acos_test_towardzero): Likewise.
12700 (acos_test_downward): Likewise.
12701 (acos_test_upward): Likewise.
12702 (acosh_test): Likewise.
12703 (asin_test): Likewise.
12704 (asin_test_tonearest): Likewise.
12705 (asin_test_towardzero): Likewise.
12706 (asin_test_downward): Likewise.
12707 (asin_test_upward): Likewise.
12708 (asinh_test): Likewise.
12709 (atan_test): Likewise.
12710 (atanh_test): Likewise.
12711 (atan2_test): Likewise.
12712 (cabs_test): Likewise.
12713 (cacos_test): Use END_COMPLEX macro without arguments.
12714 (cacosh_test): Likewise.
12715 (carg_test): Use END macro without arguments.
12716 (casin_test): Use END_COMPLEX macro without arguments.
12717 (casinh_test): Likewise.
12718 (catan_test): Likewise.
12719 (catanh_test): Likewise.
12720 (cbrt_test): Use END macro without arguments.
12721 (ccos_test): Use END_COMPLEX macro without arguments.
12722 (ccosh_test): Likewise.
12723 (ceil_test): Use END macro without arguments.
12724 (cexp_test): Use END_COMPLEX macro without arguments.
12725 (cimag_test): Use END macro without arguments.
12726 (clog_test): Use END_COMPLEX macro without arguments.
12727 (clog10_test): Likewise.
12728 (conj_test): Likewise.
12729 (copysign_test): Use END macro without arguments.
12730 (cos_test): Likewise.
12731 (cos_test_tonearest): Likewise.
12732 (cos_test_towardzero): Likewise.
12733 (cos_test_downward): Likewise.
12734 (cos_test_upward): Likewise.
12735 (cosh_test): Likewise.
12736 (cosh_test_tonearest): Likewise.
12737 (cosh_test_towardzero): Likewise.
12738 (cosh_test_downward): Likewise.
12739 (cosh_test_upward): Likewise.
12740 (cpow_test): Use END_COMPLEX macro without arguments.
12741 (cproj_test): Likewise.
12742 (creal_test): Use END macro without arguments.
12743 (csin_test): Use END_COMPLEX macro without arguments.
12744 (csinh_test): Likewise.
12745 (csqrt_test): Likewise.
12746 (ctan_test): Likewise.
12747 (ctan_test_tonearest): Likewise.
12748 (ctan_test_towardzero): Likewise.
12749 (ctan_test_downward): Likewise.
12750 (ctan_test_upward): Likewise.
12751 (ctanh_test): Likewise.
12752 (ctanh_test_tonearest): Likewise.
12753 (ctanh_test_towardzero): Likewise.
12754 (ctanh_test_downward): Likewise.
12755 (ctanh_test_upward): Likewise.
12756 (erf_test): Use END macro without arguments.
12757 (erfc_test): Likewise.
12758 (exp_test): Likewise.
12759 (exp_test_tonearest): Likewise.
12760 (exp_test_towardzero): Likewise.
12761 (exp_test_downward): Likewise.
12762 (exp_test_upward): Likewise.
12763 (exp10_test): Likewise.
12764 (exp2_test): Likewise.
12765 (expm1_test): Likewise.
12766 (fabs_test): Likewise.
12767 (fdim_test): Likewise.
12768 (finite_test): Likewise.
12769 (floor_test): Likewise.
12770 (fma_test): Likewise.
12771 (fma_test_towardzero): Likewise.
12772 (fma_test_downward): Likewise.
12773 (fma_test_upward): Likewise.
12774 (fmax_test): Likewise.
12775 (fmin_test): Likewise.
12776 (fmod_test): Likewise.
12777 (fpclassify_test): Likewise.
12778 (frexp_test): Likewise.
12779 (gamma_test): Likewise.
12780 (hypot_test): Likewise.
12781 (ilogb_test): Likewise.
12782 (isfinite_test): Likewise.
12783 (isgreater_test): Likewise.
12784 (isgreaterequal_test): Likewise.
12785 (isinf_test): Likewise.
12786 (isless_test): Likewise.
12787 (islessequal_test): Likewise.
12788 (islessgreater_test): Likewise.
12789 (isnan_test): Likewise.
12790 (isnormal_test): Likewise.
12791 (issignaling_test): Likewise.
12792 (isunordered_test): Likewise.
12793 (j0_test): Likewise.
12794 (j1_test): Likewise.
12795 (jn_test): Likewise.
12796 (ldexp_test): Likewise.
12797 (lgamma_test): Likewise.
12798 (lrint_test): Likewise.
12799 (lrint_test_tonearest): Likewise.
12800 (lrint_test_towardzero): Likewise.
12801 (lrint_test_downward): Likewise.
12802 (lrint_test_upward): Likewise.
12803 (llrint_test): Likewise.
12804 (llrint_test_tonearest): Likewise.
12805 (llrint_test_towardzero): Likewise.
12806 (llrint_test_downward): Likewise.
12807 (llrint_test_upward): Likewise.
12808 (log_test): Likewise.
12809 (log10_test): Likewise.
12810 (log1p_test): Likewise.
12811 (log2_test): Likewise.
12812 (logb_test): Likewise.
12813 (logb_test_downward): Likewise.
12814 (lround_test): Likewise.
12815 (llround_test): Likewise.
12816 (modf_test): Likewise.
12817 (nearbyint_test): Likewise.
12818 (nextafter_test): Likewise.
12819 (nexttoward_test): Likewise.
12820 (pow_test): Likewise.
12821 (pow_test_tonearest): Likewise.
12822 (pow_test_towardzero): Likewise.
12823 (pow_test_downward): Likewise.
12824 (pow_test_upward): Likewise.
12825 (remainder_test): Likewise.
12826 (remainder_test_tonearest): Likewise.
12827 (remainder_test_towardzero): Likewise.
12828 (remainder_test_downward): Likewise.
12829 (remainder_test_upward): Likewise.
12830 (remquo_test): Likewise.
12831 (rint_test): Likewise.
12832 (rint_test_tonearest): Likewise.
12833 (rint_test_towardzero): Likewise.
12834 (rint_test_downward): Likewise.
12835 (rint_test_upward): Likewise.
12836 (round_test): Likewise.
12837 (scalb_test): Likewise.
12838 (scalbn_test): Likewise.
12839 (scalbln_test): Likewise.
12840 (signbit_test): Likewise.
12841 (sin_test): Likewise.
12842 (sin_test_tonearest): Likewise.
12843 (sin_test_towardzero): Likewise.
12844 (sin_test_downward): Likewise.
12845 (sin_test_upward): Likewise.
12846 (sincos_test): Likewise.
12847 (sinh_test): Likewise.
12848 (sinh_test_tonearest): Likewise.
12849 (sinh_test_towardzero): Likewise.
12850 (sinh_test_downward): Likewise.
12851 (sinh_test_upward): Likewise.
12852 (sqrt_test): Likewise.
12853 (tan_test): Likewise.
12854 (tan_test_tonearest): Likewise.
12855 (tan_test_towardzero): Likewise.
12856 (tan_test_downward): Likewise.
12857 (tan_test_upward): Likewise.
12858 (tanh_test): Likewise.
12859 (tgamma_test): Likewise.
12860 (trunc_test): Likewise.
12861 (y0_test): Likewise.
12862 (y1_test): Likewise.
12863 (yn_test): Likewise.
12864 (significand_test): Likewise.
12865
bae143d2
OB
128662013-05-24 Ondřej Bílka <neleai@seznam.cz>
12867
12868 [BZ #15381]
12869 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12870
9323d39b
EM
128712013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12872
d4ea44a0 12873 [BZ #14894]
9323d39b
EM
12874 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12875 __ppc_mdoio and __ppc_mdoom.
12876 * manual/platform.texi: Document new functions __ppc_yield,
12877 __ppc_mdoio and __ppc_mdoom.
12878
13e23af7
CD
128792013-05-22 Carlos O'Donell <carlos@redhat.com>
12880
12881 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12882 (main): Mention "tls" pseudo-hwcap is legacy.
12883 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12884
351fe550
JM
128852013-05-22 Joseph Myers <joseph@codesourcery.com>
12886
12887 * math/gen-libm-test.pl (parse_args): Output only string of
12888 arguments as text for test name, not full call or descriptions of
12889 tests for extra outputs.
12890 (generate_testfile): Do not pass function name to parse_args.
12891 Generate this_func variable from START.
12892 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12893 field to arg_str.
12894 (struct test_ff_f_data): Likewise.
12895 (test_ff_f_data_nexttoward): Likewise.
12896 (struct test_fi_f_data): Likewise.
12897 (struct test_fl_f_data): Likewise.
12898 (struct test_if_f_data): Likewise.
12899 (struct test_fff_f_data): Likewise.
12900 (struct test_c_f_data): Likewise.
12901 (struct test_f_f1_data): Likewise. Remove field extra_name.
12902 (struct test_fF_f1_data): Likewise.
12903 (struct test_ffI_f1_data): Likewise.
12904 (struct test_c_c_data): Rename test_name field to arg_str.
12905 (struct test_cc_c_data): Likewise.
12906 (struct test_f_i_data): Likewise.
12907 (struct test_ff_i_data): Likewise.
12908 (struct test_f_l_data): Likewise.
12909 (struct test_f_L_data): Likewise.
12910 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12911 and extra2_name.
12912 (COMMON_TEST_SETUP): New macro.
12913 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12914 (COMMON_TEST_CLEANUP): Likewise.
12915 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12916 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12917 macros.
12918 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12919 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12920 macros.
12921 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12922 (RUN_TEST_fff_f): Take argument string. Call new setup and
12923 cleanup macros.
12924 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12925 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12926 macros.
12927 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12928 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12929 macros.
12930 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12931 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12932 cleanup macros.
12933 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12934 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12935 cleanup macros.
12936 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12937 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12938 cleanup macros.
12939 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12940 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12941 macros.
12942 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12943 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12944 macros.
12945 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12946 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12947 macros.
12948 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12949 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12950 cleanup macros.
12951 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12952 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12953 cleanup macros.
12954 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12955 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12956 macros.
12957 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12958 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12959 cleanup macros.
12960 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12961 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12962 macros.
12963 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12964 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12965 macros.
12966 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12967 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12968 cleanup macros.
12969 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12970
85118d4d
EBM
129712013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12972
12973 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12974 to _sifields.sigfault.
12975 (si_addr_lsb): Define new macro.
12976 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12977 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12978 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12979
7a44c18f
CD
129802013-05-03 Carlos O'Donell <carlos at redhat.com>
12981
12982 [BZ #15441]
12983 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12984 returns -1.
12985 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12986 null return -1.
12987 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12988 loading the domain.
12989
b50a7181
JM
129902013-05-22 Joseph Myers <joseph@codesourcery.com>
12991
12992 * math/gen-libm-test.pl (parse_args): Do not include expected
12993 result in test name.
12994 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12995 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12996 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12997 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12998 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13000
051063c8
SP
130012013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13002
3ce9e010
SP
13003 * benchtests/Makefile: Sort function entries.
13004
051063c8
SP
13005 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13006 tanh, asinh, acosh, atanh.
13007 * benchtests/acos-inputs: New file.
13008 * benchtests/acosh-inputs: New file.
13009 * benchtests/asin-inputs: New file.
13010 * benchtests/asinh-inputs: New file.
13011 * benchtests/atanh-inputs: New file.
13012 * benchtests/cosh-inputs: New file.
13013 * benchtests/log-inputs: New file.
13014 * benchtests/sinh-inputs: New file.
13015 * benchtests/tanh-inputs: New file.
13016
47c22455
DL
130172013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13018
13019 [BZ #15339]
13020 * posix/tst-getaddrinfo4.c: New test.
13021 * posix/Makefile (tests): Add it.
13022
3d04f5db
SP
130232013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13024
13025 [BZ #15339]
13026 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13027 when no services were used.
13028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13029 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13030
d5dd6189
AS
130312013-05-21 Andreas Schwab <schwab@suse.de>
13032
13033 [BZ #15014]
13034 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13035 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13036 successful.
13037 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13038 redundant variable declarations and reallocation of buffer when
13039 parsing as IPv6 address. Always set NSS status when called from
13040 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13041 buffer too small. Correct computation of needed size.
13042 * nss/Makefile (tests): Add test-digits-dots.
13043 * nss/test-digits-dots.c: New test.
13044
fef94eab
SP
130452013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13046
13047 * benchtests/Makefile: Remove instructions for adding
13048 benchmark tests.
13049 * benchtests/README: New file to explain how to execute and
13050 enhance the benchmark tests.
13051
e39adf43
AS
130522013-05-21 Andreas Schwab <schwab@suse.de>
13053
13054 [BZ #15493]
13055 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13056 * setjmp/tst-sigsetjmp.c: New test.
13057
b2b671b6
OB
130582013-05-20 Ondřej Bílka <neleai@seznam.cz>
13059
13060 * sysdeps/x86_64/memset.S (memset): New implementation.
13061 (__bzero): Likewise.
13062 (__memset_tail): New function.
13063
2d48b41c
OB
130642013-05-20 Ondřej Bílka <neleai@seznam.cz>
13065
13066 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13067 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13068 __memcpy_sse2_unaligned ifunc selection.
13069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13070 Add memcpy-sse2-unaligned.S.
13071 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13072 Add: __memcpy_sse2_unaligned.
13073
f16cc3eb
JM
130742013-05-19 Joseph Myers <joseph@codesourcery.com>
13075
3e694268
JM
13076 [BZ #15490]
13077 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13078 math_force_eval before restoring floating-point envrionment.
13079 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13080 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13081 Likewise.
13082 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13083 <math_private.h>.
13084 (__nearbyintl): Use math_force_eval before restoring
13085 floating-point environment.
13086 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13087
db62a907
JM
13088 * math/gen-libm-test.pl (special_functions): Remove.
13089 (parse_args): Don't handle TEST_extra. Handle functions with no
13090 return value.
13091 * math/libm-test.inc (struct test_sincos_data): Replace with
13092 struct test_fFF_11_data.
13093 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13094 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13095 (sincos_test_data): Change element type to struct
13096 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13097 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13098 RUN_TEST_LOOP_sincos.
13099 * math/README.libm-test: Don't mention special handling of
13100 individual functions.
13101 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13102 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13103 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13104 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13105 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13107
f16cc3eb
JM
13108 * math/gen-libm-test.pl (get_variable): Remove function.
13109 (parse_args): Don't show pointer parameters to call in test
13110 names. Use "extra output N" in test names for extra outputs
13111 rather than naming variables.
13112
3779b5b6
JM
131132013-05-18 Joseph Myers <joseph@codesourcery.com>
13114
2ee094ff
JM
13115 [BZ #15488]
13116 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13117 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13118 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13119 double tests.
13120 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13121 disable.
13122 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13123 check_long_double.
13124
3779b5b6
JM
13125 * math/gen-libm-test.pl (@tests): Remove variable.
13126 ($count): Likewise.
13127 (new_test): Remove function.
13128 (show_exceptions): New function.
13129 (special_functions): Use show_exceptions instead of new_test.
13130 (parse_args): Likewise.
13131 (generate_testfile): Pass only function name in generated call to
13132 print_max_error or print_complex_max_error.
13133 (get_ulps): Do not handle complex tests specially.
13134 (output_test): Rename to ...
13135 (get_all_ulps_for_test): ... this. Return a string rather than
13136 printing to a file. Require ulps to be present.
13137 (output_ulps): Generate arrays rather than #defines.
13138 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13139 (struct ulp_data): New type.
13140 (BUILD_COMPLEX_ULP): Remove macro.
13141 (compare_ulp_data): New function.
13142 (find_ulps): Likewise.
13143 (find_test_ulps): Likewise.
13144 (find_function_ulps): Likewise.
13145 (find_complex_function_ulps): Likewise.
13146 (print_max_error): Determine allowed ulps using
13147 find_function_ulps.
13148 (print_complex_max_error): Determine allowed ulps using
13149 find_complex_function_ulps.
13150 (check_float_internal): Determine max ulps using find_test_ulps.
13151 (check_float): Do not take max_ulp parameter. Update call to
13152 check_float_internal.
13153 (check_complex): Likewise.
13154 (check_int): Do not take max_ulp parameter.
13155 (check_long): Likewise.
13156 (check_bool): Likewise.
13157 (check_longlong): Likewise.
13158 (struct test_f_f_data): Remove max_ulp field.
13159 (struct test_ff_f_data): Likewise.
13160 (struct test_ff_f_data_nexttoward): Likewise.
13161 (struct test_fi_f_data): Likewise.
13162 (struct test_fl_f_data): Likewise.
13163 (struct test_if_f_data): Likewise.
13164 (struct test_fff_f_data): Likewise.
13165 (struct test_c_f_data): Likewise.
13166 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13167 (struct test_fF_f1_data): Likewise.
13168 (struct test_ffI_f1_data): Likewise.
13169 (struct test_c_c_data): Remove max_ulp field.
13170 (struct test_cc_c_data): Likewise.
13171 (struct test_f_i_data): Likewise.
13172 (struct test_ff_i_data): Likewise.
13173 (struct test_f_l_data): Likewise.
13174 (struct test_f_L_data): Likewise.
13175 (struct test_sincos_data): Likewise.
13176 (RUN_TEST_f_f): Do not handle ulps.
13177 (RUN_TEST_LOOP_f_f): Likewise.
13178 (RUN_TEST_2_f): Likewise.
13179 (RUN_TEST_LOOP_2_f): Likewise.
13180 (RUN_TEST_fff_f): Likewise.
13181 (RUN_TEST_LOOP_fff_f): Likewise.
13182 (RUN_TEST_c_f): Likewise.
13183 (RUN_TEST_LOOP_c_f): Likewise.
13184 (RUN_TEST_f_f1): Likewise.
13185 (RUN_TEST_LOOP_f_f1): Likewise.
13186 (RUN_TEST_fF_f1): Likewise.
13187 (RUN_TEST_LOOP_fF_f1): Likewise.
13188 (RUN_TEST_fI_f1): Likewise.
13189 (RUN_TEST_LOOP_fI_f1): Likewise.
13190 (RUN_TEST_ffI_f1): Likewise.
13191 (RUN_TEST_LOOP_ffI_f1): Likewise.
13192 (RUN_TEST_c_c): Likewise.
13193 (RUN_TEST_LOOP_c_c): Likewise.
13194 (RUN_TEST_cc_c): Likewise.
13195 (RUN_TEST_LOOP_cc_c): Likewise.
13196 (RUN_TEST_f_i): Likewise.
13197 (RUN_TEST_LOOP_f_i): Likewise.
13198 (RUN_TEST_f_i_tg): Likewise.
13199 (RUN_TEST_LOOP_f_i_tg): Likewise.
13200 (RUN_TEST_ff_i_tg): Likewise.
13201 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13202 (RUN_TEST_f_b): Likewise.
13203 (RUN_TEST_LOOP_f_b): Likewise.
13204 (RUN_TEST_f_b_tg): Likewise.
13205 (RUN_TEST_LOOP_f_b_tg): Likewise.
13206 (RUN_TEST_f_l): Likewise.
13207 (RUN_TEST_LOOP_f_l): Likewise.
13208 (RUN_TEST_f_L): Likewise.
13209 (RUN_TEST_LOOP_f_L): Likewise.
13210 (RUN_TEST_sincos): Likewise.
13211 (RUN_TEST_LOOP_sincos): Likewise.
13212
8269107f
JM
132132013-05-17 Joseph Myers <joseph@codesourcery.com>
13214
bb38759d
JM
13215 [BZ #15480]
13216 [BZ #15485]
13217 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13218 main case of finite arguments, set rounding mode to FE_TONEAREST
13219 and discard exceptions.
13220 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13221 exceptions.
13222 (remainder_tonearest_test_data): New variable.
13223 (remainder_test_tonearest): New function.
13224 (remainder_towardzero_test_data): New variable.
13225 (remainder_test_towardzero): New function.
13226 (remainder_downward_test_data): New variable.
13227 (remainder_test_downward): New function.
13228 (remainder_upward_test_data): New variable.
13229 (remainder_test_upward): New function.
13230 (main): Call the new test functions.
13231
a00bdcf0
JM
13232 * math/libm-test.inc (struct test_f_f1_data): Remove field
13233 extra_init.
13234 (struct test_fF_f1_data): Likewise.
13235 (struct test_ffI_f1_data): Likewise.
13236 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13237 based on value of EXTRA_EXPECTED.
13238 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13239 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13240 EXTRA_VAR based on value of EXTRA_EXPECTED.
13241 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13242 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13243 EXTRA_VAR based on value of EXTRA_EXPECTED.
13244 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13245 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13246 EXTRA_VAR based on value of EXTRA_EXPECTED.
13247 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13248 * math/gen-libm-test.pl (parse_args): Don't output initializers
13249 for extra output values.
13250
de407f79
JM
13251 * math/libm-test.inc (check_int): Expect result to be exactly
13252 equal to expected value and do not handle ulps.
13253 (check_long): Likewise.
13254 (check_longlong): Likewise.
13255
8269107f
JM
13256 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13257 exceptions.
13258 (cimag_test_data): Likewise.
13259 (conj_test_data): Likewise.
13260 (copysign_test_data): Likewise.
13261 (cproj_test_data): Likewise.
13262 (creal_test_data): Likewise.
13263 (fabs_test_data): Likewise.
13264 (fdim_test_data): Likewise.
13265 (finite_test_data): Likewise.
13266 (floor_test_data): Likewise.
13267 (fmax_test_data): Likewise.
13268 (fmin_test_data): Likewise.
13269 (fmod_test_data): Likewise.
13270 (fpclassify_test_data): Likewise.
13271 (frexp_test_data): Likewise.
13272 (ilogb_test_data): Likewise.
13273 (isfinite_test_data): Likewise.
13274 (isgreater_test_data): Likewise.
13275 (isgreaterequal_test_data): Likewise.
13276 (isinf_test_data): Likewise.
13277 (isless_test_data): Likewise.
13278 (islessequal_test_data): Likewise.
13279 (islessgreater_test_data): Likewise.
13280 (isnan_test_data): Likewise.
13281 (isnormal_test_data): Likewise.
13282 (issignaling_test_data): Likewise.
13283 (isunordered_test_data): Likewise.
13284 (ldexp_test_data): Likewise.
13285 (lrint_test_data): Likewise.
13286 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13287 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13288 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13289 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13290 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13291 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13292 test input.
13293 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13294 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13295 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13296 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13297 that test input.
13298 (lrint_downward_test_data): Test for "inexact" exceptions.
13299 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13300 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13301 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13302 test input.
13303 (lrint_upward_test_data): Test for "inexact" exceptions.
13304 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13305 test input.
13306 (llrint_test_data): Test for "inexact" exceptions.
13307 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13308 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13309 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13310 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13311 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13312 (llrint_downward_test_data): Test for "inexact" exceptions.
13313 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13314 (llrint_upward_test_data): Test for "inexact" exceptions.
13315 (logb_test_data): Likewise.
13316 (logb_downward_test_data): Likewise.
13317 (nextafter_test_data): Likewise.
13318 (nexttoward_test_data): Likewise.
13319 (remainder_test_data): Likewise.
13320 (remquo_test_data): Likewise.
13321 (scalbn_test_data): Likewise.
13322 (scalbln_test_data): Likewise.
13323 (signbit_test_data): Likewise.
13324 (sqrt_test_data): Likewise.
13325 (significand_test_data): Likewise.
13326
48a18de1
SP
133272013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13328
13329 [BZ #15424]
13330 * benchtests/bench-modf.c (struct args): Mark arg0 as
13331 volatile.
13332 * scripts/bench.pl: Mark members of struct args as volatile.
13333
13d3b41a
AZ
133342013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13335
68191c1d 13336 [BZ # 15497]
13d3b41a
AZ
13337 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13338 negative infinity on POWER6 or lower.
13339 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13340
2848b105
MR
133412013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13342
13343 [BZ #15442]
13344 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13345 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13346 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13347 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13348 (_FP_SETQNAN): New macro.
13349 (_FP_SETQNAN_SEMIRAW): Likewise.
13350 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13351 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13352 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13353 (FP_EXTEND): Use _FP_FRAC_SNANP.
13354 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13355 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13356 into account.
13357 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13358 New macro.
13359 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13360 Likewise.
13361
323e5cb7
JM
133622013-05-16 Joseph Myers <joseph@codesourcery.com>
13363
c58b274f
JM
13364 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13365 with DIVIDE_BY_ZERO_EXCEPTION.
13366 (gamma_test_data): Likewise.
13367 (lgamma_test_data): Likewise.
13368 (log_test_data): Likewise.
13369 (log10_test_data): Likewise.
13370 (log2_test_data): Likewise.
13371 (tgamma_test_data): Likewise.
13372
0ab34904
JM
13373 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13374 (acos_test_tonearest): Likewise.
13375 (acos_test_towardzero): Likewise.
13376 (acos_test_downward): Likewise.
13377 (acos_test_upward): Likewise.
13378 (acosh_test): Likewise.
13379 (asin_test): Likewise.
13380 (asin_test_tonearest): Likewise.
13381 (asin_test_towardzero): Likewise.
13382 (asin_test_downward): Likewise.
13383 (asin_test_upward): Likewise.
13384 (asinh_test): Likewise.
13385 (atan_test): Likewise.
13386 (atanh_test): Likewise.
13387 (atan2_test): Likewise.
13388 (cabs_test): Likewise.
13389 (cacos_test): Likewise.
13390 (cacosh_test): Likewise.
13391 (casin_test): Likewise.
13392 (casinh_test): Likewise.
13393 (catan_test): Likewise.
13394 (catanh_test): Likewise.
13395 (cbrt_test): Likewise.
13396 (ccos_test): Likewise.
13397 (ccosh_test): Likewise.
13398 (cexp_test): Likewise.
13399 (clog_test): Likewise.
13400 (clog10_test): Likewise.
13401 (cos_test): Likewise.
13402 (cos_test_tonearest): Likewise.
13403 (cos_test_towardzero): Likewise.
13404 (cos_test_downward): Likewise.
13405 (cos_test_upward): Likewise.
13406 (cosh_test): Likewise.
13407 (cosh_test_tonearest): Likewise.
13408 (cosh_test_towardzero): Likewise.
13409 (cosh_test_downward): Likewise.
13410 (cosh_test_upward): Likewise.
13411 (cpow_test): Likewise.
13412 (csin_test): Likewise.
13413 (csinh_test): Likewise.
13414 (csqrt_test): Likewise.
13415 (ctan_test): Likewise.
13416 (ctan_test_tonearest): Likewise.
13417 (ctan_test_towardzero): Likewise.
13418 (ctan_test_downward): Likewise.
13419 (ctan_test_upward): Likewise.
13420 (ctanh_test): Likewise.
13421 (ctanh_test_tonearest): Likewise.
13422 (ctanh_test_towardzero): Likewise.
13423 (ctanh_test_downward): Likewise.
13424 (ctanh_test_upward): Likewise.
13425 (erf_test): Likewise.
13426 (erfc_test): Likewise.
13427 (exp_test): Likewise.
13428 (exp_test_tonearest): Likewise.
13429 (exp_test_towardzero): Likewise.
13430 (exp_test_downward): Likewise.
13431 (exp_test_upward): Likewise.
13432 (exp10_test): Likewise.
13433 (exp2_test): Likewise.
13434 (expm1_test): Likewise.
13435 (fmod_test): Likewise.
13436 (gamma_test): Likewise.
13437 (hypot_test): Likewise.
13438 (j0_test): Likewise.
13439 (j1_test): Likewise.
13440 (jn_test): Likewise.
13441 (lgamma_test): Likewise.
13442 (log_test): Likewise.
13443 (log10_test): Likewise.
13444 (log1p_test): Likewise.
13445 (log2_test): Likewise.
13446 (logb_test_downward): Likewise.
13447 (pow_test): Likewise.
13448 (pow_test_tonearest): Likewise.
13449 (pow_test_towardzero): Likewise.
13450 (pow_test_downward): Likewise.
13451 (pow_test_upward): Likewise.
13452 (remainder_test): Likewise.
13453 (remquo_test): Likewise.
13454 (sin_test): Likewise.
13455 (sin_test_tonearest): Likewise.
13456 (sin_test_towardzero): Likewise.
13457 (sin_test_downward): Likewise.
13458 (sin_test_upward): Likewise.
13459 (sincos_test): Likewise.
13460 (sinh_test): Likewise.
13461 (sinh_test_tonearest): Likewise.
13462 (sinh_test_towardzero): Likewise.
13463 (sinh_test_downward): Likewise.
13464 (sinh_test_upward): Likewise.
13465 (sqrt_test): Likewise.
13466 (tan_test): Likewise.
13467 (tan_test_tonearest): Likewise.
13468 (tan_test_towardzero): Likewise.
13469 (tan_test_downward): Likewise.
13470 (tan_test_upward): Likewise.
13471 (tanh_test): Likewise.
13472 (tgamma_test): Likewise.
13473 (y0_test): Likewise.
13474 (y1_test): Likewise.
13475 (yn_test): Likewise.
13476
323e5cb7
JM
13477 * math/gen-libm-test.pl (adjust_arg): Remove function.
13478 (special_function): Remove argument $in_func. Only handle
13479 generating output for tables of tests, not inside functions.
13480 (parse_args): Likewise.
13481 (generate_testfile): Remove variable $in_func. Update call to
13482 parse_args.
13483 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13484 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13485 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13486 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13487 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13488 (MAX_VALUE_INIT): Rename macro to max_value.
13489 (MIN_VALUE_INIT): Rename macro to min_value.
13490 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13491 (plus_zero): Remove variable.
13492 (minus_zero): Likewise.
13493 (plus_infty): Likewise.
13494 (minus_infty): Likewise.
13495 (qnan_value): Likewise.
13496 (max_value): Likewise.
13497 (min_value): Likewise.
13498 (min_subnorm_value): Likewise.
13499
e054f494
RA
135002013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13501
13502 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13503 uint64_t or uint32_t usage.
13504 * crypt/sha256-block.c: Likewise.
13505 * crypt/sha256-crypt.c: Likewise.
13506 * crypt/sha256.c: Likewise.
13507 * crypt/sha512-block.c: Likewise.
13508 * crypt/sha512-crypt.c: Likewise.
13509 * crypt/sha512.c: Likewise.
13510 * debug/backtrace-tst.c: Likewise.
13511 * debug/pcprofiledump.c: Likewise.
13512 * elf/cache.c: Likewise.
13513 * elf/dl-cache.c: Likewise.
13514 * elf/dl-misc.c: Likewise.
13515 * elf/dl-profile.c: Likewise.
13516 * elf/dl-support.c: Likewise.
13517 * elf/ldconfig.c: Likewise.
13518 * elf/sprof.c: Likewise.
13519 * iconv/dummy-repertoire.c: Likewise.
13520 * iconv/iconv_charmap.c: Likewise.
13521 * iconv/skeleton.c: Likewise.
13522 * iconvdata/8bit-generic.c: Likewise.
13523 * iconvdata/cp737.h: Likewise.
13524 * iconvdata/cp775.h: Likewise.
13525 * iconvdata/ibm1008.h: Likewise.
13526 * iconvdata/ibm1025.h: Likewise.
13527 * iconvdata/ibm1046.h: Likewise.
13528 * iconvdata/ibm1097.h: Likewise.
13529 * iconvdata/ibm1112.h: Likewise.
13530 * iconvdata/ibm1122.h: Likewise.
13531 * iconvdata/ibm1123.h: Likewise.
13532 * iconvdata/ibm1124.h: Likewise.
13533 * iconvdata/ibm1129.h: Likewise.
13534 * iconvdata/ibm1130.h: Likewise.
13535 * iconvdata/ibm1132.h: Likewise.
13536 * iconvdata/ibm1133.h: Likewise.
13537 * iconvdata/ibm1137.h: Likewise.
13538 * iconvdata/ibm1140.h: Likewise.
13539 * iconvdata/ibm1141.h: Likewise.
13540 * iconvdata/ibm1142.h: Likewise.
13541 * iconvdata/ibm1143.h: Likewise.
13542 * iconvdata/ibm1144.h: Likewise.
13543 * iconvdata/ibm1145.h: Likewise.
13544 * iconvdata/ibm1146.h: Likewise.
13545 * iconvdata/ibm1147.h: Likewise.
13546 * iconvdata/ibm1148.h: Likewise.
13547 * iconvdata/ibm1149.h: Likewise.
13548 * iconvdata/ibm1153.h: Likewise.
13549 * iconvdata/ibm1154.h: Likewise.
13550 * iconvdata/ibm1155.h: Likewise.
13551 * iconvdata/ibm1156.h: Likewise.
13552 * iconvdata/ibm1157.h: Likewise.
13553 * iconvdata/ibm1158.h: Likewise.
13554 * iconvdata/ibm1160.h: Likewise.
13555 * iconvdata/ibm1161.h: Likewise.
13556 * iconvdata/ibm1162.h: Likewise.
13557 * iconvdata/ibm1163.h: Likewise.
13558 * iconvdata/ibm1164.h: Likewise.
13559 * iconvdata/ibm1166.h: Likewise.
13560 * iconvdata/ibm1167.h: Likewise.
13561 * iconvdata/ibm12712.h: Likewise.
13562 * iconvdata/ibm1390.h: Likewise.
13563 * iconvdata/ibm1399.h: Likewise.
13564 * iconvdata/ibm16804.h: Likewise.
13565 * iconvdata/ibm4517.h: Likewise.
13566 * iconvdata/ibm4899.h: Likewise.
13567 * iconvdata/ibm4909.h: Likewise.
13568 * iconvdata/ibm4971.h: Likewise.
13569 * iconvdata/ibm5347.h: Likewise.
13570 * iconvdata/ibm803.h: Likewise.
13571 * iconvdata/ibm856.h: Likewise.
13572 * iconvdata/ibm901.h: Likewise.
13573 * iconvdata/ibm902.h: Likewise.
13574 * iconvdata/ibm9030.h: Likewise.
13575 * iconvdata/ibm9066.h: Likewise.
13576 * iconvdata/ibm921.h: Likewise.
13577 * iconvdata/ibm922.h: Likewise.
13578 * iconvdata/ibm9448.h: Likewise.
13579 * iconvdata/isiri-3342.h: Likewise.
13580 * iconvdata/jis0201.h: Likewise.
13581 * include/link.h: Likewise.
13582 * include/netdb.h: Likewise.
13583 * inet/check_native.c: Likewise.
13584 * inet/check_pf.c: Likewise.
13585 * inet/getipv4sourcefilter.c: Likewise.
13586 * inet/getnameinfo.c: Likewise.
13587 * inet/getsourcefilter.c: Likewise.
13588 * inet/htonl.c: Likewise.
13589 * inet/setipv4sourcefilter.c: Likewise.
13590 * inet/setsourcefilter.c: Likewise.
13591 * inet/test-inet6_opt.c: Likewise.
13592 * inet/tst-network.c: Likewise.
13593 * locale/C-collate.c: Likewise.
13594 * locale/C-ctype.c: Likewise.
13595 * locale/C-time.c: Likewise.
13596 * locale/C-translit.h: Likewise.
13597 * locale/loadarchive.c: Likewise.
13598 * locale/programs/3level.h: Likewise.
13599 * locale/programs/charmap.c: Likewise.
13600 * locale/programs/charmap.h: Likewise.
13601 * locale/programs/ld-address.c: Likewise.
13602 * locale/programs/ld-collate.c: Likewise.
13603 * locale/programs/ld-ctype.c: Likewise.
13604 * locale/programs/ld-identification.c: Likewise.
13605 * locale/programs/ld-measurement.c: Likewise.
13606 * locale/programs/ld-messages.c: Likewise.
13607 * locale/programs/ld-monetary.c: Likewise.
13608 * locale/programs/ld-name.c: Likewise.
13609 * locale/programs/ld-numeric.c: Likewise.
13610 * locale/programs/ld-paper.c: Likewise.
13611 * locale/programs/ld-telephone.c: Likewise.
13612 * locale/programs/ld-time.c: Likewise.
13613 * locale/programs/linereader.c: Likewise.
13614 * locale/programs/locale.c: Likewise.
13615 * locale/programs/locarchive.c: Likewise.
13616 * locale/programs/locfile.h: Likewise.
13617 * locale/programs/repertoire.c: Likewise.
13618 * locale/programs/simple-hash.c: Likewise.
13619 * locale/programs/simple-hash.h: Likewise.
13620 * malloc/memusage.c: Likewise.
13621 * malloc/memusagestat.c: Likewise.
13622 * nis/nis_defaults.c: Likewise.
13623 * nis/nis_hash.c: Likewise.
13624 * nis/nis_print.c: Likewise.
13625 * nis/nis_xdr.c: Likewise.
13626 * nscd/connections.c: Likewise.
13627 * nscd/hstcache.c: Likewise.
13628 * nscd/nscd_gethst_r.c: Likewise.
13629 * nscd/nscd_getserv_r.c: Likewise.
13630 * nscd/nscd_helper.c: Likewise.
13631 * nscd/servicescache.c: Likewise.
13632 * nss/makedb.c: Likewise.
13633 * nss/nss_db/db-XXX.c: Likewise.
13634 * nss/nss_db/db-initgroups.c: Likewise.
13635 * nss/nss_db/db-netgrp.c: Likewise.
13636 * nss/nss_files/files-network.c: Likewise.
13637 * nss/nss_files/files-parse.c: Likewise.
13638 * posix/bug-regex5.c: Likewise.
13639 * posix/fnmatch_loop.c: Likewise.
13640 * posix/regcomp.c: Likewise.
13641 * posix/regexec.c: Likewise.
13642 * posix/tst-rfc3484-2.c: Likewise.
13643 * posix/tst-rfc3484-3.c: Likewise.
13644 * posix/tst-rfc3484.c: Likewise.
13645 * resolv/nss_dns/dns-canon.c: Likewise.
13646 * resolv/nss_dns/dns-network.c: Likewise.
13647 * resolv/res_init.c: Likewise.
13648 * resolv/res_mkquery.c: Likewise.
13649 * resolv/tst-aton.c: Likewise.
13650 * stdlib/cxa_atexit.c: Likewise.
13651 * stdlib/cxa_finalize.c: Likewise.
13652 * stdlib/gen-fpioconst.c: Likewise.
13653 * stdlib/strtol_l.c: Likewise.
13654 * string/tst-endian.c: Likewise.
13655 * sunrpc/auth_des.c: Likewise.
13656 * sunrpc/clnt_udp.c: Likewise.
13657 * sunrpc/rtime.c: Likewise.
13658 * sunrpc/svcauth_des.c: Likewise.
13659 * sunrpc/xdr.c: Likewise.
13660 * sunrpc/xdr_intXX_t.c: Likewise.
13661 * sunrpc/xdr_rec.c: Likewise.
13662 * sysdeps/generic/ldconfig.h: Likewise.
13663 * sysdeps/generic/ldsodefs.h: Likewise.
13664 * sysdeps/generic/memusage.h: Likewise.
13665 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13666 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13667 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13668 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13669 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13671 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13672 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13674 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13675 * sysdeps/posix/getaddrinfo.c: Likewise.
13676 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13677 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13678 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13679 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13680 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13681 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13682 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13683 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13684 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13685 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13686 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13687 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13688 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13689 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13690 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13691 * sysdeps/x86_64/dl-tls.h: Likewise.
13692 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13693 * time/alt_digit.c: Likewise.
13694 * time/era.c: Likewise.
13695 * wcsmbs/tst-c16c32-1.c: Likewise.
13696
8c75f674
JM
136972013-05-16 Joseph Myers <joseph@codesourcery.com>
13698
13699 * math/libm-test.inc (struct test_sincos_data): New type.
13700 (RUN_TEST_LOOP_sincos): New macro.
13701 (sincos_test_data): New variable.
13702 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13703
e6e49e59
RH
137042013-05-16 Richard Henderson <rth@redhat.com>
13705
13706 * math/atest-exp2.c (LIMB64): New macro.
13707 (CONSTSZ): New macro.
13708 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13709 (hexdig): Move ...
13710 (print_mpn_fp): ... to function scope.
13711 (read_mpn_hex): Remove.
13712 (get_log2): Remove.
13713 (exp2_mpn): Use mp_log2.
13714 (main): Use mp_exp1.
13715
15c7c18d
JM
137162013-05-16 Joseph Myers <joseph@codesourcery.com>
13717
105a07df
JM
13718 * math/libm-test.inc: Remove comment about not testing "inexact"
13719 exceptions.
13720 (INEXACT_EXCEPTION): New macro.
13721 (NO_INEXACT_EXCEPTION): Likewise.
13722 (INVALID_EXCEPTION_OK): Update value.
13723 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13724 (OVERFLOW_EXCEPTION_OK): Likewise.
13725 (UNDERFLOW_EXCEPTION_OK): Likewise.
13726 (IGNORE_ZERO_INF_SIGN): Likewise.
13727 (ERRNO_UNCHANGED): Likewise.
13728 (ERRNO_EDOM): Likewise.
13729 (ERRNO_ERANGE): Likewise.
13730 (test_exceptions): Handle testing "inexact" exceptions.
13731 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13732 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13733 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13734 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13735 INEXACT_EXCEPTION.
13736 (rint_towardzero_test_data): Likewise.
13737 (rint_downward_test_data): Likewise.
13738 (rint_upward_test_data): Likewise.
13739
e9eee333
JM
13740 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13741 with OVERFLOW_EXCEPTION.
13742 (exp10_test_data): Likewise.
13743 (exp2_test_data): Likewise.
13744 (expm1_test_data): Likewise.
13745 (lgamma_test_data): Likewise.
13746 (pow_test_data): Likewise.
13747 (tgamma_test_data): Likewise.
13748 (yn_test_data): Remove duplicate test of overflow.
13749
1c38ff73
JM
13750 * math/libm-test.inc (struct test_cc_c_data): New type.
13751 (RUN_TEST_LOOP_cc_c): New macro.
13752 (cpow_test_data): New variable.
13753 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13754
15c7c18d
JM
13755 * math/libm-test.inc (struct test_f_L_data): New type.
13756 (RUN_TEST_LOOP_f_L): New macro.
13757 (llrint_test_data): New variable.
13758 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13759 (llrint_tonearest_test_data): New variable.
13760 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13761 (llrint_towardzero_test_data): New variable.
13762 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13763 (llrint_downward_test_data): New variable.
13764 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13765 (llrint_upward_test_data): New variable.
13766 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13767 (llround_test_data): New variable.
13768 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13769
f137ff13
PC
137702013-05-13 Peter Collingbourne <pcc@google.com>
13771
13772 * math/atest-exp2.c (get_log2): Remove const attribute.
13773
3608cb24
JM
137742013-05-15 Joseph Myers <joseph@codesourcery.com>
13775
13776 * math/libm-test.inc (struct test_f_l_data): New type.
13777 (RUN_TEST_LOOP_f_l): New macro.
13778 (lrint_test_data): New variable.
13779 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13780 (lrint_tonearest_test_data): New variable.
13781 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13782 (lrint_towardzero_test_data): New variable.
13783 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13784 (lrint_downward_test_data): New variable.
13785 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13786 (lrint_upward_test_data): New variable.
13787 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13788 (lround_test_data): New variable.
13789 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13790
39b1f617
PC
137912013-05-15 Peter Collingbourne <pcc@google.com>
13792
1deff3dc
PC
13793 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13794 (EXTRACT_WORDS64) Use where appropriate.
13795 (INSERT_WORDS64) Likewise.
13796
791f3ba0
PC
13797 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13798 constraints with x constraints.
13799 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13800
39b1f617
PC
13801 * malloc/obstack.c (_obstack_compat): Add initializer.
13802
12fba011
EM
138032013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13804
13805 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13806 si_trapno and add si_addr_lsb to _sifields.sigfault.
13807 (si_trapno): Remove macro.
13808 (si_addr_lsb): Define new macro.
13809 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13810
d369f531
JM
138112013-05-15 Joseph Myers <joseph@codesourcery.com>
13812
b861c6c4
JM
13813 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13814 instead of TEST_f_l.
13815 (llrint_test_tonearest): Likewise.
13816 (llrint_test_towardzero): Likewise.
13817 (llrint_test_downward): Likewise.
13818 (llrint_test_upward): Likewise.
13819 (llround_test): Likewise.
13820
7abeee12
JM
13821 * math/libm-test.inc (struct test_f_i_data): Add comment.
13822 (RUN_TEST_LOOP_f_b): New macro.
13823 (RUN_TEST_LOOP_f_b_tg): Likewise.
13824 (finite_test_data): New variable.
13825 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13826 (isfinite_test_data): New variable.
13827 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13828 (isinf_test_data): New variable.
13829 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13830 (isnan_test_data): New variable.
13831 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13832 (isnormal_test_data): New variable.
13833 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13834 (issignaling_test_data): New variable.
13835 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13836 (signbit_test_data): New variable.
13837 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13838
cbe8c4d3
JM
13839 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13840 with INVALID_EXCEPTION.
13841 (acosh_test_data): Likewise.
13842 (asin_test_data): Likewise.
13843 (atanh_test_data): Likewise.
13844 (fmod_test_data): Likewise.
13845 (log_test_data): Likewise.
13846 (log10_test_data): Likewise.
13847 (log2_test_data): Likewise.
13848 (pow_test_data): Likewise.
13849 (sqrt_test_data): Likewise.
13850 (y0_test_data): Likewise.
13851 (y1_test_data): Likewise.
13852 (yn_test_data): Likewise.
13853
5575c0e5
JM
13854 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13855 function contents.
13856
d369f531
JM
13857 * math/libm-test.inc (struct test_ff_i_data): New type.
13858 (RUN_TEST_LOOP_ff_i_tg): New macro.
13859 (isgreater_test_data): New variable.
13860 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13861 (isgreaterequal_test_data): New variable.
13862 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13863 (isless_test_data): New variable.
13864 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13865 (islessequal_test_data): New variable.
13866 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13867 (islessgreater_test_data): New variable.
13868 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13869 (isunordered_test_data): New variable.
13870 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13871
781fd748
DM
138722013-05-14 David S. Miller <davem@davemloft.net>
13873
13874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13875
87aa21df
JM
138762013-05-14 Joseph Myers <joseph@codesourcery.com>
13877
5e908270
JM
13878 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13879
f71172e5
JM
13880 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13881 extra_test to int.
13882 (struct test_f_i_data): Change type of max_ulp to int.
13883
8cfa635a
JM
13884 * math/libm-test.inc (test_ffI_f1_data): New type.
13885 (RUN_TEST_LOOP_ffI_f1): New macro.
13886 (remquo_test_data): New variable.
13887 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13888
2bcb36b2
JM
13889 * setjmp/tst-setjmp-fp.c: New file.
13890 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13891 (link-libm): New variable.
13892 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13893
acbd839a
JM
13894 * math/libm-test.inc (struct test_f_i_data): New type.
13895 (RUN_TEST_LOOP_f_i): New macro.
13896 (RUN_TEST_LOOP_f_i_tg): Likewise.
13897 (fpclassify_test_data): New variable.
13898 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13899 (ilogb_test_data): New variable.
13900 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13901
e414d745
JM
13902 * math/libm-test.inc (scalbln_test): Correct function name in END
13903 call.
13904
d9c2a0fd
JM
13905 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13906 (RUN_TEST_LOOP_fI_f1): New macro.
13907 (frexp_test_data): New variable.
13908 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13909
9dc9095d
JM
13910 * math/libm-test.inc (struct test_fF_f1_data): New type.
13911 (RUN_TEST_LOOP_fF_f1): New macro.
13912 (modf_test_data): New variable.
13913 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13914
87aa21df
JM
13915 * math/libm-test.inc (struct test_f_f1_data): New type.
13916 (RUN_TEST_LOOP_f_f1): New macro.
13917 (gamma_test_data): New variable.
13918 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13919 (lgamma_test_data): New variable.
13920 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13921
141af660
CD
139222013-05-13 Carlos O'Donell <carlos@redhat.com>
13923
13924 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13925 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13926 (main): Comment "tls" pseudo-hwcap.
13927
6d33265c
JM
139282013-05-13 Joseph Myers <joseph@codesourcery.com>
13929
68fc074c
JM
13930 * math/libm-test.inc (struct test_fl_f_data): New type.
13931 (RUN_TEST_LOOP_fl_f): New variable.
13932 (scalbln_test_data): New variable.
13933 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13934
243216e1
JM
13935 * math/libm-test.inc (struct test_fi_f_data): New type.
13936 (RUN_TEST_LOOP_fi_f): New macro.
13937 (ldexp_test_data): New variable.
13938 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13939 (scalbn_test_data): New variable.
13940 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13941
6a1992e2
JM
13942 * math/libm-test.inc (struct test_c_f_data): New type.
13943 (RUN_TEST_LOOP_c_f): New macro.
13944 (cabs_test_data): New variable.
13945 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13946 (carg_test_data): New variable.
13947 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13948 (cimag_test_data): New variable.
13949 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13950 (creal_test_data): New variable.
13951 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13952
0e400df5
JM
13953 * math/libm-test.inc (struct test_if_f_data): New type.
13954 (RUN_TEST_LOOP_if_f): New macro.
13955 (jn_test_data): New variable.
13956 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13957 (yn_test_data): New variable.
13958 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13959
6d33265c
JM
13960 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13961
f98ece5f
AZ
139622013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13963
13964 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13965 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13966
0f7d347b
SP
139672013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13968
43fe811b
SP
13969 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13970 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13971 (bench-deps): Add bench-timing.h.
13972 * benchtests-bench-skeleton.c: Include bench-timing.h.
13973 (main): Use TIMING_* macros instead of clock_gettime.
13974 * benchtests/bench-timing.h: New file.
13975
0f7d347b
SP
13976 [BZ #14582]
13977 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13978 Renamed from _LIB_VERSION.
13979 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13980
601a3a5f
JM
139812013-05-12 Joseph Myers <joseph@codesourcery.com>
13982
4f184d30
JM
13983 * math/libm-test.inc (struct test_fff_f_data): New type.
13984 (RUN_TEST_LOOP_fff_f): New macro.
13985 (fma_test_data): New variable.
13986 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13987 (fma_towardzero_test_data): New variable.
13988 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13989 (fma_downward_test_data): New variable.
13990 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13991 (fma_upward_test_data): New variable.
13992 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13993
08198877
JM
13994 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13995 (struct test_c_c_data): New type.
13996 (RUN_TEST_LOOP_c_c): New macro.
13997 (cacos_test_data): New variable.
13998 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13999 (cacosh_test_data): New variable.
14000 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14001 (casin_test_data): New variable.
14002 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14003 (casinh_test_data): New variable.
14004 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14005 (catan_test_data): New variable.
14006 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14007 (catanh_test_data): New variable.
14008 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14009 (ccos_test_data): New variable.
14010 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14011 (ccosh_test_data): New variable.
14012 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14013 (cexp_test_data): New variable.
14014 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14015 (clog_test_data): New variable.
14016 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14017 (clog10_test_data): New variable.
14018 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14019 (conj_test_data): New variable.
14020 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14021 (cproj_test_data): New variable.
14022 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14023 (csin_test_data): New variable.
14024 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14025 (csinh_test_data): New variable.
14026 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14027 (csqrt_test_data): New variable.
14028 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14029 (ctan_test_data): New variable.
14030 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14031 (ctan_tonearest_test_data): New variable.
14032 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14033 (ctan_towardzero_test_data): New variable.
14034 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14035 (ctan_downward_test_data): New variable.
14036 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14037 (ctan_upward_test_data): New variable.
14038 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14039 (ctanh_test_data): New variable.
14040 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14041 (ctanh_tonearest_test_data): New variable.
14042 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14043 (ctanh_towardzero_test_data): New variable.
14044 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14045 (ctanh_downward_test_data): New variable.
14046 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14047 (ctanh_upward_test_data): New variable.
14048 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14049 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14050 of BUILD_COMPLEX.
14051
601a3a5f
JM
14052 * math/libm-test.inc (struct test_ff_f_data): New type.
14053 (struct test_ff_f_data_nexttoward): Likewise.
14054 (RUN_TEST_LOOP_2_f): New macro.
14055 (RUN_TEST_LOOP_ff_f): Likewise.
14056 (atan2_test_data): New variable.
14057 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14058 (copysign_test_data): New variable.
14059 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14060 (fdim_test_data): New variable.
14061 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14062 (fmax_test_data): New variable.
14063 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14064 (fmin_test_data): New variable.
14065 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14066 (fmod_test_data): New variable.
14067 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14068 (hypot_test_data): New variable.
14069 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14070 (nextafter_test_data): New variable.
14071 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14072 (nexttoward_test_data): New variable.
14073 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14074 (pow_test_data): New variable.
14075 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14076 (pow_tonearest_test_data): New variable.
14077 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14078 (pow_towardzero_test_data): New variable.
14079 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14080 (pow_downward_test_data): New variable.
14081 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14082 (pow_upward_test_data): New variable.
14083 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14084 (remainder_test_data): New variable.
14085 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14086 (scalb_test_data): New variable.
14087 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14088 * sysdeps/i386/fpu/libm-test-ulps: Update.
14089
74c57478
JM
140902013-05-11 Joseph Myers <joseph@codesourcery.com>
14091
8329e4da
JM
14092 * math/libm-test.inc (fma_test): Use max_value instead of local
14093 variable fltmax.
14094 (nextafter_test): Likewise.
14095
74c57478
JM
14096 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14097 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14098 (acos_downward_test_data): New variable.
14099 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14100 (acos_upward_test_data): New variable.
14101 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14102 (acosh_test_data): New variable.
14103 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14104 (asin_test_data): New variable.
14105 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14106 (asin_tonearest_test_data): New variable.
14107 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14108 (asin_towardzero_test_data): New variable.
14109 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14110 (asin_downward_test_data): New variable.
14111 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14112 (asin_upward_test_data): New variable.
14113 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14114 (asinh_test_data): New variable.
14115 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14116 (atan_test_data): New variable.
14117 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14118 (atanh_test_data): New variable.
14119 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14120 (cbrt_test_data): New variable.
14121 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14122 (ceil_test_data): New variable.
14123 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14124 (cos_test_data): New variable.
14125 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14126 (cos_tonearest_test_data): New variable.
14127 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14128 (cos_towardzero_test_data): New variable.
14129 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14130 (cos_downward_test_data): New variable.
14131 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14132 (cos_upward_test_data): New variable.
14133 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14134 (cosh_test_data): New variable.
14135 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14136 (cosh_tonearest_test_data): New variable.
14137 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14138 (cosh_towardzero_test_data): New variable.
14139 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14140 (cosh_downward_test_data): New variable.
14141 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14142 (cosh_upward_test_data): New variable.
14143 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14144 (erf_test_data): New variable.
14145 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14146 (erfc_test_data): New variable.
14147 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14148 (exp_test_data): New variable.
14149 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14150 (exp_tonearest_test_data): New variable.
14151 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14152 (exp_towardzero_test_data): New variable.
14153 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14154 (exp_downward_test_data): New variable.
14155 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14156 (exp_upward_test_data): New variable.
14157 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14158 (exp10_test_data): New variable.
14159 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14160 (exp2_test_data): New variable.
14161 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14162 (expm1_test_data): New variable.
14163 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14164 (fabs_test_data): New variable.
14165 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14166 (floor_test_data): New variable.
14167 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14168 (j0_test_data): New variable.
14169 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14170 (j1_test_data): New variable.
14171 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14172 (log_test_data): New variable.
14173 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14174 (log10_test_data): New variable.
14175 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14176 (log1p_test_data): New variable.
14177 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14178 (log2_test_data): New variable.
14179 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14180 (logb_test_data): New variable.
14181 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14182 (logb_downward_test_data): New variable.
14183 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14184 (nearbyint_test_data): New variable.
14185 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14186 (rint_test_data): New variable.
14187 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14188 (rint_tonearest_test_data): New variable.
14189 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14190 (rint_towardzero_test_data): New variable.
14191 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14192 (rint_downward_test_data): New variable.
14193 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14194 (rint_upward_test_data): New variable.
14195 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14196 (round_test_data): New variable.
14197 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14198 (sin_test_data): New variable.
14199 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14200 (sin_tonearest_test_data): New variable.
14201 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14202 (sin_towardzero_test_data): New variable.
14203 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14204 (sin_downward_test_data): New variable.
14205 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14206 (sin_upward_test_data): New variable.
14207 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14208 (sinh_test_data): New variable.
14209 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14210 (sinh_tonearest_test_data): New variable.
14211 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14212 (sinh_towardzero_test_data): New variable.
14213 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14214 (sinh_downward_test_data): New variable.
14215 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14216 (sinh_upward_test_data): New variable.
14217 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14218 (sqrt_test_data): New variable.
14219 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14220 (tan_test_data): New variable.
14221 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14222 (tan_tonearest_test_data): New variable.
14223 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14224 (tan_towardzero_test_data): New variable.
14225 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14226 (tan_downward_test_data): New variable.
14227 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14228 (tan_upward_test_data): New variable.
14229 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14230 (tanh_test_data): New variable.
14231 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14232 (tgamma_test_data): New variable.
14233 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14234 (trunc_test_data): New variable.
14235 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14236 (y0_test_data): New variable.
14237 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14238 (y1_test_data): New variable.
14239 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14240 (significand_test_data): New variable.
14241 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14242
7187d844
CG
142432013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14244
14245 [BZ #12387]
14246 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14247
f63fae73
PT
142482013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14249
14250 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14251
8a67a4b3
AJ
142522013-05-10 Andreas Jaeger <aj@suse.de>
14253
14254 [BZ #15448]
14255 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14256 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14257
51df539d
JM
142582013-05-10 Joseph Myers <joseph@codesourcery.com>
14259
14260 * math/gen-libm-test.pl (adjust_arg): New function.
14261 (special_functions): Handle generating output in both functions
14262 and arrays.
14263 (parse_args): Likewise.
14264 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14265 $in_func argument to parse_args.
14266 * math/libm-test.inc (struct test_f_f_data): New type.
14267 (IF_ROUND_INIT_): New macro.
14268 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14269 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14270 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14271 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14272 (ROUND_RESTORE_): Likewise.
14273 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14274 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14275 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14276 (ROUND_RESTORE_FE_UPWARD): Likewise.
14277 (RUN_TEST_LOOP_f_f): New macro.
14278 (acos_test_data): New variable.
14279 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14280 (acos_tonearest_test_data): New variable.
14281 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14282
5c637fe5
SP
142832013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14284
14285 * benchtests/bench-skeleton.c (startup): Fix coding style.
14286
ab2b9461
JM
142872013-05-10 Joseph Myers <joseph@codesourcery.com>
14288
14289 [BZ #6809]
14290 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14291 negative infinity argument.
14292 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14293 negative infinity argument.
14294 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14295 negative infinity argument.
14296 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14297 domain errors.
14298
4c0fe6fe
FW
142992013-05-10 Florian Weimer <fweimer@redhat.com>
14300
14301 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14302 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14303 * iconv/iconv_prog.c (main): Likewise.
14304 * locale/programs/charmap-dir.c (charmap_readdir)
14305 (fopen_uncompressed): Likewise.
14306 * locale/programs/locfile.c (siblings_uncached)
14307 (write_locale_data): Use lstat64 instead of lstat.
14308 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14309 stat.
14310
a3375d29
AJ
143112013-05-10 Andreas Jaeger <aj@suse.de>
14312
14313 [BZ #15395]
14314 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14315 localization.
14316 Include <locale.h>.
14317
36129722
CD
143182013-05-09 Carlos O'Donell <carlos@redhat.com>
14319
14320 * elf/dl-close.c (_dl_close_worker): Add comments.
14321
faa7f811
JM
143222013-05-09 Joseph Myers <joseph@codesourcery.com>
14323
ed41ffef
JM
14324 [BZ #15359]
14325 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14326 high part of pi/2.
14327 (__ieee754_rem_pio2l): Update comments.
14328
d0213cd0
JM
14329 [BZ #15429]
14330 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14331 high part of pi/2.
14332 (__ieee754_rem_pio2l): Update comments.
14333
0d3e777a
JM
14334 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14335 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14336
24f56066
JM
14337 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14338 M_PI_4l.
14339
faa7f811
JM
14340 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14341 (M_PI_34_LOG10El): Likewise.
14342 (M_PI2_LOG10El): Likewise.
14343 (M_PI4_LOG10El): Likewise.
14344 (M_PI_LOG10El): Likewise.
14345
e9a5e0fd
AZ
143462013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14347
14348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14349
d8cd06db
JM
143502013-05-08 Joseph Myers <joseph@codesourcery.com>
14351
a0d9f9d7
JM
14352 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14353 (MINUS_ZERO_INIT): Likewise.
14354 (PLUS_INFTY_INIT): Likewise.
14355 (MINUS_INFTY_INIT): Likewise.
14356 (QNAN_VALUE_INIT): Likewise.
14357 (MAX_VALUE_INIT): Likewise.
14358 (MIN_VALUE_INIT): Likewise.
14359 (MIN_SUBNORM_VALUE_INIT): Likewise.
14360 (plus_zero): Initialize with PLUS_ZERO_INIT.
14361 (minus_zero): Initialize with MINUS_ZERO_INIT.
14362 (plus_infty): Initialize with PLUS_INFTY_INIT.
14363 (minus_infty): Initialize with MINUS_INFTY_INIT.
14364 (qnan_value): Initialize with QNAN_VALUE_INIT.
14365 (max_value): Initialize with MAX_VALUE_INIT.
14366 (min_value): Initialize with MIN_VALUE_INIT.
14367 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14368
ae08db3b
JM
14369 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14370 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14371 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14372 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14373
f44bf14a
JM
14374 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14375 (RUN_TEST_2_f): Likewise.
14376 (RUN_TEST_ff_f): Likewise.
14377 (RUN_TEST_fi_f): Likewise.
14378 (RUN_TEST_fl_f): Likewise.
14379 (RUN_TEST_fff_f): Likewise.
14380 (RUN_TEST_c_f): Likewise.
14381 (RUN_TEST_f_f1): Likewise.
14382 (RUN_TEST_fF_f1): Likewise.
14383 (RUN_TEST_fI_f1): Likewise.
14384 (RUN_TEST_ffI_f1): Likewise.
14385 (RUN_TEST_c_c): Likewise.
14386 (RUN_TEST_cc_c): Likewise.
14387 (RUN_TEST_f_i): Likewise.
14388 (RUN_TEST_f_i_tg): Likewise.
14389 (RUN_TEST_ff_i_tg): Likewise.
14390 (RUN_TEST_f_b): Likewise.
14391 (RUN_TEST_f_b_tg): Likewise.
14392 (RUN_TEST_f_l): Likewise.
14393 (RUN_TEST_f_L): Likewise.
14394 (RUN_TEST_sincos): Likewise.
14395 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14396 whether to show exceptions. Do not include ");\n" in return
14397 value.
14398 (special_functions): Output call to RUN_TEST_sincos instead of
14399 check_float calls. Update calls to new_test.
14400 (parse_args): Output call to single RUN_TEST_* macro instead of
14401 check_* calls and other assignments. Update calls to new_test.
14402
d8cd06db
JM
14403 [BZ #2546]
14404 [BZ #2560]
14405 [BZ #5159]
14406 [BZ #15426]
14407 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14408 input to result for tgamma overflow.
14409 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14410 (gamma_coeff): New variable.
14411 (NCOEFF): New macro.
14412 (gamma_positive): New function.
14413 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14414 underflow here. Use gamma_positive instead of exp (lgamma) for
14415 other arguments.
14416 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14417 (gamma_coeff): New variable.
14418 (NCOEFF): New macro.
14419 (gammaf_positive): New function.
14420 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14421 underflow here. Use gamma_positive instead of exp (lgamma) for
14422 other arguments.
14423 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14424 (gamma_coeff): New variable.
14425 (NCOEFF): New macro.
14426 (gammal_positive): New function.
14427 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14428 underflow here. Use gamma_positive instead of exp (lgamma) for
14429 other arguments.
14430 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14431 (gamma_coeff): New variable.
14432 (NCOEFF): New macro.
14433 (gammal_positive): New function.
14434 (__ieee754_gammal_r): Handle positive infinity, overflow and
14435 underflow here. Handle NaN the same as positive infinity. Remove
14436 check x < 0xffffffff for negative integers. Use gamma_positive
14437 instead of exp (lgamma) for other arguments.
14438 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14439 (gamma_coeff): New variable.
14440 (NCOEFF): New macro.
14441 (gammal_positive): New function.
14442 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14443 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14444 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14445 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14446 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14447 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14448 * sysdeps/generic/math_private.h (__gamma_productf): New
14449 prototype.
14450 (__gamma_product): Likewise.
14451 (__gamma_productl): Likewise.
14452 * math/Makefile (libm-calls): Add gamma_product.
14453 * math/libm-test.inc (tgamma_test): Add more tests.
14454 * sysdeps/i386/fpu/libm-test-ulps: Update.
14455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14456
bb7cf681
OB
144572013-05-08 Ondřej Bílka <neleai@seznam.cz>
14458
14459 * benchtests/bench-skeleton.c (main): Preheat CPU.
14460
ba853947
AJ
144612013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14462
14463 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14464
8347c74c
RM
144652013-05-07 Roland McGrath <roland@hack.frob.com>
14466
14467 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14468 and _dl_skip_args_internal.
14469
e8dd4791
CD
144702013-05-07 Carlos O'Donell <carlos@redhat.com>
14471
14472 * manual/message.texi (Message Translation): Talk about users.
14473 Message to key mapping impacts design.
14474
c7405830
RM
144752013-05-06 Roland McGrath <roland@hack.frob.com>
14476
a9173057
RM
14477 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14478
976e2f03
RM
14479 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14480
9723ffc5
RM
14481 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14482 * sysdeps/wordsize-64/glob64.c: ... here.
14483
962e6658
RM
14484 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14485 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14486 New macros.
14487
ee586a6d
RM
14488 * debug/getlogin_r_chk.c: Moved to ...
14489 * login/getlogin_r_chk.c: ... here.
14490 * debug/Makefile (routines): Move getlogin_r_chk to ...
14491 * login/Makefile (routines): ... here.
14492 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14493 * login/Versions (libc: GLIBC_2.4): ... here.
14494
355f9165
RM
14495 * io/poll.c (__poll): Renamed from poll.
14496 Add libc_hidden_def.
14497 (poll): Define as weak alias.
14498
bd9ffde6
RM
14499 * debug/ptsname_r_chk.c: Moved to ...
14500 * login/ptsname_r_chk.c: ... here.
14501 * debug/Makefile (routines): Move ptsname_r_chk to ...
14502 * login/Makefile (routines): ... here.
14503 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14504 * login/Versions (libc: GLIBC_2.4): ... here.
14505
8fb16a04
RM
14506 * posix/getlogin.c: Moved to ...
14507 * login/getlogin.c: ... here.
14508 * posix/getlogin_r.c: Moved to ...
14509 * login/getlogin_r.c: ... here.
14510 * posix/getlogin_r.c: Moved to ...
14511 * login/getlogin_r.c: ... here.
14512 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14513 * login/Makefile (routines): ... here.
14514 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14515 * login/Versions (libc: GLIBC_2.0): ... here.
14516
b99b892f
RM
14517 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14518 (setrlimit): Define as weak alias.
14519
c7405830
RM
14520 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14521 Call __ names for open, ftruncate, and close.
14522 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14523 (truncate): Define as weak alias.
14524
5bf96de5
JM
145252013-05-06 Joseph Myers <joseph@codesourcery.com>
14526
9ea3513c
JM
14527 * math/gen-libm-test.pl (parse_args): Initialize x before each
14528 test of frexp, modf and remquo.
14529
5bf96de5
JM
14530 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14531 test signgam value.
14532
16e616a7
AZ
145332013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14534
14535 [BZ #15418]
14536 [BZ #15419]
14537 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14538 internal tests.
14539 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14540
d5e82754
RM
145412013-05-06 Roland McGrath <roland@hack.frob.com>
14542
14543 * elf/dl-writev.h: New file.
14544 * elf/dl-misc.c: Include it.
14545 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14546 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14547
a7548d41
JM
145482013-05-04 Joseph Myers <joseph@codesourcery.com>
14549
b7dab1e4
JM
14550 * math/libm-test.inc (noXFails): Remove variable.
14551 (noXPasses): Likewise.
14552 (BUILD_COMPLEX_INT): Remove macro.
14553 (print_screen): Remove xfail argument.
14554 (print_screen_max_error): Likewise.
14555 (update_stats): Likewise.
14556 (print_max_error): Likewise. Update calls to other affected
14557 functions.
14558 (print_complex_max_error): Likewise.
14559 (test_single_exception): Update calls to print_screen.
14560 (test_single_errno): Likewise.
14561 (check_float_internal): Remove xfail argument. Update calls to
14562 other affected functions.
14563 (check_float): Likewise.
14564 (check_complex): Likewise.
14565 (check_int): Likewise.
14566 (check_long): Likewise.
14567 (check_bool): Likewise.
14568 (check_longlong): Likewise.
14569 (main): Don't print noXFails and noXPasses.
14570 * math/gen-libm-test.pl (top level): Don't mention expected
14571 failure handling in comment.
14572 (new_test): Don't handle expected failures.
14573 (parse_args): Don't mention expected failure handling in comment.
14574 (generate_testfile): Don't handle expected failures.
14575 (parse_ulps): Likewise.
14576 (print_ulps_file): Likewise.
14577 (get_failure): Remove function.
14578 (output_test): Don't handle expected failures.
14579 * make/README.libm-test: Don't mention expected failure handling.
14580
a7548d41
JM
14581 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14582 (minus_zero): Likewise.
14583 (plus_infty): Likewise.
14584 (minus_infty): Likewise.
14585 (qnan_value): Likewise.
14586 (max_value): Likewise.
14587 (min_value): Likewise.
14588 (min_subnorm_value): Likewise.
14589 (initialize): Do not initialize those variables dynamically.
14590
60bfd54c
RM
145912013-05-03 Roland McGrath <roland@hack.frob.com>
14592
cc0e6ed8
RM
14593 * io/open.c (__open_2): Moved to ...
14594 * io/open_2.c: ... this new file.
14595 * io/open64.c (__open64_2): Moved to ...
14596 * io/open64_2.c: ... this new file.
14597 * io/openat.c (__openat_2): Moved to ...
14598 * io/openat_2.c: ... this new file.
14599 * io/openat64.c (__openat64_2): Moved to ...
14600 * io/openat64_2.c: ... this new file.
14601 * io/Makefile (routines): Add them.
14602 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14603 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14604 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14605 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14606 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14607 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14608 (__openat64): Add hidden_ver.
14609 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14610 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14611
60bfd54c
RM
14612 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14613 Separately conditionalize setting of GLRO(dl_sysinfo) so
14614 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14615 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14616
83e7640f
AZ
146172013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14618
14619 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14620 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14621 definition.
14622 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14623 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14624 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14625 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14626 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14627
d5dc2af3
JM
146282013-05-03 Joseph Myers <joseph@codesourcery.com>
14629
c31a5b1e
JM
14630 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14631 test signgam value.
14632
d5dc2af3
JM
14633 * math/libm-test.inc (hypot_test): Do not use
14634 IGNORE_ZERO_INF_SIGN.
14635
164fd39d
AJ
146362013-05-03 Andreas Jaeger <aj@suse.de>
14637
14638 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14639 Linux 3.9.
14640 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14641 (PF_MAX): Adjust for VSOCK change.
14642
8237f48c
AZ
146432013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14644
14645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14646
9df02941
CD
146472013-05-02 Carlos O'Donell <carlos@redhat.com>
14648
14649 [BZ #15264]
14650 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14651 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14652 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14653
d422395e
DM
146542013-05-02 David S. Miller <davem@davemloft.net>
14655
14656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14657
a07c5731
OB
146582013-05-01 Ondřej Bílka <neleai@seznam.cz>
14659
14660 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14661
1324e37f
RM
146622013-05-01 Roland McGrath <roland@hack.frob.com>
14663
14664 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14665
0695940b
RS
146662013-05-01 Richard Smith <richard@metafoo.co.uk>
14667
bb5f27ad 14668 [BZ #14952]
0695940b
RS
14669 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14670 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14671 Use __attribute__ ((__gnu_inline__)).
14672 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14673 Don't use __attribute__ ((__gnu_inline__)).
14674
10de07f5
JM
146752013-05-01 Joseph Myers <joseph@codesourcery.com>
14676
14677 [BZ #15423]
14678 * math/s_catan.c (__catan): Handle small real or imaginary part of
14679 input specially to avoid spurious underflow.
14680 * math/s_catanf.c (__catanf): Likewise.
14681 * math/s_catanh.c (__catanh): Likewise.
14682 * math/s_catanhf.c (__catanhf): Likewise.
14683 * math/s_catanhl.c (__catanhl): Likewise.
14684 * math/s_catanl.c (__catanl): Likewise.
14685 * math/libm-test.inc (catan_test): Add more tests.
14686 (catanh_test): Likewise.
14687 * sysdeps/i386/fpu/libm-test-ulps: Update.
14688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14689
cb4d5414
AZ
146902013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14691
14692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14693
caf84319
JM
146942013-04-30 Joseph Myers <joseph@codesourcery.com>
14695
14696 [BZ #15416]
14697 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14698 accurately for denominator in atan2.
14699 * math/s_catanf.c (__catanf): Likewise.
14700 * math/s_catanh.c (__catanh): Likewise.
14701 * math/s_catanhf.c (__catanhf): Likewise.
14702 * math/s_catanhl.c (__catanhl): Likewise.
14703 * math/s_catanl.c (__catanl): Likewise.
14704 * math/libm-test.inc (catan_test): Add more tests.
14705 (catanh_test): Likewise.
14706 * sysdeps/i386/fpu/libm-test-ulps: Update.
14707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14708
d569c6ee
SP
147092013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14710
6dbe713d
SP
14711 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14712
f0ee064b
SP
14713 * benchtests/Makefile (bench): Remove slow benchmarks.
14714 * benchtests/atan-inputs: Add slow benchmark inputs.
14715 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14716 (BENCH_FUNC): Accept variant offset.
14717 (VARIANT): Define.
14718 * benchtests/bench-skeleton.c (main): Run benchmark for each
14719 variant.
14720 * benchtests/cos-inputs: Add slow benchmark inputs.
14721 * benchtests/exp-inputs: Likewise.
14722 * benchtests/pow-inputs: Likewise.
14723 * benchtests/sin-inputs: Likewise.
14724 * benchtests/slowatan-inputs: Remove.
14725 * benchtests/slowatan.c: Remove.
14726 * benchtests/slowcos-inputs: Remove.
14727 * benchtests/slowcos.c: Remove.
14728 * benchtests/slowexp-inputs: Remove.
14729 * benchtests/slowexp.c: Remove.
14730 * benchtests/slowpow-inputs: Remove.
14731 * benchtests/slowpow.c: Remove.
14732 * benchtests/slowsin-inputs: Remove.
14733 * benchtests/slowsin.c: Remove.
14734 * benchtests/slowtan-inputs: Remove.
14735 * benchtests/slowtan.c: Remove.
14736 * benchtests/tan-inputs: Add slow benchmark inputs.
14737 * scripts/bench.pl: Parse comments and directives.
14738
d569c6ee
SP
14739 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14740 in CPPFLAGS.
14741 ($(objpfx)bench-%.c): Remove *-ITER.
14742 * benchtests/bench-modf.c: Remove definition of ITER.
14743 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14744 (main): Loop for DURATION seconds instead of fixed number of
14745 iterations.
14746 * scripts/bench.pl: Don't expect iterations in parameters.
14747
a6a242fe
RM
147482013-04-29 Roland McGrath <roland@hack.frob.com>
14749
14750 * io/fchdir.c (__fchdir): Renamed from fchdir.
14751 (fchdir): Define as weak alias.
14752
f2da7793
JM
147532013-04-29 Joseph Myers <joseph@codesourcery.com>
14754
14755 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14756 (ERRNO_EDOM): Likewise.
14757 (ERRNO_ERANGE): Likewise.
14758 (noErrnoTests): New variable.
14759 (init_max_error): Set errno to 0.
14760 (test_single_errno): New function.
14761 (test_errno): Likewise.
14762 (check_float_internal): Call test_errno. Set errno to 0.
14763 (check_complex): Refer to errno tests in comment.
14764 (check_int): Call test_errno. Set errno to 0.
14765 (check_long): Likewise.
14766 (check_bool): Likewise.
14767 (check_longlong): Likewise.
14768 (cos_test): Use ERRNO_* flags for errno tests instead of
14769 check_int.
14770 (expm1_test): Likewise.
14771 (fmod_test): Likewise.
14772 (ilogb_test): Likewise.
14773 (lgamma_test): Likewise.
14774 (pow_test): Likewise.
14775 (remainder_test): Likewise.
14776 (sin_test): Likewise.
14777 (tan_test): Likewise.
14778 (yn_test): Likewise.
14779 (initialize): Set errno to 0.
14780 (main): Print number of errno tests.
14781 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14782
b1a36ceb
AJ
147832013-04-29 Andreas Jaeger <aj@suse.de>
14784
c3ed8088
AJ
14785 [BZ #15084]
14786 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14787 and RES_USEVC.
14788
f1a24198
AJ
14789 [BZ #15085]
14790 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14791 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14792 unimplemented.
14793
9ce3b2cb
AJ
14794 [BZ #15380]
14795 * stdlib/random.c (__initstate): Return NULL if
14796 __initstate fails.
14797
f1a24198 14798 [BZ #15086]
b1a36ceb
AJ
14799 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14800 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14801 RES_SNGLKUPREOP.
14802
7e7b6f36
AZ
148032013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14804
14805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14806
4d14f449
JM
148072013-04-29 Joseph Myers <joseph@codesourcery.com>
14808
14809 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14810 of individual tests.
14811 (casin_test): Likewise.
14812 (casinh_test): Likewise.
14813
5b4217d7
JM
148142013-04-27 Joseph Myers <joseph@codesourcery.com>
14815
14816 [BZ #15409]
14817 * math/s_catan.c (__catan): Handle arguments with large real or
14818 imaginary part separately without squaring.
14819 * math/s_catanf.c (__catanf): Likewise.
14820 * math/s_catanh.c (__catanh): Likewise.
14821 * math/s_catanhf.c (__catanhf): Likewise.
14822 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14823 and redefine.
14824 (__catanhl): Handle arguments with large real or imaginary part
14825 separately without squaring.
14826 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14827 and redefine.
14828 (__catanl): Handle arguments with large real or imaginary part
14829 separately without squaring.
14830 * math/libm-test.inc (catan_test): Add more tests.
14831 (catanh_test): Likewise.
14832 * sysdeps/i386/fpu/libm-test-ulps: Update.
14833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14834
4220c3ef
AJ
148352013-04-27 Andreas Jaeger <aj@suse.de>
14836
14837 [BZ #15007]
14838 * stdlib/stdlib.h: Update guards for qecvt.
14839 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14840 <stdlib.h>.
14841
4721b2d1
AM
148422013-04-27 Allan McRae <allan@archlinux.org>
14843
14844 * sysdeps/i386/fpu/libm-test-ulps: Update.
14845
f0302940
JM
148462013-04-26 Joseph Myers <joseph@codesourcery.com>
14847
9457fd95
JM
14848 [BZ #15406]
14849 * math/s_catan.c: Include <float.h>.
14850 (__catan): Ensure underflow exception occurs for underflowed
14851 result.
14852 * math/s_catanf.c: Include <float.h>.
14853 (__catanf): Ensure underflow exception occurs for underflowed
14854 result.
14855 * math/s_catanh.c: Include <float.h>.
14856 (__catanh): Ensure underflow exception occurs for underflowed
14857 result.
14858 * math/s_catanhf.c: Include <float.h>.
14859 (__catanhf): Ensure underflow exception occurs for underflowed
14860 result.
14861 * math/s_catanhl.c: Include <float.h>.
14862 (__catanhl): Ensure underflow exception occurs for underflowed
14863 result.
14864 * math/s_catanl.c: Include <float.h>.
14865 (__catanl): Ensure underflow exception occurs for underflowed
14866 result.
14867 * math/libm-test.inc (catan_test): Add more tests.
14868 (catanh_test): Likewise.
14869
f0302940
JM
14870 [BZ #15405]
14871 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14872 underflowed result.
14873 * math/s_ccoshf.c (__ccoshf): Likewise.
14874 * math/s_ccoshl.c (__ccoshl): Likewise.
14875 * math/s_csin.c (__csin): Likewise.
14876 * math/s_csinf.c (__csinf): Likewise.
14877 * math/s_csinh.c (__csinh): Likewise.
14878 * math/s_csinhf.c (__csinhf): Likewise.
14879 * math/s_csinhl.c (__csinhl): Likewise.
14880 * math/s_csinl.c (__csinl): Likewise.
14881 * math/libm-test.inc (ccos_test): Add more tests.
14882 (ccosh_test): Likewise.
14883 (csin_test): Likewise.
14884 (csinh_test): Likewise.
14885
aa630f59
AZ
148862013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14887
14888 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14889 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14890 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14891 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14892 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14893 powerpc/power5+/fpu folders.
14894 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14895
14896
1b835983
MT
148972013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14898
14899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14900
73709b26
JM
149012013-04-25 Joseph Myers <joseph@codesourcery.com>
14902
14903 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14904 additions to variable.
14905 [$(config-machine) = x86_64] (modules-names): Likewise.
14906 ($(objpfx)tst-audit3): Remove dependency.
14907 ($(objpfx)tst-audit3.out): Likewise.
14908 ($(objpfx)tst-audit4): Likewise.
14909 ($(objpfx)tst-audit4.out): Likewise.
14910 ($(objpfx)tst-audit5): Likewise.
14911 ($(objpfx)tst-audit5.out): Likewise.
14912 ($(objpfx)tst-audit6): Likewise.
14913 ($(objpfx)tst-audit6.out): Likewise.
14914 ($(objpfx)tst-audit7): Likewise.
14915 ($(objpfx)tst-audit7.out): Likewise.
14916 (tst-audit3-ENV): Remove variable.
14917 (tst-audit4-ENV): Likewise.
14918 (tst-audit5-ENV): Likewise.
14919 (tst-audit6-ENV): Likewise.
14920 (tst-audit7-ENV): Likewise.
14921 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14922 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14923 addition to variable.
14924 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14925 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14926 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14927 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14928 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14929 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14930 tst-audit3, tst-audit4 and tst-audit5.
14931 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14932 tst-audit6 and tst-audit7.
14933 [$(subdir) = elf] (modules-names): Add audit modules for those
14934 tests.
14935 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14936 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14937 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14938 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14939 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14940 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14941 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14942 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14943 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14944 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14945 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14946 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14947 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14948 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14949 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14950 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14951 Likewise.
14952 [$(subdir) = elf && $(config-cflags-avx) = yes]
14953 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14954 [$(subdir) = elf && $(config-cflags-avx) = yes]
14955 (CFLAGS-tst-auditmod4a.c): Likewise.
14956 [$(subdir) = elf && $(config-cflags-avx) = yes]
14957 (CFLAGS-tst-auditmod4b.c): Likewise.
14958 [$(subdir) = elf && $(config-cflags-avx) = yes]
14959 (CFLAGS-tst-auditmod6b.c): Likewise.
14960 [$(subdir) = elf && $(config-cflags-avx) = yes]
14961 (CFLAGS-tst-auditmod6c.c): Likewise.
14962 [$(subdir) = elf && $(config-cflags-avx) = yes]
14963 (CFLAGS-tst-auditmod7b.c): Likewise.
14964 * elf/tst-audit3.c: Move to ...
14965 * sysdeps/x86_64/tst-audit3.c: ... here.
14966 * elf/tst-audit4.c: Move to ...
14967 * sysdeps/x86_64/tst-audit4.c: ... here.
14968 * elf/tst-audit5.c: Move to ...
14969 * sysdeps/x86_64/tst-audit5.c: ... here.
14970 * elf/tst-audit6.c: Move to ...
14971 * sysdeps/x86_64/tst-audit6.c: ... here.
14972 * elf/tst-audit7.c: Move to ...
14973 * sysdeps/x86_64/tst-audit7.c: ... here.
14974 * elf/tst-auditmod3a.c: Move to ...
14975 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14976 * elf/tst-auditmod3b.c: Move to ...
14977 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14978 * elf/tst-auditmod4a.c: Move to ...
14979 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14980 * elf/tst-auditmod4b.c: Move to ...
14981 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14982 * elf/tst-auditmod5a.c: Move to ...
14983 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14984 * elf/tst-auditmod5b.c: Move to ...
14985 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14986 * elf/tst-auditmod6a.c: Move to ...
14987 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14988 * elf/tst-auditmod6b.c: Move to ...
14989 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14990 * elf/tst-auditmod6c.c: Move to ...
14991 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14992 * elf/tst-auditmod7a.c: Move to ...
14993 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14994 * elf/tst-auditmod7b.c: Move to ...
14995 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14996
1ef74943
PP
149972013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14998
14999 [BZ #15366]
15000 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15001 define unconditionally.
15002 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15003 define unconditionally.
15004 (INT8_C, INT16_C, etc.): Likewise.
15005
93fd48c5
MR
150062013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15007
ae9552cf
MR
15008 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15009 __ehdr_start with hidden visibility.
15010
93fd48c5
MR
15011 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15012
418601aa
CD
150132013-04-24 Carlos O'Donell <carlos@redhat.com>
15014
15015 * math/libm-test.inc (cos_test): Use accurate hex constants.
15016 (sincost_test): Likewise.
15017
2f38fbfe
JM
150182013-04-24 Joseph Myers <joseph@codesourcery.com>
15019
5e221800
JM
15020 * math/libm-test.inc (catan_test): Add more tests.
15021 (catanh_test): Likewise.
15022
77f143fd
JM
15023 * math/s_catanf.c (__catanf): Use suffixed floating-point
15024 constants.
15025 * math/s_catanhf.c (__catanhf): Likewise.
15026 * math/s_catanhl.c (__catanhl): Likewise.
15027 * math/s_catanl.c (__catanl): Likewise.
15028
2f38fbfe
JM
15029 [BZ #15394]
15030 * math/s_catan.c (__catan): Calculate imaginary part of result
15031 with log1p not log unless computing log of number close to 0.
15032 * math/s_catanf.c (__catanf): Likewise.
15033 * math/s_catanl.c (__catanl): Likewise.
15034 * math/s_catanh.c (__catanh): Calculate real part of result with
15035 log1p not log unless computing log of number close to 0.
15036 * math/s_catanhf.c (__catanhf): Likewise.
15037 * math/s_catanhl.c (__catanhl): Likewise.
15038 * math/libm-test.inc (catan_test): Add more tests.
15039 (catanh_test): Likewise.
15040 * sysdeps/i386/fpu/libm-test-ulps: Update.
15041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15042
45d69176
SP
150432013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15044
15045 * benchtests/Makefile: Mention files in which fast and slow
15046 paths of math functions are implemented.
15047
87f51853
RM
150482013-04-23 Roland McGrath <roland@hack.frob.com>
15049
15050 * sysdeps/posix/timespec_get.c: New file.
15051
3c026539
AZ
150522013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15053
15054 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15055 POWER.
15056 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15057 for POWER.
15058 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15059 powerpc/power5/fpu folders.
15060 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15061 * benchtests/Makefile: Add modf testcase.
15062 * benchtests/bench-modf.c: New file: Benchmark test for mo
15063
ff491d14
SP
150642013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15065
15066 [BZ #14888]
15067 * time/Makefile (tests): Add tst-strptime-whitespace.
15068 * time/strptime_l.c (get_number): Use ISSPACE.
15069 (__strptime_internal): Likewise.
15070 * time/tst-strptime-whitespace.c: New test case.
15071
7ed3f4e8
AS
150722013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15073
15074 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15075 member.
15076 (_nss_files_init): Set it here.
15077
5c95f7b6
HC
150782013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15079
15080 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15081 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15082 unsigned.
15083
d34c9158
JBG
150842013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15085
15086 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15087
2169712d
SP
150882013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15089
15090 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15091 size just once.
15092
29c5de99
DM
150932013-04-21 David S. Miller <davem@davemloft.net>
15094
15095 * po/ru.po: Update Russion translation from translation project.
15096
ccdad15d
AC
150972013-04-17 Adam Conrad <adconrad@0c3.net>
15098
15099 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15100 and setfsgid.
15101
0f122b8d
CD
151022013-04-17 Carlos O'Donell <carlos@redhat.com>
15103
5c5b07da 15104 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15105 * configure: Regenerate.
5c5b07da 15106 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15107 Add example to error message.
15108 * sysdeps/i386/configure: Regenerate.
15109
037714dd
SP
151102013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15111
15112 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15113 slowtan.
15114 * benchtests/cos-inputs: New file.
15115 * benchtests/slowcos-inputs: New file.
15116 * benchtests/slowcos.c: New file.
15117 * benchtests/slowtan-inputs: New file.
15118 * benchtests/slowtan.c: New file.
15119 * benchtests/tan-inputs: New file.
15120
e913141d
RM
151212013-04-16 Roland McGrath <roland@hack.frob.com>
15122
15123 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15124 considered kosher.
15125
a2964074
SP
151262013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15127
4856bcd2
SP
15128 * benchtests/Makefile: Include cppflags-iterator.mk to add
15129 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15130
a2964074
SP
15131 * Makefile.in (bench-clean): New target.
15132 * benchtests/Makefile (bench-clean): Likewise.
15133
9fbf9aca
DH
151342013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15135
15136 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15137
207d1e2a
TS
151382013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15139
15140 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15141
306dfba9
AS
151422013-04-15 Andreas Schwab <schwab@suse.de>
15143
15144 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15145 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15146 * nscd/pwdcache.c (cache_addpw): Likewise.
15147 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15148 more than recsize.
15149
206a6699
SP
151502013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15151
15152 * benchtests/Makefile (bench): Write all output to
15153 bench-out.tmp together.
15154
0582f6b3
AS
151552013-04-15 Andreas Schwab <schwab@suse.de>
15156
15157 * nscd/nscd.c (main): Don't fork again after closing files.
15158
acb4325f
SP
151592013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15160
5cb26d0a
SP
15161 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15162
acb4325f
SP
15163 * benchtests/Rules (bench-deps): Collect dependencies into a
15164 single variable. Add Makefile to dependencies.
15165 ($(objpfx)bench-%.c): Depend on bench-deps.
15166
47792506
RM
151672013-04-12 Roland McGrath <roland@hack.frob.com>
15168 Xavier Roche <roche+kml2@exalead.com>
15169
15170 [BZ #15361]
15171 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15172 just that it's a file descriptor.
15173 * manual/llio.texi (Synchronizing AIO Operations): Update description
15174 for EBADF error from aio_fsync.
15175
8fc1bee5
SP
151762013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15177
15178 * Rules (bench): Move target definition...
15179 * benchtests/Makefile: ... here.
15180
aba5e333
CD
151812013-04-11 Carlos O'Donell <carlos@redhat.com>
15182
15183 * math/libm-test.inc (cos_test): Fix PI/2 test.
15184 (sincos_test): Likewise.
15185 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15186 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15187
273cdee8
AS
151882013-04-11 Andreas Schwab <schwab@suse.de>
15189
6ecec3b6
AS
15190 [BZ #13988]
15191 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15192 accept exponent character only when digits were seen.
15193 * stdio-common/Makefile (tests): Add bug26.
15194 * stdio-common/bug26.c: New file.
15195
273cdee8
AS
15196 [BZ #14293]
15197 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15198 non-freeable.
15199
8da491f5
SP
152002013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15201
01dc6df9
SP
15202 * Makeconfig (rtld-prefix): Define built linker prefix.
15203 * Rules (run-bench): Use it.
15204 * math/Makefile (run-regen-ulps): Likewise.
15205
8da491f5
SP
15206 * Rules (bench): Remove eval.
15207
abe7f530
SP
152082013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15209 Roland McGrath <roland@hack.frob.com>
15210 Ondrej Bilka <neleai@seznam.cz>
15211
15212 [BZ #15346]
15213 * time/getdate.c: Include ctype.h and alloca.h.
15214 (__getdate_r): Trim leading and trailing spaces of input.
15215 * time/tst-getdate.c (tests): Add tests with leading and
15216 trailing spaces.
15217
61c23e62
RM
152182013-04-08 Roland McGrath <roland@hack.frob.com>
15219
15220 [BZ #14280]
15221 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15222 when computing value.
15223
7208a313
CD
152242013-04-06 Carlos O'Donell <carlos@redhat.com>
15225
085b2d41
CD
15226 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15227 Use testrun.sh to run libm tests.
15228
7208a313
CD
15229 [BZ #15309]
15230 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15231
872c0acd
MM
152322013-04-06 Marko Myllynen <myllynen@redhat.com>
15233
15234 [BZ #15264]
15235 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15236
26510bdd
CD
152372013-04-06 Carlos O'Donell <carlos@redhat.com>
15238
15239 * Makefile.in (regen-ulps): New target.
15240 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15241 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15242 [ifneq (no,$(PERL)] (regen-ulps): New target.
15243 [ifeq (no,$(PERL)] (regen-ulps): New target.
15244 * math/libm-test.inc (ulps_file_name): Define.
15245 (output_dir): New variable.
15246 (options): Add "output-dir" option.
15247 (parse_opt): Handle 'o' case.
15248 (main): If output_dir is non-NULL use it as a prefix
15249 otherwise use "".
15250 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15251
a01f19c8
CD
152522013-04-06 Carlos O'Donell <carlos@redhat.com>
15253
15254 [BZ #10060, #10062]
15255 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15256 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15257 fail configure if __sync_val_compare_and_swap is not inlined.
15258 * sysdeps/i386/configure: Regenerate.
15259 * configure.in: Build for i686 when configured for i386.
15260 * configure: Regenerate.
15261 * README: Remove i386 reference.
15262
b7a329a5
CD
152632013-04-06 Carlos O'Donell <carlos@redhat.com>
15264
15265 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15266 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15267
bf0f50df
TS
152682013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15269
ee091edf
TS
15270 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15271 (lmsnanval): New variables.
15272 (F): Add conversion tests.
15273 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15274 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15275
a8b792d6
TS
15276 * stdio-common/tstdiomisc.c (F): Properly collect individual
15277 tests' results.
15278
a1cbf437
TS
15279 [BZ #14686, #15336]
15280 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15281 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15282 Instead, use input NaN values or generate a qNaN by arithmetic
15283 operation. Also fix bugs to comply with the standard.
15284 * math/libm-test.inc (remainder_test): Add more tests.
15285
8b43a0c9
TS
15286 [BZ #15335, #15342]
15287 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15288 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15289 input NaN values or generate a qNaN by arithmetic operation.
15290
d91da4ce
TS
15291 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15292 unreachable code.
15293
bf0f50df
TS
15294 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15295 definitions.
15296
05e166c8
JM
152972013-04-03 Joseph Myers <joseph@codesourcery.com>
15298
15299 [BZ #14478]
15300 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15301 underflowed result.
15302 * math/s_cexpf.c (__cexpf): Likewise.
15303 * math/s_cexpl.c (__cexpl): Likewise.
15304 * math/libm-test.inc (cexp_test): Add more tests.
15305
1cef1b19
AS
153062013-04-03 Andreas Schwab <schwab@suse.de>
15307
15308 [BZ #15330]
15309 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15310 order arrays from heap if bigger than alloca cutoff.
15311
74d87055
TS
153122013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15313
15314 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15315 (SNAN_TESTS_double): Refer to GCC PR56831.
15316 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15317 GCC PR56828.
15318
d755bba4
SP
153192013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15320
90d5d5bb
SP
15321 * Rules (bench): Move bench.out after the run is complete.
15322
73e0cd5d
SP
15323 * Rules (bench): Echo currently running benchmark.
15324
64aabd4b
SP
15325 * benchtests/Makefile (bench): Add atan and slowatan.
15326 * benchtests/atan-inputs: New file.
15327 * benchtests/slowatan-inputs: New file.
15328 * benchtests/slowatan.c: New file.
15329
c871eccd
SP
15330 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15331 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15332 its value.
15333
d755bba4
SP
15334 [BZ #15305]
15335 * sysdeps/unix/sysv/linux/kernel-features.h
15336 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15337 __ASSUME_XFS_RESTRICTED_CHOWN.
15338 * sysdeps/unix/sysv/linux/pathconf.c
15339 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15340 Save and restore errno.
15341
52ce4860
JM
153422013-04-02 Joseph Myers <joseph@codesourcery.com>
15343
15344 [BZ #15327]
15345 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15346 arguments using __kernel_casinh.
15347 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15348 arguments using __kernel_casinhf.
15349 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15350 arguments using __kernel_casinhl.
15351 * math/libm-test.inc (cacosh_test): Add more tests.
15352 * sysdeps/i386/fpu/libm-test-ulps: Update.
15353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15354
81f311c2
SP
153552013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15356
e7906a47
SP
15357 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15358 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15359
92e3664b
SP
15360 * bench/Makefile (bench): Add sin and slowsin.
15361 * benchtests/sin-inputs: New file.
15362 * benchtests/slowsin-inputs: New file.
15363 * benchtests/slowsin.c: New file.
15364
81f311c2
SP
15365 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15366 (bench): Add slowexp and slowpow.
15367 (exp-ITER): Increase iterations.
15368 (pow-ITER): Likewise.
15369 * benchtests/exp-inputs: Change input.
15370 * benchtests/pow-inputs: Likewise.
15371 * benchtests/slowexp-inputs: New file.
15372 * benchtests/slowexp.c: New file.
15373 * benchtests/slowpow-inputs: New file.
15374 * benchtests/slowpow.c: New file.
15375
ab0f1aa9
AZ
153762013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15377
15378 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15379 instructions.
15380 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15381 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15382 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15383 * benchtests/Makefile: Add rint benchtest.
15384 * benchtests/rint-inputs: Input for rint benchtest.
15385
57267616
TS
153862013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15387
15388 * Versions.def (libm): Add GLIBC_2.18.
15389 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15390 hidden libm prototypes.
15391 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15392 * math/Makefile (libm-calls): Add s_issignaling.
15393 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15394 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15395 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15396 declaration.
15397 * math/math.h [__USE_GNU] (issignaling): New macro.
15398 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15399 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15401 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15402 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15403 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15404 * manual/arith.texi (issignaling): New section.
15405 * manual/libm-err-tab.pl (@all_functions): Update comment.
15406 * math/gen-libm-test.pl (parse_args): Apply special handling for
15407 issignaling.
15408 * math/libm-test.inc (print_float, issignaling_test): New
15409 functions.
15410 (check_float_internal): Add issignaling checks.
15411 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15412 default definition.
15413 * sysdeps/powerpc/math-tests.h: New file.
15414 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15415 tests.
15416 * math/test-snan.c (TEST_FUNC): Likewise.
15417
6142896d
DM
154182013-03-30 David S. Miller <davem@davemloft.net>
15419
15420 * po/de.po: Update from translation team.
15421
ccc8cadf
JM
154222013-03-30 Joseph Myers <joseph@codesourcery.com>
15423
15424 [BZ #10357]
15425 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15426 imaginary part less than 1.0 and real part less than 0.5
15427 specially.
15428 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15429 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15430 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15431 (cacos_test): Add more tests.
15432 (casin_test): Likewise.
15433 (casinh_test): Likewise.
15434 * sysdeps/i386/fpu/libm-test-ulps: Update.
15435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15436
0f6a8d4b
SP
154372013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15438
0d1029de
SP
15439 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15440 ONE with its value.
15441
c2d94018
SP
15442 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15443 (__pow_mp): Replace ONE and MONE with their values.
15444 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15445 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15446 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15447 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15448 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15449 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15450
27ec37f1
SP
15451 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15452
a64d7e0e
SP
15453 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15454 (__pow_mp): Replace ZERO and MZERO with their values.
15455 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15456 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15457 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15458 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15459 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15460 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15461 (__sqr): Likewise.
15462
d26dd3eb
SP
15463 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15464
0f6a8d4b
SP
15465 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15466
e57b0c61
RM
154672013-03-28 Roland McGrath <roland@hack.frob.com>
15468
15469 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15470 Declare with __attribute__ ((weak)).
15471 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15472 Call __call_tls_dtors only if it's not NULL.
15473
356b3480
RM
154742013-03-28 Roland McGrath <roland@hack.frob.com>
15475
288f7d79
RM
15476 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15477 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15478 magic __ehdr_start linker symbol if it's defined.
15479 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15480 them up here if it was already done.
15481
dc0a0263
RM
15482 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15483 (_dl_aux_init): Use const in cast when setting it.
15484 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15485 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15486 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15487
3d3436ae
RM
15488 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15489 Declare them here.
15490 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15491 * csu/libc-tls.c: Nor here.
15492 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15493
356b3480
RM
15494 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15495 (__libc_message): Never call vsyslog.
15496
b0f1246a
AM
154972013-03-28 Alan Modra <amodra@gmail.com>
15498
15499 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15500 Define as empty.
15501 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15502 Likewise.
15503
fbbe2b9a
AZ
155042013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15505
15506 [BZ #15214]
15507 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15508 underflow.
15509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15510
1728ab37
SP
155112013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15512
7a86be6e
SP
15513 [BZ #15304]
15514 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15515 Don't add gid passed as argument.
15516
1728ab37
SP
15517 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15518
3a7182a1
JM
155192013-03-27 Joseph Myers <joseph@codesourcery.com>
15520
15521 [BZ #15307]
15522 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15523 imaginary part between 1.0 and 1.5 and real part less than 0.5
15524 specially.
15525 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15526 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15527 * math/libm-test.inc (cacos_test): Add more tests.
15528 (casin_test): Likewise.
15529 (casinh_test): Likewise.
15530 * sysdeps/i386/fpu/libm-test-ulps: Update.
15531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15532
6f2e90e7
SP
155332013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15534
5739f705
SP
15535 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15536 constants.
15537 (norm): Likewise.
15538 (denorm): Likewise.
15539 (__dbl_mp): Likewise.
15540 (add_magnitudes): Likewise.
15541 (sub_magnitudes): Likewise.
15542 (__add): Likewise.
15543 (__sub): Likewise.
15544 (__mul): Likewise.
15545 (__sqr): Likewise.
15546 (__inv): Likewise.
15547 (__dvd): Likewise.
15548
e375e83d
SP
15549 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15550 commented code.
15551 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15552 (__dubcos): Likewise.
15553 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15554 (__ieee754_acos): Likewise.
15555 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15556 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15557 (__exp1): Likewise.
15558 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15560 (log1): Likewise.
15561 (my_log2): Likewise.
15562 (checkint): Likewise.
15563 * sysdeps/ieee754/dbl-64/e_remainder.c
15564 (__ieee754_remainder): Likewise.
15565 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15567 (bsloww): Likewise.
15568 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15569
6f2e90e7
SP
15570 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15571 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15572 MANTISSA_STORE_T to store computations on mantissa. Use
15573 macros for rounding and division.
15574 (denorm): Likewise.
15575 (__dbl_mp): Likewise.
15576 (add_magnitudes): Likewise.
15577 (sub_magnitudes): Likewise.
15578 (__mul): Likewise.
15579 (__sqr): Likewise.
15580 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15581 powers of two in terms of TWOPOW macro.
15582 (mp_no): Make type of mantissa as MANTISSA_T.
15583 [!RADIXI]: Define RADIXI.
15584 [!TWO52]: Define TWO52.
15585 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15586
fce14d4e
AZ
155872013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15588
15589 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15590 llroundl symbol when building for PPC32.
15591
9ad027fb
MW
155922013-03-24 Mark H Weaver <mhw@netris.org>
15593
15594 * manual/arith.texi (Normalization Functions): Fix prototypes for
15595 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15596
e42a38dd
AZ
155972013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15598
15599 [BZ #13889]
15600 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15601 high value to check if expl overflow.
15602 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15603 to check for underflow and overflow.
15604 * math/libm-test.inc: Add exp test.
15605
2e0fb521
DL
156062013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15607
15608 [BZ #11120]
15609 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15610 with NOT_IN_libc.
15611
b5784d95
AZ
156122013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15613
15614 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15615 symbol.
15616
5aa4a1a1
TS
156172013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15618
bdef0be7
TS
15619 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15620 wrap blocks consisting of several statements.
15621
5aa4a1a1
TS
15622 * sysdeps/generic/math-tests.h: New file.
15623 * sysdeps/i386/fpu/math-tests.h: Likewise.
15624 * math/test-snan.c: Include it.
15625 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15626
98c48fe5
JM
156272013-03-21 Joseph Myers <joseph@codesourcery.com>
15628
15629 [BZ #15285]
15630 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15631 (__ieee754_j0l): Do not improve calculations using cos of twice
15632 input for inputs above LDBL_MAX / 2.0L.
15633 (__ieee754_y0l): Likewise.
15634 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15635 (__ieee754_j1l): Do not improve calculations using cos of twice
15636 input for inputs above LDBL_MAX / 2.0L.
15637 (__ieee754_y1l): Likewise.
15638 * math/libm-test.inc (j0_test): Add another test.
15639 (j1_test): Likewise.
15640 (y0_test): Likewise.
15641 (y1_test): Likewise.
15642 * sysdeps/i386/fpu/libm-test-ulps: Update.
15643
3775a8bc
SP
156442013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15645
15646 * Rules ($(objpfx)bench-%.c): Include code from a C source
15647 file.
15648
0a1b2ae6
JM
156492013-03-21 Joseph Myers <joseph@codesourcery.com>
15650
15651 [BZ #15287]
15652 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15653 imaginary part 1.0 and real part less than 0.5 specially.
15654 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15655 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15656 * math/libm-test.inc (cacos_test): Add more tests.
15657 (casin_test): Likewise.
15658 (casinh_test): Likewise.
15659 * sysdeps/i386/fpu/libm-test-ulps: Update.
15660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15661
b33d4ce4
SP
156622013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15663
15664 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15665 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15666
bef0b507
JM
156672013-03-20 Joseph Myers <joseph@codesourcery.com>
15668
15669 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15670 * config.make.in (config-cflags-sse4): Remove variable.
15671 (config-cflags-avx): Likewise.
15672 (config-cflags-sse2avx): Likewise.
15673 (config-cflags-novzeroupper): Likewise.
15674 (config-asflags-i686): Likewise.
15675 (have-mfma4): Likewise.
15676 (have-as-vis3): Likewise.
15677 (MIG): Likewise.
15678 * configure.in (MIG): Do not AC_SUBST.
15679 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15680 (libc_cv_cc_sse4): Do not AC_SUBST.
15681 (libc_cv_cc_avx): Likewise.
15682 (libc_cv_cc_sse2avx): Likewise.
15683 (libc_cv_cc_novzeroupper): Likewise.
15684 (libc_cv_cc_fma4): Likewise.
15685 (libc_cv_as_i686): Likewise.
15686 (libc_cv_sparc_as_vis3): Likewise.
15687 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15688 LIBC_CONFIG_VAR.
15689 (config-asflags-i686): Likewise.
15690 (config-cflags-avx): Likewise.
15691 (config-cflags-sse2avx): Likewise.
15692 (have-mfma4): Likewise.
15693 (config-cflags-novzeroupper): Likewise.
15694 * sysdeps/mach/configure.in (MIG): Likewise.
15695 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15696 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15697 LIBC_CONFIG_VAR.
15698 (config-cflags-avx): Likewise.
15699 (config-cflags-sse2avx): Likewise.
15700 (have-mfma4): Likewise.
15701 (config-cflags-novzeroupper): Likewise.
15702 * configure: Regenerated.
15703 * sysdeps/i386/configure: Likewise.
15704 * sysdeps/mach/configure: Likewise.
15705 * sysdeps/sparc/configure: Likewise.
15706 * sysdeps/x86_64/configure: Likewise.
15707
912cc4b3
RM
157082013-03-20 Roland McGrath <roland@hack.frob.com>
15709
15710 [BZ #14812]
15711 * locale/programs/localedef.c (options): Put N_ translation marker
15712 on argument names, not just descriptions.
15713
04eed2b0
MS
157142013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15715
15716 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15717
a065ceff
OB
157182013-03-20 Ondřej Bílka <neleai@seznam.cz>
15719
9bb2a810 15720 [BZ #14176]
a065ceff
OB
15721 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15722
a600e5ce
RM
157232013-03-19 Roland McGrath <roland@hack.frob.com>
15724
15725 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15726 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15727 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15728 [!BEFORE_ABORT] (before_abort): New function.
15729 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15730 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15731 (writev_for_fatal): New function.
15732 (WRITEV_FOR_FATAL): New macro; call that.
15733 (backtrace_and_maps): New function.
15734 (BEFORE_ABORT): New macro; call that.
15735 (struct str_list): Type removed.
15736 (__libc_message, __libc_fatal): Functions removed.
15737 Include <sysdeps/posix/libc_fatal.c> instead.
15738
6b18bea6
JM
157392013-03-19 Joseph Myers <joseph@codesourcery.com>
15740
15741 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15742 constants.
15743 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15744 double constants.
15745
aaa8cb4b
AS
157462013-03-19 Andreas Schwab <schwab@suse.de>
15747
44673770
AS
15748 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15749 * sysdeps/gnu/configure: Regenerate.
15750
aaa8cb4b
AS
15751 * configure.in: Substitute libc_cv_rtlddir.
15752 * configure: Regenerate.
15753 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15754 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15755 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15756 * elf/Makefile (install-others, CFLAGS-interp.c)
15757 (ldso_install, common-ldd-rewrite): Likewise.
15758 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15759 $(inst_slibdir)/$(rtld-installed-name).
15760 * scripts/rellns-sh: Add -p option.
15761 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15762 for source.
15763
d3cfc668
SP
157642013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15765
15766 * manual/nptl.texi: Renamed to ...
15767 * manual/threads.texi: ... this.
15768 * manual/Makefile (chapters): Update.
15769
0e2b9cdd
RM
157702013-03-18 Roland McGrath <roland@hack.frob.com>
15771
15772 [BZ #14812]
15773 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15774 on argument names, not just descriptions.
0e2b9cdd
RM
15775 * malloc/memusagestat.c (options): Likewise.
15776 * nss/getent.c (options): Likewise.
63270c24
RM
15777
157782013-03-18 Benno Schulenberg <bensberg@justemail.net>
15779
15780 [BZ #14812]
15781 * iconv/iconv_prog.c (options): Put N_ translation marker
15782 on argument names, not just descriptions.
15783 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15784
b2e1393c
OB
157852013-03-18 Ondrej Bilka <neleai@seznam.cz>
15786
15787 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15788 implementation which is faster on all x86_64 architectures.
15789 Tested on AMD, Intel Nehalem, SNB, IVB.
15790 * sysdeps/x86_64/strnlen.S: Likewise.
15791
15792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15793 Remove all multiarch strlen and strnlen versions.
15794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15795 Remove strlen and strnlen related parts.
15796
15797 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15798 Inline strlen part.
15799 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15800
15801 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15802 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15803 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15804 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15805 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15806 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15807
ec4ff04d
CD
158082013-03-17 Carlos O'Donell <carlos@redhat.com>
15809
15810 * manual/memory.texi (Malloc Tunable Parameters):
15811 Sort parameters alphabetically. Add comments for missing entries.
15812
cd18e90a
DM
158132013-03-17 David S. Miller <davem@davemloft.net>
15814
15815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15816
2a185d32
JM
158172013-03-16 Joseph Myers <joseph@codesourcery.com>
15818
d2f9799e
JM
15819 [BZ #15283]
15820 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15821 for arguments at most half maximum finite value.
15822 * math/libm-test.inc (j0_test): Add more tests.
15823 (j1_test): Likewise.
15824 (y0_test): Likewise.
15825 (y1_test): Likewise.
15826 * sysdeps/i386/fpu/libm-test-ulps: Update.
15827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15828
2a185d32
JM
15829 [BZ #14155]
15830 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15831 1 / x and functions P and Q for arguments above 0x1p256L.
15832 (__ieee754_y0l): Likewise.
15833 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15834 (__ieee754_y1l): Likewise.
15835 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15836 (j1_test): Likewise.
15837 (y0_test): Likewise.
15838 (y1_test): Likewise.
15839
6cbec759
TS
158402013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15841
15842 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15843 variable.
15844
bc16e260
RM
158452013-03-15 Roland McGrath <roland@hack.frob.com>
15846
aefc9b8c
RM
15847 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15848 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15849 zero since it's initialized to EXEC_PAGESIZE.
15850
bc16e260
RM
15851 * sysdeps/unix/sysv/linux/ldsodefs.h
15852 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15853 * sysdeps/generic/ldsodefs.h: ... here.
15854
a57da955
TS
158552013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15856
af00a34d
TS
15857 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15858
495ded2c
TS
15859 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15860 math/test-snan.c.
15861 * math/test-snan.c: Renamed from
15862 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15863 * math/Makefile (tests): Add test-snan.
15864 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15865 test-powerpc-snan.
15866
777b0332
TS
15867 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15868 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15869 functions.
15870 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15871 __builtin_nan family of functions.
15872 * math/libm-test.inc (initialize): Initialize qnan_value with
15873 __builtin_nan family of functions.
15874 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15875 Remove variables.
15876 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15877 Remove functions.
15878 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15879 storage class. Initialize qNaN_var and sNaN_var with
15880 __builtin_nan and __builtin_nans families of functions,
15881 respectively.
15882
64d063b8
TS
15883 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15884 (sqrt_test): Remove duplicate test with qNaN input.
15885 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15886 (round_test, signbit_test, significand_test): Note missing +/-Inf
15887 as well as qNaN tests.
15888
67e971f1
TS
15889 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15890 qNaN_var. Fix a few strings, too.
15891 * math/libm-test.inc (nan_value): Rename to qnan_value.
15892 * math/gen-libm-test.pl (%beautify): Adjust to that.
15893 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15894 * math/test-misc.c (main): Likewise.
15895 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15896 to __qnan_bytes, and __qnan_union, respectively.
15897 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15898 Likewise.
15899 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15900 and lqnanval, respectively.
15901 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15902 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15903 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15904 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15905
64487e12
TS
15906 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15907 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15908 doubles.
15909
e015e27b
TS
15910 * math/test-misc.c (main): Fix copy'n'pastos.
15911 * misc/tst-efgcvt.c (special): Likewise.
15912
a57da955
TS
15913 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15914 Remove declarations.
15915
1e380345
SP
159162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15917
15918 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15919 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15920 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15921 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15922
ef26eece
AZ
159232013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15924
15925 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15926 macro to return vdso values correctly in IFUNC implementations.
15927 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15928 Optimization by using IFUNC.
15929
8cfdb7e0
SP
159302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15931 Richard Henderson <rth@redhat.com>
15932 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15933
15934 * Makefile.in (bench): New target.
15935 * NEWS: Mention the benchmark framework.
15936 * Rules (bench): Likewise.
15937 (binaries-bench): Generate binaries for functions to
15938 benchmark.
15939 * benchtests/Makefile: New makefile for benchmark tests.
15940 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15941 programs.
15942 * benchtests/exp-inputs: New input file for EXP function.
15943 * benchtests/pow-inputs: New input file for POW function.
15944 * scripts/bench.pl: New script to generate source files for
15945 benchmark programs.
15946
bcda9880
SP
159472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15948
d22ca8cd
SP
15949 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15950 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15951 computations on mantissa. Use macros for rounding and
15952 division.
15953 (denorm): Likewise.
15954 (__dbl_mp): Likewise.
15955 (add_magnitudes): Likewise.
15956 (sub_magnitudes): Likewise.
15957 (__mul): Likewise.
15958 (__sqr): Likewise.
15959 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15960 powers of two in terms of TWOPOW macro.
15961 (mp_no): Make type of mantissa as MANTISSA_T.
15962 [!RADIXI]: Define RADIXI.
15963 [!TWO52]: Define TWO52.
15964 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15965
bcda9880
SP
15966 * manual/nptl.texi (cindex): Modify threads to pthreads.
15967
06d5adfb
JM
159682013-03-15 Joseph Myers <joseph@codesourcery.com>
15969
15970 * sysdeps/x86_64/preconfigure: Regenerated.
15971
41c7328e
JM
159722013-03-14 Joseph Myers <joseph@codesourcery.com>
15973
15974 [BZ #14155]
15975 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15976 0x1p28 and above.
15977 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15978 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15979 0x1p28 and above.
15980 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15981 * math/libm-test.inc (j0_test): Do not allow one spurious
15982 underflow exception.
15983 (y1_test): Likewise.
15984
e25cfa60
SP
159852013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15986
0409959c
SP
15987 * manual/Makefile (chapters): Add nptl.
15988 * manual/debug.texi (Debugging Support): Add link to Threads
15989 chapter.
15990 * manual/nptl.texi: New file.
15991
e25cfa60
SP
15992 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15993
58a1335e
PB
159942013-03-14 Petr Baudis <pasky@ucw.cz>
15995
15996 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15997 for non-NULL pointer before the memory validity test. Pointed
15998 out by Holger Brunck <holger.brunck@keymile.com>.
15999
9dc7c64f
AS
160002013-03-13 Andreas Schwab <schwab@suse.de>
16001
16002 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16003 instead of .os.
16004
54206aa6
JM
160052013-03-13 Joseph Myers <joseph@codesourcery.com>
16006
16007 * timezone/zic.c: Update from tzcode 2013b.
16008
e98cdb38
CD
160092013-03-12 Carlos O'Donell <carlos@redhat.com>
16010
16011 * manual/install.texi (Configuring and compiling):
16012 Mention i686 and i586.
16013 * INSTALL: Regenerate.
16014
9967e003
RM
160152013-03-12 Roland McGrath <roland@hack.frob.com>
16016
16017 * sysdeps/init_array/elf-init.c: New file.
16018 * csu/elf-init.c
16019 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16020 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16021
16022 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16023 __gmon_start__ as global, but as static with a .preinit_array pointer.
16024 * sysdeps/init_array/gmon-start.c: New file. Use that.
16025 * sysdeps/init_array/crti.S: New file, empty except for comments.
16026 * sysdeps/init_array/crtn.S: Likewise.
16027
e6b5a293 160282013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16029
16030 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16031 definining bcopy.
80f844c9
OB
16032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16033 Remove Prefer_SSE_for_memop.
16034 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16035 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16036 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16038 memset-x86-64.
80f844c9 16039 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16040 Remove bzero, memset ifunc support.
80f844c9
OB
16041 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16042 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16043 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16044 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16045
fb6b0fcb
AS
160462013-03-11 Andreas Schwab <schwab@suse.de>
16047
16048 [BZ #15234]
16049 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16050 by SHLIB_COMPAT.
16051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16052 (GLIBC_2.16): Remove pthread_atfork.
16053
3e6bd4b1
PP
160542013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16055
16056 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16057 (ptestcases.h): Likewise.
16058
222d7f00
RM
160592013-03-08 Roland McGrath <roland@hack.frob.com>
16060
16061 * Makeconfig ($(common-objpfx)config.status): Depend on
16062 sysdeps/*/preconfigure{,.in} too.
16063
1ba4f030
JM
160642013-03-08 Joseph Myers <joseph@codesourcery.com>
16065
a222d91a
JM
16066 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16067 (__free_hook): Use void * instead of __malloc_ptr_t.
16068 (__malloc_hook): Likewise.
16069 (__realloc_hook): Likewise.
16070 (__memalign_hook): Likewise.
16071 (__after_morecore_hook): Likewise.
16072 * malloc/arena.c (save_malloc_hook): Likewise.
16073 (save_free_hook): Likewise.
16074 * malloc/hooks.c (malloc_hook_ini): Likewise.
16075 (realloc_hook_ini): Likewise.
16076 (memalign_hook_ini): Likewise.
16077 * malloc/malloc.c (malloc_hook_ini): Likewise.
16078 (realloc_hook_ini): Likewise.
16079 (memalign_hook_ini): Likewise.
16080 (__free_hook): Likewise.
16081 (__malloc_hook): Likewise.
16082 (__realloc_hook): Likewise.
16083 (__memalign_hook): Likewise.
16084 (__libc_malloc): Likewise.
16085 (__libc_free): Likewise.
16086 (__libc_realloc): Likewise.
16087 (__libc_memalign): Likewise.
16088 (__libc_valloc): Likewise.
16089 (__libc_pvalloc): Likewise.
16090 (__libc_calloc): Likewise.
16091 (__posix_memalign): Likewise.
16092 * malloc/morecore.c (__sbrk): Likewise.
16093 (__default_morecore): Likewise.
16094
5cc45e10
JM
16095 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16096
dd54b864
JM
16097 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16098 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16099 __malloc_ptrdiff_t.
16100
1ba4f030
JM
16101 * malloc/malloc.h (__malloc_size_t): Remove macro.
16102 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16103 __malloc_size_t.
16104 (old_memalign_hook): Likewise.
16105 (old_realloc_hook): Likewise.
16106 (struct hdr): Likewise.
16107 (flood): Likewise.
16108 (mallochook): Likewise.
16109 (memalignhook): Likewise.
16110 (reallochook): Likewise.
16111 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16112 (tr_old_realloc_hook): Likewise.
16113 (tr_old_memalign_hook): Likewise.
16114 (tr_mallochook): Likewise.
16115 (tr_reallochook): Likewise.
16116 (tr_memalignhook): Likewise.
16117
edf66e57
AZ
161182013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16119
16120 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16121 default_ldbl_pack and using as default implementation.
16122 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16123 implementation.
16124 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16125 redundant definition.
16126 (ldbl_insert_mantissa): Likewise.
16127 (ldbl_canonicalize): Likewise.
16128 (ldbl_nearbyint): Likewise.
16129 (ldbl_pack): Rename to ldbl_pack_ppc.
16130 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16131 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16132 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16133
6d9145d8
SP
161342013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16135
16136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16137 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16138 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16139 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16140 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16141 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16142 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16143 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16144
4dd4e157
AJ
161452013-03-07 Andreas Jaeger <aj@suse.de>
16146
16147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16148 bits/mman-linux.h.
16149
adbb8027
SP
161502013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16151
ce544b5b
SP
16152 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16153 Include mpa.h and declare __MPEXP.
16154 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16155 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16156 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16157 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16158 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16159 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16160 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16161
4cc149fd
SP
16162 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16163 (__slowpow): Use long double EXPL and LOGL functions to
16164 compute POW.
16165 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16166 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16167 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16168 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16169 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16170 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16171
e6ebd4a7
SP
16172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16173 intermediate variable to calculate exponent.
16174 (__sqr): Likewise.
16175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16176 Likewise.
16177 (__sqr): Likewise.
16178
82a9811d
SP
16179 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16180 [!NO__SQR]: Define __sqr.
16181 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16182 and NO__SQR. Remove all code except __mul and __sqr. Include
16183 sysdeps/ieee754/dbl-64/mpa.c.
16184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16185
adbb8027
SP
16186 [BZ #12723]
16187 * posix/Makefile (tests): Add tst-pathconf.
16188 * posix/tst-pathconf.c: New test case.
16189 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16190 _PC_PIPE_BUF.
16191 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16192
39120df9
PF
161932013-03-06 Patsy Franklin <pfrankli@redhat.com>
16194
16195 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16196
67525cb8
AJ
161972013-03-06 Andreas Jaeger <aj@suse.de>
16198
664a9ce4
AJ
16199 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16200 definition via __MAP_ANONYMOUS.
16201
8e39047d
AJ
16202 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16203 it's not part of Linux headers.
16204
67525cb8
AJ
16205 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16206 (MAP_HUGE_MASK): Define.
16207
16208 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16209 Define.
16210 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16211 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16212 Define.
16213 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16214 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16215 Define.
16216 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16217 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16218 Define.
16219 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16220
16221 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16222 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16223 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16224 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16225 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16226 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16227
16228 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16229 Handle f2fs.
16230
16231 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16232 Handle f2fs and efivarfs.
16233
16234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16235 f2fs.
16236
16237 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16238 (EFIVARFS_MAGIC): Add.
16239 (F2FS_LINK_MAX): Add.
16240
e1b42695
PP
162412013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16242
16243 * stdio-common/vfprintf.c: Replace __builtin_expect with
16244 __glibc_unlikely.
16245
2d67d91a
JM
162462013-03-06 Joseph Myers <joseph@codesourcery.com>
16247
16248 [BZ #13550]
16249 * sysdeps/generic/bp-sym.h: Remove file.
16250 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16251 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16252 <bp-sym.h> and <bp-asm.h>.
16253 (__longjmp): Don't use BP_SYM.
16254 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16255 and <bp-asm.h>.
16256 (memcpy): Don't use BP_SYM.
16257 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16258 <bp-sym.h> and <bp-asm.h>.
16259 (memcpy): Don't use BP_SYM.
16260 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16261 <bp-asm.h>.
16262 (memcpy): Don't use BP_SYM.
16263 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16264 <bp-asm.h>.
16265 (memset): Don't use BP_SYM.
16266 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16267 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16268 (__bzero): Don't use BP_SYM.
16269 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16270 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16271 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16272 <bp-sym.h> and <bp-asm.h>.
16273 (memcmp): Don't use BP_SYM. Remove comment about bounded
16274 pointers.
16275 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16276 <bp-sym.h> and <bp-asm.h>.
16277 (memcpy): Don't use BP_SYM.
16278 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16279 <bp-sym.h> and <bp-asm.h>.
16280 (memset): Don't use BP_SYM.
16281 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16282 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16283 (__bzero): Don't use BP_SYM.
16284 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16285 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16286 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16287 <bp-sym.h> and <bp-asm.h>.
16288 (strncmp): Don't use BP_SYM. Remove comment about bounded
16289 pointers.
16290 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16291 <bp-sym.h> and <bp-asm.h>.
16292 (memcpy): Don't use BP_SYM.
16293 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16294 <bp-sym.h> and <bp-asm.h>.
16295 (memset): Don't use BP_SYM.
16296 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16297 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16298 (__bzero): Don't use BP_SYM.
16299 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16300 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16301 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16302 <bp-sym.h> and <bp-asm.h>.
16303 (__memchr): Don't use BP_SYM.
16304 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16305 <bp-sym.h> and <bp-asm.h>.
16306 (memcmp): Don't use BP_SYM. Remove comment about bounded
16307 pointers.
16308 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16309 <bp-sym.h> and <bp-asm.h>.
16310 (memcpy): Don't use BP_SYM.
16311 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16312 <bp-sym.h> and <bp-asm.h>.
16313 (__mempcpy): Don't use BP_SYM.
16314 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16315 <bp-sym.h> and <bp-asm.h>.
16316 (__memrchr): Don't use BP_SYM.
16317 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16318 <bp-sym.h> and <bp-asm.h>.
16319 (memset): Don't use BP_SYM.
16320 (__bzero): Likewise.
16321 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16322 <bp-sym.h> and <bp-asm.h>.
16323 (__rawmemchr): Don't use BP_SYM.
16324 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16325 <bp-sym.h> and <bp-asm.h>.
16326 (__STRCMP): Don't use BP_SYM.
16327 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16328 <bp-sym.h> and <bp-asm.h>.
16329 (strchr): Don't use BP_SYM.
16330 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16331 <bp-sym.h> and <bp-asm.h>.
16332 (__strchrnul): Don't use BP_SYM.
16333 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16334 <bp-sym.h> and <bp-asm.h>.
16335 (strlen): Don't use BP_SYM.
16336 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16337 <bp-sym.h> and <bp-asm.h>.
16338 (strncmp): Don't use BP_SYM. Remove comment about bounded
16339 pointers.
16340 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16341 <bp-sym.h> and <bp-asm.h>.
16342 (__strnlen): Don't use BP_SYM.
16343 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16344 <bp-sym.h> and <bp-asm.h>.
16345 (__GI__setjmp): Don't use BP_SYM.
16346 (_setjmp): Likewise.
16347 (__sigsetjmp): Likewise.
16348 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16349 (L(start_addresses)): Don't use BP_SYM.
16350 (_start): Likewise.
16351 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16352 <bp-asm.h>.
16353 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16354 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16355 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16356 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16357 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16358 <bp-asm.h>.
16359 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16360 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16361 about bounded pointers.
16362 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16363 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16364 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16365 <bp-asm.h>.
16366 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16367 about bounded pointers. Remove GKM FIXME comments.
16368 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16369 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16370 <bp-asm.h>.
16371 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16372 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16373 Remove GKM FIXME comments.
16374 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16375 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16376 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16377 <bp-asm.h>.
16378 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16379 about bounded pointers. Remove GKM FIXME comment.
16380 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16381 and <bp-asm.h>.
16382 (strncmp): Don't use BP_SYM. Remove comment about bounded
16383 pointers.
16384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16385 <bp-sym.h> and <bp-asm.h>.
16386 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16388 <bp-sym.h> and <bp-asm.h>.
16389 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16390 comment.
16391
cdcf361f
PP
163922013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16393
16394 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16395 call free(NULL).
16396
3c4a2b15
DM
163972013-03-05 David S. Miller <davem@davemloft.net>
16398
16399 * po/es.po: Update from translation team.
16400
cdcf361f 164012013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16402
16403 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16404 <bits/mman-linux.h>.
16405 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16406 is fine.
16407 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16408 <bits/mman-linux.h> to end of file.
16409 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16410 is fine.
16411 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16412 <bits/mman-linux.h> to end of file.
16413 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16414 is fine.
16415 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16416 <bits/mman-linux.h> to end of file.
16417
16418 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16419 (MCL_CURRENT, MCL_FUTURE): Define here.
16420
5f67c04f
AK
164212013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16422
8a4473cc 16423 [BZ #15232]
5f67c04f
AK
16424 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16425 attribute_hidden.
16426 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16427
c3e94a95
AK
164282013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16429
16430 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16431 fourth parameter needed for rt_sigprocmask syscall.
16432 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16433 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16434 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16435 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16436 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16437 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16438
cfb6382a
JM
164392013-03-04 Joseph Myers <joseph@codesourcery.com>
16440
16441 [BZ #13550]
16442 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16443 comment about bounded pointers.
16444 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16445 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16446
539d8e01
AJ
164472013-03-04 Andreas Jaeger <aj@suse.de>
16448
16449 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16450 common definitions.
16451
16452 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16453 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16454 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16455 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16456 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16457 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16458
2e167a70 164592013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16460
16461 [BZ #15055]
16462 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16463 __ieee754_sqrl instead of __sqrl.
16464
68508633
JM
164652013-03-01 Joseph Myers <joseph@codesourcery.com>
16466
16467 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16468 * sysdeps/powerpc/fpu_control.h: ... here.
16469 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16470 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16471 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16472 * sysdeps/powerpc/bits/mathinline.h: ... here.
16473
7775448e
RM
164742013-03-01 Roland McGrath <roland@hack.frob.com>
16475
16476 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16477 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16478 to just [NEED_DL_SYSINFO_DSO].
16479 * elf/dl-support.c: Likewise.
16480 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16481 * elf/rtld.c (dl_main): Likewise.
16482 * elf/setup-vdso.h (setup_vdso): Likewise.
16483 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16484 * sysdeps/unix/sysv/linux/dl-sysdep.c
16485 (_dl_discover_osversion): Likewise.
16486
4e9b5995
CD
164872013-03-01 Carlos O'Donell <carlos@redhat.com>
16488
16489 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16490 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16491
e23872c8
SP
164922013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16493
e5c74c63
SP
16494 * NEWS: Mention libm performance improvements and non-x86 PI
16495 futex support.
16496
e23872c8
SP
16497 * csu/libc-start.c (__pthread_initialize_minimal): Change
16498 function arguments.
16499 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16500
b5510883
JM
165012013-02-28 Joseph Myers <joseph@codesourcery.com>
16502
16503 [BZ #13550]
16504 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16505 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16506 <bp-sym.h> and <bp-asm.h>.
16507 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16508 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16509 and <bp-asm.h>.
16510 (memcpy): Don't use BP_SYM.
16511 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16512 <bp-asm.h>.
16513 (__mpn_add_n): Don't use BP_SYM.
16514 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16515 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16516 and <bp-asm.h>.
16517 (__mpn_addmul_1): Don't use BP_SYM.
16518 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16519 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16520 <bp-sym.h>.
16521 (_setjmp): Don't use BP_SYM.
16522 (__novmx_setjmp): Likewise.
16523 (__GI__setjmp): Likewise.
16524 (__vmx_setjmp): Likewise.
16525 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16526 <bp-sym.h>.
16527 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16528 (__bzero): Don't use BP_SYM.
16529 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16530 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16531 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16532 <bp-sym.h> and <bp-asm.h>.
16533 (memcpy): Don't use BP_SYM.
16534 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16535 <bp-sym.h> and <bp-asm.h>.
16536 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16537 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16538 <bp-sym.h> and <bp-asm.h>.
16539 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16540 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16541 <bp-asm.h>.
16542 (__mpn_lshift): Don't use BP_SYM.
16543 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16544 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16545 <bp-asm.h>.
16546 (memset): Don't use BP_SYM.
16547 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16548 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16549 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16550 <bp-asm.h>.
16551 (__mpn_mul_1): Don't use BP_SYM.
16552 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16553 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16554 <bp-sym.h> and <bp-asm.h>.
16555 (memcmp): Don't use BP_SYM.
16556 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16557 <bp-sym.h> and <bp-asm.h>.
16558 (memcpy): Don't use BP_SYM.
16559 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16560 <bp-sym.h> and <bp-asm.h>.
16561 (memset): Don't use BP_SYM.
16562 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16563 <bp-sym.h> and <bp-asm.h>.
16564 (strncmp): Don't use BP_SYM.
16565 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16566 <bp-sym.h> and <bp-asm.h>.
16567 (memcpy): Don't use BP_SYM.
16568 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16569 <bp-sym.h> and <bp-asm.h>.
16570 (memset): Don't use BP_SYM.
16571 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16572 <bp-sym.h> and <bp-asm.h>.
16573 (__memchr): Don't use BP_SYM.
16574 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16575 <bp-sym.h> and <bp-asm.h>.
16576 (memcmp): Don't use BP_SYM.
16577 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16578 <bp-sym.h> and <bp-asm.h>.
16579 (memcpy): Don't use BP_SYM.
16580 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16581 <bp-sym.h> and <bp-asm.h>.
16582 (__mempcpy): Don't use BP_SYM.
16583 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16584 <bp-sym.h> and <bp-asm.h>.
16585 (__memrchr): Don't use BP_SYM.
16586 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16587 <bp-sym.h> and <bp-asm.h>.
16588 (memset): Don't use BP_SYM.
16589 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16590 <bp-sym.h> and <bp-asm.h>.
16591 (__rawmemchr): Don't use BP_SYM.
16592 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16593 <bp-sym.h> and <bp-asm.h>.
16594 (__STRCMP): Don't use BP_SYM.
16595 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16596 <bp-sym.h> and <bp-asm.h>.
16597 (strchr): Don't use BP_SYM.
16598 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16599 <bp-sym.h> and <bp-asm.h>.
16600 (__strchrnul): Don't use BP_SYM.
16601 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16602 <bp-sym.h> and <bp-asm.h>.
16603 (strlen): Don't use BP_SYM.
16604 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16605 <bp-sym.h> and <bp-asm.h>.
16606 (strncmp): Don't use BP_SYM.
16607 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16608 <bp-sym.h> and <bp-asm.h>.
16609 (__strnlen): Don't use BP_SYM.
16610 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16611 <bp-asm.h>.
16612 (__mpn_rshift): Don't use BP_SYM.
16613 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16614 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16615 <bp-sym.h> and <bp-asm.h>.
16616 (__sigsetjmp): Don't use BP_SYM.
16617 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16618 (L(start_addresses)): Don't use BP_SYM.
16619 (_start): Likewise.
16620 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16621 <bp-asm.h>.
16622 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16623 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16624 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16625 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16626 <bp-asm.h>.
16627 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16628 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16629 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16630 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16631 <bp-asm.h>.
16632 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16633 comments.
16634 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16635 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16636 <bp-asm.h>.
16637 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16638 FIXME comments.
16639 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16640 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16641 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16642 <bp-asm.h>.
16643 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16644 comment.
16645 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16646 and <bp-asm.h>.
16647 (strncmp): Don't use BP_SYM,
16648 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16649 <bp-asm.h>.
16650 (__mpn_sub_n): Don't use BP_SYM.
16651 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16652 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16653 and <bp-asm.h>.
16654 (__mpn_submul_1): Don't use BP_SYM.
16655 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16657 <bp-sym.h> and <bp-asm.h>.
16658 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16660 <bp-sym.h> and <bp-asm.h>.
16661 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16662 comment.
16663
8d19fe64
SP
166642013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16665
16666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16667 Use ZK to minimize writes to Z.
16668 (sub_magnitudes): Simplify code a bit.
16669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16670 Use ZK to minimize writes to Z.
16671 (sub_magnitudes): Simplify code a bit.
16672
85bd816a
RM
166732013-02-27 Roland McGrath <roland@hack.frob.com>
16674
16675 * csu/gmon-start.c: Add special exception to license text.
16676
b5977bf2
RH
166772013-02-27 Richard Henderson <rth@redhat.com>
16678
16679 * scripts/config.guess: Update from config.git.
16680 * scripts/config.sub: Likewise.
16681
11d6e2f2
SP
166822013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16683
09c14ed2
SP
16684 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16685
a688864e
SP
16686 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16687
6295157a
SP
16688 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16689
b8de2202
SP
16690 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16691
11d6e2f2
SP
16692 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16693
7e80ddb8
RM
166942013-02-26 Roland McGrath <roland@hack.frob.com>
16695
16696 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16697 [$(build-shared = yes].
7e80ddb8 16698
7da6d9ed
SP
166992013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16700
45f05884
SP
16701 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16702 (__mul): Reduce iterations for calculating mantissa.
16703
2236d359
SP
16704 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16705 MPTWO.
16706 (__mpranred): Likewise.
16707
7da6d9ed
SP
16708 [BZ #15160]
16709 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16710 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16711
b7688c42
PE
167122013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16713
16714 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16715 Define __attribute__.
16716
53a5c423
SP
167172013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16718
16719 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16720 unused.
16721 * posix/regex_internal.h (__attribute): Remove.
16722 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16723 (re_string_context_at): Likewise.
16724 (bitset_not): Use __attribute__ and mark function as possibly
16725 unused.
16726 (bitset_merge): Likewise.
16727 (bitset_mask): Likewise.
16728 (re_string_char_size_at): Likewise.
16729 (re_string_wchar_at): Likewise.
16730 (re_string_elem_size_at): Likewise.
16731
60f5a8b5
SP
167322013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16733
2a983a2e
SP
16734 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16735 code.
16736 (cc32): Likewise.
16737
e69804d1
SP
16738 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16739 (__acr): Likewise.
16740 (__cpy): Likewise.
16741 (norm): Likewise.
16742 (denorm): Likewise.
16743 (__dbl_mp): Likewise.
16744 (add_magnitudes): Likewise.
16745 (sub_magnitudes): Likewise.
16746 (__mul): Likewise.
16747 (__inv): Likewise.
16748
2f22a1e8
SP
16749 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16750 style.
16751
8930ddc7
SP
16752 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16753 style.
16754
dc60cb11
SP
16755 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16756 code.
16757
60f5a8b5
SP
16758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16759 up changes with default code.
16760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16761 Likewise.
16762
b4d1fd33
AM
167632013-02-24 Allan McRae <allan@archlinux.org>
16764
faf6f8bc
AM
16765 * manual/socket.texi (The Internet Namespace): Order menu items
16766 to match that in the file.
16767
b4d1fd33
AM
16768 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16769 node listing of the info page menu.
16770
2366713d
JM
167712013-02-21 Joseph Myers <joseph@codesourcery.com>
16772
16773 [BZ #13550]
16774 * sysdeps/i386/bp-asm.h: Remove file.
16775 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16776 (PARMS): Do not use macros from bp-asm.h.
16777 (S1): Likewise.
16778 (S2): Likewise.
16779 (SIZE): Likewise.
16780 (__mpn_add_n): Do not use BP_SYM
16781 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16782 "bp-asm.h".
16783 (PARMS): Do not use macros from bp-asm.h.
16784 (S1): Likewise.
16785 (SIZE): Likewise.
16786 (__mpn_addmul_1): Do not use BP_SYM
16787 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16788 "bp-asm.h".
16789 (PARMS): Do not use macros from bp-asm.h.
16790 (SIGMSK): Likewise.
16791 (_setjmp): Likewise. Do not use BP_SYM.
16792 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16793 "bp-asm.h".
16794 (PARMS): Do not use macros from bp-asm.h.
16795 (SIGMSK): Likewise.
16796 (setjmp): Likewise. Do not use BP_SYM.
16797 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16798 "bp-asm.h".
16799 (PARMS): Do not use macros from bp-asm.h.
16800 (__frexp): Do not use BP_SYM.
16801 (frexp): Likewise.
16802 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16803 "bp-asm.h".
16804 (PARMS): Do not use macros from bp-asm.h.
16805 (__frexpf): Do not use BP_SYM.
16806 (frexpf): Likewise.
16807 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16808 "bp-asm.h".
16809 (PARMS): Do not use macros from bp-asm.h.
16810 (__frexpl): Do not use BP_SYM.
16811 (frexpl): Likewise.
16812 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16813 "bp-asm.h".
16814 (PARMS): Do not use macros from bp-asm.h.
16815 (__remquo): Do not use BP_SYM.
16816 (remquo): Likewise.
16817 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16818 "bp-asm.h".
16819 (PARMS): Do not use macros from bp-asm.h.
16820 (__remquof): Do not use BP_SYM.
16821 (remquof): Likewise.
16822 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16823 "bp-asm.h".
16824 (PARMS): Do not use macros from bp-asm.h.
16825 (__remquol): Do not use BP_SYM.
16826 (remquol): Likewise.
16827 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16828 "bp-asm.h".
16829 (PARMS): Do not use macros from bp-asm.h.
16830 (DEST): Likewise.
16831 (SRC): Likewise.
16832 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16833 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16834 "bp-asm.h".
16835 (PARMS): Do not use macros from bp-asm.h.
16836 (strlen): Do not use BP_SYM.
16837 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16838 "bp-asm.h".
16839 (PARMS): Do not use macros from bp-asm.h.
16840 (S1): Likewise.
16841 (S2): Likewise.
16842 (SIZE): Likewise.
16843 (__mpn_add_n): Do not use BP_SYM.
16844 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16845 "bp-asm.h".
16846 (PARMS): Do not use macros from bp-asm.h.
16847 (S1): Likewise.
16848 (SIZE): Likewise.
16849 (__mpn_addmul_1): Do not use BP_SYM.
16850 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16851 weak_alias.
16852 (bzero): Likewise.
16853 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16854 "bp-asm.h".
16855 (PARMS): Do not use macros from bp-asm.h.
16856 (S): Likewise.
16857 (SIZE): Likewise.
16858 (__mpn_lshift): Do not use BP_SYM.
16859 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16860 "bp-asm.h".
16861 (PARMS): Do not use macros from bp-asm.h.
16862 (DEST): Likewise.
16863 (SRC): Likewise.
16864 (LEN): Likewise.
16865 (memcpy): Likewise. Do not use BP_SYM.
16866 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16867 libc_hidden_def and weak_alias.
16868 (mempcpy): Do not use BP_SYM in weak_alias.
16869 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16870 "bp-asm.h".
16871 (PARMS): Do not use macros from bp-asm.h.
16872 (DEST): Likewise.
16873 (LEN): Likewise.
16874 [!BZERO_P] (CHR): Likewise.
16875 (memset): Likewise. Do not use BP_SYM.
16876 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16877 "bp-asm.h".
16878 (PARMS): Do not use macros from bp-asm.h.
16879 (S1): Likewise.
16880 (SIZE): Likewise.
16881 (__mpn_mul_1): Do not use BP_SYM.
16882 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16883 "bp-asm.h".
16884 (PARMS): Do not use macros from bp-asm.h.
16885 (S): Likewise.
16886 (SIZE): Likewise.
16887 (__mpn_rshift): Do not use BP_SYM.
16888 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16889 "bp-asm.h".
16890 (PARMS): Do not use macros from bp-asm.h.
16891 (STR): Likewise.
16892 (CHR): Likewise.
16893 (strchr): Likewise. Do not use BP_SYM.
16894 (index): Do not use BP_SYM in weak_alias.
16895 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16896 "bp-asm.h".
16897 (PARMS): Do not use macros from bp-asm.h.
16898 (DEST): Likewise.
16899 (SRC): Likewise.
16900 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16901 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16902 "bp-asm.h".
16903 (PARMS): Do not use macros from bp-asm.h.
16904 (strlen): Do not use BP_SYM.
16905 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16906 "bp-asm.h".
16907 (PARMS): Do not use macros from bp-asm.h.
16908 (S1): Likewise.
16909 (S2): Likewise.
16910 (SIZE): Likewise.
16911 (__mpn_sub_n): Do not use BP_SYM.
16912 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16913 "bp-asm.h".
16914 (PARMS): Do not use macros from bp-asm.h.
16915 (S1): Likewise.
16916 (SIZE): Likewise.
16917 (__mpn_submul_1): Do not use BP_SYM.
16918 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16919 "bp-asm.h".
16920 (PARMS): Do not use macros from bp-asm.h.
16921 (S1): Likewise.
16922 (S2): Likewise.
16923 (SIZE): Likewise.
16924 (__mpn_add_n): Do not use BP_SYM.
16925 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16926 weak_alias.
16927 (bzero): Likewise.
16928 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16929 "bp-asm.h".
16930 (PARMS): Do not use macros from bp-asm.h.
16931 (BLK2): Likewise.
16932 (LEN): Likewise.
16933 (memcmp): Do not use BP_SYM.
16934 (bcmp): Do not use BP_SYM in weak_alias.
16935 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16936 "bp-asm.h".
16937 (PARMS): Do not use macros from bp-asm.h.
16938 (DEST): Likewise.
16939 (SRC): Likewise.
16940 (LEN): Likewise.
16941 (memcpy): Likewise. Do not use BP_SYM.
16942 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16943 "bp-asm.h".
16944 (PARMS): Do not use macros from bp-asm.h.
16945 (DEST): Likewise.
16946 (SRC): Likewise.
16947 (LEN): Likewise.
16948 (memmove): Likewise. Do not use BP_SYM.
16949 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16950 "bp-asm.h".
16951 (PARMS): Do not use macros from bp-asm.h.
16952 (DEST): Likewise.
16953 (SRC): Likewise.
16954 (LEN): Likewise.
16955 (__mempcpy): Likewise. Do not use BP_SYM.
16956 (mempcpy): Do not use BP_SYM in weak_alias.
16957 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16958 "bp-asm.h".
16959 (PARMS): Do not use macros from bp-asm.h.
16960 (DEST): Likewise.
16961 (LEN): Likewise.
16962 [!BZERO_P] (CHR): Likewise.
16963 (memset): Likewise. Do not use BP_SYM.
16964 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16965 "bp-asm.h".
16966 (PARMS): Do not use macros from bp-asm.h.
16967 (STR2): Likewise.
16968 (strcmp): Do not use BP_SYM.
16969 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16970 "bp-asm.h".
16971 (PARMS): Do not use macros from bp-asm.h.
16972 (STR): Likewise.
16973 (DELIM): Likewise.
16974 [USE_AS_STRTOK_R] (SAVE): Likewise.
16975 (FUNCTION): Likewise. Do not use BP_SYM.
16976 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16977 aliases.
16978 (strtok_r): Likewise.
16979 (__GI___strtok_r): Likewise.
16980 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16981 (PARMS): Do not use macros from bp-asm.h.
16982 (S): Likewise.
16983 (SIZE): Likewise.
16984 (__mpn_lshift): Do not use BP_SYM.
16985 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16986 (PARMS): Do not use macros from bp-asm.h.
16987 (STR): Likewise.
16988 (CHR): Likewise.
16989 (__memchr): Do not use BP_SYM.
16990 (memchr): Do not use BP_SYM in weak_alias.
16991 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16992 (PARMS): Do not use macros from bp-asm.h.
16993 (BLK2): Likewise.
16994 (LEN): Likewise.
16995 (memcmp): Do not use BP_SYM.
16996 (bcmp): Do not use BP_SYM in weak_alias.
16997 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16998 (PARMS): Do not use macros from bp-asm.h.
16999 (S1): Likewise.
17000 (SIZE): Likewise.
17001 (__mpn_mul_1): Do not use BP_SYM.
17002 * sysdeps/i386/rawmemchr.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 (__rawmemchr): Do not use BP_SYM.
17008 (rawmemchr): Do not use BP_SYM in weak_alias.
17009 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17010 (PARMS): Do not use macros from bp-asm.h.
17011 (S): Likewise.
17012 (SIZE): Likewise.
17013 (__mpn_rshift): Do not use BP_SYM.
17014 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17015 (PARMS): Do not use macros from bp-asm.h.
17016 (SIGMSK): Likewise.
17017 (__sigsetjmp): Likewise. Do not use BP_SYM.
17018 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17019 (_start): Do not use BP_SYM.
17020 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17021 (PARMS): Do not use macros from bp-asm.h.
17022 (DEST): Likewise.
17023 (SRC): Likewise.
17024 (__stpcpy): Likewise. Do not use BP_SYM.
17025 (stpcpy): Do not use BP_SYM in weak_alias.
17026 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17027 "bp-asm.h".
17028 (PARMS): Do not use macros from bp-asm.h.
17029 (DEST): Likewise.
17030 (SRC): Likewise.
17031 (LEN): Likewise.
17032 (__stpncpy): Likewise. Do not use BP_SYM.
17033 (stpncpy): Do not use BP_SYM in weak_alias.
17034 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17035 (PARMS): Do not use macros from bp-asm.h.
17036 (STR): Likewise.
17037 (CHR): Likewise.
17038 (strchr): Likewise. Do not use BP_SYM.
17039 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17040 "bp-asm.h".
17041 (PARMS): Do not use macros from bp-asm.h.
17042 (STR): Likewise.
17043 (CHR): Likewise.
17044 (__strchrnul): Likewise. Do not use BP_SYM.
17045 (strchrnul): Do not use BP_SYM in weak_alias.
17046 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17047 "bp-asm.h".
17048 (PARMS): Do not use macros from bp-asm.h.
17049 (STOP): Likewise.
17050 (strcspn): Do not use BP_SYM.
17051 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17052 "bp-asm.h".
17053 (PARMS): Do not use macros from bp-asm.h.
17054 (STR): Likewise.
17055 (STOP): Likewise.
17056 (strpbrk): Likewise. Do not use BP_SYM.
17057 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17058 "bp-asm.h".
17059 (PARMS): Do not use macros from bp-asm.h.
17060 (STR): Likewise.
17061 (CHR): Likewise.
17062 (strrchr): Likewise. Do not use BP_SYM.
17063 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17064 (PARMS): Do not use macros from bp-asm.h.
17065 (SKIP): Likewise.
17066 (strspn): Do not use BP_SYM.
17067 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17068 (PARMS): Do not use macros from bp-asm.h.
17069 (STR): Likewise.
17070 (DELIM): Likewise.
17071 (SAVE): Likewise.
17072 (FUNCTION): Likewise. Do not use BP_SYM.
17073 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17074 aliases.
17075 (strtok_r): Likewise.
17076 (__GI___strtok_r): Likewise.
17077 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17078 (PARMS): Do not use macros from bp-asm.h.
17079 (S1): Likewise.
17080 (S2): Likewise.
17081 (SIZE): Likewise.
17082 (__mpn_sub_n): Do not use BP_SYM.
17083 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17084 "bp-asm.h".
17085 (PARMS): Do not use macros from bp-asm.h.
17086 (S1): Likewise.
17087 (SIZE): Likewise.
17088 (__mpn_submul_1): Do not use BP_SYM.
17089 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17090 <bp-sym.h>.
17091 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17092 and <bp-asm.h>.
17093 (PARMS): Do not use macros from bp-asm.h.
17094 (FLAGS): Likewise.
17095 (PTID): Likewise.
17096 (TLS): Likewise.
17097 (CTID): Likewise.
17098 (__clone): Do not use BP_SYM.
17099 (clone): Do not use BP_SYM in weak_alias.
17100 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17101 and <bp-asm.h>.
17102 (PARMS): Do not use macros from bp-asm.h.
17103 (LEN): Likewise.
17104 (__mmap64): Do not use BP_SYM.
17105 (mmap64): Do not use BP_SYM in weak_alias.
17106 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17107 <bp-sym.h> and <bp-asm.h>.
17108 (PARMS): Do not use macros from bp-asm.h.
17109 (__posix_fadvise64_l64): Do not use BP_SYM.
17110 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17111 (PARMS): Do not use macros from bp-asm.h.
17112 (NSOPS): Likewise.
17113 (semtimedop): Do not use BP_SYM.
17114 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17115 and <bp-asm.h>.
17116
582a3cff
AM
171172013-02-21 Allan McRae <allan@archlinux.org>
17118
17119 * manual/message.texi (Charset conversion in gettext):
17120 Move @end statement to beginning of line.
17121
bab8a695
SP
171222013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17123
80945231
SP
17124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17125 static.
17126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17127 Likewise.
17128
bab8a695
SP
17129 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17130 (denorm): Likewise.
17131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17133
e21d7aa7
AK
171342013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17135
17136 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17137 tail-call to the resolved function if pltexit isn't needed.
17138
4c7a4263
SP
171392013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17140
17141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17142 or Y being zero as being unlikely.
17143 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17144 Likewise.
17145
41f49342
CD
171462013-02-20 Carlos O'Donell <carlos@redhat.com>
17147
17148 * manual/nss.texi (System Databases and Name Service Switch):
17149 Remove frobnicate @pxref.
17150
50022a93
TS
171512013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17152
17153 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17154 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17155
08cbd996
PM
171562013-02-20 Petr Machata <pmachata@redhat.com>
17157
17158 * elf/elf.h (R_ARM_TARGET1): New macro.
17159 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17160 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17161 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17162 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17163 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17164 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17165 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17166 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17167 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17168 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17169 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17170 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17171 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17172 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17173 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17174 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17175 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17176 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17177 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17178 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17179 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17180 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17181 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17182 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17183 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17184 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17185 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17186 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17187 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17188 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17189 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17190 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17191 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17192 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17193 (R_ARM_THM_GOT_BREL12): Likewise.
17194 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17195 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17196 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17197 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17198 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17199 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17200 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17201 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17202 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17203
c7b275d6
TS
172042013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17205
17206 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17207 __attribute_used__ to __attribute__ ((unused)).
17208
20cd7fb3
SP
172092013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17210
17211 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17212 powerpc mpa.c.
17213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17214 comment formatting.
17215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17216
92945b52
JM
172172013-02-19 Joseph Myers <joseph@codesourcery.com>
17218
17219 [BZ #13550]
17220 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17221 Remove macro.
17222 (ENTER): Remove both macro definitions.
17223 (LEAVE): Likewise.
17224 (CHECK_BOUNDS_LOW): Likewise.
17225 (CHECK_BOUNDS_HIGH): Likewise.
17226 (CHECK_BOUNDS_BOTH): Likewise.
17227 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17228 (RETURN_BOUNDED_POINTER): Likewise.
17229 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17230 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17231 (POP_ERRNO_LOCATION_RETURN): Likewise.
17232 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17233 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17234 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17235 macros.
17236 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17237 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17238 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17239 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17240 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17241 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17242 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17243 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17244 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17245 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17246 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17247 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17248 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17249 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17250 removed macros.
17251 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17252 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17253 macros.
17254 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17255 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17256 * sysdeps/i386/i586/memset.S (memset): Likewise.
17257 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17258 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17259 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17260 macros.
17261 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17262 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17263 Change uses of L(2) to L(out).
17264 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17265 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17266 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17267 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17268 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17269 removed macros.
17270 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17271 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17272 macros.
17273 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17274 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17275 (RETURN): Do not use macro LEAVE.
17276 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17277 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17278 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17279 * sysdeps/i386/i686/memset.S (memset): Likewise.
17280 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17281 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17282 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17283 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17284 Likewise.
17285 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17286 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17287 L(1_2) and L(1_3) into L(1).
17288 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17289 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17290 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17291 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17292 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17293 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17294 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17295 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17296 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17297 macros.
17298 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17299 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17300 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17301 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17302 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17303 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17304 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17305 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17306 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17307 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17308 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17309 * sysdeps/i386/strspn.S (strspn): Likewise.
17310 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17311 conditional code.
17312 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17313 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17314 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17315 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17316 L(1_3) into L(1_1).
17317 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17318 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17319 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17320 macros.
17321 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17322
2389741a
JJ
173232013-02-19 Jakub Jelinek <jakub@redhat.com>
17324
17325 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17326 macro.
17327
2016b3cd
SP
173282013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17329
e4f22324
SP
17330 * math/atest-exp.c (exp_mpn): Remove ROUND.
17331 * math/atest-exp2.c (exp_mpn): Likewise.
17332 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17333
2016b3cd
SP
17334 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17335 * stdlib/tst-tls-atexit-lib.c: Likewise.
17336 * stdlib/tst-tls-atexit.c: Likewise.
17337
4be9b544
MF
173382013-02-18 Mike Frysinger <vapier@gentoo.org>
17339
17340 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17341 and __attribute_alloc_size__.
17342
2f62b9ee
MF
173432013-02-18 Mike Frysinger <vapier@gentoo.org>
17344
17345 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17346 __attribute_alloc_size__.
17347 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17348 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17349
6ff444c4
MF
173502013-02-18 Mike Frysinger <vapier@gentoo.org>
17351
17352 * include/programs/xmalloc.h: New file.
17353 * catgets/gencat.c: Include it.
17354 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17355 * elf/pldd.c: Likewise.
17356 * iconv/iconv_charmap.c: Likewise.
17357 * iconv/iconvconfig.c: Likewise.
17358 * iconv/strtab.c: Likewise.
17359 * locale/programs/locale.c: Likewise.
17360 * locale/programs/localedef.h: Likewise.
17361 * locale/programs/simple-hash.c: Likewise.
17362 * nscd/nscd.h: Likewise.
17363 * nss/makedb.c: Likewise.
17364 * sysdeps/generic/ldconfig.h: Likewise.
17365
be179c8a
SP
173662013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17367
ba384f6e
SP
17368 * Versions.def: Add GLIBC_2.18.
17369 * include/link.h (struct link_map): New member l_tls_dtor_count.
17370 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17371 (__call_tls_dtors): Likewise.
17372 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17373 __cxa_thread_atexit_impl.
17374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17375 Likewise.
17376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17377 Likewise.
17378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17379 Likewise.
17380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17381 Likewise.
17382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17384 Likewise.
17385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17386 Likewise.
17387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17389 Likewise.
17390 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17391 (tests): Add test case tst-tls-atexit.
17392 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17393 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17394 (GLIBC_PRIVATE): Add __call_tls_dtors.
17395 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17396 for libstdc++.
17397 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17398 * stdlib/tst-tls-atexit.c: New test case.
17399 * stdlib/tst-tls-atexit-lib.c: New test case.
17400
ffaa74cf 17401 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17402
be179c8a
SP
17403 * elf/Versions (ld): Add _dl_find_dso_for_object.
17404 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17405 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17406 (dl_open_worker): Use _dl_find_dso_for_object.
17407 * elf/dl-sym.c (do_sym): Likewise.
17408 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17409
f78b5caa
AK
174102013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17411
17412 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17413 Syntactic changes only.
17414 (_dl_runtime_profile): Do a tail-call to the resolved function.
17415
29691210
JM
174162013-02-17 Joseph Myers <joseph@codesourcery.com>
17417
17418 [BZ #13550]
17419 * sysdeps/x86_64/bp-asm.h: Remove file.
17420 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17421 <bp-sym.h> and <bp-asm.h>.
17422 (__clone): Do not use BP_SYM.
17423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17424 <bp-sym.h> and <bp-asm.h>.
17425 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17426 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17427 "bp-asm.h".
17428 (_setjmp): Do not use BP_SYM.
17429 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17430 "bp-asm.h".
17431 (setjmp): Do not use BP_SYM.
17432 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17433 libc_hidden_def.
17434 (mempcpy): Do not use BP_SYM in weak_alias.
17435 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17436 "bp-asm.h".
17437 (strchr): Do not use BP_SYM.
17438 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17439 "bp-asm.h".
17440 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17441 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17442 (_start): Do not use BP_SYM.
17443 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17444 "bp-asm.h".
17445 (strcat): Do not use BP_SYM.
17446 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17447 "bp-asm.h".
17448 (STRCMP): Do not use BP_SYM.
17449 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17450 "bp-asm.h".
17451 (STRCPY): Do not use BP_SYM.
17452 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17453 "bp-asm.h".
17454 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17455 "bp-asm.h".
17456 (FUNCTION): Do not use BP_SYM.
17457 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17458 weak_alias.
17459 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17460
f238fd19
AJ
174612013-02-17 Andreas Jaeger <aj@suse.de>
17462
17463 * time/Versions: Sort entries.
17464 * string/Versions: Likewise.
17465 * resolv/Versions: Likewise.
17466 * posix/Versions: Likewise.
17467 * iconv/Versions: Likewise.
17468 * elf/Versions: Likewise.
17469 * wcsmbs/Versions: Likewise.
17470
bd07f23c 174712013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17472
22af19f9
SP
17473 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17474 loop termination condition.
17475
4709fe76
SP
17476 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17477 variable to calculate EZ.
17478 (__sqr): Likewise.
2d0e0f29
SP
17479
17480 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17481 the lower precision input.
17482
daaa7713
JM
174832013-02-15 Joseph Myers <joseph@codesourcery.com>
17484
17485 [BZ #13550]
17486 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17487 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17488 (run-via-rtld-prefix): Do not handle %-bp tests.
17489 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17490 (all-object-suffixes): Remove .ob.
17491 (bppfx): Remove variable.
17492 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17493 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17494 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17495 [$(build-bounded) = yes] (libtype.ob): Likewise.
17496 * Makerules (elide-routines.ob): Remove variable.
17497 (do-tests-clean): Do not handle *-bp.out.
17498 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17499 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17500 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17501 (tests): Do not include $(tests-bp.out).
17502 (xtests): Do not include $(xtests-bp.out).
17503 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17504 [$(build-bounded) = yes] ($(addprefix
17505 $(objpfx),$(binaries-bounded))): Remove rule.
17506 ($(objpfx)%-bp.out): Remove rule.
17507 * config.make.in (build-bounded): Remove variable.
17508 * crypt/Makefile [$(build-bounded) = yes]
17509 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17510 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17511 append to variable.
17512 [$(build-bounded) = yes] (install-lib): Likewise.
17513 [$(build-bounded) = yes] (generated): Likewise.
17514 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17515 Remove rule.
17516 * intl/Makefile [$(build-bounded) = yes]
17517 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17518 * math/Makefile [$(build-bounded) = yes]
17519 ($(tests:%=$(objpfx)%-bp): Likewise.
17520 * misc/Makefile [$(build-bounded) = yes]
17521 ($(objpfx)tst-tsearch-bp): Likewise.
17522 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17523 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17524 Remove dependency.
17525 * string/Makefile (o-objects.ob): Remove variable.
17526 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17527 (CFLAGS-.ob): Remove variable.
17528 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17529 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17530 both definitions of variable.
17531 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17532 (ASFLAGS-.ob): Remove variable.
17533
e97ed6dd
JM
175342013-02-14 Joseph Myers <joseph@codesourcery.com>
17535
2bdd4ca6
JM
17536 [BZ #13550]
17537 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17538 Remove __BOUNDED_POINTERS__ from condition.
17539 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17540 * string/bits/string2.h [!__NO_STRING_INLINES &&
17541 !__BOUNDED_POINTERS__]: Likewise.
17542 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17543 Likewise.
17544 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17545 Remove conditional code.
17546 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17547 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17548 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17549 condition.
17550
e97ed6dd
JM
17551 [BZ #13550]
17552 * csu/libc-start.c: Do not include <bp-sym.h>.
17553 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17554 * elf/dl-open.c: Do not include <bp-sym.h>.
17555 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17556 * math/fegetenv.c: Do not include <bp-sym.h>.
17557 (fegetenv): Do not use BP_SYM in versioned symbols.
17558 * nptl/sysdeps/pthread/bits/libc-lockP.h
17559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17560 <bp-sym.h>.
17561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17562 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17564 (__pthread_mutex_destroy): Likewise.
17565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17566 (__pthread_mutex_lock): Likewise.
17567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17568 (__pthread_mutex_trylock): Likewise.
17569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17570 (__pthread_mutex_unlock): Likewise.
17571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17572 (__pthread_mutexattr_init): Likewise.
17573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17574 (__pthread_mutexattr_destroy): Likewise.
17575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17576 (__pthread_mutexattr_settype): Likewise.
17577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17578 (__pthread_rwlock_init): Likewise.
17579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17580 (__pthread_rwlock_destroy): Likewise.
17581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17582 (__pthread_rwlock_rdlock): Likewise.
17583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17584 (__pthread_rwlock_tryrdlock): Likewise.
17585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17586 (__pthread_rwlock_wrlock): Likewise.
17587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17588 (__pthread_rwlock_trywrlock): Likewise.
17589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17590 (__pthread_rwlock_unlock): Likewise.
17591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17592 (__pthread_key_create): Likewise.
17593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17594 (__pthread_setspecific): Likewise.
17595 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17596 (__pthread_getspecific): Likewise.
17597 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17598 Likewise.
17599 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17600 (_pthread_cleanup_push_defer): Likewise.
17601 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17602 (_pthread_cleanup_pop_restore): Likewise.
17603 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17604 (pthread_setcancelstate): Likewise.
17605 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17606 <bp-sym.h>.
17607 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17608 (memchr): Do not use BP_SYM in weak_alias.
17609 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17610 (fegetenv): Do not use BP_SYM in versioned symbols.
17611 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17612 (fesetenv): Do not use BP_SYM in versioned symbols.
17613 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17614 (feupdateenv): Do not use BP_SYM in versioned symbols.
17615 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17616 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17617 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17618 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17619 (open64): Do not use BP_SYM in weak_alias.
17620 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17621 (fegetenv): Do not use BP_SYM in versioned symbols.
17622 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17623 (fesetenv): Do not use BP_SYM in versioned symbols.
17624 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17625 (feupdateenv): Do not use BP_SYM in versioned symbols.
17626 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17627 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17628 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17629 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17630 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17631 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17632 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17633 <bp-sym.h>.
17634 (__libc_start_main): Do not use BP_SYM.
17635
d6752ccd
SP
176362013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17637
cb57ce60
SP
17638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17639 redundant return line.
17640 (norm): Likewise.
17641 (denorm): Likewise.
17642 (dbl_mp): Likewise.
17643 (sub_magnitudes): Likewise.
17644 (__add): Likewise.
17645 (__sub): Likewise.
17646 (__mul): Likewise.
17647 (__inv): Likewise.
17648 (__dvd): Likewise.
17649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17650 (norm): Likewise.
17651 (denorm): Likewise.
17652 (dbl_mp): Likewise.
17653 (sub_magnitudes): Likewise.
17654 (__add): Likewise.
17655 (__sub): Likewise.
17656 (__mul): Likewise.
17657 (__inv): Likewise.
17658 (__dvd): Likewise.
17659
f414520d
SP
17660 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17661 instead of __mul.
17662 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17663 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17664 (cc32): Likewise.
17665
d6752ccd
SP
17666 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17667 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17668 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17669 of __mul for squares.
17670 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17671 function
17672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17673 Likewise.
17674 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17675 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17676
70d9946a
JM
176772013-02-13 Joseph Myers <joseph@codesourcery.com>
17678
17679 [BZ #13550]
17680 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17681 code.
17682 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17683 prototype or function definition. Rename ubp_* variables and
17684 parameters. Remove argv definitions conditional on
17685 [__BOUNDED_POINTERS__].
17686 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17687 * elf/dl-runtime.c (_dl_fixup): Likewise.
17688 * include/set-hooks.h (RUN_HOOK): Likewise.
17689 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17690 definition.
17691 * string/strcpy.c (strcpy): Do not use __unbounded.
17692 * sysdeps/generic/frame.h (struct layout): Likewise.
17693 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17694 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17695 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17696 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17697 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17698 (__backtrace): Likewise.
17699 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17700 use __ptrvalue.
17701 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17702 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17703 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17704 Likewise.
17705 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17706 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17707 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17708 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17709 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17710 Do not use __unbounded.
17711 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17712 Rename __unboundedrlimits parameter to rlimits in prototype.
17713 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17714 Do not use __unbounded.
17715 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17716 not use __ptrvalue.
17717 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17718 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17719 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17720 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17721 __ptrvalue or __unbounded.
17722 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17723 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17724 use __unbounded.
17725 (__new_msgctl): Do not use __ptrvalue.
17726 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17727 __unbounded.
17728 (__libc_msgrcv): Do not use __ptrvalue.
17729 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17730 startup_info): Do not use __unbounded.
17731 (__libc_start_main): Likewise. Rename ubp_* variables and
17732 parameters. Remove argv definitions conditional on
17733 [__BOUNDED_POINTERS__].
17734 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17735 __ptrvalue.
17736 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17737 use __unbounded.
17738 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17739 or __ptrvalue.
17740 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17741 use __unbounded.
17742 (__new_shmctl): Do not use __ptrvalue.
17743 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17744 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17745 Likewise.
17746 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17747 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17748 (__libc_sigaction): Likewise.
17749 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17750 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17751 Likewise.
17752 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17753
cc7834d6
OB
177542013-02-13 Ondřej Bílka <neleai@seznam.cz>
17755
ffb1ec7b 17756 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17757
17758 * string/mempcpy.c: Implement by calling memcpy.
17759
bdf02814
SP
177602013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17761
c2af38aa
SP
17762 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17763
4e92d59e
SP
17764 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17765 evaluation.
17766
909279a5
SP
17767 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17768 values in the mantissa.
17769
bdf02814
SP
17770 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17771 minimize writes to Z.
17772 (sub_magnitudes): Simplify code a bit.
17773
cd525923
RM
177742013-02-12 Roland McGrath <roland@hack.frob.com>
17775
17776 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17777 from the message. The linker prefixes all warnings with that already.
17778
7e2f0d2d
AS
177792013-02-12 Andreas Schwab <schwab@suse.de>
17780
a445af0b
AS
17781 [BZ #15078]
17782 * posix/regexec.c (extend_buffers): Add parameter min_len.
17783 (check_matching): Pass minimum needed length.
17784 (clean_state_log_if_needed): Likewise.
17785 (get_subexp): Likewise.
17786 * posix/Makefile (tests): Add bug-regex34.
17787 (bug-regex34-ENV): Define.
17788 * posix/bug-regex34.c: New file.
17789
7e2f0d2d
AS
17790 [BZ #11561]
17791 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17792 elements compare against the byte sequence of it, not its name.
17793 * posix/Makefile (tests): Add bug-regex35.
17794 (bug-regex35-ENV): Define.
17795 * posix/bug-regex35.c: New file.
17796
a175b684
TV
177972013-02-11 Tom de Vries <tom@codesourcery.com>
17798
17799 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17800 comment.
17801 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17802 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17803 (CHECK_EOL): Add undef.
17804
310998fe 178052013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17806
17807 * bits/stdlib-bsearch.h: New file.
17808 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17809 * stdlib/stdlib.h: Likewise.
41eda41d 17810
8ded91fb
RM
178112013-02-11 Roland McGrath <roland@hack.frob.com>
17812
17813 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17814 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17815 declaration.
17816 * manual/search.texi (Array Search Function): Add missing const in
17817 lfind prototype.
17818 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17819 declaration to use rlim_t.
17820 (Basic Scheduling Functions): Remove erroneous const from
17821 sched_getparam prototype. Remove erroneous * from
17822 sched_get_priority_max and sched_get_priority_min prototypes.
17823 (Resource Usage): Fix summary @comment on vtimes to refer to
17824 sys/vtimes.h rather than vtimes.h.
17825 Add missing *s in vtimes prototype.
17826 (Limits on Resources): Fix ulimit prototype to return long int.
17827 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17828 prototypes to use long int rather than double.
17829 (BSD Random): Fix initstate and setstate to use char *, not void *.
17830 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17831 prototype to make second argument 'struct aiocb64 *const[]'.
17832 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17833 (Status of AIO Operations): Remove erroneous const in aio_return and
17834 aio_return64 prototypes.
17835 (Synchronizing I/O): Fix sync prototype to return void.
17836 * manual/startup.texi (Suboptions): Remove an erroneous const in
17837 getsubopt prototype.
17838 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17839 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17840 use size_t rather than int.
17841 (Scanning All Users): Likewise for getpwent_r.
17842 (Setting Groups): Add missing const to setgroups prototype.
17843 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17844 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17845 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17846 'const void *' rather than 'const char *'.
17847 (Host Address Functions): Likewise for inet_ntop.
17848 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17849 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17850 ssize_t for return value.
17851 (Sending Data): Likewise for send, sendto, sendmsg.
17852 (Socket Option Functions): Add a missing const in setsockopt prototype.
17853 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17854 use wchar_t for the argument.
17855 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17856 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17857 take no arguments.
17858 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17859 double/float/long double for second argument.
17860 Fix return types of significand, significandf, significandl.
17861 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17862 argument in fchmod prototype.
17863 (File Owner): Use uid_t and gid_t in fchown prototype.
17864 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17865 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17866 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17867 use 'const struct dirent **' as argument types to CMP function pointer
17868 argument.
17869 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17870 (File Times): Fix summary magic @comment for struct utimbuf and utime
17871 to refer to utime.h, not time.h.
17872 * manual/string.texi (Argz Functions): Add missing const in
17873 argz_extract and argz_next prototypes.
17874 (Finding Tokens in a String): Likewise for basename.
17875 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17876 (Copying and Concatenation): Fix typo in wmemmove prototype.
17877 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17878 (Signal Stack): Remove erroneous const in sigstack prototype.
17879 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17880 prototype.
17881 (Simple Calendar Time): Likewise for stime.
17882 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17883 prototype.
17884 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17885 say sys/sysctl.h instead.
17886 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17887 and vsyslog prototypes.
17888
fe77fe6d
TV
178892013-02-11 Tom de Vries <tom@codesourcery.com>
17890
17891 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17892 Remove.
17893
3a09b620
RM
178942013-02-11 Roland McGrath <roland@hack.frob.com>
17895
17896 * misc/sys/mman.h: Fix typo in mremap comment.
17897
550a0b89
RM
178982013-02-08 Roland McGrath <roland@hack.frob.com>
17899
17900 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17901 the '\0' terminator.
17902
a2da1673
JM
179032013-02-08 Joseph Myers <joseph@codesourcery.com>
17904
17905 [BZ #13550]
17906 * debug/segfault.c: Don't include <bp-checks.h>.
17907 * sysdeps/generic/bp-checks.h: Remove file.
17908 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17909 (__GETDENTS): Don't use CHECK_N.
17910 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17911 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17912 (__getgroups): Don't use CHECK_N.
17913 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17914 (setgroups): Don't use CHECK_N.
17915 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17916 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17917 (__libc_msgrcv): Don't use CHECK_N.
17918 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17919 (__libc_msgsnd): Don't use CHECK_N.
17920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17921 <bp-checks.h>.
17922 (__libc_pread): Don't use CHECK_N.
17923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17924 include <bp-checks.h>.
17925 (__libc_pread64): Don't use CHECK_N.
17926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17927 include <bp-checks.h>.
17928 (__libc_pwrite): Don't use CHECK_N.
17929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17930 include <bp-checks.h>.
17931 (__libc_pwrite64): Don't use CHECK_N.
17932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17933 <bp-checks.h>.
17934 (__libc_pread): Don't use CHECK_N.
17935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17936 include <bp-checks.h>.
17937 (__libc_pread64): Don't use CHECK_N.
17938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17939 include <bp-checks.h>.
17940 (__libc_pwrite): Don't use CHECK_N.
17941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17942 include <bp-checks.h>.
17943 (__libc_pwrite64): Don't use CHECK_N.
17944 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17945 (do_pread): Don't use CHECK_N.
17946 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17947 (do_pread64): Don't use CHECK_N.
17948 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17949 (do_pwrite): Don't use CHECK_N.
17950 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17951 (do_pwrite64): Don't use CHECK_N.
17952 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17953 (__libc_readv): Don't use CHECK_N.
17954 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17955 (semop): Don't use CHECK_N.
17956 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17957 <bp-checks.h>.
17958 (semtimedop): Don't use CHECK_N.
17959 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17960 (__libc_pread): Don't use CHECK_N.
17961 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17962 <bp-checks.h>.
17963 (__libc_pread64): Don't use CHECK_N.
17964 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17965 <bp-checks.h>.
17966 (__libc_pwrite): Don't use CHECK_N.
17967 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17968 <bp-checks.h>.
17969 (__libc_pwrite64): Don't use CHECK_N.
17970 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17971 <bp-checks.h>.
17972 (__libc_msgrcv): Don't use CHECK_N.
17973 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17974 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17975 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17976 (__libc_writev): Don't use CHECK_N.
17977
b84660a8
RM
179782013-02-08 Roland McGrath <roland@hack.frob.com>
17979
7f3e75f8
RM
17980 * string/strcpy.c: Removed unused variable.
17981
b84660a8
RM
17982 * Makeconfig (+sysdep-includes): Define with := rather than =.
17983 Use an existing include/ subdir of each sysdeps dir before it.
17984
471514d3
CD
179852013-02-08 Carlos O'Donell <carlos@redhat.com>
17986
17987 * nscd/connection.c (register_traced_file): Comment function.
17988 [HAVE_INOTIFY] (union __inev): Define.
17989 [HAVE_INOTIFY] (inotify_check_files): New function.
17990 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17991 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17992 clear_db_cache.
17993 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17994
b2d3c3be
CD
179952013-02-08 Carlos O'Donell <carlos@redhat.com>
17996
17997 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17998 loaded if not already and that a failure is permanent.
17999
b39949d2
CD
180002013-02-08 Carlos O'Donell <carlos@redhat.com>
18001
ddacd1db 18002 [BZ #15006]
b39949d2
CD
18003 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18004 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18005
b2c9eff4
JM
180062013-02-08 Joseph Myers <joseph@codesourcery.com>
18007
f3aae3f3
JM
18008 [BZ #13550]
18009 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18010 (CHECK_1_NULL_OK): Likewise.
18011 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18012 (__fxstat): Do not use CHECK_1.
18013 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18014 <bp-checks.h>.
18015 (___fxstat64): Do not use CHECK_1.
18016 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18017 <bp-checks.h>.
18018 (__fxstatat): Do not use CHECK_1.
18019 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18020 <bp-checks.h>.
18021 (__fxstatat64): Do not use CHECK_1.
18022 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18023 <bp-checks.h>.
18024 (__fxstat): Do not use CHECK_1.
18025 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18026 <bp-checks.h>.
18027 (__fxstatat): Do not use CHECK_1.
18028 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18029 <bp-checks.h>.
18030 (__getresgid): Do not use CHECK_1.
18031 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18032 <bp-checks.h>.
18033 (__getresuid): Do not use CHECK_1.
18034 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18035 <bp-checks.h>.
18036 (__lxstat): Do not use CHECK_1.
18037 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18038 <bp-checks.h>.
18039 (__old_msgctl): Do not use CHECK_1.
18040 (__new_msgctl): Likewise.
18041 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18042 <bp-checks.h>.
18043 (__new_setrlimit): Do not use CHECK_1.
18044 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18045 <bp-checks.h>.
18046 (__old_shmctl): Do not use CHECK_1.
18047 (__new_shmctl): Likewise.
18048 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18049 <bp-checks.h>.
18050 (__xstat): Do not use CHECK_1.
18051 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18052 (__lxstat): Do not use CHECK_1.
18053 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18054 <bp-checks.h>.
18055 (___lxstat64): Do not use CHECK_1.
18056 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18057 (__old_msgctl): Do not use CHECK_1.
18058 (__new_msgctl): Likewise.
18059 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18060 <bp-checks.h>.
18061 (__gettimeofday): Do not use CHECK_1.
18062 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18063 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18064 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18065 <bp-checks.h>.
18066 (__gettimeofday): Do not use CHECK_1.
18067 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18068 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18069 (__new_shmctl): Do not use CHECK_1.
18070 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18071 <bp-checks.h>.
18072 (do_sigtimedwait): Do not use CHECK_1.
18073 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18074 <bp-checks.h>.
18075 (do_sigwaitinfo): Do not use CHECK_1.
18076 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18077 <bp-checks.h>.
18078 (msgctl): Do not use CHECK_1.
18079 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18080 <bp-checks.h>.
18081 (shmctl): Do not use CHECK_1.
18082 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18083 (ustat): Do not use CHECK_1.
18084 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18085 <bp-checks.h>.
18086 (__fxstat): Do not use CHECK_1.
18087 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18088 <bp-checks.h>.
18089 (__fxstatat): Do not use CHECK_1.
18090 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18091 <bp-checks.h>.
18092 (__lxstat): Do not use CHECK_1.
18093 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18094 <bp-checks.h>.
18095 (__xstat): Do not use CHECK_1.
18096 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18097 (__xstat): Do not use CHECK_1.
18098 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18099 (___xstat64): Do not use CHECK_1.
18100
b2c9eff4
JM
18101 [BZ #13550]
18102 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18103 definitions.
18104 (CHECK_BOUNDS_HIGH): Likewise.
18105 * string/strcpy.c: Do not include <bp-checks.h>.
18106 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18107
f1d70dad
RM
181082013-02-07 Roland McGrath <roland@hack.frob.com>
18109
18110 * nscd/nscd-client.h (__nscd_drop_map_ref):
18111 Add __attribute__ ((unused)).
18112 * nis/nss-nisplus.h (niserr2nss): Likewise.
18113
18114 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18115 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18116
18117 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18118 Remove inline keyword.
18119 * include/rounding-mode.h (round_away): Likewise.
18120 * libio/wfileops.c (adjust_wide_data): Likewise.
18121 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18122 (__m128i_strloadu_tolower): Likewise.
18123 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18124 (__m128i_strloadu_tolower): Likewise.
18125 * time/mktime.c (ydhms_diff): Likewise.
18126 * locale/elem-hash.h (elem_hash): Likewise.
18127 * locale/setlocale.c (setdata): Likewise.
18128 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18129 (re_string_wchar_at): Likewise.
18130 (bitset_not, bitset_merge, bitset_mask): Likewise.
18131 [!(__GNUC__ > 3)] (inline): Remove macro.
18132 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18133 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18134 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18135 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18136 * string/memcmp.c (memcmp_bytes): Likewise.
18137 * locale/programs/locarchive.c (compute_hashval): Likewise.
18138 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18139 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18140 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18141 * nss/getent.c (print_rpc, print_protocols): Likewise.
18142 (print_passwd, print_group, print_aliases): Likewise.
18143 * nis/nss-nisplus.h (niserr2nss): Likewise.
18144 * nscd/connections.c (restart_p): Likewise.
18145 Change return type to bool.
18146
eab55bfb
RM
181472013-02-05 Roland McGrath <roland@hack.frob.com>
18148
7bd642f5
RM
18149 * Makeconfig (all-Depend-files): Add existing
18150 $(sorted-subdirs:=/Depend) files.
18151 (all-subdirs): Remove nss.
18152 * sysdeps/unix/inet/Subdirs: Add it here instead.
18153 * hesiod/Depend: New file.
18154
573c29b2
RM
18155 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18156 instead of calling alloca.
18157
b2e25af0
RM
18158 * io/lseek.c (__lseek): Rename to __libc_lseek.
18159 Define __lseek as an alias.
18160
eab55bfb
RM
18161 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18162
9a0d1941
CD
181632013-02-04 Carlos O'Donell <carlos@redhat.com>
18164
18165 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18166 else clause and remove check for non-standard endianness.
18167
b83bbec4
DM
181682013-02-04 David S. Miller <davem@davemloft.net>
18169
18170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18171
6277fdab
JM
181722013-02-04 Joseph Myers <joseph@codesourcery.com>
18173
18174 [BZ #13550]
18175 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18176 (__ubp_memchr): Remove prototype.
18177 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18178 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18179 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18180 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18181 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18182 Remove alias.
18183 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18184 (__ubp_memchr): Likewise.
18185 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18186 (__ubp_memchr): Likewise.
18187 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18188 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18189 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18190 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18191 CHECK_STRING.
18192 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18193 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18194 (__getcwd): Do not use CHECK_STRING.
18195 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18196 <bp-checks.h>.
18197 (__real_chown): Do not use CHECK_STRING.
18198 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18199 <bp-checks.h>.
18200 (fchownat): Do not use CHECK_STRING.
18201 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18202 CHECK_STRING.
18203 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18204 <bp-checks.h>.
18205 (__lchown): Do not use CHECK_STRING.
18206 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18207 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18208 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18209 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18211 include <bp-checks.h>.
18212 (truncate64): Do not use CHECK_STRING.
18213 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18214 <bp-checks.h>.
18215 (__real_chown): Do not use CHECK_STRING.
18216 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18217 <bp-checks.h>.
18218 (__lchown): Do not use CHECK_STRING.
18219 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18220 <bp-checks.h>.
18221 (__chown): Do not use CHECK_STRING.
18222 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18223 <bp-checks.h>.
18224 (truncate64): Do not use CHECK_STRING.
18225 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18226 Likewise.
18227 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18228 (__xmknod): Do not use CHECK_STRING.
18229 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18230 <bp-checks.h>.
18231 (__xmknodat): Do not use CHECK_STRING.
18232 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18233 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18234
903ae060
AS
182352013-02-04 Andreas Schwab <schwab@suse.de>
18236
18237 [BZ #14142]
18238 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18239 * include/netdb.h: Likewise for h_errno.
18240 * elf/tst-stackguard1.c: Include <tls.h>.
18241
542f9466
JK
182422013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18243
18244 * elf/link.h (struct link_map): Extend the l_addr comment.
18245 * include/link.h (struct link_map): Likewise.
18246
e782a927
JM
182472013-02-01 Joseph Myers <joseph@codesourcery.com>
18248
18249 [BZ #13550]
18250 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18251 (BOUNDED_1): Remove macro.
18252 * debug/backtrace.c: Don't include <bp-checks.h>.
18253 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18254 (__backtrace): Likewise.
18255 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18256 <bp-checks.h>.
18257 (__backtrace): Don't use BOUNDED_1.
18258 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18259 <bp-checks.h>.
18260 (__backtrace): Don't use BOUNDED_1.
18261 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18262 (__backtrace): Don't use BOUNDED_1.
18263 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18264 (shmat): Don't use BOUNDED_N.
18265
8cf28c5e
JM
182662013-01-31 Joseph Myers <joseph@codesourcery.com>
18267
3a7ac8a0
JM
18268 [BZ #13550]
18269 * sysdeps/generic/bp-start.h: Remove file.
18270 * csu/libc-start.c: Don't include <bp-start.h>.
18271 (LIBC_START_MAIN): Set up __environ directly instead of using
18272 INIT_ARGV_and_ENVIRON.
18273 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18274 <bp-start.h>.
18275
f3499f95
JM
18276 [BZ #13550]
18277 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18278 definitions.
18279 (CHECK_FCNTL): Likewise.
18280 (CHECK_N_PAGES): Likewise.
18281
32a45bea
JM
18282 [BZ #13550]
18283 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18284 definitions.
18285 (CHECK_SIGSET_NULL_OK): Likewise.
18286 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18287 <bp-checks.h>.
18288 (sigpending): Don't use CHECK_SIGSET.
18289 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18290 <bp-checks.h>.
18291 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18292 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18293 <bp-checks.h>.
18294 (do_sigsuspend): Don't use CHECK_SIGSET.
18295 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18296 use CHECK_SIGSET.
18297 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18298 (do_sigwait): Don't use CHECK_SIGSET.
18299 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18300 use CHECK_SIGSET.
18301 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18302 include <bp-checks.h>.
18303 (sigpending): Don't use CHECK_SIGSET.
18304 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18305 include <bp-checks.h>.
18306 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18307 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18308 <bp-checks.h>.
18309 (sigpending): Don't use CHECK_SIGSET.
18310 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18311 <bp-checks.h>.
18312 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18313
2e8a5c8c
JM
18314 [BZ #13550]
18315 * sysdeps/generic/bp-semctl.h: Remove file.
18316 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18317 <bp-checks.h> and <bp-semctl.h>.
18318 (__old_semctl): Don't use CHECK_SEMCTL.
18319 (__new_semctl): Likewise.
18320 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18321 and <bp-semctl.h>.
18322 (__old_semctl): Don't use CHECK_SEMCTL.
18323 (__new_semctl): Likewise.
18324 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18325 <bp-checks.h> and <bp-semctl.h>.
18326 (__old_semctl): Don't use CHECK_SEMCTL.
18327 (__new_semctl): Likewise.
18328 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18329 <bp-checks.h> and <bp-semctl.h>.
18330 (semctl): Don't use CHECK_SEMCTL.
18331
c2d54929
JM
18332 [BZ #13550]
18333 * Makerules (elide-bp-thunks): Remove variable.
18334 (elide-routines.oS): Don't use $(elide-bp-thunks).
18335 (elide-routines.os): Likewise.
18336 (elide-routines.o): Likewise.
18337 (elide-routines.op): Likewise.
18338 (elide-routines.og): Likewise.
18339 (objects): Don't use $(bp-thunks).
18340 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18341 include.
18342 (common-generated): Do not add s-proto-bp.d.
18343 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18344 (int): Likewise.
18345 (typ): Likewise.
18346 Do not generate makefile rules for bounded-pointer thunks.
18347 * sysdeps/generic/bp-thunks.h: Remove file.
18348 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18349 * sysdeps/unix/s-proto-bp.S: Likewise.
18350
8cf28c5e
JM
18351 [BZ #15062]
18352 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18353 parts of result separately when argument is not close to line from
18354 -i to i and one part of argument is small.
18355 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18356 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18357 * math/libm-test.inc (cacos_test): Add more tests.
18358 (casin_test): Likewise.
18359 (casinh_test): Likewise.
18360 * sysdeps/i386/fpu/libm-test-ulps: Update.
18361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18362
c4e33b8d
DM
183632013-01-31 David S. Miller <davem@davemloft.net>
18364
18365 * po/de.po: Update from translation team.
18366
3b60b421
MK
183672013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18368
18369 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18370
bb931195
TS
183712013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18372
b5a5da23
TS
18373 * configure.in (_AC_PROG_CC_C89): New definition.
18374 * configure: Regenerate.
18375
bb931195
TS
18376 * configure.in (AC_PROG_CPP): New definition.
18377 * configure: Regenerate.
18378
8c53a12c
JM
183792013-01-23 Joseph Myers <joseph@codesourcery.com>
18380
18381 * debug/tst-backtrace.h: New file.
18382 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18383 (ret): Remove variable.
18384 (x): Likewise.
18385 (FAIL): Remove macro.
18386 (NO_INLINE): Likewise.
18387 (fn1): Use match function instead of strstr.
18388 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18389 (ret): Remove variable.
18390 (x): Likewise.
18391 (FAIL): Remove macro.
18392 (NO_INLINE): Likewise.
18393 (fn): Use match function instead of strstr.
18394 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18395 (ret): Remove variable.
18396 (x): Likewise.
18397 (FAIL): Remove macro.
18398 (NO_INLINE): Likewise.
18399 (handle_signal): Use match function instead of strstr.
18400 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18401 (ret): Remove variable.
18402 (x): Likewise.
18403 (FAIL): Remove macro.
18404 (NO_INLINE): Likewise.
18405 (handle_signal): Use match function instead of strstr.
18406
4858fa2a
RM
184072013-01-23 Roland McGrath <roland@hack.frob.com>
18408
18409 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18410
bae8e7f5
DM
184112013-01-23 David S. Miller <davem@davemloft.net>
18412
18413 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18414 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18415 argument of CAS if possible.
18416 * sysdeps/sparc/sparc64/bits/atomic.h
18417 (__arch_compare_and_exchange_val_32_acq): Likewise.
18418 (__arch_compare_and_exchange_val_64_acq): Likewise.
18419
9cbbc4ae
PT
184202013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18421
18422 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18423 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18424 Include <limits.h>.
67b3f58c 18425 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18426
5655a0b5
AC
184272013-01-23 Adam Conrad <adconrad@0c3.net>
18428
18429 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18430 (LDFLAGS-tst-array5): Likewise.
18431
052aff95
JM
184322013-01-23 Joseph Myers <joseph@codesourcery.com>
18433
18434 [BZ #15036]
18435 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18436 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18437 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18438 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18439
7c1e01aa
DM
184402013-01-21 David S. Miller <davem@davemloft.net>
18441
18442 * sysdeps/sparc/backtrace.c: New file.
18443 * sysdeps/sparc/sparc32/backtrace.h: New file.
18444 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18445 * sysdeps/sparc/sparc64/backtrace.h: New file.
18446 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18447 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18448 -funwind-tables.
18449
ab087e0a
AS
184502013-01-21 Andreas Schwab <schwab@suse.de>
18451
18452 [BZ #15020]
18453 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18454 closed its stdout.
18455
ed689c2f
AS
184562013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18457
18458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18459 "mpa2.h".
18460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18461
31d470ac
JM
184622013-01-18 Joseph Myers <joseph@codesourcery.com>
18463 Mark Mitchell <mark@codesourcery.com>
18464 Tom de Vries <tom@codesourcery.com>
18465 Paul Pluzhnikov <ppluzhnikov@google.com>
18466
18467 * debug/tst-backtrace2.c: New file.
18468 * debug/tst-backtrace3.c: Likewise.
18469 * debug/tst-backtrace4.c: Likewise.
18470 * debug/tst-backtrace5.c: Likewise.
18471 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18472 (CFLAGS-tst-backtrace3.c): Likewise.
18473 (CFLAGS-tst-backtrace4.c): Likewise.
18474 (CFLAGS-tst-backtrace5.c): Likewise.
18475 (LDFLAGS-tst-backtrace2): Likewise.
18476 (LDFLAGS-tst-backtrace3): Likewise.
18477 (LDFLAGS-tst-backtrace4): Likewise.
18478 (LDFLAGS-tst-backtrace5): Likewise.
18479 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18480 tst-backtrace4 and tst-backtrace5.
18481
90567f30 184822013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18483 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18484
18485 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18486 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18487 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18488 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18490 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18491 "+r" and remove output regs list as redundant. Add explicit inline
18492 asm to specify register of return val to work around compiler codegen
18493 bug. Remove (int) cast on return value. Add return type parameter to
18494 use in macro so that this macro does not truncate return value for
18495 64-bit values.
18496 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18497 pass to INTERNAL_VSYSCALL_NCS.
18498 (INLINE_VSYSCALL): Add 'long int' as return type to
18499 INTERNAL_VSYSCALL_NCS macro invocation.
18500 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18501 INTERNAL_VSYSCALL_NCS macro invocation.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18503
d3b9ea61
SP
185042013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18505
0b57daeb
SP
18506 [BZ #14496]
18507 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18508 Fix application of SIMD FP exception mask.
18509
caa99d06
SP
18510 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18511 mp_no from a power of two.
18512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18513 __mpexp_twomm1. Use __pow_mp.
18514
d3b9ea61
SP
18515 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18516 multiplication.
18517
1dbaee3c
DM
185182013-01-17 David S. Miller <davem@davemloft.net>
18519
18520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18521
728d7b43
JM
185222013-01-17 Joseph Myers <joseph@codesourcery.com>
18523
18524 [BZ #15023]
18525 * include/complex.h: Condition contents on [!_COMPLEX_H].
18526 (__kernel_casinhf): New prototype.
18527 (__kernel_casinh): Likewise.
18528 (__kernel_casinhl): Likewise.
18529 * math/Makefile (libm_calls): Add k_casinh.
18530 * math/k_casinh.c: New file.
18531 * math/k_casinhf.c: Likewise.
18532 * math/k_casinhl.c: Likewise.
18533 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18534 finite nonzero arguments.
18535 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18536 finite nonzero arguments.
18537 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18538 finite nonzero arguments.
18539 * math/s_casinh.c: Do not include <float.h>.
18540 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18541 * math/s_casinhf.c: Do not include <float.h>.
18542 (__casinhf): Move code for finite nonzero arguments to
18543 k_casinhf.c.
18544 * math/s_casinhl.c: Do not include <float.h>.
18545 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18546 redefine.
18547 (__casinhl): Move code for finite nonzero arguments to
18548 k_casinhl.c.
18549 * math/libm-test.inc (cacos_test): Add more tests.
18550 * sysdeps/i386/fpu/libm-test-ulps: Update.
18551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18552
2a26ef3a
PT
185532013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18554
18555 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18556 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18557 [!HAVE_MREMAP]: Remove [defined linux] case.
18558 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18559
a897655d
SP
185602013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18561
18562 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18563
881ebe89 185642013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18565
18566 * elf/elf.h (R_386_SIZE32): New relocation.
18567 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18568 R_386_SIZE32.
18569 (elf_machine_rela): Likewise.
18570 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18571 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18572
59981e9b
JM
185732013-01-17 Joseph Myers <joseph@codesourcery.com>
18574
18575 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18576 (FP_FAST_FMA): Do not define.
18577 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18578 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18579 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18580 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18581 !_SOFT_FLOAT]: Likewise.
18582 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18583 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18584 value.
18585 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18586 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18587 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18588 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18589 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18590 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18591 file.
18592
cfa8054f
AS
185932013-01-16 Andreas Schwab <schwab@suse.de>
18594
18595 [BZ #14327]
18596 * include/stdlib.h (__mktemp): Add declaration.
18597 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18598 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18599
dd930cc5
SP
186002013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18601
881ebe89
SP
18602 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18603 definitions.
18604 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18605 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18606 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18607 definitions here.
18608 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18609 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18610 definitions.
18611 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18612 and ONE.
18613 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18614 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18615 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18616 definitions.
18617 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18618 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18619 definitions.
18620 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18621
dd930cc5
SP
18622 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18623
c19a9f89
DM
186242013-01-15 David S. Miller <davem@davemloft.net>
18625
1aa61767
DM
18626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18627 trunc{,f} to libm-sysdep_routes.
18628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18630 file.
18631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18633 file.
18634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18635 file.
18636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18638 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18639 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18640 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18641 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18642 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18643 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18644
c42d5e98
DM
18645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18646 nearbyint{,f} to libm-sysdep_routes.
18647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18649 New file.
18650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18651 file.
18652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18653 New file.
18654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18655 file.
18656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18658 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18659 file.
18660 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18661 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18662 file.
18663 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18664 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18665 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18666
c19a9f89
DM
18667 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18668 libc_feholdexcept and libc_fesetenv.
18669
357679d2
MF
186702013-01-15 Mike Frysinger <vapier@gentoo.org>
18671
18672 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18673
65a82e3d
DM
186742013-01-14 David S. Miller <davem@davemloft.net>
18675
8b954ab9
DM
18676 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18677 (SPARC_ASM_VIS2_IFUNC): Likewise.
18678 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18680 use of 'siam' instruction.
18681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18682 Likewise.
18683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18684 Likewise.
18685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18686 Likewise.
18687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18692 file.
18693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18694 file.
18695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18696 file.
18697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18698 file.
18699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18704 new VIS2 routines.
18705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18708 Likewise.
18709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18714 routines to libm-sysdep_routines.
18715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18716
65a82e3d
DM
18717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18718 fdim/fdimf to libm-sysdep_routines.
18719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18720 file.
18721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18723 file.
18724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18727 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18728 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18729 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18730 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18731
e34ab705
SP
187322013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18733
2a91b573
SP
18734 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18735 to optimize copies.
18736
1066a534
SP
18737 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18740
e34ab705
SP
18741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18742 local variable MPTWO.
18743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18744 Likewise.
18745
aba5e596
MF
187462013-01-13 Mike Frysinger <vapier@gentoo.org>
18747
18748 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18749 GLOB_NOESCAPE.
18750
e557e9e5
MF
187512013-01-13 Mike Frysinger <vapier@gentoo.org>
18752
18753 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18754
0428cec9
MF
187552013-01-13 Mike Frysinger <vapier@gentoo.org>
18756
18757 * manual/pattern.texi (glob_t): Document gl_flags.
18758 (glob64_t): Likewise.
18759
8794a964
DM
187602013-01-11 David S. Miller <davem@davemloft.net>
18761
66438c3f
RM
18762 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18763 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18764 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18765 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18766 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18767 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18768 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18769 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18770 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18771 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18772 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18773 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18774 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18775
4ae4244d
DM
18776 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18777 sparc V9 rather than using V8 code.
18778 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18779 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18780
8794a964
DM
18781 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18782 Move to...
18783 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18784 Here.
18785
6270516e
RM
187862013-01-11 Roland McGrath <roland@hack.frob.com>
18787
18788 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18789 not in the main loop.
18790 * configure: Regenerated.
18791
6a57d931
JM
187922013-01-11 Joseph Myers <joseph@codesourcery.com>
18793
18794 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18795 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18796 to just #else.
18797 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18798 [!__GLIBC_HAVE_LONG_LONG] case.
18799 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18800 condition to just #else.
18801 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18802 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18803 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18804 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18805 unconditional.
18806 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18807 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18808 #elif condition to just #else.
18809 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18810 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18811 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18812 #elif condition to just #else.
18813
0e8529e9
SE
188142013-01-11 Steve Ellcey <sellcey@mips.com>
18815
18816 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18817 (EF_MIPS_ARCH_64): Fix value.
18818 (EF_MIPS_ARCH_32R2): New.
18819 (EF_MIPS_ARCH_64R2): New.
18820
740b3dbe
L
188212013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18822
18823 * Makeconfig (+link-pie-before-libc): New.
18824 (+link-pie-after-libc): Likewise.
18825 (+link-pie-tests): Likewise.
18826 (+link-pie): Rewritten.
18827 (link-before-libc): Remove $(config-LDFLAGS).
18828 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18829 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18830 (config-LDFLAGS): Renamed to ...
18831 (rtld-LDFLAGS): This.
18832 (rtld-tests-LDFLAGS): New macro.
18833 (link-libc-rpath-link): Likewise.
18834 (link-libc-tests-rpath-link): Likewise.
18835 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18836 (link-libc): Prepand $(link-libc-rpath-link).
18837 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18838 (test-program-prefix): New macro.
18839 (test-via-rtld-prefix): Likewise.
18840 (test-program-cmd): Likewise.
18841 (host-test-program-cmd): Likewise.
18842 * Makefile ($(common-objpfx)testrun.sh): Replace
18843 $(run-program-prefix) with $(test-program-prefix).
18844 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18845 $(rtld-LDFLAGS).
18846 ($(common-objpfx)shlib.lds): Likewise.
18847 (build-module-helper): Likewise.
18848 ($(common-objpfx)format.lds): Likewise.
18849 * Rules (binaries-pie-tests): New.
18850 (binaries-pie-notests): Likewise.
18851 (binaries-pie): Rewritten.
18852 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18853 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18854 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18855 (make-test-out): Replace $(host-built-program-cmd) with
18856 $(host-test-program-cmd).
18857 * config.make.in (build-hardcoded-path-in-tests): New variable.
18858 * configure.in (--enable-hardcoded-path-in-tests): New configure
18859 option.
18860 (hardcoded_path_in_tests): New AC_SUBST.
18861 * configure: Regenerated.
18862 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18863 $(built-program-cmd) with $(test-program-cmd).
18864 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18865 (test_program_cmd): This.
18866 * elf/Makefile ($(objpfx)order.out): Run test with
18867 $(test-program-prefix).
18868 ($(objpfx)order2.out): Likewise.
18869 ($(objpfx)tst-initorder.out): Likewise.
18870 ($(objpfx)tst-initorder2.out): Likewise.
18871 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18872 $(test-program-cmd).
18873 ($(objpfx)tst-array1-static.out): Likewise.
18874 ($(objpfx)tst-array2.out): Likewise.
18875 ($(objpfx)tst-array3.out): Likewise.
18876 ($(objpfx)tst-array4.out): Likewise.
18877 ($(objpfx)tst-array5.out): Likewise.
18878 ($(objpfx)tst-array5-static.out): Likewise.
18879 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18880 $(test-program-cmd).
18881 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18882 $(run-program-prefix) with $(test-program-prefix).
18883 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18884 (test_program_prefix): This.
18885 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18886 $(run-program-prefix) with $(test-program-prefix).
18887 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18888 (test_program_prefix): This.
18889 * iconvdata/tst-tables.sh: Likewise.
18890 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18891 $(run-program-prefix) with $(test-program-prefix).
18892 ($(objpfx)tst-translit.out): Likewise.
18893 ($(objpfx)tst-gettext2.out): Likewise.
18894 ($(objpfx)tst-gettext4.out): Likewise.
18895 ($(objpfx)tst-gettext6.out): Likewise.
18896 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18897 (test_program_prefix): This.
18898 * intl/tst-gettext2.sh: Likewise.
18899 * intl/tst-gettext4.sh Likewise.
18900 * intl/tst-gettext6.sh: Likewise.
18901 * intl/tst-translit.sh: Likewise.
18902 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18903 with $(test-program-cmd).
18904 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18905 $(run-program-prefix) with $(test-program-prefix).
18906 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18907 (test_program_prefix): This.
18908 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18909 $(run-program-prefix) with $(test-program-prefix).
18910 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18911 (test_program_prefix): This.
18912 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18913 * posix/Makefile ($(objpfx)globtest.out): Replace
18914 $(run-via-rtld-prefix) and $(test-wrapper) with
18915 $(test-program-prefix) and $(test-via-rtld-prefix).
18916 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18917 $(test-program-prefix).
18918 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18919 $(host-test-program-cmd).
18920 (tst-spawn-ARGS): Likewise.
18921 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18922 $(test-program-prefix).
18923 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18924 (test_via_rtld_prefix): This.
18925 (test_wrapper): Renamed to ...
18926 (test_program_prefix): This.
18927 (run_program_prefix): Replaced by test_program_prefix.
18928 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18929 (test_program_prefix): This.
18930 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18931 with $(host-test-program-cmd).
18932 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18933 $(run-program-prefix) with $(test-program-prefix).
18934 ($(objpfx)tst-printf.out): Likewise.
18935 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18936 $(test-program-cmd).
18937 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18938 (test_program_prefix): This.
18939 * stdio-common/tst-unbputc.sh: Likewise.
18940 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18941 $(run-program-prefix) with $(test-program-prefix).
18942 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18943 (test_program_prefix): This.
18944 * string/Makefile ($(objpfx)tst-svc.out): Replace
18945 $(built-program-cmd) with $(test-program-cmd).
18946
c6fe55cf
AJ
189472013-01-11 Andreas Jaeger <aj@suse.de>
18948
18949 [BZ #15003]
18950 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18951 value. Sync with Linux 3.7.
18952
9e6919c8
DM
189532013-01-10 David S. Miller <davem@davemloft.net>
18954
18955 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18956 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18957 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18958
1c9f1a02
RM
189592013-01-10 Roland McGrath <roland@hack.frob.com>
18960
18961 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18962 never set.
18963 * configure: Regenerated.
18964
b9de2dde
DM
189652013-01-10 David S. Miller <davem@davemloft.net>
18966
18967 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18968 sparc V9 rather than using V8 code.
18969 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18970 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18971
e7f68ef4
RM
189722013-01-10 Roland McGrath <roland@hack.frob.com>
18973
18974 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18975 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18976 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18977 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18978 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18979 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18980 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18981 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18982 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18983 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18984 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18985 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18986 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18987 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18988 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18989 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18990 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18991 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18992 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18993 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18994 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18995 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18996 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18997 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18998 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18999 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19000 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19001
5a47cc9c
DM
190022013-01-10 David S. Miller <davem@davemloft.net>
19003
19004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19005
4cf8f209
L
190062013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19007
19008 * posix/Makefile (tests-static): New variable.
19009 (tests): Add $(tests-static).
19010 (tst-exec-static-ARGS): New variable.
19011 (tst-spawn-static-ARGS): Likewise.
19012 * posix/tst-exec-static.c: New file.
19013 * posix/tst-spawn-static.c: Likewise.
19014 * posix/tst-exec.c: Support run directly.
19015 * posix/tst-spawn.c: Likewise.
19016
fed0faa1
JM
190172013-01-10 Joseph Myers <joseph@codesourcery.com>
19018
828beb13
JM
19019 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19020 long.
19021 * math/bits/mathcalls.h (llrint): Likewise.
19022 (llround): Likewise.
19023 * stdlib/stdlib.h (struct drand48_data): Likewise.
19024 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19025 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19026 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19027 Likewise.
19028 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19029 Likewise.
19030 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19031 (elf_greg_t): Likewise.
19032 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19033 (__jmp_buf): Likewise.
19034 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19035 definitions.
19036 (llrint): Likewise, for all definitions.
19037 (llrintl): Likewise.
19038
fed0faa1
JM
19039 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19040 Remove [__GNUC__] condition.
19041 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19042 condition to just [__USE_ISOC99].
19043 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19044
1a20cb20
L
190452013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19046
19047 [BZ #14200]
19048 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19049 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19050 defined.
19051 (_POSIX_V6_ILP32_OFF32): Likewise.
19052 (_XBS5_ILP32_OFF32): Likewise.
19053 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19054 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19055
751b85f7
SP
190562013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19057
7490eb81
SP
19058 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19059
751b85f7
SP
19060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19061 doubles __mpexp_twomm1. Adjust usage.
19062 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19063 Remove.
19064
988197f0
AS
190652013-01-10 Andreas Schwab <schwab@suse.de>
19066
19067 [BZ #14964]
19068 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19069 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19070
e83d7298
DM
190712013-01-09 David S. Miller <davem@davemloft.net>
19072
034ed64b 19073 [BZ #15003]
e83d7298
DM
19074 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19075 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19076 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19077 TCP_FASTOPEN): Define.
19078 (tcp_repair_opt): New structure.
19079 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19080 enum values.
19081 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19082 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19083 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19084 (tcp_cookie_transactions): New structure.
19085
d5e0b9bd
AB
190862013-01-09 Anton Blanchard <anton@samba.org>
19087
19088 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19089 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19090 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19091 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19092
0c07e3ea
JM
190932013-01-09 Joseph Myers <joseph@codesourcery.com>
19094
19095 * include/features.h (__USE_ANSI): Remove.
19096
232f7002
RM
190972013-01-09 Roland McGrath <roland@hack.frob.com>
19098
ad98e30c
RM
19099 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19100
232f7002
RM
19101 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19102
950c99ca
SP
191032013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19104
b5792741
SP
19105 * sysdeps/s390/fpu/libm-test-ulps: Update.
19106
47cf2278
SP
19107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19108
950c99ca
SP
19109 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19110 (__acr): Likewise.
19111 (__cpy): Likewise.
19112 (norm): Likewise.
19113 (denorm): Likewise.
19114 (__mp_dbl): Likewise.
19115 (__dbl_mp): Likewise.
19116 (add_magnitudes): Likewise.
19117 (sub_magnitudes): Likewise.
19118 (__add): Likewise.
19119 (__sub): Likewise.
19120 (__mul): Likewise.
19121 (__inv): Likewise.
19122 (__dvd): Likewise.
19123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19124 (__acr): Likewise.
19125 (__cpy): Likewise.
19126 (norm): Likewise.
19127 (denorm): Likewise.
19128 (__mp_dbl): Likewise.
19129 (__dbl_mp): Likewise.
19130 (add_magnitudes): Likewise.
19131 (sub_magnitudes): Likewise.
19132 (__add): Likewise.
19133 (__sub): Likewise.
19134 (__mul): Likewise.
19135 (__inv): Likewise.
19136 (__dvd): Likewise.
19137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19138 (__acr): Likewise.
19139 (__cpy): Likewise.
19140 (norm): Likewise.
19141 (denorm): Likewise.
19142 (__mp_dbl): Likewise.
19143 (__dbl_mp): Likewise.
19144 (add_magnitudes): Likewise.
19145 (sub_magnitudes): Likewise.
19146 (__add): Likewise.
19147 (__sub): Likewise.
19148 (__mul): Likewise.
19149 (__inv): Likewise.
19150 (__dvd): Likewise.
19151
eede9df9
JM
191522013-01-08 Joseph Myers <joseph@codesourcery.com>
19153
19154 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19155 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19156 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19157 2 && __USE_EXTERN_INLINES]: Likewise.
19158
c40ea3d9
AJ
191592013-01-08 Andreas Jaeger <aj@suse.de>
19160
19161 [BZ# 14985]
19162 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19163 Remove.
19164 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19165 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19166
2ccdea26
AB
191672013-01-07 Anton Blanchard <anton@samba.org>
19168
19169 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19170 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19171 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19172 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19173 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19174 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19175 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19176 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19178 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19179 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19180 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19181 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19182 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19183 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19184 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19185 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19186 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19187 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19188 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19189 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19190 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19191 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19192 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19193 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19194 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19195 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19196 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19197 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19198 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19199 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19201 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19202 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19203 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19204 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19205 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19206 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19207 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19208 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19209 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19210 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19211 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19212
a9708fed
JM
192132013-01-07 Joseph Myers <joseph@codesourcery.com>
19214
375607b9
JM
19215 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19216 (__MALLOC_PMT): Likewise.
19217 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19218 [__GNUC__], only on [_LIBC].
19219 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19220 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19221 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19222 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19223 forward declaration.
19224 (realloc_hook_ini): Likewise.
19225 (memalign_hook_ini): Likewise.
19226 (__libc_memalign): Do not use __MALLOC_PMT in variable
19227 declaration.
19228 (__libc_valloc): Likewise.
19229 (__libc_pvalloc): Likewise.
19230 (__libc_calloc): Likewise.
19231 (__posix_memalign): Likewise.
19232
a9708fed
JM
19233 [BZ #14996]
19234 * math/s_casinh.c: Include <float.h>.
19235 (__casinh): Do not do computation with squaring and square root
19236 for large arguments.
19237 * math/s_casinhf.c: Include <float.h>.
19238 (__casinhf): Do not do computation with squaring and square root
19239 for large arguments.
19240 * math/s_casinhl.c: Include <float.h>.
19241 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19242 (__casinhl): Do not do computation with squaring and square root
19243 for large arguments.
19244 * math/libm-test.inc (casin_test): Add more tests.
19245 (casinh_test): Likewise.
19246 * sysdeps/i386/fpu/libm-test-ulps: Update.
19247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19248
afec409a
L
192492013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19250
19251 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19252 (__x86_64_raw_data_cache_size): Likewise.
19253 (__x86_64_data_cache_size_half): Likewise.
19254 (__x86_64_raw_data_cache_size_half): Likewise.
19255 (__x86_64_shared_cache_size): Likewise.
19256 (__x86_64_raw_shared_cache_size): Likewise.
19257 (__x86_64_shared_cache_size_half): Likewise.
19258 (__x86_64_raw_shared_cache_size_half): Likewise.
19259 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19260 to ...
19261 (__x86_data_cache_size): This.
19262 (__x86_64_raw_data_cache_size): Renamed to ...
19263 (__x86_raw_data_cache_size): This.
19264 (__x86_64_data_cache_size_half): Renamed to ...
19265 (__x86_data_cache_size_half): This.
19266 (__x86_64_raw_data_cache_size_half): Renamed to ...
19267 (__x86_raw_data_cache_size_half): This.
19268 (__x86_64_shared_cache_size): Renamed to ...
19269 (__x86_shared_cache_size): This.
19270 (__x86_64_raw_shared_cache_size): Renamed to ...
19271 (__x86_raw_shared_cache_size): This.
19272 (__x86_64_shared_cache_size_half): Renamed to ...
19273 (__x86_shared_cache_size_half): This.
19274 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19275 (__x86_raw_shared_cache_size_half): This.
19276 * sysdeps/x86_64/memcpy.S: Updated.
19277 * sysdeps/x86_64/memset.S: Likewise.
19278 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19279 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19280 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19281
0b3986d0
DM
192822013-01-04 David S. Miller <davem@davemloft.net>
19283
19284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19285
e47686e9
AS
192862013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19287
d643bac1
AS
19288 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19289 1 to avoid redefinition warning.
19290 (__USE_GNU): Don't define.
19291 (init_signaling_nan): Protoize.
19292
e47686e9
AS
19293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19294
b18decba
SP
192952013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19296
fffb407f
SP
19297 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19299 (__cpymn): Likewise.
19300 (norm): Remove commented code.
19301 (denorm): Likewise.
19302 (__mp_dbl): Likewise.
19303 (__inv): Likewise.
19304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19305 (__cpymn): Likewise.
19306 (norm): Remove commented code.
19307 (denorm): Likewise.
19308 (__mp_dbl): Likewise.
19309 (__inv): Likewise.
19310
b18decba
SP
19311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19312 mp_no value for 1.0 and 2.0.
19313 (norm): Use RADIXI instead of radixi.d.
19314 (denorm): Likewise.
19315 (__mul): Use 0.0 instead of zero.d.
19316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19317 mp_no value for 1.0 and 2.0.
19318 (norm): Use RADIXI instead of radixi.d.
19319 (denorm): Likewise.
19320 (__mul): Use 0.0 instead of zero.d.
19321
cdc1c96f
JM
193222013-01-04 Joseph Myers <joseph@codesourcery.com>
19323
19324 [BZ #14994]
19325 * math/s_casinh.c (__casinh): Reduce finite argument to first
19326 quadrant then set signs of results at the end.
19327 * math/s_casinhf.c (__casinhf): Likewise.
19328 * math/s_casinhl.c (__casinhl): Likewise.
19329 * math/libm-test.inc (casin_test): Add more tests.
19330 (casinh_test): Likewise.
19331 * sysdeps/i386/fpu/libm-test-ulps: Update.
19332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19333
302913e1
SP
193342013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19335
6420d207
SP
19336 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19337
a9e48ab4
SP
19338 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19339
b7837264
SP
19340 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19341 declarations.
19342 (denorm): Likewise.
19343 (__mp_dbl): Likewise.
19344 (__inv): Likewise.
19345
f8af25d2
SP
19346 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19347 and adjust the header comment.
19348
302913e1
SP
19349 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19350 variable name from declaration.
19351
5d7dd1ca
L
193522013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19353
19354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19355 Initialize COMMON_CPUID_INDEX_7 element.
19356 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19357 (CPUID_RTM): Likewise.
19358 (HAS_RTM): Likewise.
19359 (COMMON_CPUID_INDEX_7): New enum.
19360
2f5f40f4
AS
193612013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19362
19363 [BZ #14981]
19364 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19365 size is zero, record memory as freed.
19366
4056f4a0
AJ
193672013-01-03 Andreas Jaeger <aj@suse.de>
19368
19369 * po/ia.po: Add new Interlingua translation.
19370
ab15736f 193712012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19372
19373 * locale/programs/localedef.c: Fix description of '--posix' flag.
19374
568035b7
JM
193752013-01-02 Joseph Myers <joseph@codesourcery.com>
19376
e6898b8d
JM
19377 * NEWS: Update dates in second copyright notice.
19378 * README: Update copyright dates in example.
19379 * manual/libc.texinfo: Update copyright dates.
19380 * scripts/test-installation.pl: Update copyright date in --version
19381 output.
19382
0e2f9562
JM
19383 * hurd/ctty-input.c: Fix copyright notice formatting.
19384 * hurd/ctty-output.c: Likewise.
19385 * hurd/dtable.c: Likewise.
19386 * hurd/hurd-raise.c: Likewise.
19387 * hurd/hurdprio.c: Likewise.
19388 * hurd/msgportdemux.c: Likewise.
19389 * misc/sys/file.h: Likewise.
19390 * misc/sys/ioctl.h: Likewise.
19391 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19392 * sysdeps/mach/hurd/chdir.c: Likewise.
19393 * sysdeps/mach/hurd/fchdir.c: Likewise.
19394 * sysdeps/mach/hurd/rename.c: Likewise.
19395 * sysdeps/mach/hurd/rmdir.c: Likewise.
19396 * sysdeps/mach/hurd/seekdir.c: Likewise.
19397 * sysdeps/mach/hurd/setsid.c: Likewise.
19398 * sysdeps/posix/wait3.c: Likewise.
19399
568035b7
JM
19400 * All files with FSF copyright notices: Update copyright dates
19401 using scripts/update-copyrights.
19402 * intl/plural.c: Regenerated.
19403 * locale/programs/charmap-kw.h: Likewise.
19404 * locale/programs/locfile-kw.h: Likewise.
19405
da08f647
SP
194062013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19407
0f5477af
SP
19408 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19409 four values.
19410
44e0d4c2
SP
19411 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19412 calculation loop and add branch prediction.
19413
4d55b4e5
SP
19414 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19415 check access beyond bounds of m1np.
19416
da08f647
SP
19417 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19418 MPTWO.
19419 (__inv): Remove local variable MPTWO to use the global
19420 constant.
19421 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19422 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19423 variable MPTWO.
19424 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19425 MP3HALFS static const.
19426
8e051029
DM
194272013-01-01 David S. Miller <davem@davemloft.net>
19428
19429 * po/ca.po: Update from translation team.
19430
f4cf5f2d
JM
194312013-01-01 Joseph Myers <joseph@codesourcery.com>
19432
19433 * scripts/update-copyrights: New file.
19434 * Makeconfig: Reformat copyright notice.
19435 * ctype/ctype.h: Likewise.
19436 * debug/swprintf_chk.c: Likewise.
19437 * elf/dl-cache.c: Likewise.
19438 * elf/dl-debug.c: Likewise.
19439 * elf/dl-object.c: Likewise.
19440 * grp/initgroups.c: Likewise.
19441 * hurd/Makefile: Likewise.
19442 * hurd/hurd/signal.h: Likewise.
19443 * hurd/hurdfault.c: Likewise.
19444 * hurd/hurdioctl.c: Likewise.
19445 * hurd/hurdlookup.c: Likewise.
19446 * hurd/intr-msg.c: Likewise.
19447 * iconv/gconv_open.c: Likewise.
19448 * libio/swprintf.c: Likewise.
19449 * locale/lc-ctype.c: Likewise.
19450 * locale/nl_langinfo.c: Likewise.
19451 * mach/Machrules: Likewise.
19452 * mach/Makefile: Likewise.
19453 * malloc/obstack.h: Likewise.
19454 * manual/Makefile: Likewise.
19455 * manual/tsort.awk: Likewise.
19456 * misc/bits/stab.def: Likewise.
19457 * nis/nis_print_group_entry.c: Likewise.
19458 * nis/nis_table.c: Likewise.
19459 * nis/nss_compat/compat-pwd.c: Likewise.
19460 * nis/nss_compat/compat-spwd.c: Likewise.
19461 * po/Makefile: Likewise.
19462 * posix/fnmatch.c: Likewise.
19463 * posix/regex.h: Likewise.
19464 * resolv/Makefile: Likewise.
19465 * resolv/nss_dns/dns-network.c: Likewise.
19466 * resolv/res_hconf.c: Likewise.
19467 * scripts/gen-sorted.awk: Likewise.
19468 * soft-fp/soft-fp.h: Likewise.
19469 * stdio-common/printf.h: Likewise.
19470 * stdlib/monetary.h: Likewise.
19471 * stdlib/random.c: Likewise.
19472 * stdlib/random_r.c: Likewise.
19473 * sysdeps/generic/Makefile: Likewise.
19474 * sysdeps/gnu/Makefile: Likewise.
19475 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19476 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19477 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19479 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19482 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19483 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19485 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19486 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19487 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19488 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19489 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19490 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19491 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19492 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19493 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19495 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19496 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19497 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19498 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19499 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19501 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19502 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19503 * sysdeps/mach/hurd/errnos.awk: Likewise.
19504 * sysdeps/mach/hurd/fork.c: Likewise.
19505 * sysdeps/mach/hurd/getcwd.c: Likewise.
19506 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19507 * sysdeps/mach/hurd/mmap.c: Likewise.
19508 * sysdeps/mach/hurd/utimes.c: Likewise.
19509 * sysdeps/mach/hurd/xmknod.c: Likewise.
19510 * sysdeps/posix/profil.c: Likewise.
19511 * sysdeps/posix/readdir_r.c: Likewise.
19512 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19513 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19514 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19515 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19517 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19518 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19519 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19521 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19522 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19523 * sysdeps/pthread/lio_listio.c: Likewise.
19524 * sysdeps/sparc/dl-procinfo.h: Likewise.
19525 * sysdeps/unix/i386/sysdep.S: Likewise.
19526 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19527 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19528 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19529 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19531 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19532 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19533 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19534 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19535 * sysdeps/wordsize-32/divdi3.c: Likewise.
19536 * time/sys/time.h: Likewise.
19537 * wcsmbs/Makefile: Likewise.
19538
0549fbba
DM
195392013-01-01 David S. Miller <davem@davemloft.net>
19540
a141f1a7
DM
19541 * po/fr.po: Update from translation team.
19542
0549fbba
DM
19543 * catgets/gencat.c: Update copyright year.
19544 * csu/version.c: Likewise.
19545 * debug/catchsegv.sh: Likewise.
19546 * debug/pcprofiledump.c: Likewise.
19547 * debug/xtrace.sh: Likewise.
19548 * elf/ldconfig.c: Likewise.
19549 * elf/ldd.bash.in: Likewise.
19550 * elf/pldd.c: Likewise.
19551 * elf/sotruss.ksh: Likewise.
19552 * elf/sprof.c: Likewise.
19553 * iconv/iconv_prog.c: Likewise.
19554 * iconv/iconvconfig.c: Likewise.
19555 * locale/programs/locale.c: Likewise.
19556 * locale/programs/localedef.c: Likewise.
19557 * login/programs/pt_chown.c: Likewise.
19558 * malloc/memusage.sh: Likewise.
19559 * malloc/memusagestat.c: Likewise.
19560 * malloc/mtrace.pl: Likewise.
19561 * nscd/nscd.c: Likewise.
19562 * nss/getent.c: Likewise.
19563 * nss/makedb.c: Likewise.
19564 * posix/getconf.c: Likewise.
19565
18ea052c
SP
195662012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19567
19568 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19569 numbers.
19570
9c89fca6
MF
195712012-12-30 Mike Frysinger <vapier@gentoo.org>
19572
19573 * math/bits/mathcalls.h (modf): Use __nonnull.
19574
085ec079
SP
195752012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19576
19577 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19578 (split): Use macro CN instead of the bare value.
19579 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19580 could be used.
19581 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19582 instead of the bare value.
19583 (power1): Likewise.
19584
6d9f97e1
SP
195852012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19586
d63f73be
SP
19587 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19588 __ATAN_TWOM.
19589 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19590
6d9f97e1
SP
19591 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19592 their values.
19593 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19594 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19595 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19596 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19597
4c4febf5
AJ
195982012-12-28 Andreas Jaeger <aj@suse.de>
19599
af5843ef
AJ
19600 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19601 values are from Linux 3.7.
19602
4c4febf5
AJ
19603 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19604 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19605
99136f82
SP
196062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19607
2f216c3c 19608 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19609 TRUE case.
19610
99136f82
SP
19611 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19612 (norm): Likewise.
19613 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19614 variables with preprocessor constants.
19615 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19616 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19617 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19618
7fffbdff
BH
196192012-12-27 Bruno Haible <bruno@clisp.org>
19620
19621 [BZ #14317]
19622 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19623 only if needed.
19624
b76eb5f0
SP
196252012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19626
31a7fe5c
SP
19627 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19628 and use variable directly.
19629 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19630
b76eb5f0
SP
19631 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19632 MPONE.
19633 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19634 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19635 variable MPONE.
19636 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19637 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19638 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19639 include directive. Remove local variable MPONE.
19640 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19641 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19642 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19643
2c8bfe7d
DM
196442012-12-25 David S. Miller <davem@davemloft.net>
19645
19646 * version.h (RELEASE): Set to "development".
19647 (VERSION): Set to "2.17.90".
19648 * NEWS: Add 2.18 section.
19649
147d03b0
DM
196502012-12-21 David S. Miller <davem@davemloft.net>
19651
19652 * po/hr.po: Update from translation team.
19653
a8ebb2b9
AK
196542012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19655
19656 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19657
95b4f1b6
SE
196582012-12-19 Steve Ellcey <sellcey@mips.com>
19659
b2d94007 19660 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19661
cedb2a90
MS
196622012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19663
19664 * manual/contrib.texi (Contributors): Spelling correction.
19665
bbf527d6
DM
196662012-12-15 David S. Miller <davem@davemloft.net>
19667
19668 * po/ru.po: Update from translation team.
19669
bc38c906
DM
196702012-12-13 David S. Miller <davem@davemloft.net>
19671
85429b1a
DM
19672 * NEWS: Mention IFUNC testsuite enhancements.
19673
d283e353
DM
19674 * po/pl.po: Update from translation team.
19675 * po/bg.po: Likewise.
19676
bc38c906
DM
19677 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19678 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19679
a181b0d7
DM
196802012-12-11 David S. Miller <davem@davemloft.net>
19681
4641d57e
DM
19682 * po/sv.po: Update from translation team.
19683
f7bc6495
DM
19684 * po/vi.po: Update from translation team.
19685
6fc9048f
DM
19686 * po/cs.po: Update from translation team.
19687
a181b0d7
DM
19688 * po/de.po: Update from translation team.
19689 * po/eo.po: Likewise.
19690 * po/nl.po: Likewise.
19691
f70bfe80
SP
196922012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19693
3c8b4190
SP
19694 [BZ #14246]
19695 * manual/argp.texi (Argp Helper Functions): Move node to follow
19696 Argp Parsing State.
19697
f70bfe80
SP
19698 [BZ #14872]
19699 * manual/conf.texi (Limits on File System Capacity): Mention if
19700 terminating null is included in the max size.
19701
188f0adf
AJ
197022012-12-10 Andreas Jaeger <aj@suse.de>
19703
19704 * po/cs.po: Update from translation team.
19705
56e7d3ad
SP
197062012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19707
19708 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19709 void pointer and cast to uintptr_t.
19710 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19711 path.
19712 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19713 * sysdeps/s390/s390-64/memset.S: Likewise.
19714
76f2d2ea 197152012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19716
19717 [BZ #14833]
19718 * menual/message.texi (Message Translation): Fix typos.
19719 (Helper programs for gettext): Likewise.
19720
67cbf9a2
AS
197212012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19722
19723 [BZ #14898]
19724 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19725 Change to -1.
19726
682d0e9a
DM
197272012-12-07 David S. Miller <davem@davemloft.net>
19728
19729 * po/libc.pot: Update.
19730
573cd484
RH
197312012-12-07 Richard Henderson <rth@redhat.com>
19732
7e9da188 19733 [BZ #10114]
573cd484
RH
19734 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19735 normal/normal case to before the switch.
19736 (_FP_DIV): Likewise.
19737
e933a943
MF
197382012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19739 Mike Frysinger <vapier@gentoo.org>
19740
19741 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19742 check for __NR_fadvise64_64.
19743
82123268
CM
197442012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19745
19746 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19747 0, not just to plain "0" as a statement.
19748 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19749 with cw.
19750
d9814526
JM
197512012-12-06 Joseph Myers <joseph@codesourcery.com>
19752
19753 * NEWS: Use sourceware.org in Bugzilla URL.
19754
7728c574
SP
197552012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19756
f16946dd
SP
19757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19758 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19759
5704bbcb
SP
19760 * stdio-common/tst-put-error.c (do_test): Add newline to the
19761 padded test to ensure flush.
19762
17aa0516
JL
197632012-12-05 Jeff Law <law@redhat.com>
19764
19765 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19766
363313b5
JM
197672012-12-05 Joseph Myers <joseph@codesourcery.com>
19768
effbd42a
JM
19769 * README: Don't refer to ports add-on as distributed separately.
19770 Mention AArch64 in list of systems supported in the ports add-on.
19771
87600365
JM
19772 * LICENSES: Add more non-FSF copyright and license notices.
19773
a0d7066a
JM
19774 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19775 ((unused)).
19776
66ca5a5b
JM
19777 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19778
363313b5
JM
19779 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19780 10000 as width of padded output.
19781
b37984ad
JM
197822012-12-04 Joseph Myers <joseph@codesourcery.com>
19783
9003570a
JM
19784 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19785
b37984ad
JM
19786 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19787 variable LX with __attribute__ ((unused)).
19788 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19789 Likewise.
19790 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19792 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19793 with __attribute__ ((unused)).
19794
c8df52ec
DM
197952012-12-04 David S. Miller <davem@abraco.davemloft.net>
19796
19797 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19798
b3b099af
JM
197992012-12-04 Joseph Myers <joseph@codesourcery.com>
19800
c33aa6e3
JM
19801 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19802 (CFLAGS-nldbl-acos.c): New variable.
19803 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19804 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19805 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19806 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19807 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19808 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19809 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19810 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19811 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19812 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19813 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19814 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19815 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19816 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19817 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19818 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19819 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19820 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19821 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19822 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19823 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19824 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19825 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19826 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19827 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19828 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19829 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19830 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19831 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19832 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19833 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19834 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19835 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19836 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19837 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19838 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19839 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19840 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19841 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19842 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19843 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19844 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19845 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19846 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19847 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19848 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19849 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19850 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19851 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19852 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19853 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19854 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19855 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19856 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19857 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19858 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19859 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19860 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19861 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19862 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19863 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19864 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19865 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19866 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19867 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19868 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19869 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19870 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19871 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19872 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19873 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19874 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19875 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19876 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19877 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19878 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19879 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19880 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19881 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19882 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19883 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19884 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19885 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19886 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19887 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19888 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19889 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19890 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19891 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19892 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19893 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19894 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19895 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19896 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19897 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19898 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19899 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19900
20f0018d
JM
19901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19902 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19903
b3b099af
JM
19904 [BZ #14914]
19905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19906 whole low double instead of just low 47 bits when splitting values
19907 into two parts.
19908
029264d1
AM
199092012-12-03 Allan McRae <allan@archlinux.org>
19910
19911 * manual/stdio.texi (Predefined Printf Handlers): Remove
19912 @hsep and @vsep usage.
19913
c9d6789e
MF
199142012-12-03 Mike Frysinger <vapier@gentoo.org>
19915
19916 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19917 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19918
4b7634a5
JL
199192012-12-03 Jeff Law <law@redhat.com>
19920
19921 * time/sys/time.h (settimeofday): Do not mark TV argument
19922 as __nonnull.
19923
eb6cbd24
MF
199242012-12-01 Mike Frysinger <vapier@gentoo.org>
19925
19926 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19927 when currently writing and seek to current position when not.
19928 * libio/Makefile (tests): Remove bug-fclose1.
19929 * libio/bug-fclose1.c: Delete.
19930
f638872a
JM
199312012-12-01 Joseph Myers <joseph@codesourcery.com>
19932
19933 * manual/arith.texi (feenableexcept): Fix typo.
19934 (fedisableexcept): Likewise.
19935
48085d14
RM
199362012-11-30 Roland McGrath <roland@hack.frob.com>
19937
19938 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19939 second, differently-typed declaration, rather than a cast.
19940
1a538b9f
SP
199412012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19942
19943 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19944 * include/rpc/svc.h: ... here.
19945
d07f2ff1 199462012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19947
19948 [BZ #13013]
19949 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19950 depending n and resplen2 to catch cases where answer
19951 equals answerp2.
19952
c93ec1f0
CD
199532012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19954
19955 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19956 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19957
37db69de
MF
199582012-11-29 Mike Frysinger <vapier@gentoo.org>
19959
19960 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19961
e10c4e4f
RM
199622012-11-29 Roland McGrath <roland@hack.frob.com>
19963
19964 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19965
2af1b328
JL
199662012-11-28 Jeff Law <law@redhat.com>
19967
19968 [BZ #13761]
19969 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19970 dataset_temporary. Track alloca usage into alloca_used.
19971 If dataset is large allocate and release it via malloc/free.
19972
111db5b1
FW
199732012-06-04 Florian Weimer <fweimer@redhat.com>
19974
f06cc227 19975 [BZ #14197]
111db5b1
FW
19976 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19977
dd694abd
DM
199782012-11-28 David S. Miller <davem@davemloft.net>
19979
19980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19981
9984dd01
JM
199822012-11-28 Joseph Myers <joseph@codesourcery.com>
19983
19984 [BZ #14803]
19985 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19986 of pi/2 rounded to nearest to 64 bits.
19987 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19988 nearest to 64 bits.
19989 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19990 bits.
19991
14bc93a9
JL
199922012-11-28 Jeff Law <law@redhat.com>
19993 Martin Osvald <mosvald@redhat.com>
19994
19995 [BZ #14889]
19996 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19997 * sunrpc/svc.c: Include time.h.
19998 (__svc_accept_failed): New function.
19999 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20000 any reason other than EINTR, call __svc_accept_failed.
20001 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20002 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20003
e3c6aa3a
AS
200042012-11-28 Andreas Schwab <schwab@suse.de>
20005
20006 * scripts/abilist.awk: Also handle indirect functions in .opd
20007 section.
20008
1bead169
JM
200092012-11-28 Joseph Myers <joseph@codesourcery.com>
20010
20011 [BZ #13881]
20012 * sysdeps/x86/fpu/powl_helper.c: New file.
20013 * sysdeps/x86/fpu/Makefile: Likewise.
20014 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20015 (p3): New object.
20016 (__ieee754_powl): Use __powl_helper for finite arguments except
20017 integer exponents below 8.
20018 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20019 (p3): New object.
20020 (__ieee754_powl): Use __powl_helper for finite arguments except
20021 integer exponents below 8.
20022 * math/libm-test.inc (pow_test): Add more tests and enable some
20023 previously disabled tests.
20024 * sysdeps/i386/fpu/libm-test-ulps: Update.
20025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20026
0817d63d
SP
200272012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20028 Carlos O'Donell <carlos_odonell@mentor.com>
20029
20030 * nss/makedb.c (is_prime): Assert that input is odd and greater
20031 than 4. Note that fact in a comment too.
20032 (next_prime): Add 4 to input.
20033
de2fd463
SP
200342012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20035
20036 [BZ #11741]
20037 * libio/Makefile (tests): Add test case tst-fwrite-error.
20038 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20039 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20040 * libio/tst-fwrite-error.c: New test case.
20041
c515fb51
L
200422012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20043
20044 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20045 before casting to void *.
20046 * include/libc-internal.h (__pointer_type): New macro.
20047 (__integer_if_pointer_type_sub): Likewise.
20048 (__integer_if_pointer_type): Likewise.
20049 (cast_to_integer): Likewise.
20050 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20051 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20052 before casting to atomic64_t.
20053 (atomic_exchange_acq): Likewise.
20054 (__arch_exchange_and_add_body): Likewise.
20055 (__arch_add_body): Likewise.
20056 (atomic_add_negative): Likewise.
20057 (atomic_add_zero): Likewise.
20058
4cf77aa9
JM
200592012-11-26 Joseph Myers <joseph@codesourcery.com>
20060
20061 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20062 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20063 (add_fdes): Likewise.
20064 (linear_search_fdes): Likewise.
20065 (binary_search_unencoded_fdes): Likewise.
20066
d260b3b4
AS
200672012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20068
20069 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20070
67060746
AC
200712012-11-24 Adam Conrad <adconrad@0c3.net>
20072
20073 * configure.in: Autodetect C++ header directories.
20074 * configure: Regenerated.
20075
800938a1
MF
200762012-11-23 Mike Frysinger <vapier@gentoo.org>
20077
20078 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20079
4e6e34e6
AS
200802012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20081
20082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20083
7c7feb47
JM
200842012-11-22 Joseph Myers <joseph@codesourcery.com>
20085
7184dcdf
JM
20086 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20087 LDBL_MANT_DIG == 106]: Disable some tests.
20088 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20089 Likewise.
20090 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20091 Likewise.
20092
0a42601f
JM
20093 [BZ #14871]
20094 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20095 input for small inputs. Return +/- pi/2 for large inputs.
20096 * math/libm-test.inc (atan_test): Add more tests.
20097
79c9b9fe
JM
20098 * sysdeps/generic/unwind-dw2-fde-glibc.c
20099 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20100 __attribute__ ((unused)).
20101
c60d3bf2
JM
20102 [BZ #14645]
20103 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20104 x * y if x and y are nonzero and z is zero.
20105
ef1e0867
JM
20106 [BZ #14811]
20107 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20108 nonzero exponents with absolute value below 0x1p-117 to +/-
20109 0x1p-117.
20110
1468ded3
JM
20111 [BZ #14869]
20112 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20113 up arguments below 2**-450, not just those below 2**-500.
20114 * math/libm-test.inc (hypot_test): Add another test.
20115
8e27e3cc
JM
20116 [BZ #14868]
20117 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20118 Return a+b for ratio over 2**120, not 2**60.
20119 * math/libm-test.inc (hypot_test): Add another test.
20120
c9c0279b
JM
20121 * math/libm-test.inc (clog_test): Use
20122 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20123 (clog10_test): Likewise.
20124
7c7feb47
JM
20125 [BZ #6778]
20126 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20127
fff1530e
AS
201282012-11-22 Andreas Schwab <schwab@suse.de>
20129
20130 * sysdeps/i386/fpu/libm-test-ulps: Update.
20131
94558d30
PT
201322012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20133
20134 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20135 printf output with newline.
20136
7e1be741
L
201372012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20138
6bfea974
L
20139 [BZ #14865]
20140 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20141 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20142 -z nodlopen, -z initfirst and -z execstack support.
20143 * configure: Regenerated.
20144
7e1be741
L
20145 * elf/elf.h (DF_1_NODIRECT): New macro.
20146 (DF_1_IGNMULDEF): Likewise.
20147 (DF_1_NOKSYMS): Likewise.
20148 (DF_1_NOHDR): Likewise.
20149 (DF_1_EDITED): Likewise.
20150 (DF_1_NORELOC): Likewise.
20151 (DF_1_SYMINTPOSE): Likewise.
20152 (DF_1_GLOBAUDIT): Likewise.
20153 (DF_1_SINGLETON): Likewise.
20154 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20155 DT_1_SUPPORTED_MASK bits.
20156 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20157
105ce2ce
CD
201582012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20159
20160 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20161
123be9de
TS
201622012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20163
d072f3f7
TS
20164 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20165 macro.
20166
123be9de
TS
20167 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20168 (sendmmsg): Move declarations...
20169 * socket/sys/socket.h: ... here.
20170 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20171 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20172 include it from...
20173 * socket/recvmmsg.c: ... this new file.
20174 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20175 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20176 definition of __sendmmsg hidden.
20177 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20178 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20179 Move ENOSYS stub into and include it from...
20180 * socket/sendmmsg.c: ... this new file.
20181 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20182 (sysdep_routines): Move recvmmsg and sendmmsg...
20183 * socket/Makefile (routines): ... here.
20184 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20185 (GLIBC_PRIVATE): Add __sendmmsg.
20186 * include/sys/socket.h (__sendmmsg): Add declarations.
20187 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20188 sendmmsg.
20189
cf9a5d18
JM
201902012-11-20 Joseph Myers <joseph@codesourcery.com>
20191
20192 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20193 variable I1 with __attribute__ ((unused)).
20194 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20195
ecd4caf9
JM
201962012-11-19 Joseph Myers <joseph@codesourcery.com>
20197
be14d48f
JM
20198 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20199 DUMMY variables with __attribute__ ((unused)).
20200
ecd4caf9
JM
20201 * bits/byteswap.h: Include <bits/types.h>.
20202 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20203
986cab95
PT
202042012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20205
20206 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20207 string_t. Do not manually set errno.
20208 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20209 length with __strnlen. Make sure to both set errno and return it on
20210 failure.
20211
6d33cc9d
DM
202122012-11-19 David S. Miller <davem@davemloft.net>
20213
20214 With help from Joseph Myers.
20215 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20216 very large arguments properly.
20217 * math/libm-test.inc (atan_test): New tests.
20218 (atan2_test): New tests.
20219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20221
ee663277
JM
202222012-11-19 Joseph Myers <joseph@codesourcery.com>
20223
877f2d8e
JM
20224 [BZ #14856]
20225 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20226 Define to 3.
20227
116fc08a
JM
20228 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20229 [POSIX] (EADDRNOTAVAIL): Likewise.
20230 [POSIX] (EAFNOSUPPORT): Likewise.
20231 [POSIX] (EALREADY): Likewise.
20232 [POSIX] (ECONNABORTED): Likewise.
20233 [POSIX] (ECONNREFUSED): Likewise.
20234 [POSIX] (ECONNRESET): Likewise.
20235 [POSIX] (EDESTADDRREQ): Likewise.
20236 [POSIX] (EDQUOT): Likewise.
20237 [POSIX] (EHOSTUNREACH): Likewise.
20238 [POSIX] (EIDRM): Likewise.
20239 [POSIX] (EISCONN): Likewise.
20240 [POSIX] (ELOOP): Likewise.
20241 [POSIX] (EMULTIHOP): Likewise.
20242 [POSIX] (ENETDOWN): Likewise.
20243 [POSIX] (ENETUNREACH): Likewise.
20244 [POSIX] (ENOBUFS): Likewise.
20245 [POSIX] (ENODATA): Likewise.
20246 [POSIX] (ENOLINK): Likewise.
20247 [POSIX] (ENOMSG): Likewise.
20248 [POSIX] (ENOPROTOOPT): Likewise.
20249 [POSIX] (ENOSR): Likewise.
20250 [POSIX] (ENOSTR): Likewise.
20251 [POSIX] (ENOTCONN): Likewise.
20252 [POSIX] (ENOTSOCK): Likewise.
20253 [POSIX] (EOPNOTSUPP): Likewise.
20254 [POSIX] (EOVERFLOW): Likewise.
20255 [POSIX] (EPROTO): Likewise.
20256 [POSIX] (EPROTONOSUPPORT): Likewise.
20257 [POSIX] (EPROTOTYPE): Likewise.
20258 [POSIX] (ESTALE): Likewise.
20259 [POSIX] (ETIME): Likewise.
20260 [POSIX] (ETXTBSY): Likewise.
20261 [POSIX] (EWOULDBLOCK): Likewise.
20262 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20263 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20264 [POSIX] (SEEK_CUR): Likewise.
20265 [POSIX] (SEEK_END): Likewise.
20266 [POSIX || UNIX98] (mode_t): Do not require.
20267 [POSIX] (off_t): Likewise.
20268 [POSIX] (pid_t): Likewise.
20269 [POSIX] (sys/stat.h): Do not allow header.
20270 [POSIX] (unistd.h): Likewise.
20271 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20272 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20273 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20274 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20275 require.
20276 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20277 sigevent): Specify elements.
20278 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20279 entry.
20280 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20281 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20282
a483863f
JM
20283 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20284 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20285 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20286 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20287 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20288 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20289 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20290 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20291 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20292 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20293 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20294 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20295 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20296 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20297 Likewise.
20298 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20299 Likewise.
20300 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20301 Likewise.
20302 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20303 Likewise.
20304 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20305 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20306 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20307 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20308 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20309 Specify lower bound on value.
20310 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20311 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20312 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20313 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20314 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20315 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20316 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20317 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20318 value.
20319 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20320 as optional.
20321 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20322 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20323 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20324 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20325 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20326 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20327 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20328 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20329 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20330 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20331 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20332 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20333 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20334 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20335 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20336 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20337 entry.
20338 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20339 optional.
20340 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20341 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20342 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20343 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20344 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20345 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20346 Likewise.
20347 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20348 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20349 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20350 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20351 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20352 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20353 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20354 as optional.
20355 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20356 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20357 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20358 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20359 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20360 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20361 specify as optional.
20362 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20363 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20364 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20365 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20366 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20367 [XPG3] (NL_LANGMAX): Likewise.
20368 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20369 [POSIX || XPG3] (NL_NMAX): Likewise.
20370 [POSIX || XPG3] (NL_SETMAX): Likewise.
20371 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20372 [XPG3] (NZERO): Likewise.
20373 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20374 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20375 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20376 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20377 (REG_ERANGE): Expect.
20378 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20379 optional-constant.
20380 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20381 Use (void) in prototype.
20382 [POSIX] (*_t): Allow.
20383 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20384 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20385 (WRDE_BADVAL): Expect.
20386
5ba924e3
JM
20387 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20388 expect.
20389 [XPG3 || XPG4] (O_RSYNC): Likewise.
20390 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20391 Likewise.
20392 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20393 [XPG3 || XPG4] (sigqueue): Likewise.
20394 [XPG3 || XPG4] (sigtimedwait): Likewise.
20395 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20396 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20397 [XPG3 || XPG4] (vsnprintf): Likewise.
20398 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20399 Likewise.
20400 [XPG3 || XPG4] (blksize_t): Likewise.
20401 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20402 Likewise.
20403 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20404 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20405 [XPG3 || XPG4] (struct itimerspec): Likewise.
20406 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20407 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20408 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20409 [XPG3 || XPG4] (clockid_t): Likewise.
20410 [XPG3 || XPG4] (timer_t): Likewise.
20411 [XPG3 || XPG4] (clock_getres): Likewise.
20412 [XPG3 || XPG4] (clock_gettime): Likewise.
20413 [XPG3 || XPG4] (clock_settime): Likewise.
20414 [XPG3 || XPG4] (nanosleep): Likewise.
20415 [XPG3 || XPG4] (timer_create): Likewise.
20416 [XPG3 || XPG4] (timer_delete): Likewise.
20417 [XPG3 || XPG4] (timer_gettime): Likewise.
20418 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20419 [XPG3 || XPG4] (timer_settime): Likewise.
20420 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20421 [XPG3 || XPG4] (getlogin_r): Likewise.
20422 [XPG3 || XPG4] (pread): Likewise.
20423 [XPG3 || XPG4] (pthread_atfork): Likewise.
20424 [XPG3 || XPG4] (pwrite): Likewise.
20425
ee663277
JM
20426 [BZ #14835]
20427 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20428 <bits/siginfo.h>.
20429
942caa16
PT
204302012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20431
e19af380
PT
20432 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20433 finalizing MALLSTREAM.
20434
942caa16
PT
20435 * sysdeps/mach/hurd/syncfs.c: New file.
20436
cfde9b46
SP
204372012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20438
20439 [BZ #14719]
20440 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20441 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20442 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20443 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20444 (_nss_dns_gethostbyname4_r): Likewise.
20445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20446 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20447
f6da27e5
PH
204482012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20449
20450 [BZ #13763]
20451 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20452
6665d4a2
SM
204532012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20454
1f51ee92
SM
20455 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20456 * elf/cache.c (print_entry): Print ",AArch64" for
20457 FLAG_AARCH64_LIB64
20458
6665d4a2
SM
20459 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20460 * elf/cache.c (print_entry): Print ",hard-float" for
20461 FLAG_ARM_LIBHF.
20462
05b227bd
DM
204632012-11-18 David S. Miller <davem@davemloft.net>
20464
20465 With help from Joseph Myers.
20466 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20467 cutoff to 2**-13.
20468 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20469 cutoff to 2**-25.
20470 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20471 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20472 small.
20473 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20474 * math/libm-test.inc (y0_test): New tests.
20475 (y1_test): New tests.
20476 * sysdeps/i386/fpu/libm-test-ulps: Update.
20477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20479
786b0b67
AS
204802012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20481
20482 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20483 64-bit targets.
20484 * configure: Regenerated.
20485
8e18b86d
DM
204862012-11-17 David S. Miller <davem@davemloft.net>
20487
20488 [BZ #14811]
20489 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20490 nonzero exponents with absolute value below 0x1p-128 to +/-
20491 0x1p-128.
20492
531f1ae0
JM
204932012-11-17 Joseph Myers <joseph@codesourcery.com>
20494
12df29e2
JM
20495 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20496
150dc1a0
JM
20497 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20498
531f1ae0
JM
20499 * posix/getconf-speclist.c: New file.
20500 * posix/posix-envs.def: Likewise.
20501 * posix/confstr.c (START_ENV_GROUP): New macro.
20502 (END_ENV_GROUP): Likewise.
20503 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20504 (KNOWN_PRESENT_ENV_STRING): Likewise.
20505 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20506 (UNKNOWN_ENVIRONMENT): Likewise.
20507 (confstr): Include posix-envs.def instead of handling
20508 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20509 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20510 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20511 (END_ENV_GROUP): Likewise.
20512 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20513 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20514 (UNKNOWN_ENVIRONMENT): Likewise.
20515 (__sysconf): Include posix-envs.def instead of handling associated
20516 cases directly here.
20517 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20518 preprocessing getconf-speclist.c rather than running getconf or
20519 generating empty file.
20520
a93f9cbc
PT
205212012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20522
20523 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20524
d64d9f87
AL
205252012-11-16 Andrej Lajovic <natrij@gmail.com>
20526
20527 [BZ #14672]
20528 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20529
447885eb
DM
205302012-11-16 David S. Miller <davem@davemloft.net>
20531
20532 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20533 smaller than LDBL_EPSILON/2.0L, just return xm1.
20534
bcbf9830
L
205352012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20536
20537 * elf/tst-array1.c (init): Set constructor priority to 1000.
20538 (fini): Set destructor priority to 1000.
20539 * elf/tst-array2dep.c: Likewise.
20540
2b766585
SP
205412012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20542
20543 [BZ #11741]
20544 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20545 (_IO_new_file_xsputn): Also return EOF if none of the input
20546 data was written when overflow failed.
20547 * libio/iopadn.c (_IO_padn): Likewise.
20548 * libio/iowpadn.c (_IO_wpadn): Likewise.
20549 * stdio-common/tst-put-error.c: Add copyright notice.
20550 (do_test): Add case for printing padded string.
20551 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20552 _IO_padn returned error.
20553 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20554 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20555 return EOF.
20556
b1848fde
SP
205572012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20558
20559 * libio/libioP.h: Add comment note that the references to C++
20560 bits are now obsolete.
20561
2fd89785
MS
205622012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20563
20564 * math/libm-test.inc (check_complex): Use asprintf.
20565
e3ea5409
JM
205662012-11-14 Joseph Myers <joseph@codesourcery.com>
20567
20568 * debug/pcprofiledump.c (print_version): Update copyright year.
20569 * malloc/memusagestat.c (print_version): Likewise.
20570
2e64d265
L
205712012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20572
20573 [BZ #14831]
20574 * elf/Makefile (tests): Add tst-audit8.
20575 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20576 ($(objpfx)tst-audit8.out): New target.
20577 (tst-audit8-ENV): New variable.
20578 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20579 audit if l_reloc_result is NULL.
20580 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20581 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20582 * elf/tst-audit8.c: New file.
20583
c485e4d2
MS
205842012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20585
20586 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20587 * misc/Makefile (CFLAGS-select.c): Define.
20588 * posix/Makefile (CFLAGS-pause.c): Define.
20589
3a0d900a
DM
205902012-11-13 David S. Miller <davem@davemloft.net>
20591
20592 * crypt/Makefile: Move test targets after toplevel Rules
20593 inclusion. Grab any necessary sysdep routines when linking.
20594 * crypt/md5.c (md5_process_block): Remove define, we will always
20595 name it __md5_process_block.
20596 (md5_finish_ctx): Update md5_process_block call.
20597 (md5_stream): Likewise.
20598 (md5_process_bytes): Likewise.
20599 (md5_process_block): Rename to __md5_process_block and move to ...
20600 * crypt/md5-block.c: ... here.
20601 * crypt/sha256.c (sha256_process_block): Move to ...
20602 * crypt/sha256-block.c: ... here.
20603 * crypt/sha512.c (sha512_process_block): Move to ...
20604 * crypt/sha512-block.c: ... here.
20605 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20606 path.
20607 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20608 * sysdeps/sparc/sparc64/multiarch/Makefile
20609 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20610 crypt subdir.
20611 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20612 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20613 multiarch changes.
20614 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20615 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20616 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20617 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20618 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20619 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20620 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20621 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20622 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20623 file.
20624 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20625 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20626 file.
20627 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20628
8ca89318
JM
206292012-11-13 Joseph Myers <joseph@codesourcery.com>
20630
e27d476a
JM
20631 * timezone/tzselect.ksh: Update from tzcode git revision
20632 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20633 * timezone/zdump.c: Likewise.
20634 * timezone/zic.c: Likewise.
20635 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20636 in TZVERSION setting, not $(PKGVERSION).
20637 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20638 REPORT_BUGS_TO settings.
20639
8ca89318
JM
20640 [BZ #14838]
20641 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20642 macro.
20643
47594329
MS
206442012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20645
20646 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20647 detection to immediately after _FP_ROUND().
20648 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20649 bits are 0.
20650
640ac3f1
DM
206512012-11-11 David S. Miller <davem@davemloft.net>
20652
20653 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20654 inttypes.h
20655 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20656 __close rather than their public counterparts.
20657
3d2577bb
JM
206582012-11-10 Joseph Myers <joseph@codesourcery.com>
20659
20660 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20661 file.
20662 [UNIX98] (sem_timedwait): Do not expect.
20663 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20664 [XPG4 || UNIX98] (sockatmark): Do not expect.
20665 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20666 (clock_getcpuclockid): Do not expect.
20667 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20668 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20669 Do not expect.
20670 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20671 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20672 [UNIX98] (vwscanf): Likewise.
20673 [UNIX98] (vswscanf): Likewise.
20674
fb1ae1ee
JM
206752012-11-09 Joseph Myers <joseph@codesourcery.com>
20676
9ec6f8bd
JM
20677 * timezone/version.h: Remove file.
20678 * timezone/README: Do not refer to version.h.
20679 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20680 $(objpfx)version.h.
20681 ($(objpfx)zdump.o): Likewise.
c3f81911 20682 ($(objpfx)version.h): New target.
9ec6f8bd 20683
0aa8f8a1
JM
20684 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20685 2012i.
20686 * timezone/README: Don't mention modification to tzselect.ksh.
20687 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20688 work on unmodified tzselect.ksh. Substitute version numbers in
20689 tzselect.ksh.
20690
4e87147f
JM
20691 * Makefile (format-me): Remove.
20692 (INSTALL): Adjust indentation. Use commands directly instead of
20693 using $(format-me).
20694
8b748aed
JM
20695 * aclocal.m4 (ACX_PKGVERSION): New macro.
20696 (ACX_BUGURL): Likewise.
20697 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20698 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20699 (REPORT_BUGS_TO): Likewise.
20700 * configure: Regenerated.
20701 * config.h.in (PKGVERSION): New macro.
20702 (REPORT_BUGS_TO): Likewise.
20703 * config.make.in (PKGVERSION): New variable.
20704 (PKGVERSION_TEXI): Likewise.
20705 (REPORT_BUGS_TO): Likewise.
20706 (REPORT_BUGS_TEXI): Likewise.
20707 * Makefile (format-me): Use -I$(common-objpfx)manual.
20708 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20709 ($(common-objpfx)manual/%): New target.
20710 (manual/%): Remove target.
20711 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20712 (print_version): Use PKGVERSION.
20713 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20714 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20715 and REPORT_BUGS_TO.
20716 ($(objpfx)xtrace): Likewise.
20717 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20718 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20719 (print_version): Use PKGVERSION.
20720 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20721 (do_version): Use PKGVERSION.
20722 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20723 REPORT_BUGS_TO.
20724 (common-ldd-rewrite): Likewise.
20725 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20726 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20727 (print_version): Use PKGVERSION.
20728 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20729 * elf/pldd.c (argp_program_bug_address): Remove variable.
20730 (more_help): New function.
20731 (argp): Use more_help.
20732 (print_version): Use PKGVERSION.
20733 * elf/sln.c (main): Use PKGVERSION.
20734 (usage): Use REPORT_BUGS_TO.
20735 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20736 (top level): Use PKGVERSION.
20737 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20738 (print_version): Use PKGVERSION.
20739 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20740 (print_version): Use PKGVERSION.
20741 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20742 (print_version): Use PKGVERSION.
20743 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20744 (print_version): Use PKGVERSION.
20745 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20746 (print_version): Use PKGVERSION.
20747 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20748 (print_version): Use PKGVERSION.
20749 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20750 and BUGURL.
20751 ($(objpfx)memusage): Likewise.
20752 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20753 (do_version): Use PKGVERSION.
20754 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20755 (print_version): Use PKGVERSION.
20756 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20757 ($PKGVERSION): New variable.
20758 ($REPORT_BUGS_TO): Likewise.
20759 (usage): Use $REPORT_BUGS_TO.
20760 (top level): Use $PKGVERSION.
20761 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20762 ($(objpfx)pkgvers.texi): New rule.
20763 ($(objpfx)stamp-pkgvers): Likewise.
20764 * manual/install.texi: Include pkgvers.texi.
20765 (--with-pkgversion): Document new configure option.
20766 (--with-bugurl): Likewise.
20767 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20768 than necessarily for this particular distribution. Use
20769 REPORT_BUGS_TO for where to report bugs.
20770 * INSTALL: Regenerated.
20771 * manual/libc.texinfo: Include pkgvers.texi.
20772 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20773 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20774 (print_version): Use PKGVERSION.
20775 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20776 (print_version): Use PKGVERSION.
20777 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20778 (print_version): Use PKGVERSION.
20779 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20780 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20781 macro.
20782 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20783 (print_version): Use PKGVERSION.
20784 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20785 (print_version): Use PKGVERSION.
20786 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20787 and PKGVERSION.
20788
92e4b6a9
JM
20789 * timezone/checktab.awk: Update from tzcode 2012i.
20790 * timezone/ialloc.c: Likewise.
20791 * timezone/private.h: Likewise.
20792 * timezone/scheck.c: Likewise.
20793 * timezone/tzfile.h: Likewise.
20794 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20795 (TZVERSION): Hardcode tzcode version number.
20796 * timezone/zdump.c: Update from tzcode 2012i.
20797 * timezone/zic.c: Likewise.
20798 * timezone/version.h: New file.
20799 * timezone/README: Describe version.h. Update upstream location.
20800
9bde902c
JM
20801 [BZ #14824]
20802 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20803 (mktemp): Enable declaration.
20804 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20805 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20806 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20807 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20808 Likewise.
20809 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20810 Likewise.
20811 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20812 Likewise.
20813 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20814 Likewise.
20815 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20816 Likewise.
20817 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20818 Likewise.
20819
fb1ae1ee
JM
20820 [BZ #14821]
20821 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20822 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20823 for copies of such integer values.
20824 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20825 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20826
2c1adbcb
AJ
208272012-11-09 Andreas Jaeger <aj@suse.de>
20828
20829 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20830 definitions and declarations that are provided by
20831 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20832
d0f8457e
AK
208332012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20834
3a235abb 20835 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20836 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20837 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20838 definition.
20839
57241e26
MS
208402012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20841
20842 * elf/elf.h: Update comment before AArch64 relocations.
20843
60e8270d
DM
208442012-11-07 David S. Miller <davem@davemloft.net>
20845
20846 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20847 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20848 (__start_context): Declare.
20849 (__makecontext_ret): Delete.
20850 (__makecontext): Hook up __start_context instead of
20851 __makecontext_ret.
20852 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20853 (sysdep_routines): Add __start_context when in stdlib.
20854
0fbb0fbc
JM
208552012-11-07 Joseph Myers <joseph@codesourcery.com>
20856
20857 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20858 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20859 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20860 hardcoded "nm".
20861 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20862 (READELF): New variable. Use it instead of hardcoded "readelf".
20863
eb48db7e
L
208642012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20865
20866 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20867 * sysdeps/x86/Makefile: Here.
20868 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20869 * sysdeps/x86/tst-xmmymm.sh: This.
20870
05bcf62a
JM
208712012-11-07 Joseph Myers <joseph@codesourcery.com>
20872
c4b6cf53
JM
20873 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20874 expectations.
20875 [UNIX98] (pthread_barrier_t): Do not expect.
20876 [UNIX98] (pthread_barrierattr_t): Likewise.
20877 [UNIX98] (pthread_spinlock_t): Likewise.
20878 [UNIX98] (pthread_barrier_destroy): Likewise.
20879 [UNIX98] (pthread_barrier_init): Likewise.
20880 [UNIX98] (pthread_barrier_wait): Likewise.
20881 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20882 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20883 [UNIX98] (pthread_barrierattr_init): Likewise.
20884 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20885 [UNIX98] (pthread_getcpuclockid): Likewise.
20886 [UNIX98] (pthread_mutex_timedlock): Likewise.
20887 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20888 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20889 [UNIX98] (pthread_sigmask): Likewise.
20890 [UNIX98] (pthread_spin_destroy): Likewise.
20891 [UNIX98] (pthread_spin_init): Likewise.
20892 [UNIX98] (pthread_spin_lock): Likewise.
20893 [UNIX98] (pthread_spin_trylock): Likewise.
20894 [UNIX98] (pthread_spin_unlock): Likewise.
20895 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20896 Do not expect.
20897 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20898 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20899 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20900 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20901 [XPG3 || XPG4] (pthread_key_t): Likewise.
20902 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20903 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20904 [XPG3 || XPG4] (pthread_once_t): Likewise.
20905 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20906 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20907 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20908 [XPG3 || XPG4] (pthread_t): Likewise.
20909
cbe6e120
JM
20910 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20911 not expect.
20912 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20913
1b126443
JM
20914 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20915 Change function return type to int.
20916
b961a573
JM
20917 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20918 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20919 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20920 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20921 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20922 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20923 [!POSIX] (posix_madvise): Likewise.
20924 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20925 && !UNIX98].
20926 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20927 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20928 (mode_t): Likewise.
20929 (posix_mem_offset): Likewise.
20930 (posix_typed_mem_get_info): Likewise.
20931 (posix_typed_mem_open): Likewise.
20932
9e188909
JM
20933 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20934 Change condition to [XOPEN2K8].
20935
05bcf62a
JM
20936 * conform/conformtest.pl: Preprocess allow-header data with -x c
20937 instead of from stdin.
20938 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20939 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20940 [C99-based standards] (cerfc): Likewise.
20941 [C99-based standards] (cexp2): Likewise.
20942 [C99-based standards] (cexpm1): Likewise.
20943 [C99-based standards] (clog10): Likewise.
20944 [C99-based standards] (clog1p): Likewise.
20945 [C99-based standards] (clog2): Likewise.
20946 [C99-based standards] (clgamma): Likewise.
20947 [C99-based standards] (ctgamma): Likewise.
20948 [C99-based standards] (cerff): Likewise.
20949 [C99-based standards] (cerfcf): Likewise.
20950 [C99-based standards] (cexp2f): Likewise.
20951 [C99-based standards] (cexpm1f): Likewise.
20952 [C99-based standards] (clog10f): Likewise.
20953 [C99-based standards] (clog1pf): Likewise.
20954 [C99-based standards] (clog2f): Likewise.
20955 [C99-based standards] (clgammaf): Likewise.
20956 [C99-based standards] (ctgammaf): Likewise.
20957 [C99-based standards] (cerfl): Likewise.
20958 [C99-based standards] (cerfcl): Likewise.
20959 [C99-based standards] (cexp2l): Likewise.
20960 [C99-based standards] (cexpm1l): Likewise.
20961 [C99-based standards] (clog10l): Likewise.
20962 [C99-based standards] (clog1pl): Likewise.
20963 [C99-based standards] (clog2l): Likewise.
20964 [C99-based standards] (clgammal): Likewise.
20965 [C99-based standards] (ctgammal): Likewise.
20966 * conform/data/inttypes.h-data [C99-based standards]: Include
20967 stdint.h-data. Remove all expectations for stdint.h contents.
20968 [C99-based standards] (PRI*): Do not allow.
20969 [C99-based standards] (SCN*): Likewise.
20970 [C99-based standards] (*_t): Likewise.
20971 [C99-based-standards] (PRId8): Expect macro.
20972 [C99-based-standards] (PRIi8): Likewise.
20973 [C99-based-standards] (PRIo8): Likewise.
20974 [C99-based-standards] (PRIu8): Likewise.
20975 [C99-based-standards] (PRIx8): Likewise.
20976 [C99-based-standards] (PRIX8): Likewise.
20977 [C99-based-standards] (SCNd8): Likewise.
20978 [C99-based-standards] (SCNi8): Likewise.
20979 [C99-based-standards] (SCNo8): Likewise.
20980 [C99-based-standards] (SCNu8): Likewise.
20981 [C99-based-standards] (SCNx8): Likewise.
20982 [C99-based-standards] (PRIdLEAST8): Likewise.
20983 [C99-based-standards] (PRIiLEAST8): Likewise.
20984 [C99-based-standards] (PRIoLEAST8): Likewise.
20985 [C99-based-standards] (PRIuLEAST8): Likewise.
20986 [C99-based-standards] (PRIxLEAST8): Likewise.
20987 [C99-based-standards] (PRIXLEAST8): Likewise.
20988 [C99-based-standards] (SCNdLEAST8): Likewise.
20989 [C99-based-standards] (SCNiLEAST8): Likewise.
20990 [C99-based-standards] (SCNoLEAST8): Likewise.
20991 [C99-based-standards] (SCNuLEAST8): Likewise.
20992 [C99-based-standards] (SCNxLEAST8): Likewise.
20993 [C99-based-standards] (PRIdFAST8): Likewise.
20994 [C99-based-standards] (PRIiFAST8): Likewise.
20995 [C99-based-standards] (PRIoFAST8): Likewise.
20996 [C99-based-standards] (PRIuFAST8): Likewise.
20997 [C99-based-standards] (PRIxFAST8): Likewise.
20998 [C99-based-standards] (PRIXFAST8): Likewise.
20999 [C99-based-standards] (SCNdFAST8): Likewise.
21000 [C99-based-standards] (SCNiFAST8): Likewise.
21001 [C99-based-standards] (SCNoFAST8): Likewise.
21002 [C99-based-standards] (SCNuFAST8): Likewise.
21003 [C99-based-standards] (SCNxFAST8): Likewise.
21004 [C99-based-standards] (PRId16): Likewise.
21005 [C99-based-standards] (PRIi16): Likewise.
21006 [C99-based-standards] (PRIo16): Likewise.
21007 [C99-based-standards] (PRIu16): Likewise.
21008 [C99-based-standards] (PRIx16): Likewise.
21009 [C99-based-standards] (PRIX16): Likewise.
21010 [C99-based-standards] (SCNd16): Likewise.
21011 [C99-based-standards] (SCNi16): Likewise.
21012 [C99-based-standards] (SCNo16): Likewise.
21013 [C99-based-standards] (SCNu16): Likewise.
21014 [C99-based-standards] (SCNx16): Likewise.
21015 [C99-based-standards] (PRIdLEAST16): Likewise.
21016 [C99-based-standards] (PRIiLEAST16): Likewise.
21017 [C99-based-standards] (PRIoLEAST16): Likewise.
21018 [C99-based-standards] (PRIuLEAST16): Likewise.
21019 [C99-based-standards] (PRIxLEAST16): Likewise.
21020 [C99-based-standards] (PRIXLEAST16): Likewise.
21021 [C99-based-standards] (SCNdLEAST16): Likewise.
21022 [C99-based-standards] (SCNiLEAST16): Likewise.
21023 [C99-based-standards] (SCNoLEAST16): Likewise.
21024 [C99-based-standards] (SCNuLEAST16): Likewise.
21025 [C99-based-standards] (SCNxLEAST16): Likewise.
21026 [C99-based-standards] (PRIdFAST16): Likewise.
21027 [C99-based-standards] (PRIiFAST16): Likewise.
21028 [C99-based-standards] (PRIoFAST16): Likewise.
21029 [C99-based-standards] (PRIuFAST16): Likewise.
21030 [C99-based-standards] (PRIxFAST16): Likewise.
21031 [C99-based-standards] (PRIXFAST16): Likewise.
21032 [C99-based-standards] (SCNdFAST16): Likewise.
21033 [C99-based-standards] (SCNiFAST16): Likewise.
21034 [C99-based-standards] (SCNoFAST16): Likewise.
21035 [C99-based-standards] (SCNuFAST16): Likewise.
21036 [C99-based-standards] (SCNxFAST16): Likewise.
21037 [C99-based-standards] (PRId32): Likewise.
21038 [C99-based-standards] (PRIi32): Likewise.
21039 [C99-based-standards] (PRIo32): Likewise.
21040 [C99-based-standards] (PRIu32): Likewise.
21041 [C99-based-standards] (PRIx32): Likewise.
21042 [C99-based-standards] (PRIX32): Likewise.
21043 [C99-based-standards] (SCNd32): Likewise.
21044 [C99-based-standards] (SCNi32): Likewise.
21045 [C99-based-standards] (SCNo32): Likewise.
21046 [C99-based-standards] (SCNu32): Likewise.
21047 [C99-based-standards] (SCNx32): Likewise.
21048 [C99-based-standards] (PRIdLEAST32): Likewise.
21049 [C99-based-standards] (PRIiLEAST32): Likewise.
21050 [C99-based-standards] (PRIoLEAST32): Likewise.
21051 [C99-based-standards] (PRIuLEAST32): Likewise.
21052 [C99-based-standards] (PRIxLEAST32): Likewise.
21053 [C99-based-standards] (PRIXLEAST32): Likewise.
21054 [C99-based-standards] (SCNdLEAST32): Likewise.
21055 [C99-based-standards] (SCNiLEAST32): Likewise.
21056 [C99-based-standards] (SCNoLEAST32): Likewise.
21057 [C99-based-standards] (SCNuLEAST32): Likewise.
21058 [C99-based-standards] (SCNxLEAST32): Likewise.
21059 [C99-based-standards] (PRIdFAST32): Likewise.
21060 [C99-based-standards] (PRIiFAST32): Likewise.
21061 [C99-based-standards] (PRIoFAST32): Likewise.
21062 [C99-based-standards] (PRIuFAST32): Likewise.
21063 [C99-based-standards] (PRIxFAST32): Likewise.
21064 [C99-based-standards] (PRIXFAST32): Likewise.
21065 [C99-based-standards] (SCNdFAST32): Likewise.
21066 [C99-based-standards] (SCNiFAST32): Likewise.
21067 [C99-based-standards] (SCNoFAST32): Likewise.
21068 [C99-based-standards] (SCNuFAST32): Likewise.
21069 [C99-based-standards] (SCNxFAST32): Likewise.
21070 [C99-based-standards] (PRId64): Likewise.
21071 [C99-based-standards] (PRIi64): Likewise.
21072 [C99-based-standards] (PRIo64): Likewise.
21073 [C99-based-standards] (PRIu64): Likewise.
21074 [C99-based-standards] (PRIx64): Likewise.
21075 [C99-based-standards] (PRIX64): Likewise.
21076 [C99-based-standards] (SCNd64): Likewise.
21077 [C99-based-standards] (SCNi64): Likewise.
21078 [C99-based-standards] (SCNo64): Likewise.
21079 [C99-based-standards] (SCNu64): Likewise.
21080 [C99-based-standards] (SCNx64): Likewise.
21081 [C99-based-standards] (PRIdLEAST64): Likewise.
21082 [C99-based-standards] (PRIiLEAST64): Likewise.
21083 [C99-based-standards] (PRIoLEAST64): Likewise.
21084 [C99-based-standards] (PRIuLEAST64): Likewise.
21085 [C99-based-standards] (PRIxLEAST64): Likewise.
21086 [C99-based-standards] (PRIXLEAST64): Likewise.
21087 [C99-based-standards] (SCNdLEAST64): Likewise.
21088 [C99-based-standards] (SCNiLEAST64): Likewise.
21089 [C99-based-standards] (SCNoLEAST64): Likewise.
21090 [C99-based-standards] (SCNuLEAST64): Likewise.
21091 [C99-based-standards] (SCNxLEAST64): Likewise.
21092 [C99-based-standards] (PRIdFAST64): Likewise.
21093 [C99-based-standards] (PRIiFAST64): Likewise.
21094 [C99-based-standards] (PRIoFAST64): Likewise.
21095 [C99-based-standards] (PRIuFAST64): Likewise.
21096 [C99-based-standards] (PRIxFAST64): Likewise.
21097 [C99-based-standards] (PRIXFAST64): Likewise.
21098 [C99-based-standards] (SCNdFAST64): Likewise.
21099 [C99-based-standards] (SCNiFAST64): Likewise.
21100 [C99-based-standards] (SCNoFAST64): Likewise.
21101 [C99-based-standards] (SCNuFAST64): Likewise.
21102 [C99-based-standards] (SCNxFAST64): Likewise.
21103 [C99-based-standards] (PRIdMAX): Likewise.
21104 [C99-based-standards] (PRIiMAX): Likewise.
21105 [C99-based-standards] (PRIoMAX): Likewise.
21106 [C99-based-standards] (PRIuMAX): Likewise.
21107 [C99-based-standards] (PRIxMAX): Likewise.
21108 [C99-based-standards] (PRIXMAX): Likewise.
21109 [C99-based-standards] (SCNdMAX): Likewise.
21110 [C99-based-standards] (SCNiMAX): Likewise.
21111 [C99-based-standards] (SCNoMAX): Likewise.
21112 [C99-based-standards] (SCNuMAX): Likewise.
21113 [C99-based-standards] (SCNxMAX): Likewise.
21114 [C99-based-standards] (PRIdPTR): Likewise.
21115 [C99-based-standards] (PRIiPTR): Likewise.
21116 [C99-based-standards] (PRIoPTR): Likewise.
21117 [C99-based-standards] (PRIuPTR): Likewise.
21118 [C99-based-standards] (PRIxPTR): Likewise.
21119 [C99-based-standards] (PRIXPTR): Likewise.
21120 [C99-based-standards] (SCNdPTR): Likewise.
21121 [C99-based-standards] (SCNiPTR): Likewise.
21122 [C99-based-standards] (SCNoPTR): Likewise.
21123 [C99-based-standards] (SCNuPTR): Likewise.
21124 [C99-based-standards] (SCNxPTR): Likewise.
21125 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21126 allow.
21127 * conform/data/stdint.h-data: Update comments to clarify
21128 requirements.
21129 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21130 type.
21131 [C99-based standards] (INT8_MAX): Likewise.
21132 [C99-based standards] (INT16_MIN): Likewise.
21133 [C99-based standards] (INT16_MAX): Likewise.
21134 [C99-based standards] (INT32_MIN): Likewise.
21135 [C99-based standards] (INT32_MAX): Likewise.
21136 [C99-based standards] (INT64_MIN): Likewise.
21137 [C99-based standards] (INT64_MAX): Likewise.
21138 [C99-based standards] (UINT8_MAX): Likewise.
21139 [C99-based standards] (UINT16_MAX): Likewise.
21140 [C99-based standards] (UINT32_MAX): Likewise.
21141 [C99-based standards] (UINT64_MAX): Likewise.
21142 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21143 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21144 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21145 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21146 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21147 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21148 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21149 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21150 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21151 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21152 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21153 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21154 [C99-based standards] (INT_FAST8_MIN): Likewise.
21155 [C99-based standards] (INT_FAST8_MAX): Likewise.
21156 [C99-based standards] (INT_FAST16_MIN): Likewise.
21157 [C99-based standards] (INT_FAST16_MAX): Likewise.
21158 [C99-based standards] (INT_FAST32_MIN): Likewise.
21159 [C99-based standards] (INT_FAST32_MAX): Likewise.
21160 [C99-based standards] (INT_FAST64_MIN): Likewise.
21161 [C99-based standards] (INT_FAST64_MAX): Likewise.
21162 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21163 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21164 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21165 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21166 [C99-based standards] (INTPTR_MIN): Likewise.
21167 [C99-based standards] (INTPTR_MAX): Likewise.
21168 [C99-based standards] (UINTPTR_MAX): Likewise.
21169 [C99-based standards] (INTMAX_MIN): Likewise.
21170 [C99-based standards] (INTMAX_MAX): Likewise.
21171 [C99-based standards] (UINTMAX_MAX): Likewise.
21172 [C99-based standards] (PTRDIFF_MIN): Likewise.
21173 [C99-based standards] (PTRDIFF_MAX): Likewise.
21174 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21175 [C99-based standards] (SIZE_MAX): Likewise.
21176 [C99-based standards] (WCHAR_MAX): Likewise.
21177 [C99-based standards] (WINT_MAX): Likewise.
21178 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21179 constraint on value.
21180 [C99-based standards] (WCHAR_MIN): Likewise.
21181 [C99-based standards] (WINT_MIN): Likewise.
21182 [C99-based standards] (*_t): Allow.
21183 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21184 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21185 Include math.h-data and complex.h-data. Remove all expectations
21186 of math.h and complex.h contents.
21187 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21188 at end of line.
21189 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21190 (struct tm): Expect tag.
21191 [C99-based-standards] (wcstof): Expect function.
21192 [C99-based-standards] (wcstold): Likewise.
21193 [C99-based-standards] (wcstoll): Likewise.
21194 [C99-based-standards] (wcstoull): Likewise.
21195 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21196 macro-int-constant. Specify type.
21197 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21198 constraint on value.
21199 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21200 Specify type.
21201 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21202 Specify value.
21203 [ISO C standards]: Do not allow headers.
21204 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21205 wcs[abcdefghijklmnopqrstuvwxyz]*.
21206 [ISO C standards] (*_t): Do not allow.
21207 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21208 Expect function.
21209 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21210 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21211 Specify type.
21212 [ISO C standards]: Do not allow headers.
21213 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21214 is[abcdefghijklmnopqrstuvwxyz]*.
21215 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21216 to[abcdefghijklmnopqrstuvwxyz]*.
21217 [ISO C standards] (*_t): Do not allow.
21218 * conform/data/stdalign.h-data: New file.
21219 * conform/data/stdbool.h-data: Likewise.
21220 * conform/data/stdnoreturn.h-data: Likewise.
21221
7514feb8
RM
212222012-11-07 Roland McGrath <roland@hack.frob.com>
21223
21224 [BZ #14815]
21225 * manual/filesys.texi (Directory Entries): Typo fix.
21226 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21227
19b2ecfc
MS
212282012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21229
21230 * elf/elf.h (EM_AARCH64): New macro.
21231 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21232 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21233 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21234 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21235 (R_AARCH64_TLSDESC): Likewise.
21236 (NT_ARM_TLS): Likewise.
21237 (NT_ARM_HW_BREAK): Likewise.
21238 (NT_ARM_HW_WATCH): Likewise.
21239
60e235ee
JM
212402012-11-07 Joseph Myers <joseph@codesourcery.com>
21241
21242 [BZ #14811]
21243 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21244 (__ieee754_powl): Saturate nonzero exponents with absolute value
21245 below 0x1p-79 to +/- 0x1p-79.
21246 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21247 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21248 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21249 nonzero exponents with absolute value below 0x1p-32 to +/-
21250 0x1p-32.
21251 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21252 (__ieee754_powl): Saturate nonzero exponents with absolute value
21253 below 0x1p-79 to +/- 0x1p-79.
21254 * math/libm-test.inc (pow_test): Add more tests.
21255
0ab234b7
AK
212562012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21257
21258 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21259 _dl_s390_cap_flags with kernel. Increase string length.
21260 (_dl_s390_platforms): Add z196 and zEC12.
21261
45832f74
JM
212622012-11-07 Joseph Myers <joseph@codesourcery.com>
21263
21264 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21265 Change XOPEN21K to XOPEN2K.
21266
19218757
MK
212672012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21268
21269 * string/memmove.c: Use memcpy when possible.
21270
c5f45721
AJ
212712012-11-06 Andreas Jaeger <aj@suse.de>
21272
21273 * po/eo.po: Update from translation team.
21274
82477c28
JM
212752012-11-06 Joseph Myers <joseph@codesourcery.com>
21276
21277 [BZ #14793]
21278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21279 exponent and small x and y exponents, scale x or y up. Increase
21280 by 2 the exponent used in scaling up.
21281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21282 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21283 * math/libm-test.inc (fma_test): Add more tests.
21284 (fma_test_towardzero): Likewise.
21285 (fma_test_downward): Likewise.
21286 (fma_test_upward): Likewise.
21287
99252c8c
JM
212882012-11-05 Joseph Myers <joseph@codesourcery.com>
21289
acfa885f
JM
21290 [BZ #14805]
21291 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21292 fenv_t *.
21293
99252c8c
JM
21294 [BZ #14801]
21295 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21296 namespace for names of struct fields.
21297 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21298 fenv_t fields.
21299 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21300 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21301
d6d98dea
ST
213022012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21303
21304 [BZ #3665]
21305 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21306
e10bb107
TS
213072012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21308
21309 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21310 PTR_DEMANGLE.
21311
21312 [BZ #5246]
21313 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21314 PTR_DEMANGLE.
21315
a0c2940d
JM
213162012-11-04 Joseph Myers <joseph@codesourcery.com>
21317
21318 [BZ #14797]
21319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21320 definitely overflow as x * y not x * y + z.
21321 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21322 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21323 * math/libm-test.inc (fma_test): Add more tests.
21324 (fma_test_towardzero): Likewise.
21325 (fma_test_downward): Likewise.
21326 (fma_test_upward): Likewise.
21327
b830319d
TS
213282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21329
21330 [BZ #157]
21331
21332 * include/stub-tag.h: Remove file.
21333 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21334 '#include' of it.
21335 * manual/maint.texi (Porting): Don't reference it.
21336 * Makerules ($(objpfx)stubs): Likewise.
21337 * dirent/closedir.c: Don't include <stub-tag.h>.
21338 * dirent/dirfd.c: Likewise.
21339 * dirent/fdopendir.c: Likewise.
21340 * dirent/getdents.c: Likewise.
21341 * dirent/getdents64.c: Likewise.
21342 * dirent/opendir.c: Likewise.
21343 * dirent/readdir.c: Likewise.
21344 * dirent/readdir64.c: Likewise.
21345 * dirent/readdir64_r.c: Likewise.
21346 * dirent/readdir_r.c: Likewise.
21347 * dirent/rewinddir.c: Likewise.
21348 * dirent/seekdir.c: Likewise.
21349 * dirent/telldir.c: Likewise.
21350 * gmon/profil.c: Likewise.
21351 * grp/setgroups.c: Likewise.
21352 * inet/if_index.c: Likewise.
21353 * io/access.c: Likewise.
21354 * io/chdir.c: Likewise.
21355 * io/chmod.c: Likewise.
21356 * io/chown.c: Likewise.
21357 * io/close.c: Likewise.
21358 * io/dup.c: Likewise.
21359 * io/dup2.c: Likewise.
21360 * io/dup3.c: Likewise.
21361 * io/euidaccess.c: Likewise.
21362 * io/faccessat.c: Likewise.
21363 * io/fchdir.c: Likewise.
21364 * io/fchmod.c: Likewise.
21365 * io/fchmodat.c: Likewise.
21366 * io/fchown.c: Likewise.
21367 * io/fchownat.c: Likewise.
21368 * io/fcntl.c: Likewise.
21369 * io/flock.c: Likewise.
21370 * io/fstatfs.c: Likewise.
21371 * io/fstatfs64.c: Likewise.
21372 * io/fstatvfs.c: Likewise.
21373 * io/fstatvfs64.c: Likewise.
21374 * io/futimens.c: Likewise.
21375 * io/fxstat.c: Likewise.
21376 * io/fxstat64.c: Likewise.
21377 * io/fxstatat.c: Likewise.
21378 * io/fxstatat64.c: Likewise.
21379 * io/getcwd.c: Likewise.
21380 * io/isatty.c: Likewise.
21381 * io/lchmod.c: Likewise.
21382 * io/lchown.c: Likewise.
21383 * io/link.c: Likewise.
21384 * io/linkat.c: Likewise.
21385 * io/lseek.c: Likewise.
21386 * io/lseek64.c: Likewise.
21387 * io/lxstat64.c: Likewise.
21388 * io/mkdir.c: Likewise.
21389 * io/mkdirat.c: Likewise.
21390 * io/mkfifo.c: Likewise.
21391 * io/mkfifoat.c: Likewise.
21392 * io/open.c: Likewise.
21393 * io/open64.c: Likewise.
21394 * io/openat.c: Likewise.
21395 * io/openat64.c: Likewise.
21396 * io/pipe.c: Likewise.
21397 * io/pipe2.c: Likewise.
21398 * io/poll.c: Likewise.
21399 * io/posix_fadvise.c: Likewise.
21400 * io/posix_fadvise64.c: Likewise.
21401 * io/posix_fallocate.c: Likewise.
21402 * io/posix_fallocate64.c: Likewise.
21403 * io/read.c: Likewise.
21404 * io/readlink.c: Likewise.
21405 * io/readlinkat.c: Likewise.
21406 * io/rmdir.c: Likewise.
21407 * io/sendfile.c: Likewise.
21408 * io/sendfile64.c: Likewise.
21409 * io/statfs.c: Likewise.
21410 * io/statfs64.c: Likewise.
21411 * io/statvfs.c: Likewise.
21412 * io/statvfs64.c: Likewise.
21413 * io/symlink.c: Likewise.
21414 * io/symlinkat.c: Likewise.
21415 * io/ttyname.c: Likewise.
21416 * io/ttyname_r.c: Likewise.
21417 * io/umask.c: Likewise.
21418 * io/unlink.c: Likewise.
21419 * io/unlinkat.c: Likewise.
21420 * io/utime.c: Likewise.
21421 * io/utimensat.c: Likewise.
21422 * io/write.c: Likewise.
21423 * io/xmknod.c: Likewise.
21424 * io/xmknodat.c: Likewise.
21425 * io/xstat.c: Likewise.
21426 * io/xstat64.c: Likewise.
21427 * login/getpt.c: Likewise.
21428 * login/grantpt.c: Likewise.
21429 * login/unlockpt.c: Likewise.
21430 * math/e_acoshl.c: Likewise.
21431 * math/e_acosl.c: Likewise.
21432 * math/e_asinl.c: Likewise.
21433 * math/e_atan2l.c: Likewise.
21434 * math/e_atanhl.c: Likewise.
21435 * math/e_coshl.c: Likewise.
21436 * math/e_expl.c: Likewise.
21437 * math/e_fmodl.c: Likewise.
21438 * math/e_gammal_r.c: Likewise.
21439 * math/e_hypotl.c: Likewise.
21440 * math/e_j0l.c: Likewise.
21441 * math/e_j1l.c: Likewise.
21442 * math/e_jnl.c: Likewise.
21443 * math/e_lgammal_r.c: Likewise.
21444 * math/e_log10l.c: Likewise.
21445 * math/e_log2l.c: Likewise.
21446 * math/e_logl.c: Likewise.
21447 * math/e_powl.c: Likewise.
21448 * math/e_rem_pio2l.c: Likewise.
21449 * math/e_sinhl.c: Likewise.
21450 * math/e_sqrtl.c: Likewise.
21451 * math/fclrexcpt.c: Likewise.
21452 * math/fedisblxcpt.c: Likewise.
21453 * math/feenablxcpt.c: Likewise.
21454 * math/fegetenv.c: Likewise.
21455 * math/fegetexcept.c: Likewise.
21456 * math/fegetround.c: Likewise.
21457 * math/feholdexcpt.c: Likewise.
21458 * math/fesetenv.c: Likewise.
21459 * math/fesetround.c: Likewise.
21460 * math/feupdateenv.c: Likewise.
21461 * math/fgetexcptflg.c: Likewise.
21462 * math/fraiseexcpt.c: Likewise.
21463 * math/fsetexcptflg.c: Likewise.
21464 * math/ftestexcept.c: Likewise.
21465 * math/k_cosl.c: Likewise.
21466 * math/k_rem_pio2l.c: Likewise.
21467 * math/k_sinl.c: Likewise.
21468 * math/k_tanl.c: Likewise.
21469 * math/s_asinhl.c: Likewise.
21470 * math/s_atanl.c: Likewise.
21471 * math/s_cbrtl.c: Likewise.
21472 * math/s_erfl.c: Likewise.
21473 * math/s_expm1l.c: Likewise.
21474 * math/s_log1pl.c: Likewise.
21475 * math/s_tanhl.c: Likewise.
21476 * misc/acct.c: Likewise.
21477 * misc/brk.c: Likewise.
21478 * misc/chflags.c: Likewise.
21479 * misc/chroot.c: Likewise.
21480 * misc/fchflags.c: Likewise.
21481 * misc/fgetxattr.c: Likewise.
21482 * misc/flistxattr.c: Likewise.
21483 * misc/fremovexattr.c: Likewise.
21484 * misc/fsetxattr.c: Likewise.
21485 * misc/fsync.c: Likewise.
21486 * misc/ftruncate.c: Likewise.
21487 * misc/futimes.c: Likewise.
21488 * misc/futimesat.c: Likewise.
21489 * misc/getdomain.c: Likewise.
21490 * misc/getdtsz.c: Likewise.
21491 * misc/gethostid.c: Likewise.
21492 * misc/gethostname.c: Likewise.
21493 * misc/getloadavg.c: Likewise.
21494 * misc/getpagesize.c: Likewise.
21495 * misc/getsysstats.c: Likewise.
21496 * misc/getxattr.c: Likewise.
21497 * misc/gtty.c: Likewise.
21498 * misc/ioctl.c: Likewise.
21499 * misc/lgetxattr.c: Likewise.
21500 * misc/listxattr.c: Likewise.
21501 * misc/llistxattr.c: Likewise.
21502 * misc/lremovexattr.c: Likewise.
21503 * misc/lsetxattr.c: Likewise.
21504 * misc/lutimes.c: Likewise.
21505 * misc/madvise.c: Likewise.
21506 * misc/mincore.c: Likewise.
21507 * misc/mlock.c: Likewise.
21508 * misc/mlockall.c: Likewise.
21509 * misc/mmap.c: Likewise.
21510 * misc/mprotect.c: Likewise.
21511 * misc/msync.c: Likewise.
21512 * misc/munlock.c: Likewise.
21513 * misc/munlockall.c: Likewise.
21514 * misc/munmap.c: Likewise.
21515 * misc/preadv.c: Likewise.
21516 * misc/preadv64.c: Likewise.
21517 * misc/ptrace.c: Likewise.
21518 * misc/pwritev.c: Likewise.
21519 * misc/pwritev64.c: Likewise.
21520 * misc/readv.c: Likewise.
21521 * misc/reboot.c: Likewise.
21522 * misc/remap_file_pages.c: Likewise.
21523 * misc/removexattr.c: Likewise.
21524 * misc/revoke.c: Likewise.
21525 * misc/select.c: Likewise.
21526 * misc/setdomain.c: Likewise.
21527 * misc/setegid.c: Likewise.
21528 * misc/seteuid.c: Likewise.
21529 * misc/sethostid.c: Likewise.
21530 * misc/sethostname.c: Likewise.
21531 * misc/setregid.c: Likewise.
21532 * misc/setreuid.c: Likewise.
21533 * misc/setxattr.c: Likewise.
21534 * misc/sstk.c: Likewise.
21535 * misc/stty.c: Likewise.
21536 * misc/swapoff.c: Likewise.
21537 * misc/swapon.c: Likewise.
21538 * misc/sync.c: Likewise.
21539 * misc/syncfs.c: Likewise.
21540 * misc/syscall.c: Likewise.
21541 * misc/truncate.c: Likewise.
21542 * misc/ualarm.c: Likewise.
21543 * misc/usleep.c: Likewise.
21544 * misc/ustat.c: Likewise.
21545 * misc/utimes.c: Likewise.
21546 * misc/vhangup.c: Likewise.
21547 * misc/writev.c: Likewise.
21548 * posix/_exit.c: Likewise.
21549 * posix/alarm.c: Likewise.
21550 * posix/execve.c: Likewise.
21551 * posix/fexecve.c: Likewise.
21552 * posix/fork.c: Likewise.
21553 * posix/fpathconf.c: Likewise.
21554 * posix/getaddrinfo.c: Likewise.
21555 * posix/getegid.c: Likewise.
21556 * posix/geteuid.c: Likewise.
21557 * posix/getgid.c: Likewise.
21558 * posix/getgroups.c: Likewise.
21559 * posix/getlogin.c: Likewise.
21560 * posix/getlogin_r.c: Likewise.
21561 * posix/getpgid.c: Likewise.
21562 * posix/getpid.c: Likewise.
21563 * posix/getppid.c: Likewise.
21564 * posix/getresgid.c: Likewise.
21565 * posix/getresuid.c: Likewise.
21566 * posix/getsid.c: Likewise.
21567 * posix/getuid.c: Likewise.
21568 * posix/glob64.c: Likewise.
21569 * posix/nanosleep.c: Likewise.
21570 * posix/pathconf.c: Likewise.
21571 * posix/pause.c: Likewise.
21572 * posix/posix_madvise.c: Likewise.
21573 * posix/pread.c: Likewise.
21574 * posix/pread64.c: Likewise.
21575 * posix/pwrite.c: Likewise.
21576 * posix/pwrite64.c: Likewise.
21577 * posix/sched_getaffinity.c: Likewise.
21578 * posix/sched_getp.c: Likewise.
21579 * posix/sched_gets.c: Likewise.
21580 * posix/sched_primax.c: Likewise.
21581 * posix/sched_primin.c: Likewise.
21582 * posix/sched_rr_gi.c: Likewise.
21583 * posix/sched_setaffinity.c: Likewise.
21584 * posix/sched_setp.c: Likewise.
21585 * posix/sched_sets.c: Likewise.
21586 * posix/sched_yield.c: Likewise.
21587 * posix/setgid.c: Likewise.
21588 * posix/setlogin.c: Likewise.
21589 * posix/setpgid.c: Likewise.
21590 * posix/setresgid.c: Likewise.
21591 * posix/setresuid.c: Likewise.
21592 * posix/setsid.c: Likewise.
21593 * posix/setuid.c: Likewise.
21594 * posix/sleep.c: Likewise.
21595 * posix/spawni.c: Likewise.
21596 * posix/sysconf.c: Likewise.
21597 * posix/times.c: Likewise.
21598 * posix/wait.c: Likewise.
21599 * posix/wait3.c: Likewise.
21600 * posix/wait4.c: Likewise.
21601 * posix/waitpid.c: Likewise.
21602 * resolv/gai_sigqueue.c: Likewise.
21603 * resource/getpriority.c: Likewise.
21604 * resource/getrlimit.c: Likewise.
21605 * resource/getrusage.c: Likewise.
21606 * resource/nice.c: Likewise.
21607 * resource/setpriority.c: Likewise.
21608 * resource/setrlimit.c: Likewise.
21609 * resource/ulimit.c: Likewise.
21610 * rt/aio_cancel.c: Likewise.
21611 * rt/aio_fsync.c: Likewise.
21612 * rt/aio_read.c: Likewise.
21613 * rt/aio_sigqueue.c: Likewise.
21614 * rt/aio_suspend.c: Likewise.
21615 * rt/aio_write.c: Likewise.
21616 * rt/clock_getres.c: Likewise.
21617 * rt/clock_gettime.c: Likewise.
21618 * rt/clock_nanosleep.c: Likewise.
21619 * rt/clock_settime.c: Likewise.
21620 * rt/lio_listio.c: Likewise.
21621 * rt/mq_close.c: Likewise.
21622 * rt/mq_getattr.c: Likewise.
21623 * rt/mq_notify.c: Likewise.
21624 * rt/mq_open.c: Likewise.
21625 * rt/mq_receive.c: Likewise.
21626 * rt/mq_send.c: Likewise.
21627 * rt/mq_setattr.c: Likewise.
21628 * rt/mq_timedreceive.c: Likewise.
21629 * rt/mq_timedsend.c: Likewise.
21630 * rt/mq_unlink.c: Likewise.
21631 * rt/shm_open.c: Likewise.
21632 * rt/shm_unlink.c: Likewise.
21633 * rt/timer_create.c: Likewise.
21634 * rt/timer_delete.c: Likewise.
21635 * rt/timer_getoverr.c: Likewise.
21636 * rt/timer_gettime.c: Likewise.
21637 * rt/timer_settime.c: Likewise.
21638 * setjmp/__longjmp.c: Likewise.
21639 * setjmp/setjmp.c: Likewise.
21640 * signal/kill.c: Likewise.
21641 * signal/killpg.c: Likewise.
21642 * signal/raise.c: Likewise.
21643 * signal/sigaction.c: Likewise.
21644 * signal/sigaltstack.c: Likewise.
21645 * signal/sigblock.c: Likewise.
21646 * signal/sigignore.c: Likewise.
21647 * signal/sigintr.c: Likewise.
21648 * signal/signal.c: Likewise.
21649 * signal/sigpause.c: Likewise.
21650 * signal/sigpending.c: Likewise.
21651 * signal/sigqueue.c: Likewise.
21652 * signal/sigreturn.c: Likewise.
21653 * signal/sigset.c: Likewise.
21654 * signal/sigsetmask.c: Likewise.
21655 * signal/sigstack.c: Likewise.
21656 * signal/sigsuspend.c: Likewise.
21657 * signal/sigtimedwait.c: Likewise.
21658 * signal/sigvec.c: Likewise.
21659 * signal/sigwait.c: Likewise.
21660 * signal/sigwaitinfo.c: Likewise.
21661 * signal/sysv_signal.c: Likewise.
21662 * socket/accept.c: Likewise.
21663 * socket/accept4.c: Likewise.
21664 * socket/bind.c: Likewise.
21665 * socket/connect.c: Likewise.
21666 * socket/getpeername.c: Likewise.
21667 * socket/getsockname.c: Likewise.
21668 * socket/getsockopt.c: Likewise.
21669 * socket/isfdtype.c: Likewise.
21670 * socket/listen.c: Likewise.
21671 * socket/recv.c: Likewise.
21672 * socket/recvfrom.c: Likewise.
21673 * socket/recvmsg.c: Likewise.
21674 * socket/send.c: Likewise.
21675 * socket/sendmsg.c: Likewise.
21676 * socket/sendto.c: Likewise.
21677 * socket/setsockopt.c: Likewise.
21678 * socket/shutdown.c: Likewise.
21679 * socket/sockatmark.c: Likewise.
21680 * socket/socket.c: Likewise.
21681 * socket/socketpair.c: Likewise.
21682 * stdio-common/ctermid.c: Likewise.
21683 * stdio-common/cuserid.c: Likewise.
21684 * stdio-common/remove.c: Likewise.
21685 * stdio-common/rename.c: Likewise.
21686 * stdio-common/renameat.c: Likewise.
21687 * stdio-common/tempname.c: Likewise.
21688 * stdlib/getcontext.c: Likewise.
21689 * stdlib/makecontext.c: Likewise.
21690 * stdlib/setcontext.c: Likewise.
21691 * stdlib/swapcontext.c: Likewise.
21692 * stdlib/system.c: Likewise.
21693 * streams/fattach.c: Likewise.
21694 * streams/fdetach.c: Likewise.
21695 * streams/getmsg.c: Likewise.
21696 * streams/getpmsg.c: Likewise.
21697 * streams/putmsg.c: Likewise.
21698 * streams/putpmsg.c: Likewise.
21699 * sysdeps/unix/bsd/getpt.c: Likewise.
21700 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21701 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21702 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21704 Likewise.
21705 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21706 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21707 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21708 * sysvipc/msgctl.c: Likewise.
21709 * sysvipc/msgget.c: Likewise.
21710 * sysvipc/msgrcv.c: Likewise.
21711 * sysvipc/msgsnd.c: Likewise.
21712 * sysvipc/semctl.c: Likewise.
21713 * sysvipc/semget.c: Likewise.
21714 * sysvipc/semop.c: Likewise.
21715 * sysvipc/semtimedop.c: Likewise.
21716 * sysvipc/shmat.c: Likewise.
21717 * sysvipc/shmctl.c: Likewise.
21718 * sysvipc/shmdt.c: Likewise.
21719 * sysvipc/shmget.c: Likewise.
21720 * termios/tcdrain.c: Likewise.
21721 * termios/tcflow.c: Likewise.
21722 * termios/tcflush.c: Likewise.
21723 * termios/tcgetattr.c: Likewise.
21724 * termios/tcgetpgrp.c: Likewise.
21725 * termios/tcsendbrk.c: Likewise.
21726 * termios/tcsetattr.c: Likewise.
21727 * termios/tcsetpgrp.c: Likewise.
21728 * time/adjtime.c: Likewise.
21729 * time/clock.c: Likewise.
21730 * time/getitimer.c: Likewise.
21731 * time/gettimeofday.c: Likewise.
21732 * time/setitimer.c: Likewise.
21733 * time/settimeofday.c: Likewise.
21734 * time/stime.c: Likewise.
21735 * time/time.c: Likewise.
21736
217372012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21738
a20492cf
PT
21739 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21740 /usr/old/bin.
21741
72e182e3
PT
21742 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21743 instead of spaces.
21744 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21745
fbeafede
JM
217462012-11-03 Joseph Myers <joseph@codesourcery.com>
21747
5b5b04d6
JM
21748 [BZ #14796]
21749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21750 FE_TONEAREST before applying Dekker multiplication and Knuth
21751 addition. Clear inexact exceptions and check for exact zero
21752 results afterwards.
21753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21754 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21755 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21756 * math/libm-test.inc (fma_test): Add more tests.
21757 (fma_test_towardzero): Likewise.
21758 (fma_test_downward): Likewise.
21759 (fma_test_upward): Likewise.
21760 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21761 function.
21762 (libc_fesetround): New macro.
21763 (libc_fesetroundf): Likewise.
21764 (libc_fesetroundl): Likewise.
21765 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21766 function.
21767 (libc_fesetround_387): Likewise.
21768 (libc_fesetroundf): New macro.
21769 (libc_fesetround): Likewise.
21770 (libc_fesetroundl): Likewise.
21771 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21772 function.
21773 (libc_fesetroundf): New macro.
21774 (libc_fesetround): Likewise.
21775 (libc_fesetroundl): Likewise.
21776 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21777 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21778 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21779 libm_hidden_ver.
21780 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21781 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21782 libm_hidden_def.
21783 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21784 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21785 libm_hidden_ver.
21786 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21787 libm_hidden_def.
21788
fbeafede
JM
21789 [BZ #3439]
21790 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21791 integer constant usable in #if and use that to give value to enum
21792 constant.
21793 (FE_DIVBYZERO): Likewise.
21794 (FE_UNDERFLOW): Likewise.
21795 (FE_OVERFLOW): Likewise.
21796 (FE_INVALID): Likewise.
21797 (FE_INVALID_SNAN): Likewise.
21798 (FE_INVALID_ISI): Likewise.
21799 (FE_INVALID_IDI): Likewise.
21800 (FE_INVALID_ZDZ): Likewise.
21801 (FE_INVALID_IMZ): Likewise.
21802 (FE_INVALID_COMPARE): Likewise.
21803 (FE_INVALID_SOFTWARE): Likewise.
21804 (FE_INVALID_SQRT): Likewise.
21805 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21806 (FE_TONEAREST): Likewise.
21807 (FE_TOWARDZERO): Likewise.
21808 (FE_UPWARD): Likewise.
21809 (FE_DOWNWARD): Likewise.
21810 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21811 (FE_DIVBYZERO): Likewise.
21812 (FE_OVERFLOW): Likewise.
21813 (FE_UNDERFLOW): Likewise.
21814 (FE_INEXACT): Likewise.
21815 (FE_TONEAREST): Likewise.
21816 (FE_DOWNWARD): Likewise.
21817 (FE_UPWARD): Likewise.
21818 (FE_TOWARDZERO): Likewise.
21819 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21820 (FE_UNDERFLOW): Likewise.
21821 (FE_OVERFLOW): Likewise.
21822 (FE_DIVBYZERO): Likewise.
21823 (FE_INVALID): Likewise.
21824 (FE_TONEAREST): Likewise.
21825 (FE_TOWARDZERO): Likewise.
21826 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21827 (FE_OVERFLOW): Likewise.
21828 (FE_UNDERFLOW): Likewise.
21829 (FE_DIVBYZERO): Likewise.
21830 (FE_INEXACT): Likewise.
21831 (FE_TONEAREST): Likewise.
21832 (FE_TOWARDZERO): Likewise.
21833 (FE_UPWARD): Likewise.
21834 (FE_DOWNWARD): Likewise.
21835 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21836 (FE_DIVBYZERO): Likewise.
21837 (FE_OVERFLOW): Likewise.
21838 (FE_UNDERFLOW): Likewise.
21839 (FE_INEXACT): Likewise.
21840 (FE_TONEAREST): Likewise.
21841 (FE_DOWNWARD): Likewise.
21842 (FE_UPWARD): Likewise.
21843 (FE_TOWARDZERO): Likewise.
21844
105ca950
CM
218452012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21846
21847 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21848
a542b389
AS
218492012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21850
21851 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21852 commands. Quote $PWD.
21853 (blacklist_exports): Don't use remove_newlines. Replace "declare
21854 -x" by "export".
21855 (remove_newlines): Remove.
21856
f62c8abc
L
218572012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21858
21859 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21860 * stdlib/stdlib.h (atof): Moved to ...
21861 * include/bits/stdlib-float.h: Here. New file.
21862 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21863 * stdlib/bits/stdlib-float.h: New file.
21864 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21865 -mno-sse -mno-mmx.
21866 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21867 <xmmintrin.h>.
21868
0155d5b2
JM
218692012-11-02 Joseph Myers <joseph@codesourcery.com>
21870
a68d0680
JM
21871 * conform/conformtest.pl (@headers): Add fenv.h.
21872 * conform/data/fenv.h-data: New file.
21873 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21874 include of <math/fenv.h>.
21875
caf7f573
JM
21876 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21877 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21878 && !UNIX98]. Enables tests for XOPEN2K8.
21879 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21880 POSIX2008]: Likewise.
21881
6c073ad6
JM
21882 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21883 (struct rusage): Do not expect type or its members.
21884
0155d5b2
JM
21885 [BZ #3439]
21886 * math/math.h (FP_NAN): Define macro to integer constant usable in
21887 #if and use that to give value to enum constant.
21888 (FP_INFINITE): Likewise.
21889 (FP_ZERO): Likewise.
21890 (FP_SUBNORMAL): Likewise.
21891 (FP_NORMAL): Likewise.
21892
b5dcacb4
AS
218932012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21894
21895 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21896 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21897 arguments.
21898
f7934be8
RM
218992012-11-02 Roland McGrath <roland@hack.frob.com>
21900
21901 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21902 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21903 autoconf-time if not.
21904 * configure.in: Remove AC_PREREQ.
21905
d7d08bde
TMQMF
219062012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21907
21908 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21909 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21910 of the internal implementation.
21911
dcdae19a
JM
219122012-11-02 Joseph Myers <joseph@codesourcery.com>
21913
21914 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21915 except include of <misc/sys/syslog.h>.
21916
d6cffd3e
AS
219172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21918
21919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21920 function returns with a NULL context exit with zero.
21921
b3563932
TMQMF
219222012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21923
21924 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21925
b288a93d
L
219262012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21927
21928 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21929 (run_program_cmd): This.
21930 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21931 (tst_langinfo): New variable. Use it.
21932
a2421a68
SAS
219332012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21934
21935 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21936 floating point opcodes.
21937
6f796e1b
TS
219382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21939
7402596b
TS
21940 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21941 variable.
21942
d0d4f868
TS
21943 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21944
6f796e1b
TS
21945 * sysdeps/mach/hurd/powerpc: Remove directory.
21946 * sysdeps/mach/powerpc: Likewise.
21947
4da224a2
AS
219482012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21949
21950 * scripts/check-local-headers.sh: Ignore c++ headers.
21951
341dd673
TS
219522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21953
21954 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21955 __libc_cleanup_region_start argument.
21956
473611b2
JM
219572012-11-01 Joseph Myers <joseph@codesourcery.com>
21958
21959 [BZ #14784]
21960 [BZ #14785]
21961 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21962 x * y using scaling, not as x * y + z.
21963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21964 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21965 * math/libm-test.inc (fma_test): Add more tests.
21966 (fma_test_towardzero): Likewise.
21967 (fma_test_downward): Likewise.
21968 (fma_test_upward): Likewise.
21969
4078da3d
TS
219702012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21971
21972 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21973
903252aa
JM
219742012-10-31 Joseph Myers <joseph@codesourcery.com>
21975
21976 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21977 New variable.
21978
cbc818d0
TS
219792012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21980
21981 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21982
5a03cb1e
AS
219832012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21984
21985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21986 Fix sort order.
21987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21988 Likewise.
21989
90aff2ff
TMQMF
219902012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21991
21992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21993 Fix the order of the list for glibc 2.17.
21994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21995 Likewise.
21996
1818fcb7
AS
219972012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21998
21999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22000
ef82f4da
JM
220012012-10-31 Joseph Myers <joseph@codesourcery.com>
22002
16a0e2ec
JM
22003 [BZ #14610]
22004 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22005 for low part of x being zero before using __atanl (y).
22006 * math/libm-test.inc (atan2_test): Add another test.
22007
0eb69512
JM
22008 * manual/install.texi (Configuring and compiling): Document
22009 general use of test-wrapper and test-wrapper-env.
22010 * INSTALL: Regenerated.
22011
ef82f4da
JM
22012 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22013 (__fma): Do not extract and scale down low bits on after-rounding
22014 systems when result rounded to normal precision would have normal
22015 exponent.
22016 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22017 (__fmal): Do not extract and scale down low bits on after-rounding
22018 systems when result rounded to normal precision would have normal
22019 exponent.
22020 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22021 (__fmal): Do not extract and scale down low bits on after-rounding
22022 systems when result rounded to normal precision would have normal
22023 exponent.
22024 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22025 macro.
22026 (fma_test): Add more tests.
22027 (fma_test_towardzero): Likewise.
22028 (fma_test_downward): Likewise.
22029 (fma_test_upward): Likewise.
22030
954ef0d9
L
220312012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22032
22033 * sysdeps/i386/tininess.h: Renamed to ...
22034 * sysdeps/x86/tininess.h: This.
22035 * sysdeps/x86_64/tininess.h: Removed.
22036
df61ffb2
JM
220372012-10-30 Joseph Myers <joseph@codesourcery.com>
22038
22039 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22040 input. Use $(build-program-cmd).
22041 ($(objpfx)tst-array1-static.out): Likewise.
22042 ($(objpfx)tst-array2.out): Likewise.
22043 ($(objpfx)tst-array3.out): Likewise.
22044 ($(objpfx)tst-array4.out): Likewise.
22045 ($(objpfx)tst-array5.out): Likewise.
22046 ($(objpfx)tst-array5-static.out): Likewise.
22047
01767843
CM
220482012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22049
47cc1490
CM
22050 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22051 if defined.
22052
01767843
CM
22053 * nss/nsswitch.h (nss_interface_function): Provide new
22054 macro for use with NSS functions.
22055 * grp/initgroups.c: Use new macro.
22056 * nss/getXXbyYY.c: Likewise.
22057 * nss/getXXbyYY_r.c: Likewise.
22058 * nss/getXXent.c: Likewise.
22059 * nss/getXXent_r.c: Likewise.
22060 * sysdeps/posix/getaddrinfo.c: Likewise.
22061
8321aa97
AJ
220622012-10-30 Andreas Jaeger <aj@suse.de>
22063
22064 * po/ru.po: Update Russion translation from translation project.
22065
2a27fd6d
JM
220662012-10-30 Joseph Myers <joseph@codesourcery.com>
22067
8627a232
JM
22068 [BZ #14152]
22069 [BZ #14783]
22070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22071 result and shift together with sticky bit instead of replicating
22072 round-to-nearest rounding.
22073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22075 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22076 missing underflow exceptions.
22077 (fma_test_towardzero): Add more tests.
22078 (fma_test_downward): Likewise.
22079 (fma_test_upward): Likewise.
22080
2a27fd6d
JM
22081 [BZ #14047]
22082 * sysdeps/generic/tininess.h: New file.
22083 * sysdeps/i386/tininess.h: Likewise.
22084 * sysdeps/sh/tininess.h: Likewise.
22085 * sysdeps/x86_64/tininess.h: Likewise.
22086 * stdlib/tst-strtod-underflow.c: Likewise.
22087 * stdlib/tst-tininess.c: Likewise.
22088 * stdlib/strtod_l.c: Include <tininess.h>.
22089 (round_and_return): Do not set errno for exact underflow cases.
22090 Force an underflow exception when setting errno for underflow.
22091 Determine underflow based on rounding to normal precision if
22092 TININESS_AFTER_ROUNDING.
22093 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22094 ERANGE for exact underflow cases.
22095 * stdlib/Makefile (tests): Add tst-tininess and
22096 tst-strtod-underflow.
22097 ($(objpfx)tst-tininess): Use $(link-libm).
22098 ($(objpfx)tst-strtod-underflow): Likewise.
22099
e7170363
AJ
221002012-10-30 Andreas Jaeger <aj@suse.de>
22101
e5088dc6
AJ
22102 [BZ#14767]
22103 * elf/Makefile (tests): Remove conditional for have-initfini-array
22104 since this is now always required and the variable does not exist
22105 anymore.
22106 (tests-static): Likewise.
22107 (modules-names): Likewise.
22108
e7170363 22109 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22110
22111 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22112 merged with constructor/destructor.
22113 (init_array): Likewise.
22114 * elf/tst-array2dep.c (fini_array): Likewise.
22115 (init_array): Likewise.
22116
60457d8a
MF
221172012-10-29 Mike Frysinger <vapier@gentoo.org>
22118
22119 * manual/message.texi: Delete @cartouche tags.
22120
8bece752
PT
221212012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22122
94ce799f
PT
22123 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22124 EOPNOTSUPP.
22125 * sysdeps/mach/hurd/fsync.c: Likewise.
22126
8bece752
PT
22127 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22128 [_POSIX_REALTIME_SIGNALS]: Change condition to
22129 [_POSIX_REALTIME_SIGNALS > 0].
22130
86ebe6b1
AJ
221312012-10-27 Andreas Jaeger <aj@suse.de>
22132
22133 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22134 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22136 [__WORDSIZE != 64]: Likewise.
22137
54399c08
L
221382012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22139
22140 * iconvdata/tst-table.sh: Remove ${SHELL}.
22141 * iconvdata/tst-tables.sh: Likewise.
22142
e2211bed
DM
221432012-10-25 David S. Miller <davem@davemloft.net>
22144
22145 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22146 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22147 of strtoull.
22148
f303f97c
DM
22149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22150 ifunc-impl-list.c
22151 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22152 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22153 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22154 file.
22155
1e9d84cd
RM
221562012-10-25 Roland McGrath <roland@hack.frob.com>
22157
22158 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22159 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22160 __getdirentries.
22161
df381762
JM
221622012-10-25 Joseph Myers <joseph@codesourcery.com>
22163 Jim Blandy <jimb@codesourcery.com>
22164
22165 * scripts/cross-test-ssh.sh: New file.
22166 * manual/install.texi (Configuring and compiling): Document use of
22167 cross-test-ssh.sh.
22168 * INSTALL: Regenerated.
22169
bff64913
PT
221702012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22171
22172 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22173 EOPNOTSUPP.
22174
25fe8932
JM
221752012-10-25 Joseph Myers <joseph@codesourcery.com>
22176
22177 * Makeconfig (run-program-prefix): Fix comment.
22178
cc1290d0
JM
221792012-10-24 Joseph Myers <joseph@codesourcery.com>
22180 Jim Blandy <jimb@codesourcery.com>
22181
22182 * Makeconfig (test-wrapper): New variable,
22183 (test-wrapper-env): Likewise.
22184 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22185 (run-built-tests): Define to yes.
22186 (run-program-prefix): Use $(test-wrapper).
22187 (built-program-cmd): Likewise.
22188 * Rules (make-test-out): Use $(test-wrapper-env) and
22189 $(host-built-program-cmd).
22190 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22191 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22192 tst-pathopt.sh.
22193 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22194 $(test-wrapper-env) to tst-rtld-load-self.sh.
22195 ($(objpfx)order2.out): Use $(test-wrapper).
22196 ($(objpfx)tst-initorder.out): Likewise.
22197 ($(objpfx)tst-initorder2.out): Likewise.
22198 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22199 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22200 (test_wrapper_env): New variable. Use it to run ld.so.
22201 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22202 Use it to run ld.so.
22203 (test_wrapper_env): Likewise.
22204 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22205 $(test-wrapper) to run-iconv-test.sh.
22206 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22207 (ICONV): Use $test_wrapper.
22208 * posix/Makefile ($(objpfx)globtest.out): Pass
22209 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22210 globtest.sh, not $(run-program-prefix).
22211 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22212 (test_wrapper): Likewise.
22213 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22214 set together with run_via_rtld_prefix.
22215 (run_program_prefix): Define in terms of test_wrapper and
22216 run_via_rtld_prefix.
22217
6e6249d0
RM
222182012-10-24 Roland McGrath <roland@hack.frob.com>
22219
22220 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22221 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22222 Targets removed.
22223
22224 [BZ #14743]
22225 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22226 Declare __clock_getres, __clock_gettime, __clock_settime,
22227 __clock_nanosleep, and __clock_getcpuclockid.
22228 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22229 Remove librt_hidden_def (clock_gettime).
22230 * sysdeps/unix/clock_gettime.c: Likewise.
22231 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22232 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22233 * rt/clock_getres.c: Define __clock_getres as an alias.
22234 * sysdeps/posix/clock_getres.c: Likewise.
22235 * rt/clock_settime.c: Define __clock_settime as an alias.
22236 * sysdeps/unix/clock_settime.c: Likewise.
22237 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22238 * sysdeps/unix/clock_nanosleep.c: Likewise.
22239 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22240 * rt/clock-compat.c: New file.
22241 * rt/Makefile (librt-routines): Add clock-compat and move
22242 $(clock-routines) to ...
22243 (routines): ... here, new variable.
22244 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22245 Don't add get_clockfreq here.
22246 * rt/Versions (libc: GLIBC_2.17): New version set.
22247 Add clock_* symbols here.
22248 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22250 (GLIBC_2.17): Add clock_* symbols.
22251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22253 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22255 Likewise.
22256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22257 Likewise.
22258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22262 * NEWS: Mention the move.
22263
22264 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22265 Use __open, __read, __close rather than their public counterparts.
22266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22267 (__get_clockfreq_via_cpuinfo): Likewise.
22268 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22269 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22270
22271 * config.h.in (HAVE_IFUNC): New #undef.
22272 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22273 was successful.
22274 * configure: Regenerated.
22275
0cae3f4b
MF
222762012-10-24 Mike Frysinger <vapier@gentoo.org>
22277
22278 * configure.in: Move READELF check to start of file.
22279 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22280 libc_cv_asm_gnu_indirect_function in the process.
22281 * configure: Regenerated.
22282
8175a253
MF
222832012-10-24 Mike Frysinger <vapier@gentoo.org>
22284
22285 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22286 send the output to /dev/null.
22287 (libc_cv_cc_with_libunwind): Likewise.
22288 (libc_cv_as_noexecstack): Likewise.
22289 * configure: Regenerate.
22290
0708a7d1
JM
222912012-10-24 Joseph Myers <joseph@codesourcery.com>
22292
10b40d85
JM
22293 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22294
0708a7d1
JM
22295 * posix/globtest.sh (TMPDIR): Do not set.
22296 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22297 (testout): Likewise.
22298
9fddec1a
AJ
222992012-10-24 Andreas Jaeger <aj@suse.de>
22300
3a8db22f
AJ
22301 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22302 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22303 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22304 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22305 posix_fadvise64, posix_fallocate64.
22306
9fddec1a
AJ
22307 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22308 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22309 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22310 Likewise.
22311 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22312 Likewise.
22313 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22314
22315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22316 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22317 <bits/fcntl-linux.h>.
22318 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22319
22320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22321 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22322 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22323 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22324 [__WORDSIZE != 64]: Likewise.
22325
ebfd1bbd
JM
223262012-10-23 Joseph Myers <joseph@codesourcery.com>
22327
03ac099f
JM
22328 * Makeconfig (run-built-tests): New variable.
22329 * Rules [$(cross-compiling) = yes]: Change condition to
22330 [$(run-built-tests) = no].
22331 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22332 to [$(run-built-tests) = yes].
22333 * elf/Makefile [$(cross-compiling) = no]: Likewise
22334 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22335 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22336 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22337 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22338 * io/Makefile [$(cross-compiling) = no]: Likewise.
22339 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22340 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22341 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22342 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22343 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22344 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22345 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22346 * string/Makefile [$(cross-compiling) = no]: Likewise.
22347
ebfd1bbd
JM
22348 * posix/Makefile ($(objpfx)globtest.out): Pass
22349 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22350 $(rtld-installed-name).
22351 * posix/globtest.sh (elf_objpfx): Remove variable.
22352 (rtld_installed_name): Likewise.
22353 (library_path): Likewise.
22354 (run_program_prefix): New variable. Use for running globtest
22355 binary.
22356
166bca24
JB
223572012-10-23 Jim Blandy <jimb@codesourcery.com>
22358 Joseph Myers <joseph@codesourcery.com>
22359
22360 * Makeconfig (host-built-program-cmd): New variable.
22361 * elf/Makefile (tst-stackguard1-ARGS): Use
22362 $(host-built-program-cmd).
22363 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22364 (tst-spawn-ARGS): Likewise.
22365 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22366
88866099
JM
223672012-10-23 Joseph Myers <joseph@codesourcery.com>
22368 Jim Blandy <jimb@codesourcery.com>
22369
22370 * Makeconfig (run-via-rtld-prefix): New variable.
22371 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22372 (built-program-cmd): Likewise.
22373
b4b4c296
AJ
223742012-10-22 Andreas Jaeger <aj@suse.de>
22375
22376 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22377 __O_RSYNC if it exists, otherwise to O_SYNC.
22378
6fb54a22
JB
223792012-10-22 Jim Blandy <jimb@codesourcery.com>
22380 Joseph Myers <joseph@codesourcery.com>
22381
22382 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22383 /dev/null.
22384 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22385 from /dev/null
22386 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22387 /dev/null.
22388
481b90b9
AJ
223892012-10-22 Andreas Jaeger <aj@suse.de>
22390
2a0e2669
AJ
22391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22392 Define always.
22393 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22394
76e38f9a
AJ
22395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22396 bits/fcntl-linux.h.
22397
7cd37b43
AJ
22398 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22399 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22400
481b90b9
AJ
22401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22402 to __O_LARGEFILE.
22403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22404 to __O_LARGEFILE.
22405
aba75984
JB
224062012-10-21 Jim Blandy <jimb@codesourcery.com>
22407 Joseph Myers <joseph@codesourcery.com>
22408
22409 * config.make.in (NM): New variable.
22410
88d4247f
AJ
224112012-10-21 Andreas Jaeger <aj@suse.de>
22412
22413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22414 definitions and declarations that are provided by
22415 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22416
f2eed205
L
224172012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22418
22419 [BZ #14683]
22420 * elf/Makefile (tests-static): Add tst-leaks1-static.
22421 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22422 ($(objpfx)tst-leaks1-static): New rule.
22423 ($(objpfx)tst-leaks1-static-mem): Likewise.
22424 (tst-leaks1-static-ENV): New macro.
22425 * elf/dl-open.c (dl_open_worker): Check the main application
22426 only if SHARED is defined.
22427 * elf/tst-leaks1-static.c: New file.
22428
335e6931
AJ
224292012-10-20 Andreas Jaeger <aj@suse.de>
22430
22431 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22432 generic values for Linux.
22433 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22434 and declarations that are provided by <bits/fcntl-linux.h> and
22435 include <bits/fcntl-linux.h>.
22436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22437 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22438
ac5c94d3
RM
224392012-10-20 Roland McGrath <roland@hack.frob.com>
22440
22441 * io/fcntl.h: Move include of <bits/types.h> to the top and
22442 include it unconditionally.
22443
de54b33a
L
224442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22445
228cfb01
L
22446 * wcsmbs/Makefile (tests-ifunc): New variable.
22447 (tests): Add $(tests-ifunc).
22448 * wcsmbs/test-wcschr-ifunc.c: New file.
22449 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22450 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22451 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22452 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22453 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22454
69f07e5f
L
22455 * string/Makefile (tests-ifunc): New variable.
22456 (tests): Add $(tests-ifunc).
22457 * string/test-memccpy.c (TEST_NAME): New macro.
22458 * string/test-memchr.c (TEST_NAME): Likewise.
22459 * string/test-memcmp.c (TEST_NAME): Likewise.
22460 * string/test-memcpy.c (TEST_NAME): Likewise.
22461 * string/test-memmem.c (TEST_NAME): Likewise.
22462 * string/test-memmove.c (TEST_NAME): Likewise.
22463 * string/test-memset.c (TEST_NAME): Likewise.
22464 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22465 * string/test-stpcpy.c (TEST_NAME): Likewise.
22466 * string/test-stpncpy.c (TEST_NAME): Likewise.
22467 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22468 * string/test-strcasestr.c (TEST_NAME): Likewise.
22469 * string/test-strcat.c (TEST_NAME): Likewise.
22470 * string/test-strchr.c (TEST_NAME): Likewise.
22471 * string/test-strcmp.c(TEST_NAME): Likewise.
22472 * string/test-strcpy.c (TEST_NAME): Likewise.
22473 * string/test-strcspn.c (TEST_NAME): Likewise.
22474 * string/test-strlen.c (TEST_NAME): Likewise.
22475 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22476 * string/test-strncmp.c (TEST_NAME): Likewise.
22477 * string/test-strncpy.c (TEST_NAME): Likewise.
22478 * string/test-strnlen.c (TEST_NAME): Likewise.
22479 * string/test-strpbrk.c (TEST_NAME): Likewise.
22480 * string/test-strrchr.c (TEST_NAME): Likewise.
22481 * string/test-strspn.c (TEST_NAME): Likewise.
22482 * string/test-strstr.c (TEST_NAME): Likewise.
22483 * string/test-bcopy-ifunc.c: New file.
22484 * string/test-bzero-ifunc.c: Likewise.
22485 * string/test-memccpy-ifunc.c: Likewise.
22486 * string/test-memchr-ifunc.c: Likewise.
22487 * string/test-memcmp-ifunc.c: Likewise.
22488 * string/test-memcpy-ifunc.c: Likewise.
22489 * string/test-memmem-ifunc.c: Likewise.
22490 * string/test-memmove-ifunc.c: Likewise.
22491 * string/test-mempcpy-ifunc.c: Likewise.
22492 * string/test-memset-ifunc.c: Likewise.
22493 * string/test-rawmemchr-ifunc.c: Likewise.
22494 * string/test-stpcpy-ifunc.c: Likewise.
22495 * string/test-stpncpy-ifunc.c: Likewise.
22496 * string/test-strcasecmp-ifunc.c: Likewise.
22497 * string/test-strcasestr-ifunc.c: Likewise.
22498 * string/test-strcat-ifunc.c: Likewise.
22499 * string/test-strchr-ifunc.c: Likewise.
22500 * string/test-strchrnul-ifunc.c: Likewise.
22501 * string/test-strcmp-ifunc.c: Likewise.
22502 * string/test-strcpy-ifunc.c: Likewise.
22503 * string/test-strcspn-ifunc.c: Likewise.
22504 * string/test-strlen-ifunc.c: Likewise.
22505 * string/test-strncasecmp-ifunc.c: Likewise.
22506 * string/test-strncat-ifunc.c: Likewise.
22507 * string/test-strncmp-ifunc.c: Likewise.
22508 * string/test-strncpy-ifunc.c: Likewise.
22509 * string/test-strnlen-ifunc.c: Likewise.
22510 * string/test-strpbrk-ifunc.c: Likewise.
22511 * string/test-strrchr-ifunc.c: Likewise.
22512 * string/test-strspn-ifunc.c: Likewise.
22513 * string/test-strstr-ifunc.c: Likewise.
22514
de54b33a
L
22515 * debug/Makefile (tests-ifunc): New variable.
22516 (tests): Add $(tests-ifunc).
22517 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22518 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22519 * debug/test-stpcpy_chk-ifunc.c: New file.
22520 * debug/test-strcpy_chk-ifunc.c: Likewise.
22521
88481c16
SP
225222012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22523
22524 [BZ #13601]
22525 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22526 header is not read in.
22527
135948bd
JM
225282012-10-19 Joseph Myers <joseph@codesourcery.com>
22529
89f1c388
JM
22530 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22531 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22532 directly. Pass built executable to script as
22533 $(built-program-cmd).
22534 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22535 $testprogram without using LD_LIBRARY_PATH and $ldso.
22536
e40a0d21
JM
22537 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22538 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22539 $(rtld-installed-name).
22540 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22541 (rtld_installed_name): Likewise.
22542 (library_path): Likewise.
22543 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22544 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22545 $(run-program-prefix) to tst-tables.sh.
22546 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22547 it to run tst-table-from and tst-table-to.
22548 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22549 Pass it to tst-table.sh.
22550 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22551 $(run-program-prefix) to tst-gettext.sh.
22552 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22553 tst-translit.sh.
22554 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22555 tst-gettext2.sh.
22556 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22557 to run tst-gettext.
22558 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22559 to run tst-gettext2.
22560 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22561 to run tst-translit.
22562 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22563 $(run-program-prefix) to tst-mtrace.sh.
22564 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22565 to run tst-mtrace.
22566 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22567 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22568 $(rtld-installed-name).
22569 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22570 (rtld_installed_name): Likewise.
22571 (run_program_prefix): New variable. Use it to run wordexp-test.
22572
728e272a
JM
22573 * Makeconfig (ARCH): Remove all definitions.
22574 (machine): Likewise.
22575 [ARCH]: Remove conditional code.
22576 [!objdir]: Give error.
22577 [!objdir] (objpfx): Remove.
22578 [!objdir] (common-objpfx): Likewise.
22579 [!objdir] (common-objdir): Likewise.
22580 * configure.in (config_makefile): Remove. Hardcode Makefile in
22581 AC_CONFIG_FILES call.
22582 * configure: Regenerated.
22583
d528cdcf
JM
22584 [BZ #13888]
22585 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22586 or TMPDIR.
22587 (testout): Likewise.
22588
135948bd
JM
22589 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22590 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22591 $(rtld-installed-name).
22592 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22593 (rtld_installed_name): Likwise.
22594 (runit): Remove function.
22595 (run_getconf): New variable, Use it for running getconf binary.
22596
38c78296
L
225972012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22598
22599 [BZ #14716]
22600 * string/test-memmem.c (check_result): New function.
22601 (do_one_test): Use it.
22602 (check1): New function.
22603 (test_main): Use it.
22604
d077f65f
MT
226052012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22606
22607 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22608
ced52c71
JM
226092012-10-18 Joseph Myers <joseph@codesourcery.com>
22610
22611 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22612 (_G_LSEEK64): Likewise.
22613 (_G_MMAP64): Likewise.
22614 (_G_FSTAT64): Likewise.
22615 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22616 (_G_LSEEK64): Likewise.
22617 (_G_MMAP64): Likewise.
22618 (_G_FSTAT64): Likewise.
22619 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22620 unconditional. Call __mmap64 directly.
22621 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22622 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22623 __lseek64 directly.
22624 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22625 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22626 __mmap64 directly.
22627 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22628 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22629 __lseek64 directly.
22630 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22631 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22632 __lseek64 directly.
22633 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22634 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22635 __lseek64 directly.
22636 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22637 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22638 __fxstat64 directly.
22639 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22640 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22641 unconditional.
22642 (freopen64) [!_G_OPEN64]: Remove conditional code.
22643 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22644 unconditional.
22645 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22646 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22647 unconditional.
22648 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22649 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22650 unconditional.
22651 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22652 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22653 unconditional.
22654 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22655 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22656 unconditional.
22657 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22658 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22659 unconditional.
22660 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22661 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22662 unconditional.
22663 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22664
b741de23
SP
226652012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22666
22667 [BZ #12140]
22668 * manual/memory.texi (Malloc Tunable Parameters): Add note
22669 about free list pointers overwriting some perturb bytes.
22670 Wording suggested by Roland McGrath.
22671
f9b9d9c9
JM
226722012-10-17 Joseph Myers <joseph@codesourcery.com>
22673
22674 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22675 (lgamma_test): Likewise.
22676 (tgamma_test): Likewise.
22677
172a631a
FW
226782012-10-16 Florian Weimer <fweimer@redhat.com>
22679
22680 [BZ #14700]
22681 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22682 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22683
e9f37252
MK
226842012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22685
22686 * NEWS: Mention BZ #14716.
22687 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22688 when removing AVAILABLE1_USES_J macro.
22689
d394eb74
L
226902012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22691
22692 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22693 (__bswap_64): __uint64_t for unsigned 64-bit int.
22694
ca38dc17
AS
226952012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22696
22697 * include/string.h (memmem): Declare libc hidden alias.
22698 * string/memmem.c (memmem): Define libc hidden alias.
22699 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22700 __read, __close instead of open, read, close.
22701
9a387d1f
L
227022012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22703
ac49ecaf
L
22704 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22705 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22706 global and hidden.
22707 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22708 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22709 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22710 Likewise.
22711 (__rawmemchr_sse2): Likewise.
22712 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22713 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22714 (__strchr_sse2): Likewise.
22715 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22716 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22717 (__strcasecmp_sse2): Likewise.
22718 (__strncasecmp_sse2): Likewise.
22719 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22720 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22721 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22722 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22723 (__strrchr_sse2): Likewise.
22724 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22725 ifunc-impl-list.c.
22726 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22727 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22728 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22729 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22730 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22731 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22732 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22733 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22734 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22735 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22736 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22737 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22738 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22739 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22740 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22741 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22742 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22743 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22744 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22745 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22746 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22747 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22748 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22749 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22750 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22751 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22752 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22753 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22754 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22755 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22756
b090e8ea
L
22757 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22758 global and hidden.
22759 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22760 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22761 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22762 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22763 Likewise.
22764 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22765 Likewise.
22766 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22767 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22768 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22769 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22770 ifunc-impl-list.c.
22771 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22772 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22773 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22774 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22775 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22776 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22777 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22778 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22779 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22780 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22781 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22782 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22783 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22784 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22785 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22786 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22787 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22788 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22789 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22790 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22791 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22792 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22793 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22794 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22795 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22796 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22797 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22798 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22799 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22800 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22801 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22802 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22803 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22804 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22805 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22806 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22807 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22808 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22809 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22810 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22811 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22812
11dd4af6
L
22813 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22814 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22815 * include/ifunc-impl-list.h: New file.
22816 * misc/ifunc-impl-list.c: Likewise.
22817 * misc/Makefile (routines): Add ifunc-impl-list.
22818 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22819 * string/test-string.h: Include <ifunc-impl-list.h>.
22820 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22821 impl_array): New variables.
22822 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22823 are defined.
22824 (test_init): Call __libc_ifunc_impl_list to initialize
22825 func_list if TEST_IFUNC and TEST_NAME are defined.
22826
9a387d1f
L
22827 * string/Makefile (strop-tests): Add bcopy and bzero.
22828 * string/test-bcopy.c: New file.
22829 * string/test-bzero.c: Likewise.
22830 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22831 defined.
22832 * string/test-memset.c: Support bzero test if TEST_BZERO is
22833 defined.
22834 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22835 __libc_memmove.
22836 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22837 __libc_memset.
22838 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22839 of memset.
22840
472371b9
JM
228412012-10-10 Joseph Myers <joseph@codesourcery.com>
22842
1e4a9536
JM
22843 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22844 * configure: Regenerated.
22845
d173d12e
JM
22846 * Makeconfig (+link-static-before-libc): Don't include
22847 $(link-static-libc).
22848
472371b9
JM
22849 * libio/libio.h (_IO_pos_t): Remove.
22850
89a3ad0b
AO
228512012-10-10 Alexandre Oliva <aoliva@redhat.com>
22852
22853 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22854 McGrath.
22855
e7451425
AO
228562012-10-10 Alexandre Oliva <aoliva@redhat.com>
22857
22858 * crypt/crypt-entry.c: Include fips-private.h.
22859 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22860 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22861 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22862 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22863
4ba74a35
AO
228642012-10-10 Alexandre Oliva <aoliva@redhat.com>
22865
22866 * crypt/crypt-private.h: Include stdbool.h.
22867 (_ufc_setup_salt_r): Return bool.
22868 * crypt/crypt-entry.c: Include errno.h.
22869 (__crypt_r): Return NULL with EINVAL for bad salt.
22870 * crypt/crypt_util.c (bad_for_salt): New.
22871 (_ufc_setup_salt_r): Check that salt is long enough and within
22872 the specified alphabet.
22873 * crypt/badsalttest.c: New file.
22874 * crypt/Makefile (tests): Add it.
22875 ($(objpfx)badsalttest): New.
22876
f96f1242
MK
228772012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22878
22879 * NEWS: Add entry for BZ #14602.
22880
0e8e0c1c
JM
228812012-10-09 Joseph Myers <joseph@codesourcery.com>
22882
22883 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22884 type-generic.
22885 * math/libm-test.inc: Update comment listing what functions and
22886 macros are tested.
22887 (isgreater_test): New function.
22888 (isgreaterequal_test): Likewise.
22889 (isless_test): Likewise.
22890 (islessequal_test): Likewise.
22891 (islessgreater_test): Likewise.
22892 (isunordered_test): Likewise.
22893 (main): Call the new functions.
22894
273edc5e
RM
228952012-10-09 Roland McGrath <roland@hack.frob.com>
22896
b8493de0
RM
22897 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22898 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22899 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22900 * sysdeps/i386/configure: Regenerated.
22901 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22902 * sysdeps/mach/configure: Regenerated.
22903 * sysdeps/mach/hurd/configure: Regenerated.
22904 * sysdeps/powerpc/configure: Regenerated.
22905 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22906 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22907 * sysdeps/s390/s390-32/configure: Regenerated.
22908 * sysdeps/s390/s390-64/configure: Regenerated.
22909 * sysdeps/sh/configure: Regenerated.
22910 * sysdeps/sparc/configure: Regenerated.
22911 * sysdeps/unix/sysv/linux/configure: Regenerated.
22912 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22913 * sysdeps/x86_64/configure: Regenerated.
22914
273edc5e
RM
22915 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22916 defined. Don't check if MAP is NULL.
22917
c8450f70
JM
229182012-10-09 Joseph Myers <joseph@codesourcery.com>
22919
22920 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22921 (_G_stat64): Likewise.
22922 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22923 (_G_stat64): Likewise.
22924 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22925 instead of struct _G_stat64.
22926 * libio/fileops.c (mmap_remap_check): Likewise.
22927 (decide_maybe_mmap): Likewise.
22928 (_IO_new_file_seekoff): Likewise.
22929 (_IO_file_stat): Likewise.
22930 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22931 _G_off64_t.
22932 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22933 instead of struct _G_stat64.
22934 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22935
57e605ba
MK
229362012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22937
22938 [BZ #14602]
22939 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22940 Replace with ...
22941 (CHECK_EOL): New macro.
22942 (two_way_short_needle): Check beginning of haystack for EOL. Use
22943 CHECK_EOL.
22944 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22945 Replace with CHECK_EOL.
22946 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22947 Replace with CHECK_EOL.
22948
ef1bb361
JM
229492012-10-08 Joseph Myers <joseph@codesourcery.com>
22950
22951 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22952 type-generic.
22953 * math/libm-test.inc: Update comment listing what functions and
22954 macros are tested.
22955 (finite_test): New function.
22956 (isinf_test): Likewise.
22957 (isnan_test): Likewise.
22958 (fpclassify_test): Test subnormal input.
22959 (isfinite_test): Likewise.
22960 (isnormal_test): Likewise.
22961 (main): Call the new functions.
22962
55f11534
JN
229632012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22964
22965 [BZ #14660]
22966 * Makerules (%.dynsym): Force C locale when running
22967 $(OBJDUMP) --dynamic-syms.
22968
1ab29350
AS
229692012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22970
22971 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22972 <stdint.h>.
22973
f1ecb7ef
DM
229742012-10-06 David S. Miller <davem@davemloft.net>
22975
22976 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22977 upper 32-bits of the length value in %o2 since we use branch-on-register
22978 tests which consider the entire 64-bit register.
22979
5d41d91a
L
229802012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22981
22982 * string/test-strstr.c (check2): Add a test for page boundary.
22983
3baddb72
DM
229842012-10-05 David S. Miller <davem@davemloft.net>
22985
22986 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22987 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22988 file.
22989 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22990 sysdep_routines.
22991 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22992 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22993 and bzero when HWCAP_SPARC_CRYPTO is present.
22994
9cee5585
L
229952012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22996
d7e0dab9
L
22997 [BZ #14602]
22998 * string/test-strstr.c (check2): New function.
22999 (test_main): Call check2.
23000
03759f47
L
23001 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23002 and bug-strchr1.
23003 * string/bug-strcasestr1.c (do_test): Moved to ...
23004 * string/test-strcasestr.c (check1): Here. New function.
23005 (do_one_test): Break out result checking code into ...
23006 (check_result): This. New function.
23007 (do_one_test): Call check_result.
23008 (test_main): Call check1.
23009 * string/bug-strchr1.c (do_test): Moved to ...
23010 * string/test-strchr.c (check1): Here. New function.
23011 (do_one_test): Break out result checking code into ...
23012 (check_result): This. New function.
23013 (do_one_test): Call check_result.
23014 (test_main): Call check1.
23015 * string/bug-strstr1.c (main): Moved to ...
046f153e 23016 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23017 (do_one_test): Break out result checking code into ...
23018 (check_result): This. New function.
23019 (do_one_test): Call check_result.
23020 (test_main): Call check1.
23021 * string/bug-strcasestr1.c: Removed.
23022 * string/bug-strchr1.c: Likewise.
23023 * string/bug-strstr1.c: Likewise.
23024
53cea63e
L
23025 * elf/Makefile (dl-routines): Add hwcaps.
23026 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23027 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23028 (_dl_important_hwcaps): Moved to ...
23029 * elf/dl-hwcaps.c: Here. New file.
23030 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23031
9cee5585 23032 [BZ #14557]
bb859b06
L
23033 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23034 if IS_IN_rtld isn't defined.
23035
9cee5585
L
23036 * elf/dl-support.c (_dl_sysinfo_map): New.
23037 Include "get-dynamic-info.h" and "setup-vdso.h".
23038 (_dl_non_dynamic_init): Call setup_vdso.
23039 * elf/dynamic-link.h: Don't include <assert.h>.
23040 (elf_get_dynamic_info): Moved to ...
23041 * elf/get-dynamic-info.h: Here. New file.
23042 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23043 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23044 * elf/setup-vdso.h: Here. New file.
23045 * elf/rtld.c: Include "setup-vdso.h".
23046 (dl_main): Call setup_vdso.
23047
23c31b76
JM
230482012-10-05 Joseph Myers <joseph@codesourcery.com>
23049
28234b07
JM
23050 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23051 creal in comment listing functions tested. List finite, isinf,
23052 isnan, isless, islessequal, isgreater, isgreaterequal,
23053 islessgreater, isunordered, lgamma_r and pow10 as functions and
23054 macros not tested. Mention which functions not tested are aliases
23055 for other functions. Fix typo. Note that signs of NaNs are not
23056 tested.
23057
23c31b76
JM
23058 * scripts/config.guess: Update from config.git.
23059 * scripts/config.sub: Likewise.
23060
9043e228
RM
230612012-10-04 Roland McGrath <roland@hack.frob.com>
23062
23063 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23064 * misc/madvise.c (madvise): Renamed to __madvise.
23065 Make madvise a weak alias.
23066 * include/sys/mman.h: Declare __madvise.
23067 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23068 * sysdeps/unix/syscalls.list
23069 (madvise): Make __madvise the strong name, and madvise a weak alias.
23070 * sysdeps/unix/sysv/linux/syscalls.list
23071 (madvise, mmap): Remove redundant entries.
23072 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23073 * malloc/malloc.c (mtrim): Likewise.
23074 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23075
f57f8055
RM
230762012-10-03 Roland McGrath <roland@hack.frob.com>
23077
23078 * sysdeps/mach/hurd/dl-cache.c: File removed.
23079 * config.h.in (USE_LDCONFIG): New #undef.
23080 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23081 * configure: Regenerated.
23082 * elf/Makefile (dl-routines): Add dl-cache only under
23083 [$(use-ldconfig) = yes].
23084 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23085 cache on [USE_LDCONFIG].
23086 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23087 [USE_LDCONFIG].
23088 * elf/rtld.c (dl_main): Likewise.
23089
5bb0c10a
PT
230902012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23091
23092 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23093 _SC_LEVEL4_CACHE_LINESIZE.
23094
010188c6
RM
230952012-10-03 Roland McGrath <roland@hack.frob.com>
23096
23097 * sysdeps/unix/bsd/confstr.h: File removed.
23098
b6c5ec07
AO
230992012-10-02 Alexandre Oliva <aoliva@redhat.com>
23100
23101 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23102 sys/sdt-config.h.
23103
408223d4
RM
231042012-10-02 Roland McGrath <roland@hack.frob.com>
23105
23106 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23107 Make 'mapoff' field ElfW(Off) rather than off_t.
23108
bb9510dc
DL
231092012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23110
fc997c6e
DL
23111 * nscd/Makefile: Remove nscd-cflags and all its users.
23112 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23113 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23114
bb9510dc
DL
23115 [BZ #10631]
23116 * malloc.c (malloc_printerr): Clarify error message.
23117
05699367
L
231182012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23119
23120 [BZ #14648]
23121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23122 Set bit_FMA_Usable if FMA is supported.
23123 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23124 macro.
23125 (bit_FMA4_Usable): Updated.
23126 (index_FMA_Usable): New macro.
23127 (CPUID_FMA): Likewise
23128 (HAS_FMA): Defined with bit_FMA_Usable.
23129
51367701
RM
231302012-10-01 Roland McGrath <roland@hack.frob.com>
23131
23132 * bits/types.h (__swblk_t): Type removed.
23133 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23134 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23136 (__SWBLK_T_TYPE): Likewise.
23137 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23138 (__SWBLK_T_TYPE): Likewise.
23139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23140 (__SWBLK_T_TYPE): Likewise.
23141 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23142 (__SWBLK_T_TYPE): Likewise.
23143
4d57bf63 231442012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23145 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23146
23147 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23148 (xdr_mapname): Use YPMAXMAP as maxsize.
23149 (xdr_peername): Use YPMAXPEER as maxsize.
23150 (xdr_keydat): Use YPAXRECORD as maxsize.
23151 (xdr_valdat): Use YPMAXRECORD as maxsize.
23152
93c65d43
RM
231532012-10-01 Roland McGrath <roland@hack.frob.com>
23154
497a03d6
RM
23155 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23156
93c65d43
RM
23157 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23158 * csu/init-first.c: ... here.
23159 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23160 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23161 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23162 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23163 * sysdeps/i386/init-first.c: File removed.
23164 * sysdeps/sh/init-first.c: File removed.
23165
bec749fd
JM
231662012-10-01 Joseph Myers <joseph@codesourcery.com>
23167
23168 [BZ #14645]
23169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23170 if x * y might underflow to zero and z is zero.
23171 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23172 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23173 * math/libm-test.inc (min_subnorm_value): New variable.
23174 (fma_test): Add more tests.
23175 (fma_test_towardzero): Likewise.
23176 (fma_test_downward): Likewise
23177 (fma_test_upward): Likewise.
23178 (initialize): Set min_subnorm_value.
23179
8ec5b013
JM
231802012-09-29 Joseph Myers <joseph@codesourcery.com>
23181
23182 [BZ #14638]
23183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23184 0 + 0.
23185 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23186 mode for addition resulting in exact zero.
23187 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23189 exact 0 + 0.
23190 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23191 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23192 * math/libm-test.inc (fma_test): Add more tests.
23193 (fma_test_towardzero): New function.
23194 (fma_test_downward): Likewise.
23195 (fma_test_upward): Likewise.
23196 (main): Call the new functions.
23197
b1fa802e
DM
231982012-09-28 David S. Miller <davem@davemloft.net>
23199
23200 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23201
d3b9fd9e
RM
232022012-09-28 Roland McGrath <roland@hack.frob.com>
23203
ea4d37b3
RM
23204 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23205 instead of SIGALRM.
23206
ac51c949
RM
23207 * sysdeps/gnu/_G_config.h: Moved to ...
23208 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23209 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23210 * sysdeps/generic/_G_config.h: ... here.
23211
28c195f7
RM
23212 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23213
848917f9
RM
23214 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23215
6bacf05b
RM
23216 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23217 Conditionalize target on [libnss_test1.so-version].
23218
91363dbb
RM
23219 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23220
cc87f7d8
RM
23221 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23222 (elfobjdir): Move out of conditionals.
23223
b1c608fe
RM
23224 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23225 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23226 (__nss_lookup_function): Conditionalize label remove_from_tree on
23227 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23228
1d9a6d96
DM
232292012-09-28 David S. Miller <davem@davemloft.net>
23230
23231 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23232 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23233 file.
23234 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23235 sysdep_routines.
23236 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23238 when HWCAP_SPARC_CRYPTO is present.
23239
72581615
PT
232402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23241
23242 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23243
715a900c
JL
232442012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23245
23246 [BZ #6530]
23247 * stdio-common/vfprintf.c (process_string_arg): Revert
23248 2000-07-22 change.
23249
232502011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23251
23252 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23253 for testcase.
23254 * stdio-common/tst-sprintf.c: Include <locale.h>
23255 (main): Test sprintf's handling of incomplete multibyte
23256 characters.
23257
9bac1d86
L
232582012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23259
23260 * elf/dl-runtime.c (VERSYMIDX): Removed.
23261 * elf/dl-version.c (VERSYMIDX): Likewise.
23262 * elf/do-rel.h (VERSYMIDX): Likewise.
23263 (VALIDX): Likewise.
23264 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23265 * elf/rtld.c (VALIDX): Likewise.
23266 (ADDRIDX): Likewise.
9bac1d86
L
23267 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23268 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23269 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23270 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23271 (VALIDX): Likewise.
23272 (ADDRIDX): Likewise.
9bac1d86 23273
b31606c0
PT
232742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23275
23276 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23277
11541177
JL
232782012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23279
23280 [BZ #11438]
23281 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23282 to global scope.
23283 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23284 addresses are in the same scope as 192.0.2/24.
23285 * posix/gai.conf: Document new scope table defaults.
23286
adb26fae
SP
232872012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23288
23289 [BZ #5298]
23290 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23291 for ftell. Compute offsets from write pointers instead.
23292 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23293
4573c6b0
SP
232942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23295
23296 [BZ #14543]
23297 * libio/Makefile (tests): New test case tst-fseek.
23298 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23299 combination works in wide mode.
23300 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23301 state when the external buffer state changes.
23302
aa9bbfe6
DM
233032012-09-27 David S. Miller <davem@davemloft.net>
23304
23305 [BZ #14376]
23306 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23307 pass reloc->r_addend in as the 'high' argument to
23308 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23309
784421e7
DM
23310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23311
c39bc8b8
PT
233122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23313
23314 * rt/tst-aio2.c: Include <pthread.h>.
23315 * rt/tst-aio3.c: Likewise.
23316
1ccc2399
SE
233172012-09-27 Steve Ellcey <sellcey@mips.com>
23318
23319 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23320
31ed4153
L
233212012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23322
25f5f885
L
23323 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23324 contents on [SHARED].
31ed4153 23325
b7bfe116
MP
233262012-09-26 Marek Polacek <polacek@redhat.com>
23327
23328 [BZ #14530]
23329 [BZ #13741]
23330 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23331 for C++ and GCC <4.3 as well as for non GCC compilers.
23332
43c4edba
MT
233332012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23334
23335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23336
6a1bf82f
RM
233372012-09-25 Roland McGrath <roland@hack.frob.com>
23338
23339 * Makefile.in (all, install): Declare with .PHONY.
23340 Reported by Michael Hope <michael.hope@linaro.org>.
23341
8ad11b9a
TMQMF
233422012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23343
23344 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23345 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23346 system header.
23347 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23348 Likewise.
23349 (sydep_routines): Add the new and the internal functions.
23350 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23351 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23353 (GLIBC_2.17): Add the new function.
23354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23355 (GLIBC_2.17): Likewise.
23356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23357 (GLIBC_2.17): Likewise.
23358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23359 (GLIBC_2.17): Likewise.
23360 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23361
7e2fca8d
AM
233622012-09-25 Alan Modra <amodra@gmail.com>
23363
23364 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23365 Add release barrier before setting once_control to say
23366 initialisation is done. Add hints on lwarx. Use macro in
23367 place of isync.
23368 (clear_once_control): Add release barrier.
23369
b87c4b24
JM
233702012-09-25 Joseph Myers <joseph@codesourcery.com>
23371
d032e0d2
JM
23372 [BZ #13629]
23373 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23374 specially.
23375 * math/s_clog10.c (__clog10): Likewise.
23376 * math/s_clog10f.c (__clog10f): Likewise.
23377 * math/s_clog10l.c (__clog10l): Likewise.
23378 * math/s_clogf.c (__clogf): Likewise.
23379 * math/s_clogl.c (__clogl): Likewise.
23380 * math/Makefile (libm-calls): Add x2y2m1.
23381 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23382 (__x2y2m1): Likewise.
23383 (__x2y2m1l): Likewise.
23384 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23385 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23386 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23387 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23388 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23389 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23390 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23391 * sysdeps/i386/fpu/libm-test-ulps: Update.
23392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23393
b87c4b24
JM
23394 [BZ #14621]
23395 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23396 int as type of variable DEPTH.
23397 (glob): Use size_t instead of int as type of variables NEWCOUNT
23398 and OLD_PATHC.
23399
6d3bf199
LD
234002012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23401
22bf5c17
LD
23402 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23403 Add s_sincosf-sse2.
23404 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23405 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23406 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23407 macros for using routine as __sincosf_ia32.
23408 Use macro for function declaration and weak_alias.
23409 * sysdeps/i386/fpu/libm-test-ulps: Update.
23410
23411 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23413
23414 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23415 subnormal argument.
23416 * math/s_cexpf.c (__cexpf): Likewise.
23417 * math/s_csinf.c (__csinf): Likewise.
23418 * math/s_csinhf.c (__csinhf): Likewise.
23419 * math/s_ctanf.c (__ctanf): Likewise.
23420 * math/s_ctanhf.c (__ctanhf): Likewise.
23421 * math/s_ccosh.c (__ccoshf): Likewise.
23422 * math/s_cexp.c (__cexpl): Likewise.
23423 * math/s_csin.c (__csin): Likewise.
23424 * math/s_csinh.c (__csinh): Likewise.
23425 * math/s_ctan.c (__ctan): Likewise.
23426 * math/s_ctanh.c (ctanh): Likewise.
23427 * math/s_ccoshl.c (__ccoshl): Likewise.
23428 * math/s_cexpl.c (__cexpl): Likewise.
23429 * math/s_csinl.c (__csinl): Likewise.
23430 * math/s_csinhl.c (__csinhl): Likewise.
23431 * math/s_ctanl.c (__ctanl): Likewise.
23432 * math/s_ctanhl.c (__ctanhl): Likewise.
23433
203e5603
JM
234342012-09-25 Joseph Myers <joseph@codesourcery.com>
23435
23436 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23437 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23438 (_IO_off_t): Define to __off_t, not _G_off_t.
23439 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23440 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23441 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23442 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23443 type of __dummy and __dummy2 fields.
23444 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23445 (_G_ssize_t): Likewise.
23446 (_G_off_t): Likewise.
23447 (_G_pid_t): Likewise.
23448 (_G_uid_t): Likewise.
23449 (_G_wchar_t): Likewise.
23450 (_G_wint_t): Likewise.
23451 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23452 (_G_ssize_t): Likewise.
23453 (_G_off_t): Likewise.
23454 (_G_pid_t): Likewise.
23455 (_G_uid_t): Likewise.
23456 (_G_wchar_t): Likewise.
23457 (_G_wint_t): Likewise.
23458 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23459 (_G_ssize_t): Likewise.
23460 (_G_off_t): Likewise.
23461 (_G_pid_t): Likewise.
23462 (_G_uid_t): Likewise.
23463 (_G_wchar_t): Likewise.
23464 (_G_wint_t): Likewise.
23465
9fab36eb
SP
234662012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23467
23468 * malloc/arena.c: Include malloc-sysdep.h.
23469 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23470 is sufficient to shrink the heap or an unmap is needed.
23471 * sysdeps/generic/malloc-sysdep.h: New file. Define
23472 new function check_may_shrink_heap.
23473 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23474 new function check_may_shrink_heap.
23475
2b4f00d1
SP
234762012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23477
23478 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23479 comments.
23480
9a9028b1
DL
234812012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23482
57c69bef
DL
23483 * catgets/test-gencat.sh: Add "set -e".
23484 * elf/tst-pathopt.sh: Likewise.
23485 * grp/tst_fgetgrent.sh: Likewise.
23486 * iconvdata/run-iconv-test.sh: Likewise.
23487 * intl/tst-gettext.sh: Likewise.
23488 * intl/tst-gettext2.sh: Likewise.
23489 * intl/tst-gettext4.sh: Likewise.
23490 * intl/tst-gettext6.sh: Likewise.
23491 * intl/tst-translit.sh: Likewise.
23492 * io/ftwtest-sh: Likewise.
23493 * libio/test-freopen.sh: Likewise.
23494 * malloc/tst-mtrace.sh: Likewise.
23495 * posix/globtest.sh: Likewise.
23496 * posix/tst-getconf.sh: Likewise.
23497 * posix/wordexp-tst.sh: Likewise.
23498 * stdio-common/tst-printf.sh: Likewise.
23499 * stdio-common/tst-unbputc.sh: Likewise.
23500 * stdlib/tst-fmtmsg.sh: Likewise.
23501 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23502 * catgets/Makefile: Do not specify -e option when running
23503 testsuite shell scripts.
23504 * elf/Makefile: Likewise.
23505 * grp/Makefile: Likewise.
23506 * iconvdata/Makefile: Likewise.
23507 * intl/Makefile: Likewise.
23508 * io/Makefile: Likewise.
23509 * libio/Makefile: Likewise.
23510 * malloc/Makefile: Likewise.
23511 * posix/Makefile: Likewise.
23512 * stdio-common/Makefile: Likewise.
23513 * stdlib/Makefile: Likewise.
23514 * sysdeps/x86_64/Makefile: Likewise.
23515
9a9028b1
DL
23516 * io/ftwtest-sh: Add copyright header.
23517 * posix/globtest.sh: Likewise.
23518 * posix/tst-getconf.sh: Likewise.
23519 * posix/wordexp-tst.sh: Likewise.
23520 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23521
ced6f16e
L
235222012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23523
94b32c39
L
23524 [BZ #13679]
23525 * Makeconfig (+link): Defined as $(+link-static) if
23526 $(build-shared) isn't yes.
23527 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23528 isn't yes.
23529 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23530
189e935b
L
23531 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23532
ced6f16e
L
23533 [BZ #14562]
23534 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23535 new chunk size with MALLOC_ALIGN_MASK.
23536
a9f8e53a
JM
235372012-09-24 Joseph Myers <joseph@codesourcery.com>
23538
23539 [BZ #5044]
23540 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23541 <rounding-mode.h>.
23542 (__printf_fphex): Determine rounding using get_rounding_mode and
23543 round_away.
23544 * stdio-common/tst-printf-round.c (struct hex_test): New
23545 structure.
23546 (hex_tests): New variable.
23547 (test_hex_in_one_mode): New function.
23548 (do_test): Also run tests for hex float output.
23549
43153109
JM
235502012-09-21 Joseph Myers <joseph@codesourcery.com>
23551
23552 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23553 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23554 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23555 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23556 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23557 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23558 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23559 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23560
8a26625d
JM
235612012-09-20 Joseph Myers <joseph@codesourcery.com>
23562
23563 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23564 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23565 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23566 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23567
f3fd569c
DL
235682012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23569
23570 [BZ #14579]
23571 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23572 mode only.
23573 * elf/tst-rtld-load-self.sh: New test.
23574 * elf/Makefile: Run it.
23575
63bbedd4
JM
235762012-09-18 Joseph Myers <joseph@codesourcery.com>
23577
23578 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23579 (tst-writev-ENV): Remove.
23580 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23581
626f8b6a
CM
235822012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23583
23584 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23585
b7aaa4d6
JM
235862012-09-17 Joseph Myers <joseph@codesourcery.com>
23587
23588 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23589 unconditional.
23590 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23591 Likewise.
23592 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23593 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23594 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23595 Likewise.
23596
65513990
L
235972012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23598
23599 [BZ #14587]
23600 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23601 * config.make.in (have-cpp-asm-debuginfo): Removed.
23602 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23603 * configure: Regenerated.
23604
784761be
JM
236052012-09-14 Joseph Myers <joseph@codesourcery.com>
23606
23607 [BZ #5044]
23608 * stdio-common/printf_fp.c: Include <stdbool.h> and
23609 <rounding-mode.h>.
23610 (___printf_fp): Determine rounding using get_rounding_mode and
23611 round_away.
23612 * stdio-common/tst-printf-round.c: New file.
23613 * stdio-common/Makefile (tests): Add tst-printf-round.
23614 (link-libm): New variable.
23615 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23616
9503345f
L
236172012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23618
23619 [BZ #14576]
23620 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23621 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23622 Likewise.
23623 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23624 Likewise.
23625
ad35fc00
JM
236262012-09-13 Joseph Myers <joseph@codesourcery.com>
23627
23628 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23629 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23630 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23631 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23632
6c9b0f68
JM
236332012-09-12 Joseph Myers <joseph@codesourcery.com>
23634
23635 [BZ #14518]
23636 * include/rounding-mode.h: New file.
23637 * sysdeps/generic/get-rounding-mode.h: Likewise.
23638 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23639 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23640 (MAX_VALUE): New macro.
23641 (MIN_VALUE): Likewise.
23642 (overflow_value): New function.
23643 (underflow_value): Likewise.
23644 (round_and_return): Use overflow_value and underflow_value to
23645 determine return values in overflow and underflow cases. Use
23646 round_away to determine rounding depending on rounding mode.
23647 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23648 determine return values in overflow and underflow cases.
23649 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23650 (struct test_results): New structure.
23651 (struct test): Use struct test_results to store expected results
23652 for all rounding modes.
23653 (TEST): Include expected results for all rounding modes.
23654 (test_in_one_mode): New function.
23655 (do_test): Use test_in_one_mode to compute and check results.
23656 Check results for all rounding modes.
23657 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23658 $(link-libm).
23659
19fcedd5
AM
236602012-12-09 Allan McRae <allan@archlinux.org>
23661
1e9d84cd 23662 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23663
8bbfd2f1
JM
236642012-09-11 Joseph Myers <joseph@codesourcery.com>
23665
23666 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23667 (_G_int32_t): Likewise.
23668 (_G_uint16_t): Likewise.
23669 (_G_uint32_t): Likewise.
23670 (_G_HAVE_BOOL): Likewise.
23671 (_G_HAVE_ATEXIT): Likewise.
23672 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23673 (_G_HAVE_IO_FILE_OPEN): Likewise.
23674 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23675 (_G_int32_t): Likewise.
23676 (_G_uint16_t): Likewise.
23677 (_G_uint32_t): Likewise.
23678 (_G_HAVE_BOOL): Likewise.
23679 (_G_HAVE_ATEXIT): Likewise.
23680 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23681 (_G_HAVE_IO_FILE_OPEN): Likewise.
23682 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23683 (_G_int32_t): Likewise.
23684 (_G_uint16_t): Likewise.
23685 (_G_uint32_t): Likewise.
23686 (_G_HAVE_BOOL): Likewise.
23687 (_G_HAVE_ATEXIT): Likewise.
23688 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23689 (_G_HAVE_IO_FILE_OPEN): Likewise.
23690
b1dc5912
L
236912012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23692
23693 * csu/libc-tls.c: Update copyright years.
23694
0e886ef9
JM
236952012-09-10 Joseph Myers <joseph@codesourcery.com>
23696
28361c5e
JM
23697 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23698 [!_G_USING_THUNKS]: Remove conditional code.
23699 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23700 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23701
0e886ef9
JM
23702 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23703 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23704 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23705 (_G_VTABLE_LABEL_PREFIX): Likewise.
23706 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23707 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23708 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23709 (_G_VTABLE_LABEL_PREFIX): Likewise.
23710 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23711 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23712 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23713 (_G_VTABLE_LABEL_PREFIX): Likewise.
23714 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23715
bcba7aa2
L
237162012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23717
23718 * libio/Makefile: Include ../Makeconfig before tests.
23719 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23720 only if $(build-shared) is yes.
23721
06585ee8
L
23722 * iconv/gconv_db.c: Update copyright years.
23723
80ccd52c
LD
237242012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23725
23726 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23727 unwind info if defined PIC. Fix special cases description.
23728 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23729
23730 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23731 DP_HI_MASK entry.
23732 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23733
691bc9c1
L
237342012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23735
3d9b46b3
L
23736 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23737
de2139a9
L
23738 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23739 is NULL.
23740
5ca78dd0
L
23741 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23742 (LDLIBS-tst-chk4): This.
23743 (LDFLAGS-tst-chk5): Renamed to ...
23744 (LDLIBS-tst-chk5): This.
23745 (LDFLAGS-tst-chk6): Renamed to ...
23746 (LDLIBS-tst-chk6): This.
23747 (LDFLAGS-tst-lfschk4): Renamed to ...
23748 (LDLIBS-tst-lfschk4): This.
23749 (LDFLAGS-tst-lfschk5): Renamed to ...
23750 (LDLIBS-tst-lfschk5): This.
23751 (LDFLAGS-tst-lfschk6): Renamed to ...
23752 (LDLIBS-tst-lfschk6): This.
23753
691bc9c1
L
23754 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23755 on $(common-objpfx)soversions.mk.
23756
65cafb1c
JM
237572012-09-07 Joseph Myers <joseph@codesourcery.com>
23758
23759 [BZ #10014]
23760 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23761 example host name.
23762
c78ab094
SP
237632012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23764
23765 * malloc/arena.c (arena_get_retry): New function that gets
23766 another arena for the caller to try its request on.
23767 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23768 current arena cannot fulfill the request.
23769 (__libc_memalign): Likewise.
23770 (__libc_memalign): Likewise.
23771 (__libc_pvalloc): Likewise.
23772 (__libc_calloc): Likewise.
23773
01f49f59
JT
237742012-09-05 John Tobey <john.tobey@gmail.com>
23775
23776 [BZ #13542]
23777 * manual/arith.texi (Operations on Complex): Fix description
23778 of carg branch cut.
23779
4c23fed5
JM
237802012-09-06 Joseph Myers <joseph@codesourcery.com>
23781
1d3c8572
JM
23782 [BZ #10014]
23783 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23784 host name.
23785
4c23fed5
JM
23786 [BZ #10038]
23787 * manual/memory.texi (Memory): Make order of menu items match
23788 order of sections.
23789
04570aaa
L
237902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23791
23792 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23793 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23794 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23795
b80af2f4
L
237962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23797
23798 * csu/libc-tls.c (static_dtv): Renamed to ...
23799 (_dl_static_dtv): This. Make it global.
23800 (_dl_initial_dtv): Removed.
23801 (__libc_setup_tls): Updated.
23802 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23803 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23804 DL_INITIAL_DTV.
23805
2abe9f15
PM
238062012-09-06 Petr Machata <pmachata@redhat.com>
23807
23808 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23809 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23810 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23811 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23812
0948c3af
L
238132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23814
23815 [BZ #14545]
23816 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23817 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23818 freeing dtv[-1].
23819
a5055ad1
L
238202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23821
23822 [BZ #14544]
23823 * Makeconfig (link-static-before-libc): Replace $(+prector)
23824 with $(+prectorT).
23825 (link-static-after-libc): Replace $(+postctor) with
23826 $(+postctorT).
23827 (link-bounded): Replace $(+prector)/$(+postctor) with
23828 $(+prectorT)/$(+postctorT).
23829 (+prectorT): New macro.
23830 (+postctorT): Likewise.
23831
ed8c2ecd
JM
238322012-09-06 Joseph Myers <joseph@codesourcery.com>
23833
23834 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23835 (round_str): Handle values above the maximum for IBM long double
23836 as inexact.
23837 * stdlib/tst-strtod-round.c (tests): Regenerated.
23838
14c996c8
AK
238392012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23840
23841 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23842 assembler flag.
23843 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23844 zarch_nohighgprs around the zarch optimized routines.
23845 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23846 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23847 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23848 for zarch.
23849
430d6ce6
DM
238502012-09-05 David S. Miller <davem@davemloft.net>
23851
23852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23853
ff04dda4
DM
23854 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23855 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23856 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23857 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23858 entries.
23859
24d4e01b
AO
238602012-09-05 Alexandre Oliva <aoliva@redhat.com>
23861
23862 * malloc/arena.c: Fold copyright years.
23863 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23864
61d58174
AO
238652012-09-05 Alexandre Oliva <aoliva@redhat.com>
23866
23867 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23868
20196a5e
AO
238692012-09-05 Alexandre Oliva <aoliva@redhat.com>
23870
23871 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23872
5c447383
AO
238732012-09-05 Alexandre Oliva <aoliva@redhat.com>
23874
23875 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23876 change internal state upon failure.
23877
fad64255
AO
238782012-09-05 Alexandre Oliva <aoliva@redhat.com>
23879
23880 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23881 * malloc/memusage.c (mmap): Likewise.
23882 (mmap64, mremap): Likewise. Adjust name in comment.
23883
1ffb8c90
SP
238842012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23885
23886 * libio/fileops.c: Fix typos in comments.
23887 * libio/oldfileops.c: Likewise.
23888 * libio/wfileops.c: Likewise.
23889
6ef9cc37
SP
238902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23891
23892 [BZ #1349]
23893 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23894 (tst-malloc-usable-ENV): Set environment for test case.
23895 * malloc/hooks.c (malloc_check_get_size): New function to get
23896 requested size.
23897 * malloc/malloc.c (musable): Use malloc_check_get_size.
23898 * malloc/tst-malloc-usable.c: New test case.
23899
4d038ae3
AS
239002012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23901
23902 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23903
c4e85184
AM
239042012-09-05 Allan McRae <allan@archlinux.org>
23905
b9dafc56 23906 [BZ #13966]
c4e85184
AM
23907 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23908 determine header location.
23909 * configure: Regenerated.
23910
e1343020
AS
239112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23912
23913 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23914 float format.
23915 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23916 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23917 format.
e1343020
AS
23918 (test): Regenerate.
23919
0a9f1987
DM
239202012-09-04 David S. Miller <davem@davemloft.net>
23921
23922 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23923 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23924 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23925
29237804
FW
239262012-09-04 Florian Weimer <fweimer@redhat.com>
23927
23928 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23929 failures.
23930
edb3cb88
FW
23931 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23932
60160d83
JM
239332012-09-04 Joseph Myers <joseph@codesourcery.com>
23934
23935 [BZ #9914]
23936 * libio/iogetdelim.c: Include <limits.h>.
23937 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23938 + len + 1 would overflow.
23939
bcd6c8dc
AJ
239402012-09-03 Andreas Jaeger <aj@suse.de>
23941
23942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23943 * sysdeps/i386/fpu/libm-test-ulps: Update.
23944
4ffffbd2
LD
239452012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23946
23947 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23948 Add s_sinf-sse2, s_conf-sse2.
23949
23950 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23951 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23952 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23953 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23954
23955 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23956 for using routine as __sinf_ia32.
23957 Use macro for function declaration and weak_alias.
23958 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23959 for using routine as __cosf_ia32.
23960 Use macro for function declaration and weak_alias.
23961
23962 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23963 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23964
23965 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23966 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23968
23969 * math/libm-test.inc (cos_test): Add more test cases.
23970 (sin_test): Likewise.
23971 (sincos_test): Likewise.
23972
511fa286
AK
239732012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23974
23975 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23976 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23977 hidden.
23978 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23979
5f30cfec
L
239802012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23981
23982 [BZ #14538]
23983 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23984 first element of the GOT.
23985 (elf_machine_load_address): Return the difference between
23986 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23987
0786794f
AM
239882012-09-01 Allan McRae <allan@archlinux.org>
23989
5f30cfec
L
23990 [BZ #13412]
23991 * configure.in (AWK): Require gawk version 3.0 or later.
23992 * configure: Regenerated.
0786794f 23993
26889eac
JM
239942012-09-01 Joseph Myers <joseph@codesourcery.com>
23995
23996 * sysdeps/unix/sysv/linux/kernel-features.h
23997 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23998 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23999 [__NR_clock_getres]: Make code unconditional.
24000 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24001 (clock_getcpuclockid): Remove code left unreachable by removal of
24002 conditionals.
24003 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24004 code unconditional.
24005 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24006 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24007 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24008 Make code unconditional.
24009 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24010 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24011 * sysdeps/unix/sysv/linux/clock_settime.c
24012 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24013 conditional code.
24014 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24015 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24016
d22e28b0
L
240172012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24018
24019 [BZ #14476]
24020 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24021 scripts/test-installation.pl.
24022
24023 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24024 and $ld_so_version if it is set.
24025
050af9c4
SP
240262012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24027
24028 [BZ #14516]
24029 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24030 failure if reading from procfs failed.
24031 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24032
ad845c0b
JM
240332012-08-27 Joseph Myers <joseph@codesourcery.com>
24034
24035 * sysdeps/unix/sysv/linux/kernel-features.h
24036 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24037 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24038 Remove conditional code.
24039 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24040 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24041 Remove conditional code.
24042 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24043 * sysdeps/unix/sysv/linux/i386/fxstat.c
24044 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24045 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24046 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24047 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24048 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24049 * sysdeps/unix/sysv/linux/i386/lxstat.c
24050 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24051 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24052 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24053 Remove conditional code.
24054 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24055 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24056 Remove conditional code.
24057 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24058 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24059 <kernel-features.h>.
24060 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24061 Remove.
24062 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24063 Remove conditional code.
24064 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24065 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24066 Remove conditional.
24067
5dbf56af
MF
240682012-08-27 Mike Frysinger <vapier@gentoo.org>
24069
24070 [BZ #5400]
24071 * NEWS: Add fixed bug number.
24072
d6e70f43
JM
240732012-08-27 Joseph Myers <joseph@codesourcery.com>
24074
7efb4737
JM
24075 [BZ #14519]
24076 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24077 underflowing exponent in case of negative sign.
24078 * stdlib/tst-strtod-round-data: Add more tests.
24079 * stdlib/tst-strtod-round.c (tests): Regenerated.
24080
af92131a
JM
24081 [BZ #3479]
24082 * stdlib/strtod_l.c (NDIG): Remove.
24083 (HEXNDIG): Likewise.
24084 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24085 smallest representable value.
24086 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24087 lie within an exact representation of 1/2 ulp of the result.
24088 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24089 unconditionally.
24090 (TENS_P9_IDX): Define unconditionally.
24091 (TENS_P9_SIZE): Likewise.
24092 (TENS_P10_IDX): Likewise.
24093 (TENS_P10_SIZE): Likewise.
24094 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24095 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24096 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24097 entries for 10^2^13 and 10^2^14.
24098 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24099 (TENS_P13_IDX): Define.
24100 (TENS_P13_SIZE): Likewise.
24101 (TENS_P14_IDX): Likewise.
24102 (TENS_P14_SIZE): Likewise.
24103 (_fpioconst_pow10): Change array size to
24104 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24105 unconditional.
24106 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24107 1024]: Add entries for 10^2^13 and 10^2^14.
24108 [LAST_POW10 > _LAST_POW10]: Remove #error.
24109 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24110 (_fpioconst_pow10): Change array size to
24111 FPIOCONST_POW10_ARRAY_SIZE.
24112 * stdlib/gen-fpioconst.c: New file.
24113 * stdlib/gen-tst-strtod-round.c: Likewise.
24114 * stdlib/tst-strtod-round-data: Likewise.
24115 * stdlib/tst-strtod-round.c: Likewise.
24116 * stdlib/Makefile (tests): Add tst-strtod-round.
24117
d6e70f43
JM
24118 [BZ #14459]
24119 * stdlib/strtod_l.c: Include <stdint.h>.
24120 (NDEBUG): Do not define.
24121 (round_and_return): Change EXPONENT parameter to type intmax_t.
24122 Rearrange calculations to avoid internal overflow possibilities.
24123 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24124 Rearrange calculations to avoid internal overflow possibilities.
24125 Assert that number fits inside MPNSIZE limbs.
24126 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24127 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24128 calculations and add assertions to avoid internal overflow
24129 possibilities. Add casts to avoid signed/unsigned operations.
24130 * stdlib/tst-strtod-overflow.c: New file.
24131 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24132
1f529f7d
MP
241332012-08-25 Marek Polacek <polacek@redhat.com>
24134
24135 * time/time.h: Fix some typos in comments.
24136
59a629f1
RM
241372012-08-23 Roland McGrath <roland@hack.frob.com>
24138
24139 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24140 * posix/tst-rfc3484-2.c: Likewise.
24141 * posix/tst-rfc3484-3.c: Likewise.
24142
d3bafbc9
SM
241432012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24144
24145 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24146 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24147
4efcc022
JM
241482012-08-23 Joseph Myers <joseph@codesourcery.com>
24149
24150 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24151 #include of fxstatat64.c.
24152
3cc3ef96
RM
241532012-08-22 Roland McGrath <roland@hack.frob.com>
24154
f04e2132
RM
24155 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24156 * shadow/getspent_r.c: Likewise.
24157 * shadow/getspnam.c: Likewise.
24158 * shadow/getspnam_r.c: Likewise.
24159 * gshadow/getsgent.c: Likewise.
24160 * gshadow/getsgent_r.c: Likewise.
24161 * gshadow/getsgnam.c: Likewise.
24162 * gshadow/getsgnam_r.c: Likewise.
24163 * inet/getnetbyad.c: Likewise.
24164 * inet/getnetbyad_r.c: Likewise.
24165 * inet/getnetbynm.c: Likewise.
24166 * inet/getnetbynm_r.c: Likewise.
24167 * inet/getnetent.c: Likewise.
24168 * inet/getnetent_r.c: Likewise.
24169 * inet/getproto.c: Likewise.
24170 * inet/getproto_r.c: Likewise.
24171 * inet/getprtent.c: Likewise.
24172 * inet/getprtent_r.c: Likewise.
24173 * inet/getprtname.c: Likewise.
24174 * inet/getprtname_r.c: Likewise.
24175 * inet/getrpcbyname.c: Likewise.
24176 * inet/getrpcbyname_r.c: Likewise.
24177 * inet/getrpcbynumber.c: Likewise.
24178 * inet/getrpcbynumber_r.c: Likewise.
24179 * inet/getrpcent.c: Likewise.
24180 * inet/getrpcent_r.c: Likewise.
24181 * inet/getaliasent.c: Likewise.
24182 * inet/getaliasent_r.c: Likewise.
24183 * inet/getaliasname.c: Likewise.
24184 * inet/getaliasname_r.c: Likewise.
24185 * nscd/getgrgid_r.c: Likewise.
24186 * nscd/getgrnam_r.c: Likewise.
24187 * nscd/gethstbyad_r.c: Likewise.
24188 * nscd/gethstbynm3_r.c: Likewise.
24189 * nscd/getpwnam_r.c: Likewise.
24190 * nscd/getpwuid_r.c: Likewise.
24191 * nscd/getsrvbynm_r.c: Likewise.
24192 * nscd/getsrvbypt_r.c: Likewise.
24193 * nscd/gai.c: Likewise.
24194
c53d909c
RM
24195 * configure.in (build_nscd): New substituted variable, set
24196 by --disable-build-nscd and defaults to $use_nscd.
24197 * configure: Regenerated.
24198 * config.make.in (build-nscd): New substituted variable.
24199 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24200 Change conditional to require [$(build-nscd) = yes] as well.
24201 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24202
3cc3ef96
RM
24203 [BZ# 13696]
24204 * configure.in (use_nscd): New substituted variable, set by
24205 --disable-nscd. If enabled, define USE_NSCD.
24206 * configure: Regenerated.
24207 * config.h.in: Add USE_NSCD.
24208 * config.make.in (use-nscd): New substituted variable.
24209 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24210 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24211 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24212 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24213 (CFLAGS-getgrnam_r.c): Likewise.
24214 (CFLAGS-initgroups.c): Likewise.
24215 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24216 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24217 Variables removed.
24218 * inet/getnetgrent_r.c
24219 (nscd_setnetgrent): New function, broken out of ...
24220 (setnetgrent): ... here. Call it.
24221 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24222 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24223 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24224 * nscd/Makefile (routines, aux): Move definitions after include of
24225 Makeconfig. Conditionalize on [$(use-nscd) != no].
24226 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24227 Conditionalize on [USE_NSCD].
24228 (is_nscd, nscd_init_cb): Likewise.
24229 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24230 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24231 * nss/nss_db/db-init.c: Likewise.
24232 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24233 [USE_NSCD].
24234 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24235 (make_request): Use it.
24236 (cache_valid_p): New function.
24237 (__check_pf): Use it.
24238 * NEWS: Add item for --disable-nscd.
24239
07e51550
DL
242402012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24241
24242 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24243 to support sed >= 4.2.1-20-ga9bf076.
24244 * configure: Regenerated.
24245
35a5b08b
RM
242462012-08-22 Roland McGrath <roland@hack.frob.com>
24247
24248 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24249 Conditionalize whole body on [IREL].
24250
8479f23a
JL
242512012-08-22 Jeff Law <law@redhat.com>
24252
24253 [BZ #14505]
24254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24255 if the family is PF_UNSPEC.
24256
48da0b21
MF
242572012-08-22 Mike Frysinger <vapier@gentoo.org>
24258
24259 * Makerules (lib-version): Rename from V.
24260 (install-lib-nosubdir): Change V to lib-version.
24261
15d0da8c
WS
242622012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24263
24264 [BZ #14252]
24265 * powerpc32/power6/wcschr.c: New file.
24266 * powerpc32/power6/wcscpy.c: New file.
24267 * powerpc32/power6/wcsrchr.c: New file.
24268 * powerpc64/power6/wcschr.c: New file.
24269 * powerpc64/power6/wcscpy.c: New file.
24270 * powerpc64/power6/wcsrchr.c: New file.
24271
bcca0895
MK
242722012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24273
24274 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24275 (two_way_short_needle): Use it.
5a4aaa33
RM
24276 * string/strstr.c (AVAILABLE1_USES_J): Define.
24277 * string/strcasestr.c: Likewise.
99677e57
MK
24278
24279 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24280 array references.
24281 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24282
400726de
MK
24283 [BZ #11607]
24284 * NEWS: Add an entry.
24285 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24286 define their defaults.
24287 (two_way_short_needle): Detect end-of-string on-the-fly.
24288 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24289 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24290 * string/bug-strcasestr1.c: New test.
24291 * string/Makefile: Run it.
24292
20a71f2c
MK
242932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24294
24295 [BZ #11607]
24296 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24297 the first character.
24298
21ad0558
RM
242992012-08-21 Roland McGrath <roland@hack.frob.com>
24300
24301 * csu/elf-init.c (__libc_csu_irel): Function removed.
24302 * csu/libc-start.c (apply_irel): New function.
24303 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24304
0e1d9911
JM
243052012-08-21 Joseph Myers <joseph@codesourcery.com>
24306
24307 * sysdeps/unix/sysv/linux/kernel-features.h
24308 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24309 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24310 <kernel-features.h>.
24311 [__NR_fadvise64_64]: Make code unconditional.
24312 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24313 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24314 !__NR_fadvise64_64)]: Likewise.
24315 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24316 !__NR_fadvise64_64))]: Likewise.
24317 [__NR_fadvise64]: Make code unconditional.
24318 [!__NR_fadvise64]: Remove conditional code.
24319 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24320 <kernel-features.h>.
24321 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24322 unconditional.
24323 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24324 conditional code.
24325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24326 not include <kernel-features.h>.
24327 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24328 unconditional.
24329 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24330 conditional code.
24331 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24332 include <kernel-features.h>.
24333 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24334 unconditional.
24335 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24336 conditional code.
24337
14a50c9d
WS
243382012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24339
24340 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24341 slight instruction rearrangements per scrollpipe analysis.
24342 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24343
c0f4faf0
RM
243442012-08-20 Roland McGrath <roland@hack.frob.com>
24345
696da859
RM
24346 * manual/syslog.texi (syslog; vsyslog, closelog):
24347 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24348 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24349
c0f4faf0
RM
24350 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24351 DSOCAPS to match condition on defining it.
24352
348363b2
JM
243532012-08-20 Joseph Myers <joseph@codesourcery.com>
24354
a35cbf28
JM
24355 * sysdeps/unix/sysv/linux/kernel-features.h
24356 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24358 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24359 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24361 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24362 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24364 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24365 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24366
445f7ecd
JM
24367 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24368 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24369
348363b2
JM
24370 * sysdeps/unix/sysv/linux/kernel-features.h
24371 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24372 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24373 unconditional.
24374 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24375 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24376 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24377 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24378 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24379 Make code unconditional.
24380 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24381 (__mmap64) [!__NR_mmap2]: Likewise.
24382 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24383 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24384 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24385 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24386 [__NR_mmap2]: Make code unconditional.
24387 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24388 (__mmap64) [!__NR_mmap2]: Likewise.
24389
bc5bc0e5
AK
243902012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24391
24392 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24393
88d506de
AJ
243942012-08-18 Andreas Jaeger <aj@suse.de>
24395
24396 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24397
493387d2
MF
243982012-08-18 Mike Frysinger <vapier@gentoo.org>
24399
24400 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24401 * include/unistd.h (__have_sock_cloexec): Likewise.
24402 (__have_pipe2): Likewise.
24403 (__have_dup3): Likewise.
24404
a277af22
MF
244052012-08-18 Mike Frysinger <vapier@gentoo.org>
24406
24407 [BZ #9685]
24408 * include/unistd.h (__have_pipe2): Change define into an extern int.
24409 (__have_dup3): Likewise.
24410 * socket/have_sock_cloexec.c: Include fcntl.h.
24411 (__have_pipe2): New variable.
24412 (__have_dup3): Likewise.
24413
fdab8fd3
MF
244142012-08-17 Mike Frysinger <vapier@gentoo.org>
24415
24416 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24417
31035e80
MP
244182012-08-17 Marek Polacek <polacek@redhat.com>
24419
24420 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24421 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24422
3bd9e993
RM
244232012-08-17 Roland McGrath <roland@hack.frob.com>
24424
c91c505f
RM
24425 * configure.in: Add AC_SUBST for sysheaders.
24426 * configure: Regenerated.
24427 * config.make.in (sysheaders): New substituted variable.
24428
7c6f9d53
RM
24429 * sysdeps/unix/mkfifo.c: Moved ...
24430 * sysdeps/posix/mkfifo.c: ... here.
24431 * sysdeps/unix/mkfifoat.c: Moved ...
24432 * sysdeps/posix/mkfifoat.c: ... here.
24433
24434 * sysdeps/unix/utime.c: Moved ...
24435 * sysdeps/posix/utime.c: ... here.
24436
24437 * sysdeps/unix/time.c: Moved ...
24438 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24439 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24440 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24441
24442 * sysdeps/unix/nice.c: Moved ...
24443 * sysdeps/posix/nice.c: ... here.
24444
24445 * sysdeps/unix/alarm.c: Moved ...
24446 * sysdeps/posix/alarm.c: ... here.
24447
3bd9e993
RM
24448 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24449
d1f09384
JL
244502012-08-17 Jeff Law <law@redhat.com>
24451
24452 * intl/Makefile (codeset_mo): New variable.
24453 ($(codeset_mo)): New target.
24454 (tst-codeset.out): Depend on that. Remove explicit rule.
24455 (tst-gettext3.out, tst-gettext5.out): Likewise.
24456 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24457 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24458 * intl/tst-codeset.sh: Remove.
24459 * intl/tst-gettext3.sh: Likewise.
24460 * intl/tst-gettext5.sh: Likewise.
24461
2ae1ae5c
RM
244622012-08-17 Roland McGrath <roland@hack.frob.com>
24463
c31fdb83
RM
24464 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24465 * sysdeps/unix/syscalls.list: ... here.
24466
a0844057
RM
24467 * sysdeps/posix/getaddrinfo.c
24468 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24469 (gaiconf_init, gaiconf_reload): Use them.
24470 [!_STATBUF_ST_NSEC]
24471 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24472 Define using time_t rather than struct timespec.
24473
750c1f2a
RM
24474 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24475 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24476 Macros removed.
24477 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24478 [!NO_THREADS].
24479 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24480 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24481 Likewise.
24482
2ae1ae5c
RM
24483 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24484 __libc_cleanup_push argument.
24485
e66a42f5
RM
24486 * bits/param.h: New file.
24487 * misc/sys/param.h: New file.
24488 * include/sys/param.h: New file.
24489 * misc/Makefile (headers): Add bits/param.h.
24490 * sysdeps/generic/sys/param.h: File removed.
24491 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24492 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24493 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24494 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24495
b7c08a66
RM
24496 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24497 last change.
24498
b2e1c562
RM
24499 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24500 [_IO_MTSAFE_IO].
24501 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24502 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24503 New macros.
24504
c75ccd4c
RM
24505 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24506 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24507 rather than -D_IO_MTSAFE_IO conditionally.
24508 * stdio-common/Makefile (CPPFLAGS): Likewise.
24509 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24510 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24511 Use $(libio-mtsafe).
24512 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24513 of -D_IO_MTSAFE_IO.
24514 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24515 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24516 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24517 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24518 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24519 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24520 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24521 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24522 (CFLAGS-fread_u_chk.c): Likewise.
24523 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24524 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24525 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24526 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24527 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24528 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24529 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24530 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24531 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24532
24533 * libio/Makefile: Test [$(libc-reentrant) = yes]
24534 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24535
24536 * Makeconfig
24537 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24538 * sysdeps/pthread/configure: File removed.
24539 * sysdeps/pthread/Makeconfig: New file.
24540 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24541 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24542
d9195db8
GB
245432012-08-16 Gary Benson <gbenson@redhat.com>
24544
24545 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24546 unmapping the first object in a namespace.
24547
86466cd9
RM
245482012-08-16 Roland McGrath <roland@hack.frob.com>
24549
24550 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24551 (__internal_setnetgrent): ... this. Add internal_function to
24552 definition. Add libc_hidden_def.
24553 (setnetgrent): Update caller.
24554 (internal_endnetgrent): Renamed to ...
24555 (__internal_endnetgrent): ... this. Add internal_function to
24556 definition. Add libc_hidden_def.
24557 (endnetgrent): Update caller.
24558 (internal_getnetgrent_r): Renamed to ...
24559 (__internal_getnetgrent_r): ... this. Add internal_function to
24560 definition. Add libc_hidden_def.
24561 (__getnetgrent_r): Update caller.
24562 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24563
c3c8283c
JM
245642012-08-16 Joseph Myers <joseph@codesourcery.com>
24565
24566 * stdlib/longlong.h: Update from GCC.
24567
db1ee0a8
RM
245682012-08-16 Roland McGrath <roland@hack.frob.com>
24569
24570 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24571 on _QL, which is set by umul_ppmm but never used.
24572 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24573 variables, which are set by GMP macros but never used.
24574 * stdio-common/_itowa.c (_itowa): Likewise.
24575 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24576 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24577
30f69637
CD
245782012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24579
24580 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24581 struct La_sh_regs is not constant.
24582 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24583 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24584 and struct La_sparc64_regs are not constant.
24585
93a78ac4
JM
245862012-08-16 Joseph Myers <joseph@codesourcery.com>
24587
24588 * sysdeps/unix/sysv/linux/kernel-features.h
24589 (__ASSUME_POSIX_TIMERS): Remove.
24590 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24591 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24592 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24593 Make code unconditional.
24594 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24595 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24596 Make code unconditional.
24597 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24598 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24599 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24600 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24601 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24602 Make code unconditional.
24603 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24604 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24605 (__libc_missing_posix_timers): Remove.
24606
dd924cd7
RM
246072012-08-15 Roland McGrath <roland@hack.frob.com>
24608
4b4f2771
RM
24609 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24610 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24611
601c888b
RM
24612 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24613
176790a7
RM
24614 * elf/dl-sym.c: Include <stdlib.h>.
24615
329bc018
RM
24616 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24617 constants, which avoids warnings in 32-bit builds.
24618
e04e272d
RM
24619 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24620 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24621
952bf94a
RM
24622 * misc/lseek.c: File moved to ...
24623 * io/lseek.c: ... here.
24624
7c99b50a
RM
24625 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24626
dd924cd7
RM
24627 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24628 shifting LEN more than 31 bits at once.
24629
b3f479a8
LD
246302012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24631
24632 [BZ #14195]
8c4ae0d4
RM
24633 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24634 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24635 * string/test-strncasecmp.c (check1): Renamed to...
24636 (bz12205): ...this.
24637 (bz14195): Add new testcase for two empty input strings and N > 0.
24638 (test_main): Call new testcase, adapt for renamed function.
24639
9c55864e
AJ
246402012-08-15 Andreas Jaeger <aj@suse.de>
24641
24642 [BZ #14090]
24643 * crypt/md5test2.c: New test, based on test supplied by Serge
24644 Belyshev <belyshev@depni.sinp.msu.ru>.
24645 * crypt/Makefile (xtests): Add md5test-giant..
24646 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24647
02dcb6c5
PE
246482012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24649
24650 [BZ #14090]
24651 * crypt/md5.c (md5_process_block): Don't assume the buffer
24652 length is less than 2**32.
24653 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24654 length is less than 2**64.
24655
a3f95dcc
RM
246562012-08-15 Roland McGrath <roland@hack.frob.com>
24657
be75d758
RM
24658 * string/str-two-way.h: Include <sys/param.h>.
24659 (MAX): Macro removed.
24660
7312ca90
RM
24661 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24662 Move #define and #undef of memmove to just before and after
24663 including <string.h>.
24664
9a0a5486
RM
24665 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24666 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24667 and after including <string.h>. Move declarations of
24668 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24669 to before #include "string/memmove.c".
24670
67cc348d
RM
24671 * include/dirent.h: Declare __getdirentries.
24672
a3f95dcc
RM
24673 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24674 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24675
ca98e171
MF
246762012-08-14 Mike Frysinger <vapier@gentoo.org>
24677
24678 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24679 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24680 * sysdeps/i386/configure: Regenerated.
24681 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24682 STABS_CURRENT_FILE, and STABS_FUN.
24683 (END): Remove call to STABS_FUN_END.
24684 (STABS_CURRENT_FILE1): Delete.
24685 (STABS_CURRENT_FILE): Likewise.
24686 (STABS_FUN): Likewise.
24687 (STABS_FUN_END): Likewise.
24688 (STABS_FUN2): Likewise.
24689 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24690 * sysdeps/x86_64/configure: Regenerated.
24691
5908bf46
RM
246922012-08-14 Roland McGrath <roland@hack.frob.com>
24693
24694 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24695 * elf/dl-lookup.c: Likewise.
5908bf46 24696
f2c05b9e
JM
246972012-08-14 Joseph Myers <joseph@codesourcery.com>
24698
24699 * sysdeps/unix/sysv/linux/kernel-features.h
24700 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24701 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24702 unconditionally.
24703 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24704 unconditionally.
24705 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24706 condition on __ASSUME_CLONE_THREAD_FLAGS.
24707
e11f5155
AJ
247082012-08-14 Andreas Jaeger <aj@suse.de>
24709
24710 * sysdeps/i386/fpu/libm-test-ulps: Update.
24711
51a9ba86
MK
247122012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24713
2fdd4f78
AJ
24714 * include/atomic.h (atomic_exchange_and_add): Split into ...
24715 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24716 New atomic macros.
51a9ba86 24717
ba6cba9e
MT
247182012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24719
24720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24721
42443a47
JL
247222012-08-13 Jeff Law <law@redhat.com>
24723
24724 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24725 null byte in the output string.
24726
121dce05
JM
247272012-08-10 Joseph Myers <joseph@codesourcery.com>
24728
24729 * sysdeps/unix/sysv/linux/kernel-features.h
24730 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24731 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24732 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24733 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24734 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24735 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24736 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24737
bf51f568
JL
247382012-08-09 Jeff Law <law@redhat.com>
24739
24740 [BZ #13939]
24741 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24742 When avoid_arena is set, don't retry in the that arena. Pick the
24743 next one, whatever it might be.
24744 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24745 (arena_lock): Pass in new parameter to arena_get2.
24746 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24747 arena_get2.
24748 (__libc_malloc): Unify retrying after main arena failure with
24749 __libc_memalign version.
24750 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24751
f85fa270
L
247522012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24753
24754 [BZ #14166]
24755 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24756 to __redirect_strstr.
24757 (__strstr_sse42): Use typeof __redirect_strstr.
24758 (__strstr_ia32): Likewise.
24759 (__libc_strstr): New prototype.
24760 (strstr): Renamed to ...
24761 (__libc_strstr): This.
24762 (strstr): New strong alias of __libc_strstr.
24763 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24764 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24765 __redirect_time.
24766 Include <time.h>.
24767 (__libc_time): New prototype.
24768 (time_ifunc): Replace time with __libc_time.
24769 (time): New strong alias and hidden definition of __libc_time.
24770 (__GI_time): Remove strong alias.
24771 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24772 Include <stddef.h>.
24773 (memmove): Redefined to __redirect_memmove.
24774 (__memmove_sse2): Use typeof __redirect_memmove.
24775 (__memmove_ssse3): Likewise.
24776 (__memmove_ssse3_back): Likewise.
24777 (__libc_memmove): New prototype.
24778 (memmove): Renamed to ...
24779 (__libc_memmove): This.
24780 (memmove): New strong alias of __libc_memmove.
24781
33b4a91e
MS
247822012-08-08 Mark Salter <msalter@redhat.com>
24783
24784 * elf/elf.h
24785 (R_MN10300_TLS_GD): Define.
24786 (R_MN10300_TLS_LD): Likewise.
24787 (R_MN10300_TLS_LDO): Likewise.
24788 (R_MN10300_TLS_GOTIE): Likewise.
24789 (R_MN10300_TLS_IE): Likewise.
24790 (R_MN10300_TLS_LE): Likewise.
24791 (R_MN10300_TLS_DTPMOD): Likewise.
24792 (R_MN10300_TLS_DTPOFF): Likewise.
24793 (R_MN10300_TLS_TPOFF): Likewise.
24794 (R_MN10300_SYM_DIFF): Likewise.
24795 (R_MN10300_ALIGN): Likewise.
24796 (R_MN10300_NUM): Update.
24797
b36137f1
JM
247982012-08-08 Joseph Myers <joseph@codesourcery.com>
24799
24800 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24801 Remove.
24802
cdd915fd
RM
248032012-08-08 Roland McGrath <roland@hack.frob.com>
24804
a2433aac
RM
24805 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24806
cdd915fd
RM
24807 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24808 sysdeps/unix -> sysdeps/posix move.
24809 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24810
bf9b740a
AM
248112012-08-07 Allan McRae <allan@archlinux.org>
24812
24813 [BZ #14303]
24814 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24815 (SUNOS_CPP): Likewise.
24816 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24817 not found.
24818 (open_input): Call CPP using execvp.
24819
93df14ee
JM
248202012-08-07 Joseph Myers <joseph@codesourcery.com>
24821
24822 * sysdeps/unix/sysv/linux/kernel-features.h
24823 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24824 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24825 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24826 (__ASSUME_WAITID_SYSCALL): Likewise.
24827 * sysdeps/unix/sysv/linux/dl-execstack.c
24828 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24829 code unconditional.
24830 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24831 conditional code.
24832 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24833 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24834 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24835 code.
24836 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24837 unconditional.
24838 [__ASSUME_WAITID_SYSCALL]: Likewise.
24839 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24840
d34689de
RM
248412012-08-07 Roland McGrath <roland@hack.frob.com>
24842
a281decc
RM
24843 * sysdeps/unix/closedir.c: Renamed to ...
24844 * sysdeps/posix/closedir.c: ... here.
24845 * sysdeps/unix/dirfd.c: Renamed to ...
24846 * sysdeps/posix/dirfd.c: ... here.
24847 * sysdeps/unix/dirstream.h: Renamed to ...
24848 * sysdeps/posix/dirstream.h: ... here.
24849 * sysdeps/unix/fdopendir.c: Renamed to ...
24850 * sysdeps/posix/fdopendir.c: ... here.
24851 * sysdeps/unix/opendir.c: Renamed to ...
24852 * sysdeps/posix/opendir.c: ... here.
24853 * sysdeps/unix/readdir.c: Renamed to ...
24854 * sysdeps/posix/readdir.c: ... here.
24855 * sysdeps/unix/readdir_r.c: Renamed to ...
24856 * sysdeps/posix/readdir_r.c: ... here.
24857 * sysdeps/unix/rewinddir.c: Renamed to ...
24858 * sysdeps/posix/rewinddir.c: ... here.
24859 * sysdeps/unix/seekdir.c: Renamed to ...
24860 * sysdeps/posix/seekdir.c: ... here.
24861 * sysdeps/unix/telldir.c: Renamed to ...
24862 * sysdeps/posix/telldir.c: ... here.
24863 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24864 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24865 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24866 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24867
22895b47
RM
24868 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24869 * bits/fcntl.h: ... here.
24870
707a53b6
RM
24871 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24872 not 0.
24873 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24874 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24875 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24876 (struct flock): Move l_start, l_len to the beginning.
24877 Use __pid_t for l_pid.
24878 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24879 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24880 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24881 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24882 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24883 [__USE_LARGEFILE64] (struct flock64): New type.
24884 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24885
f0bd3e25
RM
24886 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24887 * bits/dirent.h: ... here.
24888
d34689de
RM
24889 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24890 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24891
6dad2c06
JM
248922012-08-07 Joseph Myers <joseph@codesourcery.com>
24893
24894 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24895 Change from 2.6.0 to 2.6.16.
24896 * sysdeps/unix/sysv/linux/configure: Regenerated.
24897 * sysdeps/unix/sysv/linux/kernel-features.h
24898 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24899 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24900 version.
24901 (__ASSUME_UTIMES): Likewise.
24902 (__ASSUME_CLONE_STOPPED): Remove.
24903 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24904 architectures, not kernel version.
24905 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24906 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24907 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24908 (__ASSUME_WAITID_SYSCALL): Likewise.
24909 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24910 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24911 * README: State 2.6.16 as minimum Linux kernel version. Do not
24912 refer to older versions.
24913
03af9520
RM
249142012-08-06 Roland McGrath <roland@hack.frob.com>
24915
8e49df1d
RM
24916 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24917 Define alphasort64 as an alias.
24918 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24919 Define versionsort64 as an alias.
24920 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24921 Define scandir64 as an alias.
24922 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24923 Define scandirat64 as an alias.
24924 * dirent/alphasort64.c (alphasort64):
24925 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24926 * dirent/versionsort64.c: Likewise.
24927 * dirent/scandir64.c: Likewise.
24928 * dirent/scandirat64.c: Likewise.
24929 * sysdeps/wordsize-64/alphasort.c: File removed.
24930 * sysdeps/wordsize-64/alphasort64.c: File removed.
24931 * sysdeps/wordsize-64/scandir.c: File removed.
24932 * sysdeps/wordsize-64/scandir64.c: File removed.
24933 * sysdeps/wordsize-64/scandirat.c: File removed.
24934 * sysdeps/wordsize-64/scandirat64.c: File removed.
24935 * sysdeps/wordsize-64/versionsort.c: File removed.
24936 * sysdeps/wordsize-64/versionsort64.c: File removed.
24937 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24938 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24939 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24940 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24941 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24942 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24943 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24944 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24945
24946 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24947 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24948 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24949 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24950 [defined __arch64__ || defined __sparcv9]
24951 (__INO_T_MATCHES_INO64_T): New macro.
24952 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24953 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24954 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24955 * sysdeps/unix/sysv/linux/bits/dirent.h
24956 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24957 (_DIRENT_MATCHES_DIRENT64): New macro.
24958
03af9520
RM
24959 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24960 Define lockf64 as an alias.
24961 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24962 Define fseeko64 as an alias.
24963 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24964 Define ftello64 as an alias.
24965 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24966 Define _IO_fgetpos64 and fgetpos64 as aliases.
24967 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24968 Define _IO_fsetpos64 and fsetpos64 as aliases.
24969 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24970 Conditionalize body on this.
24971 * libio/fseeko64.c: Likewise.
24972 * libio/ftello64.c: Likewise.
24973 * libio/iofgetpos64.c: Likewise.
24974 * libio/iofsetpos64.c: Likewise.
24975 * sysdeps/wordsize-64/lockf.c: File removed.
24976 * sysdeps/wordsize-64/lockf64.c: File removed.
24977 * sysdeps/wordsize-64/fseeko.c: File removed.
24978 * sysdeps/wordsize-64/fseeko64.c: File removed.
24979 * sysdeps/wordsize-64/ftello.c: File removed.
24980 * sysdeps/wordsize-64/ftello64.c: File removed.
24981 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24982 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24983 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24984 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24985 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24986 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24987 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24988 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24989 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24990 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24991 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24992 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24993 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24994 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24995
24996 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24998 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24999 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25000 [defined __arch64__ || defined __sparcv9]
25001 (__OFF_T_MATCHES_OFF64_T): New macro.
25002 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25003 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25004 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25005 (__OFF_T_MATCHES_OFF64_T): New macro.
25006
c5757acd
L
250072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25008
25009 * stdlib/secure-getenv.c (__secure_getenv): Replace
25010 GLIBC_2_16 with GLIBC_2_17.
25011
3a31811e
L
250122012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25013
25014 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25015 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25016
faa2bccb
DM
250172012-08-03 David S. Miller <davem@davemloft.net>
25018
25019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25020
85fe1997
JM
250212012-08-03 Joseph Myers <joseph@codesourcery.com>
25022
25023 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25024 Remove.
25025 (__ASSUME_CORRECT_SI_PID): Likewise.
25026 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25027 (__ASSUME_TMPFS_NAME): Likewise.
25028 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25029 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25030 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25031 (HAVE_AUX_SECURE): Make definition unconditional.
25032 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25033 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25034
4f75b7a0
RM
250352012-08-03 Roland McGrath <roland@hack.frob.com>
25036
25037 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25038 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25039 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25040 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25041 __eloop_threshold instead of SYMLOOP_MAX.
25042
25043 * sysdeps/generic/eloop-threshold.h: New file.
25044 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25045 of MAXSYMLINKS.
25046 * elf/chroot_canon.c (chroot_canon): Likewise.
25047
7aab07e4
JM
250482012-08-03 Joseph Myers <joseph@codesourcery.com>
25049
25050 [BZ #13717]
25051 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25052 Change to 2.6.0 everywhere.
25053 * sysdeps/unix/sysv/linux/configure: Regenerated.
25054 * sysdeps/unix/sysv/linux/kernel-features.h
25055 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25056 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25057 kernel versions.
25058 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25059 (__ASSUME_FUTEX_REQUEUE): Remove.
25060 (__ASSUME_STATFS64): Define unconditionally.
25061 (__ASSUME_AT_SECURE): Likewise.
25062 (__ASSUME_CORRECT_SI_PID): Likewise.
25063 (__ASSUME_TGKILL): Define without depending on kernel version for
25064 i386.
25065 (__ASSUME_UTIMES): Likewise.
25066 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25067 kernel version.
25068 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25069 (__ASSUME_TMPFS_NAME): Likewise.
25070 * README: Update reference to Linux kernel versions.
25071
b67e9372
MP
250722012-08-02 Marek Polacek <polacek@redhat.com>
25073
1f529f7d 25074 [BZ# 14150]
b67e9372
MP
25075 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25076 libc_cv_asm_type_prefix with %.
25077 * configure: Regenerated.
d2441631
RM
25078 * include/libc-symbols.h: Remove comment about
25079 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25080 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25081 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25082 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25083 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25084 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25085 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25086 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25087 * elf/tst-unique2mod1.c: Likewise.
25088 * elf/tst-unique1mod2.c: Likewise.
25089 * elf/tst-unique1mod1.c: Likewise.
25090 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25091 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25092 Replace ASM_TYPE_DIRECTIVE with .type.
25093 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25094 * sysdeps/i386/sysdep.h: Likewise.
25095 * sysdeps/x86_64/sysdep.h: Likewise.
25096 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25098 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25099 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25100 * sysdeps/powerpc/powerpc32/sysdep.h:
25101 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25102 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25103 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25104 * sysdeps/i386/fpu/e_powf.S: Likewise.
25105 * sysdeps/i386/fpu/e_expl.S: Likewise.
25106 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25107 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25108 * sysdeps/i386/fpu/e_pow.S: Likewise.
25109 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25110 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25111 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25112 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25113 * sysdeps/i386/fpu/e_log2.S: Likewise.
25114 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25115 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25116 * sysdeps/i386/fpu/e_powl.S: Likewise.
25117 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25118 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25119 * sysdeps/i386/fpu/e_logl.S: Likewise.
25120 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25121 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25122 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25123 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25124 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25125 * sysdeps/i386/fpu/e_log.S: Likewise.
25126 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25127 * sysdeps/i386/fpu/e_logf.S: Likewise.
25128 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25129 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25130 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25131 * sysdeps/i386/fpu/e_log10.S: Likewise.
25132 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25133 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25134 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25135 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25136 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25137 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25138 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25139 * sysdeps/i386/i686/strtok.S: Likewise.
25140 * sysdeps/i386/i386-mcount.S: Likewise.
25141 * sysdeps/i386/strtok.S: Likewise.
25142 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25143 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25144 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25145 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25146 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25147 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25148 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25149 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25150 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25151 * sysdeps/x86_64/_mcount.S: Likewise.
25152 * sysdeps/x86_64/strtok.S: Likewise.
25153 * sysdeps/sh/_mcount.S: Likewise.
25154
2747bf9a
RM
251552012-08-01 Roland McGrath <roland@hack.frob.com>
25156
25157 * libio/iofopen.c: Include <fcntl.h>.
25158 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25159 (_IO_fopen64, fopen64): Define as aliases.
25160 * libio/iofopen64.c: Include <fcntl.h>.
25161 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25162 Conditionalize body on this.
25163 * sysdeps/wordsize-64/iofopen.c: File removed.
25164 * sysdeps/wordsize-64/iofopen64.c: File removed.
25165
3fb791b8
MP
251662012-08-01 Marek Polacek <polacek@redhat.com>
25167
25168 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25169 Use dlfcn directly instead of a variable.
25170 (binfmt-subdir): Do not define.
25171 (dlfcn): Likewise.
25172
a9f1039f
JM
251732012-08-01 Joseph Myers <joseph@codesourcery.com>
25174
23bddc06
JM
25175 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25176 Remove all definitions.
25177 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25178 <kernel-features.h>.
25179 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25180 (miss_F_GETOWN_EX): Remove all definitions.
25181 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25182 macro definition.
25183 [!__ASSUME_FCNTL64]: Remove conditional code.
25184 [__ASSUME_FCNTL64]: Make code unconditional.
25185 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25186 <kernel-features.h>.
25187 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25188 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25189 (lockf64) [__NR_fcntl64]: Make code unconditional.
25190 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25191
a9f1039f
JM
25192 * sysdeps/unix/sysv/linux/kernel-features.h
25193 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25194 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25195 Make code unconditional.
25196 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25197 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25199 [__NR_vfork]: Make code unconditional.
25200 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25201 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25203 [__NR_vfork]: Make code unconditional.
25204 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25205 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25206
09c0ee5f
RM
252072012-08-01 Roland McGrath <roland@hack.frob.com>
25208
48aec5b9
RM
25209 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25210 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25211
cd97c966
RM
25212 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25213 Define mkstemp64 as an alias.
3f55550c
RM
25214 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25215 Define mkstemps64 as an alias.
cd97c966
RM
25216 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25217 Define mkostemp64 as an alias.
b8625cfc
RM
25218 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25219 Define mkostemps64 as an alias.
cd97c966
RM
25220 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25221 Conditionalize body on this.
25222 * misc/mkostemp64.c: Likewise.
b8625cfc 25223 * misc/mkostemps64.c: Likewise.
3f55550c 25224 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25225 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25226 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25227 * sysdeps/wordsize-64/mkostemp.c: File removed.
25228 * sysdeps/wordsize-64/mkstemp.c: File removed.
25229 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25230 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25231 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25232 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25233
09c0ee5f
RM
25234 [BZ #14138]
25235 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25236 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25237 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25238 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25239
25240 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25241 compat_symbol macros from <shlib-compat.h> rather than the underlying
25242 default_symbol_version and symbol_version macros, so that DEFAULT
25243 lines in shlib-versions are respected.
25244 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25245
7e66ee51
FW
252462012-08-01 Florian Weimer <fweimer@redhat.com>
25247
25248 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25249 Declare with warn_unused_result.
25250 (setgid, setregid, setegid, setresgid): Likewise.
25251 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25252 Likewise.
25253 * WUR-REPORT: Remove set*id functions.
25254
d2a54255
PT
252552012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25256
25257 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25258
7ecdb005
RM
252592012-07-31 Roland McGrath <roland@hack.frob.com>
25260
b4180a5e 25261 [BZ #10191]
789bd351
RM
25262 * include/sys/socket.h (__libc_accept, __libc_accept4):
25263 Add attribute_hidden.
25264 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25265
40ce302d
RM
25266 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25267 use of PTR_MANGLE.
25268 * inet/getnetgrent_r.c (setup): Likewise.
25269
7ecdb005
RM
25270 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25271
e2eabb2c
DM
252722012-07-31 David S. Miller <davem@davemloft.net>
25273
25274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25275
d0419dbf
JM
252762012-07-31 Joseph Myers <joseph@codesourcery.com>
25277
25278 [BZ #13629]
25279 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25280 value between 1.0 and 2.0 and smaller part has absolute value less
25281 than 1.0.
25282 * math/s_clog10.c (__clog10): Likewise.
25283 * math/s_clog10f.c (__clog10f): Likewise.
25284 * math/s_clog10l.c (__clog10l): Likewise.
25285 * math/s_clogf.c (__clogf): Likewise.
25286 * math/s_clogl.c (__clogl): Likewise.
25287 * math/libm-test.inc (clog_test): Add more tests.
25288 (clog10_test): Likewise.
25289 * sysdeps/i386/fpu/libm-test-ulps: Update.
25290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25291
2bc13872
FW
252922012-07-31 Florian Weimer <fweimer@redhat.com>
25293
25294 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25295 Exit with zero in case no suitable GID is found, and write a
25296 message to standard error.
25297
bea9b193
RM
252982012-07-30 Roland McGrath <roland@hack.frob.com>
25299
25300 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25301 rather than to 1.
25302 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25303 (MAXPATHLEN): Removed.
25304 (NOGROUP, NODEV): New macros.
25305 (setbit, clrbit, isset, isclr): New macros.
25306 (howmany, roundup, powerof2): New macros.
25307 (DEV_BSIZE): New macro.
25308
25309 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25310 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25311
25312 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25313 definition on [!__NO_LONG_DOUBLE_MATH].
25314
25315 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25316 PTR_MANGLE and PTR_DEMANGLE.
25317
25318 * socket/accept4.c (accept4): Rename to __libc_accept4.
25319 Define accept4 as a weak alias.
25320
25321 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25322 on [_DIRENT_HAVE_D_TYPE].
25323 * io/ftw.c (ftw_dir): Likewise.
25324
25325 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25326
25327 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25328
25329 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25330 Use the BSD numbers rather than the arbitrary ones we had.
25331 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25332 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25333 (SIGXCPU, SIGXFSZ): New macros.
25334 (_NSIG): Now 32.
25335
25336 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25337 initializer on [_LIBC_REENTRANT].
25338
25339 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25340 definitions inside [_POSIX_MAPPED_FILES].
25341
25342 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25343
25344 * dirent/opendir.c: Include <fcntl.h>.
25345
25346 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25347 (__libc_getspecific): Likewise.
25348 (__libc_key_create): Likewise.
25349
25350 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25351 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25352 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25353 (tmpfile64): Define as alias.
25354 * sysdeps/wordsize-64/tmpfile.c: File removed.
25355 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25356 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25357 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25358
25359 * stdio-common/vfscanf.c: Include <stdbool.h>.
25360 * nss/makedb.c: Likewise.
25361 * stdio-common/_i18n_number.h: Likewise.
25362 * argp/argp-help.c: Likewise.
25363 * posix/wordexp.c: Likewise.
25364 * sysdeps/posix/spawni.c: Likewise.
25365 * nss/nss_files/files-initgroups.c: Likewise.
25366 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25367 * nss/nss_files/files-initgroups.c: Likewise.
25368 * nss/nss_db/db-netgrp.c: Likewise.
25369 * nss/nss_db/db-initgroups.c: Likewise.
25370 * io/fchmodat.c: Include <sys/stat.h>.
25371
25372 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25373 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25374
25375 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25376 [HAVE_MMAP].
25377
25378 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25379 Add multiple inclusion protection.
25380
e5abc686
DM
253812012-07-27 David S. Miller <davem@davemloft.net>
25382
25383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25384
815e6fa3
GB
253852012-07-27 Gary Benson <gbenson@redhat.com>
25386
25387 [BZ #14298]
25388 * elf/rtld.c: Include <stap-probe.h>.
25389 (dl_main): Added static probes "init_start" and "init_complete".
25390 * elf/dl-load.c: Include <stap-probe.h>.
25391 (lose): Take new parameter "nsid".
25392 Added static probe "map_failed".
25393 (_dl_map_object_from_fd): Pass namespace id to lose.
25394 Added static probe "map_start".
25395 (open_verify): Pass namespace id to lose.
25396 * elf/dl-open.c: Include <stap-probe.h>.
25397 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25398 and "reloc_complete".
25399 * elf/dl-close.c: Include <stap-probe.h>.
25400 (_dl_close_worker): Added static probes "unmap_start" and
25401 "unmap_complete".
25402 * elf/rtld-debugger-interface.txt: New file documenting the above.
25403
9f98c16c
RM
254042012-07-26 Roland McGrath <roland@hack.frob.com>
25405
25406 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25407 rather than a string variable.
25408 * sunrpc/rpc_main.c (h_output): Likewise.
25409 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25410
f3c22df3
PT
254112012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25412
25413 * inet/check_native.c: New file.
25414
3129cfc6
JM
254152012-07-26 Joseph Myers <joseph@codesourcery.com>
25416
da865e95
JM
25417 [BZ #13629]
25418 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25419 if larger part has absolute value 1.0.
25420 * math/s_clog10.c (__clog10): Likewise.
25421 * math/s_clog10f.c (__clog10f): Likewise.
25422 * math/s_clog10l.c (__clog10l): Likewise.
25423 * math/s_clogf.c (__clogf): Likewise.
25424 * math/s_clogl.c (__clogl): Likewise.
25425 * math/libm-test.inc (clog_test): Add more tests.
25426 (clog10_test): Likewise.
25427 * sysdeps/i386/fpu/libm-test-ulps: Update.
25428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25429
3129cfc6
JM
25430 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25431 (pltexit): Likewise.
25432 (La_regs): Likewise.
25433 (La_retval): Likewise.
25434 (int_retval): Likewise.
25435 Update #error for removed macros to refer only to definitions in
25436 tst-audit.h.
25437 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25438 macro.
25439 (pltexit): Likewise.
25440 (La_regs): Likewise.
25441 (La_retval): Likewise.
25442 (int_retval): Likewise.
25443 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25444 macro.
25445 (pltexit): Likewise.
25446 (La_regs): Likewise.
25447 (La_retval): Likewise.
25448 (int_retval): Likewise.
25449 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25450 macro.
25451 (pltexit): Likewise.
25452 (La_regs): Likewise.
25453 (La_retval): Likewise.
25454 (int_retval): Likewise.
25455 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25456 macro.
25457 (pltexit): Likewise.
25458 (La_regs): Likewise.
25459 (La_retval): Likewise.
25460 (int_retval): Likewise.
25461 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25462 macro.
25463 (pltexit): Likewise.
25464 (La_regs): Likewise.
25465 (La_retval): Likewise.
25466 (int_retval): Likewise.
25467 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25468 macro.
25469 (pltexit): Likewise.
25470 (La_regs): Likewise.
25471 (La_retval): Likewise.
25472 (int_retval): Likewise.
25473 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25474 macro definitions in tst-audit.h.
25475 * sysdeps/i386/tst-audit.h: New file.
25476 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25477 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25478 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25479 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25480 * sysdeps/sh/tst-audit.h: Likewise.
25481 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25482 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25483 * sysdeps/x86_64/tst-audit.h: Likewise.
25484
bfc07087
AJ
254852012-07-26 Andreas Jaeger <aj@suse.de>
25486
b1b2aaf8
AJ
25487 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25488 ptrace.
25489
25490 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25491 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25492 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25493 PTRACE_O_MASK.
25494 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25495 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25496 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25497
bfc07087
AJ
25498 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25499 value.
25500
25501 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25502 _sigsys.
25503 (si_call_addr, si_syscall, si_arch): Define new macro.
25504 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25505 _sigsys.
25506 (si_call_addr, si_syscall, si_arch): Define new marcro.
25507 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25508 _sigsys.
25509 (si_call_addr, si_syscall, si_arch): Define new macro.
25510 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25511 _sigsys.
25512 (si_call_addr, si_syscall, si_arch): Define new macro.
25513
89b4b02f
JM
255142012-07-25 Joseph Myers <joseph@codesourcery.com>
25515
25516 [BZ #13717]
25517 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25518 Change to 2.4.21 where previously 2.4.1.
25519 * sysdeps/unix/sysv/linux/configure: Regenerated.
25520 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25521 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25522 Linux kernel version.
25523 (__ASSUME_STD_AUXV): Remove.
25524 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25525 kernel version.
25526 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25527 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25528 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25529 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25530 (__ASSUME_NETLINK_SUPPORT): Likewise.
25531 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25532 (__no_netlink_support): Remove conditional definition.
25533 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25534 Remove.
25535 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25536 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25537 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25538 (if_nameindex_ioctl): Remove.
25539 (if_nameindex_netlink): Do not handle __no_netlink_support.
25540 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25541 code.
25542 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25543 Remove conditional code.
25544 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25545 code.
25546 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25547 unconditional.
25548 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25549 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25550 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25551 Remove.
25552 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25553 [!__ASSUME_STD_AUXV]: Remove conditional code.
25554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25555 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25556 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25558 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25559 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25560 code.
25561 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25563 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25564 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25565 conditional code.
25566 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25568 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25569 code.
25570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25571 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25572 conditional code.
25573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25574 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25575 code unconditional.
25576 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25577 conditional code.
25578 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25579 unconditional.
25580 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25581 conditional code.
25582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25583 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25584 unconditional.
25585 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25586 conditional code.
25587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25588 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25589 code unconditional.
25590 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25591 conditional code.
25592 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25593 unconditional.
25594 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25595 conditional code.
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25597 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25598 code unconditional.
25599 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25600 conditional code.
25601 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25602 unconditional.
25603 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25604 conditional code.
25605
842a39cd
AS
256062012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25607
25608 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25609 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25610 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25611 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25612 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25613 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25614 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25615 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25616 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25617 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25618 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25619 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25620 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25621 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25622 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25623 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25624 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25625 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25626 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25628 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25629 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25630 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25631
84b3fd84
FW
256322012-07-25 Florian Weimer <fweimer@redhat.com>
25633
25634 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25635 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25636 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25637 Introduce __libc_secure_getenv.
0c7936d5
FW
25638 * stdlib/Versions (2.17): Add secure_getenv
25639 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25640 * stdlib/secure-getenv.c: Rename __secure_getenv to
25641 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25642 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25643 * stdlib/tst-secure-getenv.c: New.
25644 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25645 * manual/startup.texi (Environment Access): Document
25646 secure_getenv.
84b3fd84
FW
25647 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25648 __libc_secure_getenv.
25649 * inet/ruserpass.c (ruserpass): Likewise.
25650 * malloc/mtrace.c (mtrace): Likewise.
25651 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25652 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25653 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25654 * sysdeps/posix/tempname.c: Likewise. Evaluate
25655 HAVE_SECURE_GETENV.
25656 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25657 __secure_getenv to __libc_secure_getenv.
84b3fd84 25658 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25660 Likewise.
25661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25662 Likewise.
25663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25665 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25670
56e49b71
JM
256712012-07-25 Joseph Myers <joseph@codesourcery.com>
25672
25673 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25674 (struct La_i86_retval): Likewise.
25675 (struct La_x86_64_regs): Likewise.
25676 (struct La_x86_64_retval): Likewise.
25677 (struct La_x32_regs): Likewise.
25678 (struct La_x32_retval): Likewise.
25679 (struct La_ppc32_regs): Likewise.
25680 (struct La_ppc32_retval): Likewise.
25681 (struct La_ppc64_regs): Likewise.
25682 (struct La_ppc64_retval): Likewise.
25683 (struct La_sh_regs): Likewise.
25684 (struct La_sh_retval): Likewise.
25685 (struct La_s390_32_regs): Likewise.
25686 (struct La_s390_32_retval): Likewise.
25687 (struct La_s390_64_regs): Likewise.
25688 (struct La_s390_64_retval): Likewise.
25689 (struct La_sparc32_regs): Likewise.
25690 (struct La_sparc32_retval): Likewise.
25691 (struct La_sparc64_regs): Likewise.
25692 (struct La_sparc64_retval): Likewise.
25693 (struct audit_ifaces): Remove architecture-specific pltenter and
25694 pltexit members.
25695 * sysdeps/i386/ldsodefs.h: New file.
25696 * sysdeps/powerpc/ldsodefs.h: Likewise.
25697 * sysdeps/s390/ldsodefs.h: Likewise.
25698 * sysdeps/sh/ldsodefs.h: Likewise.
25699 * sysdeps/sparc/ldsodefs.h: Likewise.
25700 * sysdeps/x86_64/ldsodefs.h: Likewise.
25701
354691b7
MP
257022012-07-25 Marek Polacek <polacek@redhat.com>
25703
25704 [BZ #6808]
25705 * math/libm-test.inc (yn_test): Add another test.
25706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25707 to ERANGE when the result is +-Inf.
25708 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25709 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25710 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25711 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25712
bf9e2071
JM
257132012-07-24 Joseph Myers <joseph@codesourcery.com>
25714
25715 * conform/data/time.h-data (NULL): Use macro-constant. Require
25716 equal to 0.
25717 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25718 clock_t.
25719 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25720
57633811
TS
257212012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25722
25723 * configure.in <sysdeps resolving>: Correct printing
25724 Implies_before.
25725 * configure: Regenerate.
25726
c23c33b0
TS
257272012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25728
25729 * math/w_ilogb.c: Include <limits.h>.
25730 * math/w_ilogbl.c: Likewise.
25731
b5982523
JM
257322012-07-20 Joseph Myers <joseph@codesourcery.com>
25733
25734 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25735 va_copy. Document allowing for unavailable va_copy only as
25736 pre-C99 compatibility.
25737 * manual/string.texi (Copying and Concatenation): Use va_copy
25738 instead of __va_copy in concat example.
25739
ac4ea442
PT
257402012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25741
25742 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25743 (__sendto): Use create_address_port. Initialize APORT and deallocate
25744 it if not null.
25745
f98eafbd
PT
25746 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25747 with O_NOLINK passed to __file_name_lookup.
25748
898c7aab
PT
25749 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25750 with O_NOLINK passed to __file_name_lookup.
25751
0ced335a
PT
25752 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25753 negative N or less than NGIDS.
25754
b3404dbd
PT
25755 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25756 type to string_t. Set ERANGE as errno and return it if NAME is not big
25757 enough. Use memcpy instead of strncpy.
25758
0f48659e
JM
257592012-07-20 Joseph Myers <joseph@codesourcery.com>
25760
25761 * elf/Makefile (check-data): Remove.
25762 (localplt.data): New vpath directive.
25763 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25764 instead of $(check-data).
25765 * scripts/data/localplt-generic.data: Move to ...
25766 * sysdeps/generic/localplt.data: ... here.
25767 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25768 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25769 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25771 ... here.
25772 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25774 ... here.
25775 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25777 ... here.
25778 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25780 ... here.
25781 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25783 ... here.
25784 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25786 ... here.
25787
d37cbdaa
AZ
257882012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25789
25790 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25791 PPC32 and PPC64 files.
25792 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25793 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25794
46f85fc2
AK
257952012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25796
25797 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25798 __makecontext_ret to ...
25799 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25800 ... here and call exit if uc_link is NULL. New file.
25801 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25802 __makecontext_ret.S.
25803 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25804 __makecontext_ret to ...
25805 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25806 ... here and call exit if uc_link is NULL. New file.
25807 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25808 __makecontext_ret.S.
25809
08f43f9b
AK
258102012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25811
25812 * elf/elf.h (R_390_IRELATIVE): New definition.
25813 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25814 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25815 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25816 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25817 (elf_machine_lazy_rel): Likewise.
25818 * sysdeps/s390/dl-irel.h: New file.
25819 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25820 * sysdeps/s390/s390-64/memset.S: New asm code.
25821 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25822 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25823 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25824 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25825 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25826 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25827 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25828 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25829 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25830 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25831 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25832 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25833 * sysdeps/s390/s390-32/memset.S: New asm code.
25834 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25835
3b05db33
MP
258362012-07-17 Marek Polacek <polacek@redhat.com>
25837
25838 [BZ #14349]
25839 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25840 * sysdeps/s390/s390-64/configure.in: Likewise.
25841 * sysdeps/sparc/configure.in: Likewise.
25842 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25843 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25844 * sysdeps/i386/configure.in: Likewise.
25845 * sysdeps/x86_64/configure.in: Likewise.
25846 * sysdeps/sh/configure.in: Likewise.
25847 * sysdeps/s390/s390-32/configure: Regenerated.
25848 * sysdeps/s390/s390-64/configure: Likewise.
25849 * sysdeps/x86_64/configure: Likewise.
25850 * sysdeps/sh/configure: Likewise.
25851 * sysdeps/powerpc/powerpc64/configure: Likewise.
25852 * sysdeps/powerpc/powerpc32/configure: Likewise.
25853 * sysdeps/sparc/configure: Likwise.
25854 * sysdeps/i386/configure: Likewise.
25855
a66877c6
MP
25856 * elf/dl-open.c: Comment fixes.
25857
cfc82fd8
JM
258582012-07-17 Joseph Myers <joseph@codesourcery.com>
25859
bd29910a
JM
25860 * Makefile [CXX] (check-data): Remove.
25861 [CXX] (c++-types.data): New vpath directive.
25862 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25863 vpath. Do not allow for C++ type data being missing.
25864 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25865 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25866 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25867 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25868 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25869 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25870 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25872 ... here.
25873 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25875 ... here.
25876 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25878 ... here.
25879 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25881 ... here.
25882 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25884 ... here.
25885 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25887 ... here.
25888 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25890 ... here.
25891 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25893
cfc82fd8
JM
25894 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25895 definitions to architecture-specific files.
25896 (TLS_IE): Likewise.
25897 (TLS_LD): Likewise.
25898 (TLS_GD): Likewise.
25899 * sysdeps/i386/tls-macros.h: New file.
25900 * sysdeps/powerpc/tls-macros.h: Likewise.
25901 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25902 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25903 * sysdeps/sh/tls-macros.h: Likewise.
25904 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25905 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25906 * sysdeps/x86_64/tls-macros.h: Likewise.
25907
f7db3170
TS
259082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25909
07cbfc23
TS
25910 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25911 zero value for regular exit case.
25912
f7db3170
TS
25913 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25914 (__start_context): Preserve zero value for regular exit case.
25915
dc97c227
TS
259162012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25917 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25918
25919 * manual/setjmp.texi (setcontext): Clarify normal process
25920 termination when uc_link is the null pointer.
25921 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25922 exit call.
25923
d0cd7d02
AS
259242012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25925
25926 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25927 preprocessor. Test for each exception mask separately.
25928
dd318934
AJ
259292012-07-16 Andreas Jaeger <aj@suse.de>
25930
25931 * po/ru.po: Update from translation team.
25932
8048311a
JM
259332012-07-15 Joseph Myers <joseph@codesourcery.com>
25934
25935 * conform/data/string.h-data (NULL): Use macro-constant. Require
25936 equal to 0.
25937 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25938 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25939 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25940 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25941 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25942
b637d46e
AJ
259432012-07-13 Andreas Jaeger <aj@suse.de>
25944
25945 * po/fr.po: Update from translation team.
25946
541428fe
MP
259472012-07-12 Marek Polacek <polacek@redhat.com>
25948
25949 [BZ #14173]
25950 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25951 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25952 loop condition.
25953
ec332e94
JM
259542012-07-12 Joseph Myers <joseph@codesourcery.com>
25955
25956 [BZ #13717]
25957 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25958 Change to 2.4.1 where previously 2.4.0.
25959 * sysdeps/unix/sysv/linux/configure: Regenerated.
25960 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25961 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25962 version.
25963 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25964 (__ASSUME_AT_CLKTCK): Remove.
25965 (__ASSUME_AT_PAGESIZE): Likewise.
25966 (__ASSUME_AT_XID): Likewise.
25967 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25968 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25969 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25970 unconditionally.
25971 (HAVE_AUX_PAGESIZE): Likewise.
25972 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25973 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25974 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25975
7b6e99be
JB
259762012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25977
25978 [BZ #14307]
25979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25980 the temporary buffer used to invoke __gethostbyname2_r,
25981 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25982 host_data / struct gaih_addrtuple.
25983 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25984 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25985 header file nss/nsswitch.h.
25986 * nss/nsswitch.h (global scope): Add definition of implementation
25987 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25988 resolv/nss_dns/dns-host.c).
25989
608404eb
AJ
259902012-07-11 Andreas Jaeger <aj@suse.de>
25991
25992 * po/fr.po: Update from translation team.
25993
71220aca
AJ
25994 * po/sv.po: Update from translation team
25995 * po/fr.po: Another update from translation team.
25996
28cfe843
AZ
259972012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25998
25999 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26000 for subnormals or multiply small sinh result by itself.
26001 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26003
6b90f981
DM
260042012-07-11 David S. Miller <davem@davemloft.net>
26005
26006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26007
c6825772
AS
260082012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26009
26010 [BZ #14347]
26011 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26012 (INTERNAL_MARK): Shift it here.
26013
7b8e0d49
MP
260142012-07-10 Marek Polacek <polacek@redhat.com>
26015
26016 [BZ #14151]
26017 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26018 libc_cv_asm_global_directive with .globl.
26019 * configure: Regenerated.
26020 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26021 with .globl.
26022 * sysdeps/i386/configure: Regenerated.
26023 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26024 with .globl.
26025 * sysdeps/x86_64/configure: Regenerated.
26026 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26027 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26028 * elf/tst-unique2mod2.c: Likewise.
26029 * elf/tst-unique2mod1.c: Likewise.
26030 * elf/tst-unique1mod2.c: Likewise.
26031 * elf/tst-unique1mod1.c: Likewise.
26032 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26033 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26034 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26035 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26036 * sysdeps/mach/sysdep.h: Likewise.
26037 * sysdeps/i386/sysdep.h: Likewise.
26038 * sysdeps/i386/i386-mcount.S: Likewise.
26039 * sysdeps/x86_64/_mcount.S: Likewise.
26040 * sysdeps/x86_64/sysdep.h: Likewise.
26041 * sysdeps/sh/_mcount.S: Likewise.
26042 * sysdeps/sh/sysdep.h: Likewise.
26043 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26044 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26045 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26046 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26047 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26048 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26049 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26050 * locale/localeinfo.h: Likewise.
26051 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26052 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26053
6c55cda3
RM
260542012-07-09 Roland McGrath <roland@hack.frob.com>
26055
26056 [BZ #14336]
26057 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26058 system".
26059 * manual/message.texi (The Uniforum approach): Likewise.
26060 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26061 (glibc iconv Implementation): Likewise.
26062
638a572e
JM
260632012-07-09 Joseph Myers <joseph@codesourcery.com>
26064
26065 [BZ #14337]
26066 * math/s_clog.c (__clog): Avoid scaling a value down where that
26067 could result in underflow.
26068 * math/s_clog10.c (__clog10): Likewise.
26069 * math/s_clog10f.c (__clog10f): Likewise.
26070 * math/s_clog10l.c (__clog10l): Likewise.
26071 * math/s_clogf.c (__clogf): Likewise.
26072 * math/s_clogl.c (__clogl): Likewise.
26073 * math/libm-test.inc (clog_test): Add more tests.
26074 (clog10_test): Likewise.
26075 * sysdeps/i386/fpu/libm-test-ulps: Update.
26076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26077
261f4859
AS
260782012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26079
0abaf3e4
AS
26080 [BZ #14283]
26081 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26082 by 7 not 8 to examine high bit of fractional part.
26083
261f4859
AS
26084 [BZ #14042]
26085 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26086 for call to __mcount_internal.
26087 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26088 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26089 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26090
f17ac40d
JM
260912012-07-06 Joseph Myers <joseph@codesourcery.com>
26092
9ad63c23
JM
26093 [BZ #14154]
26094 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26095 approximation for values within 0x1p-13f of an odd multiple of
26096 pi/4.
26097 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26098 exception. Add more tests.
26099 * sysdeps/i386/fpu/libm-test-ulps: Update.
26100
f17ac40d
JM
26101 [BZ #6778]
26102 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26103 inputs and return -1 for them. Do not check for +Inf in case not
26104 reachable for +Inf.
26105 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26106 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26107 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26108 and return -1 for them. Do not check for +Inf in case not
26109 reachable for +Inf.
26110 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26111 define.
26112 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26113 and return -1 for them. Do not check for +Inf in case not
26114 reachable for +Inf.
26115 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26116 spurious underflow.
26117 * sysdeps/i386/fpu/libm-test-ulps: Update.
26118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26119
fb21f89b
MF
261202012-07-06 Mike Frysinger <vapier@gentoo.org>
26121
26122 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26123
cdfe2c5e
JM
261242012-07-05 Joseph Myers <joseph@codesourcery.com>
26125
26126 [BZ #14157]
26127 [BZ #14331]
26128 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26129 could result in spurious underflow. Scale down values above
26130 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26131 * math/s_csqrtf.c (__csqrtf): Likewise.
26132 * math/s_csqrtl.c (__csqrtl): Likewise.
26133 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26134 spurious underflow.
26135 * sysdeps/i386/fpu/libm-test-ulps: Update.
26136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26137
70d35b67
AS
261382012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26139
704bc459
AS
26140 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26141 xopen-msg.sed.
26142 * catgets/xopen-msg.awk: New file.
26143 * catgets/xopen-msg.sed: Removed.
26144
70d35b67
AS
26145 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26146 po2text.sed.
26147 * intl/po2test.awk: New file.
26148 * intl/po2test.sed: Removed.
26149
ca61cf32
JM
261502012-07-04 Joseph Myers <joseph@codesourcery.com>
26151
26152 [BZ #14328]
26153 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26154 or multiply small sinh result by itself.
26155 * math/s_ctanf.c (__ctanf): Likewise.
26156 * math/s_ctanh.c (__ctanh): Likewise.
26157 * math/s_ctanhf.c (__ctanhf): Likewise.
26158 * math/s_ctanhl.c (__ctanhl): Likewise.
26159 * math/s_ctanl.c (__ctanl): Likewise.
26160 * math/libm-test.inc (ctan_test_tonearest): New function.
26161 (ctan_test_towardzero): Likewise.
26162 (ctan_test_downward): Likewise.
26163 (ctan_test_upward): Likewise.
26164 (ctanh_test_tonearest): Likewise.
26165 (ctanh_test_towardzero): Likewise.
26166 (ctanh_test_downward): Likewise.
26167 (ctanh_test_upward): Likewise.
26168 (main): Call these new functions.
26169 * sysdeps/i386/fpu/libm-test-ulps: Update.
26170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26171
ca48a46a
MF
261722012-07-03 Mike Frysinger <vapier@gentoo.org>
26173
26174 * .gitignore: Delete /ports entry.
26175
9d63d37d
AJ
261762012-07-03 Andreas Jaeger <aj@suse.de>
26177
26178 * po/bg.po: Update from translation team.
26179 * po/cs.po: Likewise.
26180 * po/de.po: Likewise.
26181 * po/hr.po: Likewise.
26182 * po/nl.pl: Likewise.
26183 * po/pl.po: Likewise.
26184 * po/vi.po: Likewise.
26185
370ca3d2
JM
261862012-07-03 Joseph Myers <joseph@codesourcery.com>
26187
95f5a9a8
JM
26188 * Makeconfig [!+link] (+link-before-libc): New variable.
26189 [!+link] (+link-after-libc): Likewise.
26190 [!+link] (+link-tests): Likewise.
26191 [!+link] (+link): Define in terms of $(+link-before-libc) and
26192 $(+link-after-libc).
26193 [!+link-static] (+link-static-before-libc): New variable.
26194 [!+link-static] (+link-static-after-libc): Likewise.
26195 [!+link-static] (+link-static-tests): Likewise.
26196 [!+link-static] (+link-static): Define in terms of
26197 $(+link-static-before-libc) and $(+link-static-after-libc).
26198 [build-shared] (link-libc-before-gnulib): New variable.
26199 [build-shared] (link-libc-tests): Likewise.
26200 [build-shared] (link-libc): Define in terms of
26201 $(link-libc-before-gnulib).
26202 [!build-shared] (link-libc-tests): New variable.
26203 (link-libc-static-tests): New variable.
26204 [!gnulib] (gnulib-arch): New variable.
26205 [!gnulib] (gnulib-tests): Likewise.
26206 [!gnulib] (static-gnulib-arch): Likewise.
26207 [!gnulib] (static-gnulib-tests): Likewise.
26208 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26209 Define with "=" instead of ":=".
26210 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26211 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26212 * Rules (binaries-all-notests): New variable.
26213 (binaries-all-tests): Likewise.
26214 (binaries-static-notests): Likewise.
26215 (binaries-static-tests): Likewise.
26216 (binaries-all): Define using $(binaries-all-notests) and
26217 $(binaries-all-tests).
26218 (binaries-static): Define using $(binaries-static-notests) and
26219 $(binaries-static-tests).
26220 (binaries-shared-tests): New variable.
26221 (binaries-shared-notests): Likewise.
26222 (binaries-shared): Remove variable.
26223 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26224 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26225 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26226 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26227 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26228 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26229 * elf/Makefile (sln-modules): New variable.
26230 (extra-objs): Add $(sln-modules:=.o).
26231 (ldconfig-modules): Add static-stubs.
26232 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26233 * elf/static-stubs.c: New file.
26234
7a845b2c
JM
26235 [BZ #14283]
26236 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26237 by 7 not 8 to examine high bit of fractional part. Use volatile
26238 variables when splitting into final array of floats if
26239 __FLT_EVAL_METHOD__ != 0.
26240 * math/libm-test.inc (cos_test): Add another test.
26241 (sin_test): Likewise.
26242 * sysdeps/i386/fpu/libm-test-ulps: Update.
26243
e2283f38
JM
26244 [BZ #14273]
26245 * math/libm-test.inc (cosh_test): Add more tests.
26246
370ca3d2
JM
26247 * version.h (RELEASE): Set to "development".
26248 (VERSION): Set to "2.16.90".
26249
ee9247c3
CD
262502012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26251
26252 * NEWS: Update copyright. Remove last-updated date.
26253 Mention math library bug fixes and timezone data changes.
26254 * README: Mention GNU/Hurd, x32, and HPPA support status.
26255
4648c381
TS
262562012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26257
26258 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26259
aac78a43
AJ
262602012-06-27 Andreas Jaeger <aj@suse.de>
26261
26262 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26263
ed3dbfad
AJ
262642012-06-25 Andreas Jaeger <aj@suse.de>
26265
26266 * sysdeps/s390/fpu/libm-test-ulps: Update.
26267
4d0ee855
AS
262682012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26269 Thomas Schwinge <thomas@codesourcery.com>
26270
26271 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26272 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26273 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26274 fanotify_mark.
26275
af1bce34
TS
262762012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26277
a9fa33ba
TS
26278 * sysdeps/mach/start.c: Remove file.
26279 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26280 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26281 * sysdeps/sh/init-first.c: Likewise.
26282
58f902b8
TS
26283 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26284 registers for frame unwinding purposes, add CFI directives.
26285 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26286 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26287 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26288 Likewise.
26289
1518f58b
TS
26290 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26291 __fortify_fail returning.
26292 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26293
db9b5059
TS
26294 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26295 sysdeps/sh/____longjmp_chk.S.
26296 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26297 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26298 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26299 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26300
967705fe
TS
26301 * sysdeps/sh/abort-instr.h: New file.
26302 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26303 process in case exit returns.
26304
a9def8c4
TS
26305 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26306 initialize the GOT register before use.
26307
2a649725
TS
26308 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26309 calculation of ARGC > 4.
26310
af1bce34
TS
26311 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26312 meaningful names to some local labels.
26313
d230f50a
KK
263142012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26315 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26316
26317 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26318 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26319 (__arch_compare_and_exchange_val_16_acq): Likewise.
26320 (__arch_compare_and_exchange_val_32_acq): Likewise.
26321 (atomic_exchange_and_add): Fix gUSA sequence.
26322 (atomic_add): Likewise.
26323 (atomic_add_negative): Likewise.
26324 (atomic_add_zero): Likewise.
26325 (atomic_bit_test_set): Likewise.
26326
0479b305
AS
263272012-06-22 Andreas Schwab <schwab@redhat.com>
26328
26329 [BZ #13579]
26330 * include/link.h (struct link_map): Add l_free_initfini.
26331 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26332 l_initfini.
26333 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26334 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26335 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26336 set.
26337
0e3933b9
CD
263382012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26339
26340 * configure.in: Use AC_LANG_SOURCE.
26341 * configure: Regenerate.
26342
4248b1b1
RM
263432012-06-22 Roland McGrath <roland@hack.frob.com>
26344
26345 * configure.in (libc_cv_localstatedir): New substituted variable.
26346 * configure: Regenerated.
26347 * config.make.in (localstatedir): New variable, substituted from
26348 libc_cv_localstatedir.
26349 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26350 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26351 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26352 * sysdeps/gnu/configure: Regenerated.
26353
006dd861
JL
263542012-06-21 Jeff Law <law@redhat.com>
26355
26356 [BZ #14277]
26357 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26358 free. Simplify list management for _LIBC case.
26359
79662d42
JM
263602012-06-21 Joseph Myers <joseph@codesourcery.com>
26361
b7abb4bf
JM
26362 [BZ #14273]
26363 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26364 Clear sign bit of 64-bit integer value before comparing against
26365 overflow value.
26366
79662d42
JM
26367 * sysdeps/mach/configure: Regenerated.
26368
1f150908
L
263692012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26370
26371 [BZ #14278]
26372 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26373
28363bbf
JL
263742012-06-21 Jeff Law <law@redhat.com>
26375
26376 [BZ #13882]
26377 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26378 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26379 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26380 * elf/dl-open.c (dl_open_worker): Likewise.
26381
09615db4
CD
263822012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26383
26384 * scripts/list-sources.sh: Scan PORTS for translations.
26385 * po/libc.pot: Regenerated.
26386
2174c6dd
AJ
263872012-06-21 Andreas Jaeger <aj@suse.de>
26388
26389 [BZ #12194]
26390 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26391 warning.
26392 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26393 * bits/byteswap-16.h (__bswap_16): Likewise.
26394 * bits/byteswap.h (__bswap_constant_16): Likewise.
26395
3ee947b1
L
263962012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26397
26398 [BZ #14117]
a2f34833
L
26399 * sysdeps/i386/fpu_control.h: Removed.
26400 * sysdeps/x86_64/fpu_control.h: Moved to ...
26401 * sysdeps/x86/fpu_control.h: Here.
26402
3ee947b1
L
26403 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26404 (_FPU_SETCW): Likewise.
26405
ed1825f8
L
264062012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26407
25f1282a
L
26408 [BZ #14117]
26409 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26410 * sysdeps/x86/fpu/bits/mathinline.h: This.
26411 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26412
ed1825f8
L
26413 [BZ #14050]
26414 [BZ #14117]
26415 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26416 functions if __x86_64__ is defined.
26417
36d54b74
CLT
264182012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26419
26420 * string/endian.h: Add !__ASSEMBLER__ condition for including
26421 conversion interfaces.
26422
10285c21
JM
264232012-06-15 Joseph Myers <joseph@codesourcery.com>
26424
26425 [BZ #14241]
26426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26427 of ABS(x) in calculating zero to negative powers other than odd
26428 integers.
26429 * math/libm-test.inc (pow_test): Add more tests.
26430
06c5abbd
AJ
264312012-06-15 Andreas Jaeger <aj@suse.de>
26432
26433 * manual/contrib.texi (Contributors): Update entry of Liubov
26434 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26435 Machado Filho.
26436
a3aeac40
CH
264372012-06-15 Cyril Hrubis <metan@ucw.cz>
26438
26439 * string/string.h: Add __wur to GNU version of strerror_r.
26440
49bdf4c1
L
264412012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26442
26443 [BZ #14229]
26444 * string/Makefile (tests): Add tst-strtok_r.
26445 * string/tst-strtok_r.c: New file.
26446 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26447 RAX_LP/RDX_LP on SAVE_PTR.
26448
834f9b8d
RM
264492012-06-14 Roland McGrath <roland@hack.frob.com>
26450
26451 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26452
75fa1921
JM
264532012-06-14 Joseph Myers <joseph@codesourcery.com>
26454
26455 * libm_test.inc (csqrt_test): Allow more spurious underflow
26456 exceptions.
26457 (j0_test): Likewise.
26458 (j1_test): Likewise.
26459 (y0_test): Likewise.
26460 (y1_test): Likewise.
26461
771766df
CD
264622012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26463
26464 * po/Makefile (libc.pot): Use UTF-8 charset.
26465
ceb9e56b
PP
264662012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26467
26468 [BZ #14210]
26469 Suppress sign-conversion warning from FD_SET.
26470 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26471 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26472 not unsigned long int.
26473 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26474
ddb28975
L
264752012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26476
26477 [BZ #14050]
26478 [BZ #14117]
26479 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26480 __extern_always_inline instead of __extern_inline.
26481 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26482 (__signbit): Likewise.
26483 (__signbitl): Support C++ namespace.
26484 (lrintf): New inline function.
26485 (lrint): Likewise.
26486 (llrintf): Likewise.
26487 (llrint): Likewise.
26488 (fmaxf): Likewise.
26489 (fmax): Likewise.
26490 (fminf): Likewise.
26491 (fmin): Likewise.
26492 (rint): Likewise.
26493 (rintf): Likewise.
26494 (ceil): Likewise.
26495 (ceilf): Likewise.
26496 (floor): Likewise.
26497 (floorf): Likewise.
26498 (nearbyint): Likewise.
26499 (nearbyintf): Likewise.
26500
d7b4fb26
TS
265012012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26502
26503 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26504 non-default versions.
26505
eb55f5c2
RM
265062012-06-11 Roland McGrath <roland@hack.frob.com>
26507
26508 [BZ #14218]
26509 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26510
366af02c
TS
265112012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26512
99ff6e5c
TS
26513 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26514 (FE_UPWARD, FE_DOWNWARD): Don't define.
26515 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26516 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26517
366af02c
TS
26518 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26519 reading it.
26520 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26521 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26522
793ea851
KK
265232012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26524
26525 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26526 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26527 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26528 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26529
a728a38f
L
265302012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26531
26532 [BZ #14117]
c08010c7
L
26533 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26534 * sysdeps/i386/fpu/Implies: New file.
26535 * sysdeps/x86_64/fpu/Implies: Likewise.
26536 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26537 * sysdeps/x86/fpu/bits/fenv.h: This.
26538
a728a38f
L
26539 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26540 __SSE_MATH__.
26541
6e230d11
SP
265422012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26543
26544 [BZ #14134]
26545 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26546 character 0xffff that matches the last element of the
26547 conversion table.
26548
1b671feb
AZ
265492012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26550
26551 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26552 fmodl commit.
26553
6043738b
AZ
265542012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26555
26556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26557 values higher than 25.6283.
26558
34ae0b32
AZ
265592012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26560
26561 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26562 subnormal exponent extraction and add some __builtin_expect.
26563 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26564 Fix for subnormal mantissa calculation.
26565
1214ec8f
MF
265662012-06-04 Mike Frysinger <vapier@gentoo.org>
26567
26568 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26569 cpu2 is -1 and errno is not ENOSYS.
26570
f3d1f93c
L
265712012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26572
26573 [BZ #14117]
0e4a3cd7
L
26574 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26575 * sysdeps/x86/bits/string.h: This.
26576 * sysdeps/x86_64/bits/string.h: Removed.
26577
6704c645
L
26578 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26579 if not compiling for x86-64, but compiling for >= i486.
26580
48495318
L
26581 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26582 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26583
14adcbfc
L
26584 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26585 New macro from Linux kernel 3.4.0.
26586 (FP_XSTATE_MAGIC2): Likewise.
26587 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26588 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26589 (struct _fpx_sw_bytes): New struct.
26590 (struct _xsave_hdr): Likewise.
26591 (struct _ymmh_state): Likewise.
26592 (struct _xstate): Likewise.
26593
68e408ab
L
26594 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26595 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26596 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26597 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26598 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26599 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26600
f3d1f93c
L
26601 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26602 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26603 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26604 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26605 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26606 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26607
d9dc34cd
TMQMF
266082012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26609
26610 [BZ #13743]
26611 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26612 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26613 (sysdep_headers): Include sys/platform/ppc.h.
26614 * sysdeps/powerpc/test-gettimebase.c: Test for
26615 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26616 * manual/Makefile (appendices): Include platform.texi.
26617 * manual/contrib.texi (Contributors): Update @node pointers.
26618 * manual/maint.texi (Maintenance): Likewise.
26619 (Platform): New node.
26620 * manual/platform.texi: New file. Document the new features.
26621
4af3879c
SP
266222012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26623 Jakub Jelinek <jakub@redhat.com>
26624
26625 [BZ #14188]
26626 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26627 where __builtin_expect is unavailable.
26628
2fd6ff13
DM
266292012-06-03 David S. Miller <davem@davemloft.net>
26630
26631 * stdlib/longlong.h: Updated from GCC.
26632
173f7220
AS
266332012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26634
26635 [BZ #14042]
26636 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26637 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26638 __mcount_internal.
26639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26640 (GLIBC_2.16): Likewise.
26641
f34a1c6f
L
266422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26643
26644 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26645
88a4576f
JM
266462012-06-01 Joseph Myers <joseph@codesourcery.com>
26647
ea32bcdd
JM
26648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26649 (default-abi): New variable.
26650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26651 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26652 variable.
26653 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26654 Likewise.
26655 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26656 Likewise.
26657 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26658 Likewise.
26659
88a4576f
JM
26660 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26661 definition. Document in comment.
26662
402fe938
DM
266632012-06-01 David S. Miller <davem@davemloft.net>
26664
26665 * stdlib/longlong.h: Updated from GCC.
26666
3553723f
L
266672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26668
26669 [BZ #14117]
3bd872c4
L
26670 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26671 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26672 sys/debugreg.h sys/io.h here.
26673 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26674 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26675 sys/io.h.
26676 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26677 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26678 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26679 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26680 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26681 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26682
3553723f
L
26683 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26684 Define only if __x86_64__ is defined.
26685
4842e4fe
JM
266862012-06-01 Joseph Myers <joseph@codesourcery.com>
26687
c5bfe3d5
JM
26688 [BZ #14048]
26689 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26690 Use int64_t for variable i.
26691 * math/libm-test.inc (fmod_test): Add more tests.
26692
4842e4fe
JM
26693 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26694 z computation is not scheduled after fetestexcept.
26695 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26696 Use math_force_eval instead of asm to ensure calculation scheduled
26697 before exception test.
26698 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26699 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26700
efb73488
AJ
267012012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26702
26703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26704 computation is not scheduled after fetestexcept.
26705
29bcce7c
L
267062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26707
26708 [BZ #14117]
26709 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26710 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26711
73a68f94
AZ
267122012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26713
26714 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26715 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26716
67b6df78
L
267172012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26718
edf2933a 26719 [BZ #14117]
ebc64a18
L
26720 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26721 <bits/wordsize.h>.
26722 (__WCHAR_MIN): Support __WORDSIZE == 64.
26723 (__WCHAR_MAX): Likewise.
26724
edf2933a
L
26725 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26726 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26727
57c6cf40
L
26728 [BZ #14183]
26729 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26730 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26731
67b6df78 26732 [BZ #14117]
8eb6281e
L
26733 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26734 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26735
aac639f4
L
26736 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26737 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26738
67b6df78
L
26739 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26740 Defined to 1 if __x86_64__ isn't defined.
26741 (_STAT_VER_LINUX_OLD): New.
26742 (st_atime): Remove duplicate.
26743 (st_mtime): Likewise.
26744 (st_ctime): Likewise.
26745
1c2cfe81
DM
267462012-05-31 David S. Miller <davem@davemloft.net>
26747
26748 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26749 entries.
26750
5be8418c
AS
267512012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26752
e7725326
AS
26753 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26754 gen-libm-test.pl.
26755
5be8418c
AS
26756 [BZ #14132]
26757 * elf/dl-reloc.c: Include <_itoa.h>.
26758 (_dl_reloc_bad_type): Remove use of INTUSE.
26759 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26760 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26761 * stdio-common/psiginfo.c (psiginfo): Likewise.
26762 * stdio-common/psignal.c (psignal): Likewise.
26763 * string/strsignal.c (strsignal): Likewise.
26764 * include/signal.h (_sys_siglist): Declare hidden proto.
26765 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26766 INTVARDEF with libc_hidden_data_def.
26767 * stdio-common/itoa-udigits.c: Likewise.
26768 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26769 (_itoa_lower_digits_internal): Remove declaration.
26770 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26771 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26772 (_sys_sigabbrev_internal): Remove aliases.
26773 (_sys_siglist): Define hidden alias.
26774
507352f1
MT
267752012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26776
26777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26778 bits/sysctl.h.
26779
42bbb1c3
L
267802012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26781
26782 [BZ #14117]
6bd784b6
L
26783 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26784 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26785
8bca20f0
L
26786 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26787 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26788 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26789 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26791 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26792
f9e890a9
L
26793 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26794 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26795 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26796
471101a1
L
26797 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26798 with __addr.
26799 (insw): Likewise.
26800 (insl): Likewise.
26801 (outsb): Likewise.
26802 (outsw): Likewise.
26803 (outsl): Likewise.
26804
6451c862
L
26805 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26806 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26807 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26808
a254b8c9
L
26809 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26810 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26811 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26812 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26813 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26814 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26815
b8dfdd92
L
26816 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26817 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26818
578cd270
L
26819 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26820 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26821
de662f5f
L
26822 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26824 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26825
25653439
L
26826 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26827 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26828 to ...
26829 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26830
6bad24a0
L
26831 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26832 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26833 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26834
42bbb1c3
L
26835 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26836 for x86-64.
26837 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26838
2d10d547
JM
268392012-05-31 Joseph Myers <joseph@codesourcery.com>
26840
26841 * math/math.h (M_El): Use two more decimal places.
26842 (M_LOG2El): Likewise.
26843 (M_LOG10El): Likewise.
26844 (M_LN2l): Likewise.
26845 (M_LN10l): Likewise.
26846 (M_PIl): Likewise.
26847 (M_PI_2l): Likewise.
26848 (M_PI_4l): Likewise.
26849 (M_1_PIl): Likewise.
26850 (M_2_PIl): Likewise.
26851 (M_2_SQRTPIl): Likewise.
26852 (M_SQRT2l): Likewise.
26853 (M_SQRT1_2l): Likewise.
26854
f230c29b
DM
268552012-05-31 David S. Miller <davem@davemloft.net>
26856
26857 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26858 values between float registers.
26859 * sysdeps/sparc/sparc64/memset.S: Likewise.
26860 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26861
fed806c3
MF
268622012-05-31 Mike Frysinger <vapier@gentoo.org>
26863
26864 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26865 -D_FORTIFY_SOURCE=1.
26866 (CPPFLAGS-tst-longjmp_chk.c): Define.
26867 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26868 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26869 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26870 CFLAGS-tst-wchar-h.c.
26871
30917259
MP
268722012-05-31 Marek Polacek <polacek@redhat.com>
26873
26874 [BZ #14132]
26875 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26876 __endmntent_internal): Remove declaration.
26877 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26878 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26879 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26880
1c58d5dc
DM
268812012-05-30 David S. Miller <davem@davemloft.net>
26882
26883 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26884 (___Q_simulate_exceptions): Use real FP ops rather than writing
26885 into the %fsr.
26886 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26887 Likewise.
26888
7dc00e0d
L
268892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26890
26891 [BZ #14117]
0bd53985
L
26892 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26893 * sysdeps/x86/bits/xtitypes.h: This.
26894
3a257e66
L
26895 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26896 * sysdeps/x86/bits/wordsize.h: This.
26897
62f62904
L
26898 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26899 * sysdeps/x86/bits/huge_vall.h: This.
26900
404fe9d9
L
26901 * sysdeps/i386/bits/select.h: Removed.
26902 * sysdeps/x86_64/bits/select.h: Renamed to ...
26903 * sysdeps/x86/bits/select.h: This.
26904
d48d0446
L
26905 * sysdeps/i386/bits/setjmp.h: Removed.
26906 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26907 * sysdeps/x86/bits/setjmp.h: This.
26908
7dc00e0d
L
26909 * sysdeps/i386/bits/mathdef.h: Removed.
26910 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26911 * sysdeps/x86/bits/mathdef.h: This.
26912
03277f8f
AS
269132012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26914
26915 [BZ #14132]
26916 * include/sys/socket.h (__connect_internal)
26917 (__libc_sa_len_internal): Remove declaration.
26918 (__connect, __libc_sa_len): Declare hidden_proto.
26919 (SA_LEN): Remove use of INTUSE.
26920 * socket/connect.c: Add libc_hidden_def.
26921 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26922 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26923 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26924 alias.
26925 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26926 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26927 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26928 of adding _internal alias.
26929
13764867
L
269302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26931
26932 [BZ #14117]
6bd97696
L
26933 * sysdeps/i386/bits/link.h: Removed.
26934 * sysdeps/i386/bits/linkmap.h: Likewise.
26935 * sysdeps/x86_64/bits/link.h: Renamed to ...
26936 * sysdeps/x86/bits/link.h: This.
26937 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26938 * sysdeps/x86/bits/linkmap.h: This.
26939
f726f0bb
L
26940 * sysdeps/i386/bits/endian.h: Removed.
26941 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26942 * sysdeps/x86/bits/endian.h: This.
26943
13764867
L
26944 * sysdeps/i386/bits/byteswap.h: Removed.
26945 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26946 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26947 * sysdeps/x86/bits/byteswap.h: This.
26948 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26949 * sysdeps/x86/bits/byteswap-16.h: This.
26950 * sysdeps/i386/Implies: Add x86.
26951 * sysdeps/x86_64/Implies: Likewise.
26952
ae251b0b
DM
269532012-05-30 David S. Miller <davem@davemloft.net>
26954
26955 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26956 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26957 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26958 (FP_TRAPPING_EXCEPTIONS): Define.
26959 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26960 (FP_TRAPPING_EXCEPTIONS): Define.
26961 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26962 subnormals only when inexact has been signalled or underflow
26963 exceptions are enabled.
26964 (_FP_PACK_CANONICAL): Likewise.
26965
d5c90867
L
269662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26967
26968 [BZ #14183]
26969 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26970 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26971
63f1549e
RH
269722012-05-30 Richard Henderson <rth@twiddle.net>
26973
8d8f2279
RH
26974 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26975 with #ifndef NOT_IN_libc.
26976
63f1549e
RH
26977 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26978 marked to avoid plt entry.
26979
0ab0291b
L
269802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26981
26982 [BZ #14112]
26983 * Makeconfig (default-abi): New macro.
26984 (abi-includes): Likewise.
26985 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26986 $(abi-$(default-abi)-lib-soname) for soname if defined.
26987 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26988 abi-variants.
26989 * Makefile (installed-stubs): Likewise.
26990 * include/stubs-biarch.h: Removed.
26991 * scripts/lib-names.awk: Only handle one library at a time.
26992 * scripts/soversions.awk: Remove WORDSIZE support.
26993 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26994 entries.
26995 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26996 Removed.
26997 (syscall-list-default-condition): Likewise.
26998 (syscall-list-default-condition): Likewise.
26999 (syscall-list-includes): Likewise.
27000 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27001 syscall-list-* with abi-*. Handle undefined abi-variants.
27002 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27003 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27004 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27005 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27006 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27007 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27008 Removed.
27009 (syscall-list-32-options): Likewise.
27010 (syscall-list-32-condition): Likewise.
27011 (syscall-list-64-options): Likewise.
27012 (syscall-list-64-condition): Likewise.
27013 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27014 macro.
27015 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27016 Renamed to ...
27017 (abi-*): This.
27018 (abi-64-ld-soname): New macro.
27019 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27020 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27021 Renamed to ...
27022 (abi-*): This.
27023 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27024 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27025
4da0431d
JM
270262012-05-30 Joseph Myers <joseph@codesourcery.com>
27027
3a85279c
JM
27028 * sysdeps/unix/sysv/linux/kernel-features.h
27029 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27030 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27031 include <kernel-features.h>.
27032 [!__NR_ftruncate64]: Remove conditional code.
27033 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27034 [__NR_ftruncate64]: Make code unconditional.
27035 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27036 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27037 include <kernel-features.h>.
27038 [!__NR_ftruncate64]: Remove conditional code.
27039 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27040 [__NR_ftruncate64]: Make code unconditional.
27041 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27043 include <kernel-features.h>.
27044 [!__NR_ftruncate64]: Remove conditional code.
27045 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27046 [__NR_ftruncate64]: Make code unconditional.
27047 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27049 include <kernel-features.h>.
27050 [!__NR_ftruncate64]: Remove conditional code.
27051 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27052 [__NR_ftruncate64]: Make code unconditional.
27053 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27054
4da0431d
JM
27055 * configure.in (libc_cv_fpie): Weaken to a compile test using
27056 LIBC_TRY_CC_OPTION.
27057 * configure: Regenerated.
27058
11ef492c
AK
270592012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27060
27061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27065 Refreshed.
27066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27072 Refreshed.
27073
d66ef399
DM
270742012-05-27 David S. Miller <davem@davemloft.net>
27075
27076 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27077 (___Q_zero): New.
27078 (__Q_simulate_exceptions): Return void. Change to simulate
27079 exceptions by writing into the %fsr.
27080 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27081 (__Qp_handle_exceptions): Likewise.
27082 (numbers): Delete.
27083 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27084 __Qp_handle_exceptions.
27085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27086 __Qp_handle_exceptions.
27087 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27088 as unused and give dummy FP_RND_NEAREST initializer.
27089 (FP_INHIBIT_RESULTS): Define.
27090 (___Q_simulate_exceptions): Update declaration.
27091 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27092 formatting.
27093 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27094 as unused and give dummy FP_RND_NEAREST initializer.
27095 (__Qp_handle_exceptions): Update declaration.
27096 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27097 formatting.
27098
04fb54b5
TS
270992012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27100
27101 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27102 the temporary FPU control word.
27103 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27104 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27105 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27106 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27107 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27108 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27109 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27110 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27111 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27112 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27113 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27114
3f99608f
KK
271152012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27116
27117 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27118 fields.
27119
65a4de4e
CLT
271202012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27121
27122 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27123 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27124 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27125 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27126 Likewise.
27127 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27128 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27129 Likewise.
27130
15749d40
UD
271312012-05-27 Ulrich Drepper <drepper@gmail.com>
27132
27133 * po/h.po: Update from translation team.
27134
25dbcb27
AS
271352012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27136
3d3f8e55
AS
27137 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27138
25dbcb27
AS
27139 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27140 handling of denormals.
27141 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27142 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27143 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27144 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27145 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27146 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27147 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27148 Likewise.
27149
7ad47a80 271502012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27151
27152 [BZ #14152]
27153 * math/libm-test.inc (fma_test): Don't always expect underflow
27154 exception.
27155
9c6ea9fa
SP
271562012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27157
27158 [BZ #12416]
27159 * elf/tst-execstack.c: Include stackinfo.h.
27160 (do_test): Adjust test case to ensure that pthread_getattr_np
27161 behaviour remains the same after marking stack executable.
27162
a8239222
JM
271632012-05-25 Joseph Myers <joseph@codesourcery.com>
27164
27165 * sysdeps/unix/sysv/linux/kernel-features.h
27166 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27167 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27168 kernel-features.h.
27169 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27170 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27171 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27172 kernel-features.h.
27173 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27174 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27175
918b5606
L
271762012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27177
27178 * configure.in: Define the default includes to being none.
27179 * configure: Regenerated.
27180
3a097cc7
RM
271812012-05-25 Roland McGrath <roland@hack.frob.com>
27182
8422c9a5
RM
27183 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27184 * sysdeps/x86_64/setjmp.S: Likewise.
27185 * sysdeps/i386/bsd-setjmp.S: Likewise.
27186 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27187 * sysdeps/i386/setjmp.S: Likewise.
27188 * sysdeps/i386/__longjmp.S: Likewise.
27189 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27190 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27191
3a097cc7
RM
27192 * include/stap-probe.h: New file.
27193 * configure.in: Handle --enable-systemtap.
27194 * configure: Regenerated.
27195 * config.h.in (USE_STAP_PROBE): New #undef.
27196 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27197 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27198 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27199
21708942
JM
272002012-05-25 Joseph Myers <joseph@codesourcery.com>
27201
27202 [BZ #13717]
27203 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27204 to 2.4.0 where earlier.
27205 * sysdeps/unix/sysv/linux/configure: Regenerated.
27206 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27207 <kernel-features.h>.
27208 [__ASSUME_32BITUIDS]: Make code unconditional.
27209 [!__ASSUME_32BITUIDS]: Remove conditional code.
27210 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27211 <kernel-features.h>.
27212 [__ASSUME_32BITUIDS]: Make code unconditional.
27213 [!__ASSUME_32BITUIDS]: Remove conditional code.
27214 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27215 [__ASSUME_32BITUIDS]: Make code unconditional.
27216 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27217 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27218 <kernel-features.h>.
27219 [__ASSUME_32BITUIDS]: Make code unconditional.
27220 [!__ASSUME_32BITUIDS]: Remove conditional code.
27221 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27222 <kernel-features.h>.
27223 [__ASSUME_32BITUIDS]: Make code unconditional.
27224 [!__ASSUME_32BITUIDS]: Remove conditional code.
27225 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27226 <kernel-features.h>.
27227 [__ASSUME_32BITUIDS]: Make code unconditional.
27228 [!__ASSUME_32BITUIDS]: Remove conditional code.
27229 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27230 <kernel-features.h>.
27231 [__ASSUME_32BITUIDS]: Make code unconditional.
27232 [!__ASSUME_32BITUIDS]: Remove conditional code.
27233 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27234 <kernel-features.h>.
27235 [__ASSUME_32BITUIDS]: Make code unconditional.
27236 [!__ASSUME_32BITUIDS]: Remove conditional code.
27237 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27238 <kernel-features.h>.
27239 [__ASSUME_32BITUIDS]: Make code unconditional.
27240 [!__ASSUME_32BITUIDS]: Remove conditional code.
27241 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27242 <kernel-features.h>.
27243 [__ASSUME_32BITUIDS]: Make code unconditional.
27244 [!__ASSUME_32BITUIDS]: Remove conditional code.
27245 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27246 <kernel-features.h>.
27247 [__ASSUME_32BITUIDS]: Make code unconditional.
27248 [!__ASSUME_32BITUIDS]: Remove conditional code.
27249 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27250 <kernel-features.h>.
27251 [__ASSUME_32BITUIDS]: Make code unconditional.
27252 [!__ASSUME_32BITUIDS]: Remove conditional code.
27253 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27254 <kernel-features.h>.
27255 [__ASSUME_32BITUIDS]: Make code unconditional.
27256 [!__ASSUME_32BITUIDS]: Remove conditional code.
27257 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27258 <kernel-features.h>.
27259 [__NR_setresgid] (__setresgid): Do not declare.
27260 [__ASSUME_32BITUIDS]: Make code unconditional.
27261 [!__ASSUME_32BITUIDS]: Remove conditional code.
27262 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27263 <kernel-features.h>.
27264 [__NR_setresuid] (__setresuid): Do not declare.
27265 [__ASSUME_32BITUIDS]: Make code unconditional.
27266 [!__ASSUME_32BITUIDS]: Remove conditional code.
27267 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27268 <kernel-features.h>.
27269 [__ASSUME_32BITUIDS]: Make code unconditional.
27270 [!__ASSUME_32BITUIDS]: Remove conditional code.
27271 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27272 <kernel-features.h>.
27273 [__ASSUME_32BITUIDS]: Make code unconditional.
27274 [!__ASSUME_32BITUIDS]: Remove conditional code.
27275 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27276 <kernel-features.h>.
27277 [__ASSUME_32BITUIDS]: Make code unconditional.
27278 [!__ASSUME_32BITUIDS]: Remove conditional code.
27279 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27280 <kernel-features.h>.
27281 [__ASSUME_32BITUIDS]: Make code unconditional.
27282 [!__ASSUME_32BITUIDS]: Remove conditional code.
27283 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27284 <kernel-features.h>.
27285 [__ASSUME_32BITUIDS]: Make code unconditional.
27286 [!__ASSUME_32BITUIDS]: Remove conditional code.
27287 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27288 <kernel-features.h>.
27289 [__ASSUME_32BITUIDS]: Make code unconditional.
27290 [!__ASSUME_32BITUIDS]: Remove conditional code.
27291 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27292 <kernel-features.h>.
27293 [__ASSUME_32BITUIDS]: Make code unconditional.
27294 [!__ASSUME_32BITUIDS]: Remove conditional code.
27295 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27296 <kernel-features.h>.
27297 [__ASSUME_32BITUIDS]: Make code unconditional.
27298 [!__ASSUME_32BITUIDS]: Remove conditional code.
27299 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27300 <kernel-features.h>.
27301 [__ASSUME_32BITUIDS]: Make code unconditional.
27302 [!__ASSUME_32BITUIDS]: Remove conditional code.
27303 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27304 <kernel-features.h>.
27305 [__ASSUME_32BITUIDS]: Make code unconditional.
27306 [!__ASSUME_32BITUIDS]: Remove conditional code.
27307 * sysdeps/unix/sysv/linux/kernel-features.h
27308 (__ASSUME_SETRESUID_SYSCALL): Remove.
27309 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27310 (__ASSUME_32BITUIDS): Likewise.
27311 (__ASSUME_LDT_WORKS): Likewise.
27312 (__ASSUME_O_DIRECTORY): Likewise.
27313 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27314 architecture but not kernel version.
27315 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27316 (__ASSUME_MMAP2_SYSCALL): Likewise.
27317 (__ASSUME_STAT64_SYSCALL): Likewise.
27318 (__ASSUME_IPC64): Likewise.
27319 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27320 <kernel-features.h>.
27321 [__ASSUME_32BITUIDS]: Make code unconditional.
27322 [!__ASSUME_32BITUIDS]: Remove conditional code.
27323 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27324 <kernel-features.h>.
27325 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27326 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27327 132096]: Remove conditional code.
27328 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27329 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27330 <kernel-features.h>.
27331 [__ASSUME_32BITUIDS]: Make code unconditional.
27332 [!__ASSUME_32BITUIDS]: Remove conditional code.
27333 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27334 <kernel-features.h>.
27335 [__ASSUME_32BITUIDS]: Make code unconditional.
27336 [!__ASSUME_32BITUIDS]: Remove conditional code.
27337 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27338 <kernel-features.h>.
27339 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27340 unconditional.
27341 (__setresgid): Do not declare.
27342 [__ASSUME_32BITUIDS]: Make code unconditional.
27343 [!__ASSUME_32BITUIDS]: Remove conditional code.
27344 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27345 <kernel-features.h>.
27346 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27347 unconditional.
27348 (__setresuid): Do not declare.
27349 [__ASSUME_32BITUIDS]: Make code unconditional.
27350 [!__ASSUME_32BITUIDS]: Remove conditional code.
27351 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27352 <kernel-features.h>.
27353 [__ASSUME_32BITUIDS]: Make code unconditional.
27354 [!__ASSUME_32BITUIDS]: Remove conditional code.
27355 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27356 <kernel-features.h>.
27357 [__ASSUME_32BITUIDS]: Make code unconditional.
27358 [!__ASSUME_32BITUIDS]: Remove conditional code.
27359
a386f1cc
RH
273602012-05-25 Richard Henderson <rth@twiddle.net>
27361
27362 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27363 dl_hwcap to ifunc resolver.
27364 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27365 elf_ifunc_invoke.
27366 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27367 dl_hwcap to ifunc resolver.
27368 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27369
b6550497
JM
273702012-05-24 Joseph Myers <joseph@codesourcery.com>
27371
27372 [BZ #14153]
27373 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27374 for |x| <= 2**-26, not 2**-57.
27375 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27376 exception.
27377
b0bc23a1
JL
273782012-05-24 Jeff Law <law@redhat.com>
27379
27380 * stdio-common/Makefile (tests): Add bug25.
27381 * stdio-common/bug25.c: New test.
27382
347c92e9
L
273832012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27384
27385 [BZ #13576]
27386 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27387 multiple of MALLOC_ALIGNMENT in size.
27388 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27389
6bcc8b3f
JM
273902012-05-24 Joseph Myers <joseph@codesourcery.com>
27391
27392 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27393 Require >= 256.
27394 (FILENAME_MAX): Use macro-int-constant.
27395 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27396 (_IOFBF): Use macro-int-constant.
27397 (_IOLBF): Likewise.
27398 (_IONBF): Likewise.
27399 (SEEK_CUR): Likewise.
27400 (SEEK_END): Likewise.
27401 (SEEK_SET): Likewise.
27402 (TMP_MAX): Likewise.
27403 (EOF): Use macro-int-constant. Require < 0.
27404 (NULL): Use macro-constant. Require == 0.
27405 (stdin): Require type to be FILE *.
27406 (stdout): Likewise.
27407 (stderr): Likewise.
27408 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27409 macro-int-constant.
27410 (EXIT_SUCCESS): Likewise.
27411 (NULL): Use macro-constant. Require == 0.
27412 (RAND_MAX): Use macro-int-constant.
27413 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27414 [C99-based standards] (strtof): Require function.
27415 [C99-based standards] (strtold): Likewise.
27416 [C99-based standards] (strtoll): Likewise.
27417 [C99-based standards] (strtoull): Likewise.
27418 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27419 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27420 [ISO || ISO99 || ISO11] (math.h): Likewise.
27421 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27422 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27424
d18ea0c5
AS
274252012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27426
27427 [BZ #14132]
56d25bb8
AS
27428 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27429 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27430 * intl/dgettext.c (DCGETTEXT): Likewise.
27431 * intl/gettext.c (DCGETTEXT): Likewise.
27432 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27433 * posix/regex_internal.h (gettext): Likewise.
27434 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27435 Remove declaration.
27436 * include/argz.h (__argz_count_internal)
27437 (__argz_stringify_internal): Remove declaration.
27438 (__argz_count, __argz_stringify): Declare hidden proto.
27439 * intl/dcgettext.c: Remove use of INTDEF.
27440 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27441 * string/argz-stringify.c: Likewise.
27442 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27443 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27444 Declare hidden proto.
d18ea0c5
AS
27445 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27446 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27447 Declare hidden proto.
27448 * include/stdio.h (__asprintf_internal): Don't declare.
27449 (__asprintf): Don't define as macro. Declare hidden proto.
27450 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27451 (__fsetlocking): Declare hidden proto.
27452 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27453 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27454 hidden proto.
27455 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27456 (_IO_setlinebuf): Remove use of INTUSE.
27457 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27458 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27459 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27460 Remove declaration.
27461 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27462 (_IO_do_flush): Remove use of INTUSE.
27463 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27464 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27465 (_IO_adjust_column, _IO_least_wmarker)
27466 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27467 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27468 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27469 (_IO_default_doallocate, _IO_wdefault_doallocate)
27470 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27471 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27472 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27473 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27474 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27475 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27476 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27477 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27478 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27479 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27480 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27481 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27482 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27483 proto.
27484 (_IO_flush_all_internal, _IO_adjust_column_internal)
27485 (_IO_default_uflow_internal, _IO_default_finish_internal)
27486 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27487 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27488 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27489 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27490 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27491 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27492 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27493 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27494 (_IO_file_close_internal, _IO_file_close_it_internal)
27495 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27496 (_IO_file_init_internal, _IO_file_attach_internal)
27497 (_IO_file_fopen_internal, _IO_file_read_internal)
27498 (_IO_file_sync_internal, _IO_file_seek_internal)
27499 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27500 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27501 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27502 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27503 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27504 (_IO_list_all_internal, _IO_link_in_internal)
27505 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27506 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27507 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27508 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27509 (_IO_do_write_internal, _IO_padn_internal)
27510 (_IO_getline_info_internal, _IO_getline_internal)
27511 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27512 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27513 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27514 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27515 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27516 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27517 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27518 with libc_hidden_ver, remove use of INTUSE.
27519 * libio/genops.c: Likewise.
27520 * libio/freopen.c: Likewise.
27521 * libio/freopen64.c: Likewise.
27522 * libio/iofclose.c: Likewise.
27523 * libio/iofdopen.c: Likewise.
27524 * libio/iofflush.c: Likewise.
27525 * libio/iofflush_u.c: Likewise.
27526 * libio/iofgets.c: Likewise.
27527 * libio/iofgets_u.c: Likewise.
27528 * libio/iofopen.c: Likewise.
27529 * libio/iofopncook.c: Likewise.
27530 * libio/iofread.c: Likewise.
27531 * libio/iofread_u.c: Likewise.
27532 * libio/ioftell.c: Likewise.
27533 * libio/iofwrite.c: Likewise.
27534 * libio/iogetline.c: Likewise.
27535 * libio/iogets.c: Likewise.
27536 * libio/iogetwline.c: Likewise.
27537 * libio/iopadn.c: Likewise.
27538 * libio/iopopen.c: Likewise.
27539 * libio/ioseekoff.c: Likewise.
27540 * libio/ioseekpos.c: Likewise.
27541 * libio/iosetbuffer.c: Likewise.
27542 * libio/iosetvbuf.c: Likewise.
27543 * libio/ioungetc.c: Likewise.
27544 * libio/ioungetwc.c: Likewise.
27545 * libio/iovdprintf.c: Likewise.
27546 * libio/iovsprintf.c: Likewise.
27547 * libio/iovsscanf.c: Likewise.
27548 * libio/memstream.c: Likewise.
27549 * libio/obprintf.c: Likewise.
27550 * libio/oldfileops.c: Likewise.
27551 * libio/oldiofclose.c: Likewise.
27552 * libio/oldiofdopen.c: Likewise.
27553 * libio/oldiofopen.c: Likewise.
27554 * libio/oldiopopen.c: Likewise.
27555 * libio/oldstdfiles.c: Likewise.
27556 * libio/putc.c: Likewise.
27557 * libio/setbuf.c: Likewise.
27558 * libio/setlinebuf.c: Likewise.
27559 * libio/stdfiles.c: Likewise.
27560 * libio/strops.c: Likewise.
27561 * libio/vasprintf.c: Likewise.
27562 * libio/vscanf.c: Likewise.
27563 * libio/vsnprintf.c: Likewise.
27564 * libio/vswprintf.c: Likewise.
27565 * libio/wfiledoalloc.c: Likewise.
27566 * libio/wfileops.c: Likewise.
27567 * libio/wgenops.c: Likewise.
27568 * libio/wmemstream.c: Likewise.
27569 * libio/wstrops.c: Likewise.
27570 * libio/__fpurge.c: Likewise.
27571 * libio/__fsetlocking.c: Likewise.
27572 * assert/assert.c: Likewise.
27573 * debug/fgets_chk.c: Likewise.
27574 * debug/fgets_u_chk.c: Likewise.
27575 * debug/fread_chk.c: Likewise.
27576 * debug/fread_u_chk.c: Likewise.
27577 * debug/gets_chk.c: Likewise.
27578 * debug/obprintf_chk.c: Likewise.
27579 * debug/vasprintf_chk.c: Likewise.
27580 * debug/vdprintf_chk.c: Likewise.
27581 * debug/vsnprintf_chk.c: Likewise.
27582 * debug/vsprintf_chk.c: Likewise.
27583 * malloc/mtrace.c: Likewise.
27584 * misc/error.c: Likewise.
27585 * misc/syslog.c: Likewise.
27586 * stdio-common/asprintf.c: Likewise.
27587 * stdio-common/fxprintf.c: Likewise.
27588 * stdio-common/getw.c: Likewise.
27589 * stdio-common/isoc99_fscanf.c: Likewise.
27590 * stdio-common/isoc99_scanf.c: Likewise.
27591 * stdio-common/isoc99_vfscanf.c: Likewise.
27592 * stdio-common/isoc99_vscanf.c: Likewise.
27593 * stdio-common/isoc99_vsscanf.c: Likewise.
27594 * stdio-common/printf-prs.c: Likewise.
27595 * stdio-common/printf_fp.c: Likewise.
27596 * stdio-common/printf_fphex.c: Likewise.
27597 * stdio-common/printf_size.c: Likewise.
27598 * stdio-common/putw.c: Likewise.
27599 * stdio-common/scanf.c: Likewise.
27600 * stdio-common/sprintf.c: Likewise.
27601 * stdio-common/tmpfile.c: Likewise.
27602 * stdio-common/vfprintf.c: Likewise.
27603 * stdio-common/vfscanf.c: Likewise.
27604 * stdlib/strfmon_l.c: Likewise.
27605 * sunrpc/openchild.c: Likewise.
27606 * sunrpc/xdr_stdio.c: Likewise.
27607 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27608 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27609
d6c33fda
RM
276102012-05-24 Roland McGrath <roland@hack.frob.com>
27611
c1487492
RM
27612 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27613
27614 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27615 in the third column, to generate for the shared library an IFUNC
27616 that uses _dl_vdso_vsym.
27617 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27618 * Makeconfig (object-suffixes-noshared): New variable.
27619
27620 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27621 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27622 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27623 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27624
d6c33fda
RM
27625 [BZ #14132]
27626 * include/sys/time.h (__gettimeofday): Remove macro.
27627 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27628 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27629 Remove INTDEF.
27630 (__gettimeofday): Add libc_hidden_def.
27631 (gettimeofday): Add libc_hidden_weak.
27632 * sysdeps/mach/gettimeofday.c: Likewise.
27633 * sysdeps/posix/gettimeofday.c: Likewise.
27634 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27635 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27636 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27637 (__gettimeofday_internal): Remove strong_alias.
27638 (__gettimeofday): Add libc_hidden_def.
27639 (gettimeofday): Add libc_hidden_weak.
27640 * sysdeps/unix/syscalls.list (gettimeofday):
27641 Remove __gettimeofday_internal alias.
27642
b5a2bbe6
L
276432012-05-24 Daniel Jacobowitz <drow@false.org>
27644 H.J. Lu <hongjiu.lu@intel.com>
27645
27646 [BZ #12495]
27647 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27648 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27649 (largebin_index_32_big): New.
27650 (largebin_index): Use it for 16-byte alignment.
27651 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27652 correction with front_misalign.
27653
cfba4fda
L
276542012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27655
7f907421
L
27656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27658 Likewise.
27659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27660 Likewise.
27661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27662 Likewise.
27663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27664 Likewise.
27665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27666 Likewise.
27667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27668 Likewise.
27669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27670 Likewise.
27671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27672 Likewise.
27673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27674 Likewise.
27675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27676 Likewise.
27677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27678 Likewise.
27679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27680 Likewise.
27681
cfba4fda
L
27682 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27683 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27684
80bad0cc
JM
276852012-05-24 Joseph Myers <joseph@codesourcery.com>
27686
7a25eb06
JM
27687 [BZ #10846]
27688 [BZ #14036]
27689 * math/libm-test.inc (exp_test): Add test from bug 14036.
27690 (pow_test): Add test from bug 10846.
27691
795405f9
JM
27692 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27693 and other flags.
27694 (special_function): Do not include flags in test name.
27695 (parse_args): Likewise.
27696 * sysdeps/i386/fpu/libm-test-ulps: Update.
27697 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27698 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27699 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27701
80bad0cc
JM
27702 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27703 exceptions.
27704 * math/libm-test.inc ("Philosophy"): Update comment about
27705 exception testing.
27706 (UNDERFLOW_EXCEPTION): New macro.
27707 (UNDERFLOW_EXCEPTION_OK): Likewise.
27708 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27709 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27710 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27711 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27712 (INVALID_EXCEPTION_OK): Update value.
27713 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27714 (OVERFLOW_EXCEPTION_OK): Likewise.
27715 (IGNORE_ZERO_INF_SIGN): Likewise.
27716 (test_exceptions): Handle underflow exceptions.
27717 (acos_test): Update for underflow exception expectations.
27718 (cexp_test): Likewise.
27719 (clog_test): Likewise.
27720 (clog10_test): Likewise.
27721 (csqrt_test): Likewise.
27722 (ctan_test): Likewise.
27723 (ctanh_test): Likewise.
27724 (exp_test): Likewise.
27725 (exp10_test): Likewise.
27726 (exp2_test): Likewise.
27727 (expm1_test): Likewise.
27728 (fma_test): Likewise.
27729 (j0_test): Likewise.
27730 (jn_test): Likewise.
27731 (nexttoward_test): Likewise.
27732 (pow_test): Likewise.
27733 (scalbn_test): Likewise.
27734 (scalbln_test): Likewise.
27735 (tan_test): Likewise.
27736 (y1_test): Likewise.
27737 * sysdeps/i386/fpu/libm-test-ulps: Update.
27738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27739
9e0e3d0b
DM
277402012-05-23 David S. Miller <davem@davemloft.net>
27741
27742 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27743 (__libc_sigaction): Remove unused local variables.
27744
ccd0a08f
L
277452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27746
27747 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27748
62bdf9a6
PE
277492012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27750
f8591f80
PE
27751 mktime: avoid signed integer overflow
27752 * time/mktime.c (__mktime_internal): Do not mishandle the case
27753 where diff == INT_MIN.
27754
94c7d826
PE
27755 mktime: simplify computation of average
27756 * time/mktime.c (ranged_convert): Use new time_t_avg function
27757 instead of rolling our own (probably-slower) code.
27758
ce73d683
PE
27759 mktime: do not assume signed right shift propagates sign bit
27760 * time/mktime.c (isdst_differ): New static function.
27761 (__mktime_internal): No need to normalize tm_isdst now.
27762 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27763 tm_isdst values.
27764
72a22e59
PE
27765 mktime: merge another wrapv change from gnulib
27766 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27767 from some compilers.
27768
68605433
PE
27769 mktime: remove incorrect attempt at unusual arithmetics
27770 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27771 The code didn't really work on such machines anyway.
27772 (TYPE_MINIMUM): Assume two's complement.
27773 (twos_complement_arithmetic): Verify that long_int and time_t
27774 are two's complement (or unsigned, in the latter case).
27775
03cf7fe3
PE
27776 mktime: check signed shifts on long_int and time_t, too
27777 * time/mktime.c (SHR): Check that shifts work as desired
27778 on the types long_int and time_t too, as SHR is used on
27779 such types.
27780
f04dfbc2
PE
27781 mktime: do not assume 'long' is wide enough
27782 * time/mktime.c (verify): Move decl up.
27783 (long_int): New type.
27784 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27785 to remove assumption in the code that 'long' is wide enough to
27786 store year values. This assumption is not true on x32 and on
27787 some non-glibc platforms.
27788
62bdf9a6
PE
27789 mktime: merge wrapv change from gnulib
27790 * time/mktime.c (WRAPV): New macro.
27791 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27792 (guess_time_tm, __mktime_internal): Do not assume that signed
27793 integer overflow wraps around; modern compilers generate code
27794 where this assumption is no longer valid.
27795
5e292e4f
L
277962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27797
27798 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27799 Replace "jmp L(pseudo_end)" with "ret".
27800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27801 Likewise.
27802
8caf8c87
AJ
278032012-05-23 Andreas Jaeger <aj@suse.de>
27804
27805 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27806 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27807
1a09dc56
AJ
278082012-05-23 Andreas Jaeger <aj@suse.de>
27809 Maximilian Attems <max@stro.at>
27810
27811 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27812 New macros.
27813
1c87aba0
L
278142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27815
27816 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27817 code so that pseudo_end is just ret and the stack pointer is
27818 correct also for static library in error case.
27819
40e45bd5
JM
278202012-05-23 Joseph Myers <joseph@codesourcery.com>
27821
c2670533
JM
27822 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27823 move to syscalls.list.
27824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27828
40e45bd5
JM
27829 * manual/install.texi (Running make install): Do not mention Linux
27830 kernel version for which pt_chown is not needed.
27831 (Linux): Do not mention problems with nscd with 2.0 kernels.
27832 * INSTALL: Regenerated.
27833
be08eda5
AJ
278342012-05-23 Andreas Jaeger <aj@suse.de>
27835
27836 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27837 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27838 macro.
27839 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27840 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27841 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27842 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27843 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27844 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27845 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27846 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27847 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27848 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27849 * sysdeps/unix/sysv/linux/bits/in.h
27850 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27851
a6a056bb
RM
278522012-05-22 Roland McGrath <roland@hack.frob.com>
27853
27854 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27855 (PREPARE_VERSION): Just use assert instead, it will be elided
27856 under [NDEBUG] anyway.
27857
c9009328
L
278582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27859
27860 * sysdeps/unix/sysv/linux/Makefile: Include
27861 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27862 (sysdep_routines): Remove sysctl.
c9009328
L
27863 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27864 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27865 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27866 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27867 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27868
73338355
AJ
278692012-05-22 Andreas Jaeger <aj@suse.de>
27870
27871 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27872 that pseudo_end is just ret and the stack pointer is correct also
27873 for static library in error case.
27874
d44638b0
PP
278752012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27876
27877 [BZ #14122]
27878 * nss/nsswitch.c (defconfig_entries): New variable.
27879 (__nss_database_lookup): Don't leak defconfig entries.
27880 (nss_parse_service_list): Don't leak on error paths.
27881 (free_database_entries): New function.
27882 (free_defconfig): New function.
27883 (free_mem): Move common code to free_database_entries.
27884
31a39bd8
L
278852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27886
da0331a8
L
27887 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27888 Add arch_prctl.
27889 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27890
31a39bd8
L
27891 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27892 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27894 New macro.
27895 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27896 (INTERNAL_SYSCALL_TYPES): Likewise.
27897 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27898 (LOAD_REGS_TYPES_[1-6]): Likewise.
27899 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27900 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27901
45470df3
AZ
279022012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27903
27904 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27905 copysignl for GLIBC_2_0.
27906 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27907 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27908 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27909 logbl for GLIBC_2_0.
27910 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27911 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27912
98a61bcb
L
279132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27914
a4f6e481
L
27915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27916 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27917
f63d5db6
L
27918 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27919 Use "neg %eax".
27920
98a61bcb
L
27921 * time/mktime.c: Update copyright years.
27922
95770f14
PE
279232012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27924
6226efbd
PE
27925 mktime: merge comment-quoting-style change from gnulib
27926 * time/mktime.c: Quote 'like this' in comments.
27927 The GNU coding standards suggest that we no longer quote `like this',
27928 as "`" and "'" are typically rendered asymmetrically nowadays.
27929 The typical gnulib style is to quote 'like this' when quoting
27930 code, and "like this" when quoting English.
27931
b99e4f78
PE
27932 * time/mktime.c (compile-command): Add "-I.".
27933
643e01e6
PE
27934 mktime: merge mktime-internal.h change from gnulib
27935 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27936
2554247d
PE
27937 mktime: merge time_r change from gnulib
27938 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27939
826dd0ab
PE
27940 mktime: merge DEBUG change from gnulib
27941 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27942 case system <time.h> has a #define.
27943
bd83aabe
PE
27944 mktime: merge <sys/types.h> change from gnulib
27945 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27946 since <time.t> is now guaranteed to define time_t.
27947
95770f14
PE
27948 mktime: merge HAVE_CONFIG_H change from gnulib
27949 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27950
5e1a27a9
L
279512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27952
0e44a77e
L
27953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27954 Use "neg %eax".
27955
5e1a27a9
L
27956 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27957 __rlim_t cast.
27958 (struct rusage): Use anonymous union to pad each field to
27959 __syscall_slong_t.
27960
46259bec
DM
279612012-05-21 David S. Miller <davem@davemloft.net>
27962
27963 * Makefules (o-iterator): Remove .s cases.
27964 (compile-command.s): Delete.
27965 (COMPILE.s): Delete.
27966 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27967
59f0c22e
JM
279682012-05-21 Joseph Myers <joseph@codesourcery.com>
27969
27970 * configure.in (libc_cv_predef_stack_protector): Only consider
27971 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27972 * configure: Regenerated.
27973
20c07380
L
279742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27975
bbb3154b
L
27976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27977 New macro. Use R*LP on int and pointer.
27978 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27979 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27980 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27981 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27982
20c07380
L
27983 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27984 [__WORDSIZE_TIME64_COMPAT32] instead of
27985 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27986 (struct utmp): Likewise.
27987 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27988 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27989 Renamed to ...
27990 (__WORDSIZE_TIME64_COMPAT32): This.
27991 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27992 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27993 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27994 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27995 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27996 (__WORDSIZE_TIME64_COMPAT32): New macro.
27997
d8d1017e
AJ
279982012-05-21 Andreas Jaeger <aj@suse.de>
27999
28000 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28001 only if [SHARED]. Add prototype for __wcschr_ia32.
28002
6c7fb145
RM
280032012-05-21 Roland McGrath <roland@hack.frob.com>
28004
28005 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28006 of %rbp unmolested in the jmp_buf while mangling the low bits.
28007 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28008 unmolested high bits of %rbp while demangling the low bits.
28009 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28010
66274218
AJ
280112012-05-21 Andreas Jaeger <aj@suse.de>
28012
07c58f8f
AJ
28013 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28014 * sunrpc/svc_simple.c: Use it for registerrpc.
28015 * sunrpc/xcrypt.c: Use it for passwd2des.
28016
66274218
AJ
28017 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28018
61f65140
L
280192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28020
28021 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28022 Don't define if [__SYSCALL_WORDSIZE != 32].
28023 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28024 New macro.
28025
5fefb436
AJ
280262012-05-21 Bruno Haible <bruno@clisp.org>
28027 Andreas Jaeger <aj@suse.de>
28028
28029 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28030 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28031 inptr and inend for must_buffer_ch.
28032 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28033 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28034 * stdio-common/Makefile (tests): Remove bug15.
28035 (bug15-ENV): Remove macro.
28036 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28037 anymore.
28038
d8e272ab
AJ
280392012-05-19 Andreas Jaeger <aj@suse.de>
28040 Roland McGrath <roland@hack.frob.com>
28041
28042 * manual/contrib.texi: Completely rewritten. It contains now an
28043 alphabetical list of contributors and their contributions.
28044
4a56a162
RH
280452012-05-21 Richard Henderson <rth@twiddle.net>
28046
28047 * misc/getauxval.c (__getauxval): Use unsigned long int.
28048 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28049 (getauxval): Use unsigned long int.
28050
d024d23c
L
280512012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28052
28053 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28054
cbc00a03
RM
280552012-05-21 Roland McGrath <roland@hack.frob.com>
28056
28057 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28058 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28059 __alignof__ (long double).
28060
478143fa
AZ
280612012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28062
28063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28064
c7683a6d
RH
280652012-05-20 Richard Henderson <rth@twiddle.net>
28066
28067 * misc/getauxval.c: New file.
28068 * misc/sys/auxv.h: New file.
28069 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28070 (routines): Add getauxval.
28071 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28072 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28073 * elf/dl-sysdep.c (_dl_auxv): Remove.
28074 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28075 * elf/dl-support.c (_dl_auxv): New variable.
28076 (_dl_aux_init): Initialize it.
28077 * manual/startup.texi (Auxiliary Vector): New node.
28078 * sysdeps/generic/bits/hwcap.h: New file.
28079 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28080 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28081 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28082 * sysdeps/sparc/sysdep.h: ... here. Include it.
28083 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28084 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28086 Update.
c7683a6d
RH
28087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28090 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28095
a6f1845d
AZ
280962012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28097
28098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28099
cbcbe830
DM
281002012-05-19 David S. Miller <davem@davemloft.net>
28101
28102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28103
e0b16cc2
JM
281042012-05-19 Joseph Myers <joseph@codesourcery.com>
28105
28106 [BZ #14123]
28107 * math/s_ccosh.c: Include <float.h>
28108 (__ccosh): Avoid internal overflow calculating sinh and cosh
28109 values before multiplying by sin and cos values.
28110 * math/s_ccoshf.c: Likewise.
28111 * math/s_ccoshl.c: Likewise.
28112 * math/s_csin.c: Likewise.
28113 * math/s_csinf.c: Likewise.
28114 * math/s_csinl.c: Likewise.
28115 * math/s_csinh.c: Likewise.
28116 * math/s_csinhf.c: Likewise.
28117 * math/s_csinhl.c: Likewise.
28118 * math/libm-test.inc (ccos_test): Add more tests.
28119 (ccosh_test): Likewise.
28120 (csin_test): Likewise.
28121 (csinh_test): Likewise.
28122 * sysdeps/i386/fpu/libm-test-ulps: Update.
28123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28124
6ad13e08
L
281252012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28126
f66f0ce8
L
28127 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28128 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28129
6ad13e08
L
28130 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28131
b1d072a7
JM
281322012-05-19 Joseph Myers <joseph@codesourcery.com>
28133
28134 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28135 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28136 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28137 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28138 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28139 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28140 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28141 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28142 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28143 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28144 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28145 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28146 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28147 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28148 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28149 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28150 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28151 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28152 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28153 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28154 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28155 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28156 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28157 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28158 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28159 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28160 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28161 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28162 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28163 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28164 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28165
9eae47cb
AJ
281662012-05-18 Andreas Jaeger <aj@suse.de>
28167
28168 * csu/.gitignore: Delete.
28169
bb07f69f
L
281702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28171
28172 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28173 (timex): Use __syscall_slong_t.
28174
e6bdb741
AJ
281752012-05-18 Andreas Jaeger <aj@suse.de>
28176 Carlos O'Donell <carlos_odonell@mentor.com>
28177
28178 * manual/install.texi (Configuring and compiling): Update
28179 description about files modified in the source directory.
d6c33fda 28180 * INSTALL: Regenerated.
e6bdb741 28181
1b74487e
L
281822012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28183
28184 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28185 value. Use "or" to set return value to -1.
28186 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28187 negate return value.
28188
a88b64b9
TMQMF
281892012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28190
28191 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28192 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28193 failure if the compiler has Graphite support disabled.
28194 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28195 Likewise.
28196 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28197 CFLAGS-memmove.c): Likewise.
28198 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28199 Likewise.
28200
3707636e
L
282012012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28202
610b8622
L
28203 * sysdeps/x86_64/x32/_itoa.h: New file.
28204
7cd195df
L
28205 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28206 getdents system call only if kernel and user dirents have the
28207 same d_ino and d_off.
28208
94b07d20
L
28209 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28210 LLONG_MAX != LONG_MAX.
28211 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28212 (_fitoa_word): Likewise.
28213
18298070
L
28214 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28215 years.
28216 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28217 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28218 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28219
553c7ea4
L
28220 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28221 include <bits/wordsize.h>. Check __x86_64__ instead of
28222 __WORDSIZE.
28223 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28224 if __x86_64__ is defined. Use anonymous union on fpstate.
28225
3707636e
L
28226 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28227 anonymous union.
28228
b53ef01a
AS
282292012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28230
37fb1dc0
AS
28231 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28232 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28233 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28234 Refer to _rtld_local_ro instead of _rtld_global_ro.
28235 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28236 Likewise.
28237 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28238 Likewise.
28239 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28240 Likewise.
28241 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28242 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28243 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28244
b53ef01a
AS
28245 * sysdeps/powerpc/powerpc32/dl-machine.c
28246 (__elf_machine_runtime_setup) [PROF]: Don't reference
28247 _dl_prof_resolve.
28248
7a185db2
AJ
282492012-05-18 Andreas Jaeger <aj@suse.de>
28250
28251 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28252 function only available for GCCs before 3.4 since GCC 3.4
28253 introduced a builtin.
28254 (lrint): Likewise.
28255 (llrintf): Likewise.
28256 (llrint): Likewise.
28257 (fmaxf): Likewise.
28258 (fmax): Likewise.
28259 (fminf): Likewise.
28260 (fmin): Likewise.
28261 (rint): Likewise.
28262 (rintf): Likewise.
28263 (nearbyint): Likewise.
28264 (nearbyintf): Likewise.
28265 (ceil): Likewise.
28266 (ceilf): Likewise.
28267 (floor): Likewise.
28268 (floorf): Likewise.
28269
3e5aef87
L
282702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28271
428bd707
L
28272 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28273 on both fields and cast pointer to __syscall_ulong_t.
28274
3e5aef87
L
28275 * bits/types.h (__fsword_t): New type.
28276 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28277 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28279 (__FSWORD_T_TYPE): Likewise.
28280 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28281 (__FSWORD_T_TYPE): Likewise.
28282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28283 (__FSWORD_T_TYPE): Likewise.
28284 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28285 (__FSWORD_T_TYPE): Likewise.
28286 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28287 __SWORD_TYPE with __fsword_t.
28288 (statfs64): Likewise.
28289
1ba7c3dc
DM
282902012-05-17 David S. Miller <davem@davemloft.net>
28291
28292 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28293
59910343
AJ
282942012-05-17 Andreas Jaeger <aj@suse.de>
28295
28296 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28297 warning.
28298
2e4c1e9e
L
282992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28300
28301 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28302
de7f5ce7
AJ
283032012-05-17 Andreas Jaeger <aj@suse.de>
28304
28305 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28306 when it is used.
28307
286abc3d
CM
283082012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28309
28310 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28311
477cc68e
L
283122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28313
28314 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28315 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28316
1a0994f5
CD
283172012-05-17 Andreas Jaeger <aj@suse.de>
28318 Carlos O'Donell <carlos_odonell@mentor.com>
28319
28320 [BZ #14059]
28321 * sysdeps/x86_64/multiarch/init-arch.h
28322 (bit_YMM_Usable): Rename to...
28323 (bit_AVX_Usable): ... this.
28324 (bit_FMA4_Usable): New macro.
28325 (bit_XMM_state): New macro.
28326 (bit_YMM_state): New macro.
28327 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28328 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28329 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28330 (CPUID_OSXSAVE): New macro.
28331 (CPUID_AVX): New macro.
28332 (CPUID_FMA4): New macro.
28333 (index_YMM_Usable): Rename to...
28334 (index_AVX_Usable): ... this.
28335 (HAS_AVX): Use HAS_ARCH_FEATURE.
28336 (HAS_FMA4): Likewise.
28337 (HAS_YMM_USABLE): Remove.
28338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28339 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28340 are present.
28341 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28342 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28343 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28344 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28345 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28346
0af797de
CM
283472012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28348
28349 * math/libm-test.c: Support platforms without multiple rounding modes.
28350 * math/bug-nextafter.c: Support platforms without FP exceptions.
28351 * math/bug-nexttoward.c: Likewise.
28352 * math/test-fenv.c: Likewise.
28353 * math/test-misc.c: Likewise.
28354 * stdlib/bug-getcontext.c: Likewise.
28355
e39745ff
AJ
283562012-05-17 Andreas Jaeger <aj@suse.de>
28357
28358 * manual/examples/search.c (critter_cmp): Change signature to
28359 avoid warnings.
28360 * manual/string.texi (Collation Functions): Likewise.
28361
48970aba
L
283622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28363
28364 * bits/types.h: Fold copyright years.
28365 * bits/typesizes.h: Likewise.
28366 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28367 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28368 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28370 * time/time.h: Likewise.
28371
bedee953
PP
283722012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28373
28374 [BZ #208]
28375 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28376 in instead of returning them. Return void.
28377 (__libc_mallinfo): Accumulate over all arenas.
28378 (__malloc_stats): Adjust for change in int_mallinfo interface.
28379
61653dfb
RM
283802012-05-16 Roland McGrath <roland@hack.frob.com>
28381
30b99d79
RM
28382 [BZ #10375]
28383 * configure.in (NM): Add AC_CHECK_TOOL for it.
28384 (libc_extra_cflags): New substituted variable.
28385 Check for -fstack-protector being used implicitly.
28386 * configure: Regenerated.
28387 * config.make.in (config-extra-cflags): New variable,
28388 gets @libc_extra_cflags@.
28389 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28390
61653dfb
RM
28391 [BZ #10375]
28392 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28393 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28394 * configure: Regenerated.
28395 * config.make.in (CPPUNDEFS): New substituted variable.
28396 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28397 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28398 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28399
661768bb
L
284002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28401
28402 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28403 (mq_attr): Use __syscall_slong_t.
28404
d4261567
L
284052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28406
28407 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28408 Check __x86_64__ instead of __WORDSIZE.
28409 (_STAT_VER_LINUX): Likewise.
28410 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28411 __syscall_ulong_t and __syscall_slong_t.
28412 (stat64): Likewise.
28413
cf3ff365
L
284142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28415
28416 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28417
76cf3e4d
L
284182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28419
28420 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28421
a637753a
L
284222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28423
28424 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28425 __syscall_ulong_t.
28426
d5e05119
L
28427 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28428 include <bits/wordsize.h>. Check __x86_64__ instead of
28429 __WORDSIZE.
28430 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28431 defined.
28432 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28433
f62ee380
L
28434 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28435 include <bits/wordsize.h>. Check __x86_64__ instead of
28436 __WORDSIZE.
28437 (user_regs_struct): Use "__extension__ unsigned long long"
28438 instead of "unsigned long" if __x86_64__ is defined.
28439 (user): Likewise. Pad after pointer field if __ILP32__ is
28440 defined.
28441
4e124ced
JM
284422012-05-16 Joseph Myers <joseph@codesourcery.com>
28443
6a3951a0
JM
28444 * configure.in (makeinfo): Require version 4.5 or later. Allow
28445 versions 5 to 9.
28446 * configure: Regenerated.
28447 * manual/install.texi (texinfo): Increase version requirement to
28448 4.5 or later.
28449 * INSTALL: Regenerated.
28450
4e124ced
JM
28451 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28452
953ca31a
L
284532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28454
28455 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28456
617aca05
L
28457 * sysdeps/x86_64/x32/ffs.c: New file.
28458
5762f7ae
L
28459 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28460 __syscall_ulong_t.
28461 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28462 defined. Use __syscall_ulong_t.
28463 (shminfo): Use __syscall_ulong_t.
28464 (shm_info): Likewise.
28465
a26b6856
L
28466 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28467 __syscall_ulong_t.
28468
cb2b9ef7
L
28469 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28470 <bits/wordsize.h>.
28471 (msgqnum_t): Use __syscall_ulong_t.
28472 (msglen_t): Likewise.
28473 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28474 __syscall_ulong_t.
28475
34683bb0
L
28476 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28477 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28478
84a68786
L
28479 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28480
48baa5f1
L
28481 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28482 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28483
180be88b
L
28484 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28485 __syscall_slong_t.
28486
5e90c8ad
L
28487 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28488 include <bits/wordsize.h>. Check __x86_64__ instead of
28489 __WORDSIZE.
28490
23dfb58b
L
28491 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28492 "unsigned long long int" if __x86_64__ is defined.
28493 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28494
ce5d54b0
L
28495 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28496 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28497 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28498
13dc9eac
L
28499 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28500 <stdint.h>.
28501 (GET_PC): Cast to uintptr_t first.
28502 (GET_FRAME): Likewise.
28503 (GET_STACK): Likewise.
28504
a7895d15
L
28505 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28506 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28507 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28508 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28509 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28510 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28511 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28512 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28513 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28514 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28515 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28516 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28517 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28518 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28519 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28520 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28521 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28522 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28523 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28524 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28525 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28526 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28527 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28528 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28529 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28530 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28531 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28532 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28533 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28534
656416c9
AS
285352012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28536
5bd66283
AS
28537 * Makerules (+depfiles): Also collect depfiles from .oS in
28538 $(extra-objs).
28539 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28540 .oS, $(libnldbl-routines)).
28541
656416c9
AS
28542 * Makerules (native-compile-mkdep-flags): Define.
28543 * sunrpc/Makefile (extra-objs): Add $(addprefix
28544 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28545 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28546 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28547 calling $(make-target-directory).
28548
a46f2169
L
285492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28550
28551 * bits/types.h (__snseconds_t): Removed.
28552 * time/time.h (struct timespec): Replace __snseconds_t with
28553 __syscall_slong_t.
28554 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28555 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28556 Likewise.
28557 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28558 (__SNSECONDS_T_TYPE): Likewise.
28559 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28560 (__SNSECONDS_T_TYPE): Likewise.
28561 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28562 (__SNSECONDS_T_TYPE): Likewise.
28563
6af6528b
L
285642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28565
28566 * sysdeps/mach/hurd/bits/typesizes.h
28567 (__SYSCALL_SLONG_TYPE): New macro.
28568 (__SYSCALL_ULONG_TYPE): Likewise.
28569
de986b56
L
285702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28571
28572 * bits/types.h (__syscall_slong_t): New type.
28573 (__syscall_ulong_t): Likewise.
28574
28575 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28576 (__SYSCALL_ULONG_TYPE): Likewise.
28577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28578 (__SYSCALL_SLONG_TYPE): Likewise.
28579 (__SYSCALL_ULONG_TYPE): Likewise.
28580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28581 (__SYSCALL_SLONG_TYPE): Likewise.
28582 (__SYSCALL_ULONG_TYPE): Likewise.
28583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28584 (__SYSCALL_SLONG_TYPE): Likewise.
28585 (__SYSCALL_ULONG_TYPE): Likewise.
28586
85736dc7
L
285872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28588
28589 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28590 Add sigaltstack-offsets.sym.
28591 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28592 <sigaltstack-offsets.h>.
28593 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28594 longjmp_msg pointer.
28595 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28596 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28597 signal stack.
28598 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28599
cc03b296
JM
286002012-05-15 Joseph Myers <joseph@codesourcery.com>
28601
a9538892
JM
28602 * elf/stackguard-macros.h: Remove file.
28603 * sysdeps/generic/stackguard-macros.h: New file.
28604 * sysdeps/i386/stackguard-macros.h: Likewise.
28605 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28606 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28607 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28608 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28609 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28610 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28611 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28612 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28613 <elf/stackguard-macros.h>.
28614
cc03b296
JM
28615 [BZ #14109]
28616 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28617 __aligned__ in attribute.
28618 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28619 (gregset_t): Likewise.
28620
93171016
L
286212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28622
28623 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28624 * sysdeps/x86_64/64/Implies-after: Here. New file.
28625 * sysdeps/x86_64/x32/Implies-after: New file.
28626
d86813a0
L
286272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28628
28629 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28630 and access return value for _dl_profile_fixup. Use R10_LP to
28631 load frame size.
28632
2953ec75
L
286332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28634
28635 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28636
3b550e9e
L
286372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28638
28639 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28640 * sysdeps/x86_64/x32/sysdep.h: New file.
28641
eda41706
L
286422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28643
28644 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28645 * sysdeps/x86_64/setjmp.S: Likewise.
28646
9ea01d93
AZ
286472012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28648
28649 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28650 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28651 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28652 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28653 remove unused global constant.
28654
02a91938
CM
286552012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28656
28657 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28658 include of <not-cancel.h>.
28659
6540185f
RM
286602012-05-15 Roland McGrath <roland@hack.frob.com>
28661
28662 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28663
509072a0
AJ
286642012-05-15 Jeff Law <law@redhat.com>
28665 Andreas Jaeger <aj@suse.de>
28666
28667 [BZ #13594]
28668 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28669 out from...
28670 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28671 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28672 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28673 code changing __hst_map_handle.map.
28674
ba75122d
RM
286752012-05-15 Roland McGrath <roland@hack.frob.com>
28676
28677 * configure.in (sysnames): Look for Implies-before and Implies-after
28678 files.
28679 * configure: Regenerated.
28680
890d8bd8
L
286812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28682
28683 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28684 8-byte data alignment with LP_SIZE alignment.
28685
f6ee6623
L
286862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28687
28688 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28689 into R10_LP.
28690
ea2626f6
L
286912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28692
28693 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28694
085f715e
L
286952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28696
28697 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28698 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28699 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28700 Likewise.
28701 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28702
be8498fc
L
287032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28704
28705 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28706 (stackinfo_sub_sp): Likewise.
28707
70bc83b9
L
287082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28709
28710 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28711 RAX_LP.
28712
9bc0b730
L
287132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28714
28715 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28716 into R*_LP.
28717
6d2850e7
L
287182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28719
28720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28721 sizes into R*_LP.
28722
3cb84561
L
287232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28724
28725 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28726
54e2ed81
L
287272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28728
28729 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28730 into R11_LP and load __x86_64_shared_cache_size_half into
28731 R8_LP.
28732
8a17f349
L
287332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28734
28735 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28736 R8_LP.
28737
777b1eea
AZ
287382012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28739
28740 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28741 logb for POWER7.
28742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28743 logbf for POWER7.
28744 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28745 logbl for POWER7.
28746 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28747 powerpc32/power7/fpu/s_logb.c via #include.
28748 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28749 powerpc32/power7/fpu/s_logbf.c via #include.
28750 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28751 powerpc32/power7/fpu/s_logbl.c via #include.
28752
d20d4ac2
JM
287532012-05-15 Joseph Myers <joseph@codesourcery.com>
28754
28755 * README.libm: Remove file.
28756
6cdef1ab
L
287572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28758
28759 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28760 count for x32. Use R*_LP and omit operand-size suffix.
28761
0b254d8f
L
287622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28763
28764 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28765 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28766 * sysdeps/x86_64/x32/shlib-versions: New file.
28767
ceb809dc
RM
287682012-05-14 Roland McGrath <roland@hack.frob.com>
28769
28770 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28771 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28772 Use _dl_fatal_printf instead.
28773
37f1abd4
JM
287742012-05-14 Joseph Myers <joseph@codesourcery.com>
28775
28776 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28777 set if not set by the user. Do not allow for being unset.
28778 * sysdeps/unix/sysv/linux/configure: Regenerated.
28779
11de3a33
L
287802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28781
28782 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28783 the `q' suffix from lea and replace .quad with ASM_ADDR.
28784
e02f153a
L
287852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28786
28787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28788 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28789 instead of $17.
28790 (PTR_DEMANGLE): Likewise.
28791
520ae0fd
L
287922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28793
28794 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28795 (LP_OP): Likewise.
28796 (ASM_ADDR): Likewise.
28797 (RAX_LP): Likewise.
28798 (RBP_LP): Likewise.
28799 (RBX_LP): Likewise.
28800 (RCX_LP): Likewise.
28801 (RDI_LP): Likewise.
28802 (RSI_LP): Likewise.
28803 (RSP_LP): Likewise.
28804 (R8_LP): Likewise.
28805 (R9_LP): Likewise.
28806 (R10_LP): Likewise.
28807 (R10_LP): Likewise.
28808 (R11_LP): Likewise.
28809 (R12_LP): Likewise.
28810 (R13_LP): Likewise.
28811 (R14_LP): Likewise.
28812 (R15_LP): Likewise.
28813
b985be81
L
288142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28815
28816 * sysdeps/x86_64/x32/dl-machine.h: New file.
28817
6a4888ff
AJ
288182012-05-14 Andreas Jaeger <aj@suse.de>
28819
28820 * manual/Makefile (subdir): Remove export of subdir.
28821 (all): Remove target.
28822 (.PHONY): Remove all from list.
28823 (mkinstalldirs): Remove.
28824 (.PHONY): Remove installdirs from list.
28825 ($(inst_infodir)/libc.info): Use make-target-directory.
28826 (installdirs): Remove.
28827 (subdir_%): Remove.
28828 (glibc-targets): Remove.
28829 (lib): Remove.
28830 (stubs): Remove.
28831 ($(objpfx)stubs ../po/manual.pot): Remove.
28832 ($(objpfx)stamp%): Remove.
28833 (make-target-directory): Remove.
28834 (subdir_install): Remove.
28835 (routines): Remove.
28836 (aux): Remove.
28837 (sources): Remove.
28838 (objects): Remove.
28839 (headers): Remove.
28840
28841 [BZ #13750]
28842 * manual/.gitignore: Remove, it's not needed anymore.
28843 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28844 all files in it.
28845 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28846 directory.
28847 (texis): Renamed to $(objpfx)texis.
28848 (texis-path): New, contains path to generated files.
28849 (chapters.%): Use texis-path for complete path, add extra argument
28850 libc-texinfo.sh.
28851 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28852 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28853 (summary,texi, stamp-summary): Use complete path of
28854 files. Generate files in build dir.
28855 (dir-add.texi): Build in build dir.
28856 (libm-err.texi,stamp-libm-err): Likewise.
28857 (version.texi, stamp-version): Likewise.
28858 (.%c.texi): Likewise.
28859 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28860 (mostlyclean): Remove target.
28861 (realclean): Remove target.
28862 (generated): Add new variable with contents from mostlyclean and
28863 realclean, remove entries duplicated in common-mostlyclean, add
28864 stamp-libm-err and stamp-version.
28865 (generated-dirs): Add libc directory.
28866 ($(inst_infodir)/libc.info): Install files from build dir.
28867
28868 * manual/install.texi (Configuring and compiling): Adjust since
28869 the info files are not part of the tar ball anymore.
28870
7ac77294
AJ
288712012-05-14 Andreas Jaeger <aj@suse.de>
28872
28873 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28874 variable.
28875
ffb7875d
JM
288762012-05-14 Joseph Myers <joseph@codesourcery.com>
28877
28878 [BZ #13717]
28879 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28880 to 2.2.0 where earlier.
28881 * sysdeps/unix/sysv/linux/configure: Regenerated.
28882 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28883 Remove conditional code.
28884 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28885 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28886 Remove conditional code.
28887 [!__NR_lchown]: Likewise.
28888 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28889 [__NR_lchown]: Likewise.
28890 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28891 comment referencing __ASSUME_LCHOWN_SYSCALL.
28892 * sysdeps/unix/sysv/linux/i386/sigaction.c
28893 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28894 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28895 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28896 Remove conditional code.
28897 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28898 (__protocol_available): Remove #if 0 code.
28899 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28900 conditional code.
28901 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28902 * sysdeps/unix/sysv/linux/kernel-features.h
28903 (__ASSUME_GETCWD_SYSCALL): Don't define.
28904 (__ASSUME_REALTIME_SIGNALS): Likewise.
28905 (__ASSUME_PREAD_SYSCALL): Likewise.
28906 (__ASSUME_PWRITE_SYSCALL): Likewise.
28907 (__ASSUME_POLL_SYSCALL): Likewise.
28908 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28909 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28910 non-SPARC.
28911 (__ASSUME_SIOCGIFNAME): Don't define.
28912 (__ASSUME_MSG_NOSIGNAL): Likewise.
28913 (__ASSUME_SENDFILE): Define unconditionally.
28914 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28915 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28916 conditional code.
28917 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28918 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28919 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28920 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28921 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28922 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28923 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28925 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28926 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28928 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28929 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28931 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28932 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28934 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28935 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28937 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28938 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28940 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28941 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28943 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28944 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28946 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28947 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28948 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28949 Remove conditional code.
28950 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28951 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28952 Remove conditional code.
28953 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28954 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28955 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28956 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28957 Remove conditional code.
28958 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28959 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28960 Remove conditional code.
28961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28962 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28963 Remove conditional code.
28964 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28965 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28966 Remove conditional code.
28967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28968 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28969 Remove conditional code.
28970 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28971 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28972 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28974 * sysdeps/unix/sysv/linux/sigaction.c
28975 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28976 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28977 * sysdeps/unix/sysv/linux/sigpending.c
28978 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28979 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28980 * sysdeps/unix/sysv/linux/sigprocmask.c
28981 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28982 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28983 * sysdeps/unix/sysv/linux/sigsuspend.c
28984 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28985 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28986 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28987 (__libc_missing_rt_sigs): Remove.
28988 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28989 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28990 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28991 Remove conditional code.
28992 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28993 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28994 return 1.
28995 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28996 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28997 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28998 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28999
1bfb7291
AJ
290002012-05-14 Andreas Jaeger <aj@suse.de>
29001
caae5a81
AJ
29002 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29003 it's not used in glibc.
29004 (__coshm1): Likewise.
29005 (__acosh1p): Likewise.
29006 (__sgn): Likewise.
29007
1bfb7291
AJ
29008 * manual/string.texi (Copying and Concatenation): Add missing
29009 variable in concat example.
29010 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29011
c044d724
L
290122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29013
144c5467 29014 [BZ #14103]
c044d724
L
29015 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29016 __builtin_clzl with __builtin_clzll.
29017
2523c62b
L
290182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29019
29020 [BZ #14104]
29021 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29022 libc_freeres_ptr.
29023
d7bb4c42
LD
290242012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29025
29026 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29027 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29028 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29029 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29030
9dc4e1fb
MF
290312012-05-14 Mike Frysinger <vapier@gentoo.org>
29032
29033 * NEWS: Update ia64 info.
29034
c7df0112
AS
290352012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29036
29037 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29038 used as bcopy.
29039
dc70356c
TS
290402012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29041
29042 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29043 * sysdeps/unix/syscalls.list (dup3): Likewise.
29044 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29045 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29046
9fb1a21f
L
290472012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29048
29049 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29050 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29051
4822a2a5
L
290522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29053
29054 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29055 thread pointer.
29056 (TLS_IE): Use mov/add instead of movq/addq to load thread
29057 pointer.
29058 (TLS_GD_PREFIX): New.
29059 (TLS_GD): Use it.
29060
842b81d6
DM
290612012-05-11 David S. Miller <davem@davemloft.net>
29062
29063 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29064 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29065 (_FPU_SETCW): Likewise.
29066
1cf463cd
L
290672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29068
29069 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29070 is 32-byte aligned.
29071
60cc4a18
AS
290722012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29073
29074 [BZ #11837]
29075 * iconvdata/gb18030.c: Update tables.
29076 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29077 characters specially.
29078 (BODY for TO_LOOP): Add encoding of missing ranges.
29079
febb44a4
TS
290802012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29081
29082 [BZ #13673]
29083 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29084 * sysdeps/mach/hurd/dup3.c: Likewise.
29085 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29086 * sysdeps/powerpc/memmove.c:: Likewise.
29087
0a10fb9e
L
290882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29089
29090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29091 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29092
df8a552f
L
290932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29094
29095 * elf/elf.h (R_X86_64_RELATIVE64): New.
29096 (R_X86_64_NUM): Updated.
29097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29098 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29099 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29100 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29101 tst-quad1pie tst-quad2pie
29102 (modules-names): Add tst-quadmod1 tst-quadmod2.
29103 ($(objpfx)tst-quad1): New dependency.
29104 ($(objpfx)tst-quad2): Likewise.
29105 ($(objpfx)tst-quad1pie): Likewise.
29106 ($(objpfx)tst-quad2pie): Likewise.
29107 * sysdeps/x86_64/tst-quad1.c: New file.
29108 * sysdeps/x86_64/tst-quad1pie.c: New file.
29109 * sysdeps/x86_64/tst-quad2.c: Likewise.
29110 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29111 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29112 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29113 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29114 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29115
f34d6f84
ST
291162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29117
f42d41d1
ST
29118 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29119 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29120 * streams/stropts.h (t_scalar_t): Define type.
29121
3c3571fc
ST
29122 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29123 (_PATH_PRESERVE): Set to "/var/lib".
29124 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29125
61f06bd3
ST
29126 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29127 instead of int.
29128
918d4d71
ST
29129 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29130 if __dir_mkfile succeeded.
29131
f34d6f84
ST
29132 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29133 checking for _hurd_dtablesize. Unlock it right after having
29134 finished _hurd_dtable allocation.
29135
10589b4a
TS
291362012-05-10 Thomas Schwinge <thomas@schwinge.name>
29137
674cdbc7
TS
29138 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29139 * sysdeps/mach/hurd/configure: Regenerated.
29140 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29141 special-casing to...
29142 * sysdeps/gnu/configure.in: ... this new file.
29143 * sysdeps/unix/sysv/linux/configure: Regenerated.
29144 * sysdeps/gnu/configure: New generated file.
29145
8e41b99f
TS
29146 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29147 for Linux: use nsec instead of usec, as well as:
29148 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29149 members of type struct timespec.
29150 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29151 New macros.
29152 (struct stat64): Likewise.
29153 (_STATBUF_ST_NSEC): New macro.
29154 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29155
10589b4a
TS
29156 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29157 __strtoul_internal rather than strtoul.
29158
63643c85
PT
291592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29160
29161 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29162 and reject them.
29163
3faebe6a
ST
291642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29165
29166 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29167 which preserves existing values.
29168 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29169
c6474b07
PT
291702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29171
29172 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29173 TIMEOUT values. Return EINVAL for NFDS values either negative or
29174 greater than FD_SETSIZE.
29175
1043890b
ST
291762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29177
29178 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29179 allocated, call __vm_protect to finish enabling the existing space, and
29180 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29181 allocate the remainder.
29182
37ed8b9b
PT
291832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29184
29185 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29186 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29187
db653660
ST
291882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29189
37ed8b9b
PT
29190 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29191 sysdeps/mach/hurd/readlink.c.
b29d4053 29192
db653660
ST
29193 * posix/tst-sysconf.c (posix_options): Only use
29194 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29195 _POSIX_SYNCHRONIZED_IO when they are defined
29196 * sysdeps/mach/hurd/bits/posix_opt.h:
29197 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29198 (_XOPEN_REALTIME): Undefine macro.
29199 (_XOPEN_REALTIME_THREADS): Undefine macro.
29200 (_XOPEN_SHM): Undefine macro.
29201 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29202 macro to -1.
29203 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29204 macro to -1.
29205 (_POSIX_ASYNC_IO): Undefine macro.
29206 (_POSIX_PRIORITIZED_IO): Undefine macro.
29207 (_POSIX_SPIN_LOCKS): Define macro to -1.
29208
ee16e894
ST
29209 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29210 SA_NODEFER, SA_RESETHAND.
29211 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29212 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29213 F_DUPFD_CLOEXEC.
29214
6103ae3b
TS
292152012-05-10 Thomas Schwinge <thomas@schwinge.name>
29216
29217 * elf/Makefile (pldd-modules): Define unconditionally.
29218
80b4e5f3
TS
292192012-05-10 Thomas Schwinge <thomas@schwinge.name>
29220
29221 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29222
edadcbd6
ST
292232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29224
29225 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29226 Return ENOENT when name is empty.
29227 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29228
80694780
TS
292292012-05-10 Thomas Schwinge <thomas@schwinge.name>
29230
1792c087
TS
29231 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29232
80694780
TS
29233 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29234
6b645f0d
ST
292352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29236
80694780
TS
29237 Fix mlock in all cases except non-readable pages.
29238 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29239 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29240
6b645f0d
ST
29241 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29242 (__mkdir): When path is `/', just fail with EEXIST.
29243 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29244
e468f8a3
TS
292452012-05-10 Thomas Schwinge <thomas@schwinge.name>
29246
29247 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29248 <sys/uio.h> (for writev).
29249 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29250 and <sys/param.h> (for MIN).
29251
a4186cff
PT
292522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29253
29254 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29255 REQUESTED_TIME. Properly set the remaining time and return EINTR
29256 if interrupted.
29257
510bbf14
TS
292582012-05-10 Thomas Schwinge <thomas@schwinge.name>
29259
29260 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29261 Depend on against $(link-rpcuserlibs).
29262
5d5722e8
ST
292632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29264
a4186cff
PT
29265 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29266 (__libc_stack_end): Do not use attribute_relro.
29267 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29268 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29269 to libthread-provided value.
a4186cff
PT
29270 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29271 attribute_relro.
5d5722e8 29272
37233df9
TS
292732012-05-10 Thomas Schwinge <thomas@schwinge.name>
29274
be971a2b
TS
29275 [BZ #3748]
29276 * bits/libc-lock.h (__libc_once_get): New macro.
29277 * sysdeps/mach/bits/libc-lock.h: Likewise.
29278 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29279 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29280 instead of using implementation details.
29281
37233df9
TS
29282 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29283 * libio/freopen.c: Likewise.
29284 * libio/freopen64.c: Likewise.
29285 * misc/syslog.c: Likewise.
29286 * nscd/connections.c: Likewise.
29287 * nscd/netgroupcache.c: Likewise.
29288 * sysdeps/posix/getcwd.c: Likewise.
29289
38de94a5
RM
292902012-05-10 Roland McGrath <roland@hack.frob.com>
29291
29292 * math/w_ilogbf.c: Add #include <limits.h>.
29293
67530489
ST
292942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29295
a4186cff 29296 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29297 path instead of returning without unlocking.
29298
67530489
ST
29299 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29300 immediate-write ioctls.
29301 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29302
5aa3a74a
TS
293032012-05-10 Thomas Schwinge <thomas@schwinge.name>
29304
18bad2ae
TS
29305 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29306 __builtin_frame_address instead of making assumptions about the
29307 location of the return address relative to DATA. Force early load of
29308 the return address.
29309 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29310 __builtin_frame_address.
29311
5aa3a74a
TS
29312 dup3 for GNU Hurd.
29313 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29314 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29315 implement dup3 and do some further code clean-ups.
29316 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29317 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29318
ecd0de9a
ST
293192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29320
cd9fa985
ST
29321 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29322
a4186cff
PT
29323 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29324 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29325 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29326 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29327 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29328 d->port.lock.
802ca5a5 29329
a4186cff
PT
29330 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29331 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29332 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29333
bcf55240
TS
293342012-05-10 Thomas Schwinge <thomas@schwinge.name>
29335
6960eb42
TS
29336 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29337 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29338 definitions.
29339
eb43375f
TS
29340 accept4 for GNU Hurd.
29341 * include/sys/socket.h (__libc_accept4): New prototype.
29342 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29343 to implement __libc_accept4.
29344 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29345 __libc_accept4.
29346 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29347
bcf55240
TS
29348 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29349 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29350 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29351 signal-defines.sym.
29352
6178c55b
ST
293532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29354
a4186cff 29355 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29356
6f080c2f
TS
293572012-05-10 Thomas Schwinge <thomas@schwinge.name>
29358
29359 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29360 assertion on O_CLOEXEC flag.
29361 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29362 * hurd/intern-fd.c: Likewise.
29363 * hurd/port2fd.c: Likewise.
29364
bcfe3a54
ST
293652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29366
29367 [BZ #3906]
29368 * bits/in.h (IPV6_PKTINFO): Define new macro.
29369 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29370
89c9aa49
AZ
293712012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29372
29373 [BZ #13954]
29374 [BZ #13955]
29375 [BZ #13956]
29376 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29377 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29378 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29379 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29380 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29381 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29382 * math/libm-test.inc (logb_test) : Additional logb tests.
29383
021db4be
AJ
293842012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29385 Andreas Jaeger <aj@suse.de>
29386
29387 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29388 * configure: Regenerated.
29389 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29390 * config.make.in (link-obsolete-rpc): New substituted variable.
29391 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29392 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29393 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29394 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29395 so that libc.a contains the symbols.
29396 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29397 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29398 * sunrpc/auth_none.c: Likewise.
29399 * sunrpc/auth_unix.c: Likewise.
29400 * sunrpc/authdes_prot.c: Likewise.
29401 * sunrpc/authuxprot.c: Likewise.
29402 * sunrpc/clnt_gen.c: Likewise.
29403 * sunrpc/clnt_perr.c: Likewise.
29404 * sunrpc/clnt_raw.c: Likewise.
29405 * sunrpc/clnt_simp.c: Likewise.
29406 * sunrpc/clnt_tcp.c: Likewise.
29407 * sunrpc/clnt_udp.c: Likewise.
29408 * sunrpc/clnt_unix.c: Likewise.
29409 * sunrpc/des_crypt.c: Likewise.
29410 * sunrpc/des_soft.c: Likewise.
29411 * sunrpc/get_myaddr.c: Likewise.
29412 * sunrpc/key_call.c: Likewise.
29413 * sunrpc/key_prot.c: Likewise.
29414 * sunrpc/netname.c: Likewise.
29415 * sunrpc/pm_getmaps.c: Likewise.
29416 * sunrpc/pm_getport.c: Likewise.
29417 * sunrpc/pmap_clnt.c: Likewise.
29418 * sunrpc/pmap_prot.c: Likewise.
29419 * sunrpc/pmap_prot2.c: Likewise.
29420 * sunrpc/pmap_rmt.c: Likewise.
29421 * sunrpc/publickey.c: Likewise.
29422 * sunrpc/rpc_cmsg.c: Likewise.
29423 * sunrpc/rpc_common.c: Likewise.
29424 * sunrpc/rpc_dtable.c: Likewise.
29425 * sunrpc/rpc_prot.c: Likewise.
29426 * sunrpc/rpc_thread.c: Likewise.
29427 * sunrpc/rtime.c: Likewise.
29428 * sunrpc/svc.c: Likewise.
29429 * sunrpc/svc_auth.c: Likewise.
29430 * sunrpc/svc_raw.c: Likewise.
29431 * sunrpc/svc_run.c: Likewise.
29432 * sunrpc/svc_tcp.c: Likewise.
29433 * sunrpc/svc_udp.c: Likewise.
29434 * sunrpc/svc_unix.c: Likewise.
29435 * sunrpc/svcauth_des.c: Likewise.
29436 * sunrpc/xcrypt.c: Likewise.
29437 * sunrpc/xdr.c: Likewise.
29438 * sunrpc/xdr_array.c: Likewise.
29439 * sunrpc/xdr_float.c: Likewise.
29440 * sunrpc/xdr_intXX_t.c: Likewise.
29441 * sunrpc/xdr_mem.c: Likewise.
29442 * sunrpc/xdr_rec.c: Likewise.
29443 * sunrpc/xdr_ref.c: Likewise.
29444 * sunrpc/xdr_sizeof.c: Likewise.
29445 * sunrpc/xdr_stdio.c: Likewise.
29446
b5c086a2
RM
294472012-05-10 Roland McGrath <roland@hack.frob.com>
29448
29449 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29450 change. Update copyright years.
29451
6d74dd09
JM
294522012-05-10 Joseph Myers <joseph@codesourcery.com>
29453
29454 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29455
28e72501
MK
294562012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29457 Joseph Myers <joseph@codesourcery.com>
29458 Paul Pluzhnikov <ppluzhnikov@google.com>
29459
29460 [BZ #14012]
29461 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29462 requiring rpcgen.
29463 [cross-compiling] (extra-libs): Likewise.
29464 [cross-compiling] (extra-libs-others): Likewise.
29465 [cross-compiling] (librpcsvc-routines): Likewise.
29466 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29467 [cross-compiling] (omit-deps): Likewise.
29468 (sunrpc-CPPFLAGS): New variable.
29469 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29470 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29471 (cross-rpcgen-objs): New variable.
29472 (extra-objs): Append $(cross-rpcgen-objs).
29473 ($(cross-rpcgen-objs)): New rule.
29474 ($(objpfx)cross-rpcgen): Likewise.
29475 (rpcgen-cmd): Define to use $(built-program-file). Expand
29476 comment.
29477 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29478 ($(objpfx)x%.stmp): Likewise.
29479 * sunrpc/proto.h [IS_IN_build] (_): Define.
29480 [IS_IN_build] (_libc_intl_domainname): Likewise.
29481
c8c59454
L
294822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29483
29484 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29485 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29486 and R_X86_64_TPOFF64.
29487
6f27cd16
JM
294882012-05-10 Joseph Myers <joseph@codesourcery.com>
29489
29490 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29491 sysdeps/unix/sysv/syscalls.list.
29492 (stime): Likewise.
29493 (utime): Likewise.
29494 * sysdeps/unix/sysv/syscalls.list: Remove file.
29495
02467e1c
PE
294962012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29497
29498 [BZ #3440]
29499 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29500 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29501 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29502 (__LC_IDENTIFICATION): Make these macros useful in #if
29503 expressions, as required by C99.
29504
da392631
AS
295052012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29506
29507 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29508 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29509 after this.
29510
8115f29b
L
295112012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29512
29513 * stdlib/longlong.h: Updated from GCC.
29514
bdd74070
AJ
295152012-05-09 Andreas Jaeger <aj@suse.de>
29516
edfe0dbe
AJ
29517 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29518 default is first entry.
29519 (run_mode): Set type.
29520 (main): Remove informal message about syslog.
29521 (options): Fix typo.
29522
bcfe3a54
ST
29523 [BZ #14053]
29524 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29525 to asm.
bcfe3a54
ST
29526 (lrint): Likewise.
29527 (llrintf): Likewise.
29528 (llrint): Likewise.
29529 (rint): Likewise.
29530 (rintf): Likewise.
29531 (nearbyint): Likewise.
29532 (nearbyintf): Likewise.
bdd74070 29533
91d8d69e
AJ
295342012-05-09 Andreas Jaeger <aj@suse.de>
29535 Pedro Alves <palves@redhat.com>
29536
29537 * nscd/nscd.c (run_mode): Use enum.
29538 (main): Cleanup coding style issue.
29539
bb90b80b
AJ
295402012-05-09 Alexandre Oliva <aoliva@redhat.com>
29541 Andreas Jaeger <aj@suse.de>
29542
bcfe3a54
ST
29543 * nscd/nscd.c (go_background): Replaced with...
29544 (run_mode): ... this.
bb90b80b 29545 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29546 (options): Add -F --foreground.
29547 (main): Implement it.
29548 (parse_opt): Parse it.
bb90b80b 29549
1a4b75a1
AJ
295502012-05-09 Andreas Jaeger <aj@suse.de>
29551
29552 [BZ #14083]
29553 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29554 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29555 -Wconversion warning.
29556 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29557 Likewise.
29558
b1cc2472
JM
295592012-05-09 Joseph Myers <joseph@codesourcery.com>
29560
29561 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29562 == 0.
29563 (LC_ALL): Use macro-int-constant.
29564 (LC_COLLATE): Likewise.
29565 (LC_CTYPE): Likewise.
29566 (LC_MESSAGES): Likewise.
29567 (LC_MONETARY): Likewise.
29568 (LC_NUMERIC): Likewise.
29569 (LC_TIME): Likewise.
29570 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29571 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29572 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29573 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29574 Specify type.
29575 [C99-based standards] (float_t): Expect type.
29576 [C99-based standards] (double_t): Expect type.
29577 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29578 type.
29579 [C99-based standards] (HUGE_VALL): Likewise.
29580 [C99-based standards] (INFINITY): Likewise.
29581 [C99-based standards] (NAN): Likewise.
29582 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29583 [C99-based standards] (FP_NAN): Likewise.
29584 [C99-based standards] (FP_NORMAL): Likewise.
29585 [C99-based standards] (FP_SUBNORMAL): Likewise.
29586 [C99-based standards] (FP_ZERO): Likewise.
29587 [C99-based standards] (FP_FAST_FMA): Use
29588 optional-macro-int-constant. Specify type. Require == 1.
29589 [C99-based standards] (FP_FAST_FMAF): Likewise.
29590 [C99-based standards] (FP_FAST_FMAL): Likewise.
29591 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29592 [C99-based standards] (FP_ILOGBNAN): Likewise.
29593 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29594 Specify type.
29595 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29596 [C99-based standards] (math_errhandling): Specify type.
29597 [ISO99 || ISO11] (signgam): Do not allow.
29598 [non-C99-based standards] (copysignf): Do not allow.
29599 [non-C99-based standards] (exp2f): Likewise.
29600 [non-C99-based standards] (log2f): Likewise.
29601 [non-C99-based standards] (modff): Allow.
29602 [non-C99-based standards] (erff): Do not allow.
29603 [non-C99-based standards] (erfcf): Likewise.
29604 [non-C99-based standards] (gammaf): Likewise.
29605 [non-C99-based standards] (hypotf): Likewise.
29606 [non-C99-based standards] (j0f): Likewise.
29607 [non-C99-based standards] (j1f): Likewise.
29608 [non-C99-based standards] (jnf): Likewise.
29609 [non-C99-based standards] (lgammaf): Likewise.
29610 [non-C99-based standards] (tgammaf): Likewise.
29611 [non-C99-based standards] (y0f): Likewise.
29612 [non-C99-based standards] (y1f): Likewise.
29613 [non-C99-based standards] (ynf): Likewise.
29614 [non-C99-based standards] (isnanf): Likewise.
29615 [non-C99-based standards] (acoshf): Likewise.
29616 [non-C99-based standards] (asinhf): Likewise.
29617 [non-C99-based standards] (atanhf): Likewise.
29618 [non-C99-based standards] (cbrtf): Likewise.
29619 [non-C99-based standards] (expm1f): Likewise.
29620 [non-C99-based standards] (ilogbf): Likewise.
29621 [non-C99-based standards] (log1pf): Likewise.
29622 [non-C99-based standards] (logbf): Likewise.
29623 [non-C99-based standards] (nextafterf): Likewise.
29624 [non-C99-based standards] (remainderf): Likewise.
29625 [non-C99-based standards] (rintf): Likewise.
29626 [non-C99-based standards] (scalbf): Likewise.
29627 [non-C99-based standards] (copysignl): Likewise.
29628 [non-C99-based standards] (exp2l): Likewise.
29629 [non-C99-based standards] (log2l): Likewise.
29630 [non-C99-based standards] (modfl): Allow.
29631 [non-C99-based standards] (erfl): Do not allow.
29632 [non-C99-based standards] (erfcl): Likewise.
29633 [non-C99-based standards] (gammal): Likewise.
29634 [non-C99-based standards] (hypotl): Likewise.
29635 [non-C99-based standards] (j0l): Likewise.
29636 [non-C99-based standards] (j1l): Likewise.
29637 [non-C99-based standards] (jnl): Likewise.
29638 [non-C99-based standards] (lgammal): Likewise.
29639 [non-C99-based standards] (tgammal): Likewise.
29640 [non-C99-based standards] (y0l): Likewise.
29641 [non-C99-based standards] (y1l): Likewise.
29642 [non-C99-based standards] (ynl): Likewise.
29643 [non-C99-based standards] (isnanl): Likewise.
29644 [non-C99-based standards] (acoshl): Likewise.
29645 [non-C99-based standards] (asinhl): Likewise.
29646 [non-C99-based standards] (atanhl): Likewise.
29647 [non-C99-based standards] (cbrtl): Likewise.
29648 [non-C99-based standards] (expm1l): Likewise.
29649 [non-C99-based standards] (ilogbl): Likewise.
29650 [non-C99-based standards] (log1pl): Likewise.
29651 [non-C99-based standards] (logbl): Likewise.
29652 [non-C99-based standards] (nextafterl): Likewise.
29653 [non-C99-based standards] (remainderl): Likewise.
29654 [non-C99-based standards] (rintl): Likewise.
29655 [non-C99-based standards] (scalbl): Likewise.
29656 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29657 [non-C99-based standards] (FP_*): Do not allow.
29658 [C99-based standards] (FP_*): Change to
29659 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29660 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29661 allow.
29662 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29663 (SIG_ERR): Likewise.
29664 [X/Open-based standards] (SIG_HOLD): Likewise.
29665 (SIG_IGN): Likewise.
29666 (SIGABRT): Use macro-int-constant. Specify type. Require
29667 positive value.
29668 (SIGFPE): Likewise.
29669 (SIGILL): Likewise.
29670 (SIGINT): Likewise.
29671 (SIGSEGV): Likewise.
29672 (SIGTER): Likewise.
29673 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29674 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29675 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29676 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29677 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29678 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29679 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29680 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29681 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29682 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29683 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29684 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29685 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29686 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29687 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29688 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29689 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29690 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29691 [X/Open-based standards] (SIGTRAP): Likewise.
29692 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29693 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29694 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29695 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29696 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29697 allow.
29698
b9f1922d
IW
296992012-05-08 Ian Wienand <ianw@vmware.com>
29700
29701 [BZ #14080]
29702 * time/tzset.c (__tzset_parse_tz): Update default rules for
29703 daylight time changes in the Energy Policy Act of 2005.
29704
1db86e88
AJ
297052012-05-09 Andreas Jaeger <aj@suse.de>
29706
29707 [BZ #13983]
29708 * elf/ldconfig.c (parse_conf): Change string to make clear that
29709 ldconfig only issued a warning if ld.so.conf does not exist.
29710
dee4a4e3
DM
297112012-05-08 David S. Miller <davem@davemloft.net>
29712
ee0db190
DM
29713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29714 movxtod instead of popping the value on the stack.
29715
dee4a4e3
DM
29716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29717
6a43ec98
CD
297182012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29719
29720 * config.h.in: Add HAVE_ARM_PCS_VFP.
29721
05c2c961
RMG
297222012-05-08 Roland Mc Grath <roland@hack.frob.com>
29723
bcfe3a54
ST
29724 [BZ #13979]
29725 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29726 checking but the checks are disabled for any reason.
05c2c961 29727
4b30f61a
L
297282012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29729
29730 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29731 and ELF64_R_TYPE with ELFW(R_TYPE).
29732
eee2bc67
JM
297332012-05-08 Joseph Myers <joseph@codesourcery.com>
29734
7ea5391a
JM
29735 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29736 (ulimit): Likewise.
29737
eee2bc67
JM
29738 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29739 (settimeofday): Likewise.
29740
abb66a67
MF
297412012-05-08 Mike Frysinger <vapier@gentoo.org>
29742
29743 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29744 a struct th_u2 inside the union, and move tu_block/tu_code into
29745 a new th_u3 union of tu_block/tu_code inside of that. Move
29746 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29747 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29748 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29749 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29750 (th_stuff): Change to th_u1.tu_stuff.
29751 (th_data): Define.
29752 (th_msg): Change to th_u1.th_u2.tu_data.
29753
7f18b530
DM
297542012-05-07 David S. Miller <davem@davemloft.net>
29755
05760585
DM
29756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29757
7f18b530
DM
29758 [BZ #14074]
29759 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29760 (SETUP_PIC_REG): Use it.
29761 (SETUP_PIC_REG_LEAF): Use it.
29762
495fd99f
JM
297632012-05-07 Joseph Myers <joseph@codesourcery.com>
29764
29765 [BZ #13885]
29766 [BZ #13923]
29767 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29768 USE_AS_EXPM1L.
29769 (EXPL_FINITE): Likewise.
29770 (FLDLOG): Likewise.
29771 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29772 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29773 e_expl.S.
29774 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29775 USE_AS_EXPM1L.
29776 (EXPL_FINITE): Likewise.
29777 (FLDLOG): Likewise.
29778 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29779 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29780 e_expl.S.
29781 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29782 test of -max_value argument for long double.
29783 * sysdeps/i386/fpu/libm-test-ulps: Update.
29784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29785
6693d694
DM
297862012-05-06 David S. Miller <davem@davemloft.net>
29787
29788 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29789 quad soft-float symbols whose references which are compiler
29790 generated.
29791 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29792
6c23e11c
JM
297932012-05-06 Joseph Myers <joseph@codesourcery.com>
29794
d8b82cad
JM
29795 [BZ #13884]
29796 [BZ #13914]
29797 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29798 USE_AS_EXP10L.
29799 (EXPL_FINITE): Likewise.
29800 (FLDLOG): Likewise.
29801 (c0): Likewise.
29802 (c1): Likewise.
29803 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29804 Adjust comments for base varying.
29805 (__expl_finite): Change alias to EXPL_FINITE.
29806 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29807 e_expl.S.
29808 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29809 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29810 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29811 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29812 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29813 USE_AS_EXP10L.
29814 (EXPL_FINITE): Likewise.
29815 (FLDLOG): Likewise.
29816 (c0): Likewise.
29817 (c1): Likewise.
29818 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29819 Adjust comments for base varying.
29820 (__expl_finite): Change alias to EXPL_FINITE.
29821 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29822 tests for bugs.
29823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29824
6c23e11c
JM
29825 [BZ #14064]
29826 * math/libm-test.inc (check_float_internal): Correct ulp
29827 calculation for subnormal expected results.
29828
29ba805c
AJ
298292012-05-06 Andreas Jaeger <aj@suse.de>
29830
29831 * Makeconfig (+math-flags): New, set to -frounding-math.
29832 (+cflags): Add +math-flags so that all of glibc gets compiled with
29833 it.
29834
29835 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29836
7b17aeda
JM
298372012-05-05 Joseph Myers <joseph@codesourcery.com>
29838
5779f134
JM
29839 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29840 Disable one test.
29841
41498f4d
JM
29842 [BZ #13787]
29843 [BZ #13922]
29844 [BZ #14036]
29845 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29846 (__ieee754_expl): Allow for and saturate large arguments.
29847 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29848 (u_threshold): Likewise.
29849 (__exp): Call __ieee754_exp before checking for overflow and
29850 underflow.
29851 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29852 (u_threshold): Likewise.
29853 (__expf): Call __ieee754_expf before checking for overflow and
29854 underflow.
29855 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29856 (u_threshold): Likewise.
29857 (__expl): Call __ieee754_expl before checking for overflow and
29858 underflow.
29859 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29860 (__ieee754_expl): Allow for and saturate large arguments.
29861 * math/libm-test.inc (exp_test): Add another test. Do not allow
29862 missing overflow exception on overflow.
29863 (expm1_test): Do not allow missing overflow exception on overflow.
29864
6698b8bf
JM
29865 * sysdeps/i386/fpu/e_expl.c: Move to ...
29866 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29867 rather than using inline asm.
29868 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29869 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29870 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29871
7b17aeda
JM
29872 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29873 (nice): Likewise.
29874 (poll): Likewise.
29875 (signal): Likewise.
29876 (time): Likewise.
29877 (times): Likewise.
29878
f7c85819
JM
298792012-05-04 Joseph Myers <joseph@codesourcery.com>
29880
29881 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29882 sysdeps/unix/common/syscalls.list.
29883 (fchmod): Likewise.
29884 (fchown): Likewise.
29885 (ftruncate): Likewise.
29886 (getrusage): Likewise.
29887 (gettimeofday): Likewise.
29888 (setpgid): Likewise.
29889 (setregid): Likewise.
29890 (setreuid): Likewise.
29891 (sigaction): Likewise.
29892 (truncate): Likewise.
29893 (vhangup): Likewise.
29894 * sysdeps/unix/common/syscalls.list: Remove file.
29895 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29896 * sysdeps/unix/sysv/linux/Implies: Likewise.
29897
336270d0
L
298982012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29899
29900 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29902 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29903 Moved to ...
29904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29905 Here.
29906 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29907 to ...
29908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29909 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29910 to ...
29911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29912 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29913 to ...
29914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29915 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29916 to ...
29917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29918 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29919 to ...
29920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29921 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29922 to ...
29923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29924 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29925 to ...
29926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29927 Here.
29928 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29929 to ...
29930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29931 Here.
29932 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29933 to ...
29934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29935 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29936 Moved to ...
29937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29938 Here.
29939 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29940 to ...
29941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29942
d128e450
JM
299432012-05-04 Joseph Myers <joseph@codesourcery.com>
29944
fa8ee516
JM
29945 * sysdeps/unix/common/bits/dirent.h: Remove file.
29946 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29947
d128e450
JM
29948 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29949 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29950 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29951 * sysdeps/unix/bsd/isatty.c: Likewise.
29952 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29953 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29954 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29955
ff8faaf0 299562012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29957
62881be4 29958 [BZ #13563]
31dc8730
AZ
29959 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29960 long double comparison inaccuracies.
29961 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29963
6fef930c
AS
299642012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29965
29966 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29967 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29968
8f203e6c
JM
299692012-05-04 Joseph Myers <joseph@codesourcery.com>
29970
29971 [BZ #14049]
29972 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29973 nonzero digits before rounding a hex value.
29974 * stdlib/tst-strtod.c (tests): Add another test.
29975
5197d9c2
AK
299762012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29977
29978 * sysdeps/s390/fpu/libm-test-ulps: Update.
29979
f0c1dedf
AJ
299802012-05-03 Andreas Jaeger <aj@suse.de>
29981
29982 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29983 does not get optimized out.
29984 (malloc_opt_barrier): New.
29985
a65ef2ae 299862012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29987 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29988
2b942cb7 29989 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29990 intermediate file deletion.
2b942cb7 29991 (generated): Add .symlist files.
a65ef2ae 29992
54b71e02
JM
299932012-05-03 Joseph Myers <joseph@codesourcery.com>
29994
29995 [BZ #13775]
29996 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29997 Redirect under this condition.
29998 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29999 [__USE_GNU] (__dprintf_chk): Not under this condition.
30000 [__USE_GNU] (__vdprintf_chk): Likewise.
30001 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30002 under this condition.
30003 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30004 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30005 [__USE_XOPEN2K8] (vdprintf): Likewise.
30006 [__USE_GNU] (__dprintf_chk): Not under this condition.
30007 [__USE_GNU] (__vdprintf_chk): Likewise.
30008 [__USE_GNU] (dprintf): Likewise.
30009 [__USE_GNU] (vdprintf): Likewise.
30010
d3dfcc41
RM
300112012-05-03 Roland McGrath <roland@hack.frob.com>
30012
30013 * elf/Makefile (common-generated): Set this instead of generated for
30014 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30015 $(all-built-dso)-derived lists.
30016
7ac30cc5
AJ
300172012-05-03 Andreas Jaeger <aj@suse.de>
30018
0c51e550
AJ
30019 * sysdeps/i386/fpu/libm-test-ulps: Update.
30020
7ac30cc5
AJ
30021 * FAQ: Removed.
30022 * FAQ.in: Likewise.
30023 * scripts/gen-FAQ.pl: Likewise.
30024 * manual/install.texi (Installation): Point to online location of
30025 FAQ.
30026 * Makefile (files-for-dist): Remove FAQ.
30027 (FAQ): Remove.
30028
d4c2917f
AM
300292012-05-02 Allan McRae <allan@archlinux.org>
30030
30031 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30032 (LDFLAGS-reldepmod5.so): Likewise.
30033 (LDFLAGS-reldep6mod1.so): Likewise.
30034 (LDFLAGS-reldep6mod4.so): Likewise.
30035 (LDFLAGS-reldep8mod3.so): Likewise.
30036 (LDFLAGS-unload4mod1.so): Likewise.
30037 (LDFLAGS-unload4mod2.so): Likewise.
30038 (LDFLAGS-tst-initorder): Likewise.
30039 (LDFLAGS-tst-initordera2.so): Likewise.
30040 (LDFLAGS-tst-initordera3.so): Likewise.
30041 (LDFLAGS-tst-initordera4.so): Likewise.
30042 (LDFLAGS-tst-initorderb2.so): Likewise.
30043 (LDFLAGS-noload): Likewise.
30044 (LDFLAGS-next): Likewise.
30045 (LDFLAGS-order2mod1.so): Likewise.
30046 (LDFLAGS-order2mod2.so): Likewise.
30047 (LDFLAGS-tst-initorder2): Likewise.
30048 (LDFLAGS-tst-initorder2a.so): Likewise.
30049 (LDFLAGS-tst-initorder2b.so): Likewise.
30050 (LDFLAGS-tst-initorder2c.so): Likewise.
30051 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30052
d77f993f
DM
300532012-05-02 David S. Miller <davem@davemloft.net>
30054
30055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30056
171a70b4
PP
300572012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30058
30059 [BZ #14055]
30060 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30061
0be196ad
AJ
300622012-05-02 Andreas Jaeger <aj@suse.de>
30063
30064 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30065 since we manipulate rounding mode.
30066 (CPPFLAGS-test-idouble.c): Likewise.
30067 (CPPFLAGS-test-ifloat.c): Likewise.
30068 (CFLAGS-test-ldouble.c): Likewise.
30069 (CFLAGS-test-double.c): Likewise.
30070 (CFLAGS-test-float.c): Likewise.
30071 (CFLAGS-test-misc.c): Likewise.
30072 (CFLAGS-test-test-fenv.c): Likewise.
30073
4f9d04aa
AZ
300742012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30075
2b942cb7
RM
30076 [BZ #2550]
30077 [BZ #2570]
30078 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30079 comparisons to determine direction to adjust input.
4f9d04aa 30080
82a79e7d
RM
300812012-05-01 Roland McGrath <roland@hack.frob.com>
30082
f5a01ca9
RM
30083 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30084 output to the target.
30085
90fe4186
RM
30086 * scripts/localplt.awk: New file.
30087 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30088 (check-localplt-CFLAGS): Variable removed.
30089 ($(all-built-dso:=.jmprel)): New static pattern rule.
30090 (generated): Add those targets.
30091 (localplt-built-dso): New variable.
30092 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30093
30094 * elf/check-localplt.c: File removed.
30095
82397ed6
RM
30096 * scripts/check-execstack.awk: New file.
30097 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30098 (check-execstack-CFLAGS): Variable removed.
30099 ($(objpfx)check-execstack.h): Target removed.
30100 ($(objpfx)execstack-default): New target.
30101 (generated): Add that instead of check-execstack.h.
30102 ($(all-built-dso:=.phdr)): New static pattern rule.
30103 (generated): Add those targets.
30104 * elf/check-execstack.c: File removed.
30105
82a79e7d
RM
30106 * scripts/check-textrel.awk: New file.
30107 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30108 (check-textrel-CFLAGS): Variable removed.
30109 (all-built-dso): Use := to define.o
30110 ($(all-built-dso:=.dyn)): New static pattern rule.
30111 (generated): Add those targets.
30112 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30113 * config.make.in (READELF): New substituted variable.
30114 * elf/check-textrel.c: File removed.
30115
62fde54f 301162012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30117
615605c9
JM
30118 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30119 allow.
30120 * conform/data/ctype.h-data [C99-based standards] (isblank):
30121 Expect function.
30122 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30123 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30124 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30125 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30126 Specify type. Require positive value.
30127 (EILSEQ): Likewise.
30128 (ERANGE): Likewise.
30129 [ISO || POSIX] (EILSEQ): Do not expect.
30130 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30131 Specify type. Require positive value.
30132 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30133 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30134 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30135 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30136 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30137 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30138 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30139 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30140 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30141 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30142 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30143 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30144 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30145 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30146 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30147 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30148 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30149 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30150 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30151 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30152 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30153 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30154 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30155 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30156 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30157 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30158 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30159 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30160 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30161 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30162 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30163 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30164 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30165 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30166 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30167 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30168 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30169 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30170 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30171 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30172 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30173 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30174 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30175 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30176 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30177 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30178 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30179 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30180 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30181 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30182 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30183 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30184 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30185 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30186 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30187 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30188 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30189 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30190 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30191 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30192 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30193 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30194 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30195 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30196 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30197 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30198 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30199 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30200 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30201 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30202 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30203 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30204 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30205 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30206 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30207 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30208 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30209 Require >= 2.
30210 (FLT_ROUNDS): Expect as macro, not constant.
30211 (FLT_MANT_DIG): Use macro-int-constant.
30212 (DBL_MANT_DIG): Likewise.
30213 (LDBL_MANT_DIG): Likewise.
30214 (FLT_DIG): Likewise.
30215 (DBL_DIG): Likewise.
30216 (LDBL_DIG): Likewise.
30217 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30218 (DBL_MIN_EXP): Likewise.
30219 (LDBL_MIN_EXP): Likewise.
30220 (FLT_MAX_EXP): Use macro-int-constant.
30221 (DBL_MAX_EXP): Likewise.
30222 (LDBL_MAX_EXP): Likewise.
30223 (FLT_MAX_10_EXP): Likewise.
30224 (DBL_MAX_10_EXP): Likewise.
30225 (LDBL_MAX_10_EXP): Likewise.
30226 (FLT_MAX): Use macro-constant.
30227 (DBL_MAX): Likewise.
30228 (LDBL_MAX): Likewise.
30229 (FLT_EPSILON): Use macro-constant. Give upper bound.
30230 (DBL_EPSILON): Likewise.
30231 (LDBL_EPSILON): Likewise.
30232 (FLT_MIN): Likewise.
30233 (DBL_MIN): Likewise.
30234 (LDBL_MIN): Likewise.
30235 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30236 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30237 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30238 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30239 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30240 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30241 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30242 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30243 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30244 [ISO11] (FLT_TRUE_MIN): Likewise.
30245 [ISO11] (LDBL_TRUE_MIN): Likewise.
30246 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30247 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30248 (SCHAR_MIN): Use macro-int-constant. Specify type.
30249 (SCHAR_MAX): Likewise.
30250 (UCHAR_MAX): Likewise.
30251 (CHAR_MIN): Likewise.
30252 (CHAR_MAX): Likewise.
30253 (MB_LEN_MAX): Use macro-int-constant.
30254 (SHRT_MIN): Use macro-int-constant. Specify type.
30255 (SHRT_MAX): Likewise.
30256 (USHRT_MAX): Likewise.
30257 (INT_MAX): Likewise.
30258 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30259 bound negative.
30260 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30261 bound with "U".
30262 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30263 bound with "L".
30264 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30265 bound negative. Suffix upper bound with "L".
30266 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30267 bound with "UL".
30268 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30269 Specify type.
30270 [C99-based standards] (LLONG_MAX): Likewise.
30271 [C99-based standards] (ULLONG_MAX): Likewise.
30272 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30273 == 0.
30274 [ISO11] (max_align_t): Require type.
30275 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30276
c9140a62
JM
30277 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30278 from $CFLAGS, without defining away __attribute__ calls.
30279 (checknamespace): Use $CFLAGS_namespace.
30280
9af0bf29
JM
30281 * conform/conformtest.pl (@keywords): Only include C99 keywords
30282 for standards based on C99 or C11.
30283
343222a2
JM
30284 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30285 Disable tests.
30286 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30287 UNIX98]: Likewise.
30288
661f8cf0
JM
30289 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30290 usability of symbols in #if.
30291
ee74b9cb
JM
30292 * conform/conformtest.pl: If macro or constant types start
30293 "promoted:", expect the symbol to be of the following type
30294 promoted by the integer promotions.
62fde54f 30295
aafc49b3
JM
30296 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30297 in one place. Also handle "macro-constant".
30298
fefdf574
JM
30299 * conform/conformtest.pl: Only accept expected macro values with
30300 "==". Parse all "macro" lines in one place.
30301 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30302
f2d922fe
JM
30303 * conform/conformtest.pl: Handle braced types on "constant" lines
30304 instead of handling "typed-constant".
30305 * conform/data/signal.h-data: Use "constant" instead of
30306 "typed-constant".
30307
d22956c9
JM
30308 * conform/conformtest.pl: Handle "optional-" at start of lines in
30309 one place rather than duplicating several cases. Handle each
30310 format of "macro" line with initial "optional-".
30311
028e2e38
JM
30312 * conform/conformtest.pl: Only accept expected constant or
30313 optional-constant values with "==". Parse all "constant" lines in
30314 one place. Parse all "optional-constant" lines in one place.
30315 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30316 * conform/data/fmtmsg.h-data: Likewise.
30317 * conform/data/netinet/in.h-data: Likewise.
30318 * conform/data/tar.h-data: Likewise.
30319 * conform/data/limits.h-data: Use "==" form on "constant" and
30320 "optional-constant" lines.
30321
1b8f2850
JM
30322 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30323 Use -std=c99 for XOPEN2K.
30324 (@knownproblems): Remove.
30325 (newtoken): Don't check %isknown.
30326
a05a144b
JM
30327 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30328 Do not expect macro.
30329 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30330 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30331 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30332 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30333 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30334 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30335 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30336 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30337 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30338 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30339 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30340 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30341 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30342 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30343 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30344 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30345 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30346 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30347 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30348 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30349 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30350 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30351 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30352 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30353 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30354 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30355 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30356 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30357 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30358 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30359 [XPG3] (acosh): Likewise.
30360 [XPG3] (asinh): Likewise.
30361 [XPG3] (atanh): Likewise.
30362 [XPG3] (cbrt): Likewise.
30363 [XPG3] (expm1): Likewise.
30364 [XPG3] (ilogb): Likewise.
30365 [XPG3] (log1p): Likewise.
30366 [XPG3] (logb): Likewise.
30367 [XPG3] (nextafter): Likewise.
30368 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30369 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30370 [XPG3] (remainder): Likewise.
30371 [XPG3] (rint): Likewise.
30372 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30373 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30374 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30375 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30376 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30377 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30378 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30379 [UNIX98 || XOPEN2K] (scalb): Expect.
30380 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30381 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30382 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30383 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30384 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30385 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30386 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30387 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30388 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30389 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30390 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30391 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30392 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30393 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30394 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30395 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30396 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30397 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30398 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30399 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30400 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30401 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30402 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30403 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30404 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30405 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30406 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30407 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30408 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30409 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30410 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30411 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30412 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30413 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30414 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30415 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30416 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30417 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30418 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30419 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30420 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30421 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30422 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30423 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30424 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30425 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30426 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30427 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30428 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30429 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30430 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30431 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30432 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30433 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30434 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30435 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30436 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30437 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30438 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30439 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30440 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30441 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30442 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30443 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30444 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30445 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30446 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30447 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30448 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30449 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30450 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30451 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30452 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30453 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30454 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30455 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30456 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30457 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30458 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30459 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30460 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30461 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30462 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30463 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30464 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30465 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30466 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30467 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30468 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30469 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30470 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30471 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30472 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30473 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30474 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30475 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30476 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30477 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30478 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30479 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30480 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30481 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30482 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30483 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30484 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30485 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30486 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30487 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30488 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30489 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30490 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30491 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30492 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30493 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30494 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30495 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30496 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30497 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30498 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30499 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30500 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30501 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30502 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30503 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30504 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30505 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30506 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30507 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30508 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30509 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30510 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30511 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30512 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30513 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30514 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30515 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30516 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30517
73c5ebe3
JM
30518 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30519 _XOPEN_SOURCE_EXTENDED for XPG4.
30520
39c33b6c
JM
30521 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30522
62fde54f
JM
30523 * Makeconfig (localtime): Remove variable.
30524 (inst_localtime-file): Likewise.
30525
0741d64c
AS
305262012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30527
30528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30529 Update.
30530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30531 Update.
30532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30533 Update.
30534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30535 Update.
30536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30537 Update.
30538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30539 Update.
30540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30541 Update.
30542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30543 Update.
30544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30545 Update.
30546
7cb029ee
JM
305472012-05-01 Joseph Myers <joseph@codesourcery.com>
30548
30549 [BZ #2550]
30550 [BZ #2570]
30551 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30552 comparisons to determine direction to adjust input.
30553 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30554 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30555 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30556 Likewise.
30557 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30558 Likewise.
30559 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30560 Likewise.
30561 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30562 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30563 Likewise.
30564 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30565 Likewise.
30566 * math/libm-test.inc (nexttoward_test): Add more tests.
30567
412bd966
AS
305682012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30569
30570 [BZ #14040]
30571 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30572 in version GLIBC_2.1, not GLIBC_2.0.
30573 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30574 Likewise.
30575
9568c0c2
JM
305762012-04-30 Joseph Myers <joseph@codesourcery.com>
30577
adfbc8ac
JM
30578 [BZ #13942]
30579 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30580 (1 - x) * (1 + x).
30581 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30582 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30583 * math/libm-test.inc (acos_test): Add more tests.
30584 (asin_test): Likewise.
30585 * sysdeps/i386/fpu/libm-test-ulps: Update.
30586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30587
5ba3cc69
JM
30588 [BZ #14034]
30589 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30590 of square root.
30591 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30592 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30593 * math/libm-test.inc (acos_test_tonearest): New function.
30594 (acos_test_towardzero): Likewise.
30595 (acos_test_downward): Likewise.
30596 (acos_test_upward): Likewise.
30597 (asin_test_tonearest): Likewise.
30598 (asin_test_towardzero): Likewise.
30599 (asin_test_downward): Likewise.
30600 (asin_test_upward): Likewise.
30601 (main): Call the new functions.
30602 * sysdeps/i386/fpu/libm-test-ulps: Update.
30603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30604
9568c0c2
JM
30605 [BZ #13884]
30606 [BZ #13924]
30607 * math/e_exp10.c: Include <float.h>.
30608 (__ieee754_exp10): Handle underflow here rather than multiplying
30609 large negative argument by M_LN10.
30610 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30611 of __ieee754_expf.
30612 * math/e_exp10l.c: Include <float.h>.
30613 (__ieee754_exp10l): Handle underflow here rather than multiplying
30614 large negative argument by M_LN10l.
30615 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30616 spurious overflow exception on underflow.
30617
5ac3ea17
MP
306182012-04-29 Marek Polacek <polacek@redhat.com>
30619
30620 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30621 (__fortify_function): New macro.
30622 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30623 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30624 __extern_always_inline.
30625 * libio/bits/stdio2.h: Likewise.
30626 * libio/bits/stdio.h: Likewise.
30627 * string/string.h: Likewise.
30628 * string/bits/string3.h: Likewise.
30629 * include/stdio.h: Likewise.
30630 * stdlib/bits/stdlib.h: Likewise.
30631 * stdlib/stdlib.h: Likewise.
30632 * rt/bits/mqueue2.h: Likewise.
30633 * rt/mqueue.h: Likewise.
30634 * posix/bits/unistd.h: Likewise.
30635 * posix/unistd.h: Likewise.
30636 * io/bits/poll2.h: Likewise.
30637 * io/bits/fcntl2.h: Likewise.
30638 * io/fcntl.h: Likewise.
30639 * io/sys/poll.h: Likewise.
30640 * misc/bits/syslog.h: Likewise.
30641 * misc/bits/syslog-ldbl.h: Likewise.
30642 * misc/sys/syslog.h: Likewise.
30643 * socket/bits/socket2.h: Likewise.
30644 * socket/sys/socket.h: Likewise.
30645 * debug/tst-chk1.c: Likewise.
30646 * wcsmbs/bits/wchar2.h: Likewise.
30647 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30648 * wcsmbs/wchar.h: Likewise.
30649
ecf0ebfb
AJ
306502012-04-29 Andreas Jaeger <aj@suse.de>
30651
30652 * Makerules (tests): Remove enable-check-abi protection.
30653 (check-abi-warn): Remove.
30654 (check-abi-%): Remove check-abi-warn usage.
30655
30656 * configure.in: Remove check-abi configure option.
30657 * configure: Regenerated.
30658 * config.make.in (enable-check-abi): Remove.
30659
6d5c57fa
AS
306602012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30661
24c5d07e 30662 [BZ #14033]
ded5180a
AS
30663 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30664 double functions to double *_finite functions.
30665
7e0d315d
AS
30666 [BZ #13941]
30667 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30668 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30669 LDBL_MIN_EXP.
30670 * stdio-common/Makefile (tests): Add tst-sprintf3.
30671 * stdio-common/tst-sprintf3.c: New file.
30672
6d5c57fa
AS
30673 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30674 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30675
0749ff8b
JM
306762012-04-28 Joseph Myers <joseph@codesourcery.com>
30677
30678 * conform/conformtest.pl: Remove duplicate typed-constant
30679 handling.
30680
8dbd5d7b
DM
306812012-04-28 David S. Miller <davem@davemloft.net>
30682
30683 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30684 (check-abi-%): Remove AWK script prerequisite and explicit
30685 abilist directory.
30686 (check-abi): Rewrite to just diff the symlist with the abilist.
30687 (config-tls, config-abi-config): Delete, no longer used.
30688 (update-abi-%): Remove AWK script and explicit abilist directory.
30689 (update-abi): Rewrite to simply compare and conditionally copy the
30690 symlist and the sysdep abilist file. Remove update-abi-config
30691 checks.
30692 * abilist/ld.abilist: Remove.
30693 * abilist/libBrokenLocale.abilist: Remove.
30694 * abilist/libanl.abilist: Remove.
30695 * abilist/libcrypt.abilist: Remove.
30696 * abilist/libdl.abilist: Remove.
30697 * abilist/librt.abilist: Remove.
30698 * abilist/libthread_db.abilist: Remove.
30699 * abilist/libutil.abilist: Remove.
30700 * scripts/extract-abilist.awk: Remove.
30701 * scripts/merge-abilist.awk: Remove.
30702 * sysdeps/generic/libcidn.abilist: New file.
30703 * sysdeps/generic/libnss_compat.abilist: New file.
30704 * sysdeps/generic/libnss_db.abilist: New file.
30705 * sysdeps/generic/libnss_dns.abilist: New file.
30706 * sysdeps/generic/libnss_files.abilist: New file.
30707 * sysdeps/generic/libnss_hesiod.abilist: New file.
30708 * sysdeps/generic/libnss_nis.abilist: New file.
30709 * sysdeps/generic/libnss_nisplus.abilist: New file.
30710 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30711 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30712 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30713 file.
30714 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30715 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30716 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30717 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30718 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30719 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30720 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30721 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30722 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30723 file.
30724 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30725 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30726 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30727 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30728 file.
30729 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30730 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30731 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30732 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30733 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30734 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30735 file.
30736 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30737 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30738 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30739 file.
30740 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30742 New file.
30743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30744 New file.
30745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30746 New file.
30747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30748 New file.
30749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30750 New file.
30751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30752 New file.
30753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30754 New file.
30755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30756 New file.
30757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30758 New file.
30759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30760 New file.
30761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30762 New file.
30763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30764 New file.
30765 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30766 New file.
30767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30768 file.
30769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30770 New file.
30771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30772 New file.
30773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30774 file.
30775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30776 New file.
30777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30778 New file.
30779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30780 file.
30781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30782 New file.
30783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30784 New file.
30785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30786 New file.
30787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30788 New file.
30789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30790 New file.
30791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30792 New file.
30793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30795 file.
30796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30797 New file.
30798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30799 file.
30800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30801 file.
30802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30803 file.
30804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30805 file.
30806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30807 file.
30808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30809 New file.
30810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30811 file.
30812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30813 file.
30814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30815 New file.
30816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30817 file.
30818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30820 file.
30821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30822 New file.
30823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30824 file.
30825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30826 file.
30827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30828 file.
30829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30830 file.
30831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30832 file.
30833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30834 New file.
30835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30836 file.
30837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30838 file.
30839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30840 New file.
30841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30842 file.
30843 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30844 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30845 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30846 file.
30847 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30848 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30849 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30850 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30851 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30852 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30853 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30854 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30855 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30856 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30859 file.
30860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30861 New file.
30862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30863 file.
30864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30865 file.
30866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30867 file.
30868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30869 file.
30870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30871 file.
30872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30873 New file.
30874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30875 New file.
30876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30877 file.
30878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30879 New file.
30880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30881 file.
30882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30884 file.
30885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30886 New file.
30887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30888 file.
30889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30890 file.
30891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30892 file.
30893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30894 file.
30895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30896 file.
30897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30898 New file.
30899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30900 New file.
30901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30902 file.
30903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30904 New file.
30905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30906 file.
30907
41d73a1b
JM
309082012-04-28 Joseph Myers <joseph@codesourcery.com>
30909
30910 * conform/conformtest.pl: Fix typo in handling typed-constant from
30911 allow-header.
30912
28aeeda4
JM
309132012-04-27 Joseph Myers <joseph@codesourcery.com>
30914
adae8f5e
JM
30915 * README: Cut down references to pre-2.6 Linux kernels and
30916 Linuxthreads. Update lists of configurations in libc and ports
30917 and sort alphabetically. Say "or newer" with Linux kernel version
30918 requirements.
30919
28aeeda4
JM
30920 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30921
a462cb63
RA
309222012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30923
30924 [BZ #887]
30925 * math/libm-test.inc (logb_test_downward): New test to expose
30926 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30927 rounding mode.
30928
6ad3493e
JM
309292012-04-27 Joseph Myers <joseph@codesourcery.com>
30930
30931 [BZ #14027]
30932 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30933 to be done.
30934 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30935 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30936
2ce4f015
JM
309372012-04-26 Joseph Myers <joseph@codesourcery.com>
30938
5aeb141a
JM
30939 * sysdeps/unix/i386/brk.S: Remove file.
30940 * sysdeps/unix/i386/dl-brk.S: Likewise.
30941 * sysdeps/unix/i386/pipe.S: Likewise.
30942 * sysdeps/unix/i386/sigreturn.S: Likewise.
30943 * sysdeps/unix/i386/syscall.S: Likewise.
30944 * sysdeps/unix/i386/vfork.S: Likewise.
30945 * sysdeps/unix/i386/wait.S: Likewise.
30946
7143acae
JM
30947 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30948 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30949
2ce4f015
JM
30950 * configure.in (arm*-none*): Do not allow without
30951 --enable-hacker-mode.
30952 (netbsd*): Remove case setting base_os.
30953 (386bsd*): Likewise.
30954 (freebsd*): Likewise.
30955 (bsdi*): Likewise.
30956 (osf*): Likewise.
30957 (sunos*): Likewise.
30958 (ultrix*): Likewise.
30959 (newsos*): Likewise.
30960 (dynix*): Likewise.
30961 (*bsd*): Likewise.
30962 (sysv*): Likewise.
30963 (isc*): Likewise.
30964 (esix*): Likewise.
30965 (sco*): Likewise.
30966 (minix*): Likewise.
30967 (irix4*): Likewise.
30968 (irix6*): Likewise.
30969 (solaris[2-9]*): Likewise.
30970 (none): Likewise.
30971 * configure: Regenerated.
30972
0ac229c8
AZ
309732012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30974
30975 [BZ #11521]
30976 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30977 overflow or cancellation in calculating denominator.
30978 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30979 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30980 down expression to avoid unexpected rounding in newer GCCs.
30981 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30982
33f244f4
DM
309832012-04-26 David S. Miller <davem@davemloft.net>
30984
30985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30986 long-double compat symbols.
30987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31000
cfa1f3e8
DM
310012012-04-25 David S. Miller <davem@davemloft.net>
31002
31003 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31004 HWCAP_* values only after the memory barriers have been defined.
31005 (atomic_full_barrier): Define.
31006 (atomic_read_barrier): Define.
31007 (atomic_write_barrier): Define.
31008
6e236b92
SP
310092012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31010
31011 * shlib-versions: Add libgcc_s version information.
31012 * sysdeps/generic/libgcc_s.h: Remove.
31013 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31014 libgcc_s.h.
31015 * sysdeps/gnu/unwind-resume.c: Likewise.
31016 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31017
aab39a09
DM
310182012-04-25 David S. Miller <davem@davemloft.net>
31019
31020 * sysdeps/unix/sparc/brk.S: Delete.
31021 * sysdeps/unix/sparc/dl-brk.S: Delete.
31022 * sysdeps/unix/sparc/pipe.S: Delete.
31023 * sysdeps/unix/sparc/sysdep.S: Delete.
31024 * sysdeps/unix/sparc/sysdep.h: Delete.
31025 * sysdeps/unix/sparc/vfork.S: Delete.
31026 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31027 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31028 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31029 ret_ERRVAL, r0, r1, MOVE): Define.
31030 (JUMPTARGET): Remove.
31031 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31032 sysdeps/unix/sparc/sysdep.h
31033 (ENTRY, END): Remove.
31034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31035
a3cc4f48
JM
310362012-04-25 Joseph Myers <joseph@codesourcery.com>
31037
2ed8cda2
JM
31038 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31039 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31040 -DIS_IN_build.
31041
35d76d59
JM
31042 * timezone/README: Update upstream location and email address for
31043 tzcode and tzdata.
31044 * timezone/zdump.c: Update from tzcode 2012b.
31045 * timezone/zic.c: Likewise.
31046
a3cc4f48
JM
31047 * configure.in (libc_cv_as_needed): Remove test.
31048 * configure: Regenerated.
31049 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31050 conditional definition.
31051 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31052 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31053 * config.make.in (have-as-needed): Remove variable.
31054
ceab42c3
SP
310552012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31056 Paul Pluzhnikov <ppluzhnikov@google.com>
31057
31058 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31059 strings correctly.
31060
3ce2865f
CLT
310612012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31062
31063 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31064 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31065 * sysdeps/sh/strlen.S: Likewise.
31066
f37e0d68
JM
310672012-04-24 Joseph Myers <joseph@codesourcery.com>
31068
ae186e9a
JM
31069 * sysdeps/unix/fork.S: Remove file.
31070 * sysdeps/unix/i386/fork.S: Likewise.
31071 * sysdeps/unix/sparc/fork.S: Likewise.
31072
b96914af
JM
31073 * sysdeps/unix/system.c: Remove file.
31074 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31075
f37e0d68
JM
31076 * sysdeps/unix/getegid.S: Remove file.
31077 * sysdeps/unix/geteuid.S: Likewise.
31078
87ef29ca
RM
310792012-04-24 Roland McGrath <roland@hack.frob.com>
31080
83bcd236
RM
31081 * scripts/check-localplt.awk: New file.
31082 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31083 of diff.
31084 * scripts/data/localplt-generic.data: Add a comment.
31085
87ef29ca
RM
31086 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31087 NODE when __dir_mkfile failed.
31088 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31089 Reported by Ludovic Courtès <ludo@gnu.org>.
31090
e5a6e567
AJ
310912012-04-24 Andreas Jaeger <aj@suse.de>
31092
31093 * Makerules (common-clean): Also remove gen-as-const-headers
31094 files.
31095
c1820385
JM
310962012-04-24 Joseph Myers <joseph@codesourcery.com>
31097
31098 * Makerules (native-compile): Do not change working directory for
31099 build. Use $(OUTPUT_OPTION) in command.
31100 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31101
94e02fc4
AZ
311022012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31103
31104 [BZ #13886]
31105 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31106 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31107 * math/libm-test.inc (floor_test): Add more tests.
31108 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31109
3a533ca3
JM
311102012-04-24 Joseph Myers <joseph@codesourcery.com>
31111
940ab4b3
JM
31112 * sysdeps/unix/getdents.c: Remove file.
31113 * sysdeps/unix/sysv/getdents.c: Likewise.
31114 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31115
90e037bd
JM
31116 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31117 sysdeps/unix/mman/syscalls.list.
31118 (mmap): Likewise.
31119 (mprotect): Likewise.
31120 (msync): Likewise.
31121 (munmap): Likewise.
31122 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31123 * sysdeps/unix/mman/syscalls.list: Remove.
31124 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31125
3a533ca3
JM
31126 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31127 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31128 * configure: Regenerated.
31129 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31130 $(libgcc_s_suffix).
31131 * config.make.in (libgcc_s_suffix): Remove variable.
31132
1ad743de
JM
311332012-04-23 Joseph Myers <joseph@codesourcery.com>
31134
4ad451e2
JM
31135 * sysdeps/unix/sysv/gethostname.c: Move to ...
31136 * sysdeps/posix/gethostname.c: ... here.
31137
5e37ce39
JM
31138 * sysdeps/unix/execve.S: Remove file.
31139
1ad743de
JM
31140 * sysdeps/unix/_exit.S: Remove file.
31141
4e681b5b
AJ
311422012-04-23 Andreas Jaeger <aj@suse.de>
31143
31144 [BZ #13739]
31145 * manual/Makefile: Remove make dist support, there's no
31146 need for a stand-alone documentation tar ball.
31147 (TEXI2DVI): Define always, it's not in Makeconfig.
31148 (dist): Removed.
31149 (tar-it): Removed.
31150 (edition): Removed.
31151 (glibc-doc-$(edition).tar): Removed
31152 (%.Z): Removed.
31153 (%.gz): Removed.
31154 (%.uu): Removed.
31155 (ETAGS): Remove, it's in Makeconfig.
31156 (move-if-change): Remove, it's in Makeconfig.
31157
38686a03 311582012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31159
31160 [BZ #13970]
31161 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31162 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31163 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31164 (strtod_l, strtof_l, strtold_l): Remove __wur.
31165 It is not necessarily an error to ignore strtol's return value.
31166 One can reliably look at the stored endptr to decide whether
31167 the number had valid syntax.
31168
7c0616fa
AJ
311692012-04-21 Andreas Jaeger <aj@suse.de>
31170
803cb6b7 31171 [BZ #13739]
7c0616fa
AJ
31172 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31173
b0fe253f
JM
311742012-04-21 Joseph Myers <joseph@codesourcery.com>
31175
31176 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31177 * sysdeps/unix/sysv/Versions: Remove file.
31178
8280f22d
MT
311792012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31180
31181 [BZ #13927]
31182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31183
75ce411f 311842012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31185
31186 [BZ #7064]
31187 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31188 version from __vm86.
31189
097d59fa
JM
311902012-04-20 Joseph Myers <joseph@codesourcery.com>
31191
a90f3bcb
JM
31192 * sysdeps/unix/common/lxstat.c: Remove file.
31193 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31194
edc7ea78
JM
31195 * sysdeps/unix/sysv/Makefile: Remove file.
31196
cb78c221
JM
31197 * sysdeps/unix/sysv/direct.h: Remove file.
31198
efa6a45f
JM
31199 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31200 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31201 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31202 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31203 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31204 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31205 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31206
9c9f2d0c
JM
31207 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31208
4541c83b
JM
31209 * sysdeps/unix/xmknod.c: Remove file.
31210 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31211
f5d153a0
JM
31212 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31213
aa746595
JM
31214 * sysdeps/unix/sysv/i386/time.S: Remove file.
31215
cce5905e
JM
31216 * sysdeps/unix/fxstat.c: Remove file.
31217 * sysdeps/unix/xstat.c: Likewise.
31218 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31219
37fa3841
JM
31220 * sysdeps/unix/sysv/sigaction.c: Remove file.
31221
ff1962a3
JM
31222 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31223 (sysdep_headers): Remove variable.
31224 [termio.h not in sysdep_headers] (generated): Likewise.
31225 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31226 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31227 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31228 * sysdeps/unix/sysv/tcflow.c: Likewise.
31229 * sysdeps/unix/sysv/tcflush.c: Likewise.
31230 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31231 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31232 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31233 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31234 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31235
e7740d31
JM
31236 * sysdeps/unix/siglist.c: Remove file.
31237
ee06f18b
JM
31238 * sysdeps/unix/getppid.S: Remove file.
31239
097d59fa
JM
31240 * sysdeps/unix/mkdir.c: Remove file.
31241 * sysdeps/unix/rmdir.c: Likewise.
31242
ff3d51ec
AS
312432012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31244
31245 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31246 ERR_MAX value.
31247 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31248 errlist-compat value.
31249
50f81fd7
DM
312502012-04-18 David S. Miller <davem@davemloft.net>
31251
31252 * sysdeps/generic/memcopy.h (reg_char): Delete.
31253 * debug/strcat_chk.c: Use char, not reg_char.
31254 * debug/strcpy_chk.c: Likewise.
31255 * debug/strncat_chk.c: Likewise.
31256 * debug/strncpy_chk.c: Likewise.
31257 * string/memchr.c: Likewise.
31258 * string/memrchr.c: Likewise.
31259 * string/rawmemchr.c: Likewise.
31260 * string/strcat.c: Likewise.
31261 * string/strchr.c: Likewise.
31262 * string/strchrnul.c: Likewise.
31263 * string/strcmp.c: Likewise.
31264 * string/strcpy.c: Likewise.
31265 * string/strncat.c: Likewise.
31266 * string/strncmp.c: Likewise.
31267 * string/strncpy.c: Likewise.
31268
8ff41c46
WS
312692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31270
31271 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31272 __builtin_memcopy is called when src and dest ranges are known to not
31273 overlap.
31274
6b652f46
WS
312752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31276
31277 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31278 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31279 fwd_align_merge macro call.
31280 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31281 bwd_align_merge macro call.
31282 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31283
b282631e
WS
312842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31285
31286 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31287 bwd_align_merge macros.
31288 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31289 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31290 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31291
95aa737c
DM
312922012-04-18 David S. Miller <davem@davemloft.net>
31293
31294 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31295
7a99a614
AJ
312962012-04-18 Andreas Jaeger <aj@suse.de>
31297
31298 [BZ# 6794]
31299 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31300 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31301 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31302
31303 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31304 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31305 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31306
31307 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31308 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31309 Adjust for changed ldbl-128 files.
31310
31311 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31312 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31313 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31314
e5270c23
DM
313152012-04-17 David S. Miller <davem@davemloft.net>
31316
31317 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31318
fb5e92c9
AS
313192012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31320
31321 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31322 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31323 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31324 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31325 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31326 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31327
76da7265
AZ
313282012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31329
31330 [BZ #6794]
31331 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31332 * math/libm-test.inc: Add ilogb errno and exception tests.
31333 * math/w_ilogb.c: New file: ilogb wrapper.
31334 * math/w_ilogbf.c: New file: ilogbf wrapper.
31335 * math/w_ilogbl.c: New file: ilogbl wrapper.
31336 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31337 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31338 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31339 exception being thrown with 0.0 as argument.
31340 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31341 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31342 exception being thrown with 0.0 as argument.
31343 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31344 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31345 exception being thrown with 0.0 as argument.
31346 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31347 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31348 exception being thrown with 0.0 as argument.
31349 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31350 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31351 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31352 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31353 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31354 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31355 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31356 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31357 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31358
0396e69d
PB
313592012-04-17 Petr Baudis <pasky@ucw.cz>
31360
31361 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31362 with altivec.
31363
750b5926
MP
313642012-04-16 Marek Polacek <polacek@redhat.com>
31365
31366 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31367
751728a1
MP
313682012-04-16 Marek Polacek <polacek@redhat.com>
31369
31370 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31371 operands of fdivp instruction.
31372
34a27407
L
313732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31374
31375 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31376 * elf/tst-auditmod3b.c: Likewise.
31377 * elf/tst-auditmod4b.c: Likewise.
31378 * elf/tst-auditmod5b.c: Likewise.
31379 * elf/tst-auditmod6b.c: Likewise.
31380 * elf/tst-auditmod6c.c: Likewise.
31381 * elf/tst-auditmod7b.c: Likewise.
31382 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31383 * sysdeps/x86_64/preconfigure.in: Likewise.
31384 * sysdeps/x86_64/preconfigure: Regenerated.
31385
7e73e17d
L
313862012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31387
31388 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31389 __ILP32__.
31390
c7a6ab72
AB
313912012-04-13 Antoine Balestrat <merkil33@gmail.com>
31392
31393 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31394 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31395
a9e8e0e0
CL
313962012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31397
31398 [BZ #13973]
31399 * locale/iso-639.def: Fix gl language name. Spotted by
31400 Yaron Shahrabani.
31401
ec98af7d
RM
314022012-04-12 Roland McGrath <roland@hack.frob.com>
31403
31404 [BZ #2074]
31405 * libio/libio.h (__io_write_fn): Update comment.
31406
247c3ede
PB
314072012-04-12 Petr Baudis <pasky@ucw.cz>
31408
31409 [BZ #2074]
31410 * stdio.texi (Hook Functions): The user provided writer function
31411 is not allowed to return -1.
31412
55939d6d
DM
314132012-04-11 David S. Miller <davem@davemloft.net>
31414
31415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31416
90020f5a
MF
314172012-04-11 Mike Frysinger <vapier@gentoo.org>
31418
31419 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31420 Add a leading slash to rtkaio.
31421
288f9098
JM
314222012-04-11 Jim Meyering <meyering@redhat.com>
31423
90020f5a
MF
31424 [BZ #11959]
31425 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31426 It is not necessarily an error to ignore fwrite's return
31427 value. One can reliably use ferror to test for errors after
31428 the fact.
288f9098 31429
4be2b570
L
314302012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31431
31432 * bits/types.h (__snseconds_t): New type.
31433 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31434
31435 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31436 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31437 (__SNSECONDS_T_TYPE): Likewise.
31438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31439 (__SNSECONDS_T_TYPE): Likewise.
31440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31441 (__SNSECONDS_T_TYPE): Likewise.
31442
288f9098 314432012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31444
31445 [BZ #2636]
31446 * manual/time.texi (Processor Time): Return type of times is
31447 elapsed real time since an arbitrary point in the past.
31448 (CPU Time): Move CLK_TCK from here...
31449 (Processor Time): ...to here. Correct description.
31450 * manual/conf.texi (Constants for Sysconf): Correct description of
31451 _SC_CLK_TCK.
31452
d7dd4413
DM
314532012-04-10 David S. Miller <davem@davemloft.net>
31454
31455 [BZ #13967]
31456 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31457 where the is a gap between DT_REL(A) and DT_JMPREL.
31458
b46068fc
L
314592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31460
31461 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31462 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31463 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31464
73d65cc3
SP
314652012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31466
31467 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31468 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31469 (dl_main): Handle --inhibit-cache.
31470 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31471 _dl_inhibit_cache.
31472 * elf/dl-load.c (_dl_map_object): Use it.
31473 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31474
bcc8d661
JM
314752012-04-09 Joseph Myers <joseph@codesourcery.com>
31476
8f9a2fae
JM
31477 [BZ #13872]
31478 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31479 (__ieee754_powl): Saturate large exponents rather than testing for
31480 overflow of y*log2(x).
31481 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31482 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31483 exceptions.
31484
bcc8d661
JM
31485 [BZ #11521]
31486 * math/s_ctan.c: Include <float.h>.
31487 (__ctan): Avoid internal overflow or cancellation in calculating
31488 denominator.
31489 * math/s_ctanf.c: Likewise.
31490 * math/s_ctanl.c: Likewise.
31491 * math/s_ctanh.c: Likewise.
31492 * math/s_ctanhf.c: Likewise.
31493 * math/s_ctanhl.c: Likewise.
31494 * math/libm-test.inc (ctan_test): Add more tests.
31495 (ctanh_test): Likewise.
31496 * sysdeps/i386/fpu/libm-test-ulps: Update.
31497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31498
823fbbb4
AJ
314992012-04-09 Andreas Jaeger <aj@suse.de>
31500
03879793
AJ
31501 [BZ #6894]
31502 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31503 is an optional BSD extension.
31504
823fbbb4
AJ
31505 [BZ #10254]
31506 * manual/stdio.texi (Opening Streams): Document additional fopen
31507 parameters.
31508
8de131cb
RM
315092012-04-09 Roland McGrath <roland@hack.frob.com>
31510
31511 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31512 %eax without telling the compiler.
31513
c0ed9d7d
CD
315142012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31515
31516 [BZ # 13963]
31517 * manual/install.texi: Use sourceware.org.
31518
c483f6b4
JM
315192012-04-09 Joseph Myers <joseph@codesourcery.com>
31520
d7dd9453
JM
31521 [BZ #13873]
31522 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31523 (__ieee754_pow): Generate overflow and underflow using huge*huge
31524 and tiny*tiny rather than just returning constant infinity or zero
31525 for large exponents.
31526 * math/libm-test.inc (pow_test): Require overflow exceptions for
31527 applicable cases of large exponents.
31528
c483f6b4
JM
31529 [BZ #706]
31530 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31531 (__ieee754_pow): Use iterative multiplication algorithm only for
31532 integer exponents with absolute value below 1024. Check for odd
31533 integer exponents when using algorithm for real exponents.
31534 * math/libm-test.inc (pow_test): Add more tests.
31535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31536
d2de7579
JM
315372012-04-08 Joseph Myers <joseph@codesourcery.com>
31538
31539 [BZ #13705]
31540 * math/libm-test.inc (exp_test): Do not allow overflow exception
31541 on underflow test.
31542
f77f1232
AJ
315432012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31544
31545 [BZ #13705]
31546 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31547 instead of __kernel_standard_f.
31548
3884932b
MF
315492012-04-08 Mike Frysinger <vapier@gentoo.org>
31550
31551 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31552 * sysdeps/x86_64/memset_chk.S: Likewise.
31553
54472e9c
AJ
315542012-04-08 Andreas Jaeger <aj@suse.de>
31555
6ab0fbfc
AJ
31556 [BZ #10153]
31557 * manual/startup.texi (Environment Access): Describe return value
31558 for putenv and setenv.
31559
61efba8c
AJ
31560 [BZ #6895]
31561 * manual/filesys.texi (Directory Entries): Add description for
31562 DT_LNK.
31563
95c3f29a
AJ
31564 [BZ #6890]
31565 * manual/filesys.texi (Directory Entries): Clarify that it's file
31566 system not operating system in the description of DT_UNKNOWN.
31567
54472e9c
AJ
31568 [BZ #6578]
31569 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31570
624254b1
SC
315712012-04-08 Stephen Compall <s11@member.fsf.org>
31572
31573 [BZ #6649]
31574 * manual/llio.texi (Opening and Closing Files): Add cross
31575 reference to explain mode argument.
31576
1e4920e0
MF
315772012-04-07 Mike Frysinger <vapier@gentoo.org>
31578
31579 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31580 * sysdeps/x86_64/memset_chk.S: Likewise.
31581
5ed848f3
DM
315822012-04-07 David S. Miller <davem@davemloft.net>
31583
31584 * elf/elf.h (R_SPARC_WDISP10): Define.
31585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31586 R_SPARC_SIZE32.
31587 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31588 R_SPARC_SIZE64 and R_SPARC_H34.
31589
96154cd8
CD
315902012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31591
31592 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31593 conditions and remove no longer applicable assertion.
31594
9904dc47
L
315952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31596
31597 * bits/byteswap.h: Include <features.h>.
31598 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31599 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31600
f8887d0a
L
316012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31602
31603 * bits/byteswap.h (__bswap_16): Removed.
31604 Include <bits/byteswap-16.h> to get __bswap_16.
31605 * sysdeps/i386/bits/byteswap.h: Likewise.
31606 * sysdeps/s390/bits/byteswap.h: Likewise.
31607 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31608 * bits/byteswap-16.h: New file.
31609 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31610 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31611 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31612 * string/Makefile (headers): Add bits/byteswap-16.h.
31613
62470f60
PP
316142012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31615
31616 [BZ #13895]
31617 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31618 extra indirection.
31619 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31620 * nss/tst-nss-static.c: New.
31621
4dad7bab
RM
316222012-04-06 Robert Millan <rmh@gnu.org>
31623
31624 [BZ #6486]
31625 * manual/llio.texi (File Position Primitive): lseek
31626 refers to WHENCE when it really means OFFSET.
31627
e9142a17
AJ
316282012-04-06 Andreas Jaeger <aj@suse.de>
31629
2c040eff
AJ
31630 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31631 strncmp declarations.
31632
e9142a17
AJ
31633 * abilist/libc.abilist: Add __poll and __ppoll.
31634
ff9f1c5f
DM
316352012-04-05 David S. Miller <davem@davemloft.net>
31636
dcd2ae90
DM
31637 * scripts/check-local-headers.sh: Accept a host triplet in the
31638 path matched by the exclude regexp.
31639
993eb054
DM
31640 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31641 definition.
31642 * sysdeps/powerpc/powerpc32/dl-machine.h
31643 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31644 * sysdeps/s390/s390-32/dl-machine.h
31645 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31646 * sysdeps/sparc/sparc32/dl-machine.h
31647 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31648 * sysdeps/sparc/sparc64/dl-machine.h
31649 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31650
ff9f1c5f
DM
31651 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31652 lazy binding.
48e2e132 31653 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31654 undefined symbol errors.
31655
48e2e132 31656 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31657 DT_NEEDED entries.
31658
e80d6f94
MM
316592012-04-05 Michael Matz <matz@suse.de>
31660
31661 [BZ #13592]
31662 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31663
349fa79f
AJ
316642012-04-05 Andreas Jaeger <aj@suse.de>
31665
31666 [BZ #13908]
31667 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31668 comment.
31669
f402708f
KK
316702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31671
31672 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31673 which ROUND is no valid rounding mode.
31674
2ecccfc9
KK
316752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31676
31677 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31678 read again.
31679 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31680
8a53f50f
KK
316812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31682
31683 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31684 an exception using FPU order intentionally.
31685
316862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31687
31688 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31689 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31690 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31691 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31692
d653abb7
SJ
316932012-04-05 Simon Josefsson <simon@josefsson.org>
31694
31695 [BZ #12340]
31696 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31697 EINVAL when BUFLEN is too smal.
31698
c3b1bf7d
TS
316992012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31700
31701 [BZ #13553]
31702 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31703 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31704
b1aa60f3
AJ
317052012-04-03 Andreas Jaeger <aj@suse.de>
31706
c3b1bf7d 31707 [BZ #13938]
67f60a26
AJ
31708 * manual/setjmp.texi (System V contexts): Fix sentence.
31709
b1aa60f3
AJ
31710 [BZ #13926]
31711 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31712 New macro for this case.
31713 [!__GNUC__] (__bswap_64): New inline function for this case.
31714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31715 * bits/byteswap.h: Likewise.
31716 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31717 ull, guard with __GLIBC_HAVE_LONG_LONG.
31718
31719 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31720 __GLIBC_HAVE_LONG_LONG.
31721
31722 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31723 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31724
39c59c35
TMQMF
317252012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31726
31727 [BZ #13691]
31728 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31729 inptr and inend, rather than using last_ch.
31730
135ffda8
DM
317312012-04-02 David S. Miller <davem@davemloft.net>
31732
31733 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31734 * stdio-common/printf-parse.h (read_int): Change return type to
31735 'int', return -1 on INT_MAX overflow.
31736 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31737 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31738 overflows INT_MAX. Check for overflow of in-format-string precision
31739 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31740 SIZE_MAX not INT_MAX for integer overflow test.
31741 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31742 skip the construct in the format string but do not record anything.
31743 * stdio-common/bug22.c: Adjust to test both width/prevision
31744 INT_MAX overflow as well as total length INT_MAX overflow. Check
31745 explicitly for proper errno values.
31746
228c019e
TS
317472012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31748
302cadd3
TS
31749 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31750 CHAR_MAX.
31751 * string/test-strcmp.c [! WIDE]: Likewise.
31752 * time/tst-mktime2.c: Likewise for INT_MAX.
31753 * string/test-string.h: #include <sys/param.h> for MIN.
31754
228c019e
TS
31755 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31756 * sysdeps/i386/init-first.c (init): Likewise.
31757 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31758 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31759 * sysdeps/sh/init-first.c (init): Likewise.
31760
cfa633f5
UD
317612012-04-01 Ulrich Drepper <drepper@gmail.com>
31762
31763 * po/ru.po: Update from translation team.
d1635ef8 31764 * po/vi.po: Likewise.
cfa633f5 31765
6cd0a5ea
SP
317662012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31767
31768 * resolv/nss_dns/dns-host.c: Merge copyright years.
31769
4b43400f
LD
317702012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31771
31772 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31773 Optimize memcpy with prefetch if
31774 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31775 src, dst pointers have unequal 16 byte alignments.
31776
48c41d04
SP
317772012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31778
31779 [BZ #13928]
31780 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31781 from a CNAME entry and return the minimum ttl for the query.
31782 (gaih_getanswer_slice): Likewise.
31783
b8dc394d
JL
317842012-03-30 Jeff Law <law@redhat.com>
31785
31786 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31787 due to long keys.
31788 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31789 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31790
2f5a5ed0
JL
31791 * resolv/nss_dns/dns-host.c: Update copyright year.
31792
1d39e359
UD
317932012-03-30 Ulrich Drepper <drepper@gmail.com>
31794
c030f70c 31795 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31796 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31797
1d39e359
UD
31798 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31799 comments for sendmmsg.
31800
318012012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31802
31803 [BZ #13691]
31804 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31805 with only 1 character between 0x0041 and 0x01b0.
31806 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31807 * wcsmbs/tst-mbsnrtowcs.c: New file.
31808
20fde227
DM
318092012-03-29 David S. Miller <davem@davemloft.net>
31810
31811 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31812 small copies by hand.
31813
984a4237
JL
318142012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31815
31816 [BZ #13761]
31817 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31818 _nss_compat_initgroups_dyn): Fall back to malloc/free
31819 for large group memberships.
31820
18c9d62b
DM
318212012-03-28 David S. Miller <davem@davemloft.net>
31822
88d85d4f
DM
31823 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31824 that branches into memcpy.
31825 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31826 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31828 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31830 bits.
31831 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31832 implementation too.
31833 * sysdeps/sparc/mempcpy.S: New file.
31834
e5aa83e1
DM
31835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31836 the IFUNC routine in the libc case.
31837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31838
88570753
DM
31839 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31840 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31841 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31842 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31843 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31844 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31845 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31846 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31847
249d7567
DM
31848 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31849 loop to 256 bytes instead of 64 bytes and fix test signedness.
31850
18c9d62b
DM
31851 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31852 * sysdeps/sparc/sparc32/Makefile: rather than here...
31853 * sysdeps/sparc/sparc64/Makefile: and here.
31854
05f3d1f6
UD
318552012-03-28 Ulrich Drepper <drepper@gmail.com>
31856
31857 * malloc/mallocbug.c: Avoid warnings about unused variables.
31858
86ae07a8
JL
318592012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31860
31861 [BZ #13760]
31862 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31863 in the right place. Discard and retry query if response is
31864 larger than input buffer size.
31865
41bf21a1
JM
318662012-03-28 Joseph Myers <joseph@codesourcery.com>
31867
d6270972
JM
31868 [BZ #369]
31869 [BZ #2678]
31870 [BZ #3866]
31871 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31872 x for large integer exponent.
31873 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31874 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31875 sign of result as needed afterwards.
31876 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31877 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31878 result for underflowing pow the same as for overflow.
31879 (__kernel_standard_l): Handle powl overflow and underflow here
31880 rather than calling __kernel_standard.
31881 * math/libm-test.inc (pow_test): Add more tests.
31882
414fca03 31883 [BZ #3868]
41bf21a1
JM
31884 [BZ #13879]
31885 [BZ #13910]
31886 [BZ #13911]
31887 [BZ #13912]
31888 [BZ #13913]
31889 [BZ #13915]
31890 [BZ #13916]
31891 [BZ #13917]
31892 [BZ #13918]
31893 [BZ #13919]
31894 [BZ #13920]
31895 [BZ #13921]
31896 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31897 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31898 (__kernel_standard_l): New function.
31899 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31900 __kernel_standard.
31901 * math/w_acosl.c (__acosl): Likewise.
31902 * math/w_asinl.c (__asinl): Likewise.
31903 * math/w_atan2l.c (__atan2l): Likewise.
31904 * math/w_atanhl.c (__atanhl): Likewise.
31905 * math/w_coshl.c (__coshl): Likewise.
31906 * math/w_exp10l.c (__exp10l): Likewise.
31907 * math/w_exp2l.c (__exp2l): Likewise.
31908 * math/w_fmodl.c (__fmodl): Likewise.
31909 * math/w_hypotl.c (__hypotl): Likewise.
31910 * math/w_j0l.c (__j0l, __y0l): Likewise.
31911 * math/w_j1l.c (__j1l, __y1l): Likewise.
31912 * math/w_jnl.c (__jnl, __ynl): Likewise.
31913 * math/w_lgammal.c (__lgammal): Likewise.
31914 * math/w_log10l.c (__log10l): Likewise.
31915 * math/w_log2l.c (__log2l): Likewise.
31916 * math/w_logl.c (__logl): Likewise.
31917 * math/w_powl.c (__powl): Likewise.
31918 * math/w_remainderl.c (__remainderl): Likewise.
31919 * math/w_scalbl.c (sysv_scalbl): Likewise.
31920 * math/w_sinhl.c (__sinhl): Likewise.
31921 * math/w_sqrtl.c (__sqrtl): Likewise.
31922 * math/w_tgammal.c (__tgammal): Likewise.
31923 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31924 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31925 * math/libm-test.inc (acos_test): Add more tests.
31926 (acosh_test): Likewise.
31927 (asin_test): Likewise.
31928 (atanh_test): Likewise.
31929 (exp_test): Likewise.
31930 (exp10_test): Likewise.
31931 (exp2_test): Likewise.
31932 (expm1_test): Likewise.
31933 (lgamma_test): Likewise.
31934 (log_test): Likewise.
31935 (log10_test): Likewise.
31936 (log1p_test): Likewise.
31937 (log2_test): Likewise.
31938 (pow_test): Do not allow some spurious overflow exceptions.
31939 (sqrt_test): Add more tests.
31940 (tgamma_test): Likewise.
31941 (y0_test): Likewise.
31942 (y1_test): Likewise.
31943 (yn_test): Likewise.
31944
dd62fda6
AB
319452012-03-27 Anton Blanchard <anton@samba.org>
31946
31947 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31948 MAP_HUGETLB.
31949 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31950 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31952
1e3cdfda
AJ
319532012-03-27 David S. Miller <davem@davemloft.net>
31954
b855ab85
DM
31955 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31956
1e3cdfda
AJ
31957 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31958 have-as-vis3 check.
31959
319602012-03-27 Andreas Jaeger <aj@suse.de>
31961
31962 * sysdeps/x86_64/elf/configure.in: Moved to ...
31963 * sysdeps/x86_64/configure.in: ... here.
31964 * sysdeps/x86_64/elf/start.S: Moved to ...
31965 * sysdeps/x86_64/start.S: ... here.
31966 * sysdeps/x86_64/elf/configure: Delete.
31967
31968 * sysdeps/x86_64/configure.in: Merge contents from
31969 sysdeps/i386/configure.in (without i686 check).
31970
31971 * sysdeps/i386/elf/Versions: Merge into ...
31972 * sysdeps/i386/Versions: ... this.
31973 * sysdeps/i386/elf/Versions: Delete file.
31974 * sysdeps/i386/elf/start.S: Moved to ...
31975 * sysdeps/i386/start.S: ...here.
31976 * sysdeps/i386/elf/configure.in: Merge into...
31977 * sysdeps/i386/configure.in: ...here.
31978 * sysdeps/i386/elf/configure.in: Delete file.
31979 * sysdeps/i386/elf/configure: Delete file.
31980
31981 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31982 * debug/backtracesyms.c: ... here.
31983 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31984 * debug/backtracesymsfd.c: ... here.
31985 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31986 * sysdeps/generic/ifunc-sel.h: ... here.
31987
31988 * sysdeps/unix/i386/start.c: Delete file.
31989 * sysdeps/unix/sparc/start.c: Delete file.
31990 * sysdeps/unix/start.c: Delete file.
31991
31992 * sysdeps/sh/elf/configure.in: Moved to ...
31993 * sysdeps/sh/configure.in: ... here.
31994 * sysdeps/sh/elf/start.S: Moved to ...
31995 * sysdeps/sh/start.S: ... here.
31996 * sysdeps/sh/elf/configure: Delete file.
31997
31998 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31999 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32000 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32001 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32002 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32003 * sysdeps/powerpc/powerpc64/start.S: here.
32004 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32005 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32006 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32007 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32008 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32009
32010 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32011 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32012 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32013 * sysdeps/powerpc/powerpc32/start.S: ... here.
32014 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32015 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32016 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32017
32018 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32019 * sysdeps/powerpc/ifunc-sel.h: ... here.
32020 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32021 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32022
32023 * sysdeps/sparc/elf/configure.in: Moved to ...
32024 * sysdeps/sparc/configure.in: ... here.
32025 * sysdeps/sparc/elf/configure: Delete file.
32026 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32027 * sysdeps/sparc/sparc32/start.S: ... here.
32028 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32029 * sysdeps/sparc/sparc64/start.S: ... here.
32030 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32031 * sysdeps/sparc/sparc32/Makefile: ... this.
32032 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32033 * sysdeps/sparc/sparc64/Makefile: ... this.
32034
32035 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32036 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32037 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32038 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32039 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32040 * sysdeps/s390/s390-32/setjmp.S: ... here.
32041 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32042 * sysdeps/s390/s390-32/configure.in: ... here.
32043 * sysdeps/s390/s390-32/elf/configure: Delete file.
32044 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32045 * sysdeps/s390/s390-32/start.S: ... here.
32046
32047 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32048 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32049 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32050 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32051 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32052 * sysdeps/s390/s390-64/setjmp.S: ... here.
32053 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32054 * sysdeps/s390/s390-64/configure.in: ... here
32055 * sysdeps/s390/s390-64/elf/configure: Delete file.
32056 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32057 * sysdeps/s390/s390-64/start.S: ... here.
32058 * sysdeps/s390/s390-64/elf/configure: Delete.
32059
32060 * configure.in: Remove support for elf directories in sysdeps.
32061
32062 * configure: Regenerated.
32063 * sysdeps/i386/configure: Regenerated.
32064 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32065 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32066 * sysdeps/s390/s390-32/configure: Regenerated.
32067 * sysdeps/s390/s390-64/configure: Regenerated.
32068 * sysdeps/sh/configure: Regenerated.
32069 * sysdeps/sparc/configure: Regenerated.
32070 * sysdeps/x86_64/configure: Regenerated.
32071
a3f61311
AS
320722012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32073
c876e002
AS
32074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32075
a3f61311
AS
32076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32077 denormal result into account.
32078
ac4c54f0
RM
320792012-03-25 Roland McGrath <roland@hack.frob.com>
32080
32081 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32082 Reported by Allan McRae <allan@archlinux.org>.
32083
6a9b9c02
JL
320842012-03-23 Jeff Law <law@redhat.com>
32085
32086 * nss/getnssent.c (__nss_getent): Fix typo.
32087
4c42a0c1
DM
320882012-03-23 David S. Miller <davem@davemloft.net>
32089
32090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32091
1532c7ac
L
320922012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32093
32094 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32095 to pad to uint64_t for each field.
32096 (dl_tls_index): Replace unsigned long with uint64_t.
32097
3ff42526
PP
320982012-03-23 Daniel Jacobowitz <dmj@google.com>
32099 Paul Pluzhnikov <ppluzhnikov@google.com>
32100
32101 [BZ #6528]
32102 * grp/Makefile (otherlibs): Don't set it.
32103 * inet/Makefile (otherlibs): Likewise.
32104 * login/Makefile (otherlibs): Likewise.
32105 * nscd/Makefile (otherlibs): Likewise.
32106 * posix/Makefile (otherlibs): Likewise.
32107 * pwd/Makefile (otherlibs): Likewise.
32108 * rt/Makefile (otherlibs): Likewise.
32109 * sunrpc/Makefile (otherlibs): Likewise.
32110 * nss/Makefile (otherlibs): Likewise.
32111 Add libnss_files to routines and static-only-routines.
32112 ($(objpfx)getent): Remove rule.
32113 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32114 static-only-routines.
32115
7c69cd14
JM
321162012-03-22 Joseph Myers <joseph@codesourcery.com>
32117
32118 [BZ #13892]
32119 * math/s_cexp.c: Include <float.h>.
32120 (__cexp): Handle exp result overflowing not necessarily
32121 overflowing both real and imaginary parts of result.
32122 * math/s_cexpf.c: Likewise.
32123 * math/s_cexpl.c: Likewise.
32124 * math/libm-test.inc (cexp_test): Add more tests.
32125 * sysdeps/i386/fpu/libm-test-ulps: Update.
32126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32127
81b035fe
L
321282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32129
32130 * include/link.h (ELFW): New macro.
32131 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32132 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32133
1da7940c
L
321342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32135
32136 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32137 with uint64_t.
32138
b749dbb9
L
321392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32140
32141 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32142 declaration.
32143 (struct La_x32_retval): Likewise.
32144
2ff87f3f
L
321452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32146
32147 * sysdeps/x86_64/preconfigure.in: New file.
32148 * sysdeps/x86_64/preconfigure: New generated file.
32149
c0df8e69
JM
321502012-03-22 Joseph Myers <joseph@codesourcery.com>
32151
48e44791
JM
32152 [BZ #13824]
32153 * math/e_exp2l.c: Include <float.h>.
32154 (__ieee754_exp2l): Handle overflow and underflow cases
32155 separately. Only pass fractional part of argument to
32156 __ieee754_expl.
32157 * math/libm-test.inc (exp2_test): Add more tests.
32158
c0df8e69
JM
32159 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32160 negating x to take absolute value.
32161 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32162 Likewise.
32163 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32164 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32165 Likewise.
32166 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32167 computing low part if x was negated.
32168 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32169
c8e43ba7
L
321702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32171
32172 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32173 la_x32_gnu_pltexit.
32174 (pltexit): Cast int_retval to ptrdiff_t.
32175 * elf/tst-auditmod3b.c: Likewise.
32176 * elf/tst-auditmod4b.c: Likewise.
32177 * elf/tst-auditmod5b.c: Likewise.
32178 * elf/tst-auditmod6b.c: Likewise.
32179 * elf/tst-auditmod6c.c: Likewise.
32180 * elf/tst-auditmod7b.c: Likewise.
32181
32182 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32183 and x32_gnu_pltexit.
32184
32185 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32186 __ELF_NATIVE_CLASS.
32187 (La_x32_regs): New macro.
32188 (La_x32_retval): Likewise.
32189 (la_x32_gnu_pltenter): New function prototype.
32190 (la_x32_gnu_pltexit): Likewise.
32191
7998fa78
AS
321922012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32193
dcb33988
AS
32194 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32195 exponent.
32196
233fc563
AS
32197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32198
7998fa78
AS
32199 * configure.in (libc_cv_cc_nofma): Check for option to disable
32200 generation of FMA instructions.
32201 * configure: Regenerate.
32202 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32203 * sysdeps/ieee754/dbl-64/Makefile: New file.
32204 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32205 Remove brandred-fma4.
32206 (CFLAGS-brandred-fma4.c): Remove.
32207 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32208 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32209 define.
32210 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32211 define.
32212
8e95c99a
L
322132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32214
32215 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32216 LLONG_MAX != LONG_MAX.
32217 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32218 (_fitoa_word): Likewise.
32219 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32220 LLONG_MAX != LONG_MAX.
32221 * stdio-common/_itowa.h: Include <_itoa.h>.
32222 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32223 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32224 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32225 only if not defined.
32226 (_ITOA_WORD_TYPE): Likewise.
32227 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32228 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32229
6f4db457
DM
322302012-03-21 David S. Miller <davem@davemloft.net>
32231
32232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32233
7785fe5a
L
322342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32235
32236 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32237 of x86_64 when setting libc_cv_slibdir, libdir and
32238 libc_cv_localedir.
32239 * sysdeps/unix/sysv/linux/configure: Regenerated.
32240
4535cd55
JM
322412012-03-21 Joseph Myers <joseph@codesourcery.com>
32242
32243 * manual/lang.texi (Old Varargs): Remove section.
32244 (How Variadic): Update menu.
32245 (va_start): Do not mention varargs.h.
32246
17228132
TS
322472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32248 Joseph Myers <joseph@codesourcery.com>
32249
32250 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32251 link test.
32252 * configure: Regenerated.
32253
8149f976
TS
322542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32255
05f3d1f6
UD
32256 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32257 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32258 conformtest.pl
8149f976 32259
1a4ac776
JM
322602012-03-21 Joseph Myers <joseph@codesourcery.com>
32261
be22ce65
JM
32262 * NOTES: Remove.
32263 * Makefile (files-for-dist): Remove NOTES.
32264 (NOTES): Remove rule.
32265 * README: Don't refer to NOTES.
32266 * manual/creature.texi: Don't include macros.texi.
32267 * manual/intro.texi (creature.texi): Remove comment referring to
32268 NOTES.
32269
40b601fb
JM
32270 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32271 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32272 * configure: Regenerated.
32273 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32274 LIBC_TRY_CC_OPTION.
32275 (libc_cv_as_i686): Likewise.
32276 (libc_cv_cc_avx): Likewise.
32277 (libc_cv_cc_sse2avx): Likewise.
32278 (libc_cv_cc_fma4): Likewise.
32279 (libc_cv_cc_novzeroupper): Likewise.
32280 * sysdeps/i386/configure: Regenerated.
32281
1a4ac776
JM
32282 [BZ #13883]
32283 * sysdeps/i386/fpu/s_cexp.S: Remove.
32284 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32285 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32286 * math/libm-test.inc (cexp_test): Add more tests.
32287 * sysdeps/i386/fpu/libm-test-ulps: Update.
32288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32289
a458e7fe
AM
322902012-03-21 Allan McRae <allan@archlinux.org>
32291
32292 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32293
0cb7efc5
JM
322942012-03-21 Joseph Myers <joseph@codesourcery.com>
32295
32296 [BZ #13871]
32297 * math/w_exp2.c: Do not include <float.h>.
32298 (o_threshold, u_threshold): Remove.
32299 (__exp2): Calculate result before checking finiteness and calling
32300 __kernel_standard.
32301 * math/w_exp2f.c: Likewise.
32302 * math/w_exp2l.c: Likewise.
32303 * math/libm-test.inc (exp2_test): Require overflow exception for
32304 1e6 input.
2460d3aa
JM
32305
32306 [BZ #3866]
32307 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32308 range of signed 64-bit integers before using fistpll. Remove
32309 checks for whether integers fit in mantissa bits.
32310 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32311 the range of signed 32-bit integers before using fistpl. Remove
32312 checks for whether integers fit in mantissa bits.
32313 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32314 (__ieee754_powl): Test for y outside the range of signed 64-bit
32315 integers before using fistpll. Reduce 64-bit values to 63-bit
32316 ones as needed.
32317 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32318 divide-by-zero is raised for zero to large negative powers.
32319 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32320 (__ieee754_powl): Test for y outside the range of signed 64-bit
32321 integers before using fistpll. Reduce 64-bit values to 63-bit
32322 ones as needed.
32323 * math/libm-test.inc (pow_test): Add more tests.
32324
eb96ffb0
L
323252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32326
32327 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32328 <stdio-common/_itoa.h>.
32329 * debug/segfault.c: Likewise.
32330 * elf/dl-cache.c: Likewise.
32331 * elf/dl-minimal.c: Likewise.
32332 * elf/dl-misc.c: Likewise.
32333 * elf/dl-sysdep.c: Likewise.
32334 * elf/dl-version.c: Likewise.
32335 * elf/rtld.c: Likewise.
32336 * hurd/hurdsock.c: Likewise.
32337 * hurd/lookup-retry.c: Likewise.
32338 * malloc/malloc.c: Likewise.
32339 * malloc/mtrace.c: Likewise.
32340 * nscd/nscd_getgr_r.c: Likewise.
32341 * nscd/nscd_getpw_r.c: Likewise.
32342 * nscd/nscd_getserv_r.c: Likewise.
32343 * posix/getopt_init.c: Likewise.
32344 * posix/wordexp.c: Likewise.
32345 * stdio-common/_itoa.c: Likewise.
32346 * stdio-common/printf_fphex.c: Likewise.
32347 * stdio-common/vfprintf.c: Likewise.
32348 * string/_strerror.c: Likewise.
32349 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32350 * sysdeps/i386/i686/hp-timing.h: Likewise.
32351 * sysdeps/mach/_strerror.c: Likewise.
32352 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32353 * sysdeps/mach/hurd/sethostid.c: Likewise.
32354 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32355 * sysdeps/mach/xpg-strerror.c: Likewise.
32356 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32357 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32358 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32359 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32360 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32361 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32362 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32363 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32364 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32365 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32366 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32367 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32368 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32369 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32370 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32371 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32372 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32373 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32374 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32375 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32376 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32377
32378 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32379
32380 * stdio-common/_itoa.h: Moved to ...
32381 * sysdeps/generic/_itoa.h: Here.
32382
32383 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32384
32385 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32386 instead of "_itoa.h" and "_itowa.h".
32387 * stdio-common/vfprintf.: Likewise.
32388
d1af992d
L
323892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32390
32391 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32392 <bits/wordsize.h>.
32393 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32394 (__signbit): Likwise.
32395 (llrintf): Likwise.
32396 (llrint): Likwise.
32397
114883e0
L
323982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32399
32400 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32401 __WORDSIZE != 64.
32402
c135cc1b
JM
324032012-03-20 Joseph Myers <joseph@codesourcery.com>
32404
32405 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32406 OVERFLOW_EXCEPTION_OK.
32407 * math/libm-test.inc ("Philosophy"): Update comment about
32408 exception testing.
32409 (OVERFLOW_EXCEPTION): Define.
32410 (OVERFLOW_EXCEPTION_OK): Likewise.
32411 (INVALID_EXCEPTION_OK): Renumber.
32412 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32413 (IGNORE_ZERO_INF_SIGN): Likewise.
32414 (test_exceptions): Handle FE_OVERFLOW.
32415 (exp10_test): Expect overflow exceptions.
32416 (exp2_test): Likewise.
32417 (expm1_test): Likewise.
32418 (nextafter_test): Likewise.
32419 (pow_test): Likewise.
32420 (scalbn_test): Likewise.
32421 (scalbln_test): Likewise.
32422
95443d88
L
324232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32424
32425 * sysdeps/x86_64/bits/atomic.h
32426 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32427 64bit integer.
32428 (atomic_exchange_acq): Likewise.
32429 (__arch_exchange_and_add_body): Likewise.
32430 (__arch_add_body): Likewise.
32431 (atomic_add_negative): Likewise.
32432 (atomic_add_zero): Likewise.
32433
490df6c4
L
324342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32435
c2722551 32436 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32437 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32438
5e52b189
L
324392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32440
32441 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32442 Check __x86_64__ instead of __WORDSIZE.
32443
a9879d4c
L
324442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32445
32446 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32447
5df98260
DM
324482012-03-19 David S. Miller <davem@davemloft.net>
32449
e1497744
DM
32450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32451
5df98260
DM
32452 * sysdeps/sparc/fpu/fenv_private.h: New file.
32453 * sysdeps/sparc/fpu/math_private.h: Use it.
32454 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32455 Remove.
32456 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32457 (libc_feholdexcept_setroundl): Remove.
32458 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32459 Remove.
32460 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32461 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32462
b4c35121
L
324632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32464
32465 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32466 int64_t instead of long int.
32467 (INSERT_WORDS64): Likwise.
32468
56965fd7
L
324692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32470
32471 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32472 _Unwind_GetCFA return to _Unwind_Ptr first.
32473
83d1aec8
JM
324742012-03-19 Joseph Myers <joseph@codesourcery.com>
32475
1897ad44
JM
32476 [BZ #13629]
32477 * math/s_clog.c: Include <float.h>.
32478 (__clog): Scale large or subnormal inputs.
32479 * math/s_clogf.c: Likewise.
32480 * math/s_clogl.c: Likewise.
32481 * math/s_clog10.c: Include <float.h>.
32482 (M_LOG10_2): Define.
32483 (__clog10): Scale large or subnormal inputs.
32484 * math/s_clog10f.c: Likewise.
32485 * math/s_clog10l.c: Likewise.
32486 * math/libm-test.inc (clog_test): Add more tests.
32487 (clog10_test): Likewise.
32488 * sysdeps/i386/fpu/libm-test-ulps: Update.
32489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32490
7726d6a9
JM
32491 [BZ #11451]
32492 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32493 x and y.
32494 * math/libm-test.inc (atan2_test): Add another test.
32495
83d1aec8
JM
32496 * Makerules (common-objdir-compile): Remove.
32497 * sysdeps/unix/Makefile (config-generated): Do not add
32498 $(unix-generated) to variable.
32499 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32500 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32501 Remove rule.
32502 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32503 Likewise.
32504 [generic bits/local_lim.h] (before-compile): Do not append to
32505 variable.
32506 [generic bits/local_lim.h] (common-generated): Likewise.
32507 [generic sys/param.h] (before-compile): Do not append to variable.
32508 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32509 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32510 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32511 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32512 include.
32513 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32514 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32515 [generic sys/param.h] ($(addprefix
32516 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32517 [generic sys/param.h] (common-generated): Do not append to
32518 variable.
32519 [generic sys/param.h] (sysdep_headers): Likewise.
32520 [generic bits/errno.h] (before-compile): Do not append to
32521 variable.
32522 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32523 rule.
32524 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32525 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32526 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32527 [generic bits/errno.h] (common-generated): Do not append to
32528 variable.
32529 [generic bits/ioctls.h] (before-compile): Do not append to
32530 variable.
32531 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32532 rule.
32533 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32534 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32535 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32536 rule.
32537 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32538 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32539 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32540 [generic bits/ioctls.h] (common-generated): Do not append to
32541 variable.
32542 [generic sys/syscall.h] (syscall.h): Remove variable.
32543 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32544 rule.
32545 [generic sys/syscall.h] (before-compile): Do not append to
32546 variable.
32547 [generic sys/syscall.h] (common-generated): Likewise.
32548 * sysdeps/unix/errnos-tmpl.c: Remove file.
32549 * sysdeps/unix/errnos.awk: Likewise.
32550 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32551 * sysdeps/unix/ioctls.awk: Likewise.
32552 * sysdeps/unix/mk-local_lim.c: Likewise.
32553 * sysdeps/unix/snarf-ioctls: Likewise.
32554
4851a949
RH
325552012-03-19 Richard Henderson <rth@twiddle.net>
32556
bd37f2ee
RH
32557 * sysdeps/i386/fpu/fenv_private.h: New file.
32558 * sysdeps/i386/fpu/math_private.h: Use it.
32559 (math_opt_barrier, math_force_eval): Remove.
32560 (libc_feholdexcept_setround_53bit): Remove.
32561 (libc_feupdateenv_53bit): Remove.
32562 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32563 (math_opt_barrier, math_force_eval): Remove.
32564 (libc_feholdexcept): Remove.
32565 (libc_feholdexcept_setround): Remove.
32566 (libc_fetestexcept, libc_fesetenv): Remove.
32567 (libc_feupdateenv_test): Remove.
32568 (libc_feupdateenv, libc_feholdsetround): Remove.
32569 (libc_feresetround): Remove.
32570
d0adc922
RH
32571 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32572 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32573
0fe0f1f8
RH
32574 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32575 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32576 (libc_feupdateenv_testl): New.
32577 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32578 (libc_feupdateenv_testf): New.
32579 (libc_feupdateenv): Use libc_feupdateenv_test.
32580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32581 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32582
eb92c487
RH
32583 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32584 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32585 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32586 (libc_feresetround_noex): New.
32587 (libc_feresetround_noexf): New.
32588 (libc_feresetround_noexl): New.
32589 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32590 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32591 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32592 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32593 SET_RESTORE_ROUND.
32594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32595 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32596 (__cos): Likewise.
32597 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32598 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32599 SET_RESTORE_ROUND_NOEX.
32600 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32601 SET_RESTORE_ROUND_NOEXF.
32602 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32603 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32604 (libc_feholdsetroundf): New.
32605 (libc_feresetround, libc_feresetroundf): New.
32606
7d2e8012
RH
32607 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32608 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32609 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32610
b4dabbb4
RH
32611 * sysdeps/generic/math_private.h: Include <fenv.h>.
32612 (default_libc_feholdexcept): New.
32613 (default_libc_feholdexcept_setround): New.
32614 (default_libc_fesetenv, default_libc_feupdateenv): New.
32615 (libc_feholdexcept): Only define if undefined.
32616 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32617 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32618 (libc_feholdexcept_setroundl): Likewise.
32619 (libc_feholdexcept_setround_53bit): Likewise.
32620 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32621 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32622 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32623 (libc_feupdateenv_53bit): Likewise.
32624 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32625 (libc_feholdexcept): Convert from macro to inline function.
32626 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32627 (libc_fesetenv, libc_feupdateenv): Likewise.
32628
4851a949
RH
32629 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32630 not previously defined.
32631 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32632 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32633 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32634 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32635 * sysdeps/ieee754/flt-32/math_private.h: New file.
32636 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32637 math_private.h below SET_FLOAT_WORD.
32638 (__isnan, __isinf_ns, __finite): Remove.
32639 (__isnanf, __isinf_nsf, __finitef): Remove.
32640
e79d442e
AS
326412012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32642
32643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32644
90b80344
DM
326452012-03-17 David S. Miller <davem@davemloft.net>
32646
32647 [BZ #6471]
32648 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32649 for 2.16.
32650
edc21804
DM
326512012-03-16 David S. Miller <davem@davemloft.net>
32652
77e927af
DM
32653 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32654 warnings.
32655
374976dd
DM
32656 [BZ #6471]
32657 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32658 properly.
32659 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32660 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32661 sysdep_routines when subdir is sysvipc.
32662 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32663 __getshmlba helper.
32664
edc21804
DM
32665 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32666
473c3ef3
L
326672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32668
32669 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32670 [__LP64__].
32671
eb0f39b6
L
326722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32673
32674 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32675 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32676 (__lround): Renamed to ...
32677 (__llround): This. Replace long int with long long int.
32678 Define lround functions as aliases of llround functions.
32679 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32680
6b6cd74b
L
326812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32682
32683 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32684 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32685 adresses to uintptr_t. Replace "long int" and "unsigned long
32686 int" with "greg_t" on va_arg.
32687
f1a77b01
L
326882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32689
32690 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32691 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32692
32693 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32694 Move e_machine check before EI_CLASS check. Handle x32
32695 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32696 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32697 SKIP_EM_IA_64 and include
32698 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32699
32700 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32701 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32702 (add_system_dir): New macro.
32703
32704 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32705 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32706
11b90b9f
JM
327072012-03-16 Joseph Myers <joseph@codesourcery.com>
32708
c36e1d23
JM
32709 [BZ #2551]
32710 [BZ #2552]
32711 [BZ #2553]
32712 [BZ #2554]
32713 [BZ #2562]
32714 [BZ #2563]
32715 [BZ #2565]
32716 [BZ #2566]
32717 [BZ #2576]
32718 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32719 (y0): Likewise.
32720 * math/w_j0f.c (j0f): Likewise.
32721 (y0f): Likewise.
32722 * math/w_j0l.c (__j0l): Likewise.
32723 (__y0l): Likewise.
32724 * math/w_j1.c (j1): Likewise.
32725 (y1): Likewise.
32726 * math/w_j1f.c (j1f): Likewise.
32727 (y1f): Likewise.
32728 * math/w_j1l.c (__j1l): Likewise.
32729 (__y1l): Likewise.
32730 * math/w_jn.c (jn): Likewise.
32731 (yn): Likewise.
32732 * math/w_jnf.c (jnf): Likewise.
32733 (ynf): Likewise.
32734 * math/w_jnl.c (__jnl): Likewise.
32735 (__ynl): Likewise.
32736 * math/libm-test.inc (j0_test): Add more tests.
32737 (j1_test): Likewise.
32738 (jn_test): Likewise. Add trailing semicolon to existing test.
32739 (y0_test): Likewise.
32740 (y1_test): Likewise.
32741 * sysdeps/i386/fpu/libm-test-ulps: Update.
32742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32743
11b90b9f
JM
32744 [BZ #13851]
32745 [BZ #13854]
32746 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32747 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32748 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32749 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32750 (__tanl): Set errno for infinite argument.
32751 * sysdeps/i386/fpu/mptan.c: Remove.
32752 * sysdeps/i386/fpu/s_tan.S: Likewise.
32753 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32754 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32755 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32756 * math/libm-test.inc (tan_test): Add more tests and enable more
32757 tests for double and long double.
32758 * sysdeps/i386/fpu/libm-test-ulps: Update.
32759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32760
6a1bd2a1
JK
327612012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32762
32763 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32764 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32765
10a803e0
RM
327662012-03-16 Roland McGrath <roland@hack.frob.com>
32767
32768 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32769 * configure.in: Use it for both main tree and add-ons.
32770 * configure: Regenerated.
32771
f196c7f7
L
327722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32773
32774 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32775
8848d99d
JM
327762012-03-16 Joseph Myers <joseph@codesourcery.com>
32777
96cbe7f4
JM
32778 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32779 in comment.
32780
8848d99d
JM
32781 [BZ #13851]
32782 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32783 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32784 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32785 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32786 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32787 infinite argument.
32788 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32789 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32790 != 0 for prec == 2.
32791 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32792 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32793 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32794 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32795 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32796 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32797 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32798 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32799 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32800 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32801 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32802 * math/libm-test.inc (cos_test): Add more tests and enable more
32803 tests for long double.
32804 (sin_test): Likewise.
32805 (sincos_test): Likewise.
32806 * sysdeps/i386/fpu/libm-test-ulps: Update.
32807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32808
dd7f4703
DM
328092012-03-16 David S. Miller <davem@davemloft.net>
32810
32811 * sysdeps/sparc/fpu/math_private.h: New file.
32812
006f1daa
DM
328132012-03-15 David S. Miller <davem@davemloft.net>
32814
c0c83bc8
DM
32815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32816 file.
e6a62e18 32817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32819 file.
e6a62e18
DM
32820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32825 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32826 sysdep routines.
32827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32828
88cb87d9
DM
32829 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32830 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32831
006f1daa 32832 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32834 sparc-ifunc.h
006f1daa 32835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32837 Likewise.
32838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32839 Likewise.
006f1daa
DM
32840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32844 Likewise.
006f1daa
DM
32845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32850 Likewise.
32851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32852 Likewise.
006f1daa
DM
32853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32873 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32874 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32875 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32877
11e0098e
AS
328782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32879
32880 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32881 scaling.
32882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32883
e85b09d0
AJ
328842012-03-15 Andreas Jaeger <aj@suse.de>
32885
32886 [BZ #13852]
32887 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32888 ieee754/flt-32 implementation for sin, cos and sincos.
32889 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32890 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32891 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32892 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32893 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32894 ieee754/flt-32 implementation for tan.
32895
32896 * math/libm-test.inc (cos_test): Enable some large input tests for
32897 float as well
32898 (sin_test): Likewise.
32899 (sincos_test): Likewise.
32900 (tan_test): Add tests for large input.
32901
32902 * sysdeps/i386/fpu/libm-test-ulps: Update.
32903
81c64153
AJ
329042012-03-15 Andreas Jaeger <aj@suse.de>
32905
32906 [BZ #13658]
32907 * math/libm-test.inc (cos_test): Add more test cases.
32908 (sin_test): Likewise.
32909 (sincos_test): Likewise.
32910
7bbfa5c6
AJ
329112012-03-15 Andreas Jaeger <aj@suse.de>
32912
32913 [BZ #13837]
32914 * math/libm-test.inc (cos_test): Add a test case for large input
32915 value.
32916 (sin_test): Likewise.
32917 (sincos_test): Likewise.
32918
329192012-03-15 Andreas Jaeger <aj@suse.de>,
32920 Joseph Myers <joseph@codesourcery.com>
32921
32922 [BZ #13658]
0671f479 32923 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32924 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32925 * sysdeps/i386/fpu/branred.c: Likewise.
32926 * sysdeps/i386/fpu/dosincos.c: Likewise.
32927 * sysdeps/i386/fpu/mpa.c: Likewise.
32928 * sysdeps/i386/fpu/s_cos.S: Likewise.
32929 * sysdeps/i386/fpu/s_sin.S: Likewise.
32930 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32931 * sysdeps/i386/fpu/sincos32.c: Likewise.
32932
32933 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32934 Define.
32935 (libc_feupdateenv_53bit): Define.
32936 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32937 Define.
32938 (libc_feupdateenv_53bit): Define.
32939
32940 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32941 53 bit (without extend i386 double precision).
32942
32943 * math/libm-test.inc (sincos_test): Add tests for large input.
32944 (sin): Likewise.
32945 (cos): Likewise.
32946
32947 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32948
9cad04ea
AS
329492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32950
32951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32952
f7062b9a
DM
329532012-03-15 David S. Miller <davem@davemloft.net>
32954
32955 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32956 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32957 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32958 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32971 file.
f7062b9a 32972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32974 file.
f7062b9a 32975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32977 file.
f7062b9a 32978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32980 file.
f7062b9a
DM
32981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32982 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32983 fmin/fmax sysdep routines.
32984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32985
7bd951ff
DM
329862012-03-14 David S. Miller <davem@davemloft.net>
32987
559398ab
DM
32988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32992 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32994 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32995 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33008 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33009 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33010 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33011 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33012 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33013 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33014 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33015 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33016 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33017 routines.
33018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33019 file.
559398ab 33020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33022 file.
559398ab 33023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33025 file.
559398ab 33026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33028 file.
559398ab 33029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33031 file.
559398ab 33032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33034 file.
33035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33036 file.
33037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33038 file.
33039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33040 file.
33041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33042 New file.
33043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33044 file.
33045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33046 file.
559398ab 33047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33049 file.
559398ab 33050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33052 file.
559398ab 33053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33055 file.
559398ab 33056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33058 VIS3 routines.
559398ab
DM
33059
33060 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33061 New file.
33062
5a1c1e32
DM
33063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33064
eae47a36
DM
33065 * sysdeps/sparc/configure.in: New file.
33066 * sysdeps/sparc/configure: Generate.
33067 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33068 * configure: Regenerate.
33069 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33070 * config.make.in (have-as-vis3): New.
33071 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33072 available use -Av9d instead of -Av9a.
33073 * sysdeps/sparc/sparc64/Makefile: Likewise.
33074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33076 New file.
33077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33078 file.
33079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33080 New file.
33081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33082 file.
eae47a36
DM
33083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33085 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33086 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33087 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33088
c0c83bc8
DM
33089 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33090 fzeros/fnegs to load 0x80000000 into a float register instead of
33091 using the stack.
7bd951ff
DM
33092 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33093
bd951ccb
JM
330942012-03-14 Joseph Myers <joseph@codesourcery.com>
33095
33096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33097 bits/syscall.h.
33098 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33099 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33100 ($(inst_includedir)/bits/syscall.h): Remove rule.
33101 ($(objpfx)bits/syscall.d): Include instead of
33102 $(objpfx)syscall-list.d.
33103 (generated): Change syscall-list.h and syscall-list.d to
33104 bits/syscall.h and bits/syscall.d.
33105
bb4e6db2
RM
331062012-03-14 Roland McGrath <roland@hack.frob.com>
33107
33108 [BZ #13846]
33109 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33110
aa4a2ae1
JM
331112012-03-14 Joseph Myers <joseph@codesourcery.com>
33112
e456826d
JM
33113 [BZ #13841]
33114 * math/s_csqrt.c: Include <float.h>.
33115 (__csqrt): Scale large or subnormal inputs.
33116 * math/s_csqrtf.c: Likewise.
33117 * math/s_csqrtl.c: Likewise.
33118 * math/libm-test.inc (csqrt_test): Add more tests.
33119 * sysdeps/i386/fpu/libm-test-ulps: Update.
33120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33121
aa4a2ae1
JM
33122 [BZ #13840]
33123 * math/libm-test.inc (hypot_test): Add more tests.
33124
7c10fd35
DM
331252012-03-13 David S. Miller <davem@davemloft.net>
33126
33127 [BZ #13840]
33128 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33129 double-precision for the calculation instead of scaling.
33130
f453b98b
JM
331312012-03-13 Joseph Myers <joseph@codesourcery.com>
33132
33133 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33134 manipulate bits before adding and subtracting TWO52[sx].
33135 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33136 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33137 Likewise.
33138 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33139
09a3453f
DM
331402012-03-13 David S. Miller <davem@davemloft.net>
33141
8e59da90
DM
33142 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33143 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33145 rtld-global-offsets.h
33146 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33147
2a8ab7f2
DM
33148 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33149 large parameters.
33150
10f62770
DM
33151 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33152
5f0bdb18
DM
33153 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33154 'err' in the ifdef scope in which it is actually used.
33155
09a3453f
DM
33156 * nss/nss_db/db-init.c: Include string.h
33157
b4b2eb5e
DM
331582012-03-12 David S. Miller <davem@davemloft.net>
33159
98bb2f1c
DM
33160 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33161 masking out of the most significant byte of random value used.
33162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33163 Fix coding style in previous change.
33164
b4b2eb5e
DM
33165 * sysdeps/unix/sysv/linux/kernel-features.h
33166 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33167 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33168 expression.
33169 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33170 later.
33171
6e226b09
DM
331722012-03-11 David S. Miller <davem@davemloft.net>
33173
a1bcbd40
DM
33174 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33175 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33177 for 'resultvar' otherwise things get truncated on 64-bit.
33178
cb9d6174
DM
33179 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33180 Fix masking out of the most significant byte of random value used.
33181
6e226b09
DM
33182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33183
058c132d
AS
331842012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33185
33186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33187
2d2cd515
DM
331882012-03-09 David S. Miller <davem@davemloft.net>
33189
33190 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33191 variables with appropriate CPP guards.
33192 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33193 frame pointer, not the stack pointer. Correct layout comments. Fix test
33194 on resulting framesize and the management of the outregs buffer for pltexit.
33195 Preserve floating point return values across _dl_call_pltexit call.
33196 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33197 framesize and the management of the outregs buffer for pltexit.
33198 Preserve floating point return values across _dl_call_pltexit
33199 call.
33200 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33201 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33202 (print_exit): Fix format string for return register value.
33203
9a07f9d0
JM
332042012-03-10 Joseph Myers <joseph@codesourcery.com>
33205
33206 * sunrpc/Makefile (others): Add rpcgen.
33207 ($(objpfx)rpcgen): Remove special build rule and dependency on
33208 libc.
33209 * sunrpc/rpcgen.c: New file.
33210
547b5e30
PE
332112012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33212
c524201a
PE
33213 [BZ #13673]
33214 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33215 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33216 * sysdeps/i386/crti.S: Likewise.
33217 * sysdeps/i386/crtn.S: Likewise.
33218 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33219 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33220 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33221 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33222 * sysdeps/sh/crti.S: Likewise.
33223 * sysdeps/sh/crtn.S: Likewise.
33224 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33225
7b6235f2
PE
33226 [BZ #13673]
33227 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33228 with URL.
33229 * locale/programs/locfile-kw.gperf: Likewise.
33230 * locale/programs/charmap-kw.h: Regenerated.
33231 * locale/programs/locfile-kw.h: Likewise.
33232
547b5e30
PE
33233 [BZ #13673]
33234 * intl/plural.y: Replace FSF snail mail address with URL.
33235 * intl/plural.c: Regenerated.
33236
5f0a5dae
RH
332372012-03-09 Richard Henderson <rth@twiddle.net>
33238
33239 * include/math_private.h: Remove file.
33240 * math/math_private.h: Move file ...
33241 * sysdeps/generic/math_private.h: ... here.
33242
b8c03620
RH
33243 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33244 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33245 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33246
4e234f5d 33247 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33248 and <math_private.h>.
33249 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33250 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33251 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33252 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33253 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33254 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33255 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33257 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33258 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33260 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33261 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33263 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33264 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33265 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33266 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33267 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33268 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33270 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33271 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33273 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33274 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33275 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33276 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33277 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33278 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33279 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33280 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33281 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33282 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33283 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33284 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33285 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33286 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33287 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33289 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33290 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33291 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33292 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33293 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33294 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33295 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33296 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33297 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33298 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33299 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33300 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33301 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33302 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33303 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33304 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33305 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33306 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33307 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33308 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33309 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33310 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33311 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33312 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33313 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33314 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33315 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33316 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33317 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33318 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33319 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33321 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33323 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33324 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33325 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33326 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33327 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33328 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33329 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33330 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33331 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33332 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33333 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33334 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33335 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33336 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33337 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33338 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33339 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33340 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33341 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33342 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33343 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33344 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33345 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33346 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33347 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33348 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33349 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33350 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33351 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33352 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33353 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33354 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33355 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33356 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33357 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33358 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33359 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33360 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33361 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33362 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33363 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33364 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33365 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33366 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33367 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33368 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33369 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33370 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33371 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33372 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33373 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33374 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33375 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33376 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33377 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33378 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33379 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33380 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33381 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33382 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33383 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33384 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33385 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33386 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33387 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33388 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33389 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33390 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33391 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33392 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33393 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33394 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33395 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33396 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33397 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33398 * sysdeps/ieee754/k_standard.c: Likewise.
33399 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33400 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33401 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33402 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33403 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33404 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33405 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33406 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33407 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33408 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33409 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33410 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33411 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33412 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33413 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33414 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33415 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33416 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33417 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33418 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33419 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33420 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33421 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33422 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33423 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33424 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33425 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33426 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33427 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33428 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33429 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33430 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33431 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33432 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33433 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33434 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33435 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33436 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33437 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33438 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33439 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33440 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33441 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33442 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33443 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33444 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33445 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33446 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33447 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33448 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33449 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33450 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33451 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33452 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33453 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33454 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33455 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33456 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33457 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33458 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33459 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33460 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33461 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33462 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33465 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33466 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33467 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33469 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33471 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33472 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33473 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33474 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33475 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33476 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33477 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33478 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33479 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33480 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33481 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33482 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33484 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33485 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33486 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33487 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33488 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33489 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33490 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33491 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33492 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33493 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33494 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33495 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33496 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33497 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33498 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33500 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33501 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33502 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33503 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33504 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33505 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33506 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33507 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33508 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33509 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33510 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33511 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33512 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33513 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33514 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33515 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33516 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33517 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33518 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33519 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33520 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33521 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33522 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33523 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33524 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33525 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33526 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33527 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33528 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33529 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33530 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33531 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33532 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33533 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33534 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33535 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33536 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33537 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33538 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33539 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33540 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33541 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33542 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33543 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33544 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33545 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33546 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33547 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33548 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33549 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33550 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33551 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33552 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33553 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33554 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33555 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33556 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33557 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33558 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33559 * sysdeps/ieee754/s_lib_version.c: Likewise.
33560 * sysdeps/ieee754/s_matherr.c: Likewise.
33561 * sysdeps/ieee754/s_signgam.c: Likewise.
33562 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33563 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33564 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33565 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33566 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33567 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33568 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33569 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33570 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33571 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33572 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33573 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33574 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33575 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33576 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33577 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33578 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33579 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33580 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33582 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33583
1991fa03
JM
335842012-03-09 Joseph Myers <joseph@codesourcery.com>
33585
33586 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33587 * sunrpc/rpc_main.c: Likewise.
33588 * sunrpc/rpc_svcout.c: Likewise.
33589
60d6f5a6
DM
335902012-03-09 David S. Miller <davem@davemloft.net>
33591
33592 * include/math_private.h: New file.
33593
4962050e
JM
335942012-03-09 Joseph Myers <joseph@codesourcery.com>
33595
02a6f887
JM
33596 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33597 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33598 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33599 from <bits/socket_type.h>.
33600 (enum __socket_type): Don't define here.
33601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33603 bits/socket_type.h.
33604
c6e013c1
JM
33605 [BZ #13566]
33606 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33607 checking __USE_GNU.
33608
4962050e
JM
33609 * Makerules ($(inst_includedir)/%.h): New rule.
33610 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33611 (install-others): Remove variable setting.
33612 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33613
38842f45
RH
336142012-03-08 Richard Henderson <rth@twiddle.net>
33615
67bb6da6
RH
33616 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33617 from macro to inline function; merge with the
33618 !__LIBC_INTERNAL_MATH_INLINES version.
33619 (__ieee754_sqrtf): Likewise.
33620
15194b4b
RH
33621 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33622 to inline function.
33623 (__rintf, __floor, __floorf): Likewise.
33624
64e21ede
RH
33625 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33626 macro to inline function.
33627 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33628
38842f45
RH
33629 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33630 not <math/math_private.h>.
33631
c64bf5fe
DM
336322012-03-08 David S. Miller <davem@davemloft.net>
33633
33634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33635 copyright year.
33636 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33637
82d86f28
TS
336382012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33639
33640 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33641 normalization.
33642 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33643 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33644
aea5d727
UD
336452012-03-08 Ulrich Drepper <drepper@gmail.com>
33646
33647 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33648 be defined individually, they must be defined as a block. Define
33649 S for printing a string instead of hidint the different by using a
33650 macro for adding the 'l'.
33651 * stdio-common/tst-fphex-wide.c: Adjust.
33652
70bca0a3
MP
336532012-03-07 Marek Polacek <polacek@redhat.com>
33654
33655 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33656
65b81130
MP
336572012-03-08 Marek Polacek <polacek@redhat.com>
33658
33659 [BZ #13806]
33660 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33661 * stdio-common/tst-fphex.c: Define a few macros to make the
33662 test reusable. Use them.
33663 * stdio-common/tst-fphex-wide.c: New file.
33664
07037eeb
JM
336652012-03-08 Joseph Myers <joseph@codesourcery.com>
33666
a7a93d50
JM
33667 [BZ #6911]
33668 * manual/macros.texi (gnusystems): New macro.
33669 (nongnusystems): Likewise.
33670 (gnulinuxhurdsystems): Likewise.
33671 (gnuhurdsystems): Likewise..
33672 (gnulinuxsystems): Likewise.
33673 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33674 variants of the GNU system, not "GNU system".
33675 * manual/conf.texi: Likewise.
33676 * manual/errno.texi: Likewise. Update example of errno macro
33677 expansion.
33678 * manual/filesys.texi: Likewise.
33679 (getumask): Document as specific to GNU/Hurd.
33680 * manual/install.texi: Likewise. Reword some references to
33681 GNU/Linux.
33682 * manual/intro.texi: Likewise.
33683 * manual/io.texi: Likewise.
33684 (File Name Portability): Detail which constraints are inapplicable
33685 to all GNU systems and which are only inapplicable to GNU/Hurd.
33686 * manual/job.texi: Likewise.
33687 * manual/llio.texi: Likewise.
33688 (O_NOCTTY): Document as present on GNU/Linux.
33689 * manual/maint.texi: Likewise.
33690 * manual/memory.texi: Likewise.
33691 * manual/pattern.texi: Likewise.
33692 * manual/pipe.texi: Likewise.
33693 * manual/process.texi: Likewise.
33694 * manual/resource.texi: Likewise.
33695 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33696 child on GNU/Hurd.
33697 * manual/setjmp.texi: Likewise.
33698 * manual/signal.texi: Likewise.
33699 * manual/startup.texi: Likewise.
33700 * manual/stdio.texi: Likewise.
33701 * manual/terminal.texi: Likewise.
33702 (ONLCR): Document as POSIX.
33703 (OXTABS): Document availability on GNU/Linux as XTABS.
33704 (ONOEOT): Document availability separately from other bits.
33705 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33706 * manual/time.texi: Likewise.
33707 * manual/users.texi: Likewise.
33708 * INSTALL: Regenerated.
33709 * sysdeps/gnu/errlist.c: Regenerated.
33710
07037eeb
JM
33711 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33712 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33713 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33714 puts.
33715 * configure: Regenerated.
33716
d1d3431a
JM
337172012-03-07 Joseph Myers <joseph@codesourcery.com>
33718
af6a1e37
JM
33719 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33720 default includes instead of AC_HEADER_CHECK.
33721 * sysdeps/i386/configure: Regenerated.
33722
d1d3431a
JM
33723 [BZ #10716]
33724 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33725 * math/s_cacoshf.c (__cacoshf): Likewise.
33726 * math/s_cacoshl.c (__cacoshl): Likewise.
33727 * math/s_casinh.c (__casinh): Set signs of result from argument.
33728 * math/s_casinhf.c (__casinhf): Likewise.
33729 * math/s_casinhl.c (__casinhl): Likewise.
33730 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33731 (casinh_test): Add more tests.
33732 * sysdeps/i386/fpu/libm-test-ulps: Update.
33733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33734
482ff4da
UD
337352012-03-07 Ulrich Drepper <drepper@gmail.com>
33736
872fda05
UD
33737 * po/zh_TW.po: Update from translation team.
33738
a4300c7a
UD
33739 * login/Makefile (distribute): Remove variable.
33740 * catgets/Makefile: Likewise.
33741 * mach/Makefile: Likewise.
33742 * malloc/Makefile: Likewise.
33743 * misc/Makefile: Likewise.
33744 * iconv/Makefile: Likewise.
33745 * nscd/Makefile: Likewise.
33746 * hurd/Makefile: Likewise.
33747 * manual/Makefile: Likewise.
33748 * locale/Makefile: Likewise.
33749 * intl/Makefile: Likewise.
33750 * conform/Makefile: Likewise.
33751 * nss/Makefile: Likewise.
33752 * time/Makefile: Likewise.
33753 * soft-fp/Makefile: Likewise.
33754 * dirent/Makefile: Likewise.
33755 * gmon/Makefile: Likewise.
33756 * po/Makefile: Likewise.
33757 * rt/Makefile: Likewise.
33758 * socket/Makefile: Likewise.
33759 * math/Makefile: Likewise.
33760 * signal/Makefile: Likewise.
33761 * debug/Makefile: Likewise.
33762 * elf/Makefile: Likewise.
33763 * timezone/Makefile: Likewise.
33764 * stdlib/Makefile: Likewise.
33765 * iconvdata/Makefile: Likewise.
33766 * sunrpc/Makefile: Likewise.
33767 * io/Makefile: Likewise.
33768 * argp/Makefile: Likewise.
33769 * inet/Makefile: Likewise.
33770 * hesiod/Makefile: Likewise.
33771 * grp/Makefile: Likewise.
33772 * csu/Makefile: Likewise.
33773 * wctype/Makefile: Likewise.
33774 * crypt/Makefile: Likewise.
33775 * libio/Makefile: Likewise.
33776 * string/Makefile: Likewise.
33777 * nis/Makefile: Likewise.
33778 * resolv/Makefile: Likewise.
33779 * stdio-common/Makefile: Likewise.
33780 * wcsmbs/Makefile: Likewise.
33781 * dlfcn/Makefile: Likewise.
33782 * posix/Makefile: Likewise.
33783
3b7c4e74 33784 [BZ #6959]
482ff4da
UD
33785 * timezone/Makefile: Don't install timezone files, just the programs
33786 and scripts.
33787
f72ed77d
UD
337882012-03-06 Ulrich Drepper <drepper@gmail.com>
33789
a000466f
UD
33790 * nss/databases.def: Add missing gshadow entry.
33791
f72ed77d
UD
33792 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33793
a53b7a4e
MP
337942012-03-06 Marek Polacek <polacek@redhat.com>
33795
33796 [BZ #13726]
33797 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33798 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33799 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33800 * stdio-common/tst-long-dbl-fphex.c: New file.
33801
e9258400
DM
338022012-03-06 David S. Miller <davem@davemloft.net>
33803
33804 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33805 (set_obp_int): New function.
33806 (get_obp_int): New function.
33807 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33808 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33809 Avoid unused variable warnings on 'val' and use builtin_expect.
33810 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33811 __builtin_expect.
e9258400
DM
33812 (INLINE_CLONE_SYSCALL): Likewise.
33813
3bd2c723
DM
338142012-03-05 David S. Miller <davem@davemloft.net>
33815
33816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33817
bbb78d03
AS
338182012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33819
884c5db4
AS
33820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33821
bbb78d03
AS
33822 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33823 only for |x| >= 40.
33824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33825
1c9f702a 338262012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33827
33828 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33829 Replace gettimeofday with __vdso_gettimeofday.
33830
7be16f82
RM
33831 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33832 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33833 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33834
33835 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33836 time with __vdso_time.
33837
ed58a00f
JM
338382012-03-05 Joseph Myers <joseph@codesourcery.com>
33839
33840 * manual/lang.texi (size_t): Note types to which size_t may be
33841 equivalent with the GNU C Library, but do not describe when
33842 differences between them are significant.
33843
30ee4ced
AJ
338442012-03-05 Andreas Jaeger <aj@suse.de>
33845
33846 * sysdeps/i386/fpu/libm-test-ulps: Update.
33847
b7cd39e8
JM
338482012-03-05 Joseph Myers <joseph@codesourcery.com>
33849
33850 [BZ #3976]
33851 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33852 (__ieee754_pow): Save and restore rounding mode and use
33853 round-to-nearest for main computations.
33854 * math/libm-test.inc (pow_test_tonearest): New function.
33855 (pow_test_towardzero): Likewise.
33856 (pow_test_downward): Likewise.
33857 (pow_test_upward): Likewise.
33858 (main): Call the new functions.
33859 * sysdeps/i386/fpu/libm-test-ulps: Update.
33860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33861
33862 [BZ #3976]
33863 * math/libm-test.inc (cosh_test_tonearest): New function.
33864 (cosh_test_towardzero): Likewise.
33865 (cosh_test_downward): Likewise.
33866 (cosh_test_upward): Likewise.
33867 (sinh_test_tonearest): Likewise.
33868 (sinh_test_towardzero): Likewise.
33869 (sinh_test_downward): Likewise.
33870 (sinh_test_upward): Likewise.
33871 (main): Call the new functions.
33872 * sysdeps/i386/fpu/libm-test-ulps: Update.
33873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33874
6c6a98c9
TV
338752012-03-05 Tom de Vries <tom@codesourcery.com>
33876
33877 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33878 default stack guard is set in last bytes.
33879 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33880
21bb2d2e 338812012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33882
21bb2d2e 33883 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33884
21bb2d2e
AJ
33885 [BZ #13656]
33886 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33887 possibly allocate from heap instead of stack.
33888 * stdio-common/bug-vfprintf-nargs.c: New file.
33889 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33890
c6922934
AS
338912012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33892
33893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33894
bc957d53
MP
338952012-03-03 Marek Polacek <polacek@redhat.com>
33896
33897 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33898 * math/math_private.h: Likewise.
33899 * stdlib/tst-strtod.c: Likewise.
33900 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33901 * sysdeps/x86_64/bits/atomic.h: Likewise.
33902
6358490d
DM
339032012-03-02 David S. Miller <davem@davemloft.net>
33904
33905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33909 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33910 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33911 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33912 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33913
01ae168d
RM
339142012-03-02 Roland McGrath <roland@hack.frob.com>
33915
d9a17c07
RM
33916 [BZ #13792]
33917 * manual/examples/README: New file, says the example source files
33918 can be used under GPL>=2.
33919 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33920 line containing just "*/".
33921 * manual/examples/add.c: Add copyright header (GPL>=2).
33922 * manual/examples/argp-ex1.c: Likewise.
33923 * manual/examples/argp-ex2.c: Likewise.
33924 * manual/examples/argp-ex3.c: Likewise.
33925 * manual/examples/argp-ex4.c: Likewise.
33926 * manual/examples/atexit.c: Likewise.
33927 * manual/examples/db.c: Likewise.
33928 * manual/examples/dir.c: Likewise.
33929 * manual/examples/dir2.c: Likewise.
33930 * manual/examples/execinfo.c: Likewise.
33931 * manual/examples/filecli.c: Likewise.
33932 * manual/examples/filesrv.c: Likewise.
33933 * manual/examples/fmtmsgexpl.c: Likewise.
33934 * manual/examples/genpass.c: Likewise.
33935 * manual/examples/inetcli.c: Likewise.
33936 * manual/examples/inetsrv.c: Likewise.
33937 * manual/examples/isockad.c: Likewise.
33938 * manual/examples/longopt.c: Likewise.
33939 * manual/examples/memopen.c: Likewise.
33940 * manual/examples/memstrm.c: Likewise.
33941 * manual/examples/mkfsock.c: Likewise.
33942 * manual/examples/mkisock.c: Likewise.
33943 * manual/examples/mygetpass.c: Likewise.
33944 * manual/examples/pipe.c: Likewise.
33945 * manual/examples/popen.c: Likewise.
33946 * manual/examples/rprintf.c: Likewise.
33947 * manual/examples/search.c: Likewise.
33948 * manual/examples/select.c: Likewise.
33949 * manual/examples/setjmp.c: Likewise.
33950 * manual/examples/sigh1.c: Likewise.
33951 * manual/examples/sigusr.c: Likewise.
33952 * manual/examples/stpcpy.c: Likewise.
33953 * manual/examples/strdupa.c: Likewise.
33954 * manual/examples/strftim.c: Likewise.
33955 * manual/examples/strncat.c: Likewise.
33956 * manual/examples/subopt.c: Likewise.
33957 * manual/examples/swapcontext.c: Likewise.
33958 * manual/examples/termios.c: Likewise.
33959 * manual/examples/testopt.c: Likewise.
33960 * manual/examples/testpass.c: Likewise.
33961 * manual/examples/timeval_subtract.c: Likewise.
33962
01ae168d
RM
33963 [BZ #13792]
33964 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33965 function to ...
33966 * manual/timeval_subtract.c.texi: ... here, new file.
33967
49efa33d
DM
339682012-03-02 David S. Miller <davem@davemloft.net>
33969
33970 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33971
28afd92d
JM
339722012-03-02 Joseph Myers <joseph@codesourcery.com>
33973
804360ed
JM
33974 [BZ #3976]
33975 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33976 (__sin): Save and restore rounding mode and use round-to-nearest
33977 for all computations.
33978 (__cos): Save and restore rounding mode and use round-to-nearest
33979 for all computations.
33980 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33981 <fenv.h>.
33982 (tan): Save and restore rounding mode and use round-to-nearest for
33983 all computations.
33984 * math/libm-test.inc (cos_test_tonearest): New function.
33985 (cos_test_towardzero): Likewise.
33986 (cos_test_downward): Likewise.
33987 (cos_test_upward): Likewise.
33988 (sin_test_tonearest): Likewise.
33989 (sin_test_towardzero): Likewise.
33990 (sin_test_downward): Likewise.
33991 (sin_test_upward): Likewise.
33992 (tan_test_tonearest): Likewise.
33993 (tan_test_towardzero): Likewise.
33994 (tan_test_downward): Likewise.
33995 (tan_test_upward): Likewise.
33996 (main): Call the new functions.
33997 * sysdeps/i386/fpu/libm-test-ulps: Update.
33998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33999
a6d06d7b
JM
34000 [BZ #10135]
34001 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34002 small n, then large n, before computing and testing k+n.
34003 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34004 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34005 Likewise.
34006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34007 Likewise.
34008 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34009 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34010 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34011 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34012 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34013 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34014 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34015 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34016 * math/libm-test.inc (scalbn_test): Add more tests.
34017 (scalbln_test): Likewise.
34018
07e12bb3
JM
34019 * manual/filesys.texi (mode_t): Describe constraints on size and
34020 signedness, not exact equivalence to a particular type.
34021 (ino_t): Likewise.
34022 (ino64_t): Likewise.
34023 (dev_t): Likewise.
34024 (nlink_t): Likewise.
34025 (blkcnt_t): Likewise.
34026 (blkcnt64_t): Likewise.
34027 * manual/llio.texi (off_t): Likewise.
34028
28afd92d
JM
34029 [BZ #3976]
34030 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34031 (__ieee754_exp): Save and restore rounding mode and use
34032 round-to-nearest for all computations.
34033 * math/libm-test.inc (exp_test_tonearest): New function.
34034 (exp_test_towardzero): Likewise.
34035 (exp_test_downward): Likewise.
34036 (exp_test_upward): Likewise.
34037 (main): Call the new functions.
34038 * sysdeps/i386/fpu/libm-test-ulps: Update.
34039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34040
b1eeb65d
CD
340412012-03-01 Chris Demetriou <cgd@google.com>
34042
34043 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34044 have predictable order.
34045
53362a4b
DM
340462012-03-01 David S. Miller <davem@davemloft.net>
34047
3c969083
DM
34048 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34049
759707de
DM
34050 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34051 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34052 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34053 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34054
dfdb8ff2
DM
34055 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34056 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34057 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34059 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34060 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34061 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34062 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34063 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34064
ead89f96
DM
34065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34066
7f66bd07
DM
34067 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34068 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34069 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34070
53362a4b
DM
34071 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34072 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34073 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34074 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34075 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34076 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34077 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34078 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34079 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34080 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34081 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34082 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34084 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34085 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34087 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34088 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34089 * sysdeps/sparc/elf/configure: Regenerated.
34090
7b1902cb
JM
340912012-03-01 Joseph Myers <joseph@codesourcery.com>
34092
bec039bc
JM
34093 * configure.in (AS, LD): Require binutils 2.20 or later.
34094 * configure: Regenerated.
34095 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34096 as required minimum version.
34097 * INSTALL: Regenerated.
34098
7b1902cb
JM
34099 [BZ #2541]
34100 [BZ #4108]
34101 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34102 before squaring exponent.
34103 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34104 bottom long double and 27 bits of top long double before squaring
34105 exponent.
34106 * math/libm-test.inc (erfc_test): Add more tests.
34107 * sysdeps/i386/fpu/libm-test-ulps: Update.
34108 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34110
f775c276
KT
341112012-03-01 Kai Tietz <ktietz@redhat.com>
34112
34113 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34114 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34115 containing bit-fields.
34116 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34117 * soft-fp/single.h (_FP_UNION_S): Likewise.
34118 * soft-fp/double.h (_FP_UNION_D): Likewise.
34119
5b8a4d4a
JM
341202012-02-29 Joseph Myers <joseph@codesourcery.com>
34121
0bab47b6
JM
34122 [BZ #13786]
34123 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34124 not include ../strcmp.S.
34125 [USE_AS_STRNCASECMP_L]: Likewise.
34126 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34127 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34128 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34129 (__strncasecmp_l_ia32): Define as alias to
34130 __strncasecmp_l_nonascii.
34131
0fcad3e2
JM
34132 [BZ #5794]
34133 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34134 * sysdeps/i386/fpu/libm-test-ulps: Update.
34135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34136
5b8a4d4a
JM
34137 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34139
8fdceb2e
JL
341402012-02-29 Jeff Law <law@redhat.com>
34141
34142 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34143 out of bounds read.
34144
1f393a11
MP
341452012-02-29 Marek Polacek <polacek@redhat.com>
34146
34147 [BZ #13706]
34148 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34149 * elf/Makefile: Add rules to run tst-unused-dep.out.
34150
8847f037
DM
341512012-02-28 David S. Miller <davem@davemloft.net>
34152
34153 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34154 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34155 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34156 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34157 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34158 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34159
169d7f11
JM
341602012-02-29 Joseph Myers <joseph@codesourcery.com>
34161
34162 * math/libm-test.inc (llround_test): Move one test from
34163 lround_test. Use TEST_f_L in moved test.
34164 (lround_test): Move misplaced test to llround_test. Add testcase
34165 from bug 2561.
34166
39adf059
UD
341672012-02-28 Ulrich Drepper <drepper@gmail.com>
34168
34169 * sysdeps/x86_64/fpu/e_expf.S: New file.
34170 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34171
71b5d1c5
SB
341722012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34173
34174 [BZ #13637]
34175 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34176 of remain_len that may cause incomplete multi-byte character and
34177 false match.
34178 * posix/bug-regex33.c: New file.
34179 * posix/Makefile (tests): Add bug-regex33.
34180
1f77f049
JM
341812012-02-28 Joseph Myers <joseph@codesourcery.com>
34182
34183 * manual/macros.texi: New file.
34184 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34185 * manual/libc.texinfo: Include macros.texi.
34186 * manual/creatute.texi: Likewise.
34187 * manual/install.texi: Likewise.
34188 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34189 @glibcadj{} in references to the GNU C Library.
34190 * manual/charset.texi: Likewise.
34191 * manual/conf.texi: Likewise.
34192 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34193 when not using those macros.
34194 * manual/creature.texi: Likewise.
34195 * manual/crypt.texi: Likewise.
34196 * manual/errno.texi: Likewise.
34197 * manual/filesys.texi: Likewise.
34198 * manual/header.texi: Likewise.
34199 * manual/install.texi: Likewise.
34200 * manual/intro.texi: Likewise.
34201 * manual/io.texi: Likewise.
34202 * manual/job.texi: Likewise.
34203 * manual/lang.texi: Likewise.
34204 * manual/libc.texiinfo: Likewise.
34205 * manual/llio.texi: Likewise.
34206 * manual/locale.texi: Likewise.
34207 * manual/maint.texi: Likewise.
34208 * manual/math.texi: Likewise.
34209 * manual/memory.texi: Likewise.
34210 * manual/message.texi: Likewise.
34211 * manual/nss.texi: Likewise.
34212 * manual/pattern.texi: Likewise.
34213 * manual/process.texi: Likewise.
34214 * manual/resource.texi: Likewise.
34215 * manual/search.texi: Likewise.
34216 * manual/setjmp.texi: Likewise.
34217 * manual/signal.texi: Likewise.
34218 * manual/socket.texi: Likewise.
34219 * manual/startup.texi: Likewise.
34220 * manual/stdio.texi: Likewise.
34221 * manual/string.texi: Likewise.
34222 * manual/sysinfo.texi: Likewise.
34223 * manual/syslog.texi: Likewise.
34224 * manual/terminal.texi: Likewise.
34225 * manual/time.texi: Likewise.
34226 * manual/users.texi: Likewise.
34227 * INSTALL: Regenerated.
34228 * NOTES: Regenerated.
d40c5d54 34229 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34230
450bf206
AS
342312012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34232
34233 * include/dirent.h: Include <dirstream.h> before
34234 <dirent/dirent.h>.
34235
741a235b
DM
342362012-02-28 David S. Miller <davem@davemloft.net>
34237
34238 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34239 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34240 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34241 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34242
d6b5aa58
DM
342432012-02-27 David S. Miller <davem@davemloft.net>
34244
1aff59a3
DM
34245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34247 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34248 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34249
d6b5aa58
DM
34250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34251 frame pointer instead of stack pointer relative arg slot.
34252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34253 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34254 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34255
433f48bf
CD
342562012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34257
34258 [BZ #3992]
34259 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34260
d674b76d
DM
342612012-02-27 David S. Miller <davem@davemloft.net>
34262
34263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34267 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34268 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34269 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34270 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34271
0e7727f7
JM
342722012-02-27 Joseph Myers <joseph@codesourcery.com>
34273
34274 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34275 later. Allow versions 5-9.
43be4ca2 34276 * configure: Regenerated.
0e7727f7
JM
34277 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34278 required minimum version and 4.6 as recommended version. Do not
34279 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34280 * INSTALL: Regenerated.
0e7727f7 34281
a78bc654
DM
342822012-02-27 David S. Miller <davem@davemloft.net>
34283
428d5830
DM
34284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34288 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34289 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34290 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34291 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34292
a78bc654
DM
34293 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34294 manipulate bits before adding and subtracting TWO112[sx].
34295 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34296
4579f81c
RM
342972012-02-27 Roland McGrath <roland@hack.frob.com>
34298
36c8acb4
RM
34299 [BZ #13775]
34300 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34301 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34302 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34303 being in POSIX, because they are in 1003.1-2008.
34304
84ad622b
RM
34305 * rt/tst-aio.c: Include <fcntl.h>.
34306 * rt/tst-aio7.c: Likewise.
34307 * rt/tst-aio64.c: Likewise.
34308
4579f81c
RM
34309 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34310
abd923db
JM
343112012-02-27 Joseph Myers <joseph@codesourcery.com>
34312
34313 * manual/install.texi (--with-headers): Describe headers as
34314 interface headers, not private headers.
34315 (Specific advice for GNU/Linux systems): Describe use of headers
34316 from "make headers_install", not private headers from older
34317 kernels.
43be4ca2 34318 * INSTALL: Regenerated.
abd923db
JM
34319 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34320 Change to 2.6.19.
34321 * sysdeps/unix/sysv/linux/configure: Regenerated.
34322
6664049b
JM
34323 * manual/llio.texi (fclean): Remove documentation.
34324
bb8b6697
JM
34325 * manual/Makefile (libc-texi-generated): New variable. Include
34326 version.texi.
34327 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34328 $(libc-texi-generated), not duplicated list of files.
34329 (version.texi, stamp-version): New rules.
34330 (realclean): Remove $(libc-texi-generated), not individual files
34331 from that list. Do not remove dir-add.texinfo.
34332 * manual/libc.texinfo: Comment out uses of edition numbers and
34333 references to printed manual. Remove last-updated dates.
34334 (EDITION): Comment out.
34335 (ISBN): Likewise.
34336 (VERSION, UPDATED): Remove.
34337 (version.texi): Include.
34338
12e5c3b9
AS
343392012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34340
34341 * sysdeps/posix/spawni.c: Include <signal.h>.
34342 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34343 * sysdeps/pthread/aio_fsync.c: Likewise.
34344
4efeffc1 343452012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34346
ba63ba08
UD
34347 * conform/Makefile (tests): Run only when not cross-compiling and
34348 when fast-check is not defined.
34349
d94a4670
UD
34350 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34351 * conform/data/limits.h-data: Fixes for POSIX2008.
34352 * conform/run-conformtest.sh: Run all tests.
34353 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34354 headers.
34355 * include/bits/dlfcn.h: Likewise.
34356 * include/langinfo.h: Likewise.
34357 * include/monetary.h: Likewise.
34358 * include/sys/poll.h: Likewise.
34359
34360 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34361 for __USE_GNU.
34362 * posix/spawn.h: Define __need_sigset_t.
34363 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34364 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34365 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34366 to get sigevent_t only.
34367 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34368 only for __USE_GNU.
34369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34370 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34371 process_vm_writev only for __USE_GNU.
34372 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34373
34374 * conform/Makefile: For now ignore errors from run-conformtest.
34375 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34376 POSIX to avoid namespace pollution. Don't prepend headers.
34377 * conform/data/aio.h-data: Fixes for POSIX testing.
34378 * conform/data/fcntl.h-data: Likewise.
34379 * conform/data/glob.h-data: Likewise.
34380 * conform/data/grp.h-data: Likewise.
34381 * conform/data/pthread.h-data: Likewise.
34382 * conform/data/pwd.h-data: Likewise.
34383 * conform/data/signal.h-data: Likewise.
34384 * conform/data/spawn.h-data: Likewise.
34385 * conform/data/stdio.h-data: Likewise.
34386 * conform/data/stdlib.h-data: Likewise.
34387 * conform/data/stropts.h-data: Likewise.
34388 * conform/data/sys/mman.h-data: Likewise.
34389 * conform/data/sys/stat.h-data: Likewise.
34390 * conform/data/sys/types.h-data: Likewise.
34391 * conform/data/sys/wait.h-data: Likewise.
34392 * conform/data/time.h-data: Likewise.
34393 * conform/data/unistd.h-data: Likewise.
34394 * conform/data/utime.h-data: Likewise.
34395
34396 * io/sys/stat.h: fchmod was always in POSIX.
34397 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34398 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34399 * rt/aio.h: Define __need_timespec before including <time.h>.
34400 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34401 struct. Add forward declaration of pthread_attr_t and use it in
34402 sigevent.
34403 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34404 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34405 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34406 always remove CLK_TCK definition.
34407
c20105c3
AS
344082012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34409
34410 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34411
7a270350
UD
344122012-02-25 Ulrich Drepper <drepper@gmail.com>
34413
31341567
UD
34414 * conform/run-conformtest.sh: New file.
34415 * conform/Makefile: Run run-conformtest for tests.
34416 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34417 support.
34418
34419 * conform/data/uchar.h-data: New file.
34420 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34421 * conform/data/arpa/inet.h-data: Likewise.
34422 * conform/data/assert.h-data: Likewise.
34423 * conform/data/complex.h-data: Likewise.
34424 * conform/data/cpio.h-data: Likewise.
34425 * conform/data/ctype.h-data: Likewise.
34426 * conform/data/dirent.h-data: Likewise.
34427 * conform/data/dlfcn.h-data: Likewise.
34428 * conform/data/errno.h-data: Likewise.
34429 * conform/data/fcntl.h-data: Likewise.
34430 * conform/data/float.h-data: Likewise.
34431 * conform/data/fmtmsg.h-data: Likewise.
34432 * conform/data/fnmatch.h-data: Likewise.
34433 * conform/data/ftw.h-data: Likewise.
34434 * conform/data/glob.h-data: Likewise.
34435 * conform/data/grp.h-data: Likewise.
34436 * conform/data/iconv.h-data: Likewise.
34437 * conform/data/inttypes.h-data: Likewise.
34438 * conform/data/langinfo.h-data: Likewise.
34439 * conform/data/libgen.h-data: Likewise.
34440 * conform/data/limits.h-data: Likewise.
34441 * conform/data/locale.h-data: Likewise.
34442 * conform/data/math.h-data: Likewise.
34443 * conform/data/monetary.h-data: Likewise.
34444 * conform/data/mqueue.h-data: Likewise.
34445 * conform/data/ndbm.h-data: Likewise.
34446 * conform/data/net/if.h-data: Likewise.
34447 * conform/data/netdb.h-data: Likewise.
34448 * conform/data/netinet/in.h-data: Likewise.
34449 * conform/data/nl_types.h-data: Likewise.
34450 * conform/data/poll.h-data: Likewise.
34451 * conform/data/pthread.h-data: Likewise.
34452 * conform/data/pwd.h-data: Likewise.
34453 * conform/data/regex.h-data: Likewise.
34454 * conform/data/sched.h-data: Likewise.
34455 * conform/data/search.h-data: Likewise.
34456 * conform/data/semaphore.h-data: Likewise.
34457 * conform/data/setjmp.h-data: Likewise.
34458 * conform/data/signal.h-data: Likewise.
34459 * conform/data/spawn.h-data: Likewise.
34460 * conform/data/stdarg.h-data: Likewise.
34461 * conform/data/stdio.h-data: Likewise.
34462 * conform/data/stdlib.h-data: Likewise.
34463 * conform/data/string.h-data: Likewise.
34464 * conform/data/strings.h-data: Likewise.
34465 * conform/data/stropts.h-data: Likewise.
34466 * conform/data/sys/ipc.h-data: Likewise.
34467 * conform/data/sys/mman.h-data: Likewise.
34468 * conform/data/sys/msg.h-data: Likewise.
34469 * conform/data/sys/resource.h-data: Likewise.
34470 * conform/data/sys/select.h-data: Likewise.
34471 * conform/data/sys/sem.h-data: Likewise.
34472 * conform/data/sys/shm.h-data: Likewise.
34473 * conform/data/sys/socket.h-data: Likewise.
34474 * conform/data/sys/stat.h-data: Likewise.
34475 * conform/data/sys/statvfs.h-data: Likewise.
34476 * conform/data/sys/time.h-data: Likewise.
34477 * conform/data/sys/timeb.h-data: Likewise.
34478 * conform/data/sys/times.h-data: Likewise.
34479 * conform/data/sys/types.h-data: Likewise.
34480 * conform/data/sys/uio.h-data: Likewise.
34481 * conform/data/sys/un.h-data: Likewise.
34482 * conform/data/sys/utsname.h-data: Likewise.
34483 * conform/data/sys/wait.h-data: Likewise.
34484 * conform/data/syslog.h-data: Likewise.
34485 * conform/data/tar.h-data: Likewise.
34486 * conform/data/termios.h-data: Likewise.
34487 * conform/data/utime.h-data: Likewise.
34488 * conform/data/utmpx.h-data: Likewise.
34489 * conform/data/varargs.h-data: Likewise.
34490 * conform/data/wchar.h-data: Likewise.
34491 * conform/data/wctype.h-data: Likewise.
34492 * conform/data/wordexp.h-data: Likewise.
34493
34494 * include/stropts.h: New file.
34495 * include/uchar.h: New file.
34496 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34497 * include/assert.h: Likewise.
34498 * include/ctype.h: Likewise.
34499 * include/dirent.h: Likewise.
34500 * include/dlfcn.h: Likewise.
34501 * include/fcntl.h: Likewise.
34502 * include/fnmatch.h: Likewise.
34503 * include/glob.h: Likewise.
34504 * include/grp.h: Likewise.
34505 * include/libio.h: Likewise.
34506 * include/locale.h: Likewise.
34507 * include/math.h: Likewise.
34508 * include/net/if.h: Likewise.
34509 * include/netdb.h: Likewise.
34510 * include/netinet/in.h: Likewise.
34511 * include/pthread.h: Likewise.
34512 * include/pwd.h: Likewise.
34513 * include/regex.h: Likewise.
34514 * include/sched.h: Likewise.
34515 * include/search.h: Likewise.
34516 * include/setjmp.h: Likewise.
34517 * include/signal.h: Likewise.
34518 * include/stdio.h: Likewise.
34519 * include/stdlib.h: Likewise.
34520 * include/string.h: Likewise.
34521 * include/sys/cdefs.h: Likewise.
34522 * include/sys/mman.h: Likewise.
34523 * include/sys/msg.h: Likewise.
34524 * include/sys/resource.h: Likewise.
34525 * include/sys/select.h: Likewise.
34526 * include/sys/socket.h: Likewise.
34527 * include/sys/stat.h: Likewise.
34528 * include/sys/statvfs.h: Likewise.
34529 * include/sys/time.h: Likewise.
34530 * include/sys/times.h: Likewise.
34531 * include/sys/uio.h: Likewise.
34532 * include/sys/utsname.h: Likewise.
34533 * include/sys/wait.h: Likewise.
34534 * include/termios.h: Likewise.
34535 * include/time.h: Likewise.
34536 * include/ulimit.h: Likewise.
34537 * include/unistd.h: Likewise.
34538 * include/utime.h: Likewise.
34539 * include/wchar.h: Likewise.
34540 * include/wctype.h: Likewise.
34541 * include/wordexp.h: Likewise.
34542
34543 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34544
7a270350
UD
34545 * time/time.h: TIME_UTC must be a macro.
34546 Make timespec_get available for ISO C11 only as well.
34547
7724defc
UD
345482012-02-24 Ulrich Drepper <drepper@gmail.com>
34549
34550 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34551 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34552
6b1d1d46
JM
345532012-02-24 Joseph Myers <joseph@codesourcery.com>
34554
34555 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34556
0f8bbd69
JM
345572012-02-24 Joseph Myers <joseph@codesourcery.com>
34558
34559 * manual/texinfo.tex: Update to version 2012-01-19.16.
34560
66ab80bc
JM
345612012-02-24 Joseph Myers <joseph@codesourcery.com>
34562
34563 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34564
74981cc5
RM
345652012-02-24 Roland McGrath <roland@hack.frob.com>
34566
ee968201
RM
34567 [BZ #13738]
34568 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34569 * manual/fdl-1.3.texi: New file.
34570 * manual/fdl-1.1.texi: File removed.
34571
74981cc5
RM
34572 [BZ #13738]
34573 * manual/libc.texinfo (FDL_VERSION): New @set.
34574 Use it for mention of FDL in cover text.
34575 (Documentation License): Use it in @include file name.
34576
7bb764bc
JM
345772012-02-22 Joseph Myers <joseph@codesourcery.com>
34578 Roland McGrath <roland@hack.frob.com>
34579
34580 [BZ #5461]
34581 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34582 not LONG_LONG_MAX and LONG_LONG_MIN.
34583 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34584 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34585 name.
34586 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34587
6cbeae47
JM
345882012-02-22 Joseph Myers <joseph@codesourcery.com>
34589
34590 [BZ #2547]
34591 [BZ #11365]
34592 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34593 manipulate bits before adding and subtracting TWO23[sx].
34594 * math/libm-test.inc (nearbyint_test): Add more tests.
34595
fe45ce09
JM
345962012-02-22 Joseph Myers <joseph@codesourcery.com>
34597
34598 [BZ #2548]
34599 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34600 bits before adding and subtracting TWO23[sx].
34601 * math/libm-test.inc (rint_test): Add more tests.
34602 (rint_test_tonearest): Likewise.
34603 (rint_test_towardzero): Likewise.
34604 (rint_test_downward): Likewise.
34605 (rint_test_upward: Likewise.
34606
ff3b3d82
JM
346072012-02-22 Joseph Myers <joseph@codesourcery.com>
34608
34609 [BZ #10110]
34610 * include/stdc-predef.h: New file. Extracted from features.h.
34611 * include/features.h: Include stdc-predef.h.
34612 * Makefile (headers): Add stdc-predef.h.
34613 * CONFORMANCE (Compiler limitations): Update.
34614
ef0aab35
JM
346152012-02-22 Joseph Myers <joseph@codesourcery.com>
34616
34617 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34618
58639409
DM
346192012-02-21 David S. Miller <davem@davemloft.net>
34620
34621 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34622 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34623
c0e70b25
DM
346242012-02-20 David S. Miller <davem@davemloft.net>
34625
34626 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34627 using a normal save/restore sequence, rather than allocating a
34628 dummy stack frame just to store a frame pointer and restore.
34629 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34630
fb06851d
JM
346312012-02-21 Joseph Myers <joseph@codesourcery.com>
34632
34633 * manual/install.texi: Fix stray word in line-wrapped comment.
34634
7a8b71c3
DM
346352012-02-20 David S. Miller <davem@davemloft.net>
34636
d510c123
DM
34637 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34638 both binutils and gcc support GOTDATA.
34639
0722d7c2
DM
34640 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34641 "rd %pc" in the PIC register setup sequences.
34642
3d2b3019
DM
34643 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34644 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34645 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34646 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34647 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34649 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34650 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34652 (SYSCALL_ERROR_HANDLER): Likewise.
34653 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34654 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34655 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34656 (SYSCALL_ERROR_HANDLER): Likewise.
34657
c80098a9
DM
34658 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34659 (HAVE_GCC_GOTDATA): New.
34660 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34661 relocation support in both binutils and gcc.
34662 * sysdeps/sparc/elf/configure: Regenerate.
34663
3a2545a0
DM
34664 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34665 * sysdeps/sparc/sparc32/elf/configure: Delete.
34666 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34667 * sysdeps/sparc/sparc64/elf/configure: Delete.
34668 * sysdeps/sparc/elf/configure.in: New file.
34669 * sysdeps/sparc/elf/configure: Generate.
34670
7a8b71c3
DM
34671 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34672 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34673 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34674 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34675 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34676
f1e86fca
JM
346772012-02-21 Joseph Myers <joseph@codesourcery.com>
34678
34679 * manual/install.texi: Do not mention specific glibc version
34680 numbers.
34681 * manual/libc.texinfo (VERSION, UPDATED): Update.
34682 (@copying): Use @copyright{} and range of years.
34683
0e7dfaef
JM
346842012-02-21 Joseph Myers <joseph@codesourcery.com>
34685
34686 [BZ #13695]
34687 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34688 [crti.S not in sysdirs] (generated): Do not append.
34689 [crti.S not in sysdirs] (omit-deps): Likewise.
34690 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34691 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34692 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34693 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34694 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34695 Likewise.
34696 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34697 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34698 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34699 * csu/defs.awk: Remove file.
34700 * sysdeps/generic/initfini.c: Likewise.
34701 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34702 variable.
34703 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34704 Likewise.
34705
599af3ca
JM
347062012-02-20 Joseph Myers <joseph@codesourcery.com>
34707
34708 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34709 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34710 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34711 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34712 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34713 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34714 <bits/epoll.h>.
34715 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34716 (__EPOLL_PACKED): Define to empty if not defined by
34717 <bits/epoll.h>.
34718 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34720 bits/epoll.h.
34721
0e499750
JM
347222012-02-20 Joseph Myers <joseph@codesourcery.com>
34723
34724 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34725 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34726 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34727 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34728 <bits/timerfd.h>.
34729 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34731 bits/timerfd.h.
34732
5ad91f6e
JM
347332012-02-20 Joseph Myers <joseph@codesourcery.com>
34734
34735 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34736 in C locale.
34737 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34738 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34739 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34741
06b99b02
AJ
347422012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34743
34744 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34745 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34746
7638c0fd
AS
347472012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34748
34749 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34750 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34751 defined.
34752 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34753 Likewise.
34754 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34755 entry for 2.16.
34756
92221550
AJ
347572012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34758
34759 * math/w_acos.c: Use non-signaling floating-point comparisons.
34760 * math/w_acosf.c: Likewise.
34761 * math/w_acosh.c: Likewise.
34762 * math/w_acoshf.c: Likewise.
34763 * math/w_acoshl.c: Likewise.
34764 * math/w_acosl.c: Likewise.
34765 * math/w_asin.c: Likewise.
34766 * math/w_asinf.c: Likewise.
34767 * math/w_asinl.c: Likewise.
34768 * math/w_atanh.c: Likewise.
34769 * math/w_atanhf.c: Likewise.
34770 * math/w_atanhl.c: Likewise.
34771 * math/w_exp2.c: Likewise.
34772 * math/w_exp2f.c: Likewise.
34773 * math/w_exp2l.c: Likewise.
34774 * math/w_j0.c: Likewise.
34775 * math/w_j0f.c: Likewise.
34776 * math/w_j0l.c: Likewise.
34777 * math/w_j1.c: Likewise.
34778 * math/w_j1f.c: Likewise.
34779 * math/w_j1l.c: Likewise.
34780 * math/w_jn.c: Likewise.
34781 * math/w_jnf.c: Likewise.
34782 * math/w_log.c: Likewise.
34783 * math/w_log10.c: Likewise.
34784 * math/w_log10f.c: Likewise.
34785 * math/w_log10l.c: Likewise.
34786 * math/w_log2.c: Likewise.
34787 * math/w_log2f.c: Likewise.
34788 * math/w_log2l.c: Likewise.
34789 * math/w_logf.c: Likewise.
34790 * math/w_logl.c: Likewise.
34791 * math/w_sqrt.c: Likewise.
34792 * math/w_sqrtf.c: Likewise.
34793 * math/w_sqrtl.c: Likewise.
34794 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34795 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34796 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34797 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34798 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34799
ebaf36eb
JM
348002012-02-19 Joseph Myers <joseph@codesourcery.com>
34801
34802 [BZ #9739]
34803 * manual/string.texi (strnlen): Use correct parameter name in
34804 equivalent expression.
34805
71c254a6
JM
348062012-02-19 Joseph Myers <joseph@codesourcery.com>
34807
34808 [BZ #11174]
34809 * manual/users.texi (seteuid): Consistently use neweuid for
34810 argument name.
34811
16d2c631
JM
348122012-02-19 Joseph Myers <joseph@codesourcery.com>
34813
34814 [BZ #13704]
34815 * manual/nss.texi (Services in the NSS configuration): Correct
34816 list of services in example configuration file.
34817
cd837b09
NB
348182012-02-19 Nick Bowler <nbowler@draconx.ca>
34819
34820 [BZ #11322]
34821 * manual/arith.texi: Remove statements about negative zero
34822 behaving identically to zero.
34823
02c4bbad
JM
348242012-02-18 Joseph Myers <joseph@codesourcery.com>
34825
34826 [BZ #5993]
34827 * manual/install.texi: Do not document upgrading from libc5.
34828
366842e7
JM
348292012-02-18 Joseph Myers <joseph@codesourcery.com>
34830
34831 [BZ #4596]
34832 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34833
dd54084d
DM
348342012-02-18 David S. Miller <davem@davemloft.net>
34835
34836 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34837 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34838 %o7 across the call.
34839 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34840 instead.
34841 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34842 SETUP_PIC_REG_LEAF.
34843 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34844 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34845 * sysdeps/sparc/crtn.S: Likewise.
34846
2bcc53a3
UD
348472012-02-17 Ulrich Drepper <drepper@gmail.com>
34848
34849 * aout/Makefile: Remove.
34850
09c093b5
RK
348512012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34852
34853 [BZ #13058]
34854 * manual/examples/argp-ex1.c (main): Format definition in GNU
34855 style.
34856 * manual/examples/argp-ex2.c (main): Likewise.
34857 * manual/examples/argp-ex3.c (main): Likewise.
34858 * manual/examples/argp-ex4.c (main): Likewise.
34859 * manual/examples/longopt.c (main): Use new-style prototype
34860 definition.
34861 * manual/examples/strncat.c (main): Specify return type and use
34862 (void) for arguments.
34863 * manual/examples/subopt.c (main): Use char **argv argument.
34864
2ee633a2
JM
348652012-02-17 Joseph Myers <joseph@codesourcery.com>
34866
34867 [BZ #5077]
34868 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34869 rounding modes.
34870
0520adde
FB
348712012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34872
34873 [BZ #6907]
34874 * manual/string.texi (strchr): Change when strchrnul is
34875 recommended.
34876
3f4081cd
DGM
348772012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34878
34879 [BZ #174]
34880 * manual/locale.texi (setlocale): Document LOCPATH.
34881
d1b10e78
JM
348822012-02-17 Joseph Myers <joseph@codesourcery.com>
34883
34884 [BZ #10210]
34885 * manual/process.texi (execle): Move @dots{} before last argument.
34886
79c6869c
PB
348872012-02-17 Paul Bolle <pebolle@tiscali.nl>
34888
34889 [BZ #12047]
34890 * manual/charset.texi (Generic Charset Conversion): Fix typo
34891 (LC_TYPE -> LC_CTYPE).
34892
cc6e48bc
NB
348932012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34894
34895 [BZ #5805]
34896 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34897 (scalbnf): Likewise.
34898 (scalbnl): Likewise.
34899 (scalbln): Likewise.
34900 (scalblnf): Likewise.
34901 (scalblnl): Likewise.
34902 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34903 (vwarnx): Likewise.
34904 (verr): Likewise.
34905 (verrx): Likewise.
34906 * manual/filesys.texi (telldir): Use braces around return type.
34907 * manual/llio.texi (mmap): Add space after comma.
34908 (mmap64): Likewise.
34909 * manual/math.texi (jn): Use @var{} on parameter names.
34910 (jnf): Likewise.
34911 (jnl): Likewise.
34912 (yn): Likewise.
34913 (ynf): Likewise.
34914 (ynl): Likewise.
34915 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34916 line.
34917 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34918 "...".
34919 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34920 (sched_get_priority_max): Likewise.
34921 * manual/signal.texi (sigvec): Add space after comma.
34922 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34923 names.
34924 (if_indextoname): Likewise.
34925 (if_freenameindex): Likewise.
34926 (sendto): Use ',' instead of '.' in prototype.
34927 * manual/startup.texi (syscall): Use @dots{} instead of literal
34928 "...".
34929 * manual/stdio.texi (__fpending): Separate initial words of
34930 paragraph from @deftypefun line.
34931 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34932 "...".
34933 (vsyslog): Use @var{} on parameter names.
34934 * manual/terminal.texi (stty): Use @var{} on parameter names.
34935 * manual/users.texi (getutmp): Use @var{} on parameter names.
34936 (getutmpx): Likewise.
34937
5b23062f
JM
349382012-02-17 Joseph Myers <joseph@codesourcery.com>
34939
34940 [BZ #6884]
34941 * manual/stdio.texi (fopen): Fix typos in description of
34942 ",ccs=STRING".
34943
8dee4833
AJ
349442012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34945
34946 [BZ #4026]
34947 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34948 get clock_id definition.
34949
9078ce93
TS
349502012-02-17 Thomas Schwinge <thomas@schwinge.name>
34951
34952 [BZ #4822]
34953 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34954 (madvise): Cast every argument to void on its own.
34955
3835c55f
JM
349562012-02-17 Joseph Myers <joseph@codesourcery.com>
34957
34958 [BZ #9902]
34959 * manual/startup.texi (Exit Status): Fix typo.
34960
35c47e37
JM
349612012-02-17 Joseph Myers <joseph@codesourcery.com>
34962
34963 [BZ #10140]
34964 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34965 * manual/examples/argp-ex2.c: Likewise.
34966 * manual/examples/argp-ex3.c: Likewise.
34967
e3b69ca7
RH
349682012-02-16 Richard Henderson <rth@redhat.com>
34969
34970 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34971 * sysdeps/s390/s390-32/initfini.c: Remove.
34972 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34973 * sysdeps/s390/s390-64/initfini.c: Remove.
34974
df83af67
KK
349752012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34976
34977 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34978 compiler output for sysdeps/generic/initfini.c.
34979 * sysdeps/sh/elf/initfini.c: Remove file.
34980
f63f3380
DM
349812012-02-16 David S. Miller <davem@davemloft.net>
34982
fb59b3a4
DM
34983 [BZ #11494]
34984 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34985
f63f3380
DM
34986 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34987 * sysdeps/sparc/crti.S: New file.
34988 * sysdeps/sparc/crtn.S: New file.
34989 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34990 * sysdeps/sparc/sparc64/Makefile: Likewise.
34991
df6a4a4a
MF
349922012-02-15 Mike Frysinger <vapier@gentoo.org>
34993
6dd8f3dc 34994 [BZ #3335]
df6a4a4a
MF
34995 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34996
1cac7236
RM
349972012-02-15 Roland McGrath <roland@hack.frob.com>
34998
d2c736f8
RM
34999 [BZ #4822]
35000 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35001
1cac7236
RM
35002 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35003 (write, read, close): Likewise.
35004 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35005
8e475601
JM
350062012-02-15 Joseph Myers <joseph@codesourcery.com>
35007
35008 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35009 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35010 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35011 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35012 <bits/signalfd.h>.
35013 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35015 bits/signalfd.h.
35016
ed656b40
MP
350172012-02-14 Marek Polacek <polacek@redhat.com>
35018
35019 * sysdeps/x86_64/crti.S: New file.
35020 * sysdeps/x86_64/crtn.S: New file.
35021 * sysdeps/x86_64/elf/initfini.c: Remove file.
35022
2a979d3a
JM
350232012-02-13 Joseph Myers <joseph@codesourcery.com>
35024
35025 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35026 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35027 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35028 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35029 <bits/inotify.h>.
35030 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35032 bits/inotify.h.
35033
2a418ac3
JM
350342012-02-13 Joseph Myers <joseph@codesourcery.com>
35035
35036 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35037 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35038 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35039 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35040 <bits/eventfd.h>.
35041 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35043 bits/eventfd.h.
35044
fb779be7
TS
350452012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35046
e19e83c5
RM
35047 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35048 __feraiseexcept instead of feraiseexcept.
7c35ffed 35049
fb779be7
TS
35050 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35051 nanosleep invocations.
35052 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35053 strings, and add error checking for a nanosleep invocations.
35054
59ba27a6
PE
350552012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35056
35057 Replace FSF snail mail address with URLs, as per GNU coding standards.
35058 Most of the snail mail addresses were wrong anyway, and omitting
35059 them makes the source code easier to maintain. Almost all of the
35060 changes are to license notices and to locale LC_IDENTIFICATION
35061 addresses, except for this one:
35062 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35063 not its snail mail address.
35064
57b957eb
RH
350652012-02-09 Richard Henderson <rth@twiddle.net>
35066
af850b1c
RH
35067 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35068 of kernel-features.h.
35069
57b957eb
RH
35070 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35071
6b73181a
MP
350722012-02-08 Marek Polacek <polacek@redhat.com>
35073
35074 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35075 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35076 * sysdeps/gnu/_G_config.h: Likewise.
35077 * sysdeps/generic/_G_config.h: Likewise.
35078
26ecc33a
AS
350792012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35080
6c6dbc63
AS
35081 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35082 tests.
35083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35084
e216c012
AS
35085 * sysdeps/powerpc/powerpc32/crti.S: New file.
35086 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35087 * sysdeps/powerpc/powerpc64/crti.S: New file.
35088 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35089
26ecc33a
AS
35090 * Makeconfig (have-initfini): Don't set.
35091 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35092 * configure.in (nopic_initfini): Don't substitute.
35093 * config.h.in (HAVE_INITFINI): Don't #undef.
35094 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35095 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35096
3add8e13
JM
350972012-02-08 Joseph Myers <joseph@codesourcery.com>
35098
35099 Support crti.S and crtn.S provided directly by architectures.
35100 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35101 [crti.S in sysdirs] (omit-deps): Likewise.
35102 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35103 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35104 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35105 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35106 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35107 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35108 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35109 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35110 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35111 compiler output for sysdeps/generic/initfini.c.
35112 * sysdeps/i386/elf/Makefile: Remove file.
35113 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35114
a22f12b4
MP
351152012-02-07 Marek Polacek <polacek@redhat.com>
35116
35117 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35118 * sysdeps/gnu/_G_config.h: Likewise.
35119 * sysdeps/mach/hurd/_G_config.h: Likewise.
35120
148cf100
MP
351212012-02-07 Marek Polacek <polacek@redhat.com>
35122
35123 * math/Makefile (tests): Add tst-CMPLX2.
35124 * math/tst-CMPLX2.c: New file.
35125
cfdc0dd7
AS
351262012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35127
84ba42c4
AS
35128 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35129
cfdc0dd7
AS
35130 * math/libm-test.inc (jn_test): Add missing L suffix.
35131
622c86f4
MP
351322012-02-06 Marek Polacek <polacek@redhat.com>
35133
35134 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35135 * sysdeps/i386/fpu/e_powf.S: Likewise.
35136 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35137 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35138 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35139 * sysdeps/i386/fpu/e_pow.S: Likewise.
35140 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35141 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35142 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35143 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35144 * sysdeps/i386/fpu/e_log2.S: Likewise.
35145 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35146 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35147 * sysdeps/i386/fpu/e_powl.S: Likewise.
35148 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35149 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35150 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35151 * sysdeps/i386/fpu/e_logl.S: Likewise.
35152 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35153 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35154 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35155 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35156 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35157 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35158 * sysdeps/i386/fpu/e_log.S: Likewise.
35159 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35160 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35161 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35162 * sysdeps/i386/fpu/e_logf.S: Likewise.
35163 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35164 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35165 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35166 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35167 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35168 * sysdeps/i386/fpu/e_log10.S: Likewise.
35169 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35170 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35171 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35172 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35173 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35174 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35175 * sysdeps/i386/asm-syntax.h: Likewise.
35176 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35177 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35178 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35179 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35180 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35181 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35182 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35183 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35184 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35185 * sysdeps/powerpc/sysdep.h: Likewise.
35186 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35187 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35188
d4a54ac6
JM
351892012-02-06 Joseph Myers <joseph@codesourcery.com>
35190
35191 [BZ #411]
35192 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35193
314054ea
JM
351942012-02-06 Joseph Myers <joseph@codesourcery.com>
35195
35196 * sysdeps/i386/sysdep.h: Include <features.h>.
35197 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35198 version.
35199
d8e0ca50
JM
352002012-02-05 Joseph Myers <joseph@codesourcery.com>
35201
35202 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35203 Define.
35204 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35205 LOAD_PIC_REG_STR.
35206
b1da7dd9
JM
352072012-02-03 Joseph Myers <joseph@codesourcery.com>
35208
35209 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35210 (SETUP_PIC_REG): Use GET_PC_THUNK.
35211 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35212 macro.
35213
9a1d9254
JM
352142012-02-03 Joseph Myers <joseph@codesourcery.com>
35215
35216 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35217 for non-PIC compilation.
35218 (SETUP_PIC_REG): Add .p2align directive.
35219 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35220 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35221 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35222 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35223 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35224 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35225 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35226 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35227 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35228 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35229 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35230 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35231 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35232 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35233 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35234 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35235 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35236 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35237 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35238 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35239 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35240 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35241 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35242 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35243 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35244 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35245 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35246 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35247 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35248 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35249 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35250 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35251 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35252 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35253 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35254 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35255 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35256 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35257 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35258 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35259 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35260
65dc3b75
JM
352612012-02-03 Joseph Myers <joseph@codesourcery.com>
35262
35263 * math/tst-CMPLX.c: Include <stdio.h>.
35264
d55bf177
JM
352652012-01-31 Joseph Myers <joseph@codesourcery.com>
35266
35267 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35268 float.
35269 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35270 * sysdeps/sparc/bits/mathdef.h: Likewise.
35271
69db4f8f
MP
352722012-01-31 Marek Polacek <polacek@redhat.com>
35273
35274 * libio/libio.h: Don't define _PARAMS.
35275 * locale/programs/config.h: Don't define PARAMS.
35276 * stdlib/strtol_l.c: Likewise.
35277 (__strtol_l): Remove PARAMS from the prototype.
35278
41b81892
UD
352792012-01-31 Ulrich Drepper <drepper@gmail.com>
35280
3b49edc0
UD
35281 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35282 names. Just use the correct names. Remove unnecessary wrapper
35283 functions.
35284 * malloc/arena.c: Likewise.
35285 * malloc/hooks.c: Likewise.
35286
41b81892
UD
35287 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35288 ARENA_TEST says not to. Simplify test for creation of a new arena.
35289 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35290
27a25b6e
UD
352912012-01-30 Ulrich Drepper <drepper@gmail.com>
35292
35293 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35294 into tail calls.
35295 (update_get_addr): New function.
35296 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35297 GET_ADDR_MODULE parameter.
35298
c8a89e7d
JM
352992012-01-30 Joseph Myers <joseph@codesourcery.com>
35300
35301 * crypt/cert.c: Remove __STDC__ conditionals.
35302 * crypt/crypt-entry.c: Likewise.
35303 * crypt/crypt_util.c: Likewise.
35304 * libio/filedoalloc.c: Likewise.
35305 * libio/fileops.c: Likewise.
35306 * libio/genops.c: Likewise.
35307 * libio/iofclose.c: Likewise.
35308 * libio/iofdopen.c: Likewise.
35309 * libio/iofopen.c: Likewise.
35310 * libio/iofopen64.c: Likewise.
35311 * libio/iogetdelim.c: Likewise.
35312 * libio/iopopen.c: Likewise.
35313 * libio/obprintf.c: Likewise.
35314 * libio/oldfileops.c: Likewise.
35315 * libio/oldiofclose.c: Likewise.
35316 * libio/oldiofdopen.c: Likewise.
35317 * libio/oldiofopen.c: Likewise.
35318 * libio/oldiopopen.c: Likewise.
35319 * libio/wfiledoalloc.c: Likewise.
35320 * libio/wgenops.c: Likewise.
35321 * locale/programs/xmalloc.c: Likewise.
35322 * misc/syslog.c: Likewise.
35323 * stdio-common/xbug.c: Likewise.
35324 * string/memchr.c: Likewise.
35325 * string/memcmp.c: Likewise.
35326 * string/memrchr.c: Likewise.
35327 * string/rawmemchr.c: Likewise.
35328 * sysdeps/posix/getcwd.c: Likewise.
35329 * time/strftime_l.c: Likewise.
35330
3b100462
JM
353312012-01-30 Joseph Myers <joseph@codesourcery.com>
35332
35333 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35334 * config.make.in (config-cflags-sse2avx): Define.
35335 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35336 Fix typo.
35337
607998af
CM
353382012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35339
35340 * scripts/config.guess: Update from upstream config git repository.
35341 * scripts/config.sub: Likewise.
35342
3601428f
CM
353432012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35344
3ac8b282
CM
35345 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35346 (EM_NUM): Update.
35347 (R_TILEPRO_*, R_TILEGX_*): New macros.
35348
e034841e
CM
35349 * scripts/firstversions.awk: Fix bug in version range handling.
35350
540d7568
CM
35351 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35352
3601428f
CM
35353 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35354
463de862
CM
35355 * include/sys/epoll.h: New file.
35356 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35357 libc_hidden_def.
35358
73139a76
UD
353592012-01-28 Ulrich Drepper <drepper@gmail.com>
35360
96bc5b45
UD
35361 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35362 Avoid unnecessary __WORDSIZE == 64 test.
35363 (fmaxf): Use VEX format if possible.
35364 (fmax): Likewise.
35365 (fminf): Likewise.
35366 (fmin): Likewise.
35367
56f6f6a2
UD
35368 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35369 * math/math_private.h: Remove libc_fegetround* and
35370 libc_fesetround*.
35371 * sysdeps/i386/configure.in: Check for -msse2avx.
35372 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35373 also if SSE2AVX is defined.
35374 Remove libc_fegetround* and libc_fesetround*.
35375 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35376 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35377 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35378 of HAS_YMM_USABLE.
35379 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35380 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35381 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35382 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35383 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35384
73139a76
UD
35385 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35386
d73f93a4
AZ
353872012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35388
35389 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35390 size is not set.
35391 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35392
6ee65ed6
UD
353932012-01-27 Ulrich Drepper <drepper@gmail.com>
35394
35395 [BZ #13618]
35396 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35397 relocation.
35398 * Makeconfig (libm): Define.
35399 * elf/Makefile: Add rules to build and run tst-relsort1.
35400 * elf/tst-relsort1.c: New file.
35401 * elf/tst-relsort1mod1.c: New file.
35402 * elf/tst-relsort1mod2.c: New file.
35403
8db21882
JM
354042012-01-27 Joseph Myers <joseph@codesourcery.com>
35405
35406 * math/s_ldexp.c: Remove __STDC__ conditionals.
35407 * math/s_ldexpf.c: Likewise.
35408 * math/s_ldexpl.c: Likewise.
35409 * math/s_nextafter.c: Likewise.
35410 * math/s_nexttowardf.c: Likewise.
35411 * math/s_significand.c: Likewise.
35412 * math/s_significandf.c: Likewise.
35413 * math/s_significandl.c: Likewise.
35414 * math/w_jnl.c: Likewise.
35415 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35416 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35417 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35418 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35419 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35420 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35421 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35422 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35423 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35424 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35425 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35426 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35427 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35428 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35429 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35430 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35431 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35432 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35433 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35434 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35435 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35436 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35437 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35438 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35439 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35440 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35441 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35442 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35443 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35444 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35445 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35446 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35447 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35448 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35449 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35450 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35451 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35452 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35453 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35454 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35455 * sysdeps/ieee754/k_standard.c: Likewise.
35456 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35458 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35459 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35460 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35461 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35462 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35463 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35464 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35465 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35466 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35467 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35468 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35469 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35470 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35471 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35472 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35473 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35474 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35475 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35476 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35477 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35478 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35479 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35480 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35481 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35482 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35483 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35484 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35485 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35486 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35487 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35488 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35489 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35490 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35491 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35492 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35493 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35494 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35495 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35496 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35497 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35498 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35499 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35500 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35501 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35502 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35503 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35504 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35505 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35506 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35507 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35508 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35509 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35510 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35511 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35512 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35513 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35514 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35515 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35516 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35517 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35518 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35519 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35520 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35521 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35522 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35523 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35524 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35525 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35526 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35527 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35528 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35529 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35530 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35531 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35532 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35533 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35534 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35535 * sysdeps/ieee754/s_matherr.c: Likewise.
35536 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35537 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35538 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35539 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35540
965a54a4
JM
355412012-01-26 Joseph Myers <joseph@codesourcery.com>
35542
35543 * crypt/md5.h: Remove __STDC__ conditionals.
35544 * libio/libioP.h: Likewise.
35545 * locale/programs/config.h: Likewise.
35546 * sysdeps/generic/sysdep.h: Likewise.
35547 * sysdeps/i386/asm-syntax.h: Likewise.
35548 * sysdeps/s390/asm-syntax.h: Likewise.
35549 * sysdeps/unix/sysdep.h: Likewise.
35550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35552
7071ad79
JM
355532012-01-26 Joseph Myers <joseph@codesourcery.com>
35554
35555 * libio/libio.h: Remove __STDC__ conditionals.
35556 * malloc/obstack.h: Likewise.
35557 * math/complex.h: Likewise.
35558 * math/math.h: Likewise.
35559 * sysdeps/generic/_G_config.h: Likewise.
35560 * sysdeps/gnu/_G_config.h: Likewise.
35561 * sysdeps/mach/hurd/_G_config.h: Likewise.
35562 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35563 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35564 * sysdeps/sparc/bits/mathdef.h: Likewise.
35565
afc5ed09
UD
355662012-01-26 Ulrich Drepper <drepper@gmail.com>
35567
35568 [BZ #13583]
35569 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35570 Clean up HAS_* macros.
afc5ed09 35571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35572 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35573 possible.
35574 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35575 HAS_AVX.
35576 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35577 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35578 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35579 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35580 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35581
bdb6de1d
JM
355822012-01-25 Joseph Myers <joseph@codesourcery.com>
35583
35584 * elf/tst-unique3.cc (gets): Remove declaration.
35585 * elf/tst-unique3lib.cc (gets): Likewise.
35586 * elf/tst-unique3lib2.cc (gets): Likewise.
35587 * elf/tst-unique4.cc (gets): Likewise.
35588
b15549e6
UD
355892012-01-24 Ulrich Drepper <drepper@gmail.com>
35590
35591 * include/stdio.h: Add C++ protection. Add gets declarations and
35592 definitions.
35593 * debug/tst-chk1.c: Don't declare gets here.
35594 * stdio-common/tst-gets.c: Likewise.
35595
a037381f
JM
355962012-01-24 Joseph Myers <joseph@codesourcery.com>
35597
35598 * posix/glob: Remove directory.
35599
f1d4aa75
JM
356002012-01-24 Joseph Myers <joseph@codesourcery.com>
35601
35602 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35603
81c0c964
PT
356042012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35605
35606 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35607 of the non-standard EPFNOSUPPORT.
35608
0ea698ae
ST
356092011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35610
35611 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35612 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35613 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35614
d220b117
UD
356152012-01-21 Ulrich Drepper <drepper@gmail.com>
35616
35617 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35618
3e1aa84e
UD
356192012-01-20 Ulrich Drepper <drepper@gmail.com>
35620
35621 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35622 transient errors.
35623 * nscd/grpcache.c (cache_addgr): Likewise.
35624 * nscd/hstcache.c (cache_addhst): Likewise.
35625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35626 * nscd/pwdcache.c (cache_addpw): Likewise.
35627 * nscd/servicescache.c (cache_addserv): Likewise.
35628
400aa020
UD
356292012-01-16 Ulrich Drepper <drepper@gmail.com>
35630
d77e7869
UD
35631 * malloc/malloc.c: Various cleanups.
35632 * malloc/hooks.c: Likewise.
35633
400aa020
UD
35634 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35635 * stdlib/bug-fmtmsg1.c: New file.
35636
35637 * stdlib/fmtmsg.c (init): Add missing unlock.
35638 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35639
e0a309cf
MP
356402012-01-12 Marek Polacek <polacek@redhat.com>
35641
35642 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35643 and _GNU_SOURCE.
35644
929d11c7
WS
356452012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35646
35647 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35648 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35649 macro to ensure uniqueness of label name.
35650 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35651 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35652
41d0e869
UD
356532012-01-11 Ulrich Drepper <drepper@gmail.com>
35654
0cc5ed3b
UD
35655 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35656
41d0e869
UD
35657 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35658 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35659 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35660 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35661
a47a831a
UD
356622012-01-10 Ulrich Drepper <drepper@gmail.com>
35663
daa891c0
UD
35664 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35665
35666 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35667 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35668 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35669
e58ef0f2
UD
35670 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35671
a47a831a 35672 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35673 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35674 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35675 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35676
35677 * math/bits/math-finite.h: Add ldexp support.
35678
a0bfc9c7
MP
356792012-01-10 Marek Polacek <polacek@redhat.com>
35680
35681 * locale/programs/localedef.h (show_archive_content): Add noreturn
35682 attribute.
35683
d6e97a1d
UD
356842012-01-09 Ulrich Drepper <drepper@gmail.com>
35685
35686 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35687
d5835c26
UD
356882012-01-08 Ulrich Drepper <drepper@gmail.com>
35689
e5f484c6
UD
35690 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35691
d5835c26
UD
35692 * io/Makefile (headers): Add bits/poll2.h.
35693
d1f741e9
WS
356942011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35695
35696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35697 typo #include statement.
35698
ec09c1c4
UD
356992012-01-08 Ulrich Drepper <drepper@gmail.com>
35700
35701 * include/sys/cdefs.h: Define __attribute_alloc_size.
35702 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35703 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35704 * elf/pldd.c: Likewise.
35705 * iconv/iconv_charmap.c: Likewise.
35706 * iconv/iconvconfig.c: Likewise.
35707 * iconv/strtab.c: Likewise.
35708 * locale/programs/locale.c: Likewise.
35709 * locale/programs/localedef.h: Likewise.
35710 * locale/programs/simple-hash.c: Likewise.
35711 * nscd/nscd.h: Likewise.
35712 * nss/makedb.c: Likewise.
35713 * sysdeps/generic/ldconfig.h: Likewise.
35714 * locale/programs/localedef.c: Remove xmalloc prototype.
35715 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35716
20b38e03
PP
357172012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35718
35719 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35720 appropriate.
35721
a0da5fe1
UD
357222012-01-08 Ulrich Drepper <drepper@gmail.com>
35723
1d5a644a 35724 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35725 * math/tst-CMPLX.c: New file.
1d5a644a 35726
8784a6db
UD
35727 * math/complex.h (CMPLXL): Fix typo.
35728
d9a216c0
UD
35729 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35730 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35731 GLIBC_2.16.
35732 * debug/tst-chk1.c: Add poll and ppoll tests.
35733 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35734 * include/sys/poll.h: Add hidden proto for ppoll.
35735 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35736 * sysdeps/mach/hurd/ppoll.c: Likewise.
35737 * io/ppoll.c: Likewise.
35738 * debug/poll_chk.c: New file.
35739 * debug/ppoll_chk.c: New file.
35740 * include/bits/poll2.h: New file.
35741 * io/bits/poll2.h: New file.
35742
ac097f5c
UD
35743 [BZ #1350]
35744 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35745
2119dcfa
UD
35746 * configure.in: static is always set to yes. Remove.
35747 * config.make.in: Don't set build-static.
35748 * Makeconfig: Remove use of build-static.
35749 * dlfcn/Makefile: Likewise.
35750 * elf/Makefile: Likewise.
35751 * math/Makefile: Likewise.
35752 * misc/Makefile: Likewise.
35753 * nptl/Makefile: Likewise.
35754 * sysdeps/mach/hurd/Makefile: Likewise.
35755
121766a9
UD
35756 * configure.in: PWD_P is not used anymore.
35757 * config.make.in: Remove PWD_P entry.
35758
51a1d39c 35759 * configure.in: Remove last remnants of RANLIB.
8720d066 35760 No need to check for signed size_t anymore.
215f4bdc
UD
35761 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35762 and IA-64.
3857022a 35763 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35764 * aclocal.m4: Likewise.
35765
d3ed7225
UD
35766 * wcsmbs/mbrtoc16.c: Implement using towc function.
35767 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35768 * wcsmbs/wcsmbsload.c: Likewise.
35769 * iconv/gconv_simple.c: Likewise.
35770 * iconv/gconv_int.h: Likewise.
35771 * iconv/gconv_builtin.h: Likewise.
35772 * iconv/iconv_prog.c: Remove CHAR16 handling.
35773
35774 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35775
35776 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35777
a0da5fe1
UD
35778 * configure.in: Remove --with-elf and --enable-bounded options.
35779 Dont set base_machine for ia64. More non-ELF conditions removed.
35780 Remove testing and setting of leading underscore information.
35781 * config.make.in (build-bounded): Set to no.
35782 * config.h.in: Remove NO_UNDERSCORES entry.
35783 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35784 them.
35785 * csu/start.c: Remove !NO_UNDERSCORE code.
35786 * locale/localeinfo.h: Likewise.
35787 * sysdeps/generic/machine-gmon.h: Likewise.
35788 * sysdeps/generic/sysdep.h: Likewise.
35789 * sysdeps/i386/sysdep.h: Likewise.
35790 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35791 * sysdeps/mach/sysdep.h: Likewise.
35792 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35793 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35794 * sysdeps/sh/sysdep.h: Likewise.
35795 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35796 * sysdeps/unix/i386/sysdep.S: Likewise.
35797 * sysdeps/unix/sparc/start.c: Likewise.
35798 * sysdeps/unix/sparc/sysdep.S: Likewise.
35799 * sysdeps/unix/sparc/sysdep.h: Likewise.
35800 * sysdeps/unix/start.c: Likewise.
35801 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35802 * sysdeps/x86_64/sysdep.h: Likewise.
35803
df78418a
UD
358042012-01-07 Ulrich Drepper <drepper@gmail.com>
35805
a784e502
UD
35806 [BZ #13553]
35807 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35808 for non-gcc.
35809 * argp/argp-fmtstream.h: Use const instead __const.
35810 * argp/argp.h: Likewise.
35811 * assert/assert.h: Likewise.
35812 * bits/fenv.h: Likewise.
35813 * bits/sched.h: Likewise.
35814 * bits/sigset.h: Likewise.
35815 * bits/sigthread.h: Likewise.
35816 * catgets/nl_types.h: Likewise.
35817 * conform/data/pthread.h-data: Likewise.
35818 * crypt/crypt-private.h: Likewise.
35819 * crypt/crypt.h: Likewise.
35820 * crypt/crypt_util.c: Likewise.
35821 * ctype/ctype.h: Likewise.
35822 * debug/execinfo.h: Likewise.
35823 * debug/mbsnrtowcs_chk.c: Likewise.
35824 * debug/mbsrtowcs_chk.c: Likewise.
35825 * debug/wcsnrtombs_chk.c: Likewise.
35826 * debug/wcsrtombs_chk.c: Likewise.
35827 * debug/wcstombs_chk.c: Likewise.
35828 * dirent/dirent.h: Likewise.
35829 * dlfcn/dlfcn.h: Likewise.
35830 * elf/neededtest4.c: Likewise.
35831 * grp/grp.h: Likewise.
35832 * gshadow/gshadow.h: Likewise.
35833 * iconv/gconv.h: Likewise.
35834 * iconv/gconv_int.h: Likewise.
35835 * iconv/gconv_simple.c: Likewise.
35836 * iconv/iconv.h: Likewise.
35837 * iconv/loop.c: Likewise.
35838 * iconv/skeleton.c: Likewise.
35839 * include/aio.h: Likewise.
35840 * include/aliases.h: Likewise.
35841 * include/argz.h: Likewise.
35842 * include/arpa/inet.h: Likewise.
35843 * include/assert.h: Likewise.
35844 * include/dirent.h: Likewise.
35845 * include/dlfcn.h: Likewise.
35846 * include/execinfo.h: Likewise.
35847 * include/fcntl.h: Likewise.
35848 * include/fenv.h: Likewise.
35849 * include/glob.h: Likewise.
35850 * include/grp.h: Likewise.
35851 * include/libintl.h: Likewise.
35852 * include/mntent.h: Likewise.
35853 * include/netdb.h: Likewise.
35854 * include/pwd.h: Likewise.
35855 * include/rpc/netdb.h: Likewise.
35856 * include/sched.h: Likewise.
35857 * include/search.h: Likewise.
35858 * include/shadow.h: Likewise.
35859 * include/signal.h: Likewise.
35860 * include/stdio.h: Likewise.
35861 * include/stdlib.h: Likewise.
35862 * include/string.h: Likewise.
35863 * include/sys/socket.h: Likewise.
35864 * include/sys/stat.h: Likewise.
35865 * include/sys/statfs.h: Likewise.
35866 * include/sys/statvfs.h: Likewise.
35867 * include/sys/syslog.h: Likewise.
35868 * include/sys/time.h: Likewise.
35869 * include/sys/uio.h: Likewise.
35870 * include/time.h: Likewise.
35871 * include/unistd.h: Likewise.
35872 * include/utmp.h: Likewise.
35873 * include/wchar.h: Likewise.
35874 * include/wctype.h: Likewise.
35875 * inet/aliases.h: Likewise.
35876 * inet/arpa/inet.h: Likewise.
35877 * inet/netinet/ether.h: Likewise.
35878 * inet/netinet/in.h: Likewise.
35879 * intl/libintl.h: Likewise.
35880 * io/bits/fcntl2.h: Likewise.
35881 * io/fcntl.h: Likewise.
35882 * io/ftw.h: Likewise.
35883 * io/sys/poll.h: Likewise.
35884 * io/sys/stat.h: Likewise.
35885 * io/sys/statfs.h: Likewise.
35886 * io/sys/statvfs.h: Likewise.
35887 * io/utime.h: Likewise.
35888 * libio/bits/stdio.h: Likewise.
35889 * libio/bits/stdio2.h: Likewise.
35890 * libio/libio.h: Likewise.
35891 * libio/libioP.h: Likewise.
35892 * libio/stdio.h: Likewise.
35893 * locale/lc-ctype.c: Likewise.
35894 * locale/locale.h: Likewise.
35895 * login/utmp.h: Likewise.
35896 * malloc/arena.c: Likewise.
35897 * malloc/malloc.c: Likewise.
35898 * malloc/malloc.h: Likewise.
35899 * malloc/mcheck.c: Likewise.
35900 * malloc/mtrace.c: Likewise.
35901 * math/bits/mathcalls.h: Likewise.
35902 * math/fenv.h: Likewise.
35903 * math/math_private.h: Likewise.
35904 * misc/bits/error.h: Likewise.
35905 * misc/bits/syslog.h: Likewise.
35906 * misc/err.h: Likewise.
35907 * misc/error.h: Likewise.
35908 * misc/fstab.h: Likewise.
35909 * misc/mntent.h: Likewise.
35910 * misc/regexp.h: Likewise.
35911 * misc/search.h: Likewise.
35912 * misc/sgtty.h: Likewise.
35913 * misc/sys/mman.h: Likewise.
35914 * misc/sys/syslog.h: Likewise.
35915 * misc/sys/uio.h: Likewise.
35916 * misc/sys/xattr.h: Likewise.
35917 * misc/ttyent.h: Likewise.
35918 * nis/rpcsvc/ypclnt.h: Likewise.
35919 * nss/nss.h: Likewise.
35920 * posix/bits/unistd.h: Likewise.
35921 * posix/fnmatch.h: Likewise.
35922 * posix/glob.h: Likewise.
35923 * posix/sched.h: Likewise.
35924 * posix/spawn.h: Likewise.
35925 * posix/sys/wait.h: Likewise.
35926 * posix/unistd.h: Likewise.
35927 * posix/wordexp.h: Likewise.
35928 * pwd/pwd.h: Likewise.
35929 * resolv/netdb.h: Likewise.
35930 * resource/sys/resource.h: Likewise.
35931 * rt/aio.h: Likewise.
35932 * rt/bits/mqueue2.h: Likewise.
35933 * rt/mqueue.h: Likewise.
35934 * shadow/shadow.h: Likewise.
35935 * signal/signal.h: Likewise.
35936 * socket/send.c: Likewise.
35937 * socket/sendto.c: Likewise.
35938 * socket/sys/socket.h: Likewise.
35939 * stdio-common/printf.h: Likewise.
35940 * stdlib/bits/stdlib.h: Likewise.
35941 * stdlib/fmtmsg.h: Likewise.
35942 * stdlib/monetary.h: Likewise.
35943 * stdlib/stdlib.h: Likewise.
35944 * stdlib/ucontext.h: Likewise.
35945 * streams/stropts.h: Likewise.
35946 * string/argz.h: Likewise.
35947 * string/bits/string2.h: Likewise.
35948 * string/string.h: Likewise.
35949 * string/strings.h: Likewise.
35950 * sunrpc/rpc/auth.h: Likewise.
35951 * sunrpc/rpc/auth_des.h: Likewise.
35952 * sunrpc/rpc/clnt.h: Likewise.
35953 * sunrpc/rpc/netdb.h: Likewise.
35954 * sunrpc/rpc/pmap_clnt.h: Likewise.
35955 * sunrpc/rpc/xdr.h: Likewise.
35956 * sysdeps/generic/inttypes.h: Likewise.
35957 * sysdeps/generic/net/if.h: Likewise.
35958 * sysdeps/generic/sys/swap.h: Likewise.
35959 * sysdeps/gnu/net/if.h: Likewise.
35960 * sysdeps/gnu/utmpx.h: Likewise.
35961 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35962 * sysdeps/i386/i486/bits/string.h: Likewise.
35963 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35964 * sysdeps/s390/bits/string.h: Likewise.
35965 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35966 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35967 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35968 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35969 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35970 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35971 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35972 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35973 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35974 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35975 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35976 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35977 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35978 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35979 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35980 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35981 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35982 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35983 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35984 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35985 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35986 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35987 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35988 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35989 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35990 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35991 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35992 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35993 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35994 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35995 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35996 * sysvipc/sys/ipc.h: Likewise.
35997 * sysvipc/sys/msg.h: Likewise.
35998 * sysvipc/sys/sem.h: Likewise.
35999 * sysvipc/sys/shm.h: Likewise.
36000 * termios/termios.h: Likewise.
36001 * time/sys/time.h: Likewise.
36002 * time/time.h: Likewise.
36003 * wcsmbs/bits/wchar2.h: Likewise.
36004 * wcsmbs/uchar.h: Likewise.
36005 * wcsmbs/wchar.h: Likewise.
36006 * wctype/wctype.h: Likewise.
36007
0269750c
UD
36008 [BZ #13551]
36009 * Makeconfig: Remove all but ELF support including AIX support.
36010 * Makerules: Likewise.
36011 * config.h.in: Likewise.
36012 * config.make.in: Likewise.
36013 * configure: Likewise.
36014 * configure.in: Likewise.
36015 * csu/Makefile: Likewise.
36016 * csu/version.c: Likewise.
36017 * debug/Makefile: Likewise.
36018 * dlfcn/Makefile: Likewise.
36019 * elf/Makefile: Likewise.
36020 * extra-lib.mk: Likewise.
36021 * iconv/Makefile: Likewise.
36022 * include/libc-symbols.h: Likewise.
36023 * include/shlib-compat.h: Likewise.
36024 * resolv/Makefile: Likewise.
36025 * resolv/res_libc.c: Likewise.
36026 * rt/Makefile: Likewise.
36027 * sysdeps/i386/asm-syntax.h: Likewise.
36028 * sysdeps/i386/sysdep.h: Likewise.
36029 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36030 * sysdeps/mach/sysdep.h: Likewise.
36031 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36032 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36033 * sysdeps/s390/asm-syntax.h: Likewise.
36034 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36035 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36036 * sysdeps/sh/sysdep.h: Likewise.
36037 * sysdeps/unix/sparc/sysdep.h: Likewise.
36038 * sysdeps/wordsize-32/divdi3.c: Likewise.
36039 * sysdeps/x86_64/sysdep.h: Likewise.
36040
00bbd29b
UD
36041 * argp/Versions: Remove _argp_unlock_xxx.
36042
36043 [BZ #13559]
36044 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36045 * abilist/libBrokenLocale.abilist: Likewise.
36046 * abilist/libanl.abilist: Likewise.
36047 * abilist/libc.abilist: Likewise.
36048 * abilist/libcrypt.abilist: Likewise.
36049 * abilist/libdl.abilist: Likewise.
36050 * abilist/libm.abilist: Likewise.
36051 * abilist/libnsl.abilist: Likewise.
36052 * abilist/libpthread.abilist: Likewise.
36053 * abilist/libresolv.abilist: Likewise.
36054 * abilist/librt.abilist: Likewise.
36055 * abilist/libthread_db.abilist: Likewise.
36056 * abilist/libutil.abilist: Likewise.
36057 * abilist/libnss_db.abilist: New file.
36058
36059 * scripts/abilist.awk: Add support for indirect functions.
36060
a2693a0e
UD
36061 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36062
3f05895f
UD
36063 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36064
ecb6fb48
UD
36065 * shlib-versions: Remove entries for ports architectures.
36066
664f8cb9
UD
36067 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36068 files in ports.
36069 * elf/stackguard-macros.h: Remove support for IA-64.
36070 * elf/tst-auditmod1.c: Likewise.
36071 * sysdeps/generic/ldsodefs.h: Likewise.
36072
7ae81d88
UD
36073 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36074 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36075 configure files.
36076
bdeba135
UD
36077 [BZ #13552]
36078 * configure.in: Remove --enable-omitfp support.
36079 * FAQ.in: Adjust.
36080 * config.make.in: Likewise.
36081 * Makeconfig: Likewise.
36082 * manual/install.texi: Likewise.
36083
d75a0a62
UD
36084 In case anyone cares, the IA-64 architecture could move to ports.
36085 * sysdeps/ia64/*: Removed.
36086 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36087 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36088
dcc9756b
UD
36089 [BZ #13555]
36090 * configure.in: Remove entries for unsupported architectures.
36091
d3761ebc 36092 [BZ #13533]
9954432e
UD
36093 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36094 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36095 routines.
36096 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36097 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36098 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36099 fall back to using wcrtomb.
36100 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36101 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36102 renaming.
36103 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36104 * wcsmbs/tst-c16c32-1.c: New file.
36105
36106 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36107 local variable.
36108
c3a87236
UD
36109 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36110
28926a1b
UD
36111 * elf/tst-unique3.cc: Add explicit declaration of gets.
36112 * elf/tst-unique3lib.cc: Likewise.
36113 * elf/tst-unique3lib2.cc: Likewise.
36114 * elf/tst-unique4.cc: Likewise.
36115
df78418a
UD
36116 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36117
8ecd6b2a
JM
361182012-01-06 Joseph Myers <joseph@codesourcery.com>
36119
36120 [BZ #13566]
36121 * assert/assert.h (static_assert): Don't define for C++.
36122 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36123 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36124
9f115170
UD
361252012-01-03 Ulrich Drepper <drepper@gmail.com>
36126
5e0d0300
UD
36127 * iconv/loop.c (single loop): Fix assertion in storing of
36128 remaining bytes.
36129
9f115170
UD
36130 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36131
81fb02b0
UD
361322012-01-01 Ulrich Drepper <drepper@gmail.com>
36133
36134 * posix/getconf.c: Update copyright year.
36135 * nss/getent.c: Likewise.
a316c1f6 36136 * nss/makedb.c: Likewise.
81fb02b0
UD
36137 * iconv/iconvconfig.c: Likewise.
36138 * iconv/iconv_prog.c: Likewise.
36139 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36140 * elf/pldd.c: Likewise.
36141 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36142 * catgets/gencat.c: Likewise.
36143 * csu/version.c: Likewise.
36144 * elf/ldd.bash.in: Likewise.
36145 * elf/sprof.c (print_version): Likewise.
36146 * locale/programs/locale.c: Likewise.
36147 * locale/programs/localedef.c: Likewise.
a316c1f6 36148 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36149 * nscd/nscd.c (print_version): Likewise.
36150 * debug/xtrace.sh: Likewise.
36151 * malloc/memusage.sh: Likewise.
36152 * malloc/mtrace.pl: Likewise.
36153 * debug/catchsegv.sh: Likewise.
36154
2ba92745
JJ
361552011-12-30 Jakub Jelinek <jakub@redhat.com>
36156
36157 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36158 pure attribute.
36159
dadebdae
UD
361602011-12-24 Ulrich Drepper <drepper@gmail.com>
36161
d3761ebc 36162 [BZ #13533]
db6af3eb
UD
36163 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36164 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36165 transformations.
36166 * iconv/gconv_int.h: Likewise.
36167 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36168 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36169 from libc for GLIBC_2.16.
36170 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36171 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36172 * wcsmbs/uchar.h: Really define mbstate_t.
36173 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36174 * wcsmbs/c16rtomb.c: New file.
36175 * wcsmbs/mbrtoc16.c: New file.
36176 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36177 for C/POSIX locale.
36178 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36179 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36180
dadebdae
UD
36181 * wcsmbs/wchar.h: Add missing __restrict.
36182
67371b56
UD
361832011-12-23 Ulrich Drepper <drepper@gmail.com>
36184
74033a25
UD
36185 [BZ #13532]
36186 * time/Makefile (routines): Add timespec_get.
36187 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36188 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36189 timespec for ISO C11.
36190 * time/timespec_get.c: New file.
36191 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36192 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36193
380d7e87
UD
36194 [BZ #13531]
36195 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36196 * stdlib/stdlib.h: Declare aligned_alloc.
36197 * Versions.def: Add GLIBC_2.16 for libc.
36198 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36199
4e9e7a35
UD
36200 [BZ 13527]
36201 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36202 ISO C11.
36203
380d7e87 36204 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36205 code.
36206
03a71829
UD
36207 [BZ #13528]
36208 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36209
839e283e
UD
36210 [BZ #13529]
36211 * assert/assert.h (static_assert): Define.
36212
ce5294e2 36213 * version.h: Update for 2.16 development version.
90fa7312 36214
8d44e150 36215 [BZ #13526]
d7809905
UD
36216 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36217 _ISOC11_SOURCE.
36218
c0da14cd
UD
36219 * version.h (RELEASE): Bump for 2.15 release.
36220 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36221
530a3249
MP
36222 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36223 Patch by Marek Polacek <mpolacek@redhat.com>.
36224
67371b56
UD
36225 * bits/byteswap.h: Protect long long constants with __extension__.
36226 * sysdeps/i386/bits/byteswap.h: Likewise.
36227 * sysdeps/ia64/bits/byteswap.h: Likewise.
36228 * sysdeps/s390/bits/byteswap.h: Likewise.
36229 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36230
15db4de1
LD
362312011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36232
36233 [BZ #13540]
bbe315ea
LD
36234 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36235 destination buffer.
15db4de1
LD
36236 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36237
2b2596b1
MP
362382011-12-23 Marek Polacek <polacek@redhat.com>
36239
36240 * elf/dl-addr.c (determine_info): Add inline keyword.
36241 * elf/tst-auditmod4b.c (check_avx): Likewise.
36242 * elf/tst-auditmod6b.c (check_avx): Likewise.
36243 * elf/tst-auditmod6c.c (check_avx): Likewise.
36244 * elf/tst-auditmod7b.c (check_avx): Likewise.
36245
70c6c246
UD
362462011-12-23 Ulrich Drepper <drepper@gmail.com>
36247
36248 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36249 !__SSE_MATH__.
36250
c044cf14
LD
362512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36252
15db4de1 36253 [BZ #13540]
c044cf14
LD
36254 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36255 processing for last bytes.
36256
6b13d9d9
BH
362572011-08-06 Bruno Haible <bruno@clisp.org>
36258
d455f537
BH
36259 [BZ #13061]
36260 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36261 U+0385, not to U+1FEE.
36262
6b13d9d9
BH
36263 [BZ #13062]
36264 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36265 entry for U+00A5 U+0301.
36266
db910efd
UD
362672011-12-22 Ulrich Drepper <drepper@gmail.com>
36268
27deeafc
UD
36269 [BZ #13166]
36270 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36271 buffer for the output is too small.
36272
aed9d171
UD
36273 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36274 optimization.
36275
db910efd
UD
36276 [BZ #13185]
36277 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36278 SSE flags if possible.
36279
2bd779ae
LD
362802011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36281
e7f9dac3 36282 [BZ #13540]
2bd779ae
LD
36283 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36284 processing for last bytes.
36285
154bfc16
JM
362862011-12-22 Joseph Myers <joseph@codesourcery.com>
36287
36288 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36289 (syscall-list-default-options, syscall-list-default-condition)
36290 (syscall-list-includes): Define.
36291 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36292 list of ABIs and options and #if conditions for each ABI. Do not
36293 handle common syscalls between ABIs specially.
36294 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36295 Remove.
36296 (syscall-list-variants, syscall-list-32bit-options)
36297 (syscall-list-32bit-condition, syscall-list-64bit-options)
36298 (syscall-list-64bit-condition): Define.
36299 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36300 (syscall-list-variants, syscall-list-32bit-options)
36301 (syscall-list-32bit-condition, syscall-list-64bit-options)
36302 (syscall-list-64bit-condition): Define.
36303 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36304 Remove.
36305 (syscall-list-variants, syscall-list-32bit-options)
36306 (syscall-list-32bit-condition, syscall-list-64bit-options)
36307 (syscall-list-64bit-condition): Define.
36308 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36309 Remove.
36310 (syscall-list-variants, syscall-list-32bit-options)
36311 (syscall-list-32bit-condition, syscall-list-64bit-options)
36312 (syscall-list-64bit-condition): Define.
36313
21eaf3a5
UD
363142011-12-22 Ulrich Drepper <drepper@gmail.com>
36315
16c6f992
UD
36316 * locale/iso-639.def: Add brx entry.
36317
41043168
UD
36318 [BZ #13328]
36319 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36320 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36321
21eaf3a5
UD
36322 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36323 __feraiseexcept_renamed.
36324
e3a851a2
UD
363252011-12-21 Ulrich Drepper <drepper@gmail.com>
36326
4920765e
UD
36327 [BZ #13538]
36328 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36329 EPOLLET with unsigned values.
36330 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36331 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36332
e3a851a2
UD
36333 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36334 to large cancellation.
36335 * math/s_cacoshf.c: Likewise.
36336 * math/s_cacoshl.c: Likewise.
36337
b27e24b8
RK
363382011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36339
36340 [BZ #13305]
aebefeee 36341 [BZ #12786]
b27e24b8
RK
36342 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36343 * math/s_cacoshf.c: Likewise.
36344 * math/s_cacoshl.c: Likewise.
36345
ee190f67
UD
363462011-12-21 Ulrich Drepper <drepper@gmail.com>
36347
36348 [BZ #13439]
36349 * iconv/gconv.h: Define __GCONV_SWAP.
36350 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36351 * iconvdata/utf-16.c: Likewise.
36352 * iconvdata/utf-32.c: Likewise.
36353
707f25df
AS
363542011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36355
36356 [BZ #13524]
36357 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36358 numerator after shifting it by one limb.
36359
d2daaa1e
RÁE
363602011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36361
36362 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36363 under [__USE_EXTERN_INLINES].
36364
a4647e72
UD
363652011-12-17 Ulrich Drepper <drepper@gmail.com>
36366
36367 [BZ #13446]
36368 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36369
f0b264f1
AZ
363702011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36371
36372 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36373 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36374 optimized code.
36375 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36376 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36377 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36378 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36379 for strncasecmp/strncasecmp_l compilation.
36380 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36381 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36382
8ef4f244
MP
363832011-12-08 Marek Polacek <mpolacek@redhat.com>
36384
36385 [BZ #13484]
36386 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36387 of __asm__.
36388
97ac2654
UD
363892011-12-17 Ulrich Drepper <drepper@gmail.com>
36390
36391 [BZ #13506]
36392 * time/tzfile.c (__tzfile_read): Check values from file header.
36393
91d2a845
WS
363942011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36395
36396 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36397 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36398 * powerpc/powerpc32/dl-start.S: Likewise.
36399 * powerpc/powerpc32/elf/start.S: Likewise.
36400 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36401 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36402 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36403 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36404 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36405 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36406 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36407 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36408 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36409 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36410 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36411 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36412 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36413 * powerpc/powerpc32/memset.S: Likewise.
36414 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36415 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36416 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36417 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36418 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36419 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36420 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36421 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36422 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36423 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36424 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36425 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36426 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36427
a1267ba1
AZ
364282011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36429
36430 * math/libm-test.inc: Added more nearbyint tests.
36431 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36432 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36433 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36434 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36435
ad8ac1bd
RL
364362011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36437
36438 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36439 FD_CLOEXEC.
36440
1d3e4b61
UD
364412011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36442
36443 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36444 Add wcscpy-ssse3 wcscpy-c.
36445 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36446 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36447 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36448 * sysdeps/x86_64/wcschr.S: New file.
36449 * sysdeps/x86_64/wcsrchr.S: New file.
36450 * string/test-strcmp.c: Remove checking of wcscmp function for
36451 wrong alignments.
36452 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36453 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36454 wcsrchr-sse2 wcsrchr-c.
36455 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36456 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36457 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36458 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36459 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36460 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36461 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36462 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36463 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36464 * wcsmbc/wcschr.c (WCSCHR): New macro.
36465
5b330a2d
UD
364662011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36467
36468 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36469 * wcsmbs/test-wcsrchr.c: New file.
36470 * string/test-strrchr.c: Add wcsrchr support.
36471 (WIDE): New macro.
36472 * wcsmbs/test-wcscpy.c: New file.
36473 * string/test-strcpy.c: Add wcscpy support.
36474 (WIDE): New macro.
26428b7c 36475
f039c043
UD
364762011-12-10 Ulrich Drepper <drepper@gmail.com>
36477
36478 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36479 the inner loop.
36480
850fb039
AS
364812011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36482
36483 [BZ #13472]
36484 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36485
4efbd5cb
UD
364862011-12-04 Ulrich Drepper <drepper@gmail.com>
36487
52ff5dd0 36488 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36489 Minor optimizations.
52ff5dd0 36490
4efbd5cb
UD
36491 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36492 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36493 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36494
8a426e12
UD
364952011-12-03 Ulrich Drepper <drepper@gmail.com>
36496
aff2453d
UD
36497 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36498 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36499 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36500 for gcc to avoid warnings.
36501 * inet/Makefile (tests): Add tst-checks.
36502 * inet/tst-checks.c: New file.
36503
36504 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36505 warning.
36506
36507 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36508 __wmemcmp_sse2.
36509
36510 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36511 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36512
8a426e12
UD
36513 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36514
9bea3473
UD
365152011-12-02 Ulrich Drepper <drepper@gmail.com>
36516
3a965496
UD
36517 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36518 problem.
36519
9bea3473
UD
36520 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36521
f101631b
UD
365222011-11-29 Joseph Myers <joseph@codesourcery.com>
36523
36524 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36525 conditional on GCC version.
36526 (__arch_compare_and_exchange_val_8_acq)
36527 (__arch_compare_and_exchange_val_16_acq)
36528 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36529 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36530 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36531
a98275aa
UD
365322011-12-02 Joseph Myers <joseph@codesourcery.com>
36533
36534 * sysdeps/sh/backtrace.c: New file.
36535
d4cc29a2
AS
365362011-12-02 Andreas Schwab <schwab@redhat.com>
36537
36538 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36539 parenthesis.
36540
6257af2d
AS
365412011-12-01 Andreas Schwab <schwab@redhat.com>
36542
36543 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36544 falling back to utime.
36545
b5f44c1a
AS
365462011-11-30 Andreas Schwab <schwab@redhat.com>
36547
36548 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36549 expectations for float.
36550
f3a6cc0a
AS
365512011-11-29 Andreas Schwab <schwab@redhat.com>
36552
36553 * locale/weight.h (findidx): Add parameter len.
36554 * locale/weightwc.h (findidx): Likewise.
36555 * posix/fnmatch_loop.c (FCT): Adjust caller.
36556 * posix/regcomp.c (build_equiv_class): Likewise.
36557 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36558 * posix/regexec.c (check_node_accept_bytes): Likewise.
36559 * string/strcoll_l.c (STRCOLL): Likewise.
36560 * string/strxfrm_l.c (STRXFRM): Likewise.
36561
9d65ea3a
UD
365622011-11-17 Ulrich Drepper <drepper@gmail.com>
36563
36564 * Makefile.in: Remove CVSOPT handling.
36565 * configure.in: Remove use of AC_REVISION.
36566 * iconvdata/Makefile (distribute): No need to filter out CVS.
36567 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36568 handling.
36569
5583a086
AS
365702011-11-16 Andreas Schwab <schwab@redhat.com>
36571
36572 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36573 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36574 [USE_AS_STRNCASECMP_L]: Likewise.
36575 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36576 NO_TLS_DIRECT_SEG_REFS.
36577 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36578 Fix argument offsets for non-PIC.
36579 [USE_AS_STRNCASECMP_L]: Likewise.
36580 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36581 NO_TLS_DIRECT_SEG_REFS.
36582
d62a8200
UD
365832011-11-15 Ulrich Drepper <drepper@gmail.com>
36584
9d65ea3a 36585 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36586 O_CLOEXEC.
36587 * locale/loadlocale.c (_nl_load_locale): Likewise.
36588
09f93bd3
AS
365892011-11-15 Andreas Schwab <schwab@redhat.com>
36590
446514f9
AS
36591 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36592 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36593 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36594 (SYSCALL_GETTIME): Set errno on error.
36595
09f93bd3
AS
36596 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36597 count references to noai6ai_cached.
36598
312be3f9
UD
365992011-11-15 Ulrich Drepper <drepper@gmail.com>
36600
36601 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36602
36603 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36604 FD_CLOEXEC for /proc/self/maps.
36605
36606 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36607 FD_CLOEXEC for /proc/meminfo.
36608
36609 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36610 gai.conf.
36611
36612 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36613 FD_CLOEXEC for given file.
36614
36615 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36616
36617 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36618 FD_CLOEXEC for /etc/hosts.
36619 (_gethtent): Likewise.
36620
36621 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36622
36623 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36624 cancellation and set FD_CLOEXEC for /etc/netgroup.
36625
36626 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36627 reading /etc/publickey.
36628
36629 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36630 allow cancellation when reading /etc/group.
36631
36632 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36633 cancellation.
36634 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36635
36636 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36637 when using data file.
36638
36639 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36640
36641 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36642 (write_nis_obj): Use "c" and "e" in fopen.
36643
36644 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36645
36646 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36647
36648 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36649
36650 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36651
36652 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36653 locale.alias.
36654
36655 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36656
36657 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36658
36659 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36660
36661 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36662 file parsing and set FD_CLOEXEC.
36663
82af0fa8
UD
366642011-11-14 Ulrich Drepper <drepper@gmail.com>
36665
36666 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36667
a5fb313c
AS
366682011-11-14 Andreas Schwab <schwab@redhat.com>
36669
36670 * malloc/arena.c (arena_get2): Don't call reused_arena when
36671 _int_new_arena failed.
36672
6abf3465
UD
366732011-11-14 Ulrich Drepper <drepper@gmail.com>
36674
36675 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36676 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36677 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36678 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36679 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36680 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36681 to compile strcasecmp and strncasecmp.
36682 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36683 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36684
36685 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36686
76e3966e
UD
366872011-11-13 Ulrich Drepper <drepper@gmail.com>
36688
36689 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36690 locale-defines.sym to gen-as-const-headers.
36691 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36692 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36693 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36694 to compile strcasecmp and strncasecmp.
36695 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36696 strcasecmp_l and strncasecmp_l.
36697 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36698 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36699 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36700 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36701 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36702 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36703 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36704 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36705 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36706 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36707 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36708
ab26144e
UD
367092011-11-12 Ulrich Drepper <drepper@gmail.com>
36710
7edb22ef
UD
36711 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36712 result of SYSDEP_GETTIME_CPU to retval.
36713 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36714 parameter list to macro. Remove trailing semicolon. Adjust users.
36715
9694fc44
UD
36716 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36717 variable.
36718
8ad89ef8
UD
36719 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36720 mantissa words.
36721 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36722
0c822ef9
UD
36723 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36724 from unused variable.
36725
874e0564
UD
36726 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36727 DWARF definitions.
36728 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36729 for assembling.
36730
3a2edc79
UD
36731 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36732 over namespaces.
36733
f3c2577f
UD
36734 * sunrpc/rpc_prot.c (rejected): Fix case value.
36735
294ce126
UD
36736 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36737 unsigned long long int to avoid warnings in shift.
36738
5e2b63c6
UD
36739 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36740 of use of trans.
36741 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36742 variable tmp.
36743
e7f4b08e
UD
36744 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36745 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36746 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36747
ab26144e
UD
36748 * nis/nis_table.c (nis_list): Use variable of correct type for
36749 result of __follow_path call.
36750
8a6d5255
AZ
367512011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36752
36753 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36754 of math functions ceil, trunc, floor, round, and sqrt, when
36755 avaliable on the platform.
36756 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36757 name clash.
36758 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36759 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36760 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36761
aaddc98c
MP
367622011-10-30 Marek Polacek <mpolacek@redhat.com>
36763
36764 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36765 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36766
95b7042b
RM
367672011-11-11 Roland McGrath <roland@hack.frob.com>
36768
36769 * include/unistd.h: Fix __readlink return type.
36770 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36771
57769839
UD
367722011-11-11 Ulrich Drepper <drepper@gmail.com>
36773
36774 * stdlib/ucontext.h: Undo last change for makecontext.
36775
edc5984d
AS
367762011-11-11 Andreas Schwab <schwab@redhat.com>
36777
98591e58
AS
36778 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36779
edc5984d
AS
36780 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36781 * setjmp/setjmp.h: Mark functions as non-leaf.
36782 * setjmp/bits/setjmp2.h: Likewise.
36783 * stdlib/ucontext.h: Likewise.
36784
77cdc054
AS
367852011-11-10 Andreas Schwab <schwab@redhat.com>
36786
36787 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36788 (reused_arena): Don't check arena limit.
36789 (arena_get2): Atomically check arena limit.
36790
fe72eebd
UD
367912011-11-08 Ulrich Drepper <drepper@gmail.com>
36792
5f078c32
UD
36793 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36794 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36795
fe72eebd
UD
36796 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36797 instructions.
36798
ae1bc2fa
AS
367992011-11-07 Andreas Schwab <schwab@redhat.com>
36800
7583a88d
AS
36801 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36802 handler when locking.
36803
ae1bc2fa
AS
36804 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36805 Fix size of allocated buffer.
36806
10fb0bfa
AS
368072011-11-04 Andreas Schwab <schwab@redhat.com>
36808
998832a4
AS
36809 [BZ #10103]
36810 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36811 declarations for long double functions.
36812 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36813
10fb0bfa
AS
36814 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36815
3d7ba52b
AS
368162011-11-03 Andreas Schwab <schwab@redhat.com>
36817
a9ae54a1
AS
36818 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36819 installed.
36820
3d7ba52b
AS
36821 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36822 is disabled.
36823
bc8db248
ST
368242011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36825
36826 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36827
45b96dd6
AS
368282011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36829
647776f6
AS
36830 * include/alloca.h (stackinfo_alloca_round): Define.
36831 (extend_alloca): Use it.
36832 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36833 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36834 here.
36835
d91a8b93
AS
36836 * scripts/check-local-headers.sh: Ignore libaudit.h.
36837
45b96dd6
AS
36838 * nscd/Makefile (extra-objs): Make recursively expanded.
36839
432d41ce
UD
368402011-11-01 Ulrich Drepper <drepper@gmail.com>
36841
34372fc6
UD
36842 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36843 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36844
fadb59f8
UD
36845 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36846 * posix/tst-rfc3484-2.c: Likewise.
36847 * posix/tst-rfc3484-3.c: Likewise.
36848
78239589
UD
36849 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36850 process_vm_writev.
36851 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36852 process_vm_writev.
36853 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36854 process_vm_writev from libc using GLIBC_2.15 version.
36855
432d41ce
UD
36856 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36857
02f9c6cf
PP
368582011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36859
36860 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36861 stack usage.
36862
3a2c0242
UD
368632011-10-31 Ulrich Drepper <drepper@gmail.com>
36864
f4ec4833
UD
36865 [BZ #13367]
36866 * nss/getent.c (initgroups_keys): Show error message in case no group
36867 names are given.
36868
3a2c0242
UD
36869 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36870 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36871 __bump_nl_timestamp.
36872 * nscd/connections (nscd_init): When host database is served open
36873 netlink socket and request notification about configuration changes.
36874 (main_loop_poll): Track netlink file descriptor and bump timestamp
36875 in case data becomes available.
36876 (main_loop_epoll): Likewise.
36877 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36878 (database_pers_head): Add extra_data fileds.
36879 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36880 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36881 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36882 Adjust caller.
36883 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36884 in6ai data, call __free_in6ai.
36885 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36886 Add -DHAVE_NETLINK.
36887 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36888 interface information. Reuse previous data if netlink timestamp
36889 is not changed.
36890 (__bump_nl_timestamp): New function.
36891 (__free_in6ai): New function.
36892
636064eb
UD
368932011-10-30 Ulrich Drepper <drepper@gmail.com>
36894
36895 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36896 close_not_cancel_no_status here.
36897 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36898
9beb2334
UD
368992011-10-29 Ulrich Drepper <drepper@gmail.com>
36900
6ef76f3b
UD
36901 [BZ #13276]
36902 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36903 return value.
36904
0ffc4f3e 36905 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36906 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36907 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36908
cb95113e
UD
369092011-07-03 Andreas Jaeger <aj@suse.de>
36910
36911 [BZ #10709]
36912 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36913 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36914 * math/libm-test.inc (sin_test): Add test case.
36915
a1b560ff
UD
369162011-10-29 Ulrich Drepper <drepper@gmail.com>
36917
c9aaface
UD
36918 [BZ #13337]
36919 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36920 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36921
d272e7f1
UD
36922 * elf/chroot_canon.c (chroot_canon): Cleanups.
36923
1bc33071
UD
36924 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36925
1760874d
TJ
36926 [BZ #13335]
36927 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36928 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36929
51d91b18
UD
36930 * string/test-strchr.c: Make usable for strchrnul testing.
36931 * string/test-strchrnul.c: New file.
36932 * string/Makefile (strop-tests): Add strchrnul.
36933
a1b560ff 36934 * po/it.po: Update from translation team.
b611fb81 36935 * po/es.po: Likewise.
a1b560ff 36936
a5b81e1f
UD
369372011-10-28 Ulrich Drepper <drepper@gmail.com>
36938
fd52bc6d
UD
36939 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36940 the three constants needed as parameters. Drop the others.
36941 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36942 __m128i_strloadu_tolower.
52e4b9eb
UD
36943 Create and initialize variable zero and use it in all the places
36944 where _mm_setzero_si128 was used.
fd52bc6d 36945
a5b81e1f
UD
36946 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36947 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36948 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36949 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36950 anymore.
36951 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36952 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36953 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36954 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36955 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36956 __mpranred, __mptan.
36957 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36958 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36959 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36960 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36961 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36962 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36963 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36964 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36965 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36966
b4343346
AS
369672011-10-28 Andreas Schwab <schwab@redhat.com>
36968
0c92d8a8
AS
36969 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36970 redefine if SHARED.
36971 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36972
b4343346
AS
36973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36974 wide char related routines to wcsmbs subdir.
36975
3871f58f
AS
369762011-10-27 Andreas Schwab <schwab@redhat.com>
36977
36978 [BZ #13344]
36979 * misc/sys/cdefs.h (__THROWNL): Define.
36980 * posix/unistd.h: Use __THREADNL instead of __THREAD
36981 for memory synchronization functions.
36982
94d44d9f
RM
369832011-10-26 Roland McGrath <roland@hack.frob.com>
36984
21b64b15 36985 [BZ #13349]
94d44d9f
RM
36986 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36987 doesn't exist.
36988 * manual/stdio.texi (Obstack Streams): Node removed.
36989
f6ce9294
AS
369902011-10-26 Andreas Schwab <schwab@redhat.com>
36991
80479147
AS
36992 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36993 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36994 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36995
f6ce9294
AS
36996 * math/math_private.h (math_force_eval): Allow non-addressable
36997 arguments.
36998 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36999
618280a1
UD
370002011-10-25 Ulrich Drepper <drepper@gmail.com>
37001
e0016b11
UD
37002 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37003 file is not needed.
37004
37005 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37006 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37007 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37008 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37009 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37010 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37011 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37012 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37013 Add AVX variants.
37014 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37015 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37016 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37017 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37018 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37019 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37020 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37021 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37022 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37023 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37024 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37025 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37026 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37027 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37028 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37029 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37030 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37031 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37032 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37033
37034 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37035 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37036
618280a1
UD
37037 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37038 place. Use VEX encoding when compiling for AVX.
37039
37822576
AS
370402011-10-25 Andreas Schwab <schwab@redhat.com>
37041
1f1e1947
AS
37042 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37043 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37044
37822576
AS
37045 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37046
31ea014d
UD
370472011-10-25 Ulrich Drepper <drepper@gmail.com>
37048
d7826aa1 37049 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37050 useless if() expression.
d7826aa1
UD
37051 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37052 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37053 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37054 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37055 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37056 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37057 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37058 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37059 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37060 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37061 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37062 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37063 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37064 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37065 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37066 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37067 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37068 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37069 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37070
31ea014d
UD
37071 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37072
16437fec
AS
370732011-10-25 Andreas Schwab <schwab@redhat.com>
37074
37075 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37076 condition.
37077 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37078
31d3cc00
UD
370792011-10-25 Ulrich Drepper <drepper@gmail.com>
37080
37081 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37082 .text section. Avoid duplicate constants.
37083 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37085 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37087 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37093 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37095 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37097 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37098 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37100 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37106 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37107 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37108 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37109 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37110 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37111 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37112 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37113 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37114 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37115 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37116 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37117 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37118 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37119 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37120 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37121 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37122 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37123 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37124 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37125 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37126 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37127 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37128
58985aa9
UD
371292011-10-24 Ulrich Drepper <drepper@gmail.com>
37130
202c9deb
UD
37131 * sysdeps/x86_64/dla.h: Move to ...
37132 * sysdeps/x86_64/fpu/dla.h: ...here.
37133 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37134 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37135
af968f62
UD
37136 * config.make.in: Add have-mfma4 entry.
37137 * configure.in: Substitute libc_cv_cc_fma4.
37138 * math/Makefile (dbl-only-routines): Add sincostab.
37139 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37140 Use __sincostab not sincos.
37141 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37142 name is a macro.
37143 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37147 using __copysign.
37148 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37149 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37150 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37151 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37152 and __inv.
37153 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37154 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37155 __copysign.
37156 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37157 define aliases when function name is a macro.
37158 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37159 sysdeps/ieee754/dbl-64/sincos.tbl.
37160 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37161 fma4-enabled routines.
37162 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37163 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37164 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37165 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37166 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37167 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37168 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37169 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37170 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37171 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37172 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37173 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37174 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37175 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37176 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37177 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37178 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37179 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37180 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37181 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37182 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37183 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37184 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37185 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37186 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37187 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37188 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37189 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37190 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37191 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37192
58985aa9
UD
37193 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37194 rename.
37195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37196 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37200 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37201 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37202 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37203
a201fbcf
AS
372042011-10-24 Andreas Schwab <schwab@redhat.com>
37205
37206 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37207
fc2ee42a
LD
372082011-10-23 Ulrich Drepper <drepper@gmail.com>
37209
bb3129bd
UD
37210 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37211
0275fff8
UD
37212 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37213 prediction.
37214 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37215
2fa2ae85
UD
37216 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37217 Remove unused variable magic_bits.
37218 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37219
fc2ee42a
LD
37220 * string/strnlen.c: Define and use STRNLEN macro.
37221 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37222 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37223 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37224 * wcsmbs/wcslen.c: Define and use WCSLEN.
37225 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37226 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37227 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37228 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37229 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37230 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37231 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37232
ce7dd29f
LD
372332011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37234
37235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37236 strnlen-sse2-no-bsf.
37237 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37238 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37239 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37240 Add strnlen support.
37241 (USE_AS_STRNLEN): New macro.
37242 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37243 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37244 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37245 * sysdeps/x86_64/wcslen.S: New file.
37246
979c70a3
MZ
372472011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37248
37249 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37250 XMM-moves are used for copying on small sizes.
37251
2d09f82f
LD
372522011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37253
37254 * wcsmbs/Makefile (strop-tests): Add wcschr.
37255 * wcsmbs/test-wcschr.c: New file.
37256 * string/test-strchr.c: Update.
37257 Add wcschr support.
37258 (WIDE): New macro.
37259
619fccca
LD
372602011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37261
2d09f82f 37262 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37263 * wcsmbs/test-wcslen.c: New file.
37264 * string/test-strlen.c: Update.
37265 Add wcslen support.
37266 (WIDE): New macro.
37267
09f699ea
UD
372682011-10-23 Ulrich Drepper <drepper@gmail.com>
37269
37270 * po/it.po: Update from translation team.
37271
95584d3b
LD
372722011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37273
37274 * sysdeps/x86_64/wcscmp.S: Update.
37275 Fix wrong comparison semantics.
37276 wcscmp shall use signed comparison not unsigned.
37277 Don't use substraction to avoid overflow bug.
37278 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37279 * wcsmbc/wcscmp.c: Likewise.
37280 * string/test-strcmp.c: Likewise.
37281 Add new tests to check cases with negative values.
37282
c8b3296b
UD
372832011-10-23 Ulrich Drepper <drepper@gmail.com>
37284
37285 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37286 * sysdeps/x86_64/dla.h: ...here. New file.
37287 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37288 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37289 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37292 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37293 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37294 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37295 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37296
246ad57a
AS
372972011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37298
37299 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37300 __ynl_finite aliases.
37301
a1a87169
UD
373022011-10-22 Ulrich Drepper <drepper@gmail.com>
37303
0d355eb7
UD
37304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37305
a1a87169
UD
37306 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37307 define DLA_FMA.
37308 [DLA_FMA] (EMULV): Use DLA_FMA.
37309 [DLA_FMA] (MUL12): Use EMULV.
37310 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37311 that are not needed.
37312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37317 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37318 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37319
ee2aafe0
AS
373202011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37321
37322 * math/s_nan.c: Undef __nan.
37323 * math/s_nanf.c: Undef __nanf.
37324 * math/s_nanl.c: Undef __nanl.
37325 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37326 "math_private.h".
37327
bc62c2fb
UD
373282011-10-22 Ulrich Drepper <drepper@gmail.com>
37329
77425c63
UD
37330 * math/s_catan.c: Add branch predictions.
37331 * math/s_catanf.c: Likewise.
37332 * math/s_catanh.c: Likewise.
37333 * math/s_catanhf.c: Likewise.
37334 * math/s_catanhl.c: Likewise.
37335 * math/s_catanl.c: Likewise.
37336 * math/s_cexp.c: Likewise.
37337 * math/s_cexpf.c: Likewise.
37338 * math/s_cexpl.c: Likewise.
37339 * math/s_clog.c: Likewise.
37340 * math/s_clog10.c: Likewise.
37341 * math/s_clog10f.c: Likewise.
37342 * math/s_clog10l.c: Likewise.
37343 * math/s_clogf.c: Likewise.
37344 * math/s_clogl.c: Likewise.
37345 * math/s_csqrt.c: Likewise.
37346 * math/s_csqrtf.c: Likewise.
37347 * math/s_csqrtl.c: Likewise.
37348 * math/s_ctanf.c: Likewise.
37349 * math/s_ctanh.c: Likewise.
37350 * math/s_ctanhf.c: Likewise.
37351 * math/s_ctanhl.c: Likewise.
37352 * math/s_ctanl.c: Likewise.
37353
bc62c2fb
UD
37354 * math/math_private.h: Define __nan, __nanf, __nanl.
37355 * math/s_cacosh.c: Include <math_private.h>.
37356 * math/s_cacoshl.c: Likewise.
37357 * math/s_casinh.c: Likewise.
37358 * math/s_casinhf.c: Likewise.
37359 * math/s_casinhl.c: Likewise.
37360 * math/s_ccos.c: Rely entire on ccosh.
37361 * math/s_ccosf.c: Rely entire on ccoshf.
37362 * math/s_ccosl.c: Rely entirely on ccoshl.
37363 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37364 Remove tests for FE_INVALID.
37365 * math/s_ccoshf.c: Likewise.
37366 * math/s_ccoshl.c: Likewise.
37367 * math/s_csin.c: Likewise.
37368 * math/s_csinf.c: Likewise.
37369 * math/s_csinh.c Likewise.
37370 * math/s_csinhf.c: Likewise.
37371 * math/s_csinhl.c: Likewise.
37372 * math/s_csinl.c: Likewise.
37373 * math/s_ctan.c: Likewise.
37374 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37375 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37376 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37377
8ec250a4
UD
373782011-10-21 Ulrich Drepper <drepper@gmail.com>
37379
c196fed8
UD
37380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37381 compilation problems.
37382
8ec250a4
UD
37383 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37384 __builtin_expect.
37385
8d4f46c6
UD
373862011-10-20 Ulrich Drepper <drepper@gmail.com>
37387
ed72b654
UD
37388 * sysdeps/i386/configure.in: Test for -mfma4 option.
37389 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37390 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37391 COMMON_CPUID_INDEX_80000001.
37392 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37393 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37394 use it if FMA3 is not supported.
37395 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37396
8d4f46c6
UD
37397 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37398 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37399
d45c60c2
AS
374002011-10-20 Andreas Schwab <schwab@redhat.com>
37401
37402 [BZ #12892]
37403 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37404 it would create a cycle with a link time dependency.
37405
d9a4d2ab
UD
374062011-10-19 Ulrich Drepper <drepper@gmail.com>
37407
855d1560
UD
37408 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37409 instruction.
37410 * string/Makefile (strop-tests): Add rawmemchr.
37411 * string/test-rawmemchr.c: New file.
37412
d9a4d2ab
UD
37413 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37414 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37415 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37416 when compiling str{,n}casecmp and when AVX is available. Hook up
37417 new optimized code in initializers.
37418
8f3b1ffe
AS
374192011-10-19 Andreas Schwab <schwab@redhat.com>
37420
37421 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37422 __feraiseexcept instead of feraiseexcept.
37423
d38f1dba
UD
374242011-10-18 Ulrich Drepper <drepper@gmail.com>
37425
d9a8d0ab
UD
37426 * math/math_private.h: Define defaults for libc_fetestexcept and
37427 libc_feupdateenv.
37428 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37429 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37430 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37431 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37432 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37433 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37434 libc_fetestexcept and libc_feupdateenv.
37435
4855e3dd
UD
37436 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37437 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37438 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37439 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37440 libc_feholdexcept_setround.
37441
581d30e3
UD
37442 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37443 Add s_nearbyint-c and s_nearbyintf-c.
37444 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37445 nearbyintf inlines.
37446 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37447 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37448 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37449 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37450
d38f1dba
UD
37451 * math/math_private.h: Define defaults for libc_fegetround,
37452 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37453 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37454 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37455 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37456 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37457 standard functions.
37458 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37459 Remove comments and hacks for old compiler versions.
37460 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37461 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37462 libc_feholdexceptl.
37463
caa6c9d8
AS
374642011-10-18 Andreas Schwab <schwab@redhat.com>
37465
37466 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37467 (__feraiseexcept_renamed): Add __NTH.
37468 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37469 namespace violations.
37470
97c066e6
UD
374712011-10-17 Ulrich Drepper <drepper@gmail.com>
37472
99ce7b04
UD
37473 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37474
1004d182
UD
37475 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37476
228a984d
UD
37477 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37478 recently added interfaces.
37479 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37480
c8553a6a
UD
37481 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37482 about macro parameter expansion.
37483
ed22dcf6
UD
37484 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37485 __NO_MATH_INLINES is defined. Cleanups.
37486
37487 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37488 and __floorf is target has SSE4.1.
37489 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37490 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37491 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37492 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37493
b171c137
UD
37494 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37495 name.
37496 (floorf): Likewise.
37497
97c066e6
UD
37498 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37499
629f62ef
AS
375002011-10-17 Andreas Schwab <schwab@redhat.com>
37501
49a43d80
AS
37502 * misc/sys/cdefs.h: Fix last change.
37503
629f62ef
AS
37504 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37505 database lookup.
37506
e453f6cd
UD
375072011-10-16 Ulrich Drepper <drepper@gmail.com>
37508
aa78043a
UD
37509 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37510
ad0f5cad
UD
37511 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37512 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37513 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37514 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37515 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37516 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37517 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37518 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37519 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37520 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37521 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37522 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37523 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37524 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37525 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37526 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37527 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37528 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37529 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37530 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37531 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37532 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37533
37534 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37535 ceil, ceilf, floor, floorf.
37536
37537 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37538 Perform IRELATIVE relocations last.
37539
e453f6cd
UD
37540 * elf/do-rel.h: Add another parameter nrelative, replacing the
37541 local variable with the same name. Change name of the function
37542 to end in Rel or Rela (uppercase).
37543 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37544 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37545 elf_dynamic_do_##reloc function.
37546
fd5bdc09
UD
375472011-10-15 Ulrich Drepper <drepper@gmail.com>
37548
79b195b5
UD
37549 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37550 is sufficient, at least on modern CPUs.
37551
d4a28569
UD
37552 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37553
b61099b5
UD
37554 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37555 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37556
bcf01e6d
UD
37557 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37558 __expl_finite.
37559 * math/bits/math-finite.h: Add entries for exp.
37560 * math/e_expl.c: Add __*_finite alias.
37561 * sysdeps/i386/fpu/e_exp.S: Likewise.
37562 * sysdeps/i386/fpu/e_expf.S: Likewise.
37563 * sysdeps/i386/fpu/e_expl.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37565 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37566 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37567 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37569 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37570 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37571
ba1a0d59
UD
37572 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37573 is sufficient, at least on modern CPUs.
37574
fd5bdc09
UD
37575 * ctype/ctype-info.c (__ctype_init): Define.
37576 * include/ctype.h (__ctype_init): Declare.
37577 (__ctype_b_loc): The variable is always initialized.
37578 (__ctype_toupper_loc): Likewise.
37579 (__ctype_tolower_loc): Likewise.
37580 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37581 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37582
7872cfb0
AS
375832011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37584
b468825a
AS
37585 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37586
7872cfb0
AS
37587 * configure.in: Also look in $cxxmachine/include for C++ system
37588 headers.
37589
be13f7bf
LD
375902011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37591
37592 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37593 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37594 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37595 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37596 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37597 (USE_AS_WMEMCMP): New macro.
37598 Fixing indents.
37599 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37600 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37601 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37602 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37604 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37605 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37606 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37607 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37608 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37609 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37610 (USE_AS_WMEMCMP): New macro.
37611 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37612 * sysdeps/string/test-memcmp.c: Update.
37613 Fix simple_wmemcmp.
37614 Add new tests.
37615 * wcsmbs/wmemcmp.c: Update.
37616 (WMEMCMP): New macro.
37617 Fix overflow bug.
37618
556a2007
AJ
376192011-10-12 Andreas Jaeger <aj@suse.de>
37620
37621 [BZ #13268]
37622 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37623
538faaa7
UD
376242011-10-15 Ulrich Drepper <drepper@gmail.com>
37625
ab6737ff
UD
37626 * libio/iofwide.c (do_length): Avoid warning.
37627
538faaa7
UD
37628 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37629
396a21b1
UD
376302011-10-14 Ulrich Drepper <drepper@gmail.com>
37631
cdf2901f
UD
37632 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37633
38ad40ce
UD
37634 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37635 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37636 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37637 * sysdeps/i386/i686/fpu/e_log.S: New file.
37638 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37639 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37640
396a21b1
UD
37641 * ctype/ctype.h: Add support for inlined isXXX functions when
37642 compiling C++ code.
37643
6b1f68c9
AS
376442011-10-14 Andreas Schwab <schwab@redhat.com>
37645
349290c0
AS
37646 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37647
6b1f68c9
AS
37648 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37649
f2282d42
RM
376502011-10-13 Roland McGrath <roland@hack.frob.com>
37651
37652 [BZ #13291]
37653 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37654
5298ffa8
AS
376552011-10-13 Andreas Schwab <schwab@redhat.com>
37656
714fad23
AS
37657 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37658 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37659 feraiseexcept.
37660
81dcc7fb
AS
37661 * sysdeps/x86_64/memrchr.S: Check for zero size.
37662
5298ffa8
AS
37663 * string/stratcliff.c: Add memrchr tests.
37664
951fbcec
LD
376652011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37666
37667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37668 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37669 rawmemchr-sse2 rawmemchr-sse2-bsf.
37670 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37671 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37672 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37673 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37674 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37675 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37676 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37677 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37678 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37679 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37680 * string/memrchr.c (MEMRCHR): New macro.
37681
0ac5ae23
UD
376822011-10-12 Ulrich Drepper <drepper@gmail.com>
37683
37684 Add integration with gcc's -ffinite-math-only and optimize wrapper
37685 functions in libm.
37686 * Versions.def: Define GLIBC_2.15 version for libm.
37687 * math/Makefile (headers): Add bits/math-finite.h.
37688 * math/bits/math-finite.h: New file.
37689 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37690 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37691 * math/e_acoshl.c: Add __*_finite alias.
37692 * math/e_acosl.c: Likewise.
37693 * math/e_asinl.c: Likewise.
37694 * math/e_atan2l.c: Likewise.
37695 * math/e_atanhl.c: Likewise.
37696 * math/e_coshl.c: Likewise.
37697 * math/e_exp10.c: Likewise.
37698 * math/e_exp10f.c: Likewise.
37699 * math/e_exp10l.c: Likewise.
37700 * math/e_exp2l.c: Likewise.
37701 * math/e_fmodl.c: Likewise.
37702 * math/e_gammal_r.c: Likewise.
37703 * math/e_hypotl.c: Likewise.
37704 * math/e_j0l.c: Likewise.
37705 * math/e_j1l.c: Likewise.
37706 * math/e_jnl.c: Likewise.
37707 * math/e_lgammal_r.c: Likewise.
37708 * math/e_log10l.c: Likewise.
37709 * math/e_log2l.c: Likewise.
37710 * math/e_logl.c: Likewise.
37711 * math/e_powl.c: Likewise.
37712 * math/e_sinhl.c: Likewise.
37713 * math/e_sqrtl.c: Likewise.
37714 * math/e_scalb.c: Completely rewritten and optimized.
37715 * math/e_scalbf.c: Likewise.
37716 * math/e_scalbl.c: Likewise.
37717 * math/w_acos.c: Likewise.
37718 * math/w_acosf.c: Likewise.
37719 * math/w_acosl.c: Likewise.
37720 * math/w_acosh.c: Likewise.
37721 * math/w_acoshf.c: Likewise.
37722 * math/w_acoshl.c: Likewise.
37723 * math/w_asin.c: Likewise.
37724 * math/w_asinf.c: Likewise.
37725 * math/w_asinl.c: Likewise.
37726 * math/w_atan2.c: Likewise.
37727 * math/w_atan2f.c: Likewise.
37728 * math/w_atan2l.c: Likewise.
37729 * math/w_atanh.c: Likewise.
37730 * math/w_atanhf.c: Likewise.
37731 * math/w_atanhl.c: Likewise.
37732 * math/w_exp10.c: Likewise.
37733 * math/w_exp10f.c: Likewise.
37734 * math/w_exp10l.c: Likewise.
37735 * math/w_fmod.c: Likewise.
37736 * math/w_fmodf.c: Likewise.
37737 * math/w_fmodl.c: Likewise.
37738 * math/w_j0.c: Likewise.
37739 * math/w_j0f.c: Likewise.
37740 * math/w_j0l.c: Likewise.
37741 * math/w_j1.c: Likewise.
37742 * math/w_j1f.c: Likewise.
37743 * math/w_j1l.c: Likewise.
37744 * math/w_jn.c: Likewise.
37745 * math/w_jnf.c: Likewise.
37746 * math/w_log.c: Likewise.
37747 * math/w_logf.c: Likewise.
37748 * math/w_logl.c: Likewise.
37749 * math/w_log10.c: Likewise.
37750 * math/w_log10f.c: Likewise.
37751 * math/w_log10l.c: Likewise.
37752 * math/w_log2.c: Likewise.
37753 * math/w_log2f.c: Likewise.
37754 * math/w_log2l.c: Likewise.
37755 * math/w_pow.c: Likewise.
37756 * math/w_powf.c: Likewise.
37757 * math/w_powl.c: Likewise.
37758 * math/w_remainder.c: Likewise.
37759 * math/w_remainderf.c: Likewise.
37760 * math/w_remainderl.c: Likewise.
37761 * math/w_scalb.c: Likewise.
37762 * math/w_scalbf.c: Likewise.
37763 * math/w_scalbl.c: Likewise.
37764 * math/w_sqrt.c: Likewise.
37765 * math/w_sqrtf.c: Likewise.
37766 * math/w_sqrtl.c: Likewise.
37767 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37768 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37769 used.
37770 * math/math_private.h: Declare __kernel_standard_f.
37771 * math/w_cosh.c: Remove cruft and optimize a bit.
37772 * math/w_coshf.c: Likewise.
37773 * math/w_coshl.c: Likewise.
37774 * math/w_exp2.c: Likewise.
37775 * math/w_exp2f.c: Likewise.
37776 * math/w_exp2l.c: Likewise.
37777 * math/w_hypot.c: Likewise.
37778 * math/w_hypotf.c: Likewise.
37779 * math/w_hypotl.c: Likewise.
37780 * math/w_lgamma.c: Likewise.
37781 * math/w_lgamma_r.c: Likewise.
37782 * math/w_lgammaf.c: Likewise.
37783 * math/w_lgammaf_r.c: Likewise.
37784 * math/w_lgammal.c: Likewise.
37785 * math/w_lgammal_r.c: Likewise.
37786 * math/w_sinh.c: Likewise.
37787 * math/w_sinhf.c: Likewise.
37788 * math/w_sinhl.c: Likewise.
37789 * math/w_tgamma.c: Likewise.
37790 * math/w_tgammaf.c: Likewise.
37791 * math/w_tgammal.c: Likewise.
37792 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37793 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37794 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37795 Minor optimizations. Pretty printing. Remove cruft.
37796 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37797 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37798 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37799 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37800 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37801 * sysdeps/i386/fpu/e_asin.S: Likewise.
37802 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37803 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37804 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37805 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37806 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37807 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37808 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37809 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37810 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37811 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37812 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37813 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37814 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37815 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37816 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37817 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37818 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37819 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37820 * sysdeps/i386/fpu/e_log.S: Likewise.
37821 * sysdeps/i386/fpu/e_log10.S: Likewise.
37822 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37823 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37824 * sysdeps/i386/fpu/e_log2.S: Likewise.
37825 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37826 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37827 * sysdeps/i386/fpu/e_logf.S: Likewise.
37828 * sysdeps/i386/fpu/e_logl.S: Likewise.
37829 * sysdeps/i386/fpu/e_pow.S: Likewise.
37830 * sysdeps/i386/fpu/e_powf.S: Likewise.
37831 * sysdeps/i386/fpu/e_powl.S: Likewise.
37832 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37833 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37834 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37835 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37836 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37837 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37838 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37839 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37840 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37841 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37842 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37843 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37844 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37845 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37846 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37847 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37848 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37849 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37850 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37851 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37852 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37854 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37855 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37856 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37857 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37858 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37859 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37860 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37861 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37862 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37863 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37864 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37865 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37866 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37867 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37868 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37869 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37870 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37871 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37872 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37873 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37874 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37875 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37876 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37877 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37878 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37879 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37880 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37881 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37882 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37883 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37884 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37885 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37886 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37887 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37888 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37889 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37890 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37891 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37892 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37893 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37895 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37896 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37897 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37898 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37899 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37900 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37901 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37902 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37903 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37904 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37905 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37906 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37907 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37908 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37909 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37910 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37911 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37912 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37913 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37914 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37915 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37916 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37917 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37918 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37919 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37920 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37921 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37922 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37923 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37924 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37925 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37926 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37927 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37928 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37929 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37930 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37931 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37932 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37933 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37934 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37935 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37936 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37937 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37938 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37939 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37940 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37941 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37942 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37943 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37944 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37945 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37946 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37947 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37948 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37949 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37950 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37951 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37952 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37953 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37954 (__isnanf): Likewise.
37955 (__isinf_ns): Likewise.
37956 (__isinf_nsf): Likewise.
37957 (__finite): Likewise.
37958 (__finitef): Likewise.
37959 (__ieee754_sqrt): Define as macro.
37960 (__ieee754_sqrtf): Define as macro.
37961 (__ieee754_sqrtl): Define as macro.
37962 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37963 inlined copy.
37964 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37965 __FINITE_MATH_ONLY__ consistent.
37966 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37967
12cc2fcd
AS
379682011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37969
a843a204
AS
37970 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37971 of rawmemchr.
37972
12cc2fcd
AS
37973 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37974
c853acd5
UD
379752011-10-09 Ulrich Drepper <drepper@gmail.com>
37976
37977 * po/ja.po: Update from translation team.
37978
c658d255
RM
379792011-10-08 Roland McGrath <roland@hack.frob.com>
37980
110946e4
RM
37981 * locale/programs/locarchive.c (prepare_address_space): New function.
37982 (create_archive, enlarge_archive, open_archive): Use it.
37983
50604220
RM
37984 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37985 inside [SHARED], where it is used.
37986
c658d255
RM
37987 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37988
37989 * nss/getent.c (netgroup_keys): Remove unused variable.
37990 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37991
6a621eb7
UD
379922011-10-08 Ulrich Drepper <drepper@gmail.com>
37993
7edb55ce
UD
37994 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37995 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37996 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37997 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37998 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37999 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38000 * math/Makefile (libm-calls): Add s_isinf_ns.
38001 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38002 * math/multc3.c: Likewise.
38003 * math/s_casin.c: Likewise.
38004 * math/s_casinf.c: Likewise.
38005 * math/s_casinl.c: Likewise.
38006 * math/s_ccos.c: Likewise.
38007 * math/s_ccosf.c: Likewise.
38008 * math/s_ccosl.c: Likewise.
38009 * math/s_ctan.c: Likewise.
38010 * math/s_ctanf.c: Likewise.
38011 * math/s_ctanh.c: Likewise.
38012 * math/s_ctanhf.c: Likewise.
38013 * math/s_ctanhl.c: Likewise.
38014 * math/s_ctanl.c: Likewise.
38015 * math/w_fmod.c: Likewise.
38016 * math/w_fmodf.c: Likewise.
38017 * math/w_fmodl.c: Likewise.
38018 * math/w_remainder.c: Likewise.
38019 * math/w_remainderf.c: Likewise.
38020 * math/w_remainderl.c: Likewise.
38021 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38022 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38023 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38024 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38025 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38026 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38027 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38028 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38029
187da0ae
UD
38030 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38031 of the number.
38032 * stdio-common/printf_fphex.c: Likewise.
38033 * stdio-common/printf_size.c: Likewise.
38034
9277c064
UD
38035 * math/e_exp10.c: Include math_private.h using <...> not "...".
38036 * math/e_exp10f.c: Likewise.
38037 * math/e_exp10l.c: Likewise.
38038 * math/e_exp2l.c: Likewise.
38039 * math/e_j0l.c: Likewise.
38040 * math/e_j1l.c: Likewise.
38041 * math/e_jnl.c: Likewise.
38042 * math/e_lgammal_r.c: Likewise.
38043 * math/e_rem_pio2l.c: Likewise.
38044 * math/e_scalb.c: Likewise.
38045 * math/e_scalbf.c: Likewise.
38046 * math/e_scalbl.c: Likewise.
38047 * math/k_cosl.c: Likewise.
38048 * math/k_sinl.c: Likewise.
38049 * math/k_tanl.c: Likewise.
38050 * math/s_cacoshf.c: Likewise.
38051 * math/s_catan.c: Likewise.
38052 * math/s_catanf.c: Likewise.
38053 * math/s_catanh.c: Likewise.
38054 * math/s_catanhf.c: Likewise.
38055 * math/s_catanhl.c: Likewise.
38056 * math/s_catanl.c: Likewise.
38057 * math/s_ccosh.c: Likewise.
38058 * math/s_ccoshf.c: Likewise.
38059 * math/s_ccoshl.c: Likewise.
38060 * math/s_cexp.c: Likewise.
38061 * math/s_cexpf.c: Likewise.
38062 * math/s_cexpl.c: Likewise.
38063 * math/s_clog.c: Likewise.
38064 * math/s_clog10.c: Likewise.
38065 * math/s_clog10f.c: Likewise.
38066 * math/s_clog10l.c: Likewise.
38067 * math/s_clogf.c: Likewise.
38068 * math/s_clogl.c: Likewise.
38069 * math/s_csin.c: Likewise.
38070 * math/s_csinf.c: Likewise.
38071 * math/s_csinh.c: Likewise.
38072 * math/s_csinhf.c: Likewise.
38073 * math/s_csinhl.c: Likewise.
38074 * math/s_csinl.c: Likewise.
38075 * math/s_csqrt.c: Likewise.
38076 * math/s_csqrtf.c: Likewise.
38077 * math/s_csqrtl.c: Likewise.
38078 * math/s_ctan.c: Likewise.
38079 * math/s_ctanf.c: Likewise.
38080 * math/s_ctanh.c: Likewise.
38081 * math/s_ctanhf.c: Likewise.
38082 * math/s_ctanhl.c: Likewise.
38083 * math/s_ctanl.c: Likewise.
38084 * math/s_ldexp.c: Likewise.
38085 * math/s_ldexpf.c: Likewise.
38086 * math/s_ldexpl.c: Likewise.
38087 * math/s_significand.c: Likewise.
38088 * math/s_significandf.c: Likewise.
38089 * math/s_significandl.c: Likewise.
38090 * math/w_acos.c: Likewise.
38091 * math/w_acosf.c: Likewise.
38092 * math/w_acosh.c: Likewise.
38093 * math/w_acoshf.c: Likewise.
38094 * math/w_acoshl.c: Likewise.
38095 * math/w_acosl.c: Likewise.
38096 * math/w_asin.c: Likewise.
38097 * math/w_asinf.c: Likewise.
38098 * math/w_asinl.c: Likewise.
38099 * math/w_atan2.c: Likewise.
38100 * math/w_atan2f.c: Likewise.
38101 * math/w_atan2l.c: Likewise.
38102 * math/w_atanh.c: Likewise.
38103 * math/w_atanhf.c: Likewise.
38104 * math/w_atanhl.c: Likewise.
38105 * math/w_cosh.c: Likewise.
38106 * math/w_coshf.c: Likewise.
38107 * math/w_coshl.c: Likewise.
38108 * math/w_dremf.c: Likewise.
38109 * math/w_exp10.c: Likewise.
38110 * math/w_exp10f.c: Likewise.
38111 * math/w_exp10l.c: Likewise.
38112 * math/w_exp2.c: Likewise.
38113 * math/w_exp2f.c: Likewise.
38114 * math/w_fmod.c: Likewise.
38115 * math/w_fmodf.c: Likewise.
38116 * math/w_fmodl.c: Likewise.
38117 * math/w_hypot.c: Likewise.
38118 * math/w_hypotf.c: Likewise.
38119 * math/w_hypotl.c: Likewise.
38120 * math/w_j0.c: Likewise.
38121 * math/w_j0f.c: Likewise.
38122 * math/w_j0l.c: Likewise.
38123 * math/w_j1.c: Likewise.
38124 * math/w_j1f.c: Likewise.
38125 * math/w_j1l.c: Likewise.
38126 * math/w_jn.c: Likewise.
38127 * math/w_jnf.c: Likewise.
38128 * math/w_jnl.c: Likewise.
38129 * math/w_lgamma.c: Likewise.
38130 * math/w_lgamma_r.c: Likewise.
38131 * math/w_lgammaf.c: Likewise.
38132 * math/w_lgammaf_r.c: Likewise.
38133 * math/w_lgammal.c: Likewise.
38134 * math/w_lgammal_r.c: Likewise.
38135 * math/w_log.c: Likewise.
38136 * math/w_log10.c: Likewise.
38137 * math/w_log10f.c: Likewise.
38138 * math/w_log10l.c: Likewise.
38139 * math/w_log2.c: Likewise.
38140 * math/w_log2f.c: Likewise.
38141 * math/w_log2l.c: Likewise.
38142 * math/w_logf.c: Likewise.
38143 * math/w_logl.c: Likewise.
38144 * math/w_pow.c: Likewise.
38145 * math/w_powf.c: Likewise.
38146 * math/w_powl.c: Likewise.
38147 * math/w_remainder.c: Likewise.
38148 * math/w_remainderf.c: Likewise.
38149 * math/w_remainderl.c: Likewise.
38150 * math/w_scalb.c: Likewise.
38151 * math/w_scalbf.c: Likewise.
38152 * math/w_scalbl.c: Likewise.
38153 * math/w_sinh.c: Likewise.
38154 * math/w_sinhf.c: Likewise.
38155 * math/w_sinhl.c: Likewise.
38156 * math/w_sqrt.c: Likewise.
38157 * math/w_sqrtf.c: Likewise.
38158 * math/w_sqrtl.c: Likewise.
38159 * math/w_tgamma.c: Likewise.
38160 * math/w_tgammaf.c: Likewise.
38161 * math/w_tgammal.c: Likewise.
38162
6a621eb7
UD
38163 * po/ja.po: Update from translation team.
38164
bf582445
AJ
381652011-09-29 Andreas Jaeger <aj@suse.de>
38166
f9efbf3a
AJ
38167 [BZ #13179]
38168 * sunrpc/netname.c (netname2host): Fix logic.
38169
bf582445
AJ
38170 [BZ #6779]
38171 [BZ #6783]
38172 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38173 correctly.
38174 * math/w_remainder.c (__remainder): Likewise.
38175 * math/w_remainderf.c (__remainderf): Likewise.
38176 * math/libm-test.inc (remainder_test): Add test cases.
38177
48693bea
AK
381782011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38179
38180 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38181 sdiv_qrnnd.
38182
42622229
LD
381832011-10-07 Ulrich Drepper <drepper@gmail.com>
38184
38185 * string/test-memcmp.c: Avoid unncessary #defines.
38186 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38187
093ecf92
LD
381882011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38189
38190 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38191 Use new sse2 version for core i3 - i7 as it's faster
38192 than sse42 version.
38193 (bit_Prefer_PMINUB_for_stringop): New.
38194 * sysdeps/x86_64/rawmemchr.S: Update.
38195 Replace with faster SSE2 version.
38196 * sysdeps/x86_64/memrchr.S: New file.
38197 * sysdeps/x86_64/memchr.S: Update.
38198 Replace with faster SSE2 version.
38199
fde56e5c
MP
382002011-09-12 Marek Polacek <mpolacek@redhat.com>
38201
38202 * elf/dl-load.c (lose): Add cast to avoid warning.
38203
21fd49a9
UD
382042011-10-07 Ulrich Drepper <drepper@gmail.com>
38205
5a06e643
UD
38206 * po/ca.po: Update from translation team.
38207
684ae515
UD
38208 * inet/getnetgrent_r.c: Hook up nscd.
38209 * nscd/Makefile (routines): Add nscd_netgroup.
38210 (nscd-modules): Add netgroupcache.
38211 (CFLAGS-netgroupcache.c): Define.
38212 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38213 (cache_search): Add const to second parameter.
38214 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38215 INNETGR.
38216 (dbs): Add netgrdb entry.
38217 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38218 (verify_persistent_db): Handle netgrdb.
38219 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38220 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38221 GETFDNETGR.
38222 (netgroup_response_header): Define.
38223 (innetgroup_response_header): Define.
38224 (datahead): Add netgroup_response_header and innetgroup_response_header
38225 elements.
38226 * nscd/nscd.conf: Add entries for netgroup cache.
38227 * nscd/nscd.h (dbtype): Add netgrdb.
38228 (_PATH_NSCD_NETGROUP_DB): Define.
38229 (netgroup_iov_disabled): Declare.
38230 (xmalloc, xcalloc, xrealloc): Move declarations here.
38231 (cache_search): Adjust prototype.
38232 Add netgroup-related prototypes.
38233 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38234 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38235 (__nscd_innetgr): Declare.
38236 * nscd/selinux.c (perms): Use access_vector_t as element type and
38237 add netgroup-related initializers.
38238 * nscd/netgroupcache.c: New file.
38239 * nscd/nscd_netgroup.c: New file.
38240 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38241 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38242 For four parameters use innetgr.
38243 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38244 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38245 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38246 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38247
21fd49a9
UD
38248 * nscd/connections.c (register_traced_file): Don't register file
38249 for disabled databases.
38250
054c0457
UD
382512011-10-06 Ulrich Drepper <drepper@gmail.com>
38252
32b63198
UD
38253 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38254
054c0457
UD
38255 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38256 from tree and freeing node.
38257
64031225
JO
382582011-09-25 Jiri Olsa <jolsa@redhat.com>
38259
38260 * nss/nsswitch.c (__nss_database_lookup): Handle
38261 nss_parse_service_list out of memory case.
38262
0490345c
JO
382632011-09-15 Jiri Olsa <jolsa@redhat.com>
38264
38265 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38266 out of memory case.
38267
3a62d00d
AS
382682011-10-04 Andreas Schwab <schwab@redhat.com>
38269
38270 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38271 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38272 pass it down.
38273 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38274 elf_machine_rela, elf_machine_lazy_rel.
38275 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38276 (ELF_DYNAMIC_DO_REL): Likewise.
38277 (ELF_DYNAMIC_DO_RELA): Likewise.
38278 (ELF_DYNAMIC_RELOCATE): Likewise.
38279 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38280 to ELF_DYNAMIC_DO_REL.
38281 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38282 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38283 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38284 elf_machine_rela.
38285 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38286 skip_ifunc, don't call ifunc function if non-zero.
38287 (elf_machine_rela): Likewise.
38288 (elf_machine_lazy_rel): Likewise.
38289 (elf_machine_lazy_rela): Likewise.
38290 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38291 (elf_machine_lazy_rel): Likewise.
38292 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38293 Likewise.
38294 (elf_machine_lazy_rel): Likewise.
38295 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38296 Likewise.
38297 (elf_machine_lazy_rel): Likewise.
38298 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38299 (elf_machine_lazy_rel): Likewise.
38300 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38301 (elf_machine_lazy_rel): Likewise.
38302 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38303 (elf_machine_lazy_rel): Likewise.
38304 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38305 (elf_machine_lazy_rel): Likewise.
38306 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38307 (elf_machine_lazy_rel): Likewise.
38308 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38309 (elf_machine_lazy_rel): Likewise.
38310
68577918
UD
383112011-09-28 Ulrich Drepper <drepper@gmail.com>
38312
38313 * nss/nss_files/files-init.c (_nss_files_init): Use static
38314 initialization for all the *_traced_file variables.
38315
68822d74
AS
383162011-09-28 Andreas Schwab <schwab@redhat.com>
38317
38318 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38319
2056100b
RM
383202011-09-27 Roland McGrath <roland@hack.frob.com>
38321
38322 [BZ #13226]
38323 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38324
32c76b63
AS
383252011-09-27 Andreas Schwab <schwab@redhat.com>
38326
38327 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38328 Reread the line before reparsing it.
38329
bf972c9d
AS
383302011-09-26 Andreas Schwab <schwab@redhat.com>
38331
38332 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38333
e057a1b5
JM
383342011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38335 Maxim Kuvyrkov <maxim@codesourcery.com>
38336 Joseph Myers <joseph@codesourcery.com>
38337
38338 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38339 if needed for __stack_chk_guard.
38340
bc7e1c36
RM
383412011-09-19 Roland McGrath <roland@hack.frob.com>
38342
ecb1482f
RM
38343 * sysdeps/posix/spawni.c (script_execute): Always define it.
38344 It will be optimized away if unused.
38345 (maybe_script_execute): New function.
38346 (__spawni): Call it.
38347
bc7e1c36
RM
38348 * Makerules: Don't include tls.make.
38349 (config-tls): Always set to thread.
38350 * tls.make.c: File removed.
38351
1c3b002b
MF
383522011-09-19 Mike Frysinger <vapier@gentoo.org>
38353
38354 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38355 * config.make.in (CPPFLAGS-config): New substituted variable.
38356
2840865d
UD
383572011-09-15 Ulrich Drepper <drepper@gmail.com>
38358
88738eb6
UD
38359 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38360
cbf645a6 38361 [BZ #13192]
2840865d
UD
38362 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38363 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38364
b402e91a
RM
383652011-09-15 Roland McGrath <roland@hack.frob.com>
38366
38367 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38368 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38369 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38370 (CALL_FAIL): Likewise.
38371 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38372 (CALL_FAIL): Macro removed.
38373 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38374
4c1a1f71
UD
383752011-09-15 Ulrich Drepper <drepper@gmail.com>
38376
38377 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38378 for __FINITE_MATH_ONLY__ == 1.
38379
edc121be
AS
383802011-09-15 Andreas Schwab <schwab@redhat.com>
38381
38382 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38383 __ieee754_sqrt instead of sqrt.
38384 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38385 __ieee754_sqrtf instead of sqrtf.
38386 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38387 __floorf instead of floorf.
38388 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38389 __floorf, __truncf instead of floorf, truncf.
38390
cd205654
UD
383912011-09-14 Ulrich Drepper <drepper@gmail.com>
38392
ee4d0315
UD
38393 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38394
cd205654
UD
38395 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38396 __extern_always_inline.
38397 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38398 32-bit.
38399
48b67d71
AS
384002011-09-14 Andreas Schwab <schwab@redhat.com>
38401
38402 * elf/rtld.c (dl_main): Also relocate in dependency order when
38403 doing symbol dependency testing.
38404
1ae12c75
AS
384052011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38406
38407 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38408 Always define `refsym'.
38409
995a80df
AS
384102011-09-13 Andreas Schwab <schwab@redhat.com>
38411
e529793b
AS
38412 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38413 (__FD_ELT): Renamed from __FDELT.
38414 * misc/bits/select2.h (__FD_ELT): Likewise.
38415 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38416 __FD_MASK instead of __FDELT, __FDMASK.
38417 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38418 Likewise.
38419 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38420 Likewise.
38421
52d4fef8
AS
38422 * elf/Makefile (gen-ldd): Fix pattern.
38423
995a80df
AS
38424 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38425 (init_tls): Likewise.
38426
8682f8b0
UD
384272011-09-12 Ulrich Drepper <drepper@gmail.com>
38428
38429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38430
de82006d
AS
384312011-09-12 Andreas Schwab <schwab@redhat.com>
38432
a7c8e6a1
AS
38433 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38434 `struct cmsghdr *' instead of `void *'.
38435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38436 Likewise.
38437
0f31fe77
AS
384382011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38439
38440 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38441 if non-absolute.
38442 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38443 ldd_rewrite_script.
0f31fe77 38444
32b4c839
UD
384452011-09-11 Ulrich Drepper <drepper@gmail.com>
38446
83cd1420
UD
38447 * configure.in: Remove --with-tls option.
38448 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38449 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38450 out in case it is missing.
38451 * sysdeps/ia64/elf/configure.in: Likewise.
38452 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38453 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38454 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38455 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38456 * sysdeps/sh/elf/configure.in: Likewise.
38457 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38458 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38459 * sysdeps/x86_64/elf/configure.in: Likewise.
38460 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38461 * sysdeps/mach/hurd/tls.h: Likewise.
38462
633f745d
UD
38463 [BZ #13067]
38464 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38465
f318beb8
UD
38466 [BZ #13090]
38467 * configure.in: Fix use of AC_INIT.
38468
32b4c839
UD
38469 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38470
3ce1f295
UD
384712011-09-10 Ulrich Drepper <drepper@gmail.com>
38472
bb016596
UD
38473 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38474 __set_errno.
8e58439c
UD
38475 * malloc/hooks.c: Likewise.
38476
aebae053 38477 [BZ #11929]
02d46fc4
UD
38478 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38479 variables statically.
38480 (narenas): Initialize.
38481 (list_lock): Initialize.
bb016596
UD
38482 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38483 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38484 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38485 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38486 Add initializers to main_arena and mp_.
38487 (malloc_state): Remove pagesize member. Change all users to use
38488 GLRO(dl_pagesize).
38489
38490 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38491 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38492 is always initialized.
38493
22a89187
UD
38494 * malloc/malloc.c: Removed unused configurations and dead code.
38495 * malloc/arena.c: Likewise.
38496 * malloc/hooks.c: Likewise.
02d46fc4 38497 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38498
d063d164
UD
38499 * include/tls.h: Removed. USE___THREAD must always be defined.
38500 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38501 * elf/dl-libc.c: Likewise.
38502 * elf/dl-tsd.c: Likewise.
38503 * include/errno.h: Likewise.
38504 * include/netdb.h: Likewise.
38505 * include/resolv.h: Likewise.
38506 * inet/herrno-loc.c: Likewise.
38507 * inet/herrno.c: Likewise.
38508 * malloc/arena.c: Likewise.
38509 * malloc/hooks.c: Likewise.
38510 * malloc/malloc.c: Likewise.
38511 * resolv/res-state.c: Likewise.
38512 * resolv/res_libc.c: Likewise.
38513 * sysdeps/i386/dl-machine.h: Likewise.
38514 * sysdeps/ia64/dl-machine.h: Likewise.
38515 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38516 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38517 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38518 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38519 * sysdeps/sh/dl-machine.h: Likewise.
38520 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38521 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38522 * sysdeps/unix/i386/sysdep.S: Likewise.
38523 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38524 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38526 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38528 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38529 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38531 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38533 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38534 * sysdeps/x86_64/dl-machine.h: Likewise.
38535 * tls.make.c: Likewise.
38536
3ce1f295
UD
38537 * configure.in: Remove --with-__thread option. Make tests for
38538 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38539 tls_model attribute fail if no support is available. Remove
38540 USE_IN_LIBIO.
38541 * Makeconfig: Adjust for dropped configure option. All features are
38542 now mandatory.
38543 * Makerules: Likewise.
38544 * Versions.def: Likewise.
38545 * argp/argp-fmtstream.c: Likewise.
38546 * argp/argp-fmtstream.h: Likewise.
38547 * argp/argp-help.c: Likewise.
38548 * assert/assert.c: Likewise.
38549 * config.h.in: Likewise.
38550 * config.make.in: Likewise.
38551 * configure: Likewise.
38552 * configure.in: Likewise.
38553 * csu/Versions: Likewise.
38554 * csu/init.c: Likewise.
38555 * elf/tst-audit2.c: Likewise.
38556 * elf/tst-tls10.c: Likewise.
38557 * elf/tst-tls10.h: Likewise.
38558 * elf/tst-tls11.c: Likewise.
38559 * elf/tst-tls12.c: Likewise.
38560 * elf/tst-tls14.c: Likewise.
38561 * elf/tst-tlsmod11.c: Likewise.
38562 * elf/tst-tlsmod12.c: Likewise.
38563 * elf/tst-tlsmod13.c: Likewise.
38564 * elf/tst-tlsmod13a.c: Likewise.
38565 * elf/tst-tlsmod14a.c: Likewise.
38566 * elf/tst-tlsmod15b.c: Likewise.
38567 * elf/tst-tlsmod16a.c: Likewise.
38568 * elf/tst-tlsmod16b.c: Likewise.
38569 * elf/tst-tlsmod7.c: Likewise.
38570 * elf/tst-tlsmod8.c: Likewise.
38571 * elf/tst-tlsmod9.c: Likewise.
38572 * gmon/gmon.c: Likewise.
38573 * grp/fgetgrent_r.c: Likewise.
38574 * grp/putgrent.c: Likewise.
38575 * hurd/fopenport.c: Likewise.
38576 * include/libc-symbols.h: Likewise.
38577 * include/tls.h: Likewise.
38578 * intl/gettextP.h: Likewise.
38579 * intl/loadinfo.h: Likewise.
38580 * locale/global-locale.c: Likewise.
38581 * locale/localeinfo.h: Likewise.
38582 * mach/devstream.c: Likewise.
38583 * malloc/arena.c: Likewise.
38584 * malloc/set-freeres.c: Likewise.
38585 * misc/err.c: Likewise.
38586 * misc/getttyent.c: Likewise.
38587 * misc/mntent_r.c: Likewise.
38588 * posix/getopt.c: Likewise.
38589 * posix/wordexp.c: Likewise.
38590 * pwd/fgetpwent_r.c: Likewise.
38591 * resolv/Versions: Likewise.
38592 * resolv/res_hconf.c: Likewise.
38593 * shadow/fgetspent_r.c: Likewise.
38594 * shadow/putspent.c: Likewise.
38595 * stdio-common/printf_fphex.c: Likewise.
38596 * stdio-common/tmpfile.c: Likewise.
38597 * stdlib/abort.c: Likewise.
38598 * stdlib/fmtmsg.c: Likewise.
38599 * sunrpc/auth_unix.c: Likewise.
38600 * sunrpc/clnt_perr.c: Likewise.
38601 * sunrpc/clnt_tcp.c: Likewise.
38602 * sunrpc/clnt_udp.c: Likewise.
38603 * sunrpc/clnt_unix.c: Likewise.
38604 * sunrpc/openchild.c: Likewise.
38605 * sunrpc/svc_simple.c: Likewise.
38606 * sunrpc/svc_tcp.c: Likewise.
38607 * sunrpc/svc_udp.c: Likewise.
38608 * sunrpc/svc_unix.c: Likewise.
38609 * sunrpc/xdr.c: Likewise.
38610 * sunrpc/xdr_array.c: Likewise.
38611 * sunrpc/xdr_rec.c: Likewise.
38612 * sunrpc/xdr_ref.c: Likewise.
38613 * sunrpc/xdr_stdio.c: Likewise.
38614
1248c1c4
PB
386152011-09-09 Ulrich Drepper <drepper@gmail.com>
38616
38617 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38618
386192011-07-03 Andreas Jaeger <aj@suse.de>
38620
38621 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38622 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38623 regenerate with gen-libm-tests.pl.
38624
386252010-05-12 Petr Baudis <pasky@suse.cz>
38626
38627 [BZ #11589]
38628 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38629 around j0() zero points by switching to j1().
38630 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38631 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38633 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38634
f22e1074
UD
386352011-09-09 Ulrich Drepper <drepper@gmail.com>
38636
f19009c1
UD
38637 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38638 instead of 0.
38639 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38640 instead of 0.
f19009c1
UD
38641 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38642 Patch in part by Pavel Roskin <proski@gnu.org>.
38643
3f8cc204
UD
38644 [BZ #13138]
38645 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38646 realloc.
38647 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38648 Free memory block if necessary.
38649
f22e1074
UD
38650 [BZ #12847]
38651 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38652 be NULL. Don't lock in this case.
38653
0a2349f9
RM
386542011-09-09 Roland McGrath <roland@hack.frob.com>
38655
38656 * elf/elf.h (ELFOSABI_GNU): New macro.
38657 (ELFOSABI_LINUX): Define to that.
38658
f3cdd467
DZ
386592011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38660
38661 * string/strncat.c (strncat): Undef the symbol in case it has been
38662 defined in bits/string.h.
38663
74718d13
UD
386642011-09-09 Ulrich Drepper <drepper@gmail.com>
38665
633e9e0f
UD
38666 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38667
0a2349f9 38668 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38669 link map.
38670
f9924780
AJ
386712011-08-17 Andreas Jaeger <aj@suse.de>
38672
38673 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38674
7f5517aa
PP
386752011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38676 Ian Lance Taylor <iant@google.com>
38677
38678 * math/libm-test.inc (lround_test): New testcase.
38679 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38680
762011fe
UD
386812011-09-08 Ulrich Drepper <drepper@gmail.com>
38682
92963737
UD
38683 * Makefile: Remove support for automatic cvs check-ins.
38684 * Makerules: Likewise.
38685 * config.make.in: Likewise.
38686 * configure.in: Likewise.
38687 * intl/Makefile: Likewise.
38688 * locale/Makefile: Likewise.
38689 * po/Makefile: Likewise.
38690 * posix/Makefile: Likewise.
38691 * sysdeps/gnu/Makefile: Likewise.
38692 * sysdeps/mach/hurd/Makefile: Likewise.
38693 * sysdeps/sparc/sparc32/Makefile: Likewise.
38694
b0727fd8
JS
38695 [BZ #13118]
38696 * posix/Makefile (bug-regex32-ENV): Define.
38697 Patch by John Stanley <jpsinthemix@verizon.net>.
38698
a0f33f99
UD
38699 * misc/Makefile (headers): Add bits/select2.h.
38700 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38701 * misc/bits/select2.h: New file.
38702 * include/bits/select2.h: New file.
38703 * debug/Makefile (routines): Add fdelt_chk.
38704 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38705 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38706 FD_ISSET.
38707 * debug/fdelt_chk.c: New file.
38708
762011fe
UD
38709 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38710 * wcsmbs/test-wmemcmp.c: Likewise.
38711 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38712 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38713
387142011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38715
38716 * string/Makefile (strop-tests): Add memcmp.
38717 * string/test-wmemcmp.c: New file.
38718 * string/test-memcmp.c: Add wmemcmp support.
38719
7f513ec8
RM
387202011-09-08 Roland McGrath <roland@hack.frob.com>
38721
0442afb4
RM
38722 [BZ #13153]
38723 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38724 2011-07-19 change.
38725
7f513ec8
RM
38726 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38727 garbage value in a __mach_port_mod_refs call in the cases of the
38728 task-self and thread-self ports.
38729
a12b2239
ST
387302011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38731
38732 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38733
610f9ab4
AS
387342011-09-08 Andreas Schwab <schwab@redhat.com>
38735
7f513ec8 38736 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38737
48882a1a
LD
387382011-09-07 Ulrich Drepper <drepper@gmail.com>
38739
b49865be
UD
38740 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38741
fdc86bc9
UD
38742 * elf/dl-libc.c (dlerror_run): Pass back error code from
38743 dl_catch_error.
38744
c966526a
UD
38745 [BZ #13123]
38746 * elf/dl-load.c (lose): Free l_origin if it is valid.
38747
48882a1a
LD
38748 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38749 names.
38750 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38751 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38752 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38753 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38754 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38755 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38756
77a2a8b4
AZ
387572011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38758
38759 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38760 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38761 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38762 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38763 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38764 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38765 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38766 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38767 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38768 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38769
24f579d8
AM
387702011-08-15 Alan Modra <amodra@gmail.com>
38771
38772 [BZ #13092]
38773 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38774 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38775 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38776 ppc_mcount to static-only-routines.
38777 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38778 __mcount_internal.
38779 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38780 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38781
3d4837df
UD
387822011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38783
38784 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38785 for finite and infinity parameters.
38786
22700377
WS
387872011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38788
38789 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38790 and add nop instructions for throughput optimization.
38791 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38792
5025581e
WS
387932011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38794
38795 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38796 aligned copy for power7 with vector-scalar instructions.
38797 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38798
08a300c9
L
387992011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38800
38801 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38802 AVX check.
38803
59178ef9
AS
388042011-09-07 Andreas Schwab <schwab@redhat.com>
38805
38806 [BZ #13144]
38807 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38808 last change.
38809
e38ba7ab
UD
388102011-09-07 Ulrich Drepper <drepper@gmail.com>
38811
38812 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38813 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38814 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38815 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38816 clock_gettime.
38817
d53a73ac
UD
388182011-09-06 Ulrich Drepper <drepper@gmail.com>
38819
fc8bffcc
UD
38820 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38821 Forgot to demangle the pointer.
38822
ceaa0c5d
UD
38823 * sysdeps/i386/sysdep.h: Define atom_text_section.
38824 * sysdeps/x86_64/sysdep.h: Likewise.
38825 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38826 section with atom_text_section.
38827 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38828 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38829 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38830 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38831 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38832
a77d3c17
UD
38833 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38834 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38835 already be defined. Change to take two parameters and don't assign
38836 result to variable. Adjust all users.
38837 Define INTERNAL_GETTIME if not already defined.
38838 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38839 call.
38840 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38841 HAVE_CLOCK_GETTIME_VSYSCALL.
38842 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38843
d53a73ac
UD
38844 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38845 gettimeofday vsyscall, just use time.
38846
a8f84144
AS
388472011-09-06 Andreas Schwab <schwab@redhat.com>
38848
38849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38850 <errno.h>.
38851
ef606249
UD
388522011-09-06 Ulrich Drepper <drepper@gmail.com>
38853
38854 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38855 syscall on x86-64.
38856 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38857 syscall.
38858 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38859 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38860 syscall if possible.
38861
6585cb60
UD
388622011-09-05 Ulrich Drepper <drepper@gmail.com>
38863
38864 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38865 e_ident. Don't pass to find_mapsXX.
38866 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38867
a5f524e4
LD
388682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38869
38870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38871 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38872 * sysdeps/x86_64/multiarch/strchr.S: Update.
38873 Check bit_slow_BSF bit.
38874 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38875 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38876 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38877
554881ef
UD
388782011-09-05 Ulrich Drepper <drepper@gmail.com>
38879
d96de963
UD
38880 [BZ #13134]
38881 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38882 before glibc 2.15.
38883 (tryshell): Define.
38884 (__spawni): Change last parameter to be flag. Test
38885 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38886 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38887 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38888 * posix/spawni.c: Likewise.
38889 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38890 * posix/spawnp.c: Likewise. Change normal version to use
38891 SPAWN_XFLAGS_USE_PATH.
38892 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38893 SPAWN_XFLAGS_TRY_SHELL.
38894
d48e5868
UD
38895 [BZ #13150]
38896 * posix/glob.h: Remove gcc 1.x support.
38897
554881ef
UD
38898 [BZ #13068]
38899 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38900
693fb948
LD
389012011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38902
38903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38904 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38905 strrchr-sse2-bsf
38906 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38907 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38908 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38909 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38910 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38911 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38912
1b48c537
UD
389132011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38914
49d42c37
UD
38915 * sysdeps/x86_64/wcscmp.S: New file.
38916
1b48c537
UD
38917 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38918 wcscmp-c wcscmp-sse2
38919 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38920 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38921 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38922 * wcsmbs/wcscmp.c: Allow renaming.
38923
15c95c5d
DM
389242011-09-05 David S. Miller <davem@davemloft.net>
38925
38926 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38927 stack slot, rather than the struct return pointer slot.
38928 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38929 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38931 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38932
2f0ad8f3
UD
389332011-09-05 Ulrich Drepper <drepper@gmail.com>
38934
d88ae418
UD
38935 * po/ja.po: Update from translation team.
38936
2f0ad8f3
UD
38937 [BZ #13144]
38938 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38939 kernel in 64-bit binaries.
38940
5f4318d1
DM
389412011-09-01 David S. Miller <davem@davemloft.net>
38942
38943 * elf/elf.h (HWCAP_SPARC_*): Move to..
38944 * sysdeps/sparc/sysdep.h: this new file and add new values.
38945 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38946 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38947 _DL_HWCAP_COUNT to 24.
38948 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38949 entries.
38950 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38951 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38952 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38953 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38954 instead of magic constants.
38955 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38956
3ba57516
DM
389572011-08-31 David S. Miller <davem@davemloft.net>
38958
38959 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38961 Reimplement to do errno handling inline.
38962 (SYSCALL_ERROR_HANDLER): New macro.
38963 (__SYSCALL_STRING): Do not do errno handling in asm.
38964 (__CLONE_SYSCALL_STRING): Delete.
38965 (__INTERNAL_SYSCALL_STRING): Delete.
38966 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38967 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38968 (PSEUDO): Reimplement to do errno handling inline.
38969 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38970 (SYSCALL_ERROR_HANDLER): New macro.
38971 (__SYSCALL_STRING): Do not do errno handling in asm.
38972 (__CLONE_SYSCALL_STRING): Delete.
38973 (__INTERNAL_SYSCALL_STRING): Delete.
38974 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38975 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38976 i386.
38977 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38978 (inline_syscall*): Add 'err' argument.
38979 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38980 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38981 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38982 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38983
38984 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38985 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38986
2bc17433
AS
389872011-08-30 Andreas Schwab <schwab@redhat.com>
38988
38989 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38990
fbeb5f4d
JO
389912011-08-29 Jiri Olsa <jolsa@redhat.com>
38992
38993 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38994 directive.
38995
ad69cc26
DM
389962011-08-24 David S. Miller <davem@davemloft.net>
38997
38998 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38999
39dd69df
AS
390002011-08-24 Andreas Schwab <schwab@redhat.com>
39001
39002 * elf/Makefile: Add rules to build and run unload8 test.
39003 * elf/unload8.c: New file.
39004 * elf/unload8mod1.c: New file.
39005 * elf/unload8mod1x.c: New file.
39006 * elf/unload8mod2.c: New file.
39007 * elf/unload8mod3.c: New file.
39008
39009 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39010 it wasn't used.
39011
2c0b250a
DM
390122011-08-23 David S. Miller <davem@davemloft.net>
39013
39014 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39015 subtract stack bias.
39016 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39017 %sp not %fp in calculations.
39018 (_JMPBUF_UNWINDS_ADJ): Likewise.
39019
22044b48
DM
39020 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39021 (aio_suspend): Call it to force an exception region around the
39022 AIO_MISC_WAIT() invocation.
39023
2cae4995
AS
390242011-08-23 Andreas Schwab <schwab@redhat.com>
39025
39026 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39027 backslash.
39028
873a772e
AJ
390292011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39030
39031 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39032 protection macro.
39033 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39034 and <dl-machine.h>.
39035 (Elf64_FuncDesc): Remove.
39036
25ad0df1
DM
390372011-08-22 David S. Miller <davem@davemloft.net>
39038
39039 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39040 sigaltstack check, add missing cfi directives.
39041 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39042 missing cfi directives, and sigaltstack handling.
39043
e888bcbe
AS
390442011-08-16 Andreas Schwab <schwab@redhat.com>
39045
39046 [BZ #11724]
39047 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39048 object is seen twice.
39049 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39050
39051 * elf/Makefile (distribute): Add tst-initorder2.c.
39052 (tests): Add tst-initorder2.
39053 (modules-names): Add tst-initorder2a tst-initorder2b
39054 tst-initorder2c tst-initorder2d. Add rules to build them.
39055 ($(objpfx)tst-initorder2.out): New rule.
39056 * elf/tst-initorder2.c: New file.
39057 * elf/tst-initorder2.exp: New file.
39058
87162f46
AS
390592011-08-22 Andreas Schwab <schwab@redhat.com>
39060
70538b7f
AS
39061 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39062
f55ffe58
AS
39063 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39064 dependencies back to end of function.
39065
87162f46
AS
39066 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39067 $(elfobjdir)/ld.so.
39068
91b392a4
UD
390692011-08-21 Ulrich Drepper <drepper@gmail.com>
39070
39071 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39072 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39073 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39074 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39075 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39076 of __vdso_gettimeofday.
39077 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39078 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39079 attribute_hidden.
39080 (_libc_vdso_platform_setup): Remove initialization of
39081 __vdso_gettimeofday and __vdso_time.
39082
5c43483f
UD
390832011-08-20 Ulrich Drepper <drepper@gmail.com>
39084
775a77e7
UD
39085 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39086 and fgetc_unlocked.
39087 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39088 getc_unlocked.
89f447ed 39089
49c74ba9
UD
39090 * elf/dl-open.c (add_to_global): Report additions to the global scope
39091 for LD_DEBUG=scopes.
39092 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39093 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39094
5c43483f
UD
39095 [BZ #13114]
39096 * stdio-common/Makefile (tests): Add bug24.
39097 * stdio-common/bug24.c: New file.
39098
a101b025
AJ
390992011-08-19 Andreas Jaeger <aj@suse.de>
39100
39101 [BZ #13114]
39102 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39103 non-existant file when using close-on-exec mode.
39104
c88f1766
UD
391052011-08-20 Ulrich Drepper <drepper@gmail.com>
39106
0276a718
UD
39107 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39108 the very first instruction.
39109
c88f1766
UD
39110 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39111 the CFI state in the end.
39112 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39113 inclusion of dl-trampoline.h.
39114 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39115
51ccffa0
AS
391162011-08-19 Andreas Schwab <schwab@redhat.com>
39117
94d7165f
AS
39118 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39119 expectations for long double.
39120
51ccffa0
AS
39121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39122 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39123
fd708658 391242011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39125
39126 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39127 artificual limit depends upon the system page size.
39128
44f0a71e
UD
391292011-08-17 Ulrich Drepper <drepper@gmail.com>
39130
39131 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39132 * resolv/Makefile: Define CFLAGS-libresolv.
39133
8de79a24
AS
391342011-08-17 Andreas Schwab <schwab@redhat.com>
39135
39136 * nss/makedb.c (compute_tables): Make variables used in nested
39137 function static.
39138
27724598
UD
391392011-08-17 Ulrich Drepper <drepper@gmail.com>
39140
c5305d88
UD
39141 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39142 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39143 if buffer was too small.
39144
27724598
UD
39145 * elf/pldd.c (main): Attach to all threads in the process.
39146 Rewrite /proc handling to use *at functions.
39147
076fe015
UD
391482011-08-16 Ulrich Drepper <drepper@gmail.com>
39149
174baab3
UD
39150 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39151 specifies first scope to show.
39152 (dl_open_worker): Update callers. Move printing scope of new
39153 object to before the relocation.
44f0a71e 39154 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39155 * sysdeps/generic/ldsodefs.h: Update declaration.
39156
076fe015
UD
39157 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39158 string for the scope number.
39159
a60df2c3
UD
391602011-08-14 Ulrich Drepper <drepper@gmail.com>
39161
39162 * nscd/servicescache.c (cache_addserv): Make sure written is always
39163 initialized.
39164
5e4287d1
RM
391652011-08-14 Roland McGrath <roland@hack.frob.com>
39166
85ae0589
RM
39167 * sysdeps/i386/i486/bits/atomic.h
39168 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39169 statement expression, so as to suppress "set but not used" warning.
39170 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39171
69f63097
RM
39172 * string/strncat.c (STRNCAT): Use prototype definition.
39173
675456ef
RM
39174 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39175 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39176 -Iprograms here.
39177 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39178 (localedef-modules): Add localedef.
39179 (locale-modules): Add locale.
39180
5e4287d1
RM
39181 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39182 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39183 to avoid a warning.
39184
9c96ff23
DM
391852011-08-14 David S. Miller <davem@davemloft.net>
39186
39187 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39188 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39189
f9ddf089
UD
391902011-08-13 Ulrich Drepper <drepper@gmail.com>
39191
44f0a71e 39192 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39193 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39194 * elf/rtld.c (dl_main): Set l_name of vDSO.
39195 Call _dl_show_scope when DL_DEBUG_SCOPES.
39196 (process_dl_debug): Recognize scopes flag and also set it for all.
39197 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39198 Declare _dl_show_scope.
39199
1dc27704
UD
39200 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39201 (do_dlopen): Pass caller_dlopen to dl_open.
39202 (__libc_dlopen_mode): Initialize caller_dlopen.
39203
f9ddf089
UD
39204 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39205 of libc. Make tolower call locale-independent. Optimize a bit by
39206 using isdigit instead of isalnum.
39207 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39208
9ac533d3
UD
392092011-08-12 Ulrich Drepper <drepper@gmail.com>
39210
39211 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39212 was a dependency or dynamically loaded.
39213
89edf2e9
UD
392142011-08-11 Ulrich Drepper <drepper@gmail.com>
39215
8e999d29
UD
39216 * intl/l10nflist.c: Allow architecture-specific pop function.
39217 * sysdeps/x86_64/l10nflist.c: New file.
39218
89edf2e9
UD
39219 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39220 classification.
39221
14d96785
AS
392222011-08-10 Andreas Schwab <schwab@redhat.com>
39223
39224 * include/dirent.h: Add libc_hidden_proto for scandirat and
39225 scandirat64. Don't declare __scandirat64.
39226 * dirent/scandirat.c: Add libc_hidden_def.
39227 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39228 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39229
6761ac04
DM
392302011-08-10 David S. Miller <davem@davemloft.net>
39231
39232 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39233 enum.
39234 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39235 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39236 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39237
c55fbd1e
UD
392382011-08-09 Ulrich Drepper <drepper@gmail.com>
39239
39240 * Versions.def [libc]: Add GLIBC_2.15.
39241 * dirent/Makefile (routines): Add scandirat and scandirat64.
39242 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39243 GLIBC_2.15.
39244 * dirent/dirent.h: Declare scandirat and scandirat64.
39245 * dirent/scandirat.c: New file.
39246 * dirent/scandirat64.c: New file.
39247 * sysdeps/wordsize-64/scandirat.c: New file.
39248 * sysdeps/wordsize-64/scandirat64.c: New file.
39249 * dirent/opendir.c: Define opendirat.
39250 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39251 using scandirat.
39252 * dirent/scandir64.c: Adjust for scandir.c change.
39253 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39254 __scandirat64, and __scandir_cancel_handler.
39255 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39256 additional parameter and use openat instead of open (outside of ld.so).
39257 Add new __opendir as wrapper around __opendirat.
39258 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39259 here without requiring old scandirat implementation.
39260
879165f2
UD
392612011-08-08 Ulrich Drepper <drepper@gmail.com>
39262
39263 * dirent/scandir.c (cancel_handler): Renamed to
39264 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39265 defined. Adjust users.
39266 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39267 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39268
cb7e923b
UD
392692011-08-04 Ulrich Drepper <drepper@gmail.com>
39270
16292edd
UD
39271 * string/test-string.h (IMPL): Use __STRING to expand name and then
39272 stringify it.
39273
cb7e923b
UD
39274 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39275 of cleanups.
39276
cff82933
LD
392772011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39278
39279 * string/Makefile: Update.
39280 (strop-tests): Append strncat.
39281 * string/test-wcscmp.c: New file.
39282 New comprehensive test for wcscmp.
39283 * string/test-strcmp.c: Update.
39284 (WIDE): New define.
39285
9be9bfcc
AS
392862011-07-22 Andreas Schwab <schwab@redhat.com>
39287
39288 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39289 line.
39290
2e96f1c7
AS
392912011-07-26 Andreas Schwab <schwab@redhat.com>
39292
39293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39294 encoding to ACE if AI_IDN.
39295
85188888
JJ
392962011-08-01 Jakub Jelinek <jakub@redhat.com>
39297
39298 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39299 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39300
5fa16e9b
LD
393012011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39302
39303 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39304 Fix overflow bug in strncat.
39305 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39306
39307 * string/test-strncat.c: Update.
39308 Add new tests for checking overflow bugs.
39309
393102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39311
39312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39313 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39314 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39315 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39316 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39317 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39318 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39319 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39320 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39321
39322 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39323 (USE_AS_STRCAT): Define.
39324 Add strcat and strncat support.
39325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39326
8c1a459f
AS
393272011-07-25 Andreas Schwab <schwab@redhat.com>
39328
39329 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39330 __n bigger than INT_MAX+1.
39331 (__strncmp_g): Likewise.
39332
bba33c28
UD
393332011-07-23 Ulrich Drepper <drepper@gmail.com>
39334
798be72d
UD
39335 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39336 * libio/stido.h: Likewise.
39337
8accd4dc
UD
39338 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39339 (AF_NFC): Define.
39340 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39341 (AF_NFC): Define.
39342
cbff0d96
UD
39343 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39344 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39345 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39346 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39347 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39348
9191c04a
UD
39349 [BZ #13021]
39350 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39351 installed.
39352
bba33c28
UD
39353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39354 typo.
39355 (_dl_x86_64_save_sse): Likewise.
39356
90f139dd
UD
393572011-07-22 Ulrich Drepper <drepper@gmail.com>
39358
1aae088a
UD
39359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39360 OSXSAVE.
39361 (_dl_x86_64_save_sse): Likewise.
39362
8e2045f5
UD
39363 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39364
90f139dd
UD
39365 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39366
1d002f25
AS
393672011-07-21 Andreas Schwab <schwab@redhat.com>
39368
39369 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39370 change.
39371 (_dl_x86_64_save_sse): Use correct AVX check.
39372
21137f89
UD
393732011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39374
39375 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39376 bug in strncpy/strncat.
39377 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39378
a65c0b7a
UD
393792011-07-21 Ulrich Drepper <drepper@gmail.com>
39380
39381 * string/tester.c (test_strcat): Add tests for different alignments
39382 of source and destination.
39383 (test_strncat): Likewise.
39384
6986b98a
UD
393852011-07-20 Ulrich Drepper <drepper@gmail.com>
39386
90bb2039
UD
39387 [BZ #12852]
39388 * posix/glob.c (glob): Check passed in values before using them in
39389 expressions to avoid some overflows.
39390 (glob_in_dir): Likewise.
39391
5644ef54
UD
39392 [BZ #13007]
39393 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39394 check for AVX enablement so that we don't crash with old kernels and
39395 new hardware.
39396 * elf/tst-audit4.c: Add same checks here.
39397 * elf/tst-audit6.c: Likewise.
39398
39399 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39400
bfc9dc9b
AS
394012011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39402
39403 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39404
702e64bb
UD
394052011-07-20 Ulrich Drepper <drepper@gmail.com>
39406
39407 * po/cs.po: Update from translation team.
39408 * po/bg.po: Likewise.
39409
295e904f
MP
394102011-07-12 Marek Polacek <mpolacek@redhat.com>
39411
39412 * misc/sys/cdefs.h: Add support for const attribute.
39413 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39414 to gnu_dev_{major,minor,makedev} functions.
39415
3ff94596
MP
394162011-07-20 Marek Polacek <mpolacek@redhat.com>
39417
39418 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39419
28b59fca
AS
394202011-07-20 Andreas Schwab <schwab@redhat.com>
39421
39422 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39423 strlen results.
39424
19df733e
AK
394252011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39426
39427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39428 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39429 register in order to avoid conflicts with the soft frame pointer
39430 being held in r11 when necessary.
39431 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39432 (INTERNAL_VSYSCALL_NCS): Likewise.
39433
c8835729
MP
394342011-07-14 Marek Polacek <mpolacek@redhat.com>
39435
39436 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39437 * elf/dl-fini.c (_dl_fini): Adjust caller.
39438 * elf/dl-close.c (_dl_close_worker): Likewise.
39439 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39440
b902330c
MP
394412011-07-15 Marek Polacek <mpolacek@redhat.com>
39442
8991e135
MP
39443 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39444 "aux_cache->nlibs < 0".
39445
b902330c
MP
39446 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39447 in the reload-count case.
39448
99710781
LD
394492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39450
39451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39452 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39453 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39454 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39455 * sysdeps/x86_64/multiarch/strcat.S: New file.
39456 * sysdeps/x86_64/multiarch/strncat.S: New file.
39457 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39458 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39459 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39460 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39461 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39462 (USE_AS_STRCAT): Define.
39463 Add strcat and strncat support.
39464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39465 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39466 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39467 * string/strncat.c: Update.
39468 (USE_AS_STRNCAT): Define.
39469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39470 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39471 and i7.
39472 * sysdeps/x86_64/multiarch/init-arch.h
39473 (bit_Prefer_PMINUB_for_stringop): New.
39474 (index_Prefer_PMINUB_for_stringop): Likewise.
39475 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39476 bit_Prefer_PMINUB_for_stringop.
39477
7dc6bd90
UD
394782011-07-19 Ulrich Drepper <drepper@gmail.com>
39479
39480 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39481 buffer64.
39482 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39483 of casting of buffer.
39484 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39485 buffer32 and buffer64.
39486 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39487 writes instead of casting of buffer.
39488 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39489 buffer32.
39490 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39491 casting of buffer.
39492
e0e72284
AS
394932011-07-19 Andreas Schwab <schwab@redhat.com>
39494
39495 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39496
feb1eb0b
UD
394972011-07-19 Ulrich Drepper <drepper@gmail.com>
39498
39499 * nscd/nscd.c (termination_handler): Don't do anything for a database
39500 if it has not yet been initialized.
39501
298711ff
UD
395022011-07-18 Ulrich Drepper <drepper@gmail.com>
39503
39504 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39505
395062011-07-15 Marek Polacek <mpolacek@redhat.com>
39507
39508 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39509
f9d68389
UD
395102011-07-18 Ulrich Drepper <drepper@gmail.com>
39511
39512 * po/nl.po: Update from translation team.
39513 * po/sv.po: Likewise.
39514
db290cf5
RM
395152011-07-16 Roland McGrath <roland@hack.frob.com>
39516
39517 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39518 now disallowed by GCC.
5c550700 39519
fd5e21c7
RM
39520 * configure.in (use-default-link): Default to yes if a test -shared
39521 link meets our qualifications.
39522 * configure: Regenerated.
39523
5c550700
RM
39524 * config.make.in (output-format): New variable.
39525 * configure.in: Check for ld --print-output-format support.
39526 * configure: Regenerated.
39527 * Makerules ($(common-objpfx)format.lds)
39528 [$(output-format) != unknown]: Just use $(output-format),
39529 instead of the linker-script munging.
39530
9fa2c032
RM
395312011-07-14 Roland McGrath <roland@hack.frob.com>
39532
a6928d51
RM
39533 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39534 of $(common-objpfx)shlib.lds.
39535 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39536
661607b3
RM
39537 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39538 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39539
9fa2c032
RM
39540 * configure.in (-z relro check): Adjust test code to add a large
39541 writable data section after it.
39542 * configure: Regenerated.
39543
defe9061
RM
395442011-07-11 Roland McGrath <roland@hack.frob.com>
39545
39546 * configure.in (-z relro check): Fix test code to make the variable
39547 truly const.
39548 * configure: Regenerated.
39549
319b9ad4
UD
395502011-07-11 Ulrich Drepper <drepper@gmail.com>
39551
39552 * nscd/nscd.h (struct traced_file): Define.
39553 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39554 elements. Add traced_files.
39555 (inotify_fd): Declare.
39556 (register_traced_file): Declare.
39557 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39558 (inotify_fd): Export.
39559 (resolv_conf_descr): Remove.
39560 (nscd_init): Move inotify descriptor creation to main.
39561 Don't register files for notification here.
39562 (register_traced_file): New function.
39563 (invalidate_cache): Don't use reset_res to determine whether to call
39564 res_init, go through the list of registered files.
39565 (main_loop_poll): The inotify descriptors are now stored in the
39566 structures for the traced files.
39567 (main_loop_epoll): Likewise
39568 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39569 to __nss_disable_nscd.
39570 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39571 for a database anymore. Check the records for all the registered
39572 files instead.
39573 * nss/Makefile (libnss_files-routines): Add files-init.
39574 (libnss_db-routines): Add db-init.
39575 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39576 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39577 * nss/nss_db/db-init.c: New file.
39578 * nss/nss_files/files-init.c: New file.
39579 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39580 __nss_lookup_function.
39581 (__nss_lookup_function): Call nss_load_library.
39582 (nss_load_all_libraries): New function.
39583 (__nss_disable_nscd): Take parameter with callback function for files
39584 to register. Set is_nscd. Load all the DSOs for the NSS modules
39585 used for the cached services.
39586 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39587 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39588 options for features to all the files in nscd.
39589
39590 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39591
23bee3e8
RM
395922011-07-10 Roland McGrath <roland@hack.frob.com>
39593
39594 * csu/elf-init.c (__libc_csu_init): Comment typo.
39595
46a5b7f0
UD
395962011-07-09 Ulrich Drepper <drepper@gmail.com>
39597
39598 * po/pl.po: Update from translation team.
39599 * po/ja.po: Likewise.
39600 * po/ru.po: Likewise.
39601 * po/ko.po: Likewise.
39602 * po/fr.po: Likewise.
39603
d30cf5bb
RM
396042011-07-09 Roland McGrath <roland@hack.frob.com>
39605
113ddea4
RM
39606 * configure.in (.ctors/.dtors header and trailer check):
39607 Use an empirical test on a built program.
39608 * configure: Regenerated.
39609
574920b4
RM
39610 * configure.in (-z relro check): Use an empirical test on a built DSO.
39611 Detect, but do not require, on ia64.
39612 * configure: Regenerated.
39613
d30cf5bb
RM
39614 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39615 Update tests that use readelf to use $READELF instead.
39616 * configure: Regenerated.
39617
8538fdb3
UD
396182011-07-08 Ulrich Drepper <drepper@gmail.com>
39619
39620 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39621 if the result is not used.
39622
04d08991
AJ
396232011-07-05 Andreas Jaeger <aj@suse.de>
39624
39625 [BZ#9696]
39626 * stdlib/tst-strtod.c: Add testcase.
39627
de283087
AD
396282011-07-07 Ulrich Drepper <drepper@gmail.com>
39629
4e5f31c8 39630 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39631 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39632 The latter has a higher limit. Take additional parameter to pass to
39633 the new function.
39634 (__pathconf): Pass file to __statfs_link_max.
39635 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39636 __statfs_link_max.
39637 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39638 __statfs_link_max.
39639
de283087
AD
39640 [BZ #12868]
39641 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39642 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39643 Handle Lustre.
39644 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39645 (__statfs_filesize_max): Likewise.
39646 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39647
c75fa153
AJ
396482011-07-05 Andreas Jaeger <aj@suse.de>
39649
39650 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39651
1a544854
UD
396522011-07-06 Marek Polacek <mpolacek@redhat.com>
39653
39654 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39655 `status' variable.
39656 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39657 Likewise.
39658
6f0eec67
UD
396592011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39660
39661 * Makefile (strop-tests): Add strncat.
39662 * string/test-strncat.c: New file.
39663
aae30307
UD
396642011-06-30 Marek Polacek <mpolacek@redhat.com>
39665
39666 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39667
c0cfb5eb
UD
396682011-06-21 Andreas Jaeger <aj@suse.de>
39669
39670 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39671 Copy rule from iconvdata/Makefile.
39672
01636b21
UD
396732011-07-06 Ulrich Drepper <drepper@gmail.com>
39674
39675 [BZ #12922]
39676 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39677 but no long options are defined, just return 'W'.
39678
9895c8bc
UD
396792011-06-22 Marek Polacek <mpolacek@redhat.com>
39680
39681 [BZ #9696]
39682 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39683
5d4cf042
UD
396842011-07-06 Ulrich Drepper <drepper@gmail.com>
39685
39686 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39687 netgroups to read.
960e5535 39688 (innetgr): Likewise.
5d4cf042 39689
751eb97e
RM
396902011-07-05 Roland McGrath <roland@hack.frob.com>
39691
39692 * config.make.in (install_root): Default to $(DESTDIR).
39693
f15f1e45
UD
396942011-07-05 Ulrich Drepper <drepper@gmail.com>
39695
39696 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39697
4e34ac6a
RM
396982011-07-02 Roland McGrath <roland@hack.frob.com>
39699
5e9b6af4
RM
39700 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39701
84f9ea0f
RM
39702 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39703 containing directory rather than embedding absolute directory names.
39704
ea5ee9f7
RM
39705 * scripts/check-local-headers.sh: Rewritten using awk.
39706 Match by word, not by line. Print error messages for matches.
39707 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39708
1b74661a
RM
39709 * Makerules [shlib-lds-flags empty]:
39710 ($(common-objpfx)libc_pic.opts): New target.
39711 ($(common-objpfx)libc_pic.os.clean): New target.
39712 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39713
39714 * config.make.in (OBJCOPY): New variable.
39715 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39716 * configure: Regenerated.
39717
f781ef40
RM
39718 * config.make.in (use-default-link): New variable.
39719 * configure.in (use_default_link): Grok --with-default-link to set it.
39720 * configure: Regenerated.
39721 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39722 (shlib-lds, shlib-lds-flags): Define to empty.
39723
2d4fa81e
RM
39724 * Makerules (shlib-lds): New variable.
39725 (shlib-lds-flags): New variable.
39726 (build-shlib, build-moduile, build-module-asneeded): Use it.
39727 ($(common-objpfx)libc.so): Use $(shlib-lds).
39728 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39729 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39730
31fffa6b
RM
39731 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39732 DT_FLAGS/DT_FLAGS_1 with zero flags.
39733
4e34ac6a
RM
39734 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39735 linker script munging.
39736
fcfc776b
UD
397372011-07-02 Ulrich Drepper <drepper@gmail.com>
39738
39739 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39740 as 128-bit value.
39741 * crypt/sha512.c (sha512_process_block): Perform total addition using
39742 128-bit if possible.
39743 (__sha512_finish_ctx): Likewise.
39744 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39745 as 64-bit value.
39746 * crypt/sha256.c (SWAP64): Define.
39747 (sha256_process_block): Perform total addition using 64-bit if
39748 possible.
39749 (__sha256_finish_ctx): Likewise.
39750
99231d9a
UD
397512011-07-01 Ulrich Drepper <drepper@gmail.com>
39752
39753 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39754 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39755 * nscd/hstcache.c (cache_addhst): Likewise.
39756 * nscd/grpcache.c (cache_addgr): Likewise.
39757 * nscd/aicache.c (addhstaiX): Likewise
39758 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39759
445b4a53
TK
397602011-07-01 Thorsten Kukuk <kukuk@suse.de>
39761
39762 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39763 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39764 * nscd/hstcache.c (cache_addhst): Likewise.
39765 * nscd/grpcache.c (cache_addgr): Likewise.
39766 * nscd/aicache.c (addhstaiX): Likewise
39767
6d4d8e8e
AS
397682011-07-01 Andreas Schwab <schwab@redhat.com>
39769
39770 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39771 domain only when needed.
39772
89f654c5
AS
397732011-06-30 Andreas Schwab <schwab@redhat.com>
39774
39775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39776 is always restored.
39777
cf3b23ff
UD
397782011-06-29 Ulrich Drepper <drepper@gmail.com>
39779
39780 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39781 are re-adding the entry.
39782 * nscd/servicescache.c (cache_addserv): Likewise.
39783
751626f9
AJ
397842011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39785
39786 * sysdeps/generic/dl-irel.h: fix protection against multiple
39787 inclusions.
39788 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39789
9113ea1f
UD
397902011-06-28 Ulrich Drepper <drepper@gmail.com>
39791
5c0b8d90
UD
39792 [BZ #12935]
39793 * malloc/memusage.sh: Fix quoting in message.
39794 * debug/xtrace.sh: Likewise.
39795
9113ea1f
UD
39796 * configure.in: Remove support for --experimental-malloc option, make
39797 it the default.
39798 * config.make.in: Likewise.
39799 * malloc/Makefile: Likewise.
39800
a4172181
AS
398012011-06-27 Andreas Schwab <schwab@redhat.com>
39802
39803 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39804 two-byte characters.
39805
78a7eee7
RM
398062011-06-27 Roland McGrath <roland@hack.frob.com>
39807
62bede13
RM
39808 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39809 AC_CACHE_CHECK invocation.
39810 * configure: Regenerated.
39811
78a7eee7
RM
39812 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39813
5ce33a62
UD
398142011-06-27 Ulrich Drepper <drepper@gmail.com>
39815
034807a9
UD
39816 [BZ #12350]
39817 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39818 bit from old_res_options.
39819
4902da17
UD
39820 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39821
5ce33a62
UD
39822 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39823 value type for setfct.
39824
c2344f56
L
398252011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39826
39827 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39828 __gettimeofday instead of gettimeofday.
39829
68468076
UD
398302011-06-26 Ulrich Drepper <drepper@gmail.com>
39831
39832 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39833
acb0d739
L
398342011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39835
39836 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39837
39838 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39839 info.
39840
8912479f
L
398412011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39842
39843 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39844 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39845 strcpy-sse2-unaligned strncpy-sse2-unaligned
39846 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39847 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39848 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39849 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39850 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39851 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39852 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39853 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39854 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39855 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39856 (STRCPY): Support SSE2 and SSSE3 versions.
39857
d5495a11
UD
398582011-06-24 Ulrich Drepper <drepper@gmail.com>
39859
39860 [BZ #12874]
39861 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39862 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39863 kernels which artificially limit size of requests.
39864
0b1cbaae
L
398652011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39866
39867 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39868 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39869 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39870 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39871 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39872 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39873 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39874 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39875 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39876 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39877 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39878 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39879 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39880 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39881 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39883 Enable unaligned load optimization for Intel Core i3, i5 and i7
39884 processors.
39885 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39886 Define.
39887 (index_Fast_Unaligned_Load): Define.
39888 (HAS_FAST_UNALIGNED_LOAD): Define.
39889
07f494a0
MP
398902011-06-23 Marek Polacek <mpolacek@redhat.com>
39891
39892 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39893
fa3fc0fe
UD
398942011-06-22 Ulrich Drepper <drepper@gmail.com>
39895
39896 [BZ #12907]
39897 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39898 until it is clear that the information is realy needed.
39899 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39900
e12df166
AS
399012011-06-22 Andreas Schwab <schwab@redhat.com>
39902
39903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39904
852eb34d
UD
399052011-06-22 Ulrich Drepper <drepper@gmail.com>
39906
84e2a551
UD
39907 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39908 /sys/devices/system/cpu/online if it is usable.
39909
852eb34d
UD
39910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39911 reading the information from the /proc filesystem to once a second.
39912
6e502e19
UD
399132011-06-21 Andreas Jaeger <aj@suse.de>
39914
39915 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39916 NULL after inclusion of kernel headers.
39917
75d39ff2
UD
399182011-06-21 Ulrich Drepper <drepper@gmail.com>
39919
51f9aa6a
UD
39920 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39921 calls to internal_setent.
39922
c0244a9d
UD
39923 [BZ #12885]
39924 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39925 addresses using gethostbyname4_r ignore IPv4 addresses.
39926
c5e3c2ae
UD
39927 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39928 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39929
75d39ff2
UD
39930 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39931
42675c6f
DM
399322011-06-20 David S. Miller <davem@davemloft.net>
39933
39934 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39935 inclusions.
39936 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39937
39938 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39939 (elf_irel): Use it.
39940 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39941 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39942 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39943 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39944 * sysdeps/x86_64/dl-irel.h: Likewise.
39945
39946 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39947 * elf/dl-sym.c: Likewise.
39948
57912a71
UD
399492011-06-15 Ulrich Drepper <drepper@gmail.com>
39950
39951 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39952 need to dereference resplen2.
39953
ee22793d
AS
399542011-06-14 Andreas Schwab <schwab@redhat.com>
39955
39956 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39957
a9e836b0
UD
399582011-06-15 Ulrich Drepper <drepper@gmail.com>
39959
77fb9117
UD
39960 * Makeconfig: Define vardbdir and inst_vardbdir.
39961 * nss/Makefile: Add rules to install db-Makefile.
39962
40c1b22c
UD
39963 * nss/nss_db/db-XXX.c: Cleanup.
39964
9f2da732
UD
39965 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39966 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39967 GLIBC_PRIVATE.
39968 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39969 * nss/makedb.c: Implement -g option to specify that value strings
39970 are generated and should not be added to table iterated over for
39971 get*ent calls.
39972 * nss/nss_db/db-initgroups.c: New file.
39973
82e9a1f7
UD
39974 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39975 interface.
39976
c41af17e
UD
39977 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39978 (internal_getgrouplist): Adjust to name change.
39979 Update use_initgroups_entry if this is not the first call.
39980 * nss/databases.def: Add initgroups entry.
39981
a9e836b0
UD
39982 * nss/makedb.c (compute_tables): Check result of multiple hash table
39983 sizes to minimize maximum chain length.
39984
2666d441
UD
399852011-06-14 Ulrich Drepper <drepper@gmail.com>
39986
39987 * Versions.def: Add entry for libnss_db.
39988 * shlib-versions: Likewise.
39989 * nss/Makefile: Add rules to build libnss_db.
39990 * nss/Versions: Add libnss_db information. Organize libnss_files
39991 entries better.
39992 * nss/db-Makefile: Add gshadow support. Change rules for the new
39993 makedb progra. Some minor improvements to generate smaller files.
39994 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39995 here from...
39996 * nss/makedb.c: ...here.
39997 Improve database format to be smaller and require less memory at
39998 runtime.
39999 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40000 db anymore.
40001 * nss/nss_db/db-netgrp.c: Likewise.
40002 * nss/nss_db/db-open.c: Likewise.
40003 * nss/nss_files/flies-XXX.x: Adjust comments.
40004 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40005 * nss/nss_files/files-grp.c: Likewise.
40006 * nss/nss_files/files-hosts.c: Likewise.
40007 * nss/nss_files/files-network.c: Likewise.
40008 * nss/nss_files/files-proto.c: Likewise.
40009 * nss/nss_files/files-pwd.c: Likewise.
40010 * nss/nss_files/files-rpc.c: Likewise.
40011 * nss/nss_files/files-service.c: Likewise.
40012 * nss/nss_files/files-sgrp.c: Likewise.
40013 * nss/nss_files/files-spwd.c: Likewise.
40014 * nss/nss_db/db-alias.c: Removed.
40015 * nss/nss_db/dummy-db.h: Removed.
40016
9ee76b5a
UD
400172011-06-02 Ulrich Drepper <drepper@gmail.com>
40018
40019 * nss/makedb.c: Rewritten to not use database library.
40020 * nss/Makefile: Update to build new makedb program.
40021
c71ca1f8
AJ
400222011-06-14 Andreas Jaeger <aj@suse.de>
40023
40024 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40025 memset declaration.
40026
3154bfb8
UD
400272011-06-10 Andreas Schwab <schwab@redhat.com>
40028
40029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40030 tmpbuf.
40031
b350afab
RM
400322011-06-10 Roland McGrath <roland@hack.frob.com>
40033
decd4e50
RM
40034 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40035 * elf/Makefile ($(objpfx)ld.so): Likewise.
40036
5615eaf2
RM
40037 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40038 Don't list ld.so twice in dependencies.
40039
40040 * posix/bug-regex31.c: Include <stdlib.h>.
40041
40042 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40043
40044 * nis/nss_compat/compat-spwd.c
40045 (getspent_next_nss_netgr): Remove unused variable.
40046 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40047
40048 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40049 nonmembers" output to use the right array.
40050
40051 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40052
40053 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40054
40055 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40056 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40057 * catgets/gencat.c (read_input_file): Likewise.
40058 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40059
40060 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40061 variable definition inside #if's controlling its use.
40062
40063 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40064
40065 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40066
40067 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40068
40069 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40070 unreachable code.
40071
40072 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40073
b68e08db
RM
40074 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40075 * configure: Regenerated.
40076
b350afab
RM
40077 * Makerules: Revert last change.
40078 * elf/Makefile: Likewise.
40079
28368601
RM
400802011-06-09 Roland McGrath <roland@hack.frob.com>
40081
40082 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40083 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40084 (reloc-link): Likewise.
40085
11988f8f
UD
400862011-06-09 Ulrich Drepper <drepper@gmail.com>
40087
40088 * elf/Makefile: Add rules to build pldd.
40089 * elf/pldd.c: New file.
40090 * elf/pldd-xx.c: New file.
40091
e80fab37
UD
400922011-06-07 Ulrich Drepper <drepper@gmail.com>
40093
40094 * version.h: Update for 2.15 development version.
40095
9b849836
DM
400962011-06-07 David S. Miller <davem@davemloft.net>
40097
40098 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40099 ifuncs.
40100 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40101 elf_machine_lazy_rel): Likewise.
40102 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40103 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40104 elf_machine_lazy_rel): Likewise.
40105 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40106 dl_hwcap via passed in argument.
40107 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40108 Likewise.
40109
5a31b283
AK
401102011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40111
40112 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40113
069e52f8
RM
401142011-06-06 Roland McGrath <roland@hack.frob.com>
40115
40116 [BZ #12849]
40117 * manual/fdl-1.1.texi: New file, verbatim from:
40118 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40119 * manual/lgpl-2.1.texi: New file, verbatim from:
40120 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40121 * manual/Makefile (licenses): New variable, list those new file names.
40122 (texis): Use it.
40123 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40124
40125 * manual/fdl.texi: File removed.
40126 * manual/lesser.texi: File removed.
40127 * manual/libc.texinfo (Copying, Documentation License):
40128 Use new @include file names, put @appendix directive before @include.
40129
f16846a5
JJ
401302011-06-04 Jakub Jelinek <jakub@redhat.com>
40131
40132 [BZ #12841]
40133 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40134 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40135 (mq_open): Add __NTH.
40136
3d29045b
L
401372011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40138
40139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40140 Assume Intel Core i3/i5/i7 processor if AVX is available.
40141
8c297311
UD
401422011-05-31 Ulrich Drepper <drepper@gmail.com>
40143
40144 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40145 typo.
40146
c8fc0c91
UD
401472011-05-31 Andreas Schwab <schwab@redhat.com>
40148
40149 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40150 memory. Use alloca_account. Fix memory leak when retrying.
40151
5b27a807
UD
401522011-05-31 Ulrich Drepper <drepper@gmail.com>
40153
356f8bc6
UD
40154 * version.h (RELEASE): Bump for 2.14 release.
40155 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40156
5b27a807
UD
40157 * config.make.in (RANLIB): Remove entry.
40158
01f16ab0
UD
401592011-05-30 Ulrich Drepper <drepper@gmail.com>
40160
41fce8bd
UD
40161 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40162 (libc.pot): Work around missing support for .ksh extension in xgettext.
40163
4769ae77
UD
40164 [BZ #12684]
40165 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40166 if both request failed.
40167 (send_dg): In case of server errors clear resplen or *resplen2.
40168
6b1e7d19
UD
40169 [BZ #12454]
40170 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40171 when there are multiple maps.
40172 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40173 (_dl_fini): Remove test here.
40174
01f16ab0
UD
40175 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40176
b1ebd700
UD
401772011-05-29 Ulrich Drepper <drepper@gmail.com>
40178
7ae22829
UD
40179 [BZ #12350]
40180 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40181 bit from old_res_options.
40182 (gaih_inet): Likewise.
40183
553149f6 40184 [BZ #11099]
18a84741 40185 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40186 as signed.
40187
652ffab1
UD
40188 * resolv/res_init.c (res_setoptions): Make the code more compact.
40189
16985fd0
UD
40190 [BZ #11558]
40191 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40192 set RES_USEVC.
40193
0464f746
UD
40194 [BZ #11634]
40195 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40196
7d17596c
UD
40197 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40198
cf6bbbd7
UD
40199 [BZ #11781]
40200 * malloc/malloc.h: Declare malloc hook variables as volatile.
40201
13f1ab36
UD
40202 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40203 in last patch.
40204
b1ebd700
UD
40205 [BZ #11799]
40206 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40207 raise in the comment.
80e2212d
UD
40208 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40209 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40210 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40211
ce67228d
UD
402122011-05-28 Ulrich Drepper <drepper@gmail.com>
40213
8887a920
UD
40214 [BZ #12811]
40215 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40216 grow the buffers more if it already has to be sufficient.
40217 (build_wcs_upper_buffer): Likewise.
40218 * posix/regexec.c (check_matching): Likewise.
40219 (clean_state_log_if_needed): Likewise.
40220 (extend_buffers): Don't enlarge buffers beyond size of the input
40221 buffer.
40222 Patches mostly by Emil Wojak <emil@wojak.eu>.
40223 * posix/bug-regex32.c: New file.
40224 * posix/Makefile (tests): Add bug-regex32.
40225
4f031072
UD
40226 * locale/findlocale.c (_nl_find_locale): Return right away if
40227 _nl_explode_name failed.
40228 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40229
d0478f0c
UD
40230 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40231
de81b246
UD
40232 * debug/xtrace.sh: Unify messages.
40233 * malloc/memusage.sh: Likewise.
40234
c738465a
UD
40235 [BZ #12813]
40236 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40237 time symbol from vDSO. Substitute with vsyscall if not available.
40238 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40239 __vdso_time.
40240
f1f929d7
UD
40241 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40242 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40243 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40244 Add sendmmsg and internal_sendmmsg.
40245 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40246 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40247 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40248
ce67228d
UD
40249 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40250 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40251 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40252
e57420c6
UD
402532011-05-27 Ulrich Drepper <drepper@gmail.com>
40254
a8509ca5
UD
40255 [BZ #12813]
40256 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40257 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40258 available.
40259 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40260 __vdso_getcpu.
40261
e57420c6
UD
40262 [BZ #12814]
40263 * iconvdata/Makefile (tests): Add bug-iconv9.
40264 * iconvdata/bug-iconv9.c: New file.
40265
4d07db15
AS
402662011-05-27 Andreas Schwab <schwab@redhat.com>
40267
40268 [BZ #12814]
40269 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40270
ea486f69
JJ
402712011-05-25 Jakub Jelinek <jakub@redhat.com>
40272
40273 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40274 (struct user_regs_struct): Change intcs field back to cs.
40275
6f038433
UD
402762011-05-25 Ulrich Drepper <drepper@gmail.com>
40277
40278 * po/ja.po: Update from translation team.
40279
67f86a25
UD
402802011-05-23 Ulrich Drepper <drepper@gmail.com>
40281
40282 [BZ #12795]
40283 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40284 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40285
def7fbd6
AS
402862011-05-20 Andreas Schwab <schwab@redhat.com>
40287
40288 * stdlib/longlong.h: Update from GCC.
40289
f50ef8f1
AS
402902011-05-23 Andreas Schwab <schwab@redhat.com>
40291
40292 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40293 parameter name.
40294 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40295 Add parameter name.
40296 (__sysconf): Pass it down.
40297
de7ce8f1
UD
402982011-05-22 Ulrich Drepper <drepper@gmail.com>
40299
f2962a71
UD
40300 [BZ #12671]
40301 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40302 some situations.
40303 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40304 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40305 add in in __libc_use_alloca calls. Adjust callers.
40306 (glob): Use malloc in some situations.
40307
de7ce8f1
UD
40308 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40309 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40310 pltexit.
40311
aec84f53
UD
403122011-05-21 Ulrich Drepper <drepper@gmail.com>
40313
05bb4a68
UD
40314 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40315 and CLOCK_BOOTTIME_ALARM.
40316
7ea72f99
UD
40317 [BZ #12782]
40318 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40319 is returned.
40320
7e4afad5
UD
40321 * string/_strerror.c (__strerror_r): Print negative errors as signed
40322 numbers.
40323
8e211fec
UD
40324 [BZ #12777]
40325 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40326 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40327 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40328
f7d82dc9
UD
40329 * configure.in: Fix typo in redirection and correct removal of test
40330 files in two cases.
40331
cc9e536d
UD
40332 [BZ #12788]
40333 * locale/setlocale.c (new_composite_name): Fix test to check for
40334 identical name of all categories.
40335
aec84f53
UD
40336 [BZ #12792]
40337 * libio/filedoalloc.c (local_isatty): New function.
40338 (_IO_file_doallocate): Use local_isatty.
40339 * stdio-common/perror.c (perror): In case a new stream is used
40340 forward the stream error.
40341 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40342 error flag.
40343
78e64fdc
RT
403442011-05-20 Ulrich Drepper <drepper@gmail.com>
40345
34a9094f
UD
40346 [BZ #11869]
40347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40348 alloca.
40349 * include/alloca.h (extend_alloca_account): Define.
40350
78e64fdc
RT
40351 [BZ #11857]
40352 * posix/regex.h: Fix comments with documentation of user-accessible
40353 fields after compilation and describe correct free'ing of pattern
40354 after re_compile_pattern.
40355 Patch by Reuben Thomas <rrt@sc3d.org>.
40356
457bddfc
RA
403572011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40358
40359 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40360 and -mno-altivec to prevent the compiler from using Altivec and/or
40361 VSX instructions when the corresponding registers are not available.
40362
a4527b51
AS
403632011-05-19 Andreas Schwab <schwab@redhat.com>
40364
40365 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40366
ed690b2f
UD
403672011-05-19 Ulrich Drepper <drepper@gmail.com>
40368
40369 * libio/freopen.c (freopen): Use __dup2, not dup2.
40370 * libio/freopen64.c (freopen64): Likewise.
40371
8db73634
L
403722011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40373
40374 [BZ #12775]
40375 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40376 * math/Makefile (tests): Add test-powl.
40377 (CFLAGS-test-powl.c): Define.
40378 * math/test-powl.c: New file.
40379
0a197a9d
L
403802011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40381
40382 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40383
ee30c380
UD
403842011-05-17 Ulrich Drepper <drepper@gmail.com>
40385
40386 [BZ #11837]
40387 * iconvdata/gb18030.c: Update to GB18020-2005.
40388
6ce75379
UD
403892011-05-16 Ulrich Drepper <drepper@gmail.com>
40390
a4b89fd8
AR
40391 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40392 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40393 Patch by Aharon Robbins <arnold@skeeve.com>.
40394
ea389b12
UD
40395 [BZ #11892]
40396 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40397 on the stack.
40398
68a3f91f
UD
40399 [BZ #11895]
40400 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40401 through underflows.
40402
15cc7dd1
UD
40403 [BZ #12766]
40404 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40405 point to strings before performing equality test for error_one_per_line
40406 mode.
40407
f3799213
UD
40408 [BZ #11697]
40409 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40410
d79a9c94
UD
40411 [BZ #11820]
40412 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40413 (struct user_fpregs_struct): Avoid __uint*_t types.
40414
56e5eb46
UD
40415 [BZ #6420]
40416 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40417 symbol info. Use it instead of calling _dl_addr locally.
40418 (lock_and_info): New function.
40419 (tr_freehook): Call lock_and_info and pass symbol info as additional
40420 parameter to tr_where.
40421 (tr_mallochook): Likewise.
40422 (tr_reallochook): Likewise.
40423 (tr_memalignhook): Likewise.
40424
6ce75379
UD
40425 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40426 used and couldn't be at all thread-safe.
40427
f8a3b5bf
UD
404282011-05-15 Ulrich Drepper <drepper@gmail.com>
40429
94b7cc37
UD
40430 * libio/freopen.c (freopen): Don't close old file descriptor
40431 before the new one is opened. Instead dup the new file descriptor
40432 to the old one after the new stream is created.
40433 * libio/freopen64.c (freopen64): Likewise.
40434 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40435 * libio/fileops.c (_IO_new_file_close_it): Handle new
40436 _IO_FLAGS2_NOCLOSE flag.
40437 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40438 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40439 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40440 _IO_FLAGS2_NOCLOSE flag.
40441 * include/unistd.h: Add hidden_proto for dup3.
40442 Define __have_dup3.
40443 * io/dup3.c: Define hidden symbol.
40444 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40445
bd25564e
UD
40446 [BZ #7101]
40447 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40448 when an incomplete long option is used.
40449 * posix/tst-getopt_long1.c: New file.
40450 * posix/Makefile (tests): Add tst-getopt_long1.
40451
c84cfef4
UD
40452 [BZ #10138]
40453 * scripts/config.guess: Update from autoconf-2.68.
40454 * scripts/config.sub: Likewise.
40455
3b85df27
UD
40456 [BZ #10157]
40457 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40458 tests into ...
40459 (has_cpuclock): ...this. New function.
40460 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40461 macro here based on has_cpuclock code.
40462
15a856b1
UD
40463 [BZ #10149]
40464 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40465 First byte (not low byte) is now always NUL.
40466 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40467
05f399e6
UD
40468 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40469 Use non-cancelable interfaces.
40470
10a52685 40471 [BZ #9809]
94ecc67d
UD
40472 * locale/iso-639.def: Add entry for Sorani.
40473
f8a3b5bf
UD
40474 [BZ #11901]
40475 * include/stdlib.h: Move include protection to the right place.
40476 Define abort_msg_s. Declare __abort_msg with it.
40477 * stdlib/abort.c (__abort_msg): Adjust type.
40478 * assert/assert.c (__assert_fail_base): New function. Majority
40479 of code from __assert_fail. Allocate memory for __abort_msg with
40480 mmap.
40481 (__assert_fail): Now call __assert_fail_base.
40482 * assert/assert-perr.c: Remove bulk of implementation. Use
40483 __assert_fail_base.
40484 * include/assert.hL Declare __assert_fail_base.
40485 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40486 mmap.
40487 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40488
1af4e298
UD
404892011-05-14 Ulrich Drepper <drepper@gmail.com>
40490
f8a3b5bf 40491 [BZ #11952]
d26dfc60
MG
40492 [BZ #12453]
40493 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40494 until all modules are registered in the DTV.
40495 * elf/Makefile: Add rules to build and run tst-tls19.
40496 * elf/tst-tls19.c: New file.
40497 * elf/tst-tls19mod1.c: New file.
40498 * elf/tst-tls19mod2.c: New file.
40499 * elf/tst-tls19mod3.c: New file.
40500 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40501
2fc54d6f
UD
40502 [BZ #12083]
40503 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40504 correctly.
40505
98d76b46
UD
40506 [BZ #12601]
40507 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40508 two-byte sequence errors.
40509 * iconvdata/Makefile (tests): Add bug-iconv8.
40510 * iconvdata/bug-iconv8.c: New file.
40511
da3c19ef
UD
40512 [BZ #12626]
40513 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40514 buf2 definition.
40515
ca408c15
UD
40516 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40517
d6f67f7d
UD
40518 [BZ #12432]
40519 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40520 (dummy_getcfa): New function.
40521 (init): Get _Unwind_GetCFA address, use dummy if not found.
40522 (backtrace_helper): In recursion check, also check whether CFA changes.
40523 (__backtrace): Completely initialize arg.
40524
1af4e298 40525 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40526 storing incomplete byte sequence in state object. Avoid testing for
40527 guaranteed too small input if we know there is enough data available.
1af4e298 40528
da62f81b
AS
405292011-05-11 Andreas Schwab <schwab@redhat.com>
40530
40531 * Makeconfig (+link-pie): Indent.
40532 * Rules (binaries-pie): Define if $(have-fpie) and
40533 $(build-shared).
40534 (binaries-shared): Also filter out $(binaries-pie).
40535 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40536 * nscd/Makefile (others-pie): Add nscd.
40537 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40538 ($(objpfx)nscd): Remove command override.
40539 * login/Makefile (others-pie): Add pt_chown.
40540 ($(objpfx)pt_chown): Remove command override.
40541 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40542 remove command overrides.
40543
fcabc0f8
UD
405442011-05-13 Ulrich Drepper <drepper@gmail.com>
40545
20030ae6
UD
40546 * libio/tst_putwc.c: Fix error messages.
40547
fcabc0f8
UD
40548 [BZ #12724]
40549 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40550 currently writing and seek to current position when not.
40551 * libio/Makefile (tests): Add bug-fclose1.
40552 * libio/bug-fclose1.c: New file.
40553
320a5dc0
PB
405542011-05-12 Ulrich Drepper <drepper@gmail.com>
40555
40556 [BZ #12511]
40557 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40558 don't set DF_1_NODELETE here.
40559 (do_lookup_x): When entering new entry test for copy relocation
40560 and if necessary set DF_1_NODELETE flag.
40561 * elf/tst-unique4.cc: New file.
40562 * elf/tst-unique4.h: New file.
40563 * elf/tst-unique4lib.cc: New file.
40564 * elf/Makefile: Add rules to build and run tst-unique4.
40565 Patch by Piotr Bury <pbury@goahead.com>.
40566
22836f52
UD
405672011-05-11 Ulrich Drepper <drepper@gmail.com>
40568
f574184a
UD
40569 [BZ #12052]
40570 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40571
e1fb097f
UD
40572 [BZ #12625]
40573 * misc/mntent_r.c (addmntent): Flush the stream after the output
40574
22836f52
UD
40575 [BZ #12393]
40576 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40577 (is_trusted_path_normalize): Skip initial colon. Append slash
40578 to empty buffer. Duplicate is_trusted_path code but allow
40579 constructed patch to be prefix.
40580 (is_dst): Allow $ORIGIN followed by /.
40581 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40582 Correct testing of result of is_trusted_path_normalize
40583 (decompose_rpath): Fix warning.
40584
7b3b0b2a
UD
405852011-05-10 Ulrich Drepper <drepper@gmail.com>
40586
40587 [BZ #11257]
40588 * grp/initgroups.c (internal_getgrouplist): When we found the service
40589 list through the initgroups entry in nsswitch.conf do not always
40590 continue on a successful lookup. Don't always use the
eac80ce2 40591 __nss_group_database value if it is set.
7b3b0b2a
UD
40592 * nss/nsswitch.conf (initgroups): Change action for successful db
40593 lookup to continue for compatibility.
40594
2a81eaa5
UD
405952011-05-09 Ulrich Drepper <drepper@gmail.com>
40596
be97a69e
UD
40597 [BZ #11532]
40598 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40599 and CP774 modules.
40600 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40601 and CP774 modules.
40602 * iconvdata/tst-tables.sh: Likewise.
40603 * iconvdata/cp770.c: New file.
40604 * iconvdata/cp771.c: New file.
40605 * iconvdata/cp772.c: New file.
40606 * iconvdata/cp773.c: New file.
40607 * iconvdata/cp774.c: New file.
40608 * iconvdata/testdata/CP770: New file.
40609 * iconvdata/testdata/CP770..UTF8: New file.
40610 * iconvdata/testdata/CP771: New file.
40611 * iconvdata/testdata/CP771..UTF8: New file.
40612 * iconvdata/testdata/CP772: New file.
40613 * iconvdata/testdata/CP772..UTF8: New file.
40614 * iconvdata/testdata/CP773: New file.
40615 * iconvdata/testdata/CP773..UTF8: New file.
40616 * iconvdata/testdata/CP774: New file.
40617 * iconvdata/testdata/CP774..UTF8: New file.
40618
40619 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40620 END CHARMAP line.
40621 * iconvdata/gen-8bit-gap.sh: Likewise.
40622 * iconvdata/gen-8bit.sh: Likewise.
40623
c1e9e399
UD
40624 * locale/iso-639.def: Add ary entry.
40625
24c55fb3 40626 [BZ #11258]
96b4b1b0
UD
40627 * locale/C-translit.h.in: Add U20A1 transliteration.
40628
bdc2f971
KB
40629 [BZ #12178]
40630 * locale/iso-639.def: Add wae entry.
40631 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40632
2952b117
UD
40633 [BZ #12545]
40634 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40635 for n.
40636
2a81eaa5
UD
40637 [BZ #12711]
40638 * locale/C-translit.h.in: Add entry for U20B9.
40639 Patch by pravin.d.s@gmail.com.
40640
28377d1b
UD
406412011-05-08 Ulrich Drepper <drepper@gmail.com>
40642
7fb90fb8
UD
40643 [BZ #12713]
40644 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40645 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40646 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40647 in rtld. Use *stat64.
7fb90fb8 40648 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40649 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40650 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40651 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40652 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40653 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40654 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40655 __fstatat64 macros.
7fb90fb8
UD
40656 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40657 * dirent/rewinddir.c: Add libc_hidden_def.
40658 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40659 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40660
28377d1b
UD
40661 * include/dirent.h (__alloc_dir): Add flags parameter.
40662 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40663 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40664 __alloc_dir.
40665 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40666 from fdopendir if O_CLOEXEC is already set.
40667
66bdbaa4
AM
406682011-03-15 Alan Modra <amodra@gmail.com>
40669
40670 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40671 l_tls_firstbyte_offset non-zero. Save padding offset in
40672 l_tls_firstbyte_offset for later use.
40673 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40674 freeing static tls block.
40675
95721191
JN
406762011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40677
40678 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40679 where #ifdef was intended. The intent is to prevent ARG_MAX from
40680 being defined by the kernel headers.
40681
f87dfb1f
UD
406822011-05-07 Ulrich Drepper <drepper@gmail.com>
40683
40684 [BZ #12734]
40685 * resolv/resolv.h: Define RES_NOTLDQUERY.
40686 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40687 no-tld-query and set RES_NOTLDQUERY.
40688 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40689 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40690 modern BIND to search name as TLD unless forbidden.
40691
47c3cd7a
UD
406922011-05-07 Petr Baudis <pasky@suse.cz>
40693 Ulrich Drepper <drepper@gmail.com>
40694
40695 [BZ #12393]
40696 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40697 (is_trusted_path): ...to here.
c1e9ea35 40698 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40699 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40700 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40701
8a35c912
PP
407022011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40703
40704 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40705 __BEGIN/__END_DECLS.
40706
acd41f47
UD
407072011-05-06 Ulrich Drepper <drepper@gmail.com>
40708
40709 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40710 NSS_STATUS_NOTFOUND if no record was found.
40711
597df647
AS
407122011-05-05 Andreas Schwab <schwab@redhat.com>
40713
40714 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40715 (headers-not-in-tirpc): Remove rpc/netdb.h
40716 * resolv/netdb.h: Revert last change.
40717
b9af1301
PP
407182011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40719
40720 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40721 circular dependency between libgcc.a and libc.a.
40722
4e34d5f5
AS
407232011-05-05 Andreas Schwab <schwab@redhat.com>
40724
40725 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40726 * nis/Makefile: Don't install rpcsvc/*.
40727 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40728 instead of <rpc/types.h>.
40729 (MAXHOSTNAMELEN): Define.
40730
00ee369c
AS
407312011-05-03 Andreas Schwab <schwab@redhat.com>
40732
40733 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40734
0b592a30
MB
407352011-04-28 Maciej Babinski <mbabinski@google.com>
40736
40737 [BZ #12714]
40738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40739 gethostbyname4_r when IPv6 results are possible.
40740
6e04cbbe
UD
407412011-05-02 Ulrich Drepper <drepper@gmail.com>
40742
40743 [BZ #12723]
40744 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40745 _PC_PIPE_BUF handling.
40746
e4ecafe0
BH
407472011-04-30 Bruno Haible <bruno@clisp.org>
40748
40749 [BZ #12717]
40750 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40751 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40752 to 'int'.
40753 * inet/getnameinfo.c (getnameinfo): Likewise.
40754
125ee683
UD
407552011-04-29 Ulrich Drepper <drepper@gmail.com>
40756
40757 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40758 to groups setting in database lookup.
40759 * nss/nsswitch.conf: Add initgroups entry.
40760
b722481a
EB
407612011-04-22 Ulrich Drepper <drepper@gmail.com>
40762
40763 [BZ #12685]
40764 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40765 mode string.
40766 Patch by Eric Blake <eblake@redhat.com>.
40767
4df46dbd
L
407682011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40769
40770 * sunrpc/Makefile (need-export-routines): Add svc_run.
40771 (routines): Remove svc_run.
40772 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40773 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40774 * sunrpc/svc_run.c (svc_run): Likewise.
40775 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40776
e84142d2
UD
407772011-04-21 Ulrich Drepper <drepper@gmail.com>
40778
40779 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40780 problem in reallocation in last patch.
40781
877175d8
UD
407822011-04-20 Ulrich Drepper <drepper@gmail.com>
40783
40784 * sunrpc/Makefile: Move inclusion of Rules.
40785
ab8eed78
UD
407862011-04-19 Ulrich Drepper <drepper@gmail.com>
40787
40788 * nss/nss_files/files-initgroups.c: New file.
40789 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40790 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40791 _nss_files_initgroups_dyn.
40792
e3d8f584
RS
407932011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40794
40795 * elf/elf.h (R_ARM_IRELATIVE): Define.
40796
af190f45
UD
407972011-04-19 Ulrich Drepper <drepper@gmail.com>
40798
40799 * po/ru.po: Update from translation team.
40800
53cf59ef
UD
408012011-04-17 Ulrich Drepper <drepper@gmail.com>
40802
40803 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40804 dependencies.
40805
4c559bcd
MF
408062011-02-06 Mike Frysinger <vapier@gentoo.org>
40807
40808 [BZ #12653]
40809 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40810 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40811 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40812 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40813 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40814
4420675c
AS
408152011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40816
40817 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40818 differing bytes.
40819 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40820 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40821 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40822
75ea32ab
UD
408232011-04-17 Ulrich Drepper <drepper@gmail.com>
40824
40825 [BZ #12420]
40826 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40827 storing it.
40828 * stdlib/bug-getcontext.c: New file.
40829 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40830
27390476
AK
408312011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40832
40833 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40834 instructions into .machine "z9-109".
40835 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40836 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40837
10442705
AK
408382011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40839
40840 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40841 between environment variables and auxiliary vector.
40842
7b57bfe5
UD
408432011-04-16 Ulrich Drepper <drepper@gmail.com>
40844
40845 * Makefile: Add rules to build linkobj/libc.so.
40846 * include/libc-symbols.h: Define libc_hidden_nolink.
40847 * include/rpc/auth.h: Mark functions which are to be hidden.
40848 * include/rpc/auth_des.h: Likewise.
40849 * include/rpc/auth_unix.h: Likewise.
40850 * include/rpc/clnt.h: Likewise.
40851 * include/rpc/des_crypt.h: Likewise.
40852 * include/rpc/key_prot.h: Likewise.
40853 * include/rpc/pmap_clnt.h: Likewise.
40854 * include/rpc/pmap_prot.h: Likewise.
40855 * include/rpc/pmap_rmt.h: Likewise.
40856 * include/rpc/rpc_msg.h: Likewise.
40857 * include/rpc/svc.h: Likewise.
40858 * include/rpc/svc_auth.h: Likewise.
40859 * include/rpc/xdr.h: Likewise.
40860 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40861 * nss/Makefile: Likewise.
40862 * sunrpc/Makefile: Don't install headers. Build library with normal
40863 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40864 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40865 for the compat linking library. Remove use of INTDEF/INTUSE.
40866 * sunrpc/auth_none.c: Likewise.
40867 * sunrpc/auth_unix.c: Likewise.
40868 * sunrpc/authdes_prot.c: Likewise.
40869 * sunrpc/authuxprot.c: Likewise.
40870 * sunrpc/clnt_gen.c: Likewise.
40871 * sunrpc/clnt_perr.c: Likewise.
40872 * sunrpc/clnt_raw.c: Likewise.
40873 * sunrpc/clnt_simp.c: Likewise.
40874 * sunrpc/clnt_tcp.c: Likewise.
40875 * sunrpc/clnt_udp.c: Likewise.
40876 * sunrpc/clnt_unix.c: Likewise.
40877 * sunrpc/des_crypt.c: Likewise.
40878 * sunrpc/des_soft.c: Likewise.
40879 * sunrpc/get_myaddr.c: Likewise.
40880 * sunrpc/key_call.c: Likewise.
40881 * sunrpc/key_prot.c: Likewise.
40882 * sunrpc/netname.c: Likewise.
40883 * sunrpc/pm_getmaps.c: Likewise.
40884 * sunrpc/pm_getport.c: Likewise.
40885 * sunrpc/pmap_clnt.c: Likewise.
40886 * sunrpc/pmap_prot.c: Likewise.
40887 * sunrpc/pmap_prot2.c: Likewise.
40888 * sunrpc/pmap_rmt.c: Likewise.
40889 * sunrpc/publickey.c: Likewise.
40890 * sunrpc/rpc_cmsg.c: Likewise.
40891 * sunrpc/rpc_common.c: Likewise.
40892 * sunrpc/rpc_dtable.c: Likewise.
40893 * sunrpc/rpc_prot.c: Likewise.
40894 * sunrpc/rpc_thread.c: Likewise.
40895 * sunrpc/rtime.c: Likewise.
40896 * sunrpc/svc.c: Likewise.
40897 * sunrpc/svc_auth.c: Likewise.
40898 * sunrpc/svc_authux.c: Likewise.
40899 * sunrpc/svc_raw.c: Likewise.
40900 * sunrpc/svc_run.c: Likewise.
40901 * sunrpc/svc_simple.c: Likewise.
40902 * sunrpc/svc_tcp.c: Likewise.
40903 * sunrpc/svc_udp.c: Likewise.
40904 * sunrpc/svc_unix.c: Likewise.
40905 * sunrpc/svcauth_des.c: Likewise.
40906 * sunrpc/xcrypt.c: Likewise.
40907 * sunrpc/xdr.c: Likewise.
40908 * sunrpc/xdr_array.c: Likewise.
40909 * sunrpc/xdr_float.c: Likewise.
40910 * sunrpc/xdr_intXX_t.c: Likewise.
40911 * sunrpc/xdr_mem.c: Likewise.
40912 * sunrpc/xdr_rec.c: Likewise.
40913 * sunrpc/xdr_ref.c: Likewise.
40914 * sunrpc/xdr_sizeof.c: Likewise.
40915 * sunrpc/xdr_stdio.c: Likewise.
40916
e6c61494
UD
409172011-04-10 Ulrich Drepper <drepper@gmail.com>
40918
40919 [BZ #12650]
40920 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40921 * sysdeps/ia64/dl-tls.h: Likewise.
40922 * sysdeps/powerpc/dl-tls.h: Likewise.
40923 * sysdeps/s390/dl-tls.h: Likewise.
40924 * sysdeps/sh/dl-tls.h: Likewise.
40925 * sysdeps/sparc/dl-tls.h: Likewise.
40926 * sysdeps/x86_64/dl-tls.h: Likewise.
40927 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40928
34fe483e
AS
409292011-03-14 Andreas Schwab <schwab@redhat.com>
40930
40931 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40932 rpath element also skip the following colon.
40933 (expand_dynamic_string_token): Add is_path parameter and pass
40934 down to DL_DST_REQUIRED and _dl_dst_substitute.
40935 (decompose_rpath): Call expand_dynamic_string_token with
40936 non-zero is_path. Ignore empty rpaths.
40937 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40938 with zero is_path.
40939
f12a32e6
AS
409402011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40941
40942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40943 Make cancelable.
40944
38a7d692
UD
409452011-04-09 Ulrich Drepper <drepper@gmail.com>
40946
40947 [BZ #12655]
40948 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40949 Patch by Filipe David Manana <fdmanana@apache.org>.
40950
e451d22b
AS
409512011-04-07 Andreas Schwab <schwab@redhat.com>
40952
40953 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40954 Maintain aligned stack.
40955 (CHECK_RSP): Remove unused macro.
40956
dedc7c7b
UD
409572011-04-03 Ulrich Drepper <drepper@gmail.com>
40958
40959 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40960 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40961
94521213
UD
409622011-04-02 Ulrich Drepper <drepper@gmail.com>
40963
40964 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40965
8cb700c0 40966 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40967
0354e355
L
409682011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40969
40970 [BZ #12518]
40971 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40972 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40973 * sysdeps/x86_64/memmove.c: New file.
40974 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40975 (memcpy): Renamed to ...
40976 (__new_memcpy): This.
40977 (memcpy): Provide GLIBC_2_14 memcpy.
40978 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40979 (memcpy): Provide GLIBC_2_2_5 memcpy.
40980
8593482f
UD
409812011-04-01 Ulrich Drepper <drepper@gmail.com>
40982
40983 [BZ #12631]
40984 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40985
81a5726b
AS
409862011-03-30 Andreas Schwab <schwab@redhat.com>
40987
40988 * misc/syncfs.c: New file.
40989 * misc/Makefile (routines): Add syncfs.
40990 * posix/unistd.h: Declare syncfs.
40991 * sysdeps/unix/syscalls.list: Add syncfs.
40992
00e5419f
AS
409932011-04-01 Andreas Schwab <schwab@redhat.com>
40994
40995 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40996 open_by_handle_at.
40997 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40998 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40999 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41000 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41002 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41003 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41004
748876bf
UD
410052011-04-01 Ulrich Drepper <drepper@gmail.com>
41006
658e451d
UD
41007 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41008 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41009 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41011 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41013 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41014
748876bf
UD
41015 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41016 sync_file_range.c with -fexceptions.
41017 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41018 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41019 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41020 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41021 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41022 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41023 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41024 sync_file_range as cancellation point
41025 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41026 now a wrapper around __call_sync_file_range with cancellation handling.
41027 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41028 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41029 function name to __call_sync_file_range.
41030 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41031 Add call_sync_file_range.
748876bf 41032
6e63d5e1
AS
410332011-04-01 Andreas Schwab <schwab@redhat.com>
41034
41035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41036 bits/timex.h.
6e63d5e1 41037
46998f74
UD
410382011-04-01 Ulrich Drepper <drepper@gmail.com>
41039
4c1423ed
UD
41040 * iconv/iconv.h: Fix typo in comment.
41041 * io/fcntl.h: Likewise.
41042 * libio/stdio.h: Likewise.
41043 * posix/spawn.h: Likewise.
41044 * posix/unistd.h: Likewise.
41045 * stdlib/stdlib.h: Likewise.
41046 * time/time.h: Likewise.
41047 * wcsmbs/wchar.h: Likewise.
41048
158648c0
UD
41049 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41050 open_by_handle): Add.
41051 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41052 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41053 Augment a few comments.
41054 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41055 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41056 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41058 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41059 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41060 open_by_handle.
41061
46998f74
UD
41062 * io/fcntl.h (AT_EMPTY_PATH): Define.
41063
83fe108b
UD
410642011-03-30 Ulrich Drepper <drepper@gmail.com>
41065
41066 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41067 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41068 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41069 to...
41070 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41071 * Versions.def: Add GLIBC_2.14.
41072 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41073 Export.
83fe108b 41074
bb242059
UD
410752011-03-22 Ulrich Drepper <drepper@gmail.com>
41076
41077 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41078 round counter.
41079 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41080
c97a1282
L
410812011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41082
41083 [BZ #12597]
41084 * string/test-strncmp.c (do_page_test): New function.
41085 (check2): Likewise.
41086 (test_main): Call check2.
41087 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41088
2a115601
UD
410892011-03-20 Ulrich Drepper <drepper@gmail.com>
41090
41091 [BZ #12587]
41092 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41093 Handle cache information in CPU leaf 4.
41094 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41095
8126d904
UD
410962011-03-18 Ulrich Drepper <drepper@gmail.com>
41097
042c49c6 41098 [BZ #12583]
8126d904
UD
41099 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41100 character representation.
41101 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41102
ccfe366e
RA
411032011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41104
41105 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41106 END(__isnan) to END(__isnanf) to match function entry point/label
41107 EALIGN(__isnanf,...).
41108
c6e13027
JJ
411092011-03-10 Jakub Jelinek <jakub@redhat.com>
41110
41111 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41112
33f85a3f
UD
411132011-03-10 Ulrich Drepper <drepper@gmail.com>
41114
028478fa
UD
41115 [BZ #12510]
41116 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41117 copy from the symbol referenced in the relocation to initialize the
41118 used variable.
41119 Patch by Piotr Bury <pbury@goahead.com>.
41120 * elf/Makefile: Add rules to build and tst-unique3.
41121 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41122 * elf/tst-unique3.cc: New file.
41123 * elf/tst-unique3.h: New file.
41124 * elf/tst-unique3lib.cc: New file.
41125 * elf/tst-unique3lib2.cc: New file.
41126
33f85a3f
UD
41127 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41128
03592fc7
MF
411292011-03-10 Mike Frysinger <vapier@gentoo.org>
41130
41131 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41132 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41133 to _start.
03592fc7 41134
6a5ee102
UD
411352011-03-06 Ulrich Drepper <drepper@gmail.com>
41136
41137 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41138 to-be-loaded object along a path to loader is ld.so.
41139
7e4ba49c
HJ
411402011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41141 Ulrich Drepper <drepper@gmail.com>
41142
41143 * sysdeps/x86_64/memset.S: After aligning destination, code
41144 branches to different locations depending on the value of
41145 misalignment, when multiarch is enabled. Fix this.
41146
411472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41148
41149 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41150 Set _x86_64_preferred_memory_instruction for AMD processsors.
41151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41152 Set bit_Prefer_SSE_for_memop for AMD processors.
41153
13a804de
UD
411542011-03-04 Ulrich Drepper <drepper@gmail.com>
41155
41156 * libio/fmemopen.c (fmemopen): Optimize a bit.
41157
9d25c392
AS
411582011-03-03 Andreas Schwab <schwab@redhat.com>
41159
41160 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41161
a5543c6a
RM
411622011-03-03 Roland McGrath <roland@redhat.com>
41163
41164 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41165
012d35f7
DM
411662011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41167
7e4ba49c 41168 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41169 __bzero_ultra1 instead of __memset_ultra1.
41170
4bff6e01
AS
411712011-02-23 Andreas Schwab <schwab@redhat.com>
41172 Ulrich Drepper <drepper@gmail.com>
41173
41174 [BZ #12509]
41175 * include/link.h (struct link_map): Add l_orig_initfini.
41176 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41177 returning unsuccessfully.
41178 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41179 close of a file loaded at startup, restore the original l_initfini
41180 list.
41181 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41182 list, store the pointer.
41183 * elf/Makefile ($(objpfx)noload-mem): New rule.
41184 (noload-ENV): Define.
41185 (tests): Add $(objpfx)noload-mem.
41186 * elf/noload.c: Include <memcheck.h>.
41187 (main): Call mtrace. Close all opened handles.
41188
f2092faf
AS
411892011-02-17 Andreas Schwab <schwab@redhat.com>
41190
41191 [BZ #12454]
41192 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41193 dependencies are missing.
41194
6c8a2e88
ST
411952011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41196
f2092faf 41197 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41198 Hurd needs munmap.
41199 * sysdeps/mach/hurd/ifreq.h: New file.
41200
84a42118
PB
412012011-01-27 Petr Baudis <pasky@suse.cz>
41202 Ulrich Drepper <drepper@gmail.com>
41203
071f805e 41204 [BZ 12445]#
84a42118
PB
41205 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41206 to extend_alloca().
41207 * stdio-common/bug23.c: New file.
41208 * stdio-common/Makefile (tests): Add bug23.
41209
e23fe25b
AS
412102010-09-28 Andreas Schwab <schwab@redhat.com>
41211 Ulrich Drepper <drepper@gmail.com>
41212
41213 [BZ #12489]
41214 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41215 before performing relro protection. At old place add assertion
41216 to make sure nothing changed.
41217
d3f02e10
NS
412182011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41219 Glauber de Oliveira Costa <glommer@gmail.com>
41220
41221 * elf/elf.h: Add new ARM TLS relocs.
41222
d55fd7a5
RA
412232011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41224
41225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41226 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41227 cast from r3.
41228 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41229 'tests' variable.
41230 * sysdeps/wordsize-64/tst-writev.c: New file.
41231
2206397e
RA
412322011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41233
41234 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41235 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41236 insns in _dl_start to prevent a TOC reference before relocs are
41237 resolved.
41238
e9433893
UD
412392011-02-15 Ulrich Drepper <drepper@gmail.com>
41240
41241 [BZ #12469]
41242 * Makeconfig: Remove RANLIB definition.
41243 * Makerules: Don't use RANLIB.
41244 * aclocal.m4: Remove ranlib test.
41245 * configure.in: No need to check for ranlib.
41246 * elf/rtld-Rules: Don't use RANLIB.
41247
f75286c6
ST
412482011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41249
8e31c82d
ST
41250 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41251 protection macro.
41252 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41253 inclusion protection macro.
41254
f75286c6
ST
41255 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41256 SIGRTMIN and SIGRTMAX and print information in that case only when
41257 SIGRTMIN is defined.
41258
c1d0e639
JJ
412592011-02-11 Jakub Jelinek <jakub@redhat.com>
41260
41261 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41262 arginfo fn returning -1.
41263
41264 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41265 and thousands string is zero terminated.
41266
edf9294e
AS
412672011-02-03 Andreas Schwab <schwab@redhat.com>
41268
41269 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41270 sysdeps/unix/sysv/linux/bits/socket.h.
41271
2b7e92df
ST
412722011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41273
edf9294e
AS
41274 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41275 (__CPU_COUNT): Remove old macros.
41276 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41277 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41278 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41279 (__sched_cpualloc, __sched_cpufree): Add declarations.
41280
a4c7ea7b
UD
412812011-02-05 Ulrich Drepper <drepper@gmail.com>
41282
41283 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41284 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41285 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41286 (readdhstai): Return value of addhstaiX call.
41287 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41288 (addgrbyX): Return value returned by cache_addgr.
41289 (readdgrbyname): Return value returned by addgrbyX.
41290 (readdgrbygid): Likewise.
41291 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41292 (addpwbyX): Return value returned by cache_addpw.
41293 (readdpwbyname): Return value returned by addhstbyX.
41294 (readdpwbyuid): Likewise.
41295 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41296 (addservbyX): Return value returned by cache_addserv.
41297 (readdservbyname): Return value returned by addservbyX:
41298 (readdservbyport): Likewise.
41299 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41300 (addhstbyX): Return value returned by cache_addhst.
41301 (readdhstbyname): Return value returned by addhstbyX.
41302 (readdhstbyaddr): Likewise.
41303 (readdhstbynamev6): Likewise.
41304 (readdhstbyaddrv6): Likewise.
41305 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41306 (readdinitgroups): Return value returned by addinitgroupsX.
41307 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41308 (prune_cache): Keep track of timeout value of re-added entries.
41309 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41310 * nscd/nscd.h: Adjust prototypes of readd* functions.
41311
a0bf67cc
RM
413122011-02-04 Roland McGrath <roland@redhat.com>
41313
41314 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41315 (nis_stats): Likewise.
41316 * nis/nis_modify.c (nis_modify): Likewise.
41317 * nis/nis_remove.c (nis_remove): Likewise.
41318 * nis/nis_add.c (nis_add): Likewise.
41319
41320 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41321
41322 * posix/fnmatch_loop.c: Add some consts.
41323
41324 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41325
435b95eb
L
413262011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41327
41328 [BZ #12460]
41329 * config.make.in (config-cflags-novzeroupper): Define.
41330 * configure.in: Substitute libc_cv_cc_novzeroupper.
41331 * elf/Makefile (AVX-CFLAGS): Define.
41332 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41333 (CFLAGS-tst-auditmod4a.c): Likewise.
41334 (CFLAGS-tst-auditmod4b.c): Likewise.
41335 (CFLAGS-tst-auditmod6b.c): Likewise.
41336 (CFLAGS-tst-auditmod6c.c): Likewise.
41337 (CFLAGS-tst-auditmod7b.c): Likewise.
41338 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41339
8517b15e
UD
413402011-02-02 Ulrich Drepper <drepper@gmail.com>
41341
41342 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41343 function to the callback.
41344 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41345
10a656fe
AS
413462011-02-02 Andreas Schwab <schwab@redhat.com>
41347
41348 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41349 of errno.
41350
968dad0a
UD
413512011-01-19 Ulrich Drepper <drepper@gmail.com>
41352
9f94d2ea 41353 [BZ #11724]
968dad0a
UD
41354 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41355 of constructors.
41356 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41357 of destructors.
41358 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41359
41360 [BZ #11724]
41361 * elf/Makefile: Add rules to build and run new test.
41362 * elf/tst-initorder.c: New file.
41363 * elf/tst-initorder.exp: New file.
41364 * elf/tst-initordera1.c: New file.
41365 * elf/tst-initordera2.c: New file.
41366 * elf/tst-initordera3.c: New file.
41367 * elf/tst-initordera4.c: New file.
41368 * elf/tst-initorderb1.c: New file.
41369 * elf/tst-initorderb2.c: New file.
41370 * elf/tst-order-a1.c: New file.
41371 * elf/tst-order-a2.c: New file.
41372 * elf/tst-order-a3.c: New file.
41373 * elf/tst-order-a4.c: New file.
41374 * elf/tst-order-b1.c: New file.
41375 * elf/tst-order-b2.c: New file.
41376 * elf/tst-order-main.c: New file.
41377 New test case by George Gensure <werkt0@gmail.com>.
41378
86e92359
UD
413792010-10-01 Andreas Schwab <schwab@redhat.com>
41380
41381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41382 decoding ACE if AI_CANONIDN.
41383
5d5732b0
UD
413842011-01-18 Ulrich Drepper <drepper@gmail.com>
41385
41386 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41387
a77e8cbc
UD
413882011-01-17 Ulrich Drepper <drepper@gmail.com>
41389
6392473f
UD
41390 * version.h (RELEASE): Bump for 2.13 release.
41391 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41392
620a0529
UD
41393 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41394
18ba70a5
UD
41395 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41396 MADV_NOHUGEPAGE.
32465c3e
UD
41397 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41398 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41399 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41400 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41401 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41402 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41403
c0dafcf1
UD
41404 * posix/getconf.c: Update copyright year.
41405 * catgets/gencat.c: Likewise.
41406 * csu/version.c: Likewise.
41407 * debug/catchsegv.sh: Likewise.
41408 * debug/xtrace.sh: Likewise.
41409 * elf/ldconfig.c: Likewise.
41410 * elf/ldd.bash.in: Likewise.
41411 * elf/sprof.c (print_version): Likewise.
41412 * iconv/iconv_prog.c: Likewise.
41413 * iconv/iconvconfig.c: Likewise.
41414 * locale/programs/locale.c: Likewise.
41415 * locale/programs/localedef.c: Likewise.
41416 * malloc/memusage.sh: Likewise.
41417 * malloc/mtrace.pl: Likewise.
41418 * nscd/nscd.c (print_version): Likewise.
41419 * nss/getent.c: Likewise.
41420
a77e8cbc
UD
41421 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41422 PF_CAIF, and PF_ALG.
41423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41424
77e8bddf
AS
414252011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41426
1f20b93a
AS
41427 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41428 (modules-names): Use them.
41429 (ifunc-test-modules, ifunc-pie-tests): Define.
41430 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41431 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41432 (test-extras): Likewise.
41433 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41434 $(compile-command.c).
41435 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41436 (all-built-dso): Define.
41437 (check-textrel.out, check-execstack.out): Depend on it.
41438
77e8bddf
AS
41439 * configure.in: Don't override --enable-multi-arch.
41440
bc425b33
UD
414412011-01-15 Ulrich Drepper <drepper@gmail.com>
41442
41443 [BZ #6812]
41444 * nscd/hstcache.c (tryagain): Define.
41445 (cache_addhst): Return tryagain not notfound for temporary errors.
41446 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41447 failed.
41448
794c3ad3
UD
414492011-01-14 Ulrich Drepper <drepper@gmail.com>
41450
70181fdd
UD
41451 [BZ #10563]
41452 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41453 to make the syscall.
41454 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41455
794c3ad3
UD
41456 [BZ #12378]
41457 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41458 and fall back to matching as normal character if the string ends before
41459 the matching ']' is found. This is what POSIX requires.
41460 * posix/testfnm.c: Adjust test result.
41461 * posix/globtest.sh: Adjust test result. Add new test.
41462 * posix/tst-fnmatch.input: Likewise.
41463 * posix/tst-fnmatch2.c: Add new test.
41464
68dc9497
AS
414652010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41466
41467 * elf/Makefile (check-execstack): Revert last change. Depend on
41468 check-execstack.h.
41469 (check-execstack.h): New target.
41470 (generated): Add check-execstack.h.
41471 * elf/check-execstack.c: Include "check-execstack.h".
41472 (main): Revert last change.
41473 (handle_file): Return zero if GNU_STACK is absent and
41474 DEFAULT_STACK_PERMS doesn't include PF_X.
41475
451f001b
UD
414762011-01-13 Ulrich Drepper <drepper@gmail.com>
41477
cfa28e56
UD
41478 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41479 in child fails because the descriptor is already closed.
8cf8ce17
UD
41480 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41481 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41482 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41483
1086d70d
UD
41484 [BZ #12397]
41485 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41486 syscall.
41487
451f001b
UD
41488 [BZ #10484]
41489 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41490 temporary buffer used to handle multi lookups locally.
a85b5cb4 41491 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41492
08769175
UD
414932011-01-12 Ulrich Drepper <drepper@gmail.com>
41494
41495 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41496 loader is ld.so.
41497
5e49c52e
UD
414982011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41499
41500 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41501 alignment for SSE2.
41502
60522a5f
UD
415032011-01-12 Ulrich Drepper <drepper@gmail.com>
41504
41505 [BZ #12394]
41506 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41507 characters. When rounding increased number of integer digits recompute
41508 number of groups.
41509 * stdio-common/tst-grouping.c: New file.
41510 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41511
f257bbd7
UD
415122011-01-09 Ulrich Drepper <drepper@gmail.com>
41513
41514 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41515 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41516
41517 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41518 void.
41519 * bits/select.h: Likewise.
41520
fa9c15cb
UD
415212011-01-08 Ulrich Drepper <drepper@gmail.com>
41522
41523 * po/ja.po: Update from translation team.
41524
16c2895f
DM
415252011-01-04 David S. Miller <davem@sunset.davemloft.net>
41526
41527 [BZ #11155]
41528 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41529 implementation just like for lxstat, fxstatat, et al.
41530
2543fef2
JM
415312010-12-27 Jim Meyering <meyering@redhat.com>
41532
41533 [BZ #12348]
41534 * posix/regexec.c (build_trtable): Return failure indication upon
41535 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41536
98727dbe
UD
415372010-12-25 Ulrich Drepper <drepper@gmail.com>
41538
5bd6dc5c
UD
41539 [BZ #12201]
41540 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41541 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41542 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41543 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41544
97983464
UD
41545 [BZ #12207]
41546 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41547
98727dbe
UD
41548 [BZ #12204]
41549 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41550 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41551
4a531bb0
L
415522010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41553
41554 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41555 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41556 script has SORT_BY_INIT_PRIORITY.
41557 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41558 NO_CTORS_DTORS_SECTIONS is defined.
41559 * elf/soinit.c: Likewise.
41560 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41561 NO_CTORS_DTORS_SECTIONS is defined.
41562 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41563 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41564 * sysdeps/sh/init-first.c: Likewise.
41565 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41566
07eb4b71
UD
415672010-12-24 Ulrich Drepper <drepper@gmail.com>
41568
41569 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41570 always use the slow path.
41571
30950a5f
RA
415722010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41573
41574 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41575 similar rule which adds the sysdep directories to the header search in
41576 order to pick up the correct platform stackinfo.h.
41577 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41578 perform test if it is, otherwise return successfully without testing.
41579 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41580 DEFAULT_STACK_PERMS define in stackinfo.h.
41581 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41582 defined in stackinfo.h.
41583 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41584 DEFAULT_STACK_PERMS defined in stackinfo.h.
41585 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41586 * sysdeps/ia64/stackinfo.h: Likewise.
41587 * sysdeps/s390/stackinfo.h: Likewise.
41588 * sysdeps/sh/stackinfo.h: Likewise.
41589 * sysdeps/sparc/stackinfo.h: Likewise.
41590 * sysdeps/x86_64/stackinfo.h: Likewise.
41591 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41592 PF_X for powerpc64. Retain PF_X for powerpc32.
41593
db753e2c
UD
415942010-12-19 Ulrich Drepper <drepper@gmail.com>
41595
14b697f7
UD
41596 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41597 accurately.
db753e2c
UD
41598 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41599 GETDENTS_64BIT_ALIGNED.
41600
28300719
UD
416012010-12-14 Ulrich Drepper <dreper@gmail.com>
41602
14b697f7 41603 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41604
4f197237
AS
416052010-12-10 Andreas Schwab <schwab@redhat.com>
41606
dbb0472f
AS
41607 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41608 _GNU_SOURCE.
41609
4f197237
AS
41610 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41611 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41612 Remove __restrict.
41613 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41614 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41615
fb88ac72
UD
416162010-12-09 Ulrich Drepper <drepper@gmail.com>
41617
41618 [BZ #11655]
41619 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41620 are initialized.
41621
42acbb92
JJ
416222010-12-09 Jakub Jelinek <jakub@redhat.com>
41623
41624 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41625
c038d98d
UD
416262010-12-03 Ulrich Drepper <drepper@gmail.com>
41627
41628 * po/it.po: Update from translation team.
41629
3a4a2499
L
416302010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41631
41632 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41633 unused codes.
41634
1e24cf6e
UD
416352010-11-30 Ulrich Drepper <drepper@gmail.com>
41636
41637 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41638
a7690819
AS
416392010-11-24 Andreas Schwab <schwab@redhat.com>
41640
41641 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41642 specially.
41643 (gaih_getanswer_slice): Likewise.
41644
3bf8d1b1
JJ
416452010-10-20 Jakub Jelinek <jakub@redhat.com>
41646
41647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41648
6db52fbb
PB
416492010-05-31 Petr Baudis <pasky@suse.cz>
41650
41651 [BZ #11149]
41652 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41653 silently even in the chroot mode.
41654
eaca7569
UD
416552010-11-22 Ulrich Drepper <drepper@gmail.com>
41656
41657 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41658 last patch a bit. Pretty printing
41659
3056dcdb
UD
416602010-05-31 Petr Baudis <pasky@suse.cz>
41661
41662 [BZ #10085]
41663 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41664 initialization of skip_initgroups_dyn.
41665
cf7c9078
UD
416662010-11-19 Ulrich Drepper <drepper@gmail.com>
41667
41668 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41669 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41670
a1fb5e3e
UD
416712010-11-16 Ulrich Drepper <drepper@gmail.com>
41672
41673 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41674
3540d66b
AS
416752010-11-11 Andreas Schwab <schwab@redhat.com>
41676
41677 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41678 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41679 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41680 ($(objpfx)tst-fnmatch-mem): New rule.
41681 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41682 * posix/tst-fnmatch.c (main): Call mtrace.
41683
13b69574
L
416842010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41685
41686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41687 Support Intel processor model 6 and model 0x2c.
41688
da93d214
LM
416892010-11-10 Luis Machado <luisgpm@br.ibm.com>
41690
41691 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41692 signed comparison.
41693
8ca52c6e
L
416942010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41695
41696 [BZ #12205]
41697 * string/test-strncasecmp.c (check_result): New function.
41698 (do_one_test): Use it.
41699 (check1): New function.
41700 (test_main): Use it.
41701 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41702 Support strcasecmp and strncasecmp.
41703
69da074d
UD
417042010-11-08 Ulrich Drepper <drepper@gmail.com>
41705
41706 [BZ #12194]
41707 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41708 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41709
ff02d528
L
417102010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41711
41712 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41713 IFUNC support.
41714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41715 memset-x86-64.
41716 * sysdeps/x86_64/multiarch/bzero.S: New file.
41717 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41718 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41719 * sysdeps/x86_64/multiarch/memset.S: New file.
41720 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41722 Set bit_Prefer_SSE_for_memop for Intel processors.
41723 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41724 Define.
41725 (index_Prefer_SSE_for_memop): Define.
41726 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41727
344d0b54
LM
417282010-11-04 Luis Machado <luisgpm@br.ibm.com>
41729
41730 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41731 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41732
c0dde15b
UD
417332010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41734
41735 [BZ #12191]
41736 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41737 (__x86_64_raw_data_cache_size_half): Likewise.
41738 (__x86_64_raw_shared_cache_size): Likewise.
41739 (__x86_64_raw_shared_cache_size_half): Likewise.
41740
41741 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41742 (__x86_64_raw_data_cache_size_half): Likewise.
41743 (__x86_64_raw_shared_cache_size): Likewise.
41744 (__x86_64_raw_shared_cache_size_half): Likewise.
41745 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41746 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41747 and __x86_64_raw_shared_cache_size_half. Round
41748 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41749 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41750 to multiple of 256 bytes.
41751
0e516e0e
MS
417522010-11-03 Ulrich Drepper <drepper@gmail.com>
41753
41754 [BZ #12167]
41755 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41756 of inacessible symlinks. Verify result of symlink before returning it.
41757 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41758 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41759
0e012e87
ER
417602010-10-28 Erich Ritz <erichritz@gmail.com>
41761
41762 * math/math.h (isinf): Fix typo in comment.
41763
de0ff7bc
UD
417642010-11-01 Ulrich Drepper <drepper@gmail.com>
41765
41766 * po/da.po: Update from translation team.
41767
fa41c84d
UD
417682010-10-26 Ulrich Drepper <drepper@gmail.com>
41769
41770 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41771 is added to the list.
41772
f0967738
AK
417732010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41774 Ulrich Drepper <drepper@gmail.com>
41775
41776 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41777 the global list here. Move code to...
41778 (_dl_add_to_namespace_list): ...here. New function.
41779 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41780 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41781 * elf/dl-load.c (lose): Don't remove the element from the list.
41782 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41783 (_dl_map_object): Likewise.
41784
417852010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41786
41787 [BZ #12159]
41788 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41789 into all bytes of SSE register.
41790 Patch by Richard Li <richardpku@gmail.com>.
41791
f0967738 417922010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41793
41794 [BZ #12140]
41795 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41796 perturbing.
41797
d0b9e94f
MB
417982010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41799
41800 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41801 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41802 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41803 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41805 submachine.
41806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41807
8e9f92e9
AS
418082010-10-22 Andreas Schwab <schwab@redhat.com>
41809
41810 * include/dlfcn.h (__RTLD_SECURE): Define.
41811 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41812 mode & __RTLD_SECURE instead.
41813 (open_path): Rename preloaded parameter to secure.
41814 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41815 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41816 * elf/dl-deps.c (openaux): Likewise.
41817 * elf/rtld.c (struct map_args): Remove is_preloaded.
41818 (map_doit): Don't use it.
41819 (dl_main): Likewise.
41820 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41821 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41822
bc96fbda
AS
418232010-09-09 Andreas Schwab <schwab@redhat.com>
41824
41825 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41826 (sysd-rules-targets): Remove duplicates.
41827 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41828 rtld-%.$o dependency.
41829
22cd1c9b
AS
418302010-10-18 Andreas Schwab <schwab@redhat.com>
41831
41832 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41833 _dl_map_object do it.
41834
18edac48
UD
418352010-10-19 Ulrich Drepper <drepper@gmail.com>
41836
41837 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41838 fast fma builtins, define the macros in the C99 standard.
41839 (FP_FAST_FMAF): Likewise.
41840 (FP_FAST_FMAL): Likewise.
41841 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41842
41843 * bits/mathdef.h: Update copyright year.
41844 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41845
d2050124
MM
418462010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41847
41848 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41849 builtins, define the macros in the C99 standard.
41850 (FP_FAST_FMAF): Likewise.
41851 (FP_FAST_FMAL): Likewise.
41852 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41853 multiply/add.
41854 (FP_FAST_FMAF): Likewise.
41855
475facd1
JJ
418562010-10-15 Jakub Jelinek <jakub@redhat.com>
41857
41858 [BZ #3268]
41859 * math/libm-test.inc (fma_test): Some new testcases.
41860 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41861 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41862 y and infinite z. Do multiplication by C already in long double.
41863 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41865 y and infinite z. Do bitwise or of inexact bit into u.d.
41866 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41867 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41868 * sysdeps/i386/fpu/s_fma.S: Removed.
41869 * sysdeps/i386/fpu/s_fmal.S: Removed.
41870
7c08a05c
JJ
418712010-10-16 Jakub Jelinek <jakub@redhat.com>
41872
41873 [BZ #3268]
41874 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41875 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41876 computation is not scheduled after fetestexcept. Fix value
41877 of minimum denormal long double.
41878
f3f7372d
JJ
418792010-10-14 Jakub Jelinek <jakub@redhat.com>
41880
41881 [BZ #3268]
41882 * math/libm-test.inc (fma_test): Add some more tests.
41883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41884 correctly.
41885
14d43591
AS
418862010-10-15 Andreas Schwab <schwab@redhat.com>
41887
41888 * scripts/data/localplt-s390-linux-gnu.data: New file.
41889 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41890
5e908464
JJ
418912010-10-13 Jakub Jelinek <jakub@redhat.com>
41892
41893 [BZ #3268]
41894 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41895 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41896 instead of dbl-64.
41897 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41898 inlines.
41899 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41901 if one of x and y is very large and the other is subnormal.
41902 * sysdeps/s390/fpu/s_fmaf.c: New file.
41903 * sysdeps/s390/fpu/s_fma.c: New file.
41904 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41905 * sysdeps/powerpc/fpu/s_fma.S: New file.
41906 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41907 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41908 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41909
419102010-10-12 Jakub Jelinek <jakub@redhat.com>
41911
41912 [BZ #3268]
41913 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41914 fma tests.
41915 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41916 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41917 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41918 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41919 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41920 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41921 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41922
b833d51f
UD
419232010-10-12 Ulrich Drepper <drepper@redhat.com>
41924
41925 [BZ #12078]
41926 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41927 * posix/bug-regex31.input: Add test case.
41928
1751705d
UD
419292010-10-11 Ulrich Drepper <drepper@gmail.com>
41930
e9b9cbf5
UD
41931 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41932 * posix/bug-regex31.input: New file.
41933
41934 [BZ #12078]
41935 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41936 (parse_sub_exp): Fix last change, use postorder.
41937
ef06edbe
UD
41938 * posix/bug-regex31.c: New file.
41939 * posix/Makefile: Add rules to build and run bug-regex31.
41940
a129c80d
UD
41941 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41942
41943 [BZ #12078]
41944 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41945
b76b818e
UD
41946 [BZ #12108]
41947 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41948 to have entries in sys_siglist.
41949
1751705d
UD
41950 [BZ #12093]
41951 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41952 be NULL.
41953
9ff8d36f
JJ
419542010-10-07 Jakub Jelinek <jakub@redhat.com>
41955
41956 [BZ #3268]
41957 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41958 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41959 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41960 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41961 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41962 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41963 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41964 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41965 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41966 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41967 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41968 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41969 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41970 * math/ftestexcept.c (fetestexcept): Likewise.
41971 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41972 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41973 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41974 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41975 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41976 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41977 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41978
af325969
UD
419792010-10-11 Ulrich Drepper <drepper@gmail.com>
41980
c579b202 41981 [BZ #12107]
af325969
UD
41982 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41983 newline.
41984
67a67b95
UD
419852010-10-06 Ulrich Drepper <drepper@gmail.com>
41986
41987 * string/bug-strstr1.c: New file.
41988 * string/Makefile: Add rules to build and run bug-strstr1.
41989
5fb308bc
EB
419902010-10-05 Eric Blake <eblake@redhat.com>
41991
41992 [BZ #12092]
41993 * string/str-two-way.h (two_way_long_needle): Always clear memory
41994 when skipping input due to the shift table.
41995
45db99c7
UD
419962010-10-03 Ulrich Drepper <drepper@gmail.com>
41997
3b111893
UD
41998 [BZ #12005]
41999 * malloc/mcheck.c: Handle large requests.
42000
45db99c7
UD
42001 [BZ #12077]
42002 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42003 for strncmp and strncasecmp.
42004 * string/stratcliff.c: Add tests for strcmp and strncmp.
42005 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42006
cf7a1eb8
NI
420072010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42008
42009 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42010 __set_fpscr.
42011
6484ba5e
AJ
420122010-09-30 Andreas Jaeger <aj@suse.de>
42013
42014 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42015 (CGROUP_SUPER_MAGIC): Define.
42016 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42017 Handle btrfs and cgroup file systems.
42018 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42019 Likewise.
42020
91c42559
LM
420212010-09-27 Luis Machado <luisgpm@br.ibm.com>
42022
42023 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42024 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42025
87a97932
AK
420262010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42027
42028 [BZ #12067]
42029 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42030 trying to locate the ELF header.
42031
c21cc9bc
AS
420322010-09-27 Andreas Schwab <schwab@redhat.com>
42033
42034 [BZ #11611]
42035 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42036 Mask out sign-bit copies when constructing f_fsid.
42037
315970f6
PB
420382010-09-24 Petr Baudis <pasky@suse.cz>
42039
42040 * debug/stack_chk_fail_local.c: Add missing licence exception.
42041 * debug/warning-nop.c: Likewise.
42042
1ac7a2c7
JM
420432010-09-15 Joseph Myers <joseph@codesourcery.com>
42044
42045 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42046 implementing getdents64 using getdents syscall, set d_type if
42047 __ASSUME_GETDENTS32_D_TYPE.
42048
56801c50
AS
420492010-09-16 Andreas Schwab <schwab@redhat.com>
42050
42051 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42052 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42053
dda51327
UD
420542010-09-21 Ulrich Drepper <drepper@redhat.com>
42055
42056 [BZ #12037]
42057 * posix/unistd.h: Undo change of feature selection for ftruncate from
42058 2010-01-11.
42059
8ffcee4a
UD
420602010-09-20 Ulrich Drepper <drepper@redhat.com>
42061
a545ecd9 42062 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42063 detection.
42064
e24f0a8b
AS
420652010-09-20 Andreas Schwab <schwab@redhat.com>
42066
42067 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42068 fanotify_mark.
42069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42070
7291c56f
AS
420712010-09-14 Andreas Schwab <schwab@redhat.com>
42072
42073 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42074 variables after CHECK_SP call.
42075 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42076
bc5fb037
AS
420772010-09-13 Andreas Schwab <schwab@redhat.com>
42078 Ulrich Drepper <drepper@redhat.com>
42079
42080 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42081 re-relocationg ld.so.
42082 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42083 _dl_init_paths call.
42084 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42085 here anymore.
42086
e66e7419
UD
420872010-09-14 Ulrich Drepper <drepper@redhat.com>
42088
42089 * resolv/res_init.c (__res_vinit): Count the default server we added.
42090
c044aa75
CLT
420912010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42092 Ulrich Drepper <drepper@redhat.com>
42093
42094 [BZ #11968]
42095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42096 (____longjmp_chk): Use %ebx for saving value across system call.
42097 Add unwind info.
42098
32cf4069
AS
420992010-09-06 Andreas Schwab <schwab@redhat.com>
42100
42101 * manual/Makefile: Don't mix pattern rules with normal rules.
42102
817328ee
AS
421032010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42104
42105 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42106 operation.
42107 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42108 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42109 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42110 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42111 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42112 Likewise.
42113
29fddf61
UD
421142010-09-04 Ulrich Drepper <drepper@redhat.com>
42115
42116 [BZ #11979]
42117 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42118 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42119
0959ffc9
UD
421202010-09-02 Ulrich Drepper <drepper@redhat.com>
42121
42122 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42123 * sysdeps/x86_64/addmul_1.S: Likewise.
42124 * sysdeps/x86_64/lshift.S: Likewise.
42125 * sysdeps/x86_64/mul_1.S: Likewise.
42126 * sysdeps/x86_64/rshift.S: Likewise.
42127 * sysdeps/x86_64/sub_n.S: Likewise.
42128 * sysdeps/x86_64/submul_1.S: Likewise.
42129
ece29840
ST
421302010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42131
0959ffc9
UD
42132 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42133 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42134 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42135 * bits/sched.h [__need_schedparam]
ece29840 42136 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42137 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42138 (__defined_schedparam): Define to 1.
ece29840
ST
42139 (__sched_param): New structure, identical to sched_param.
42140 (__need_schedparam): Undefine.
42141
e53a31fe
MF
421422010-08-31 Mike Frysinger <vapier@gentoo.org>
42143
fdc0c10d
MF
42144 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42145 (epoll_create1): Declare.
42146
e53a31fe
MF
42147 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42148
a726d796
AS
421492010-08-31 Andreas Schwab <schwab@redhat.com>
42150
42151 [BZ #7066]
42152 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42153 shifting retval into place.
42154
2f3e3dc7
UD
421552010-09-01 Ulrich Drepper <drepper@redhat.com>
42156
f2933da9
UD
42157 * nis/rpcsvc/nis.h: Update copyright notice.
42158 * nis/rpcsvc/nis.x: Likewise.
42159 * nis/rpcsvc/nis_callback.h: Likewise.
42160 * nis/rpcsvc/nis_callback.x: Likewise.
42161 * nis/rpcsvc/nis_object.x: Likewise.
42162 * nis/rpcsvc/nis_tags.h: Likewise.
42163 * nis/rpcsvc/yp.h: Likewise.
42164 * nis/rpcsvc/yp.x: Likewise.
42165 * nis/rpcsvc/ypupd.h: Likewise.
42166 * nis/yp_xdr.c: Likewise.
42167 * nis/ypupdate_xdr.c: Likewise.
42168
2f3e3dc7
UD
42169 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42170 mainly the body of pmap_getport. Add parameters to specify timeouts.
42171 (pmap_getport): Use __libc_rpc_getport.
42172 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42173 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42174 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42175
f3dcc2f9
AS
421762010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42177
42178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42179 fanotify_mark.
42180
6d34eb5b
RM
421812010-08-27 Roland McGrath <roland@redhat.com>
42182
42183 * sysdeps/i386/i686/multiarch/Makefile
42184 (CFLAGS-varshift.c): New variable.
42185
9ea3de11
UD
421862010-08-27 Ulrich Drepper <drepper@redhat.com>
42187
c96d23fc
UD
42188 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42189 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42190
9ea3de11
UD
42191 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42192
42193 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42194
623aac7f
L
421952010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42196
42197 * sysdeps/x86_64/strlen.S: Unroll the loop.
42198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42199 strlen-sse2 strlen-sse2-bsf.
42200 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42201 __strlen_no_bsf if bit_Slow_BSF is set.
42202 (__strlen_sse42): Removed.
42203 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42204 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42205
8b2b7715
RM
422062010-08-25 Roland McGrath <roland@redhat.com>
42207
42208 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42209 * sysdeps/x86_64/multiarch/varshift.c: New file.
42210 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42211 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42212 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42213 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42214
e73015f2
L
422152010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42216
42217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42218 strlen-sse2 strlen-sse2-bsf.
42219 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42220 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42221 (__strlen_sse2): Removed.
42222 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42223 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42225 bit_Slow_BSF for Atom.
42226 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42227 (index_Slow_BSF): Define.
42228 (HAS_SLOW_BSF): Define.
42229
df24a73e
UD
422302010-08-25 Ulrich Drepper <drepper@redhat.com>
42231
42232 [BZ #10851]
42233 * resolv/res_init.c (__res_vinit): When no server address at all
42234 is given default to loopback.
42235
f2ac4868
RM
422362010-08-24 Roland McGrath <roland@redhat.com>
42237
09055553
RM
42238 * configure.in: Remove config-name.h generation.
42239 * configure: Regenerated.
42240 * config-name.in: File removed.
42241 * scripts/config-uname.sh: New file.
42242 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42243 ($(objdir)config-name.h): New target.
42244
f2ac4868
RM
42245 * sunrpc/rpc_parse.h: Avoid nested comment.
42246
73f27d5e
RH
422472010-08-24 Richard Henderson <rth@redhat.com>
42248 Ulrich Drepper <drepper@redhat.com>
42249 H.J. Lu <hongjiu.lu@intel.com>
42250
42251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42253 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42254 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42255 _mm_alignr_epi8 with _mm_loadu_si128.
42256 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42257 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42258 (__m128i_shift_right): Removed.
42259 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42260 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42261 * sysdeps/x86_64/multiarch/varshift.h: New file.
42262 * sysdeps/x86_64/multiarch/varshift.S: New file.
42263
84b9230c
MF
422642010-08-21 Mike Frysinger <vapier@gentoo.org>
42265
42266 * configure.in: Move assembler checks to before sysdep dir checking.
42267
9bbd0ddc
PB
422682010-08-20 Petr Baudis <pasky@suse.cz>
42269
42270 * LICENSES: Sync the sunrpc license.
42271
9da4bb31
UD
422722010-08-19 Ulrich Drepper <drepper@redhat.com>
42273
a7ab6ec8
UD
42274 * sunrpc/auth_des.c: Update copyright notice once again.
42275 * sunrpc/auth_none.c: Likewise.
42276 * sunrpc/auth_unix.c: Likewise.
42277 * sunrpc/authdes_prot.c: Likewise.
42278 * sunrpc/authuxprot.c: Likewise.
42279 * sunrpc/bindrsvprt.c: Likewise.
42280 * sunrpc/clnt_gen.c: Likewise.
42281 * sunrpc/clnt_perr.c: Likewise.
42282 * sunrpc/clnt_raw.c: Likewise.
42283 * sunrpc/clnt_simp.c: Likewise.
42284 * sunrpc/clnt_tcp.c: Likewise.
42285 * sunrpc/clnt_udp.c: Likewise.
42286 * sunrpc/clnt_unix.c: Likewise.
42287 * sunrpc/des_crypt.c: Likewise.
42288 * sunrpc/des_soft.c: Likewise.
42289 * sunrpc/get_myaddr.c: Likewise.
42290 * sunrpc/getrpcport.c: Likewise.
42291 * sunrpc/key_call.c: Likewise.
42292 * sunrpc/key_prot.c: Likewise.
42293 * sunrpc/openchild.c: Likewise.
42294 * sunrpc/pm_getmaps.c: Likewise.
42295 * sunrpc/pm_getport.c: Likewise.
42296 * sunrpc/pmap_clnt.c: Likewise.
42297 * sunrpc/pmap_prot.c: Likewise.
42298 * sunrpc/pmap_prot2.c: Likewise.
42299 * sunrpc/pmap_rmt.c: Likewise.
42300 * sunrpc/rpc/auth.h: Likewise.
42301 * sunrpc/rpc/auth_unix.h: Likewise.
42302 * sunrpc/rpc/clnt.h: Likewise.
42303 * sunrpc/rpc/des_crypt.h: Likewise.
42304 * sunrpc/rpc/key_prot.h: Likewise.
42305 * sunrpc/rpc/netdb.h: Likewise.
42306 * sunrpc/rpc/pmap_clnt.h: Likewise.
42307 * sunrpc/rpc/pmap_prot.h: Likewise.
42308 * sunrpc/rpc/pmap_rmt.h: Likewise.
42309 * sunrpc/rpc/rpc.h: Likewise.
42310 * sunrpc/rpc/rpc_des.h: Likewise.
42311 * sunrpc/rpc/rpc_msg.h: Likewise.
42312 * sunrpc/rpc/svc.h: Likewise.
42313 * sunrpc/rpc/svc_auth.h: Likewise.
42314 * sunrpc/rpc/types.h: Likewise.
42315 * sunrpc/rpc/xdr.h: Likewise.
42316 * sunrpc/rpc_clntout.c: Likewise.
42317 * sunrpc/rpc_cmsg.c: Likewise.
42318 * sunrpc/rpc_common.c: Likewise.
42319 * sunrpc/rpc_cout.c: Likewise.
42320 * sunrpc/rpc_dtable.c: Likewise.
42321 * sunrpc/rpc_hout.c: Likewise.
42322 * sunrpc/rpc_main.c: Likewise.
42323 * sunrpc/rpc_parse.c: Likewise.
42324 * sunrpc/rpc_parse.h: Likewise.
42325 * sunrpc/rpc_prot.c: Likewise.
42326 * sunrpc/rpc_sample.c: Likewise.
42327 * sunrpc/rpc_scan.c: Likewise.
42328 * sunrpc/rpc_scan.h: Likewise.
42329 * sunrpc/rpc_svcout.c: Likewise.
42330 * sunrpc/rpc_tblout.c: Likewise.
42331 * sunrpc/rpc_util.c: Likewise.
42332 * sunrpc/rpc_util.h: Likewise.
42333 * sunrpc/rpcinfo.c: Likewise.
42334 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42335 * sunrpc/rpcsvc/key_prot.x: Likewise.
42336 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42337 * sunrpc/rpcsvc/mount.x: Likewise.
42338 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42339 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42340 * sunrpc/rpcsvc/rex.x: Likewise.
42341 * sunrpc/rpcsvc/rstat.x: Likewise.
42342 * sunrpc/rpcsvc/rusers.x: Likewise.
42343 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42344 * sunrpc/rpcsvc/spray.x: Likewise.
42345 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42346 * sunrpc/rtime.c: Likewise.
42347 * sunrpc/svc.c: Likewise.
42348 * sunrpc/svc_auth.c: Likewise.
42349 * sunrpc/svc_authux.c: Likewise.
42350 * sunrpc/svc_raw.c: Likewise.
42351 * sunrpc/svc_run.c: Likewise.
42352 * sunrpc/svc_simple.c: Likewise.
42353 * sunrpc/svc_tcp.c: Likewise.
42354 * sunrpc/svc_udp.c: Likewise.
42355 * sunrpc/svc_unix.c: Likewise.
42356 * sunrpc/svcauth_des.c: Likewise.
42357 * sunrpc/xcrypt.c: Likewise.
42358 * sunrpc/xdr.c: Likewise.
42359 * sunrpc/xdr_array.c: Likewise.
42360 * sunrpc/xdr_float.c: Likewise.
42361 * sunrpc/xdr_mem.c: Likewise.
42362 * sunrpc/xdr_rec.c: Likewise.
42363 * sunrpc/xdr_ref.c: Likewise.
42364 * sunrpc/xdr_sizeof.c: Likewise.
42365 * sunrpc/xdr_stdio.c: Likewise.
42366
9da4bb31
UD
42367 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42368 handling.
42369
bdaa77bc
AS
423702010-08-19 Andreas Schwab <schwab@redhat.com>
42371
42372 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42373
fe2f79db
LM
423742010-08-19 Luis Machado <luisgpm@br.ibm.com>
42375
42376 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42377 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42378 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42379 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42380 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42381 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42382 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42383 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42384 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42385 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42386 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42387 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42388 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42389 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42390
b9b42ee0
AB
423912010-07-26 Anton Blanchard <anton@samba.org>
42392
42393 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42394 * malloc/arena.c (heap_trim): Likewise.
42395
1c06ba31
UD
423962010-08-16 Ulrich Drepper <drepper@redhat.com>
42397
42398 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42399 here. Not...
42400 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42401 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42402
f8392f40
L
424032010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42404
42405 * sysdeps/i386/elf/Makefile: New file.
42406
3162f12e
AS
424072010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42408
42409 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42410 from fanotify_init.
42411 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42412 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42413
28c90b2c
UD
424142010-08-15 Ulrich Drepper <drepper@redhat.com>
42415
42416 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42417 of strncasecmp_l.
1feccb6c 42418 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42419
ca6bb004
UD
424202010-08-14 Ulrich Drepper <drepper@redhat.com>
42421
e9f82e0d
UD
42422 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42423 strncase_l-nonascii.
42424 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42425 Add strncase_l-ssse3.
42426 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42427 * sysdeps/x86_64/strcmp.S: Likewise.
42428 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42429 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42430 * sysdeps/x86_64/strncase.S: New file.
42431 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42432 * sysdeps/x86_64/strncase_l.S: New file.
42433 * string/Makefile (strop-tests): Add strncasecmp.
42434 * string/test-strncasecmp.c: New file.
42435
42436 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42437 warning.
42438
ca6bb004
UD
42439 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42440 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42441
052fa7b3
AS
424422010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42443
42444 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42445
962dba78
UD
424462010-08-12 Ulrich Drepper <drepper@redhat.com>
42447
42448 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42449 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42450 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42451
bebff237
AM
424522010-05-01 Alan Modra <amodra@gmail.com>
42453
42454 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42455 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42456 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42457 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42458 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42459 tidying. Don't tail-call __sigjmp_save for static lib.
42460 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42461 save location.
42462 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42463 (CALL_MCOUNT): Add eh info, and nop after bl.
42464 (TAIL_CALL_SYSCALL_ERROR): New macro.
42465 (PSEUDO_RET): Use it.
42466 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42467 Correct save location of integer regs and cr.
42468 (_dl_profile_resolve): Correct cr save location. Delete nops
42469 after bl when SHARED. Reduce cfi size a little by better
42470 placement of cfi directives.
42471 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42472 make a stack frame. Instead use parm save area as a temp.
42473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42474 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42476 Don't make a stack frame for parent, use parm save area.
42477 Increase child stack frame to 112 bytes. Don't save unused reg,
42478 and adjust reg usage. Set up cfi on error recovery and
42479 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42481 (__makecontext): Add dummy nop after jump to exit.
42482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42483 Use correct parm save area and cr save, reduce stack frame.
42484 Correct cfi for possible PSEUDO_RET frame setup.
42485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42486 Branch to local label emitted by PSEUDO_RET rather than
42487 __syscall_error.
42488
02637374
AS
424892010-08-12 Andreas Schwab <schwab@redhat.com>
42490
42491 [BZ #11904]
42492 * locale/programs/locale.c (print_assignment): New function.
42493 (show_locale_vars): Use it.
42494
c3e2f19b
UD
424952010-08-11 Ulrich Drepper <drepper@redhat.com>
42496
3cdaa6ad
UD
42497 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42498 field.
42499 (struct statfs64): Likewise.
42500 (_STATFS_F_FLAGS): Define.
42501 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42502 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42503 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42504 (ST_VALID): Define locally.
42505 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42506 __statvfs_getflags, use the provided value.
42507 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42508 __ASSUME_STATFS_F_FLAGS.
42509
754f7da3
UD
42510 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42511
10b3bedc
UD
42512 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42513 Add sys/fanotify.h.
42514 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42515 fanotify_mask for GLIBC_2.13.
42516 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42517 fanotify_init and fanotify_mark.
42518 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42519 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42520
c08fb0d7
UD
42521 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42522 Add prlimit.
42523 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42524 prlimit64 for GLIBC_2.13.
42525 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42526 prlimit64.
42527 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42528 syscall.
42529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42530 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42531 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42532 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42533 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42534 add prlimit alias.
42535 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42536
15bac72b
UD
42537 [BZ #11903]
42538 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42539 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42540
c3e2f19b
UD
42541 * nss/Makefile: Add rules to build and run tst-nss-test1.
42542 * shlib-versions: Add entry for libnss_test1.
42543 * nss/nss_test1.c: New file.
42544 * nss/tst-nss-test1.c: New file.
42545
42546 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42547 (__nss_configure_lookup): Set appropriate entry in
42548 __nss_configure_lookup to true.
42549 * nss/nsswitch.h: Define enum with indeces of databases in
42550 databases and __nss_database_custom arrays. Declare
42551 __nss_database_custom.
42552 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42553 to avoid using nscd when custom rules are installed.
42554 * nss/getXXbyYY_r.c: Likewise.
42555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42556
42557 * nss/nss_files/files-parse.c: Whitespace fixes.
42558
f15ce4d8
UD
425592010-08-09 Ulrich Drepper <drepper@redhat.com>
42560
42561 [BZ #11883]
42562 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42563 * posix/fnmatch_loop.c: Likewise.
42564
d22e4cc9
AK
425652010-07-17 Andi Kleen <ak@linux.intel.com>
42566
42567 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42568 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42569 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42570 * Versions.def [GLIBC_2.13]: Add.
42571
805bc17d
UD
425722010-08-06 Ulrich Drepper <drepper@redhat.com>
42573
42574 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42575 Also fail if tpwd after pwuid call is NULL.
42576
5a42321d
ST
425772010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42578
42579 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42580 when converting to ms.
42581
fd3ebeda
ST
425822010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42583
42584 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42585 EOPNOTSUPP errors with ENOTTY.
42586 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42587 EOPNOTSUPP errors with ENOTTY.
42588
73507d3a
UD
425892010-07-31 Ulrich Drepper <drepper@redhat.com>
42590
42591 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42592 Add strcasecmp_l-ssse3.
42593 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42594 strcasecmp.
42595 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42596 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42597 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42598
fe36dd02
UD
425992010-07-30 Ulrich Drepper <drepper@redhat.com>
42600
66f6765a
UD
42601 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42602
42e08a54
UD
42603 * string/Makefile (strop-tests): Add strcasecmp.
42604 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42605 strcasecmp_l-nonascii.
42606 (gen-as-const-headers): Add locale-defines.sym.
42607 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42608 * sysdeps/x86_64/strcasecmp.S: New file.
42609 * sysdeps/x86_64/strcasecmp_l.S: New file.
42610 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42611 * sysdeps/x86_64/locale-defines.sym: New file.
42612 * string/test-strcasecmp.c: New file.
42613
fe36dd02
UD
42614 * string/test-strcasestr.c: Test both ends of the range of characters.
42615 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42616
48cbc0d6
RM
426172010-07-29 Roland McGrath <roland@redhat.com>
42618
76e6d6bc 42619 [BZ #11856]
48cbc0d6
RM
42620 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42621
880113d9
UD
426222010-07-27 Ulrich Drepper <drepper@redhat.com>
42623
42624 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42625 for ld.so.
42626
deb9cabb
AS
426272010-07-27 Andreas Schwab <schwab@redhat.com>
42628
42629 * manual/memory.texi (Malloc Tunable Parameters): Document
42630 M_PERTURB.
42631
1c7570ff
RM
426322010-07-26 Roland McGrath <roland@redhat.com>
42633
42634 [BZ #11840]
42635 * configure.in (-fgnu89-inline check): Set and substitute
42636 gnu89_inline, not libc_cv_gnu89_inline.
42637 * configure: Regenerated.
42638 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42639
24fb0f88
UD
426402010-07-26 Ulrich Drepper <drepper@redhat.com>
42641
42642 * string/test-strnlen.c: New file.
42643 * string/Makefile (strop-tests): Add strnlen.
42644 * string/tester.c (test_strnlen): Add a few more test cases.
42645 * string/tst-strlen.c: Better error reporting.
42646
42647 * sysdeps/x86_64/strnlen.S: New file.
42648
8e96b93a
UD
426492010-07-24 Ulrich Drepper <drepper@redhat.com>
42650
42651 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42652 lower-latency instructions.
42653
dbc676d4
UD
426542010-07-23 Ulrich Drepper <drepper@redhat.com>
42655
42656 * string/test-strcasestr.c: New file.
42657 * string/test-strstr.c: New file.
42658 * string/Makefile (strop-tests): Add strstr and strcasestr.
42659 * string/str-two-way.h: Don't undefine MAX.
42660 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42661
f6a31e0e
AS
426622010-07-21 Andreas Schwab <schwab@redhat.com>
42663
42664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42665 strcasestr-nonascii.
42666 (CFLAGS-strcasestr-nonascii.c): Define.
42667 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42668 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42669 Remove unused attribute.
42670
5dbc3b6c
RM
426712010-07-20 Roland McGrath <roland@redhat.com>
42672
42673 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42674 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42675 ld.so.cache was broken. With it, there is no way to disable dsocaps
42676 like LD_HWCAP_MASK can disable hwcaps.
42677
23d101d8
EPM
426782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42679
42680 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42681
cc9f2e47
UD
426822010-07-16 Ulrich Drepper <drepper@redhat.com>
42683
42684 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42685 call in strcasestr.
42686 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42687 __strcasestr_sse42_nonascii.
42688 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42689 strcasestr-nonascii.c.
42690 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42691
77c1b069
LM
426922010-06-15 Luis Machado <luisgpm@br.ibm.com>
42693
42694 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42695 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42696 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42697 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42698
440566c3
UD
426992010-07-09 Ulrich Drepper <drepper@redhat.com>
42700
42701 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42702 fcntl.
42703
5be9d05d
AS
427042010-07-06 Andreas Schwab <schwab@redhat.com>
42705
c30b7ee2 42706 [BZ #11577]
5be9d05d
AS
42707 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42708 dl_signal_cerror.
42709
8a492a67
UD
427102010-07-06 Ulrich Drepper <drepper@redhat.com>
42711
42712 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42713 _PC_PIPE_BUF using F_GETPIPE_SZ.
42714
713df3d5
RM
427152010-07-05 Roland McGrath <roland@redhat.com>
42716
42717 * manual/arith.texi (Rounding Functions): Fix rint description
42718 implicit in round description.
42719
702e8f14
UD
427202010-07-02 Ulrich Drepper <drepper@redhat.com>
42721
42722 * elf/Makefile: Fix linking for a few tests to make recent linker
42723 happy.
42724
52ed8be9
AS
427252010-06-30 Andreas Schwab <schwab@redhat.com>
42726
42727 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42728 $(common-objpfx)libc_nonshared.a.
42729
f47c9a11
LM
427302010-06-21 Luis Machado <luisgpm@br.ibm.com>
42731
42732 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42733 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42734 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42735 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42736 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42737 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42738 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42739 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42754 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42755 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42756 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42757 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42758 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42759 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42760 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42761 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42762 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42763 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42764 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42765 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42780
6fb8cbcb
L
427812010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42782
42783 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42784 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42785 * string/memmove.c (memmove): Renamed to ...
42786 (MEMMOVE): ...this. Default to memmove.
42787 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42788 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42789 (END_CHK): Define.
42790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42791 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42792 mempcpy-ssse3-back memmove-ssse3-back.
42793 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42794 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42795 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42796 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42797 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42798 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42799 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42800 * sysdeps/x86_64/multiarch/memmove.c: New file.
42801 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42802 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42803 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42804 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42805 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42806 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42807 Define.
42808 (index_Fast_Copy_Backward): Define.
42809 (HAS_ARCH_FEATURE): Define.
42810 (HAS_FAST_REP_STRING): Define.
42811 (HAS_FAST_COPY_BACKWARD): Define.
42812
4e733bac 428132010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42814
42815 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42816 Restore proper fallback handling.
42817
63c4ed22
UD
428182010-06-19 Ulrich Drepper <drepper@redhat.com>
42819
ac2b484c
UD
42820 [BZ #11701]
42821 * posix/group_member.c (__group_member): Correct checking loop.
42822
63c4ed22
UD
42823 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42824 OOM in getpwuid_r correctly. Return error number when the caller
42825 should return, otherwise -1.
42826 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42827 call returning > 0 value.
42828 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42829
765ade4b
AS
428302010-06-07 Andreas Schwab <schwab@redhat.com>
42831
42832 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42833 libc_nonshared.a from targets in modules-names.
42834
80da2e09
KS
428352010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42836
42837 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42838 requires it.
42839
158db122
LM
428402010-06-10 Luis Machado <luisgpm@br.ibm.com>
42841
42842 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42843 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42844 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42845 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42846
caa78cf8
AS
428472010-06-02 Andreas Schwab <schwab@redhat.com>
42848
42849 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42850
b2ef2c01
UD
428512010-06-14 Ulrich Drepper <drepper@redhat.com>
42852
42853 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42854 and F_GETPIPE_SZ.
42855 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42856 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42859 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42860 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42861
fbd643b6
RM
428622010-06-14 Roland McGrath <roland@redhat.com>
42863
42864 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42865
f32f2869
JJ
428662010-06-07 Jakub Jelinek <jakub@redhat.com>
42867
42868 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42869 __REDIRECT followed by __THROW.
42870 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42871 * posix/getopt.h (getopt): Likewise.
42872
2a50c078
EPM
428732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42874
42875 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42876 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42877 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42878 in AT_FLAGS.
42879 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42880 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42881
eb5ad2eb
LM
428822010-05-28 Luis Machado <luisgpm@br.ibm.com>
42883
42884 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42885
3c88fe1e
L
428862010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42887
42888 [BZ #11640]
42889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42890 Properly check family and model.
42891
d2f73151
TY
428922010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42893
42894 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42895
ebd2e13d
LM
428962010-05-24 Luis Machado <luisgpm@br.ibm.com>
42897
42898 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42899
b32b8b45
UD
429002010-05-21 Ulrich Drepper <drepper@redhat.com>
42901
42902 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42903 symbol reference.
42904
9acbe24d
AS
429052010-05-19 Andreas Schwab <schwab@redhat.com>
42906
42907 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42908 symbol reference.
42909
f0ccf6ea
AS
429102010-05-21 Andreas Schwab <schwab@redhat.com>
42911
3d04ff3a
AS
42912 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42913 and internal_recvmmsg.
42914 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42915 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42916 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42917 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42918
f0ccf6ea
AS
42919 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42920 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42921 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42922
5b08ac57
AS
429232010-05-20 Andreas Schwab <schwab@redhat.com>
42924
42925 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42926
4828935d
LM
429272010-05-17 Luis Machado <luisgpm@br.ibm.com>
42928
42929 POWER7 optimizations.
42930 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42931 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42932
373d545e
UD
429332010-05-19 Ulrich Drepper <drepper@redhat.com>
42934
42935 * version.h: Update for 2.13 development version.
42936
21a2b1ae
AS
429372010-05-12 Andrew Stubbs <ams@codesourcery.com>
42938
42939 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42940 exceptions. Return 0.
42941
3f7dcb2b
RM
429422010-05-07 Roland McGrath <roland@redhat.com>
42943
42944 * elf/ldconfig.c (main): Add a const.
42945
5f24d53a 429462010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42947
a160f8d8
UD
42948 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42949 (args_options): Add no-idn option.
42950 (ahosts_keys_int): Add idn_flags to ai_flags.
42951 (parse_option): Handle 'i' option to clear idn_flags.
42952
5f24d53a
UD
42953 * malloc/malloc.c (_int_free): Possible race in the most recently
42954 added check. Only act on the data if no current modification
42955 happened.
265bb1ce
UD
42956
42957See ChangeLog.17 for earlier changes.